]> git.saurik.com Git - wxWidgets.git/blob - configure
Remember the last key event in wxGTK before passing it over to IM.
[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.2.
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.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets 2.6 compatibility
1710 --disable-compat28 disable wxWidgets 2.8 compatibility
1711 --disable-rpath disable use of rpath for uninstalled builds
1712 --enable-objc_uniquifying enable Objective-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x-locale support (requires wxLocale)
1717 --enable-config use wxConfig (and derived) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP (requires wxProtocol
1720 --enable-http use wxHTTP (requires wxProtocol
1721 --enable-fileproto use wxFileProto class (requires wxProtocol
1722 --enable-sockets use socket/network classes
1723 --enable-ipv6 enable IPv6 support in wxSocket
1724 --enable-ole use OLE classes (Win32 only)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication (wxSocket etc.)
1727 --enable-baseevtloop use event loop in console programs too
1728 --enable-epollloop use wxEpollDispatcher class (Linux only)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding/decoding functions
1734 --enable-backtrace use wxStackWalker class for getting backtraces
1735 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class for DLL loading
1741 --enable-dynamicloader use (new) wxDynamicLibrary class
1742 --enable-exceptions build exception-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support in wxProtocol
1773 --enable-protocol-ftp FTP support in wxProtocol
1774 --enable-protocol-file FILE support in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig (Win32 only)
1777 --enable-regkey use wxRegKey class (Win32 only)
1778 --enable-docview use document view architecture
1779 --enable-help use help subsystem
1780 --enable-mshtmlhelp use MS HTML Help (win32)
1781 --enable-html use wxHTML sub-library
1782 --enable-htmlhelp use wxHTML-based help
1783 --enable-xrc use XRC resources sub-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl (Mac)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context 2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-commandlinkbutton use wxCommmandLinkButton class
1822 --enable-dataviewctrl use wxDataViewCtrl class
1823 --enable-datepick use wxDatePickerCtrl class
1824 --enable-detect_sm use code to detect X11 session manager
1825 --enable-dirpicker use wxDirPickerCtrl class
1826 --enable-display use wxDisplay class
1827 --enable-editablebox use wxEditableListBox class
1828 --enable-filectrl use wxFileCtrl class
1829 --enable-filepicker use wxFilePickerCtrl class
1830 --enable-fontpicker use wxFontPickerCtrl class
1831 --enable-gauge use wxGauge class
1832 --enable-grid use wxGrid class
1833 --enable-headerctrl use wxHeaderCtrl class
1834 --enable-hyperlink use wxHyperlinkCtrl class
1835 --enable-imaglist use wxImageList class
1836 --enable-infobar use wxInfoBar class
1837 --enable-listbook use wxListbook class
1838 --enable-listbox use wxListBox class
1839 --enable-listctrl use wxListCtrl class
1840 --enable-notebook use wxNotebook class
1841 --enable-notifmsg use wxNotificationMessage class
1842 --enable-odcombobox use wxOwnerDrawnComboBox class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-radiobox use wxRadioBox class
1845 --enable-radiobtn use wxRadioButton class
1846 --enable-richmsgdlg use wxRichMessageDialog class
1847 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1848 --enable-sash use wxSashWindow class
1849 --enable-scrollbar use wxScrollBar class and scrollable windows
1850 --enable-searchctrl use wxSearchCtrl class
1851 --enable-slider use wxSlider class
1852 --enable-spinbtn use wxSpinButton class
1853 --enable-spinctrl use wxSpinCtrl class
1854 --enable-splitter use wxSplitterWindow class
1855 --enable-statbmp use wxStaticBitmap class
1856 --enable-statbox use wxStaticBox class
1857 --enable-statline use wxStaticLine class
1858 --enable-stattext use wxStaticText class
1859 --enable-statusbar use wxStatusBar class
1860 --enable-taskbaricon use wxTaskBarIcon class
1861 --enable-tbarnative use native wxToolBar class
1862 --enable-textctrl use wxTextCtrl class
1863 --enable-tipwindow use wxTipWindow class
1864 --enable-togglebtn use wxToggleButton class
1865 --enable-toolbar use wxToolBar class
1866 --enable-toolbook use wxToolbook class
1867 --enable-treebook use wxTreebook class
1868 --enable-treectrl use wxTreeCtrl class
1869 --enable-commondlg use all common dialogs
1870 --enable-aboutdlg use wxAboutBox
1871 --enable-choicedlg use wxChoiceDialog
1872 --enable-coldlg use wxColourDialog
1873 --enable-filedlg use wxFileDialog
1874 --enable-finddlg use wxFindReplaceDialog
1875 --enable-fontdlg use wxFontDialog
1876 --enable-dirdlg use wxDirDialog
1877 --enable-msgdlg use wxMessageDialog
1878 --enable-numberdlg use wxNumberEntryDialog
1879 --enable-splash use wxSplashScreen
1880 --enable-textdlg use wxTextDialog
1881 --enable-tipdlg use startup tips
1882 --enable-progressdlg use wxProgressDialog
1883 --enable-wizarddlg use wxWizard
1884 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1885 --enable-miniframe use wxMiniFrame class
1886 --enable-tooltips use wxToolTip class
1887 --enable-splines use spline drawing code
1888 --enable-mousewheel use mousewheel
1889 --enable-validators use wxValidator and derived classes
1890 --enable-busyinfo use wxBusyInfo
1891 --enable-joystick use wxJoystick
1892 --enable-metafiles use wxMetaFile (Win32 only)
1893 --enable-dragimage use wxDragImage
1894 --enable-accessibility enable accessibility support
1895 --enable-uiactionsim use wxUIActionSimulator (experimental)
1896 --enable-palette use wxPalette class
1897 --enable-image use wxImage class
1898 --enable-gif use gif images (GIF file format)
1899 --enable-pcx use pcx images (PCX file format)
1900 --enable-tga use tga images (TGA file format)
1901 --enable-iff use iff images (IFF file format)
1902 --enable-pnm use pnm images (PNM file format)
1903 --enable-xpm use xpm images (XPM file format)
1904 --enable-ico_cur use Windows ICO and CUR formats
1905 --enable-dccache cache temporary wxDC objects (Win32 only)
1906 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1907 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1908 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1909 --enable-wxdib use wxDIB class (Win32 only)
1910 --enable-autoidman use automatic ids management
1911 --disable-largefile omit support for large files
1912 --disable-gtktest do not try to compile and run a test GTK+ program
1913 --disable-gtktest Do not try to compile and run a test GTK program
1914 --disable-sdltest Do not try to compile and run a test SDL program
1915 --enable-omf use OMF object format (OS/2)
1916 --disable-dependency-tracking
1917 don't use dependency tracking even if the compiler
1918 can
1919 --disable-precomp-headers
1920 don't use precompiled headers even if compiler can
1921
1922 Optional Packages:
1923 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1924 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1925 --without-subdirs don't generate makefiles for samples/demos/...
1926 --with-flavour=NAME specify a name to identify this build
1927 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1928 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1929 --with-motif use Motif/Lesstif
1930 --with-osx_carbon use Mac OS X (Carbon)
1931 --with-osx_cocoa use Mac OS X (Cocoa)
1932 --with-osx_iphone use iPhone OS X port
1933 --with-osx use Mac OS X (default port, currently Carbon)
1934 --with-carbon same as --with-osx_carbon
1935 --with-cocoa same as --with-osx_cocoa
1936 --with-iphone same as --with-osx_iphone
1937 --with-mac same as --with-osx
1938 --with-old_cocoa use old, deprecated, Cocoa port
1939 --with-wine use Wine
1940 --with-msw use MS-Windows
1941 --with-pm use OS/2 Presentation Manager
1942 --with-mgl use SciTech MGL
1943 --with-directfb use DirectFB
1944 --with-microwin use MicroWindows
1945 --with-x11 use X11
1946 --with-libpng use libpng (PNG image format)
1947 --with-libjpeg use libjpeg (JPEG file format)
1948 --with-libtiff use libtiff (TIFF file format)
1949 --with-libxpm use libxpm (XPM file format)
1950 --with-libiconv use libiconv (character conversion)
1951 --with-libmspack use libmspack (CHM help files loading)
1952 --without-gtkprint don't use GTK printing support
1953 --without-gnomeprint don't use GNOME printing libraries
1954 --with-gnomevfs use GNOME VFS for associating MIME types
1955 --with-hildon use Hildon framework for Nokia 770/800/810
1956 --with-opengl use OpenGL (or Mesa)
1957 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1958 --with-sdl use SDL for audio on Unix
1959 --with-regex enable support for wxRegEx class
1960 --with-zlib use zlib for LZW compression
1961 --with-expat enable XML support using expat parser
1962 --with-macosx-sdk=PATH use an OS X SDK at PATH
1963 --with-macosx-version-min=VER build binaries which require at least this OS X version
1964 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1965 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1966 --with-x use the X Window System
1967 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1968 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1969 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1970 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1971 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1972
1973 Some influential environment variables:
1974 CC C compiler command
1975 CFLAGS C compiler flags
1976 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1977 nonstandard directory <lib dir>
1978 LIBS libraries to pass to the linker, e.g. -l<library>
1979 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1980 you have headers in a nonstandard directory <include dir>
1981 CPP C preprocessor
1982 CXX C++ compiler command
1983 CXXFLAGS C++ compiler flags
1984 CXXCPP C++ preprocessor
1985 PKG_CONFIG path to pkg-config utility
1986 DIRECTFB_CFLAGS
1987 C compiler flags for DIRECTFB, overriding pkg-config
1988 DIRECTFB_LIBS
1989 linker flags for DIRECTFB, overriding pkg-config
1990 XMKMF Path to xmkmf, Makefile generator for X Window System
1991 PANGOX_CFLAGS
1992 C compiler flags for PANGOX, overriding pkg-config
1993 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1994 PANGOFT2_CFLAGS
1995 C compiler flags for PANGOFT2, overriding pkg-config
1996 PANGOFT2_LIBS
1997 linker flags for PANGOFT2, overriding pkg-config
1998 PANGOXFT_CFLAGS
1999 C compiler flags for PANGOXFT, overriding pkg-config
2000 PANGOXFT_LIBS
2001 linker flags for PANGOXFT, overriding pkg-config
2002 GTKPRINT_CFLAGS
2003 C compiler flags for GTKPRINT, overriding pkg-config
2004 GTKPRINT_LIBS
2005 linker flags for GTKPRINT, overriding pkg-config
2006 LIBGNOMEPRINTUI_CFLAGS
2007 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2008 LIBGNOMEPRINTUI_LIBS
2009 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2010 GNOMEVFS_CFLAGS
2011 C compiler flags for GNOMEVFS, overriding pkg-config
2012 GNOMEVFS_LIBS
2013 linker flags for GNOMEVFS, overriding pkg-config
2014 HILDON_CFLAGS
2015 C compiler flags for HILDON, overriding pkg-config
2016 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2017 HILDON2_CFLAGS
2018 C compiler flags for HILDON2, overriding pkg-config
2019 HILDON2_LIBS
2020 linker flags for HILDON2, overriding pkg-config
2021 CAIRO_CFLAGS
2022 C compiler flags for CAIRO, overriding pkg-config
2023 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2024 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2025 GST_LIBS linker flags for GST, overriding pkg-config
2026
2027 Use these variables to override the choices made by `configure' or to help
2028 it to find libraries and programs with nonstandard names/locations.
2029
2030 Report bugs to <wx-dev@lists.wxwidgets.org>.
2031 _ACEOF
2032 ac_status=$?
2033 fi
2034
2035 if test "$ac_init_help" = "recursive"; then
2036 # If there are subdirs, report their specific --help.
2037 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2038 test -d "$ac_dir" || continue
2039 ac_builddir=.
2040
2041 case "$ac_dir" in
2042 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2043 *)
2044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2045 # A ".." for each directory in $ac_dir_suffix.
2046 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2047 case $ac_top_builddir_sub in
2048 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2049 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2050 esac ;;
2051 esac
2052 ac_abs_top_builddir=$ac_pwd
2053 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2054 # for backward compatibility:
2055 ac_top_builddir=$ac_top_build_prefix
2056
2057 case $srcdir in
2058 .) # We are building in place.
2059 ac_srcdir=.
2060 ac_top_srcdir=$ac_top_builddir_sub
2061 ac_abs_top_srcdir=$ac_pwd ;;
2062 [\\/]* | ?:[\\/]* ) # Absolute name.
2063 ac_srcdir=$srcdir$ac_dir_suffix;
2064 ac_top_srcdir=$srcdir
2065 ac_abs_top_srcdir=$srcdir ;;
2066 *) # Relative name.
2067 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2068 ac_top_srcdir=$ac_top_build_prefix$srcdir
2069 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2070 esac
2071 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2072
2073 cd "$ac_dir" || { ac_status=$?; continue; }
2074 # Check for guested configure.
2075 if test -f "$ac_srcdir/configure.gnu"; then
2076 echo &&
2077 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2078 elif test -f "$ac_srcdir/configure"; then
2079 echo &&
2080 $SHELL "$ac_srcdir/configure" --help=recursive
2081 else
2082 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2083 fi || ac_status=$?
2084 cd "$ac_pwd" || { ac_status=$?; break; }
2085 done
2086 fi
2087
2088 test -n "$ac_init_help" && exit $ac_status
2089 if $ac_init_version; then
2090 cat <<\_ACEOF
2091 wxWidgets configure 2.9.2
2092 generated by GNU Autoconf 2.61
2093
2094 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2095 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2096 This configure script is free software; the Free Software Foundation
2097 gives unlimited permission to copy, distribute and modify it.
2098 _ACEOF
2099 exit
2100 fi
2101 cat >config.log <<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2104
2105 It was created by wxWidgets $as_me 2.9.2, which was
2106 generated by GNU Autoconf 2.61. Invocation command line was
2107
2108 $ $0 $@
2109
2110 _ACEOF
2111 exec 5>>config.log
2112 {
2113 cat <<_ASUNAME
2114 ## --------- ##
2115 ## Platform. ##
2116 ## --------- ##
2117
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2123
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2126
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2134
2135 _ASUNAME
2136
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 echo "PATH: $as_dir"
2143 done
2144 IFS=$as_save_IFS
2145
2146 } >&5
2147
2148 cat >&5 <<_ACEOF
2149
2150
2151 ## ----------- ##
2152 ## Core tests. ##
2153 ## ----------- ##
2154
2155 _ACEOF
2156
2157
2158 # Keep a trace of the command line.
2159 # Strip out --no-create and --no-recursion so they do not pile up.
2160 # Strip out --silent because we don't want to record it for future runs.
2161 # Also quote any args containing shell meta-characters.
2162 # Make two passes to allow for proper duplicate-argument suppression.
2163 ac_configure_args=
2164 ac_configure_args0=
2165 ac_configure_args1=
2166 ac_must_keep_next=false
2167 for ac_pass in 1 2
2168 do
2169 for ac_arg
2170 do
2171 case $ac_arg in
2172 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2174 | -silent | --silent | --silen | --sile | --sil)
2175 continue ;;
2176 *\'*)
2177 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 esac
2179 case $ac_pass in
2180 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2181 2)
2182 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2183 if test $ac_must_keep_next = true; then
2184 ac_must_keep_next=false # Got value, back to normal.
2185 else
2186 case $ac_arg in
2187 *=* | --config-cache | -C | -disable-* | --disable-* \
2188 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2189 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2190 | -with-* | --with-* | -without-* | --without-* | --x)
2191 case "$ac_configure_args0 " in
2192 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2193 esac
2194 ;;
2195 -* ) ac_must_keep_next=true ;;
2196 esac
2197 fi
2198 ac_configure_args="$ac_configure_args '$ac_arg'"
2199 ;;
2200 esac
2201 done
2202 done
2203 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2204 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2205
2206 # When interrupted or exit'd, cleanup temporary files, and complete
2207 # config.log. We remove comments because anyway the quotes in there
2208 # would cause problems or look ugly.
2209 # WARNING: Use '\'' to represent an apostrophe within the trap.
2210 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2211 trap 'exit_status=$?
2212 # Save into config.log some information that might help in debugging.
2213 {
2214 echo
2215
2216 cat <<\_ASBOX
2217 ## ---------------- ##
2218 ## Cache variables. ##
2219 ## ---------------- ##
2220 _ASBOX
2221 echo
2222 # The following way of writing the cache mishandles newlines in values,
2223 (
2224 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in #(
2227 *${as_nl}*)
2228 case $ac_var in #(
2229 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2231 esac
2232 case $ac_var in #(
2233 _ | IFS | as_nl) ;; #(
2234 *) $as_unset $ac_var ;;
2235 esac ;;
2236 esac
2237 done
2238 (set) 2>&1 |
2239 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2240 *${as_nl}ac_space=\ *)
2241 sed -n \
2242 "s/'\''/'\''\\\\'\'''\''/g;
2243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2244 ;; #(
2245 *)
2246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2247 ;;
2248 esac |
2249 sort
2250 )
2251 echo
2252
2253 cat <<\_ASBOX
2254 ## ----------------- ##
2255 ## Output variables. ##
2256 ## ----------------- ##
2257 _ASBOX
2258 echo
2259 for ac_var in $ac_subst_vars
2260 do
2261 eval ac_val=\$$ac_var
2262 case $ac_val in
2263 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 esac
2265 echo "$ac_var='\''$ac_val'\''"
2266 done | sort
2267 echo
2268
2269 if test -n "$ac_subst_files"; then
2270 cat <<\_ASBOX
2271 ## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##
2274 _ASBOX
2275 echo
2276 for ac_var in $ac_subst_files
2277 do
2278 eval ac_val=\$$ac_var
2279 case $ac_val in
2280 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 esac
2282 echo "$ac_var='\''$ac_val'\''"
2283 done | sort
2284 echo
2285 fi
2286
2287 if test -s confdefs.h; then
2288 cat <<\_ASBOX
2289 ## ----------- ##
2290 ## confdefs.h. ##
2291 ## ----------- ##
2292 _ASBOX
2293 echo
2294 cat confdefs.h
2295 echo
2296 fi
2297 test "$ac_signal" != 0 &&
2298 echo "$as_me: caught signal $ac_signal"
2299 echo "$as_me: exit $exit_status"
2300 } >&5
2301 rm -f core *.core core.conftest.* &&
2302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303 exit $exit_status
2304 ' 0
2305 for ac_signal in 1 2 13 15; do
2306 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2307 done
2308 ac_signal=0
2309
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest* confdefs.h
2312
2313 # Predefined preprocessor variables.
2314
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2317 _ACEOF
2318
2319
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 _ACEOF
2323
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2327 _ACEOF
2328
2329
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2332 _ACEOF
2333
2334
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2337 _ACEOF
2338
2339
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 set x "$CONFIG_SITE"
2344 elif test "x$prefix" != xNONE; then
2345 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2346 else
2347 set x "$ac_default_prefix/share/config.site" \
2348 "$ac_default_prefix/etc/config.site"
2349 fi
2350 shift
2351 for ac_site_file
2352 do
2353 if test -r "$ac_site_file"; then
2354 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2355 echo "$as_me: loading site script $ac_site_file" >&6;}
2356 sed 's/^/| /' "$ac_site_file" >&5
2357 . "$ac_site_file"
2358 fi
2359 done
2360
2361 if test -r "$cache_file"; then
2362 # Some versions of bash will fail to source /dev/null (special
2363 # files actually), so we avoid doing that.
2364 if test -f "$cache_file"; then
2365 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2366 echo "$as_me: loading cache $cache_file" >&6;}
2367 case $cache_file in
2368 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2369 *) . "./$cache_file";;
2370 esac
2371 fi
2372 else
2373 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2374 echo "$as_me: creating cache $cache_file" >&6;}
2375 >$cache_file
2376 fi
2377
2378 # Check that the precious variables saved in the cache have kept the same
2379 # value.
2380 ac_cache_corrupted=false
2381 for ac_var in $ac_precious_vars; do
2382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2383 eval ac_new_set=\$ac_env_${ac_var}_set
2384 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2385 eval ac_new_val=\$ac_env_${ac_var}_value
2386 case $ac_old_set,$ac_new_set in
2387 set,)
2388 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2389 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2390 ac_cache_corrupted=: ;;
2391 ,set)
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2395 ,);;
2396 *)
2397 if test "x$ac_old_val" != "x$ac_new_val"; then
2398 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2399 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2401 echo "$as_me: former value: $ac_old_val" >&2;}
2402 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2403 echo "$as_me: current value: $ac_new_val" >&2;}
2404 ac_cache_corrupted=:
2405 fi;;
2406 esac
2407 # Pass precious variables to config.status.
2408 if test "$ac_new_set" = set; then
2409 case $ac_new_val in
2410 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 *) ac_arg=$ac_var=$ac_new_val ;;
2412 esac
2413 case " $ac_configure_args " in
2414 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2415 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2416 esac
2417 fi
2418 done
2419 if $ac_cache_corrupted; then
2420 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2421 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2423 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2424 { (exit 1); exit 1; }; }
2425 fi
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451 ac_ext=c
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2456
2457
2458
2459
2460
2461 ac_aux_dir=
2462 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463 if test -f "$ac_dir/install-sh"; then
2464 ac_aux_dir=$ac_dir
2465 ac_install_sh="$ac_aux_dir/install-sh -c"
2466 break
2467 elif test -f "$ac_dir/install.sh"; then
2468 ac_aux_dir=$ac_dir
2469 ac_install_sh="$ac_aux_dir/install.sh -c"
2470 break
2471 elif test -f "$ac_dir/shtool"; then
2472 ac_aux_dir=$ac_dir
2473 ac_install_sh="$ac_aux_dir/shtool install -c"
2474 break
2475 fi
2476 done
2477 if test -z "$ac_aux_dir"; then
2478 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2479 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2480 { (exit 1); exit 1; }; }
2481 fi
2482
2483 # These three variables are undocumented and unsupported,
2484 # and are intended to be withdrawn in a future Autoconf release.
2485 # They can cause serious problems if a builder's source tree is in a directory
2486 # whose full name contains unusual characters.
2487 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2488 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2489 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2490
2491
2492 # Make sure we can run config.sub.
2493 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2494 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2495 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2496 { (exit 1); exit 1; }; }
2497
2498 { echo "$as_me:$LINENO: checking build system type" >&5
2499 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_build+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 else
2503 ac_build_alias=$build_alias
2504 test "x$ac_build_alias" = x &&
2505 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2506 test "x$ac_build_alias" = x &&
2507 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2508 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2509 { (exit 1); exit 1; }; }
2510 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514
2515 fi
2516 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2517 echo "${ECHO_T}$ac_cv_build" >&6; }
2518 case $ac_cv_build in
2519 *-*-*) ;;
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2521 echo "$as_me: error: invalid value of canonical build" >&2;}
2522 { (exit 1); exit 1; }; };;
2523 esac
2524 build=$ac_cv_build
2525 ac_save_IFS=$IFS; IFS='-'
2526 set x $ac_cv_build
2527 shift
2528 build_cpu=$1
2529 build_vendor=$2
2530 shift; shift
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2533 build_os=$*
2534 IFS=$ac_save_IFS
2535 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2536
2537
2538 { echo "$as_me:$LINENO: checking host system type" >&5
2539 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2540 if test "${ac_cv_host+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 else
2543 if test "x$host_alias" = x; then
2544 ac_cv_host=$ac_cv_build
2545 else
2546 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2547 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2548 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2549 { (exit 1); exit 1; }; }
2550 fi
2551
2552 fi
2553 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2554 echo "${ECHO_T}$ac_cv_host" >&6; }
2555 case $ac_cv_host in
2556 *-*-*) ;;
2557 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2558 echo "$as_me: error: invalid value of canonical host" >&2;}
2559 { (exit 1); exit 1; }; };;
2560 esac
2561 host=$ac_cv_host
2562 ac_save_IFS=$IFS; IFS='-'
2563 set x $ac_cv_host
2564 shift
2565 host_cpu=$1
2566 host_vendor=$2
2567 shift; shift
2568 # Remember, the first character of IFS is used to create $*,
2569 # except with old shells:
2570 host_os=$*
2571 IFS=$ac_save_IFS
2572 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2573
2574
2575
2576 if test "$cross_compiling" != "no"; then
2577 HOST_PREFIX="${host_alias}-"
2578 HOST_SUFFIX="-$host_alias"
2579 else
2580 HOST_PREFIX=
2581 HOST_SUFFIX=
2582 fi
2583
2584
2585 wx_major_version_number=2
2586 wx_minor_version_number=9
2587 wx_release_number=2
2588 wx_subrelease_number=0
2589
2590 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2591 WX_VERSION=$WX_RELEASE.$wx_release_number
2592 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2593
2594 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595
2596
2597 wx_top_builddir="`pwd`"
2598
2599
2600
2601
2602 USE_UNIX=1
2603 USE_OS2=0
2604 USE_WIN32=0
2605 USE_DOS=0
2606 USE_BEOS=0
2607 USE_MAC=0
2608
2609 USE_AIX=
2610 USE_BSD= USE_DARWIN= USE_FREEBSD=
2611 USE_GNU= USE_HPUX=
2612 USE_LINUX=
2613 USE_NETBSD=
2614 USE_OPENBSD=
2615 USE_OSF= USE_SGI=
2616 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2617 USE_ULTRIX=
2618 USE_UNIXWARE=
2619
2620 USE_ALPHA=
2621
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2623
2624 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2625
2626 DEFAULT_wxUSE_OLD_COCOA=0
2627 DEFAULT_wxUSE_GTK=0
2628 DEFAULT_wxUSE_OSX_CARBON=0
2629 DEFAULT_wxUSE_OSX_COCOA=0
2630 DEFAULT_wxUSE_OSX_IPHONE=0
2631 DEFAULT_wxUSE_MGL=0
2632 DEFAULT_wxUSE_MICROWIN=0
2633 DEFAULT_wxUSE_MOTIF=0
2634 DEFAULT_wxUSE_MSW=0
2635 DEFAULT_wxUSE_PM=0
2636 DEFAULT_wxUSE_X11=0
2637 DEFAULT_wxUSE_DFB=0
2638
2639 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_GTK=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2644 DEFAULT_DEFAULT_wxUSE_MGL=0
2645 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2646 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2647 DEFAULT_DEFAULT_wxUSE_MSW=0
2648 DEFAULT_DEFAULT_wxUSE_PM=0
2649 DEFAULT_DEFAULT_wxUSE_X11=0
2650 DEFAULT_DEFAULT_wxUSE_DFB=0
2651
2652 PROGRAM_EXT=
2653 SAMPLES_RPATH_FLAG=
2654 DYLIB_RPATH_INSTALL=
2655 DYLIB_RPATH_POSTLINK=
2656
2657 DEFAULT_STD_FLAG=yes
2658
2659 case "${host}" in
2660 *-hp-hpux* )
2661 USE_HPUX=1
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __HPUX__ 1
2666 _ACEOF
2667
2668
2669 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2670 ;;
2671 *-*-linux* )
2672 USE_LINUX=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __LINUX__ 1
2675 _ACEOF
2676
2677 TMP=`uname -m`
2678 if test "x$TMP" = "xalpha"; then
2679 USE_ALPHA=1
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __ALPHA__ 1
2682 _ACEOF
2683
2684 fi
2685 DEFAULT_DEFAULT_wxUSE_GTK=1
2686 ;;
2687 *-*-gnu* | *-*-k*bsd*-gnu )
2688 USE_GNU=1
2689 TMP=`uname -m`
2690 if test "x$TMP" = "xalpha"; then
2691 USE_ALPHA=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __ALPHA__ 1
2694 _ACEOF
2695
2696 fi
2697 DEFAULT_DEFAULT_wxUSE_GTK=1
2698 ;;
2699 *-*-irix5* | *-*-irix6* )
2700 USE_SGI=1
2701 USE_SVR4=1
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SGI__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __SVR4__ 1
2708 _ACEOF
2709
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 ;;
2712 *-*-qnx*)
2713 USE_QNX=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __QNX__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_X11=1
2719 ;;
2720 *-*-solaris2* )
2721 USE_SUN=1
2722 USE_SOLARIS=1
2723 USE_SVR4=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __SUN__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __SOLARIS__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SVR4__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2738 ;;
2739 *-*-sunos4* )
2740 USE_SUN=1
2741 USE_SUNOS=1
2742 USE_BSD=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __SUN__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __SUNOS__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __BSD__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 ;;
2757 *-*-freebsd*)
2758 USE_BSD=1
2759 USE_FREEBSD=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __FREEBSD__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __BSD__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_GTK=1
2769 ;;
2770 *-*-openbsd*|*-*-mirbsd*)
2771 USE_BSD=1
2772 USE_OPENBSD=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __OPENBSD__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __BSD__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_GTK=1
2782 ;;
2783 *-*-netbsd*)
2784 USE_BSD=1
2785 USE_NETBSD=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __NETBSD__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __BSD__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_GTK=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2796
2797 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2798 ;;
2799 *-*-osf* )
2800 USE_ALPHA=1
2801 USE_OSF=1
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __ALPHA__ 1
2804 _ACEOF
2805
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __OSF__ 1
2808 _ACEOF
2809
2810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2812 ;;
2813 *-*-dgux5* )
2814 USE_ALPHA=1
2815 USE_SVR4=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __ALPHA__ 1
2818 _ACEOF
2819
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SVR4__ 1
2822 _ACEOF
2823
2824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2825 ;;
2826 *-*-sysv5* )
2827 USE_SYSV=1
2828 USE_SVR4=1
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __SYSV__ 1
2831 _ACEOF
2832
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __SVR4__ 1
2835 _ACEOF
2836
2837 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2838 ;;
2839 *-*-aix* )
2840 USE_AIX=1
2841 USE_SYSV=1
2842 USE_SVR4=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __AIX__ 1
2845 _ACEOF
2846
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __SYSV__ 1
2849 _ACEOF
2850
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __SVR4__ 1
2853 _ACEOF
2854
2855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2856 ;;
2857
2858 *-*-*UnixWare*)
2859 USE_SYSV=1
2860 USE_SVR4=1
2861 USE_UNIXWARE=1
2862 cat >>confdefs.h <<\_ACEOF
2863 #define __UNIXWARE__ 1
2864 _ACEOF
2865
2866 ;;
2867
2868 *-*-cygwin* | *-*-mingw32* )
2869 PROGRAM_EXT=".exe"
2870 DEFAULT_DEFAULT_wxUSE_MSW=1
2871 ;;
2872
2873 *-pc-msdosdjgpp )
2874 USE_UNIX=0
2875 USE_DOS=1
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DOS__ 1
2878 _ACEOF
2879
2880 PROGRAM_EXT=".exe"
2881 DEFAULT_DEFAULT_wxUSE_MGL=1
2882 ;;
2883
2884 *-pc-os2_emx | *-pc-os2-emx )
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __EMX__ 1
2887 _ACEOF
2888
2889 USE_OS2=1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __OS2__ 1
2892 _ACEOF
2893
2894 PROGRAM_EXT=".exe"
2895 DEFAULT_DEFAULT_wxUSE_PM=1
2896 CXX=gcc
2897 LDFLAGS="$LDFLAGS -Zcrtdll"
2898 ac_executable_extensions=".exe"
2899 export ac_executable_extensions
2900 ac_save_IFS="$IFS"
2901 IFS='\\'
2902 ac_TEMP_PATH=
2903 for ac_dir in $PATH; do
2904 IFS=$ac_save_IFS
2905 if test -z "$ac_TEMP_PATH"; then
2906 ac_TEMP_PATH="$ac_dir"
2907 else
2908 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2909 fi
2910 done
2911 export PATH="$ac_TEMP_PATH"
2912 unset ac_TEMP_PATH
2913 DEFAULT_STD_FLAG=no
2914 ;;
2915
2916 arm-apple-darwin*)
2917 USE_BSD=1
2918 USE_DARWIN=1
2919 cat >>confdefs.h <<\_ACEOF
2920 #define __BSD__ 1
2921 _ACEOF
2922
2923 cat >>confdefs.h <<\_ACEOF
2924 #define __DARWIN__ 1
2925 _ACEOF
2926
2927 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2928 ;;
2929
2930 *-*-darwin* )
2931 USE_BSD=1
2932 USE_DARWIN=1
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __BSD__ 1
2935 _ACEOF
2936
2937 cat >>confdefs.h <<\_ACEOF
2938 #define __DARWIN__ 1
2939 _ACEOF
2940
2941 cat >>confdefs.h <<\_ACEOF
2942 #define TARGET_CARBON 1
2943 _ACEOF
2944
2945 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2946 ;;
2947
2948 *-*-beos* )
2949 USE_BEOS=1
2950 cat >>confdefs.h <<\_ACEOF
2951 #define __BEOS__ 1
2952 _ACEOF
2953
2954 ;;
2955
2956 *)
2957 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2958 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2959 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2960 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2961
2962 DEFAULT_DEFAULT_wxUSE_X11=1
2963 DEFAULT_wxUSE_SHARED=no
2964 esac
2965
2966
2967
2968 DEFAULT_wxUSE_ALL_FEATURES=yes
2969
2970 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2971 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2972
2973 DEFAULT_wxUSE_DMALLOC=no
2974 DEFAULT_wxUSE_LIBGNOMEVFS=no
2975 DEFAULT_wxUSE_LIBHILDON=no
2976 DEFAULT_wxUSE_LIBHILDON2=no
2977 DEFAULT_wxUSE_LIBMSPACK=no
2978 DEFAULT_wxUSE_LIBSDL=no
2979
2980 DEFAULT_wxUSE_ACCESSIBILITY=no
2981 DEFAULT_wxUSE_IPV6=no
2982 DEFAULT_wxUSE_GSTREAMER8=no
2983
2984 DEFAULT_wxUSE_UNICODE_UTF8=auto
2985 DEFAULT_wxUSE_OPENGL=auto
2986 DEFAULT_wxUSE_MEDIACTRL=auto
2987 DEFAULT_wxUSE_COMPILER_TLS=auto
2988
2989 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2990
2991 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2992
2993 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2994
2995 DEFAULT_wxUSE_GTK2=yes
2996
2997 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2998
2999
3000
3001
3002
3003 enablestring=disable
3004 defaultval=
3005 if test -z "$defaultval"; then
3006 if test x"$enablestring" = xdisable; then
3007 defaultval=yes
3008 else
3009 defaultval=no
3010 fi
3011 fi
3012
3013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3014 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3015 # Check whether --enable-gui was given.
3016 if test "${enable_gui+set}" = set; then
3017 enableval=$enable_gui;
3018 if test "$enableval" = yes; then
3019 wx_cv_use_gui='wxUSE_GUI=yes'
3020 else
3021 wx_cv_use_gui='wxUSE_GUI=no'
3022 fi
3023
3024 else
3025
3026 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3027
3028 fi
3029
3030
3031 eval "$wx_cv_use_gui"
3032
3033 if test x"$enablestring" = xdisable; then
3034 if test $wxUSE_GUI = no; then
3035 result=yes
3036 else
3037 result=no
3038 fi
3039 else
3040 result=$wxUSE_GUI
3041 fi
3042
3043 { echo "$as_me:$LINENO: result: $result" >&5
3044 echo "${ECHO_T}$result" >&6; }
3045
3046
3047 enablestring=
3048 defaultval=
3049 if test -z "$defaultval"; then
3050 if test x"$enablestring" = xdisable; then
3051 defaultval=yes
3052 else
3053 defaultval=no
3054 fi
3055 fi
3056
3057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3058 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3059 # Check whether --enable-monolithic was given.
3060 if test "${enable_monolithic+set}" = set; then
3061 enableval=$enable_monolithic;
3062 if test "$enableval" = yes; then
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3064 else
3065 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3066 fi
3067
3068 else
3069
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3071
3072 fi
3073
3074
3075 eval "$wx_cv_use_monolithic"
3076
3077 if test x"$enablestring" = xdisable; then
3078 if test $wxUSE_MONOLITHIC = no; then
3079 result=yes
3080 else
3081 result=no
3082 fi
3083 else
3084 result=$wxUSE_MONOLITHIC
3085 fi
3086
3087 { echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6; }
3089
3090
3091 enablestring=
3092 defaultval=
3093 if test -z "$defaultval"; then
3094 if test x"$enablestring" = xdisable; then
3095 defaultval=yes
3096 else
3097 defaultval=no
3098 fi
3099 fi
3100
3101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3102 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3103 # Check whether --enable-plugins was given.
3104 if test "${enable_plugins+set}" = set; then
3105 enableval=$enable_plugins;
3106 if test "$enableval" = yes; then
3107 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3108 else
3109 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3110 fi
3111
3112 else
3113
3114 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3115
3116 fi
3117
3118
3119 eval "$wx_cv_use_plugins"
3120
3121 if test x"$enablestring" = xdisable; then
3122 if test $wxUSE_PLUGINS = no; then
3123 result=yes
3124 else
3125 result=no
3126 fi
3127 else
3128 result=$wxUSE_PLUGINS
3129 fi
3130
3131 { echo "$as_me:$LINENO: result: $result" >&5
3132 echo "${ECHO_T}$result" >&6; }
3133
3134
3135 withstring=without
3136 defaultval=$wxUSE_ALL_FEATURES
3137 if test -z "$defaultval"; then
3138 if test x"$withstring" = xwithout; then
3139 defaultval=yes
3140 else
3141 defaultval=no
3142 fi
3143 fi
3144 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3145 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3146
3147 # Check whether --with-subdirs was given.
3148 if test "${with_subdirs+set}" = set; then
3149 withval=$with_subdirs;
3150 if test "$withval" = yes; then
3151 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3152 else
3153 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3154 fi
3155
3156 else
3157
3158 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3159
3160 fi
3161
3162
3163 eval "$wx_cv_use_subdirs"
3164
3165 if test x"$withstring" = xwithout; then
3166 if test $wxWITH_SUBDIRS = yes; then
3167 result=no
3168 else
3169 result=yes
3170 fi
3171 else
3172 result=$wxWITH_SUBDIRS
3173 fi
3174
3175 { echo "$as_me:$LINENO: result: $result" >&5
3176 echo "${ECHO_T}$result" >&6; }
3177
3178
3179 # Check whether --with-flavour was given.
3180 if test "${with_flavour+set}" = set; then
3181 withval=$with_flavour; WX_FLAVOUR="$withval"
3182 fi
3183
3184
3185 enablestring=
3186 defaultval=
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3189 defaultval=yes
3190 else
3191 defaultval=no
3192 fi
3193 fi
3194
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3197 # Check whether --enable-official_build was given.
3198 if test "${enable_official_build+set}" = set; then
3199 enableval=$enable_official_build;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3202 else
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3204 fi
3205
3206 else
3207
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3209
3210 fi
3211
3212
3213 eval "$wx_cv_use_official_build"
3214
3215 if test x"$enablestring" = xdisable; then
3216 if test $wxUSE_OFFICIAL_BUILD = no; then
3217 result=yes
3218 else
3219 result=no
3220 fi
3221 else
3222 result=$wxUSE_OFFICIAL_BUILD
3223 fi
3224
3225 { echo "$as_me:$LINENO: result: $result" >&5
3226 echo "${ECHO_T}$result" >&6; }
3227
3228 # Check whether --enable-vendor was given.
3229 if test "${enable_vendor+set}" = set; then
3230 enableval=$enable_vendor; VENDOR="$enableval"
3231 fi
3232
3233 if test "x$VENDOR" = "x"; then
3234 VENDOR="custom"
3235 fi
3236
3237
3238 enablestring=disable
3239 defaultval=
3240 if test -z "$defaultval"; then
3241 if test x"$enablestring" = xdisable; then
3242 defaultval=yes
3243 else
3244 defaultval=no
3245 fi
3246 fi
3247
3248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3249 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3250 # Check whether --enable-all-features was given.
3251 if test "${enable_all_features+set}" = set; then
3252 enableval=$enable_all_features;
3253 if test "$enableval" = yes; then
3254 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3255 else
3256 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3257 fi
3258
3259 else
3260
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3262
3263 fi
3264
3265
3266 eval "$wx_cv_use_all_features"
3267
3268 if test x"$enablestring" = xdisable; then
3269 if test $wxUSE_ALL_FEATURES = no; then
3270 result=yes
3271 else
3272 result=no
3273 fi
3274 else
3275 result=$wxUSE_ALL_FEATURES
3276 fi
3277
3278 { echo "$as_me:$LINENO: result: $result" >&5
3279 echo "${ECHO_T}$result" >&6; }
3280
3281
3282 if test "$wxUSE_ALL_FEATURES" = "no"; then
3283 DEFAULT_wxUSE_MEDIACTRL=no
3284 fi
3285
3286
3287 if test "$wxUSE_GUI" = "yes"; then
3288
3289
3290 enablestring=
3291 defaultval=
3292 if test -z "$defaultval"; then
3293 if test x"$enablestring" = xdisable; then
3294 defaultval=yes
3295 else
3296 defaultval=no
3297 fi
3298 fi
3299
3300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3302 # Check whether --enable-universal was given.
3303 if test "${enable_universal+set}" = set; then
3304 enableval=$enable_universal;
3305 if test "$enableval" = yes; then
3306 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3307 else
3308 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3309 fi
3310
3311 else
3312
3313 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3314
3315 fi
3316
3317
3318 eval "$wx_cv_use_universal"
3319
3320 if test x"$enablestring" = xdisable; then
3321 if test $wxUSE_UNIVERSAL = no; then
3322 result=yes
3323 else
3324 result=no
3325 fi
3326 else
3327 result=$wxUSE_UNIVERSAL
3328 fi
3329
3330 { echo "$as_me:$LINENO: result: $result" >&5
3331 echo "${ECHO_T}$result" >&6; }
3332
3333 if test "$wxUSE_UNIVERSAL" = "yes"; then
3334
3335 # Check whether --with-themes was given.
3336 if test "${with_themes+set}" = set; then
3337 withval=$with_themes; wxUNIV_THEMES="$withval"
3338 fi
3339
3340 fi
3341
3342
3343 # Check whether --with-gtk was given.
3344 if test "${with_gtk+set}" = set; then
3345 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-motif was given.
3350 if test "${with_motif+set}" = set; then
3351 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-osx_carbon was given.
3356 if test "${with_osx_carbon+set}" = set; then
3357 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 # Check whether --with-osx_cocoa was given.
3362 if test "${with_osx_cocoa+set}" = set; then
3363 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3364 fi
3365
3366
3367 # Check whether --with-osx_iphone was given.
3368 if test "${with_osx_iphone+set}" = set; then
3369 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-osx was given.
3374 if test "${with_osx+set}" = set; then
3375 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 # Check whether --with-carbon was given.
3380 if test "${with_carbon+set}" = set; then
3381 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-cocoa was given.
3386 if test "${with_cocoa+set}" = set; then
3387 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-iphone was given.
3392 if test "${with_iphone+set}" = set; then
3393 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 # Check whether --with-mac was given.
3398 if test "${with_mac+set}" = set; then
3399 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-old_cocoa was given.
3404 if test "${with_old_cocoa+set}" = set; then
3405 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3406 fi
3407
3408
3409 # Check whether --with-wine was given.
3410 if test "${with_wine+set}" = set; then
3411 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3412 fi
3413
3414
3415 # Check whether --with-msw was given.
3416 if test "${with_msw+set}" = set; then
3417 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3418 fi
3419
3420
3421 # Check whether --with-pm was given.
3422 if test "${with_pm+set}" = set; then
3423 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3424 fi
3425
3426
3427 # Check whether --with-mgl was given.
3428 if test "${with_mgl+set}" = set; then
3429 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 # Check whether --with-directfb was given.
3434 if test "${with_directfb+set}" = set; then
3435 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3436 fi
3437
3438
3439 # Check whether --with-microwin was given.
3440 if test "${with_microwin+set}" = set; then
3441 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3442 fi
3443
3444
3445 # Check whether --with-x11 was given.
3446 if test "${with_x11+set}" = set; then
3447 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3448 fi
3449
3450
3451 enablestring=
3452 defaultval=
3453 if test -z "$defaultval"; then
3454 if test x"$enablestring" = xdisable; then
3455 defaultval=yes
3456 else
3457 defaultval=no
3458 fi
3459 fi
3460
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3463 # Check whether --enable-nanox was given.
3464 if test "${enable_nanox+set}" = set; then
3465 enableval=$enable_nanox;
3466 if test "$enableval" = yes; then
3467 wx_cv_use_nanox='wxUSE_NANOX=yes'
3468 else
3469 wx_cv_use_nanox='wxUSE_NANOX=no'
3470 fi
3471
3472 else
3473
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3475
3476 fi
3477
3478
3479 eval "$wx_cv_use_nanox"
3480
3481 if test x"$enablestring" = xdisable; then
3482 if test $wxUSE_NANOX = no; then
3483 result=yes
3484 else
3485 result=no
3486 fi
3487 else
3488 result=$wxUSE_NANOX
3489 fi
3490
3491 { echo "$as_me:$LINENO: result: $result" >&5
3492 echo "${ECHO_T}$result" >&6; }
3493
3494
3495 # Check whether --enable-gtk2 was given.
3496 if test "${enable_gtk2+set}" = set; then
3497 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3498 fi
3499
3500
3501 enablestring=
3502 defaultval=
3503 if test -z "$defaultval"; then
3504 if test x"$enablestring" = xdisable; then
3505 defaultval=yes
3506 else
3507 defaultval=no
3508 fi
3509 fi
3510
3511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3513 # Check whether --enable-gpe was given.
3514 if test "${enable_gpe+set}" = set; then
3515 enableval=$enable_gpe;
3516 if test "$enableval" = yes; then
3517 wx_cv_use_gpe='wxUSE_GPE=yes'
3518 else
3519 wx_cv_use_gpe='wxUSE_GPE=no'
3520 fi
3521
3522 else
3523
3524 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3525
3526 fi
3527
3528
3529 eval "$wx_cv_use_gpe"
3530
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_GPE = no; then
3533 result=yes
3534 else
3535 result=no
3536 fi
3537 else
3538 result=$wxUSE_GPE
3539 fi
3540
3541 { echo "$as_me:$LINENO: result: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3543
3544
3545
3546 { echo "$as_me:$LINENO: checking for toolkit" >&5
3547 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3548
3549
3550
3551 # In Wine, we need to default to MSW, not GTK or MOTIF
3552 if test "$wxUSE_WINE" = "yes"; then
3553 DEFAULT_DEFAULT_wxUSE_GTK=0
3554 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3555 DEFAULT_DEFAULT_wxUSE_MSW=1
3556 wxUSE_SHARED=no
3557 CC=${CC:-winegcc}
3558 CXX=${CXX:-wineg++}
3559 fi
3560
3561
3562 if test "$wxUSE_GUI" = "yes"; then
3563
3564 if test "$USE_BEOS" = 1; then
3565 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3566 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3567 { (exit 1); exit 1; }; }
3568 fi
3569
3570 if test "$TOOLKIT_GIVEN" = 1; then
3571 for toolkit in $ALL_TOOLKITS; do
3572 var=wxUSE_$toolkit
3573 eval "value=\$${var}"
3574 if test "x$value" = "xno"; then
3575 eval "$var=0"
3576 elif test "x$value" != "x"; then
3577 eval "$var=1"
3578 fi
3579
3580 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3581 eval "wx${toolkit}_VERSION=$value"
3582 fi
3583 done
3584 else
3585 for toolkit in $ALL_TOOLKITS; do
3586 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3587 eval "wxUSE_$toolkit=\$${var}"
3588 done
3589 fi
3590
3591 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3592 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3593 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3594
3595 case "${host}" in
3596 *-pc-os2_emx | *-pc-os2-emx )
3597 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3598 esac
3599
3600 case "$NUM_TOOLKITS" in
3601 1)
3602 ;;
3603 0)
3604 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3605 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3606 { (exit 1); exit 1; }; }
3607 ;;
3608 *)
3609 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3610 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3611 { (exit 1); exit 1; }; }
3612 esac
3613
3614 # to be removed when --disable-gtk2 isn't needed
3615 if test "x$wxUSE_GTK2" = "xyes"; then
3616 wxGTK_VERSION=2
3617 wxUSE_GTK1=0
3618 elif test "x$wxUSE_GTK2" = "xno"; then
3619 wxGTK_VERSION=1
3620 wxUSE_GTK1=1
3621 fi
3622
3623 for toolkit in $ALL_TOOLKITS; do
3624 var=wxUSE_$toolkit
3625 eval "value=\$${var}"
3626 if test "$value" = 1; then
3627 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3628 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3629 echo "${ECHO_T}$toolkit_echo" >&6; }
3630 fi
3631 done
3632 else
3633 if test "x$host_alias" != "x"; then
3634 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3635 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3636 else
3637 { echo "$as_me:$LINENO: result: base only" >&5
3638 echo "${ECHO_T}base only" >&6; }
3639 fi
3640 fi
3641
3642 wxUSE_MAC=0
3643 if test "$wxUSE_OSX_CARBON" = 1 \
3644 -o "$wxUSE_OSX_COCOA" = 1 \
3645 -o "$wxUSE_OSX_IPHONE" = 1; then
3646 wxUSE_MAC=1
3647 fi
3648
3649
3650
3651 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3652 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libpng was given.
3655 if test "${with_libpng+set}" = set; then
3656 withval=$with_libpng;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671 else
3672
3673 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3674
3675 fi
3676
3677
3678 eval "$wx_cv_use_libpng"
3679
3680 if test "$wxUSE_LIBPNG" = yes; then
3681 { echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6; }
3683 elif test "$wxUSE_LIBPNG" = no; then
3684 { echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6; }
3686 elif test "$wxUSE_LIBPNG" = sys; then
3687 { echo "$as_me:$LINENO: result: system version" >&5
3688 echo "${ECHO_T}system version" >&6; }
3689 elif test "$wxUSE_LIBPNG" = builtin; then
3690 { echo "$as_me:$LINENO: result: builtin version" >&5
3691 echo "${ECHO_T}builtin version" >&6; }
3692 else
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3696 fi
3697
3698
3699 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3700 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3701
3702 # Check whether --with-libjpeg was given.
3703 if test "${with_libjpeg+set}" = set; then
3704 withval=$with_libjpeg;
3705 if test "$withval" = yes; then
3706 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3707 elif test "$withval" = no; then
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3709 elif test "$withval" = sys; then
3710 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3711 elif test "$withval" = builtin; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718
3719 else
3720
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3722
3723 fi
3724
3725
3726 eval "$wx_cv_use_libjpeg"
3727
3728 if test "$wxUSE_LIBJPEG" = yes; then
3729 { echo "$as_me:$LINENO: result: yes" >&5
3730 echo "${ECHO_T}yes" >&6; }
3731 elif test "$wxUSE_LIBJPEG" = no; then
3732 { echo "$as_me:$LINENO: result: no" >&5
3733 echo "${ECHO_T}no" >&6; }
3734 elif test "$wxUSE_LIBJPEG" = sys; then
3735 { echo "$as_me:$LINENO: result: system version" >&5
3736 echo "${ECHO_T}system version" >&6; }
3737 elif test "$wxUSE_LIBJPEG" = builtin; then
3738 { echo "$as_me:$LINENO: result: builtin version" >&5
3739 echo "${ECHO_T}builtin version" >&6; }
3740 else
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3744 fi
3745
3746
3747 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3748 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3749
3750 # Check whether --with-libtiff was given.
3751 if test "${with_libtiff+set}" = set; then
3752 withval=$with_libtiff;
3753 if test "$withval" = yes; then
3754 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3755 elif test "$withval" = no; then
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3757 elif test "$withval" = sys; then
3758 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3759 elif test "$withval" = builtin; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3761 else
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3765 fi
3766
3767 else
3768
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3770
3771 fi
3772
3773
3774 eval "$wx_cv_use_libtiff"
3775
3776 if test "$wxUSE_LIBTIFF" = yes; then
3777 { echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6; }
3779 elif test "$wxUSE_LIBTIFF" = no; then
3780 { echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6; }
3782 elif test "$wxUSE_LIBTIFF" = sys; then
3783 { echo "$as_me:$LINENO: result: system version" >&5
3784 echo "${ECHO_T}system version" >&6; }
3785 elif test "$wxUSE_LIBTIFF" = builtin; then
3786 { echo "$as_me:$LINENO: result: builtin version" >&5
3787 echo "${ECHO_T}builtin version" >&6; }
3788 else
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3792 fi
3793
3794
3795 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3796 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3797
3798 # Check whether --with-libxpm was given.
3799 if test "${with_libxpm+set}" = set; then
3800 withval=$with_libxpm;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3803 elif test "$withval" = no; then
3804 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3805 elif test "$withval" = sys; then
3806 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3807 elif test "$withval" = builtin; then
3808 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3809 else
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3813 fi
3814
3815 else
3816
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3818
3819 fi
3820
3821
3822 eval "$wx_cv_use_libxpm"
3823
3824 if test "$wxUSE_LIBXPM" = yes; then
3825 { echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6; }
3827 elif test "$wxUSE_LIBXPM" = no; then
3828 { echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6; }
3830 elif test "$wxUSE_LIBXPM" = sys; then
3831 { echo "$as_me:$LINENO: result: system version" >&5
3832 echo "${ECHO_T}system version" >&6; }
3833 elif test "$wxUSE_LIBXPM" = builtin; then
3834 { echo "$as_me:$LINENO: result: builtin version" >&5
3835 echo "${ECHO_T}builtin version" >&6; }
3836 else
3837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3838 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3839 { (exit 1); exit 1; }; }
3840 fi
3841
3842
3843 withstring=
3844 defaultval=$wxUSE_ALL_FEATURES
3845 if test -z "$defaultval"; then
3846 if test x"$withstring" = xwithout; then
3847 defaultval=yes
3848 else
3849 defaultval=no
3850 fi
3851 fi
3852 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3853 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3854
3855 # Check whether --with-libiconv was given.
3856 if test "${with_libiconv+set}" = set; then
3857 withval=$with_libiconv;
3858 if test "$withval" = yes; then
3859 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3860 else
3861 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3862 fi
3863
3864 else
3865
3866 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3867
3868 fi
3869
3870
3871 eval "$wx_cv_use_libiconv"
3872
3873 if test x"$withstring" = xwithout; then
3874 if test $wxUSE_LIBICONV = yes; then
3875 result=no
3876 else
3877 result=yes
3878 fi
3879 else
3880 result=$wxUSE_LIBICONV
3881 fi
3882
3883 { echo "$as_me:$LINENO: result: $result" >&5
3884 echo "${ECHO_T}$result" >&6; }
3885
3886
3887 withstring=
3888 defaultval=$wxUSE_ALL_FEATURES
3889 if test -z "$defaultval"; then
3890 if test x"$withstring" = xwithout; then
3891 defaultval=yes
3892 else
3893 defaultval=no
3894 fi
3895 fi
3896 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3897 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3898
3899 # Check whether --with-libmspack was given.
3900 if test "${with_libmspack+set}" = set; then
3901 withval=$with_libmspack;
3902 if test "$withval" = yes; then
3903 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3904 else
3905 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3906 fi
3907
3908 else
3909
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3911
3912 fi
3913
3914
3915 eval "$wx_cv_use_libmspack"
3916
3917 if test x"$withstring" = xwithout; then
3918 if test $wxUSE_LIBMSPACK = yes; then
3919 result=no
3920 else
3921 result=yes
3922 fi
3923 else
3924 result=$wxUSE_LIBMSPACK
3925 fi
3926
3927 { echo "$as_me:$LINENO: result: $result" >&5
3928 echo "${ECHO_T}$result" >&6; }
3929
3930
3931 withstring=without
3932 defaultval=$wxUSE_ALL_FEATURES
3933 if test -z "$defaultval"; then
3934 if test x"$withstring" = xwithout; then
3935 defaultval=yes
3936 else
3937 defaultval=no
3938 fi
3939 fi
3940 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3941 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3942
3943 # Check whether --with-gtkprint was given.
3944 if test "${with_gtkprint+set}" = set; then
3945 withval=$with_gtkprint;
3946 if test "$withval" = yes; then
3947 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3948 else
3949 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3950 fi
3951
3952 else
3953
3954 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3955
3956 fi
3957
3958
3959 eval "$wx_cv_use_gtkprint"
3960
3961 if test x"$withstring" = xwithout; then
3962 if test $wxUSE_GTKPRINT = yes; then
3963 result=no
3964 else
3965 result=yes
3966 fi
3967 else
3968 result=$wxUSE_GTKPRINT
3969 fi
3970
3971 { echo "$as_me:$LINENO: result: $result" >&5
3972 echo "${ECHO_T}$result" >&6; }
3973
3974
3975 withstring=without
3976 defaultval=$wxUSE_ALL_FEATURES
3977 if test -z "$defaultval"; then
3978 if test x"$withstring" = xwithout; then
3979 defaultval=yes
3980 else
3981 defaultval=no
3982 fi
3983 fi
3984 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3985 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3986
3987 # Check whether --with-gnomeprint was given.
3988 if test "${with_gnomeprint+set}" = set; then
3989 withval=$with_gnomeprint;
3990 if test "$withval" = yes; then
3991 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3992 else
3993 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3994 fi
3995
3996 else
3997
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3999
4000 fi
4001
4002
4003 eval "$wx_cv_use_gnomeprint"
4004
4005 if test x"$withstring" = xwithout; then
4006 if test $wxUSE_LIBGNOMEPRINT = yes; then
4007 result=no
4008 else
4009 result=yes
4010 fi
4011 else
4012 result=$wxUSE_LIBGNOMEPRINT
4013 fi
4014
4015 { echo "$as_me:$LINENO: result: $result" >&5
4016 echo "${ECHO_T}$result" >&6; }
4017
4018
4019 withstring=
4020 defaultval=$wxUSE_ALL_FEATURES
4021 if test -z "$defaultval"; then
4022 if test x"$withstring" = xwithout; then
4023 defaultval=yes
4024 else
4025 defaultval=no
4026 fi
4027 fi
4028 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4029 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4030
4031 # Check whether --with-gnomevfs was given.
4032 if test "${with_gnomevfs+set}" = set; then
4033 withval=$with_gnomevfs;
4034 if test "$withval" = yes; then
4035 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4036 else
4037 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4038 fi
4039
4040 else
4041
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4043
4044 fi
4045
4046
4047 eval "$wx_cv_use_gnomevfs"
4048
4049 if test x"$withstring" = xwithout; then
4050 if test $wxUSE_LIBGNOMEVFS = yes; then
4051 result=no
4052 else
4053 result=yes
4054 fi
4055 else
4056 result=$wxUSE_LIBGNOMEVFS
4057 fi
4058
4059 { echo "$as_me:$LINENO: result: $result" >&5
4060 echo "${ECHO_T}$result" >&6; }
4061
4062
4063 withstring=
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4067 defaultval=yes
4068 else
4069 defaultval=no
4070 fi
4071 fi
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4074
4075 # Check whether --with-hildon was given.
4076 if test "${with_hildon+set}" = set; then
4077 withval=$with_hildon;
4078 if test "$withval" = yes; then
4079 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4080 else
4081 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4082 fi
4083
4084 else
4085
4086 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4087
4088 fi
4089
4090
4091 eval "$wx_cv_use_hildon"
4092
4093 if test x"$withstring" = xwithout; then
4094 if test $wxUSE_LIBHILDON = yes; then
4095 result=no
4096 else
4097 result=yes
4098 fi
4099 else
4100 result=$wxUSE_LIBHILDON
4101 fi
4102
4103 { echo "$as_me:$LINENO: result: $result" >&5
4104 echo "${ECHO_T}$result" >&6; }
4105
4106
4107 withstring=
4108 defaultval=$wxUSE_ALL_FEATURES
4109 if test -z "$defaultval"; then
4110 if test x"$withstring" = xwithout; then
4111 defaultval=yes
4112 else
4113 defaultval=no
4114 fi
4115 fi
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4118
4119 # Check whether --with-opengl was given.
4120 if test "${with_opengl+set}" = set; then
4121 withval=$with_opengl;
4122 if test "$withval" = yes; then
4123 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4124 else
4125 wx_cv_use_opengl='wxUSE_OPENGL=no'
4126 fi
4127
4128 else
4129
4130 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4131
4132 fi
4133
4134
4135 eval "$wx_cv_use_opengl"
4136
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_OPENGL = yes; then
4139 result=no
4140 else
4141 result=yes
4142 fi
4143 else
4144 result=$wxUSE_OPENGL
4145 fi
4146
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4149
4150
4151 fi
4152
4153
4154 withstring=
4155 defaultval=$wxUSE_ALL_FEATURES
4156 if test -z "$defaultval"; then
4157 if test x"$withstring" = xwithout; then
4158 defaultval=yes
4159 else
4160 defaultval=no
4161 fi
4162 fi
4163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4164 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4165
4166 # Check whether --with-dmalloc was given.
4167 if test "${with_dmalloc+set}" = set; then
4168 withval=$with_dmalloc;
4169 if test "$withval" = yes; then
4170 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4171 else
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4173 fi
4174
4175 else
4176
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4178
4179 fi
4180
4181
4182 eval "$wx_cv_use_dmalloc"
4183
4184 if test x"$withstring" = xwithout; then
4185 if test $wxUSE_DMALLOC = yes; then
4186 result=no
4187 else
4188 result=yes
4189 fi
4190 else
4191 result=$wxUSE_DMALLOC
4192 fi
4193
4194 { echo "$as_me:$LINENO: result: $result" >&5
4195 echo "${ECHO_T}$result" >&6; }
4196
4197
4198 withstring=
4199 defaultval=$wxUSE_ALL_FEATURES
4200 if test -z "$defaultval"; then
4201 if test x"$withstring" = xwithout; then
4202 defaultval=yes
4203 else
4204 defaultval=no
4205 fi
4206 fi
4207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4208 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4209
4210 # Check whether --with-sdl was given.
4211 if test "${with_sdl+set}" = set; then
4212 withval=$with_sdl;
4213 if test "$withval" = yes; then
4214 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4215 else
4216 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4217 fi
4218
4219 else
4220
4221 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4222
4223 fi
4224
4225
4226 eval "$wx_cv_use_sdl"
4227
4228 if test x"$withstring" = xwithout; then
4229 if test $wxUSE_LIBSDL = yes; then
4230 result=no
4231 else
4232 result=yes
4233 fi
4234 else
4235 result=$wxUSE_LIBSDL
4236 fi
4237
4238 { echo "$as_me:$LINENO: result: $result" >&5
4239 echo "${ECHO_T}$result" >&6; }
4240
4241
4242 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4243 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4244
4245 # Check whether --with-regex was given.
4246 if test "${with_regex+set}" = set; then
4247 withval=$with_regex;
4248 if test "$withval" = yes; then
4249 wx_cv_use_regex='wxUSE_REGEX=yes'
4250 elif test "$withval" = no; then
4251 wx_cv_use_regex='wxUSE_REGEX=no'
4252 elif test "$withval" = sys; then
4253 wx_cv_use_regex='wxUSE_REGEX=sys'
4254 elif test "$withval" = builtin; then
4255 wx_cv_use_regex='wxUSE_REGEX=builtin'
4256 else
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4260 fi
4261
4262 else
4263
4264 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4265
4266 fi
4267
4268
4269 eval "$wx_cv_use_regex"
4270
4271 if test "$wxUSE_REGEX" = yes; then
4272 { echo "$as_me:$LINENO: result: yes" >&5
4273 echo "${ECHO_T}yes" >&6; }
4274 elif test "$wxUSE_REGEX" = no; then
4275 { echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6; }
4277 elif test "$wxUSE_REGEX" = sys; then
4278 { echo "$as_me:$LINENO: result: system version" >&5
4279 echo "${ECHO_T}system version" >&6; }
4280 elif test "$wxUSE_REGEX" = builtin; then
4281 { echo "$as_me:$LINENO: result: builtin version" >&5
4282 echo "${ECHO_T}builtin version" >&6; }
4283 else
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4287 fi
4288
4289
4290 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4291 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4292
4293 # Check whether --with-zlib was given.
4294 if test "${with_zlib+set}" = set; then
4295 withval=$with_zlib;
4296 if test "$withval" = yes; then
4297 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4298 elif test "$withval" = no; then
4299 wx_cv_use_zlib='wxUSE_ZLIB=no'
4300 elif test "$withval" = sys; then
4301 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4302 elif test "$withval" = builtin; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4304 else
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4308 fi
4309
4310 else
4311
4312 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4313
4314 fi
4315
4316
4317 eval "$wx_cv_use_zlib"
4318
4319 if test "$wxUSE_ZLIB" = yes; then
4320 { echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6; }
4322 elif test "$wxUSE_ZLIB" = no; then
4323 { echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6; }
4325 elif test "$wxUSE_ZLIB" = sys; then
4326 { echo "$as_me:$LINENO: result: system version" >&5
4327 echo "${ECHO_T}system version" >&6; }
4328 elif test "$wxUSE_ZLIB" = builtin; then
4329 { echo "$as_me:$LINENO: result: builtin version" >&5
4330 echo "${ECHO_T}builtin version" >&6; }
4331 else
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4335 fi
4336
4337
4338 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4340
4341 # Check whether --with-expat was given.
4342 if test "${with_expat+set}" = set; then
4343 withval=$with_expat;
4344 if test "$withval" = yes; then
4345 wx_cv_use_expat='wxUSE_EXPAT=yes'
4346 elif test "$withval" = no; then
4347 wx_cv_use_expat='wxUSE_EXPAT=no'
4348 elif test "$withval" = sys; then
4349 wx_cv_use_expat='wxUSE_EXPAT=sys'
4350 elif test "$withval" = builtin; then
4351 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4352 else
4353 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4354 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4355 { (exit 1); exit 1; }; }
4356 fi
4357
4358 else
4359
4360 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4361
4362 fi
4363
4364
4365 eval "$wx_cv_use_expat"
4366
4367 if test "$wxUSE_EXPAT" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_EXPAT" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_EXPAT" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_EXPAT" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4379 else
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4383 fi
4384
4385
4386 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4387 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4388
4389 # Check whether --with-macosx-sdk was given.
4390 if test "${with_macosx_sdk+set}" = set; then
4391 withval=$with_macosx_sdk;
4392 wxUSE_MACOSX_SDK=$withval
4393 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4394
4395 fi
4396
4397 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4398 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4399
4400 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4401 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4402
4403 # Check whether --with-macosx-version-min was given.
4404 if test "${with_macosx_version_min+set}" = set; then
4405 withval=$with_macosx_version_min;
4406 wxUSE_MACOSX_VERSION_MIN=$withval
4407 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4408
4409 fi
4410
4411 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4412 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4413
4414
4415 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4416 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4417 # Check whether --enable-debug was given.
4418 if test "${enable_debug+set}" = set; then
4419 enableval=$enable_debug;
4420 if test "$enableval" = yes; then
4421 wxUSE_DEBUG=yes
4422 elif test "$enableval" = no; then
4423 wxUSE_DEBUG=no
4424 elif test "$enableval" = max; then
4425 wxUSE_DEBUG=yes
4426 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4427 else
4428 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4429 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4430 { (exit 1); exit 1; }; }
4431 fi
4432
4433 else
4434 wxUSE_DEBUG=default
4435
4436 fi
4437
4438
4439 case "$wxUSE_DEBUG" in
4440 yes)
4441 DEFAULT_wxUSE_DEBUG_FLAG=yes
4442 DEFAULT_wxUSE_DEBUG_INFO=yes
4443
4444 DEFAULT_wxUSE_OPTIMISE=no
4445 ;;
4446
4447 no)
4448 DEFAULT_wxUSE_DEBUG_FLAG=no
4449 DEFAULT_wxUSE_DEBUG_INFO=no
4450 ;;
4451
4452 default)
4453 DEFAULT_wxUSE_DEBUG_FLAG=yes
4454 DEFAULT_wxUSE_DEBUG_INFO=no
4455 ;;
4456 esac
4457
4458
4459 enablestring=disable
4460 defaultval=
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4463 defaultval=yes
4464 else
4465 defaultval=no
4466 fi
4467 fi
4468
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4471 # Check whether --enable-debug_flag was given.
4472 if test "${enable_debug_flag+set}" = set; then
4473 enableval=$enable_debug_flag;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4476 else
4477 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4478 fi
4479
4480 else
4481
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4483
4484 fi
4485
4486
4487 eval "$wx_cv_use_debug_flag"
4488
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_DEBUG_FLAG = no; then
4491 result=yes
4492 else
4493 result=no
4494 fi
4495 else
4496 result=$wxUSE_DEBUG_FLAG
4497 fi
4498
4499 { echo "$as_me:$LINENO: result: $result" >&5
4500 echo "${ECHO_T}$result" >&6; }
4501
4502
4503 enablestring=
4504 defaultval=
4505 if test -z "$defaultval"; then
4506 if test x"$enablestring" = xdisable; then
4507 defaultval=yes
4508 else
4509 defaultval=no
4510 fi
4511 fi
4512
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4515 # Check whether --enable-debug_info was given.
4516 if test "${enable_debug_info+set}" = set; then
4517 enableval=$enable_debug_info;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4520 else
4521 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4522 fi
4523
4524 else
4525
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4527
4528 fi
4529
4530
4531 eval "$wx_cv_use_debug_info"
4532
4533 if test x"$enablestring" = xdisable; then
4534 if test $wxUSE_DEBUG_INFO = no; then
4535 result=yes
4536 else
4537 result=no
4538 fi
4539 else
4540 result=$wxUSE_DEBUG_INFO
4541 fi
4542
4543 { echo "$as_me:$LINENO: result: $result" >&5
4544 echo "${ECHO_T}$result" >&6; }
4545
4546
4547
4548
4549 enablestring=
4550 defaultval=
4551 if test -z "$defaultval"; then
4552 if test x"$enablestring" = xdisable; then
4553 defaultval=yes
4554 else
4555 defaultval=no
4556 fi
4557 fi
4558
4559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4561 # Check whether --enable-debug_gdb was given.
4562 if test "${enable_debug_gdb+set}" = set; then
4563 enableval=$enable_debug_gdb;
4564 if test "$enableval" = yes; then
4565 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4566 else
4567 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4568 fi
4569
4570 else
4571
4572 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4573
4574 fi
4575
4576
4577 eval "$wx_cv_use_debug_gdb"
4578
4579 if test x"$enablestring" = xdisable; then
4580 if test $wxUSE_DEBUG_GDB = no; then
4581 result=yes
4582 else
4583 result=no
4584 fi
4585 else
4586 result=$wxUSE_DEBUG_GDB
4587 fi
4588
4589 { echo "$as_me:$LINENO: result: $result" >&5
4590 echo "${ECHO_T}$result" >&6; }
4591
4592
4593 enablestring=
4594 defaultval=
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4597 defaultval=yes
4598 else
4599 defaultval=no
4600 fi
4601 fi
4602
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4605 # Check whether --enable-debug_cntxt was given.
4606 if test "${enable_debug_cntxt+set}" = set; then
4607 enableval=$enable_debug_cntxt;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4610 else
4611 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4612 fi
4613
4614 else
4615
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4617
4618 fi
4619
4620
4621 eval "$wx_cv_use_debug_cntxt"
4622
4623 if test x"$enablestring" = xdisable; then
4624 if test $wxUSE_DEBUG_CONTEXT = no; then
4625 result=yes
4626 else
4627 result=no
4628 fi
4629 else
4630 result=$wxUSE_DEBUG_CONTEXT
4631 fi
4632
4633 { echo "$as_me:$LINENO: result: $result" >&5
4634 echo "${ECHO_T}$result" >&6; }
4635
4636
4637 enablestring=
4638 defaultval=
4639 if test -z "$defaultval"; then
4640 if test x"$enablestring" = xdisable; then
4641 defaultval=yes
4642 else
4643 defaultval=no
4644 fi
4645 fi
4646
4647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4649 # Check whether --enable-mem_tracing was given.
4650 if test "${enable_mem_tracing+set}" = set; then
4651 enableval=$enable_mem_tracing;
4652 if test "$enableval" = yes; then
4653 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4654 else
4655 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4656 fi
4657
4658 else
4659
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4661
4662 fi
4663
4664
4665 eval "$wx_cv_use_mem_tracing"
4666
4667 if test x"$enablestring" = xdisable; then
4668 if test $wxUSE_MEM_TRACING = no; then
4669 result=yes
4670 else
4671 result=no
4672 fi
4673 else
4674 result=$wxUSE_MEM_TRACING
4675 fi
4676
4677 { echo "$as_me:$LINENO: result: $result" >&5
4678 echo "${ECHO_T}$result" >&6; }
4679
4680
4681
4682
4683 enablestring=disable
4684 defaultval=
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4687 defaultval=yes
4688 else
4689 defaultval=no
4690 fi
4691 fi
4692
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4695 # Check whether --enable-shared was given.
4696 if test "${enable_shared+set}" = set; then
4697 enableval=$enable_shared;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_shared='wxUSE_SHARED=yes'
4700 else
4701 wx_cv_use_shared='wxUSE_SHARED=no'
4702 fi
4703
4704 else
4705
4706 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4707
4708 fi
4709
4710
4711 eval "$wx_cv_use_shared"
4712
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_SHARED = no; then
4715 result=yes
4716 else
4717 result=no
4718 fi
4719 else
4720 result=$wxUSE_SHARED
4721 fi
4722
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4725
4726
4727 enablestring=
4728 defaultval=
4729 if test -z "$defaultval"; then
4730 if test x"$enablestring" = xdisable; then
4731 defaultval=yes
4732 else
4733 defaultval=no
4734 fi
4735 fi
4736
4737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4739 # Check whether --enable-stl was given.
4740 if test "${enable_stl+set}" = set; then
4741 enableval=$enable_stl;
4742 if test "$enableval" = yes; then
4743 wx_cv_use_stl='wxUSE_STL=yes'
4744 else
4745 wx_cv_use_stl='wxUSE_STL=no'
4746 fi
4747
4748 else
4749
4750 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4751
4752 fi
4753
4754
4755 eval "$wx_cv_use_stl"
4756
4757 if test x"$enablestring" = xdisable; then
4758 if test $wxUSE_STL = no; then
4759 result=yes
4760 else
4761 result=no
4762 fi
4763 else
4764 result=$wxUSE_STL
4765 fi
4766
4767 { echo "$as_me:$LINENO: result: $result" >&5
4768 echo "${ECHO_T}$result" >&6; }
4769
4770
4771 enablestring=
4772 defaultval=
4773 if test -z "$defaultval"; then
4774 if test x"$enablestring" = xdisable; then
4775 defaultval=yes
4776 else
4777 defaultval=no
4778 fi
4779 fi
4780
4781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4783 # Check whether --enable-std_iostreams was given.
4784 if test "${enable_std_iostreams+set}" = set; then
4785 enableval=$enable_std_iostreams;
4786 if test "$enableval" = yes; then
4787 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4788 else
4789 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4790 fi
4791
4792 else
4793
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4795
4796 fi
4797
4798
4799 eval "$wx_cv_use_std_iostreams"
4800
4801 if test x"$enablestring" = xdisable; then
4802 if test $wxUSE_STD_IOSTREAM = no; then
4803 result=yes
4804 else
4805 result=no
4806 fi
4807 else
4808 result=$wxUSE_STD_IOSTREAM
4809 fi
4810
4811 { echo "$as_me:$LINENO: result: $result" >&5
4812 echo "${ECHO_T}$result" >&6; }
4813
4814
4815 enablestring=
4816 defaultval=
4817 if test -z "$defaultval"; then
4818 if test x"$enablestring" = xdisable; then
4819 defaultval=yes
4820 else
4821 defaultval=no
4822 fi
4823 fi
4824
4825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4827 # Check whether --enable-std_string was given.
4828 if test "${enable_std_string+set}" = set; then
4829 enableval=$enable_std_string;
4830 if test "$enableval" = yes; then
4831 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4832 else
4833 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4834 fi
4835
4836 else
4837
4838 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4839
4840 fi
4841
4842
4843 eval "$wx_cv_use_std_string"
4844
4845 if test x"$enablestring" = xdisable; then
4846 if test $wxUSE_STD_STRING = no; then
4847 result=yes
4848 else
4849 result=no
4850 fi
4851 else
4852 result=$wxUSE_STD_STRING
4853 fi
4854
4855 { echo "$as_me:$LINENO: result: $result" >&5
4856 echo "${ECHO_T}$result" >&6; }
4857
4858
4859 enablestring=disable
4860 defaultval=
4861 if test -z "$defaultval"; then
4862 if test x"$enablestring" = xdisable; then
4863 defaultval=yes
4864 else
4865 defaultval=no
4866 fi
4867 fi
4868
4869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4871 # Check whether --enable-unicode was given.
4872 if test "${enable_unicode+set}" = set; then
4873 enableval=$enable_unicode;
4874 if test "$enableval" = yes; then
4875 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4876 else
4877 wx_cv_use_unicode='wxUSE_UNICODE=no'
4878 fi
4879
4880 else
4881
4882 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_unicode"
4888
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = no; then
4891 result=yes
4892 else
4893 result=no
4894 fi
4895 else
4896 result=$wxUSE_UNICODE
4897 fi
4898
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4901
4902
4903 enablestring=
4904 defaultval=
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4907 defaultval=yes
4908 else
4909 defaultval=no
4910 fi
4911 fi
4912
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4920 else
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4922 fi
4923
4924 else
4925
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4927
4928 fi
4929
4930
4931 eval "$wx_cv_use_mslu"
4932
4933 if test x"$enablestring" = xdisable; then
4934 if test $wxUSE_UNICODE_MSLU = no; then
4935 result=yes
4936 else
4937 result=no
4938 fi
4939 else
4940 result=$wxUSE_UNICODE_MSLU
4941 fi
4942
4943 { echo "$as_me:$LINENO: result: $result" >&5
4944 echo "${ECHO_T}$result" >&6; }
4945
4946
4947 enablestring=
4948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4950 # Check whether --enable-utf8 was given.
4951 if test "${enable_utf8+set}" = set; then
4952 enableval=$enable_utf8;
4953 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4954
4955 else
4956
4957 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_utf8"
4963
4964 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4965 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4966
4967
4968 enablestring=
4969 defaultval=
4970 if test -z "$defaultval"; then
4971 if test x"$enablestring" = xdisable; then
4972 defaultval=yes
4973 else
4974 defaultval=no
4975 fi
4976 fi
4977
4978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4980 # Check whether --enable-utf8only was given.
4981 if test "${enable_utf8only+set}" = set; then
4982 enableval=$enable_utf8only;
4983 if test "$enableval" = yes; then
4984 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4985 else
4986 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4987 fi
4988
4989 else
4990
4991 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4992
4993 fi
4994
4995
4996 eval "$wx_cv_use_utf8only"
4997
4998 if test x"$enablestring" = xdisable; then
4999 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5000 result=yes
5001 else
5002 result=no
5003 fi
5004 else
5005 result=$wxUSE_UNICODE_UTF8_LOCALE
5006 fi
5007
5008 { echo "$as_me:$LINENO: result: $result" >&5
5009 echo "${ECHO_T}$result" >&6; }
5010
5011
5012 enablestring=
5013 defaultval=
5014 if test -z "$defaultval"; then
5015 if test x"$enablestring" = xdisable; then
5016 defaultval=yes
5017 else
5018 defaultval=no
5019 fi
5020 fi
5021
5022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5024 # Check whether --enable-extended_rtti was given.
5025 if test "${enable_extended_rtti+set}" = set; then
5026 enableval=$enable_extended_rtti;
5027 if test "$enableval" = yes; then
5028 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5029 else
5030 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5031 fi
5032
5033 else
5034
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5036
5037 fi
5038
5039
5040 eval "$wx_cv_use_extended_rtti"
5041
5042 if test x"$enablestring" = xdisable; then
5043 if test $wxUSE_EXTENDED_RTTI = no; then
5044 result=yes
5045 else
5046 result=no
5047 fi
5048 else
5049 result=$wxUSE_EXTENDED_RTTI
5050 fi
5051
5052 { echo "$as_me:$LINENO: result: $result" >&5
5053 echo "${ECHO_T}$result" >&6; }
5054
5055 if test "$USE_OS2" = 1; then
5056 DEFAULT_wxUSE_OMF=no
5057
5058 enablestring=
5059 defaultval=
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5062 defaultval=yes
5063 else
5064 defaultval=no
5065 fi
5066 fi
5067
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5070 # Check whether --enable-omf was given.
5071 if test "${enable_omf+set}" = set; then
5072 enableval=$enable_omf;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_omf='wxUSE_OMF=yes'
5075 else
5076 wx_cv_use_omf='wxUSE_OMF=no'
5077 fi
5078
5079 else
5080
5081 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5082
5083 fi
5084
5085
5086 eval "$wx_cv_use_omf"
5087
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_OMF = no; then
5090 result=yes
5091 else
5092 result=no
5093 fi
5094 else
5095 result=$wxUSE_OMF
5096 fi
5097
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5100
5101 fi
5102
5103
5104 enablestring=disable
5105 defaultval=
5106 if test -z "$defaultval"; then
5107 if test x"$enablestring" = xdisable; then
5108 defaultval=yes
5109 else
5110 defaultval=no
5111 fi
5112 fi
5113
5114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5115 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5116 # Check whether --enable-optimise was given.
5117 if test "${enable_optimise+set}" = set; then
5118 enableval=$enable_optimise;
5119 if test "$enableval" = yes; then
5120 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5121 else
5122 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5123 fi
5124
5125 else
5126
5127 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5128
5129 fi
5130
5131
5132 eval "$wx_cv_use_optimise"
5133
5134 if test x"$enablestring" = xdisable; then
5135 if test $wxUSE_OPTIMISE = no; then
5136 result=yes
5137 else
5138 result=no
5139 fi
5140 else
5141 result=$wxUSE_OPTIMISE
5142 fi
5143
5144 { echo "$as_me:$LINENO: result: $result" >&5
5145 echo "${ECHO_T}$result" >&6; }
5146
5147
5148
5149 enablestring=
5150 defaultval=
5151 if test -z "$defaultval"; then
5152 if test x"$enablestring" = xdisable; then
5153 defaultval=yes
5154 else
5155 defaultval=no
5156 fi
5157 fi
5158
5159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5161 # Check whether --enable-profile was given.
5162 if test "${enable_profile+set}" = set; then
5163 enableval=$enable_profile;
5164 if test "$enableval" = yes; then
5165 wx_cv_use_profile='wxUSE_PROFILE=yes'
5166 else
5167 wx_cv_use_profile='wxUSE_PROFILE=no'
5168 fi
5169
5170 else
5171
5172 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5173
5174 fi
5175
5176
5177 eval "$wx_cv_use_profile"
5178
5179 if test x"$enablestring" = xdisable; then
5180 if test $wxUSE_PROFILE = no; then
5181 result=yes
5182 else
5183 result=no
5184 fi
5185 else
5186 result=$wxUSE_PROFILE
5187 fi
5188
5189 { echo "$as_me:$LINENO: result: $result" >&5
5190 echo "${ECHO_T}$result" >&6; }
5191
5192
5193 enablestring=
5194 defaultval=
5195 if test -z "$defaultval"; then
5196 if test x"$enablestring" = xdisable; then
5197 defaultval=yes
5198 else
5199 defaultval=no
5200 fi
5201 fi
5202
5203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5205 # Check whether --enable-no_rtti was given.
5206 if test "${enable_no_rtti+set}" = set; then
5207 enableval=$enable_no_rtti;
5208 if test "$enableval" = yes; then
5209 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5210 else
5211 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5212 fi
5213
5214 else
5215
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5217
5218 fi
5219
5220
5221 eval "$wx_cv_use_no_rtti"
5222
5223 if test x"$enablestring" = xdisable; then
5224 if test $wxUSE_NO_RTTI = no; then
5225 result=yes
5226 else
5227 result=no
5228 fi
5229 else
5230 result=$wxUSE_NO_RTTI
5231 fi
5232
5233 { echo "$as_me:$LINENO: result: $result" >&5
5234 echo "${ECHO_T}$result" >&6; }
5235
5236
5237 enablestring=
5238 defaultval=
5239 if test -z "$defaultval"; then
5240 if test x"$enablestring" = xdisable; then
5241 defaultval=yes
5242 else
5243 defaultval=no
5244 fi
5245 fi
5246
5247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5249 # Check whether --enable-no_exceptions was given.
5250 if test "${enable_no_exceptions+set}" = set; then
5251 enableval=$enable_no_exceptions;
5252 if test "$enableval" = yes; then
5253 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5254 else
5255 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5256 fi
5257
5258 else
5259
5260 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_no_exceptions"
5266
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_NO_EXCEPTIONS = no; then
5269 result=yes
5270 else
5271 result=no
5272 fi
5273 else
5274 result=$wxUSE_NO_EXCEPTIONS
5275 fi
5276
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5279
5280
5281 enablestring=
5282 defaultval=
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5285 defaultval=yes
5286 else
5287 defaultval=no
5288 fi
5289 fi
5290
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5293 # Check whether --enable-permissive was given.
5294 if test "${enable_permissive+set}" = set; then
5295 enableval=$enable_permissive;
5296 if test "$enableval" = yes; then
5297 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5298 else
5299 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5300 fi
5301
5302 else
5303
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5305
5306 fi
5307
5308
5309 eval "$wx_cv_use_permissive"
5310
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_PERMISSIVE = no; then
5313 result=yes
5314 else
5315 result=no
5316 fi
5317 else
5318 result=$wxUSE_PERMISSIVE
5319 fi
5320
5321 { echo "$as_me:$LINENO: result: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5323
5324
5325 enablestring=
5326 defaultval=
5327 if test -z "$defaultval"; then
5328 if test x"$enablestring" = xdisable; then
5329 defaultval=yes
5330 else
5331 defaultval=no
5332 fi
5333 fi
5334
5335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5337 # Check whether --enable-no_deps was given.
5338 if test "${enable_no_deps+set}" = set; then
5339 enableval=$enable_no_deps;
5340 if test "$enableval" = yes; then
5341 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5342 else
5343 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5344 fi
5345
5346 else
5347
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5349
5350 fi
5351
5352
5353 eval "$wx_cv_use_no_deps"
5354
5355 if test x"$enablestring" = xdisable; then
5356 if test $wxUSE_NO_DEPS = no; then
5357 result=yes
5358 else
5359 result=no
5360 fi
5361 else
5362 result=$wxUSE_NO_DEPS
5363 fi
5364
5365 { echo "$as_me:$LINENO: result: $result" >&5
5366 echo "${ECHO_T}$result" >&6; }
5367
5368
5369 enablestring=disable
5370 defaultval=
5371 if test -z "$defaultval"; then
5372 if test x"$enablestring" = xdisable; then
5373 defaultval=yes
5374 else
5375 defaultval=no
5376 fi
5377 fi
5378
5379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5381 # Check whether --enable-vararg_macros was given.
5382 if test "${enable_vararg_macros+set}" = set; then
5383 enableval=$enable_vararg_macros;
5384 if test "$enableval" = yes; then
5385 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5386 else
5387 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5388 fi
5389
5390 else
5391
5392 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5393
5394 fi
5395
5396
5397 eval "$wx_cv_use_vararg_macros"
5398
5399 if test x"$enablestring" = xdisable; then
5400 if test $wxUSE_VARARG_MACROS = no; then
5401 result=yes
5402 else
5403 result=no
5404 fi
5405 else
5406 result=$wxUSE_VARARG_MACROS
5407 fi
5408
5409 { echo "$as_me:$LINENO: result: $result" >&5
5410 echo "${ECHO_T}$result" >&6; }
5411
5412
5413 enablestring=
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5416 # Check whether --enable-universal_binary was given.
5417 if test "${enable_universal_binary+set}" = set; then
5418 enableval=$enable_universal_binary;
5419 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5420
5421 else
5422
5423 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5424
5425 fi
5426
5427
5428 eval "$wx_cv_use_universal_binary"
5429
5430 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5431 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5432
5433
5434
5435 enablestring=
5436 defaultval=
5437 if test -z "$defaultval"; then
5438 if test x"$enablestring" = xdisable; then
5439 defaultval=yes
5440 else
5441 defaultval=no
5442 fi
5443 fi
5444
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5447 # Check whether --enable-compat26 was given.
5448 if test "${enable_compat26+set}" = set; then
5449 enableval=$enable_compat26;
5450 if test "$enableval" = yes; then
5451 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5452 else
5453 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5454 fi
5455
5456 else
5457
5458 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5459
5460 fi
5461
5462
5463 eval "$wx_cv_use_compat26"
5464
5465 if test x"$enablestring" = xdisable; then
5466 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5467 result=yes
5468 else
5469 result=no
5470 fi
5471 else
5472 result=$WXWIN_COMPATIBILITY_2_6
5473 fi
5474
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5477
5478
5479 enablestring=disable
5480 defaultval=
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5483 defaultval=yes
5484 else
5485 defaultval=no
5486 fi
5487 fi
5488
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5491 # Check whether --enable-compat28 was given.
5492 if test "${enable_compat28+set}" = set; then
5493 enableval=$enable_compat28;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5496 else
5497 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5498 fi
5499
5500 else
5501
5502 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5503
5504 fi
5505
5506
5507 eval "$wx_cv_use_compat28"
5508
5509 if test x"$enablestring" = xdisable; then
5510 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5511 result=yes
5512 else
5513 result=no
5514 fi
5515 else
5516 result=$WXWIN_COMPATIBILITY_2_8
5517 fi
5518
5519 { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5521
5522
5523
5524 enablestring=disable
5525 defaultval=
5526 if test -z "$defaultval"; then
5527 if test x"$enablestring" = xdisable; then
5528 defaultval=yes
5529 else
5530 defaultval=no
5531 fi
5532 fi
5533
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5536 # Check whether --enable-rpath was given.
5537 if test "${enable_rpath+set}" = set; then
5538 enableval=$enable_rpath;
5539 if test "$enableval" = yes; then
5540 wx_cv_use_rpath='wxUSE_RPATH=yes'
5541 else
5542 wx_cv_use_rpath='wxUSE_RPATH=no'
5543 fi
5544
5545 else
5546
5547 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5548
5549 fi
5550
5551
5552 eval "$wx_cv_use_rpath"
5553
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_RPATH = no; then
5556 result=yes
5557 else
5558 result=no
5559 fi
5560 else
5561 result=$wxUSE_RPATH
5562 fi
5563
5564 { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5566
5567
5568
5569 enablestring=
5570 defaultval=
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5581 # Check whether --enable-objc_uniquifying was given.
5582 if test "${enable_objc_uniquifying+set}" = set; then
5583 enableval=$enable_objc_uniquifying;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5586 else
5587 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5588 fi
5589
5590 else
5591
5592 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5593
5594 fi
5595
5596
5597 eval "$wx_cv_use_objc_uniquifying"
5598
5599 if test x"$enablestring" = xdisable; then
5600 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5601 result=yes
5602 else
5603 result=no
5604 fi
5605 else
5606 result=$wxUSE_OBJC_UNIQUIFYING
5607 fi
5608
5609 { echo "$as_me:$LINENO: result: $result" >&5
5610 echo "${ECHO_T}$result" >&6; }
5611
5612
5613
5614 enablestring=disable
5615 defaultval=
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5618 defaultval=yes
5619 else
5620 defaultval=no
5621 fi
5622 fi
5623
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5626 # Check whether --enable-visibility was given.
5627 if test "${enable_visibility+set}" = set; then
5628 enableval=$enable_visibility;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5631 else
5632 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5633 fi
5634
5635 else
5636
5637 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5638
5639 fi
5640
5641
5642 eval "$wx_cv_use_visibility"
5643
5644 if test x"$enablestring" = xdisable; then
5645 if test $wxUSE_VISIBILITY = no; then
5646 result=yes
5647 else
5648 result=no
5649 fi
5650 else
5651 result=$wxUSE_VISIBILITY
5652 fi
5653
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5656
5657
5658 enablestring=disable
5659 defaultval=
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5662 defaultval=yes
5663 else
5664 defaultval=no
5665 fi
5666 fi
5667
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5670 # Check whether --enable-tls was given.
5671 if test "${enable_tls+set}" = set; then
5672 enableval=$enable_tls;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5675 else
5676 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5677 fi
5678
5679 else
5680
5681 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5682
5683 fi
5684
5685
5686 eval "$wx_cv_use_tls"
5687
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_COMPILER_TLS = no; then
5690 result=yes
5691 else
5692 result=no
5693 fi
5694 else
5695 result=$wxUSE_COMPILER_TLS
5696 fi
5697
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5700
5701
5702
5703
5704 enablestring=
5705 defaultval=$wxUSE_ALL_FEATURES
5706 if test -z "$defaultval"; then
5707 if test x"$enablestring" = xdisable; then
5708 defaultval=yes
5709 else
5710 defaultval=no
5711 fi
5712 fi
5713
5714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5716 # Check whether --enable-intl was given.
5717 if test "${enable_intl+set}" = set; then
5718 enableval=$enable_intl;
5719 if test "$enableval" = yes; then
5720 wx_cv_use_intl='wxUSE_INTL=yes'
5721 else
5722 wx_cv_use_intl='wxUSE_INTL=no'
5723 fi
5724
5725 else
5726
5727 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5728
5729 fi
5730
5731
5732 eval "$wx_cv_use_intl"
5733
5734 if test x"$enablestring" = xdisable; then
5735 if test $wxUSE_INTL = no; then
5736 result=yes
5737 else
5738 result=no
5739 fi
5740 else
5741 result=$wxUSE_INTL
5742 fi
5743
5744 { echo "$as_me:$LINENO: result: $result" >&5
5745 echo "${ECHO_T}$result" >&6; }
5746
5747
5748 enablestring=
5749 defaultval=$wxUSE_ALL_FEATURES
5750 if test -z "$defaultval"; then
5751 if test x"$enablestring" = xdisable; then
5752 defaultval=yes
5753 else
5754 defaultval=no
5755 fi
5756 fi
5757
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5760 # Check whether --enable-xlocale was given.
5761 if test "${enable_xlocale+set}" = set; then
5762 enableval=$enable_xlocale;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5765 else
5766 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5767 fi
5768
5769 else
5770
5771 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5772
5773 fi
5774
5775
5776 eval "$wx_cv_use_xlocale"
5777
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_XLOCALE = no; then
5780 result=yes
5781 else
5782 result=no
5783 fi
5784 else
5785 result=$wxUSE_XLOCALE
5786 fi
5787
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5790
5791
5792 enablestring=
5793 defaultval=$wxUSE_ALL_FEATURES
5794 if test -z "$defaultval"; then
5795 if test x"$enablestring" = xdisable; then
5796 defaultval=yes
5797 else
5798 defaultval=no
5799 fi
5800 fi
5801
5802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5804 # Check whether --enable-config was given.
5805 if test "${enable_config+set}" = set; then
5806 enableval=$enable_config;
5807 if test "$enableval" = yes; then
5808 wx_cv_use_config='wxUSE_CONFIG=yes'
5809 else
5810 wx_cv_use_config='wxUSE_CONFIG=no'
5811 fi
5812
5813 else
5814
5815 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5816
5817 fi
5818
5819
5820 eval "$wx_cv_use_config"
5821
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_CONFIG = no; then
5824 result=yes
5825 else
5826 result=no
5827 fi
5828 else
5829 result=$wxUSE_CONFIG
5830 fi
5831
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5834
5835
5836
5837 enablestring=
5838 defaultval=$wxUSE_ALL_FEATURES
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5841 defaultval=yes
5842 else
5843 defaultval=no
5844 fi
5845 fi
5846
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5849 # Check whether --enable-protocols was given.
5850 if test "${enable_protocols+set}" = set; then
5851 enableval=$enable_protocols;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5854 else
5855 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5856 fi
5857
5858 else
5859
5860 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5861
5862 fi
5863
5864
5865 eval "$wx_cv_use_protocols"
5866
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_PROTOCOL = no; then
5869 result=yes
5870 else
5871 result=no
5872 fi
5873 else
5874 result=$wxUSE_PROTOCOL
5875 fi
5876
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5879
5880
5881 enablestring=
5882 defaultval=$wxUSE_ALL_FEATURES
5883 if test -z "$defaultval"; then
5884 if test x"$enablestring" = xdisable; then
5885 defaultval=yes
5886 else
5887 defaultval=no
5888 fi
5889 fi
5890
5891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5893 # Check whether --enable-ftp was given.
5894 if test "${enable_ftp+set}" = set; then
5895 enableval=$enable_ftp;
5896 if test "$enableval" = yes; then
5897 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5898 else
5899 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5900 fi
5901
5902 else
5903
5904 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5905
5906 fi
5907
5908
5909 eval "$wx_cv_use_ftp"
5910
5911 if test x"$enablestring" = xdisable; then
5912 if test $wxUSE_PROTOCOL_FTP = no; then
5913 result=yes
5914 else
5915 result=no
5916 fi
5917 else
5918 result=$wxUSE_PROTOCOL_FTP
5919 fi
5920
5921 { echo "$as_me:$LINENO: result: $result" >&5
5922 echo "${ECHO_T}$result" >&6; }
5923
5924
5925 enablestring=
5926 defaultval=$wxUSE_ALL_FEATURES
5927 if test -z "$defaultval"; then
5928 if test x"$enablestring" = xdisable; then
5929 defaultval=yes
5930 else
5931 defaultval=no
5932 fi
5933 fi
5934
5935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5937 # Check whether --enable-http was given.
5938 if test "${enable_http+set}" = set; then
5939 enableval=$enable_http;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5942 else
5943 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5944 fi
5945
5946 else
5947
5948 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5949
5950 fi
5951
5952
5953 eval "$wx_cv_use_http"
5954
5955 if test x"$enablestring" = xdisable; then
5956 if test $wxUSE_PROTOCOL_HTTP = no; then
5957 result=yes
5958 else
5959 result=no
5960 fi
5961 else
5962 result=$wxUSE_PROTOCOL_HTTP
5963 fi
5964
5965 { echo "$as_me:$LINENO: result: $result" >&5
5966 echo "${ECHO_T}$result" >&6; }
5967
5968
5969 enablestring=
5970 defaultval=$wxUSE_ALL_FEATURES
5971 if test -z "$defaultval"; then
5972 if test x"$enablestring" = xdisable; then
5973 defaultval=yes
5974 else
5975 defaultval=no
5976 fi
5977 fi
5978
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5981 # Check whether --enable-fileproto was given.
5982 if test "${enable_fileproto+set}" = set; then
5983 enableval=$enable_fileproto;
5984 if test "$enableval" = yes; then
5985 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5986 else
5987 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5988 fi
5989
5990 else
5991
5992 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5993
5994 fi
5995
5996
5997 eval "$wx_cv_use_fileproto"
5998
5999 if test x"$enablestring" = xdisable; then
6000 if test $wxUSE_PROTOCOL_FILE = no; then
6001 result=yes
6002 else
6003 result=no
6004 fi
6005 else
6006 result=$wxUSE_PROTOCOL_FILE
6007 fi
6008
6009 { echo "$as_me:$LINENO: result: $result" >&5
6010 echo "${ECHO_T}$result" >&6; }
6011
6012
6013 enablestring=
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6017 defaultval=yes
6018 else
6019 defaultval=no
6020 fi
6021 fi
6022
6023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6025 # Check whether --enable-sockets was given.
6026 if test "${enable_sockets+set}" = set; then
6027 enableval=$enable_sockets;
6028 if test "$enableval" = yes; then
6029 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6030 else
6031 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6032 fi
6033
6034 else
6035
6036 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6037
6038 fi
6039
6040
6041 eval "$wx_cv_use_sockets"
6042
6043 if test x"$enablestring" = xdisable; then
6044 if test $wxUSE_SOCKETS = no; then
6045 result=yes
6046 else
6047 result=no
6048 fi
6049 else
6050 result=$wxUSE_SOCKETS
6051 fi
6052
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 echo "${ECHO_T}$result" >&6; }
6055
6056
6057 enablestring=
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6061 defaultval=yes
6062 else
6063 defaultval=no
6064 fi
6065 fi
6066
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6069 # Check whether --enable-ipv6 was given.
6070 if test "${enable_ipv6+set}" = set; then
6071 enableval=$enable_ipv6;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6074 else
6075 wx_cv_use_ipv6='wxUSE_IPV6=no'
6076 fi
6077
6078 else
6079
6080 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6081
6082 fi
6083
6084
6085 eval "$wx_cv_use_ipv6"
6086
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_IPV6 = no; then
6089 result=yes
6090 else
6091 result=no
6092 fi
6093 else
6094 result=$wxUSE_IPV6
6095 fi
6096
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6099
6100
6101 enablestring=
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6105 defaultval=yes
6106 else
6107 defaultval=no
6108 fi
6109 fi
6110
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6113 # Check whether --enable-ole was given.
6114 if test "${enable_ole+set}" = set; then
6115 enableval=$enable_ole;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_ole='wxUSE_OLE=yes'
6118 else
6119 wx_cv_use_ole='wxUSE_OLE=no'
6120 fi
6121
6122 else
6123
6124 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6125
6126 fi
6127
6128
6129 eval "$wx_cv_use_ole"
6130
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_OLE = no; then
6133 result=yes
6134 else
6135 result=no
6136 fi
6137 else
6138 result=$wxUSE_OLE
6139 fi
6140
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6143
6144
6145 enablestring=
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6149 defaultval=yes
6150 else
6151 defaultval=no
6152 fi
6153 fi
6154
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6157 # Check whether --enable-dataobj was given.
6158 if test "${enable_dataobj+set}" = set; then
6159 enableval=$enable_dataobj;
6160 if test "$enableval" = yes; then
6161 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6162 else
6163 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6164 fi
6165
6166 else
6167
6168 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6169
6170 fi
6171
6172
6173 eval "$wx_cv_use_dataobj"
6174
6175 if test x"$enablestring" = xdisable; then
6176 if test $wxUSE_DATAOBJ = no; then
6177 result=yes
6178 else
6179 result=no
6180 fi
6181 else
6182 result=$wxUSE_DATAOBJ
6183 fi
6184
6185 { echo "$as_me:$LINENO: result: $result" >&5
6186 echo "${ECHO_T}$result" >&6; }
6187
6188
6189
6190 enablestring=
6191 defaultval=$wxUSE_ALL_FEATURES
6192 if test -z "$defaultval"; then
6193 if test x"$enablestring" = xdisable; then
6194 defaultval=yes
6195 else
6196 defaultval=no
6197 fi
6198 fi
6199
6200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6202 # Check whether --enable-ipc was given.
6203 if test "${enable_ipc+set}" = set; then
6204 enableval=$enable_ipc;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_ipc='wxUSE_IPC=yes'
6207 else
6208 wx_cv_use_ipc='wxUSE_IPC=no'
6209 fi
6210
6211 else
6212
6213 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6214
6215 fi
6216
6217
6218 eval "$wx_cv_use_ipc"
6219
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_IPC = no; then
6222 result=yes
6223 else
6224 result=no
6225 fi
6226 else
6227 result=$wxUSE_IPC
6228 fi
6229
6230 { echo "$as_me:$LINENO: result: $result" >&5
6231 echo "${ECHO_T}$result" >&6; }
6232
6233
6234
6235 enablestring=
6236 defaultval=$wxUSE_ALL_FEATURES
6237 if test -z "$defaultval"; then
6238 if test x"$enablestring" = xdisable; then
6239 defaultval=yes
6240 else
6241 defaultval=no
6242 fi
6243 fi
6244
6245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6246 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6247 # Check whether --enable-baseevtloop was given.
6248 if test "${enable_baseevtloop+set}" = set; then
6249 enableval=$enable_baseevtloop;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6252 else
6253 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6254 fi
6255
6256 else
6257
6258 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6259
6260 fi
6261
6262
6263 eval "$wx_cv_use_baseevtloop"
6264
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6267 result=yes
6268 else
6269 result=no
6270 fi
6271 else
6272 result=$wxUSE_CONSOLE_EVENTLOOP
6273 fi
6274
6275 { echo "$as_me:$LINENO: result: $result" >&5
6276 echo "${ECHO_T}$result" >&6; }
6277
6278
6279 enablestring=
6280 defaultval=$wxUSE_ALL_FEATURES
6281 if test -z "$defaultval"; then
6282 if test x"$enablestring" = xdisable; then
6283 defaultval=yes
6284 else
6285 defaultval=no
6286 fi
6287 fi
6288
6289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6291 # Check whether --enable-epollloop was given.
6292 if test "${enable_epollloop+set}" = set; then
6293 enableval=$enable_epollloop;
6294 if test "$enableval" = yes; then
6295 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6296 else
6297 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6298 fi
6299
6300 else
6301
6302 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6303
6304 fi
6305
6306
6307 eval "$wx_cv_use_epollloop"
6308
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_EPOLL_DISPATCHER = no; then
6311 result=yes
6312 else
6313 result=no
6314 fi
6315 else
6316 result=$wxUSE_EPOLL_DISPATCHER
6317 fi
6318
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6321
6322
6323 enablestring=
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6327 defaultval=yes
6328 else
6329 defaultval=no
6330 fi
6331 fi
6332
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6335 # Check whether --enable-selectloop was given.
6336 if test "${enable_selectloop+set}" = set; then
6337 enableval=$enable_selectloop;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6340 else
6341 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6342 fi
6343
6344 else
6345
6346 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6347
6348 fi
6349
6350
6351 eval "$wx_cv_use_selectloop"
6352
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_SELECT_DISPATCHER = no; then
6355 result=yes
6356 else
6357 result=no
6358 fi
6359 else
6360 result=$wxUSE_SELECT_DISPATCHER
6361 fi
6362
6363 { echo "$as_me:$LINENO: result: $result" >&5
6364 echo "${ECHO_T}$result" >&6; }
6365
6366
6367
6368 enablestring=
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6372 defaultval=yes
6373 else
6374 defaultval=no
6375 fi
6376 fi
6377
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6380 # Check whether --enable-any was given.
6381 if test "${enable_any+set}" = set; then
6382 enableval=$enable_any;
6383 if test "$enableval" = yes; then
6384 wx_cv_use_any='wxUSE_ANY=yes'
6385 else
6386 wx_cv_use_any='wxUSE_ANY=no'
6387 fi
6388
6389 else
6390
6391 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6392
6393 fi
6394
6395
6396 eval "$wx_cv_use_any"
6397
6398 if test x"$enablestring" = xdisable; then
6399 if test $wxUSE_ANY = no; then
6400 result=yes
6401 else
6402 result=no
6403 fi
6404 else
6405 result=$wxUSE_ANY
6406 fi
6407
6408 { echo "$as_me:$LINENO: result: $result" >&5
6409 echo "${ECHO_T}$result" >&6; }
6410
6411
6412 enablestring=
6413 defaultval=$wxUSE_ALL_FEATURES
6414 if test -z "$defaultval"; then
6415 if test x"$enablestring" = xdisable; then
6416 defaultval=yes
6417 else
6418 defaultval=no
6419 fi
6420 fi
6421
6422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6424 # Check whether --enable-apple_ieee was given.
6425 if test "${enable_apple_ieee+set}" = set; then
6426 enableval=$enable_apple_ieee;
6427 if test "$enableval" = yes; then
6428 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6429 else
6430 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6431 fi
6432
6433 else
6434
6435 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6436
6437 fi
6438
6439
6440 eval "$wx_cv_use_apple_ieee"
6441
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_APPLE_IEEE = no; then
6444 result=yes
6445 else
6446 result=no
6447 fi
6448 else
6449 result=$wxUSE_APPLE_IEEE
6450 fi
6451
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6454
6455
6456 enablestring=
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6460 defaultval=yes
6461 else
6462 defaultval=no
6463 fi
6464 fi
6465
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6468 # Check whether --enable-arcstream was given.
6469 if test "${enable_arcstream+set}" = set; then
6470 enableval=$enable_arcstream;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6473 else
6474 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6475 fi
6476
6477 else
6478
6479 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6480
6481 fi
6482
6483
6484 eval "$wx_cv_use_arcstream"
6485
6486 if test x"$enablestring" = xdisable; then
6487 if test $wxUSE_ARCHIVE_STREAMS = no; then
6488 result=yes
6489 else
6490 result=no
6491 fi
6492 else
6493 result=$wxUSE_ARCHIVE_STREAMS
6494 fi
6495
6496 { echo "$as_me:$LINENO: result: $result" >&5
6497 echo "${ECHO_T}$result" >&6; }
6498
6499
6500 enablestring=
6501 defaultval=$wxUSE_ALL_FEATURES
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6504 defaultval=yes
6505 else
6506 defaultval=no
6507 fi
6508 fi
6509
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6512 # Check whether --enable-base64 was given.
6513 if test "${enable_base64+set}" = set; then
6514 enableval=$enable_base64;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_base64='wxUSE_BASE64=yes'
6517 else
6518 wx_cv_use_base64='wxUSE_BASE64=no'
6519 fi
6520
6521 else
6522
6523 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6524
6525 fi
6526
6527
6528 eval "$wx_cv_use_base64"
6529
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_BASE64 = no; then
6532 result=yes
6533 else
6534 result=no
6535 fi
6536 else
6537 result=$wxUSE_BASE64
6538 fi
6539
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6542
6543
6544 enablestring=
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6548 defaultval=yes
6549 else
6550 defaultval=no
6551 fi
6552 fi
6553
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6556 # Check whether --enable-backtrace was given.
6557 if test "${enable_backtrace+set}" = set; then
6558 enableval=$enable_backtrace;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6561 else
6562 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6563 fi
6564
6565 else
6566
6567 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6568
6569 fi
6570
6571
6572 eval "$wx_cv_use_backtrace"
6573
6574 if test x"$enablestring" = xdisable; then
6575 if test $wxUSE_STACKWALKER = no; then
6576 result=yes
6577 else
6578 result=no
6579 fi
6580 else
6581 result=$wxUSE_STACKWALKER
6582 fi
6583
6584 { echo "$as_me:$LINENO: result: $result" >&5
6585 echo "${ECHO_T}$result" >&6; }
6586
6587
6588 enablestring=
6589 defaultval=$wxUSE_ALL_FEATURES
6590 if test -z "$defaultval"; then
6591 if test x"$enablestring" = xdisable; then
6592 defaultval=yes
6593 else
6594 defaultval=no
6595 fi
6596 fi
6597
6598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6599 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6600 # Check whether --enable-catch_segvs was given.
6601 if test "${enable_catch_segvs+set}" = set; then
6602 enableval=$enable_catch_segvs;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6605 else
6606 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6607 fi
6608
6609 else
6610
6611 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6612
6613 fi
6614
6615
6616 eval "$wx_cv_use_catch_segvs"
6617
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6620 result=yes
6621 else
6622 result=no
6623 fi
6624 else
6625 result=$wxUSE_ON_FATAL_EXCEPTION
6626 fi
6627
6628 { echo "$as_me:$LINENO: result: $result" >&5
6629 echo "${ECHO_T}$result" >&6; }
6630
6631
6632 enablestring=
6633 defaultval=$wxUSE_ALL_FEATURES
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6636 defaultval=yes
6637 else
6638 defaultval=no
6639 fi
6640 fi
6641
6642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6643 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6644 # Check whether --enable-cmdline was given.
6645 if test "${enable_cmdline+set}" = set; then
6646 enableval=$enable_cmdline;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6649 else
6650 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6651 fi
6652
6653 else
6654
6655 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6656
6657 fi
6658
6659
6660 eval "$wx_cv_use_cmdline"
6661
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_CMDLINE_PARSER = no; then
6664 result=yes
6665 else
6666 result=no
6667 fi
6668 else
6669 result=$wxUSE_CMDLINE_PARSER
6670 fi
6671
6672 { echo "$as_me:$LINENO: result: $result" >&5
6673 echo "${ECHO_T}$result" >&6; }
6674
6675
6676 enablestring=
6677 defaultval=$wxUSE_ALL_FEATURES
6678 if test -z "$defaultval"; then
6679 if test x"$enablestring" = xdisable; then
6680 defaultval=yes
6681 else
6682 defaultval=no
6683 fi
6684 fi
6685
6686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6687 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6688 # Check whether --enable-datetime was given.
6689 if test "${enable_datetime+set}" = set; then
6690 enableval=$enable_datetime;
6691 if test "$enableval" = yes; then
6692 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6693 else
6694 wx_cv_use_datetime='wxUSE_DATETIME=no'
6695 fi
6696
6697 else
6698
6699 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6700
6701 fi
6702
6703
6704 eval "$wx_cv_use_datetime"
6705
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_DATETIME = no; then
6708 result=yes
6709 else
6710 result=no
6711 fi
6712 else
6713 result=$wxUSE_DATETIME
6714 fi
6715
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6718
6719
6720 enablestring=
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6724 defaultval=yes
6725 else
6726 defaultval=no
6727 fi
6728 fi
6729
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6732 # Check whether --enable-debugreport was given.
6733 if test "${enable_debugreport+set}" = set; then
6734 enableval=$enable_debugreport;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6737 else
6738 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6739 fi
6740
6741 else
6742
6743 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6744
6745 fi
6746
6747
6748 eval "$wx_cv_use_debugreport"
6749
6750 if test x"$enablestring" = xdisable; then
6751 if test $wxUSE_DEBUGREPORT = no; then
6752 result=yes
6753 else
6754 result=no
6755 fi
6756 else
6757 result=$wxUSE_DEBUGREPORT
6758 fi
6759
6760 { echo "$as_me:$LINENO: result: $result" >&5
6761 echo "${ECHO_T}$result" >&6; }
6762
6763
6764 enablestring=
6765 defaultval=$wxUSE_ALL_FEATURES
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6768 defaultval=yes
6769 else
6770 defaultval=no
6771 fi
6772 fi
6773
6774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6776 # Check whether --enable-dialupman was given.
6777 if test "${enable_dialupman+set}" = set; then
6778 enableval=$enable_dialupman;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6781 else
6782 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6783 fi
6784
6785 else
6786
6787 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6788
6789 fi
6790
6791
6792 eval "$wx_cv_use_dialupman"
6793
6794 if test x"$enablestring" = xdisable; then
6795 if test $wxUSE_DIALUP_MANAGER = no; then
6796 result=yes
6797 else
6798 result=no
6799 fi
6800 else
6801 result=$wxUSE_DIALUP_MANAGER
6802 fi
6803
6804 { echo "$as_me:$LINENO: result: $result" >&5
6805 echo "${ECHO_T}$result" >&6; }
6806
6807
6808 enablestring=
6809 defaultval=$wxUSE_ALL_FEATURES
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6812 defaultval=yes
6813 else
6814 defaultval=no
6815 fi
6816 fi
6817
6818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6820 # Check whether --enable-dynlib was given.
6821 if test "${enable_dynlib+set}" = set; then
6822 enableval=$enable_dynlib;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6825 else
6826 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6827 fi
6828
6829 else
6830
6831 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6832
6833 fi
6834
6835
6836 eval "$wx_cv_use_dynlib"
6837
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_DYNLIB_CLASS = no; then
6840 result=yes
6841 else
6842 result=no
6843 fi
6844 else
6845 result=$wxUSE_DYNLIB_CLASS
6846 fi
6847
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6850
6851
6852 enablestring=
6853 defaultval=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6856 defaultval=yes
6857 else
6858 defaultval=no
6859 fi
6860 fi
6861
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6864 # Check whether --enable-dynamicloader was given.
6865 if test "${enable_dynamicloader+set}" = set; then
6866 enableval=$enable_dynamicloader;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6869 else
6870 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6871 fi
6872
6873 else
6874
6875 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6876
6877 fi
6878
6879
6880 eval "$wx_cv_use_dynamicloader"
6881
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_DYNAMIC_LOADER = no; then
6884 result=yes
6885 else
6886 result=no
6887 fi
6888 else
6889 result=$wxUSE_DYNAMIC_LOADER
6890 fi
6891
6892 { echo "$as_me:$LINENO: result: $result" >&5
6893 echo "${ECHO_T}$result" >&6; }
6894
6895
6896 enablestring=
6897 defaultval=$wxUSE_ALL_FEATURES
6898 if test -z "$defaultval"; then
6899 if test x"$enablestring" = xdisable; then
6900 defaultval=yes
6901 else
6902 defaultval=no
6903 fi
6904 fi
6905
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6908 # Check whether --enable-exceptions was given.
6909 if test "${enable_exceptions+set}" = set; then
6910 enableval=$enable_exceptions;
6911 if test "$enableval" = yes; then
6912 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6913 else
6914 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6915 fi
6916
6917 else
6918
6919 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6920
6921 fi
6922
6923
6924 eval "$wx_cv_use_exceptions"
6925
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_EXCEPTIONS = no; then
6928 result=yes
6929 else
6930 result=no
6931 fi
6932 else
6933 result=$wxUSE_EXCEPTIONS
6934 fi
6935
6936 { echo "$as_me:$LINENO: result: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6938
6939
6940 enablestring=
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6944 defaultval=yes
6945 else
6946 defaultval=no
6947 fi
6948 fi
6949
6950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6952 # Check whether --enable-ffile was given.
6953 if test "${enable_ffile+set}" = set; then
6954 enableval=$enable_ffile;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_ffile='wxUSE_FFILE=yes'
6957 else
6958 wx_cv_use_ffile='wxUSE_FFILE=no'
6959 fi
6960
6961 else
6962
6963 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6964
6965 fi
6966
6967
6968 eval "$wx_cv_use_ffile"
6969
6970 if test x"$enablestring" = xdisable; then
6971 if test $wxUSE_FFILE = no; then
6972 result=yes
6973 else
6974 result=no
6975 fi
6976 else
6977 result=$wxUSE_FFILE
6978 fi
6979
6980 { echo "$as_me:$LINENO: result: $result" >&5
6981 echo "${ECHO_T}$result" >&6; }
6982
6983
6984 enablestring=
6985 defaultval=$wxUSE_ALL_FEATURES
6986 if test -z "$defaultval"; then
6987 if test x"$enablestring" = xdisable; then
6988 defaultval=yes
6989 else
6990 defaultval=no
6991 fi
6992 fi
6993
6994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6996 # Check whether --enable-file was given.
6997 if test "${enable_file+set}" = set; then
6998 enableval=$enable_file;
6999 if test "$enableval" = yes; then
7000 wx_cv_use_file='wxUSE_FILE=yes'
7001 else
7002 wx_cv_use_file='wxUSE_FILE=no'
7003 fi
7004
7005 else
7006
7007 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7008
7009 fi
7010
7011
7012 eval "$wx_cv_use_file"
7013
7014 if test x"$enablestring" = xdisable; then
7015 if test $wxUSE_FILE = no; then
7016 result=yes
7017 else
7018 result=no
7019 fi
7020 else
7021 result=$wxUSE_FILE
7022 fi
7023
7024 { echo "$as_me:$LINENO: result: $result" >&5
7025 echo "${ECHO_T}$result" >&6; }
7026
7027
7028 enablestring=
7029 defaultval=$wxUSE_ALL_FEATURES
7030 if test -z "$defaultval"; then
7031 if test x"$enablestring" = xdisable; then
7032 defaultval=yes
7033 else
7034 defaultval=no
7035 fi
7036 fi
7037
7038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7039 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7040 # Check whether --enable-filehistory was given.
7041 if test "${enable_filehistory+set}" = set; then
7042 enableval=$enable_filehistory;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7045 else
7046 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7047 fi
7048
7049 else
7050
7051 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7052
7053 fi
7054
7055
7056 eval "$wx_cv_use_filehistory"
7057
7058 if test x"$enablestring" = xdisable; then
7059 if test $wxUSE_FILE_HISTORY = no; then
7060 result=yes
7061 else
7062 result=no
7063 fi
7064 else
7065 result=$wxUSE_FILE_HISTORY
7066 fi
7067
7068 { echo "$as_me:$LINENO: result: $result" >&5
7069 echo "${ECHO_T}$result" >&6; }
7070
7071
7072 enablestring=
7073 defaultval=$wxUSE_ALL_FEATURES
7074 if test -z "$defaultval"; then
7075 if test x"$enablestring" = xdisable; then
7076 defaultval=yes
7077 else
7078 defaultval=no
7079 fi
7080 fi
7081
7082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7084 # Check whether --enable-filesystem was given.
7085 if test "${enable_filesystem+set}" = set; then
7086 enableval=$enable_filesystem;
7087 if test "$enableval" = yes; then
7088 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7089 else
7090 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7091 fi
7092
7093 else
7094
7095 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7096
7097 fi
7098
7099
7100 eval "$wx_cv_use_filesystem"
7101
7102 if test x"$enablestring" = xdisable; then
7103 if test $wxUSE_FILESYSTEM = no; then
7104 result=yes
7105 else
7106 result=no
7107 fi
7108 else
7109 result=$wxUSE_FILESYSTEM
7110 fi
7111
7112 { echo "$as_me:$LINENO: result: $result" >&5
7113 echo "${ECHO_T}$result" >&6; }
7114
7115
7116 enablestring=
7117 defaultval=$wxUSE_ALL_FEATURES
7118 if test -z "$defaultval"; then
7119 if test x"$enablestring" = xdisable; then
7120 defaultval=yes
7121 else
7122 defaultval=no
7123 fi
7124 fi
7125
7126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7128 # Check whether --enable-fontenum was given.
7129 if test "${enable_fontenum+set}" = set; then
7130 enableval=$enable_fontenum;
7131 if test "$enableval" = yes; then
7132 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7133 else
7134 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7135 fi
7136
7137 else
7138
7139 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7140
7141 fi
7142
7143
7144 eval "$wx_cv_use_fontenum"
7145
7146 if test x"$enablestring" = xdisable; then
7147 if test $wxUSE_FONTENUM = no; then
7148 result=yes
7149 else
7150 result=no
7151 fi
7152 else
7153 result=$wxUSE_FONTENUM
7154 fi
7155
7156 { echo "$as_me:$LINENO: result: $result" >&5
7157 echo "${ECHO_T}$result" >&6; }
7158
7159
7160 enablestring=
7161 defaultval=$wxUSE_ALL_FEATURES
7162 if test -z "$defaultval"; then
7163 if test x"$enablestring" = xdisable; then
7164 defaultval=yes
7165 else
7166 defaultval=no
7167 fi
7168 fi
7169
7170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7172 # Check whether --enable-fontmap was given.
7173 if test "${enable_fontmap+set}" = set; then
7174 enableval=$enable_fontmap;
7175 if test "$enableval" = yes; then
7176 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7177 else
7178 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7179 fi
7180
7181 else
7182
7183 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7184
7185 fi
7186
7187
7188 eval "$wx_cv_use_fontmap"
7189
7190 if test x"$enablestring" = xdisable; then
7191 if test $wxUSE_FONTMAP = no; then
7192 result=yes
7193 else
7194 result=no
7195 fi
7196 else
7197 result=$wxUSE_FONTMAP
7198 fi
7199
7200 { echo "$as_me:$LINENO: result: $result" >&5
7201 echo "${ECHO_T}$result" >&6; }
7202
7203
7204 enablestring=
7205 defaultval=$wxUSE_ALL_FEATURES
7206 if test -z "$defaultval"; then
7207 if test x"$enablestring" = xdisable; then
7208 defaultval=yes
7209 else
7210 defaultval=no
7211 fi
7212 fi
7213
7214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7216 # Check whether --enable-fs_archive was given.
7217 if test "${enable_fs_archive+set}" = set; then
7218 enableval=$enable_fs_archive;
7219 if test "$enableval" = yes; then
7220 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7221 else
7222 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7223 fi
7224
7225 else
7226
7227 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7228
7229 fi
7230
7231
7232 eval "$wx_cv_use_fs_archive"
7233
7234 if test x"$enablestring" = xdisable; then
7235 if test $wxUSE_FS_ARCHIVE = no; then
7236 result=yes
7237 else
7238 result=no
7239 fi
7240 else
7241 result=$wxUSE_FS_ARCHIVE
7242 fi
7243
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7246
7247
7248 enablestring=
7249 defaultval=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x"$enablestring" = xdisable; then
7252 defaultval=yes
7253 else
7254 defaultval=no
7255 fi
7256 fi
7257
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7260 # Check whether --enable-fs_inet was given.
7261 if test "${enable_fs_inet+set}" = set; then
7262 enableval=$enable_fs_inet;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7265 else
7266 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7267 fi
7268
7269 else
7270
7271 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7272
7273 fi
7274
7275
7276 eval "$wx_cv_use_fs_inet"
7277
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_FS_INET = no; then
7280 result=yes
7281 else
7282 result=no
7283 fi
7284 else
7285 result=$wxUSE_FS_INET
7286 fi
7287
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7290
7291
7292 enablestring=
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7296 defaultval=yes
7297 else
7298 defaultval=no
7299 fi
7300 fi
7301
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7304 # Check whether --enable-fs_zip was given.
7305 if test "${enable_fs_zip+set}" = set; then
7306 enableval=$enable_fs_zip;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7309 else
7310 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7311 fi
7312
7313 else
7314
7315 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7316
7317 fi
7318
7319
7320 eval "$wx_cv_use_fs_zip"
7321
7322 if test x"$enablestring" = xdisable; then
7323 if test $wxUSE_FS_ZIP = no; then
7324 result=yes
7325 else
7326 result=no
7327 fi
7328 else
7329 result=$wxUSE_FS_ZIP
7330 fi
7331
7332 { echo "$as_me:$LINENO: result: $result" >&5
7333 echo "${ECHO_T}$result" >&6; }
7334
7335
7336 enablestring=
7337 defaultval=$wxUSE_ALL_FEATURES
7338 if test -z "$defaultval"; then
7339 if test x"$enablestring" = xdisable; then
7340 defaultval=yes
7341 else
7342 defaultval=no
7343 fi
7344 fi
7345
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7348 # Check whether --enable-fswatcher was given.
7349 if test "${enable_fswatcher+set}" = set; then
7350 enableval=$enable_fswatcher;
7351 if test "$enableval" = yes; then
7352 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7353 else
7354 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7355 fi
7356
7357 else
7358
7359 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7360
7361 fi
7362
7363
7364 eval "$wx_cv_use_fswatcher"
7365
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_FSWATCHER = no; then
7368 result=yes
7369 else
7370 result=no
7371 fi
7372 else
7373 result=$wxUSE_FSWATCHER
7374 fi
7375
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7378
7379
7380 enablestring=
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7384 defaultval=yes
7385 else
7386 defaultval=no
7387 fi
7388 fi
7389
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7392 # Check whether --enable-geometry was given.
7393 if test "${enable_geometry+set}" = set; then
7394 enableval=$enable_geometry;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7397 else
7398 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7399 fi
7400
7401 else
7402
7403 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7404
7405 fi
7406
7407
7408 eval "$wx_cv_use_geometry"
7409
7410 if test x"$enablestring" = xdisable; then
7411 if test $wxUSE_GEOMETRY = no; then
7412 result=yes
7413 else
7414 result=no
7415 fi
7416 else
7417 result=$wxUSE_GEOMETRY
7418 fi
7419
7420 { echo "$as_me:$LINENO: result: $result" >&5
7421 echo "${ECHO_T}$result" >&6; }
7422
7423
7424 enablestring=
7425 defaultval=$wxUSE_ALL_FEATURES
7426 if test -z "$defaultval"; then
7427 if test x"$enablestring" = xdisable; then
7428 defaultval=yes
7429 else
7430 defaultval=no
7431 fi
7432 fi
7433
7434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7436 # Check whether --enable-log was given.
7437 if test "${enable_log+set}" = set; then
7438 enableval=$enable_log;
7439 if test "$enableval" = yes; then
7440 wx_cv_use_log='wxUSE_LOG=yes'
7441 else
7442 wx_cv_use_log='wxUSE_LOG=no'
7443 fi
7444
7445 else
7446
7447 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7448
7449 fi
7450
7451
7452 eval "$wx_cv_use_log"
7453
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_LOG = no; then
7456 result=yes
7457 else
7458 result=no
7459 fi
7460 else
7461 result=$wxUSE_LOG
7462 fi
7463
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7466
7467
7468 enablestring=
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7472 defaultval=yes
7473 else
7474 defaultval=no
7475 fi
7476 fi
7477
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7480 # Check whether --enable-longlong was given.
7481 if test "${enable_longlong+set}" = set; then
7482 enableval=$enable_longlong;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7485 else
7486 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7487 fi
7488
7489 else
7490
7491 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7492
7493 fi
7494
7495
7496 eval "$wx_cv_use_longlong"
7497
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_LONGLONG = no; then
7500 result=yes
7501 else
7502 result=no
7503 fi
7504 else
7505 result=$wxUSE_LONGLONG
7506 fi
7507
7508 { echo "$as_me:$LINENO: result: $result" >&5
7509 echo "${ECHO_T}$result" >&6; }
7510
7511
7512 enablestring=
7513 defaultval=$wxUSE_ALL_FEATURES
7514 if test -z "$defaultval"; then
7515 if test x"$enablestring" = xdisable; then
7516 defaultval=yes
7517 else
7518 defaultval=no
7519 fi
7520 fi
7521
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7524 # Check whether --enable-mimetype was given.
7525 if test "${enable_mimetype+set}" = set; then
7526 enableval=$enable_mimetype;
7527 if test "$enableval" = yes; then
7528 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7529 else
7530 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7531 fi
7532
7533 else
7534
7535 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7536
7537 fi
7538
7539
7540 eval "$wx_cv_use_mimetype"
7541
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_MIMETYPE = no; then
7544 result=yes
7545 else
7546 result=no
7547 fi
7548 else
7549 result=$wxUSE_MIMETYPE
7550 fi
7551
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7554
7555
7556 enablestring=
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7560 defaultval=yes
7561 else
7562 defaultval=no
7563 fi
7564 fi
7565
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7568 # Check whether --enable-printfposparam was given.
7569 if test "${enable_printfposparam+set}" = set; then
7570 enableval=$enable_printfposparam;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7573 else
7574 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7575 fi
7576
7577 else
7578
7579 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7580
7581 fi
7582
7583
7584 eval "$wx_cv_use_printfposparam"
7585
7586 if test x"$enablestring" = xdisable; then
7587 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7588 result=yes
7589 else
7590 result=no
7591 fi
7592 else
7593 result=$wxUSE_PRINTF_POS_PARAMS
7594 fi
7595
7596 { echo "$as_me:$LINENO: result: $result" >&5
7597 echo "${ECHO_T}$result" >&6; }
7598
7599
7600 enablestring=
7601 defaultval=$wxUSE_ALL_FEATURES
7602 if test -z "$defaultval"; then
7603 if test x"$enablestring" = xdisable; then
7604 defaultval=yes
7605 else
7606 defaultval=no
7607 fi
7608 fi
7609
7610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7611 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7612 # Check whether --enable-snglinst was given.
7613 if test "${enable_snglinst+set}" = set; then
7614 enableval=$enable_snglinst;
7615 if test "$enableval" = yes; then
7616 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7617 else
7618 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7619 fi
7620
7621 else
7622
7623 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7624
7625 fi
7626
7627
7628 eval "$wx_cv_use_snglinst"
7629
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_SNGLINST_CHECKER = no; then
7632 result=yes
7633 else
7634 result=no
7635 fi
7636 else
7637 result=$wxUSE_SNGLINST_CHECKER
7638 fi
7639
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7642
7643
7644 enablestring=
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7648 defaultval=yes
7649 else
7650 defaultval=no
7651 fi
7652 fi
7653
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7656 # Check whether --enable-sound was given.
7657 if test "${enable_sound+set}" = set; then
7658 enableval=$enable_sound;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_sound='wxUSE_SOUND=yes'
7661 else
7662 wx_cv_use_sound='wxUSE_SOUND=no'
7663 fi
7664
7665 else
7666
7667 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7668
7669 fi
7670
7671
7672 eval "$wx_cv_use_sound"
7673
7674 if test x"$enablestring" = xdisable; then
7675 if test $wxUSE_SOUND = no; then
7676 result=yes
7677 else
7678 result=no
7679 fi
7680 else
7681 result=$wxUSE_SOUND
7682 fi
7683
7684 { echo "$as_me:$LINENO: result: $result" >&5
7685 echo "${ECHO_T}$result" >&6; }
7686
7687
7688 enablestring=
7689 defaultval=$wxUSE_ALL_FEATURES
7690 if test -z "$defaultval"; then
7691 if test x"$enablestring" = xdisable; then
7692 defaultval=yes
7693 else
7694 defaultval=no
7695 fi
7696 fi
7697
7698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7700 # Check whether --enable-stdpaths was given.
7701 if test "${enable_stdpaths+set}" = set; then
7702 enableval=$enable_stdpaths;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7705 else
7706 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7707 fi
7708
7709 else
7710
7711 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7712
7713 fi
7714
7715
7716 eval "$wx_cv_use_stdpaths"
7717
7718 if test x"$enablestring" = xdisable; then
7719 if test $wxUSE_STDPATHS = no; then
7720 result=yes
7721 else
7722 result=no
7723 fi
7724 else
7725 result=$wxUSE_STDPATHS
7726 fi
7727
7728 { echo "$as_me:$LINENO: result: $result" >&5
7729 echo "${ECHO_T}$result" >&6; }
7730
7731
7732 enablestring=
7733 defaultval=$wxUSE_ALL_FEATURES
7734 if test -z "$defaultval"; then
7735 if test x"$enablestring" = xdisable; then
7736 defaultval=yes
7737 else
7738 defaultval=no
7739 fi
7740 fi
7741
7742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7744 # Check whether --enable-stopwatch was given.
7745 if test "${enable_stopwatch+set}" = set; then
7746 enableval=$enable_stopwatch;
7747 if test "$enableval" = yes; then
7748 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7749 else
7750 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7751 fi
7752
7753 else
7754
7755 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7756
7757 fi
7758
7759
7760 eval "$wx_cv_use_stopwatch"
7761
7762 if test x"$enablestring" = xdisable; then
7763 if test $wxUSE_STOPWATCH = no; then
7764 result=yes
7765 else
7766 result=no
7767 fi
7768 else
7769 result=$wxUSE_STOPWATCH
7770 fi
7771
7772 { echo "$as_me:$LINENO: result: $result" >&5
7773 echo "${ECHO_T}$result" >&6; }
7774
7775
7776 enablestring=
7777 defaultval=$wxUSE_ALL_FEATURES
7778 if test -z "$defaultval"; then
7779 if test x"$enablestring" = xdisable; then
7780 defaultval=yes
7781 else
7782 defaultval=no
7783 fi
7784 fi
7785
7786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7788 # Check whether --enable-streams was given.
7789 if test "${enable_streams+set}" = set; then
7790 enableval=$enable_streams;
7791 if test "$enableval" = yes; then
7792 wx_cv_use_streams='wxUSE_STREAMS=yes'
7793 else
7794 wx_cv_use_streams='wxUSE_STREAMS=no'
7795 fi
7796
7797 else
7798
7799 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7800
7801 fi
7802
7803
7804 eval "$wx_cv_use_streams"
7805
7806 if test x"$enablestring" = xdisable; then
7807 if test $wxUSE_STREAMS = no; then
7808 result=yes
7809 else
7810 result=no
7811 fi
7812 else
7813 result=$wxUSE_STREAMS
7814 fi
7815
7816 { echo "$as_me:$LINENO: result: $result" >&5
7817 echo "${ECHO_T}$result" >&6; }
7818
7819
7820 enablestring=
7821 defaultval=$wxUSE_ALL_FEATURES
7822 if test -z "$defaultval"; then
7823 if test x"$enablestring" = xdisable; then
7824 defaultval=yes
7825 else
7826 defaultval=no
7827 fi
7828 fi
7829
7830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7832 # Check whether --enable-sysoptions was given.
7833 if test "${enable_sysoptions+set}" = set; then
7834 enableval=$enable_sysoptions;
7835 if test "$enableval" = yes; then
7836 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7837 else
7838 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7839 fi
7840
7841 else
7842
7843 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7844
7845 fi
7846
7847
7848 eval "$wx_cv_use_sysoptions"
7849
7850 if test x"$enablestring" = xdisable; then
7851 if test $wxUSE_SYSTEM_OPTIONS = no; then
7852 result=yes
7853 else
7854 result=no
7855 fi
7856 else
7857 result=$wxUSE_SYSTEM_OPTIONS
7858 fi
7859
7860 { echo "$as_me:$LINENO: result: $result" >&5
7861 echo "${ECHO_T}$result" >&6; }
7862
7863
7864 enablestring=
7865 defaultval=$wxUSE_ALL_FEATURES
7866 if test -z "$defaultval"; then
7867 if test x"$enablestring" = xdisable; then
7868 defaultval=yes
7869 else
7870 defaultval=no
7871 fi
7872 fi
7873
7874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7876 # Check whether --enable-tarstream was given.
7877 if test "${enable_tarstream+set}" = set; then
7878 enableval=$enable_tarstream;
7879 if test "$enableval" = yes; then
7880 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7881 else
7882 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7883 fi
7884
7885 else
7886
7887 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7888
7889 fi
7890
7891
7892 eval "$wx_cv_use_tarstream"
7893
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_TARSTREAM = no; then
7896 result=yes
7897 else
7898 result=no
7899 fi
7900 else
7901 result=$wxUSE_TARSTREAM
7902 fi
7903
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7906
7907
7908 enablestring=
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7912 defaultval=yes
7913 else
7914 defaultval=no
7915 fi
7916 fi
7917
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7920 # Check whether --enable-textbuf was given.
7921 if test "${enable_textbuf+set}" = set; then
7922 enableval=$enable_textbuf;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7925 else
7926 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7927 fi
7928
7929 else
7930
7931 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7932
7933 fi
7934
7935
7936 eval "$wx_cv_use_textbuf"
7937
7938 if test x"$enablestring" = xdisable; then
7939 if test $wxUSE_TEXTBUFFER = no; then
7940 result=yes
7941 else
7942 result=no
7943 fi
7944 else
7945 result=$wxUSE_TEXTBUFFER
7946 fi
7947
7948 { echo "$as_me:$LINENO: result: $result" >&5
7949 echo "${ECHO_T}$result" >&6; }
7950
7951
7952 enablestring=
7953 defaultval=$wxUSE_ALL_FEATURES
7954 if test -z "$defaultval"; then
7955 if test x"$enablestring" = xdisable; then
7956 defaultval=yes
7957 else
7958 defaultval=no
7959 fi
7960 fi
7961
7962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7964 # Check whether --enable-textfile was given.
7965 if test "${enable_textfile+set}" = set; then
7966 enableval=$enable_textfile;
7967 if test "$enableval" = yes; then
7968 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7969 else
7970 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7971 fi
7972
7973 else
7974
7975 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7976
7977 fi
7978
7979
7980 eval "$wx_cv_use_textfile"
7981
7982 if test x"$enablestring" = xdisable; then
7983 if test $wxUSE_TEXTFILE = no; then
7984 result=yes
7985 else
7986 result=no
7987 fi
7988 else
7989 result=$wxUSE_TEXTFILE
7990 fi
7991
7992 { echo "$as_me:$LINENO: result: $result" >&5
7993 echo "${ECHO_T}$result" >&6; }
7994
7995
7996 enablestring=
7997 defaultval=$wxUSE_ALL_FEATURES
7998 if test -z "$defaultval"; then
7999 if test x"$enablestring" = xdisable; then
8000 defaultval=yes
8001 else
8002 defaultval=no
8003 fi
8004 fi
8005
8006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8008 # Check whether --enable-timer was given.
8009 if test "${enable_timer+set}" = set; then
8010 enableval=$enable_timer;
8011 if test "$enableval" = yes; then
8012 wx_cv_use_timer='wxUSE_TIMER=yes'
8013 else
8014 wx_cv_use_timer='wxUSE_TIMER=no'
8015 fi
8016
8017 else
8018
8019 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8020
8021 fi
8022
8023
8024 eval "$wx_cv_use_timer"
8025
8026 if test x"$enablestring" = xdisable; then
8027 if test $wxUSE_TIMER = no; then
8028 result=yes
8029 else
8030 result=no
8031 fi
8032 else
8033 result=$wxUSE_TIMER
8034 fi
8035
8036 { echo "$as_me:$LINENO: result: $result" >&5
8037 echo "${ECHO_T}$result" >&6; }
8038
8039
8040 enablestring=
8041 defaultval=$wxUSE_ALL_FEATURES
8042 if test -z "$defaultval"; then
8043 if test x"$enablestring" = xdisable; then
8044 defaultval=yes
8045 else
8046 defaultval=no
8047 fi
8048 fi
8049
8050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8052 # Check whether --enable-variant was given.
8053 if test "${enable_variant+set}" = set; then
8054 enableval=$enable_variant;
8055 if test "$enableval" = yes; then
8056 wx_cv_use_variant='wxUSE_VARIANT=yes'
8057 else
8058 wx_cv_use_variant='wxUSE_VARIANT=no'
8059 fi
8060
8061 else
8062
8063 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8064
8065 fi
8066
8067
8068 eval "$wx_cv_use_variant"
8069
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_VARIANT = no; then
8072 result=yes
8073 else
8074 result=no
8075 fi
8076 else
8077 result=$wxUSE_VARIANT
8078 fi
8079
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8082
8083
8084 enablestring=
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8088 defaultval=yes
8089 else
8090 defaultval=no
8091 fi
8092 fi
8093
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8096 # Check whether --enable-zipstream was given.
8097 if test "${enable_zipstream+set}" = set; then
8098 enableval=$enable_zipstream;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8101 else
8102 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8103 fi
8104
8105 else
8106
8107 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8108
8109 fi
8110
8111
8112 eval "$wx_cv_use_zipstream"
8113
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_ZIPSTREAM = no; then
8116 result=yes
8117 else
8118 result=no
8119 fi
8120 else
8121 result=$wxUSE_ZIPSTREAM
8122 fi
8123
8124 { echo "$as_me:$LINENO: result: $result" >&5
8125 echo "${ECHO_T}$result" >&6; }
8126
8127
8128
8129 enablestring=
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8141 # Check whether --enable-url was given.
8142 if test "${enable_url+set}" = set; then
8143 enableval=$enable_url;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_url='wxUSE_URL=yes'
8146 else
8147 wx_cv_use_url='wxUSE_URL=no'
8148 fi
8149
8150 else
8151
8152 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8153
8154 fi
8155
8156
8157 eval "$wx_cv_use_url"
8158
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_URL = no; then
8161 result=yes
8162 else
8163 result=no
8164 fi
8165 else
8166 result=$wxUSE_URL
8167 fi
8168
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8171
8172
8173 enablestring=
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8177 defaultval=yes
8178 else
8179 defaultval=no
8180 fi
8181 fi
8182
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8185 # Check whether --enable-protocol was given.
8186 if test "${enable_protocol+set}" = set; then
8187 enableval=$enable_protocol;
8188 if test "$enableval" = yes; then
8189 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8190 else
8191 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8192 fi
8193
8194 else
8195
8196 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8197
8198 fi
8199
8200
8201 eval "$wx_cv_use_protocol"
8202
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_PROTOCOL = no; then
8205 result=yes
8206 else
8207 result=no
8208 fi
8209 else
8210 result=$wxUSE_PROTOCOL
8211 fi
8212
8213 { echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6; }
8215
8216
8217 enablestring=
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8221 defaultval=yes
8222 else
8223 defaultval=no
8224 fi
8225 fi
8226
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8229 # Check whether --enable-protocol_http was given.
8230 if test "${enable_protocol_http+set}" = set; then
8231 enableval=$enable_protocol_http;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8234 else
8235 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8236 fi
8237
8238 else
8239
8240 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8241
8242 fi
8243
8244
8245 eval "$wx_cv_use_protocol_http"
8246
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_PROTOCOL_HTTP = no; then
8249 result=yes
8250 else
8251 result=no
8252 fi
8253 else
8254 result=$wxUSE_PROTOCOL_HTTP
8255 fi
8256
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8259
8260
8261 enablestring=
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8265 defaultval=yes
8266 else
8267 defaultval=no
8268 fi
8269 fi
8270
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8273 # Check whether --enable-protocol_ftp was given.
8274 if test "${enable_protocol_ftp+set}" = set; then
8275 enableval=$enable_protocol_ftp;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8278 else
8279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8280 fi
8281
8282 else
8283
8284 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_protocol_ftp"
8290
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_PROTOCOL_FTP = no; then
8293 result=yes
8294 else
8295 result=no
8296 fi
8297 else
8298 result=$wxUSE_PROTOCOL_FTP
8299 fi
8300
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8303
8304
8305 enablestring=
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8309 defaultval=yes
8310 else
8311 defaultval=no
8312 fi
8313 fi
8314
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8317 # Check whether --enable-protocol_file was given.
8318 if test "${enable_protocol_file+set}" = set; then
8319 enableval=$enable_protocol_file;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8322 else
8323 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8324 fi
8325
8326 else
8327
8328 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8329
8330 fi
8331
8332
8333 eval "$wx_cv_use_protocol_file"
8334
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_PROTOCOL_FILE = no; then
8337 result=yes
8338 else
8339 result=no
8340 fi
8341 else
8342 result=$wxUSE_PROTOCOL_FILE
8343 fi
8344
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8347
8348
8349
8350 enablestring=
8351 defaultval=$wxUSE_ALL_FEATURES
8352 if test -z "$defaultval"; then
8353 if test x"$enablestring" = xdisable; then
8354 defaultval=yes
8355 else
8356 defaultval=no
8357 fi
8358 fi
8359
8360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8362 # Check whether --enable-threads was given.
8363 if test "${enable_threads+set}" = set; then
8364 enableval=$enable_threads;
8365 if test "$enableval" = yes; then
8366 wx_cv_use_threads='wxUSE_THREADS=yes'
8367 else
8368 wx_cv_use_threads='wxUSE_THREADS=no'
8369 fi
8370
8371 else
8372
8373 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8374
8375 fi
8376
8377
8378 eval "$wx_cv_use_threads"
8379
8380 if test x"$enablestring" = xdisable; then
8381 if test $wxUSE_THREADS = no; then
8382 result=yes
8383 else
8384 result=no
8385 fi
8386 else
8387 result=$wxUSE_THREADS
8388 fi
8389
8390 { echo "$as_me:$LINENO: result: $result" >&5
8391 echo "${ECHO_T}$result" >&6; }
8392
8393
8394
8395 enablestring=
8396 defaultval=
8397 if test -z "$defaultval"; then
8398 if test x"$enablestring" = xdisable; then
8399 defaultval=yes
8400 else
8401 defaultval=no
8402 fi
8403 fi
8404
8405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8407 # Check whether --enable-iniconf was given.
8408 if test "${enable_iniconf+set}" = set; then
8409 enableval=$enable_iniconf;
8410 if test "$enableval" = yes; then
8411 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8412 else
8413 wx_cv_use_iniconf='wxUSE_INICONF=no'
8414 fi
8415
8416 else
8417
8418 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8419
8420 fi
8421
8422
8423 eval "$wx_cv_use_iniconf"
8424
8425 if test x"$enablestring" = xdisable; then
8426 if test $wxUSE_INICONF = no; then
8427 result=yes
8428 else
8429 result=no
8430 fi
8431 else
8432 result=$wxUSE_INICONF
8433 fi
8434
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8437
8438
8439 enablestring=
8440 defaultval=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x"$enablestring" = xdisable; then
8443 defaultval=yes
8444 else
8445 defaultval=no
8446 fi
8447 fi
8448
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8451 # Check whether --enable-regkey was given.
8452 if test "${enable_regkey+set}" = set; then
8453 enableval=$enable_regkey;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8456 else
8457 wx_cv_use_regkey='wxUSE_REGKEY=no'
8458 fi
8459
8460 else
8461
8462 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8463
8464 fi
8465
8466
8467 eval "$wx_cv_use_regkey"
8468
8469 if test x"$enablestring" = xdisable; then
8470 if test $wxUSE_REGKEY = no; then
8471 result=yes
8472 else
8473 result=no
8474 fi
8475 else
8476 result=$wxUSE_REGKEY
8477 fi
8478
8479 { echo "$as_me:$LINENO: result: $result" >&5
8480 echo "${ECHO_T}$result" >&6; }
8481
8482
8483 if test "$wxUSE_GUI" = "yes"; then
8484
8485
8486
8487 enablestring=
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8491 defaultval=yes
8492 else
8493 defaultval=no
8494 fi
8495 fi
8496
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8499 # Check whether --enable-docview was given.
8500 if test "${enable_docview+set}" = set; then
8501 enableval=$enable_docview;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8504 else
8505 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8506 fi
8507
8508 else
8509
8510 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8511
8512 fi
8513
8514
8515 eval "$wx_cv_use_docview"
8516
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8519 result=yes
8520 else
8521 result=no
8522 fi
8523 else
8524 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8525 fi
8526
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8529
8530
8531 enablestring=
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8535 defaultval=yes
8536 else
8537 defaultval=no
8538 fi
8539 fi
8540
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8543 # Check whether --enable-help was given.
8544 if test "${enable_help+set}" = set; then
8545 enableval=$enable_help;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_help='wxUSE_HELP=yes'
8548 else
8549 wx_cv_use_help='wxUSE_HELP=no'
8550 fi
8551
8552 else
8553
8554 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8555
8556 fi
8557
8558
8559 eval "$wx_cv_use_help"
8560
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_HELP = no; then
8563 result=yes
8564 else
8565 result=no
8566 fi
8567 else
8568 result=$wxUSE_HELP
8569 fi
8570
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8573
8574
8575 enablestring=
8576 defaultval=$wxUSE_ALL_FEATURES
8577 if test -z "$defaultval"; then
8578 if test x"$enablestring" = xdisable; then
8579 defaultval=yes
8580 else
8581 defaultval=no
8582 fi
8583 fi
8584
8585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8587 # Check whether --enable-mshtmlhelp was given.
8588 if test "${enable_mshtmlhelp+set}" = set; then
8589 enableval=$enable_mshtmlhelp;
8590 if test "$enableval" = yes; then
8591 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8592 else
8593 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8594 fi
8595
8596 else
8597
8598 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8599
8600 fi
8601
8602
8603 eval "$wx_cv_use_mshtmlhelp"
8604
8605 if test x"$enablestring" = xdisable; then
8606 if test $wxUSE_MS_HTML_HELP = no; then
8607 result=yes
8608 else
8609 result=no
8610 fi
8611 else
8612 result=$wxUSE_MS_HTML_HELP
8613 fi
8614
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8617
8618
8619 enablestring=
8620 defaultval=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x"$enablestring" = xdisable; then
8623 defaultval=yes
8624 else
8625 defaultval=no
8626 fi
8627 fi
8628
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8631 # Check whether --enable-html was given.
8632 if test "${enable_html+set}" = set; then
8633 enableval=$enable_html;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_html='wxUSE_HTML=yes'
8636 else
8637 wx_cv_use_html='wxUSE_HTML=no'
8638 fi
8639
8640 else
8641
8642 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8643
8644 fi
8645
8646
8647 eval "$wx_cv_use_html"
8648
8649 if test x"$enablestring" = xdisable; then
8650 if test $wxUSE_HTML = no; then
8651 result=yes
8652 else
8653 result=no
8654 fi
8655 else
8656 result=$wxUSE_HTML
8657 fi
8658
8659 { echo "$as_me:$LINENO: result: $result" >&5
8660 echo "${ECHO_T}$result" >&6; }
8661
8662
8663 enablestring=
8664 defaultval=$wxUSE_ALL_FEATURES
8665 if test -z "$defaultval"; then
8666 if test x"$enablestring" = xdisable; then
8667 defaultval=yes
8668 else
8669 defaultval=no
8670 fi
8671 fi
8672
8673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8675 # Check whether --enable-htmlhelp was given.
8676 if test "${enable_htmlhelp+set}" = set; then
8677 enableval=$enable_htmlhelp;
8678 if test "$enableval" = yes; then
8679 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8680 else
8681 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8682 fi
8683
8684 else
8685
8686 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8687
8688 fi
8689
8690
8691 eval "$wx_cv_use_htmlhelp"
8692
8693 if test x"$enablestring" = xdisable; then
8694 if test $wxUSE_WXHTML_HELP = no; then
8695 result=yes
8696 else
8697 result=no
8698 fi
8699 else
8700 result=$wxUSE_WXHTML_HELP
8701 fi
8702
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8705
8706
8707 enablestring=
8708 defaultval=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x"$enablestring" = xdisable; then
8711 defaultval=yes
8712 else
8713 defaultval=no
8714 fi
8715 fi
8716
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8719 # Check whether --enable-xrc was given.
8720 if test "${enable_xrc+set}" = set; then
8721 enableval=$enable_xrc;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_xrc='wxUSE_XRC=yes'
8724 else
8725 wx_cv_use_xrc='wxUSE_XRC=no'
8726 fi
8727
8728 else
8729
8730 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8731
8732 fi
8733
8734
8735 eval "$wx_cv_use_xrc"
8736
8737 if test x"$enablestring" = xdisable; then
8738 if test $wxUSE_XRC = no; then
8739 result=yes
8740 else
8741 result=no
8742 fi
8743 else
8744 result=$wxUSE_XRC
8745 fi
8746
8747 { echo "$as_me:$LINENO: result: $result" >&5
8748 echo "${ECHO_T}$result" >&6; }
8749
8750
8751 enablestring=
8752 defaultval=$wxUSE_ALL_FEATURES
8753 if test -z "$defaultval"; then
8754 if test x"$enablestring" = xdisable; then
8755 defaultval=yes
8756 else
8757 defaultval=no
8758 fi
8759 fi
8760
8761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8763 # Check whether --enable-aui was given.
8764 if test "${enable_aui+set}" = set; then
8765 enableval=$enable_aui;
8766 if test "$enableval" = yes; then
8767 wx_cv_use_aui='wxUSE_AUI=yes'
8768 else
8769 wx_cv_use_aui='wxUSE_AUI=no'
8770 fi
8771
8772 else
8773
8774 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8775
8776 fi
8777
8778
8779 eval "$wx_cv_use_aui"
8780
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_AUI = no; then
8783 result=yes
8784 else
8785 result=no
8786 fi
8787 else
8788 result=$wxUSE_AUI
8789 fi
8790
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8793
8794
8795 enablestring=
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8799 defaultval=yes
8800 else
8801 defaultval=no
8802 fi
8803 fi
8804
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8807 # Check whether --enable-propgrid was given.
8808 if test "${enable_propgrid+set}" = set; then
8809 enableval=$enable_propgrid;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8812 else
8813 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8814 fi
8815
8816 else
8817
8818 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8819
8820 fi
8821
8822
8823 eval "$wx_cv_use_propgrid"
8824
8825 if test x"$enablestring" = xdisable; then
8826 if test $wxUSE_PROPGRID = no; then
8827 result=yes
8828 else
8829 result=no
8830 fi
8831 else
8832 result=$wxUSE_PROPGRID
8833 fi
8834
8835 { echo "$as_me:$LINENO: result: $result" >&5
8836 echo "${ECHO_T}$result" >&6; }
8837
8838
8839 enablestring=
8840 defaultval=$wxUSE_ALL_FEATURES
8841 if test -z "$defaultval"; then
8842 if test x"$enablestring" = xdisable; then
8843 defaultval=yes
8844 else
8845 defaultval=no
8846 fi
8847 fi
8848
8849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8851 # Check whether --enable-ribbon was given.
8852 if test "${enable_ribbon+set}" = set; then
8853 enableval=$enable_ribbon;
8854 if test "$enableval" = yes; then
8855 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8856 else
8857 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8858 fi
8859
8860 else
8861
8862 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8863
8864 fi
8865
8866
8867 eval "$wx_cv_use_ribbon"
8868
8869 if test x"$enablestring" = xdisable; then
8870 if test $wxUSE_RIBBON = no; then
8871 result=yes
8872 else
8873 result=no
8874 fi
8875 else
8876 result=$wxUSE_RIBBON
8877 fi
8878
8879 { echo "$as_me:$LINENO: result: $result" >&5
8880 echo "${ECHO_T}$result" >&6; }
8881
8882
8883 enablestring=
8884 defaultval=$wxUSE_ALL_FEATURES
8885 if test -z "$defaultval"; then
8886 if test x"$enablestring" = xdisable; then
8887 defaultval=yes
8888 else
8889 defaultval=no
8890 fi
8891 fi
8892
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8895 # Check whether --enable-stc was given.
8896 if test "${enable_stc+set}" = set; then
8897 enableval=$enable_stc;
8898 if test "$enableval" = yes; then
8899 wx_cv_use_stc='wxUSE_STC=yes'
8900 else
8901 wx_cv_use_stc='wxUSE_STC=no'
8902 fi
8903
8904 else
8905
8906 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8907
8908 fi
8909
8910
8911 eval "$wx_cv_use_stc"
8912
8913 if test x"$enablestring" = xdisable; then
8914 if test $wxUSE_STC = no; then
8915 result=yes
8916 else
8917 result=no
8918 fi
8919 else
8920 result=$wxUSE_STC
8921 fi
8922
8923 { echo "$as_me:$LINENO: result: $result" >&5
8924 echo "${ECHO_T}$result" >&6; }
8925
8926
8927 enablestring=
8928 defaultval=$wxUSE_ALL_FEATURES
8929 if test -z "$defaultval"; then
8930 if test x"$enablestring" = xdisable; then
8931 defaultval=yes
8932 else
8933 defaultval=no
8934 fi
8935 fi
8936
8937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8939 # Check whether --enable-constraints was given.
8940 if test "${enable_constraints+set}" = set; then
8941 enableval=$enable_constraints;
8942 if test "$enableval" = yes; then
8943 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8944 else
8945 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8946 fi
8947
8948 else
8949
8950 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8951
8952 fi
8953
8954
8955 eval "$wx_cv_use_constraints"
8956
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_CONSTRAINTS = no; then
8959 result=yes
8960 else
8961 result=no
8962 fi
8963 else
8964 result=$wxUSE_CONSTRAINTS
8965 fi
8966
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8969
8970
8971 enablestring=
8972 defaultval=$wxUSE_ALL_FEATURES
8973 if test -z "$defaultval"; then
8974 if test x"$enablestring" = xdisable; then
8975 defaultval=yes
8976 else
8977 defaultval=no
8978 fi
8979 fi
8980
8981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8983 # Check whether --enable-loggui was given.
8984 if test "${enable_loggui+set}" = set; then
8985 enableval=$enable_loggui;
8986 if test "$enableval" = yes; then
8987 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8988 else
8989 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8990 fi
8991
8992 else
8993
8994 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8995
8996 fi
8997
8998
8999 eval "$wx_cv_use_loggui"
9000
9001 if test x"$enablestring" = xdisable; then
9002 if test $wxUSE_LOGGUI = no; then
9003 result=yes
9004 else
9005 result=no
9006 fi
9007 else
9008 result=$wxUSE_LOGGUI
9009 fi
9010
9011 { echo "$as_me:$LINENO: result: $result" >&5
9012 echo "${ECHO_T}$result" >&6; }
9013
9014
9015 enablestring=
9016 defaultval=$wxUSE_ALL_FEATURES
9017 if test -z "$defaultval"; then
9018 if test x"$enablestring" = xdisable; then
9019 defaultval=yes
9020 else
9021 defaultval=no
9022 fi
9023 fi
9024
9025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9027 # Check whether --enable-logwin was given.
9028 if test "${enable_logwin+set}" = set; then
9029 enableval=$enable_logwin;
9030 if test "$enableval" = yes; then
9031 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9032 else
9033 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9034 fi
9035
9036 else
9037
9038 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9039
9040 fi
9041
9042
9043 eval "$wx_cv_use_logwin"
9044
9045 if test x"$enablestring" = xdisable; then
9046 if test $wxUSE_LOGWINDOW = no; then
9047 result=yes
9048 else
9049 result=no
9050 fi
9051 else
9052 result=$wxUSE_LOGWINDOW
9053 fi
9054
9055 { echo "$as_me:$LINENO: result: $result" >&5
9056 echo "${ECHO_T}$result" >&6; }
9057
9058
9059 enablestring=
9060 defaultval=$wxUSE_ALL_FEATURES
9061 if test -z "$defaultval"; then
9062 if test x"$enablestring" = xdisable; then
9063 defaultval=yes
9064 else
9065 defaultval=no
9066 fi
9067 fi
9068
9069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9071 # Check whether --enable-logdialog was given.
9072 if test "${enable_logdialog+set}" = set; then
9073 enableval=$enable_logdialog;
9074 if test "$enableval" = yes; then
9075 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9076 else
9077 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9078 fi
9079
9080 else
9081
9082 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9083
9084 fi
9085
9086
9087 eval "$wx_cv_use_logdialog"
9088
9089 if test x"$enablestring" = xdisable; then
9090 if test $wxUSE_LOGDIALOG = no; then
9091 result=yes
9092 else
9093 result=no
9094 fi
9095 else
9096 result=$wxUSE_LOGDIALOG
9097 fi
9098
9099 { echo "$as_me:$LINENO: result: $result" >&5
9100 echo "${ECHO_T}$result" >&6; }
9101
9102
9103 enablestring=
9104 defaultval=$wxUSE_ALL_FEATURES
9105 if test -z "$defaultval"; then
9106 if test x"$enablestring" = xdisable; then
9107 defaultval=yes
9108 else
9109 defaultval=no
9110 fi
9111 fi
9112
9113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9115 # Check whether --enable-mdi was given.
9116 if test "${enable_mdi+set}" = set; then
9117 enableval=$enable_mdi;
9118 if test "$enableval" = yes; then
9119 wx_cv_use_mdi='wxUSE_MDI=yes'
9120 else
9121 wx_cv_use_mdi='wxUSE_MDI=no'
9122 fi
9123
9124 else
9125
9126 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9127
9128 fi
9129
9130
9131 eval "$wx_cv_use_mdi"
9132
9133 if test x"$enablestring" = xdisable; then
9134 if test $wxUSE_MDI = no; then
9135 result=yes
9136 else
9137 result=no
9138 fi
9139 else
9140 result=$wxUSE_MDI
9141 fi
9142
9143 { echo "$as_me:$LINENO: result: $result" >&5
9144 echo "${ECHO_T}$result" >&6; }
9145
9146
9147 enablestring=
9148 defaultval=$wxUSE_ALL_FEATURES
9149 if test -z "$defaultval"; then
9150 if test x"$enablestring" = xdisable; then
9151 defaultval=yes
9152 else
9153 defaultval=no
9154 fi
9155 fi
9156
9157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9159 # Check whether --enable-mdidoc was given.
9160 if test "${enable_mdidoc+set}" = set; then
9161 enableval=$enable_mdidoc;
9162 if test "$enableval" = yes; then
9163 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9164 else
9165 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9166 fi
9167
9168 else
9169
9170 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9171
9172 fi
9173
9174
9175 eval "$wx_cv_use_mdidoc"
9176
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_MDI_ARCHITECTURE = no; then
9179 result=yes
9180 else
9181 result=no
9182 fi
9183 else
9184 result=$wxUSE_MDI_ARCHITECTURE
9185 fi
9186
9187 { echo "$as_me:$LINENO: result: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9189
9190
9191 enablestring=
9192 defaultval=$wxUSE_ALL_FEATURES
9193 if test -z "$defaultval"; then
9194 if test x"$enablestring" = xdisable; then
9195 defaultval=yes
9196 else
9197 defaultval=no
9198 fi
9199 fi
9200
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9203 # Check whether --enable-mediactrl was given.
9204 if test "${enable_mediactrl+set}" = set; then
9205 enableval=$enable_mediactrl;
9206 if test "$enableval" = yes; then
9207 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9208 else
9209 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9210 fi
9211
9212 else
9213
9214 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9215
9216 fi
9217
9218
9219 eval "$wx_cv_use_mediactrl"
9220
9221 if test x"$enablestring" = xdisable; then
9222 if test $wxUSE_MEDIACTRL = no; then
9223 result=yes
9224 else
9225 result=no
9226 fi
9227 else
9228 result=$wxUSE_MEDIACTRL
9229 fi
9230
9231 { echo "$as_me:$LINENO: result: $result" >&5
9232 echo "${ECHO_T}$result" >&6; }
9233
9234
9235 enablestring=
9236 defaultval=$wxUSE_ALL_FEATURES
9237 if test -z "$defaultval"; then
9238 if test x"$enablestring" = xdisable; then
9239 defaultval=yes
9240 else
9241 defaultval=no
9242 fi
9243 fi
9244
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9247 # Check whether --enable-gstreamer8 was given.
9248 if test "${enable_gstreamer8+set}" = set; then
9249 enableval=$enable_gstreamer8;
9250 if test "$enableval" = yes; then
9251 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9252 else
9253 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9254 fi
9255
9256 else
9257
9258 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9259
9260 fi
9261
9262
9263 eval "$wx_cv_use_gstreamer8"
9264
9265 if test x"$enablestring" = xdisable; then
9266 if test $wxUSE_GSTREAMER8 = no; then
9267 result=yes
9268 else
9269 result=no
9270 fi
9271 else
9272 result=$wxUSE_GSTREAMER8
9273 fi
9274
9275 { echo "$as_me:$LINENO: result: $result" >&5
9276 echo "${ECHO_T}$result" >&6; }
9277
9278
9279 enablestring=
9280 defaultval=$wxUSE_ALL_FEATURES
9281 if test -z "$defaultval"; then
9282 if test x"$enablestring" = xdisable; then
9283 defaultval=yes
9284 else
9285 defaultval=no
9286 fi
9287 fi
9288
9289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9290 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9291 # Check whether --enable-webkit was given.
9292 if test "${enable_webkit+set}" = set; then
9293 enableval=$enable_webkit;
9294 if test "$enableval" = yes; then
9295 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9296 else
9297 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9298 fi
9299
9300 else
9301
9302 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9303
9304 fi
9305
9306
9307 eval "$wx_cv_use_webkit"
9308
9309 if test x"$enablestring" = xdisable; then
9310 if test $wxUSE_WEBKIT = no; then
9311 result=yes
9312 else
9313 result=no
9314 fi
9315 else
9316 result=$wxUSE_WEBKIT
9317 fi
9318
9319 { echo "$as_me:$LINENO: result: $result" >&5
9320 echo "${ECHO_T}$result" >&6; }
9321
9322
9323 enablestring=
9324 defaultval=$wxUSE_ALL_FEATURES
9325 if test -z "$defaultval"; then
9326 if test x"$enablestring" = xdisable; then
9327 defaultval=yes
9328 else
9329 defaultval=no
9330 fi
9331 fi
9332
9333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9335 # Check whether --enable-richtext was given.
9336 if test "${enable_richtext+set}" = set; then
9337 enableval=$enable_richtext;
9338 if test "$enableval" = yes; then
9339 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9340 else
9341 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9342 fi
9343
9344 else
9345
9346 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9347
9348 fi
9349
9350
9351 eval "$wx_cv_use_richtext"
9352
9353 if test x"$enablestring" = xdisable; then
9354 if test $wxUSE_RICHTEXT = no; then
9355 result=yes
9356 else
9357 result=no
9358 fi
9359 else
9360 result=$wxUSE_RICHTEXT
9361 fi
9362
9363 { echo "$as_me:$LINENO: result: $result" >&5
9364 echo "${ECHO_T}$result" >&6; }
9365
9366
9367 enablestring=
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9371 defaultval=yes
9372 else
9373 defaultval=no
9374 fi
9375 fi
9376
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9379 # Check whether --enable-postscript was given.
9380 if test "${enable_postscript+set}" = set; then
9381 enableval=$enable_postscript;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9384 else
9385 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9386 fi
9387
9388 else
9389
9390 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9391
9392 fi
9393
9394
9395 eval "$wx_cv_use_postscript"
9396
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_POSTSCRIPT = no; then
9399 result=yes
9400 else
9401 result=no
9402 fi
9403 else
9404 result=$wxUSE_POSTSCRIPT
9405 fi
9406
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9409
9410
9411 enablestring=
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9415 defaultval=yes
9416 else
9417 defaultval=no
9418 fi
9419 fi
9420
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9423 # Check whether --enable-printarch was given.
9424 if test "${enable_printarch+set}" = set; then
9425 enableval=$enable_printarch;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9428 else
9429 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9430 fi
9431
9432 else
9433
9434 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9435
9436 fi
9437
9438
9439 eval "$wx_cv_use_printarch"
9440
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9443 result=yes
9444 else
9445 result=no
9446 fi
9447 else
9448 result=$wxUSE_PRINTING_ARCHITECTURE
9449 fi
9450
9451 { echo "$as_me:$LINENO: result: $result" >&5
9452 echo "${ECHO_T}$result" >&6; }
9453
9454
9455 enablestring=
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9459 defaultval=yes
9460 else
9461 defaultval=no
9462 fi
9463 fi
9464
9465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9467 # Check whether --enable-svg was given.
9468 if test "${enable_svg+set}" = set; then
9469 enableval=$enable_svg;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_svg='wxUSE_SVG=yes'
9472 else
9473 wx_cv_use_svg='wxUSE_SVG=no'
9474 fi
9475
9476 else
9477
9478 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9479
9480 fi
9481
9482
9483 eval "$wx_cv_use_svg"
9484
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_SVG = no; then
9487 result=yes
9488 else
9489 result=no
9490 fi
9491 else
9492 result=$wxUSE_SVG
9493 fi
9494
9495 { echo "$as_me:$LINENO: result: $result" >&5
9496 echo "${ECHO_T}$result" >&6; }
9497
9498
9499 if test "$wxUSE_MAC" != 1; then
9500
9501 enablestring=
9502 defaultval=$wxUSE_ALL_FEATURES
9503 if test -z "$defaultval"; then
9504 if test x"$enablestring" = xdisable; then
9505 defaultval=yes
9506 else
9507 defaultval=no
9508 fi
9509 fi
9510
9511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9513 # Check whether --enable-graphics_ctx was given.
9514 if test "${enable_graphics_ctx+set}" = set; then
9515 enableval=$enable_graphics_ctx;
9516 if test "$enableval" = yes; then
9517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9518 else
9519 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9520 fi
9521
9522 else
9523
9524 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9525
9526 fi
9527
9528
9529 eval "$wx_cv_use_graphics_ctx"
9530
9531 if test x"$enablestring" = xdisable; then
9532 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9533 result=yes
9534 else
9535 result=no
9536 fi
9537 else
9538 result=$wxUSE_GRAPHICS_CONTEXT
9539 fi
9540
9541 { echo "$as_me:$LINENO: result: $result" >&5
9542 echo "${ECHO_T}$result" >&6; }
9543
9544 fi
9545
9546
9547
9548 enablestring=
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9552 defaultval=yes
9553 else
9554 defaultval=no
9555 fi
9556 fi
9557
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9560 # Check whether --enable-clipboard was given.
9561 if test "${enable_clipboard+set}" = set; then
9562 enableval=$enable_clipboard;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9565 else
9566 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9567 fi
9568
9569 else
9570
9571 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9572
9573 fi
9574
9575
9576 eval "$wx_cv_use_clipboard"
9577
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_CLIPBOARD = no; then
9580 result=yes
9581 else
9582 result=no
9583 fi
9584 else
9585 result=$wxUSE_CLIPBOARD
9586 fi
9587
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9590
9591
9592 enablestring=
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9596 defaultval=yes
9597 else
9598 defaultval=no
9599 fi
9600 fi
9601
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9604 # Check whether --enable-dnd was given.
9605 if test "${enable_dnd+set}" = set; then
9606 enableval=$enable_dnd;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9609 else
9610 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9611 fi
9612
9613 else
9614
9615 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9616
9617 fi
9618
9619
9620 eval "$wx_cv_use_dnd"
9621
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_DRAG_AND_DROP = no; then
9624 result=yes
9625 else
9626 result=no
9627 fi
9628 else
9629 result=$wxUSE_DRAG_AND_DROP
9630 fi
9631
9632 { echo "$as_me:$LINENO: result: $result" >&5
9633 echo "${ECHO_T}$result" >&6; }
9634
9635
9636 enablestring=
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9640 defaultval=yes
9641 else
9642 defaultval=no
9643 fi
9644 fi
9645
9646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9647 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9648 # Check whether --enable-metafile was given.
9649 if test "${enable_metafile+set}" = set; then
9650 enableval=$enable_metafile;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9653 else
9654 wx_cv_use_metafile='wxUSE_METAFILE=no'
9655 fi
9656
9657 else
9658
9659 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9660
9661 fi
9662
9663
9664 eval "$wx_cv_use_metafile"
9665
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_METAFILE = no; then
9668 result=yes
9669 else
9670 result=no
9671 fi
9672 else
9673 result=$wxUSE_METAFILE
9674 fi
9675
9676 { echo "$as_me:$LINENO: result: $result" >&5
9677 echo "${ECHO_T}$result" >&6; }
9678
9679
9680
9681 DEFAULT_wxUSE_CONTROLS=none
9682
9683 enablestring=disable
9684 defaultval=
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9687 defaultval=yes
9688 else
9689 defaultval=no
9690 fi
9691 fi
9692
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9695 # Check whether --enable-controls was given.
9696 if test "${enable_controls+set}" = set; then
9697 enableval=$enable_controls;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9700 else
9701 wx_cv_use_controls='wxUSE_CONTROLS=no'
9702 fi
9703
9704 else
9705
9706 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9707
9708 fi
9709
9710
9711 eval "$wx_cv_use_controls"
9712
9713 if test x"$enablestring" = xdisable; then
9714 if test $wxUSE_CONTROLS = no; then
9715 result=yes
9716 else
9717 result=no
9718 fi
9719 else
9720 result=$wxUSE_CONTROLS
9721 fi
9722
9723 { echo "$as_me:$LINENO: result: $result" >&5
9724 echo "${ECHO_T}$result" >&6; }
9725
9726
9727 if test "$wxUSE_CONTROLS" = "no"; then
9728 DEFAULT_wxUSE_ACCEL=no
9729 DEFAULT_wxUSE_ANIMATIONCTRL=no
9730 DEFAULT_wxUSE_BMPBUTTON=no
9731 DEFAULT_wxUSE_BUTTON=no
9732 DEFAULT_wxUSE_CALCTRL=no
9733 DEFAULT_wxUSE_CARET=no
9734 DEFAULT_wxUSE_CHECKBOX=no
9735 DEFAULT_wxUSE_CHECKLISTBOX=no
9736 DEFAULT_wxUSE_CHOICE=no
9737 DEFAULT_wxUSE_CHOICEBOOK=no
9738 DEFAULT_wxUSE_COLLPANE=no
9739 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9740 DEFAULT_wxUSE_COMBOBOX=no
9741 DEFAULT_wxUSE_COMBOBOX=no
9742 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9743 DEFAULT_wxUSE_DATAVIEWCTRL=no
9744 DEFAULT_wxUSE_DATEPICKCTRL=no
9745 DEFAULT_wxUSE_DETECT_SM=no
9746 DEFAULT_wxUSE_DIRPICKERCTRL=no
9747 DEFAULT_wxUSE_DISPLAY=no
9748 DEFAULT_wxUSE_FILECTRL=no
9749 DEFAULT_wxUSE_FILEPICKERCTRL=no
9750 DEFAULT_wxUSE_FONTPICKERCTRL=no
9751 DEFAULT_wxUSE_GAUGE=no
9752 DEFAULT_wxUSE_GRID=no
9753 DEFAULT_wxUSE_HEADERCTRL=no
9754 DEFAULT_wxUSE_HYPERLINKCTRL=no
9755 DEFAULT_wxUSE_IMAGLIST=no
9756 DEFAULT_wxUSE_LISTBOOK=no
9757 DEFAULT_wxUSE_LISTBOX=no
9758 DEFAULT_wxUSE_LISTCTRL=no
9759 DEFAULT_wxUSE_NOTEBOOK=no
9760 DEFAULT_wxUSE_POPUPWIN=no
9761 DEFAULT_wxUSE_RADIOBOX=no
9762 DEFAULT_wxUSE_RADIOBTN=no
9763 DEFAULT_wxUSE_RICHMSGDLG=no
9764 DEFAULT_wxUSE_REARRANGECTRL=no
9765 DEFAULT_wxUSE_SASH=no
9766 DEFAULT_wxUSE_SCROLLBAR=no
9767 DEFAULT_wxUSE_SEARCHCTRL=no
9768 DEFAULT_wxUSE_SLIDER=no
9769 DEFAULT_wxUSE_SPINBTN=no
9770 DEFAULT_wxUSE_SPINCTRL=no
9771 DEFAULT_wxUSE_SPLITTER=no
9772 DEFAULT_wxUSE_STATBMP=no
9773 DEFAULT_wxUSE_STATBOX=no
9774 DEFAULT_wxUSE_STATLINE=no
9775 DEFAULT_wxUSE_STATUSBAR=no
9776 DEFAULT_wxUSE_TIPWINDOW=no
9777 DEFAULT_wxUSE_TOGGLEBTN=no
9778 DEFAULT_wxUSE_TOOLBAR=no
9779 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9780 DEFAULT_wxUSE_TOOLBOOK=no
9781 DEFAULT_wxUSE_TOOLTIPS=no
9782 DEFAULT_wxUSE_TREEBOOK=no
9783 DEFAULT_wxUSE_TREECTRL=no
9784 fi
9785
9786
9787 enablestring=
9788 defaultval=$wxUSE_ALL_FEATURES
9789 if test -z "$defaultval"; then
9790 if test x"$enablestring" = xdisable; then
9791 defaultval=yes
9792 else
9793 defaultval=no
9794 fi
9795 fi
9796
9797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9798 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9799 # Check whether --enable-accel was given.
9800 if test "${enable_accel+set}" = set; then
9801 enableval=$enable_accel;
9802 if test "$enableval" = yes; then
9803 wx_cv_use_accel='wxUSE_ACCEL=yes'
9804 else
9805 wx_cv_use_accel='wxUSE_ACCEL=no'
9806 fi
9807
9808 else
9809
9810 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9811
9812 fi
9813
9814
9815 eval "$wx_cv_use_accel"
9816
9817 if test x"$enablestring" = xdisable; then
9818 if test $wxUSE_ACCEL = no; then
9819 result=yes
9820 else
9821 result=no
9822 fi
9823 else
9824 result=$wxUSE_ACCEL
9825 fi
9826
9827 { echo "$as_me:$LINENO: result: $result" >&5
9828 echo "${ECHO_T}$result" >&6; }
9829
9830
9831 enablestring=
9832 defaultval=$wxUSE_ALL_FEATURES
9833 if test -z "$defaultval"; then
9834 if test x"$enablestring" = xdisable; then
9835 defaultval=yes
9836 else
9837 defaultval=no
9838 fi
9839 fi
9840
9841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9843 # Check whether --enable-animatectrl was given.
9844 if test "${enable_animatectrl+set}" = set; then
9845 enableval=$enable_animatectrl;
9846 if test "$enableval" = yes; then
9847 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9848 else
9849 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9850 fi
9851
9852 else
9853
9854 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9855
9856 fi
9857
9858
9859 eval "$wx_cv_use_animatectrl"
9860
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_ANIMATIONCTRL = no; then
9863 result=yes
9864 else
9865 result=no
9866 fi
9867 else
9868 result=$wxUSE_ANIMATIONCTRL
9869 fi
9870
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9873
9874
9875 enablestring=
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9879 defaultval=yes
9880 else
9881 defaultval=no
9882 fi
9883 fi
9884
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9887 # Check whether --enable-bmpbutton was given.
9888 if test "${enable_bmpbutton+set}" = set; then
9889 enableval=$enable_bmpbutton;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9892 else
9893 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9894 fi
9895
9896 else
9897
9898 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9899
9900 fi
9901
9902
9903 eval "$wx_cv_use_bmpbutton"
9904
9905 if test x"$enablestring" = xdisable; then
9906 if test $wxUSE_BMPBUTTON = no; then
9907 result=yes
9908 else
9909 result=no
9910 fi
9911 else
9912 result=$wxUSE_BMPBUTTON
9913 fi
9914
9915 { echo "$as_me:$LINENO: result: $result" >&5
9916 echo "${ECHO_T}$result" >&6; }
9917
9918
9919 enablestring=
9920 defaultval=$wxUSE_ALL_FEATURES
9921 if test -z "$defaultval"; then
9922 if test x"$enablestring" = xdisable; then
9923 defaultval=yes
9924 else
9925 defaultval=no
9926 fi
9927 fi
9928
9929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9931 # Check whether --enable-bmpcombobox was given.
9932 if test "${enable_bmpcombobox+set}" = set; then
9933 enableval=$enable_bmpcombobox;
9934 if test "$enableval" = yes; then
9935 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9936 else
9937 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9938 fi
9939
9940 else
9941
9942 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9943
9944 fi
9945
9946
9947 eval "$wx_cv_use_bmpcombobox"
9948
9949 if test x"$enablestring" = xdisable; then
9950 if test $wxUSE_BITMAPCOMBOBOX = no; then
9951 result=yes
9952 else
9953 result=no
9954 fi
9955 else
9956 result=$wxUSE_BITMAPCOMBOBOX
9957 fi
9958
9959 { echo "$as_me:$LINENO: result: $result" >&5
9960 echo "${ECHO_T}$result" >&6; }
9961
9962
9963 enablestring=
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9967 defaultval=yes
9968 else
9969 defaultval=no
9970 fi
9971 fi
9972
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9975 # Check whether --enable-button was given.
9976 if test "${enable_button+set}" = set; then
9977 enableval=$enable_button;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_button='wxUSE_BUTTON=yes'
9980 else
9981 wx_cv_use_button='wxUSE_BUTTON=no'
9982 fi
9983
9984 else
9985
9986 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9987
9988 fi
9989
9990
9991 eval "$wx_cv_use_button"
9992
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_BUTTON = no; then
9995 result=yes
9996 else
9997 result=no
9998 fi
9999 else
10000 result=$wxUSE_BUTTON
10001 fi
10002
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10005
10006
10007 enablestring=
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10011 defaultval=yes
10012 else
10013 defaultval=no
10014 fi
10015 fi
10016
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10019 # Check whether --enable-calendar was given.
10020 if test "${enable_calendar+set}" = set; then
10021 enableval=$enable_calendar;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10024 else
10025 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10026 fi
10027
10028 else
10029
10030 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10031
10032 fi
10033
10034
10035 eval "$wx_cv_use_calendar"
10036
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_CALCTRL = no; then
10039 result=yes
10040 else
10041 result=no
10042 fi
10043 else
10044 result=$wxUSE_CALCTRL
10045 fi
10046
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10049
10050
10051 enablestring=
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10055 defaultval=yes
10056 else
10057 defaultval=no
10058 fi
10059 fi
10060
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10063 # Check whether --enable-caret was given.
10064 if test "${enable_caret+set}" = set; then
10065 enableval=$enable_caret;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_caret='wxUSE_CARET=yes'
10068 else
10069 wx_cv_use_caret='wxUSE_CARET=no'
10070 fi
10071
10072 else
10073
10074 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10075
10076 fi
10077
10078
10079 eval "$wx_cv_use_caret"
10080
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_CARET = no; then
10083 result=yes
10084 else
10085 result=no
10086 fi
10087 else
10088 result=$wxUSE_CARET
10089 fi
10090
10091 { echo "$as_me:$LINENO: result: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10093
10094
10095 enablestring=
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10099 defaultval=yes
10100 else
10101 defaultval=no
10102 fi
10103 fi
10104
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10107 # Check whether --enable-checkbox was given.
10108 if test "${enable_checkbox+set}" = set; then
10109 enableval=$enable_checkbox;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10112 else
10113 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10114 fi
10115
10116 else
10117
10118 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10119
10120 fi
10121
10122
10123 eval "$wx_cv_use_checkbox"
10124
10125 if test x"$enablestring" = xdisable; then
10126 if test $wxUSE_CHECKBOX = no; then
10127 result=yes
10128 else
10129 result=no
10130 fi
10131 else
10132 result=$wxUSE_CHECKBOX
10133 fi
10134
10135 { echo "$as_me:$LINENO: result: $result" >&5
10136 echo "${ECHO_T}$result" >&6; }
10137
10138
10139 enablestring=
10140 defaultval=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x"$enablestring" = xdisable; then
10143 defaultval=yes
10144 else
10145 defaultval=no
10146 fi
10147 fi
10148
10149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10151 # Check whether --enable-checklst was given.
10152 if test "${enable_checklst+set}" = set; then
10153 enableval=$enable_checklst;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10156 else
10157 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10158 fi
10159
10160 else
10161
10162 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10163
10164 fi
10165
10166
10167 eval "$wx_cv_use_checklst"
10168
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_CHECKLST = no; then
10171 result=yes
10172 else
10173 result=no
10174 fi
10175 else
10176 result=$wxUSE_CHECKLST
10177 fi
10178
10179 { echo "$as_me:$LINENO: result: $result" >&5
10180 echo "${ECHO_T}$result" >&6; }
10181
10182
10183 enablestring=
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10187 defaultval=yes
10188 else
10189 defaultval=no
10190 fi
10191 fi
10192
10193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10195 # Check whether --enable-choice was given.
10196 if test "${enable_choice+set}" = set; then
10197 enableval=$enable_choice;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_choice='wxUSE_CHOICE=yes'
10200 else
10201 wx_cv_use_choice='wxUSE_CHOICE=no'
10202 fi
10203
10204 else
10205
10206 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10207
10208 fi
10209
10210
10211 eval "$wx_cv_use_choice"
10212
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_CHOICE = no; then
10215 result=yes
10216 else
10217 result=no
10218 fi
10219 else
10220 result=$wxUSE_CHOICE
10221 fi
10222
10223 { echo "$as_me:$LINENO: result: $result" >&5
10224 echo "${ECHO_T}$result" >&6; }
10225
10226
10227 enablestring=
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10231 defaultval=yes
10232 else
10233 defaultval=no
10234 fi
10235 fi
10236
10237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10239 # Check whether --enable-choicebook was given.
10240 if test "${enable_choicebook+set}" = set; then
10241 enableval=$enable_choicebook;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10244 else
10245 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10246 fi
10247
10248 else
10249
10250 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10251
10252 fi
10253
10254
10255 eval "$wx_cv_use_choicebook"
10256
10257 if test x"$enablestring" = xdisable; then
10258 if test $wxUSE_CHOICEBOOK = no; then
10259 result=yes
10260 else
10261 result=no
10262 fi
10263 else
10264 result=$wxUSE_CHOICEBOOK
10265 fi
10266
10267 { echo "$as_me:$LINENO: result: $result" >&5
10268 echo "${ECHO_T}$result" >&6; }
10269
10270
10271 enablestring=
10272 defaultval=$wxUSE_ALL_FEATURES
10273 if test -z "$defaultval"; then
10274 if test x"$enablestring" = xdisable; then
10275 defaultval=yes
10276 else
10277 defaultval=no
10278 fi
10279 fi
10280
10281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10282 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10283 # Check whether --enable-collpane was given.
10284 if test "${enable_collpane+set}" = set; then
10285 enableval=$enable_collpane;
10286 if test "$enableval" = yes; then
10287 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10288 else
10289 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10290 fi
10291
10292 else
10293
10294 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10295
10296 fi
10297
10298
10299 eval "$wx_cv_use_collpane"
10300
10301 if test x"$enablestring" = xdisable; then
10302 if test $wxUSE_COLLPANE = no; then
10303 result=yes
10304 else
10305 result=no
10306 fi
10307 else
10308 result=$wxUSE_COLLPANE
10309 fi
10310
10311 { echo "$as_me:$LINENO: result: $result" >&5
10312 echo "${ECHO_T}$result" >&6; }
10313
10314
10315 enablestring=
10316 defaultval=$wxUSE_ALL_FEATURES
10317 if test -z "$defaultval"; then
10318 if test x"$enablestring" = xdisable; then
10319 defaultval=yes
10320 else
10321 defaultval=no
10322 fi
10323 fi
10324
10325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10327 # Check whether --enable-colourpicker was given.
10328 if test "${enable_colourpicker+set}" = set; then
10329 enableval=$enable_colourpicker;
10330 if test "$enableval" = yes; then
10331 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10332 else
10333 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10334 fi
10335
10336 else
10337
10338 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10339
10340 fi
10341
10342
10343 eval "$wx_cv_use_colourpicker"
10344
10345 if test x"$enablestring" = xdisable; then
10346 if test $wxUSE_COLOURPICKERCTRL = no; then
10347 result=yes
10348 else
10349 result=no
10350 fi
10351 else
10352 result=$wxUSE_COLOURPICKERCTRL
10353 fi
10354
10355 { echo "$as_me:$LINENO: result: $result" >&5
10356 echo "${ECHO_T}$result" >&6; }
10357
10358
10359 enablestring=
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10363 defaultval=yes
10364 else
10365 defaultval=no
10366 fi
10367 fi
10368
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10371 # Check whether --enable-combobox was given.
10372 if test "${enable_combobox+set}" = set; then
10373 enableval=$enable_combobox;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10376 else
10377 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10378 fi
10379
10380 else
10381
10382 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10383
10384 fi
10385
10386
10387 eval "$wx_cv_use_combobox"
10388
10389 if test x"$enablestring" = xdisable; then
10390 if test $wxUSE_COMBOBOX = no; then
10391 result=yes
10392 else
10393 result=no
10394 fi
10395 else
10396 result=$wxUSE_COMBOBOX
10397 fi
10398
10399 { echo "$as_me:$LINENO: result: $result" >&5
10400 echo "${ECHO_T}$result" >&6; }
10401
10402
10403 enablestring=
10404 defaultval=$wxUSE_ALL_FEATURES
10405 if test -z "$defaultval"; then
10406 if test x"$enablestring" = xdisable; then
10407 defaultval=yes
10408 else
10409 defaultval=no
10410 fi
10411 fi
10412
10413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10415 # Check whether --enable-comboctrl was given.
10416 if test "${enable_comboctrl+set}" = set; then
10417 enableval=$enable_comboctrl;
10418 if test "$enableval" = yes; then
10419 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10420 else
10421 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10422 fi
10423
10424 else
10425
10426 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10427
10428 fi
10429
10430
10431 eval "$wx_cv_use_comboctrl"
10432
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_COMBOCTRL = no; then
10435 result=yes
10436 else
10437 result=no
10438 fi
10439 else
10440 result=$wxUSE_COMBOCTRL
10441 fi
10442
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10445
10446
10447 enablestring=
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10451 defaultval=yes
10452 else
10453 defaultval=no
10454 fi
10455 fi
10456
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10459 # Check whether --enable-commandlinkbutton was given.
10460 if test "${enable_commandlinkbutton+set}" = set; then
10461 enableval=$enable_commandlinkbutton;
10462 if test "$enableval" = yes; then
10463 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10464 else
10465 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10466 fi
10467
10468 else
10469
10470 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10471
10472 fi
10473
10474
10475 eval "$wx_cv_use_commandlinkbutton"
10476
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_COMMANDLINKBUTTON = no; then
10479 result=yes
10480 else
10481 result=no
10482 fi
10483 else
10484 result=$wxUSE_COMMANDLINKBUTTON
10485 fi
10486
10487 { echo "$as_me:$LINENO: result: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10489
10490
10491 enablestring=
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10495 defaultval=yes
10496 else
10497 defaultval=no
10498 fi
10499 fi
10500
10501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10503 # Check whether --enable-dataviewctrl was given.
10504 if test "${enable_dataviewctrl+set}" = set; then
10505 enableval=$enable_dataviewctrl;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10508 else
10509 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10510 fi
10511
10512 else
10513
10514 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10515
10516 fi
10517
10518
10519 eval "$wx_cv_use_dataviewctrl"
10520
10521 if test x"$enablestring" = xdisable; then
10522 if test $wxUSE_DATAVIEWCTRL = no; then
10523 result=yes
10524 else
10525 result=no
10526 fi
10527 else
10528 result=$wxUSE_DATAVIEWCTRL
10529 fi
10530
10531 { echo "$as_me:$LINENO: result: $result" >&5
10532 echo "${ECHO_T}$result" >&6; }
10533
10534
10535 enablestring=
10536 defaultval=$wxUSE_ALL_FEATURES
10537 if test -z "$defaultval"; then
10538 if test x"$enablestring" = xdisable; then
10539 defaultval=yes
10540 else
10541 defaultval=no
10542 fi
10543 fi
10544
10545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10547 # Check whether --enable-datepick was given.
10548 if test "${enable_datepick+set}" = set; then
10549 enableval=$enable_datepick;
10550 if test "$enableval" = yes; then
10551 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10552 else
10553 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10554 fi
10555
10556 else
10557
10558 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10559
10560 fi
10561
10562
10563 eval "$wx_cv_use_datepick"
10564
10565 if test x"$enablestring" = xdisable; then
10566 if test $wxUSE_DATEPICKCTRL = no; then
10567 result=yes
10568 else
10569 result=no
10570 fi
10571 else
10572 result=$wxUSE_DATEPICKCTRL
10573 fi
10574
10575 { echo "$as_me:$LINENO: result: $result" >&5
10576 echo "${ECHO_T}$result" >&6; }
10577
10578
10579 enablestring=
10580 defaultval=$wxUSE_ALL_FEATURES
10581 if test -z "$defaultval"; then
10582 if test x"$enablestring" = xdisable; then
10583 defaultval=yes
10584 else
10585 defaultval=no
10586 fi
10587 fi
10588
10589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10590 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10591 # Check whether --enable-detect_sm was given.
10592 if test "${enable_detect_sm+set}" = set; then
10593 enableval=$enable_detect_sm;
10594 if test "$enableval" = yes; then
10595 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10596 else
10597 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10598 fi
10599
10600 else
10601
10602 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10603
10604 fi
10605
10606
10607 eval "$wx_cv_use_detect_sm"
10608
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_DETECT_SM = no; then
10611 result=yes
10612 else
10613 result=no
10614 fi
10615 else
10616 result=$wxUSE_DETECT_SM
10617 fi
10618
10619 { echo "$as_me:$LINENO: result: $result" >&5
10620 echo "${ECHO_T}$result" >&6; }
10621
10622
10623 enablestring=
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10627 defaultval=yes
10628 else
10629 defaultval=no
10630 fi
10631 fi
10632
10633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10635 # Check whether --enable-dirpicker was given.
10636 if test "${enable_dirpicker+set}" = set; then
10637 enableval=$enable_dirpicker;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10640 else
10641 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10642 fi
10643
10644 else
10645
10646 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10647
10648 fi
10649
10650
10651 eval "$wx_cv_use_dirpicker"
10652
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_DIRPICKERCTRL = no; then
10655 result=yes
10656 else
10657 result=no
10658 fi
10659 else
10660 result=$wxUSE_DIRPICKERCTRL
10661 fi
10662
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10665
10666
10667 enablestring=
10668 defaultval=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x"$enablestring" = xdisable; then
10671 defaultval=yes
10672 else
10673 defaultval=no
10674 fi
10675 fi
10676
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10679 # Check whether --enable-display was given.
10680 if test "${enable_display+set}" = set; then
10681 enableval=$enable_display;
10682 if test "$enableval" = yes; then
10683 wx_cv_use_display='wxUSE_DISPLAY=yes'
10684 else
10685 wx_cv_use_display='wxUSE_DISPLAY=no'
10686 fi
10687
10688 else
10689
10690 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10691
10692 fi
10693
10694
10695 eval "$wx_cv_use_display"
10696
10697 if test x"$enablestring" = xdisable; then
10698 if test $wxUSE_DISPLAY = no; then
10699 result=yes
10700 else
10701 result=no
10702 fi
10703 else
10704 result=$wxUSE_DISPLAY
10705 fi
10706
10707 { echo "$as_me:$LINENO: result: $result" >&5
10708 echo "${ECHO_T}$result" >&6; }
10709
10710
10711 enablestring=
10712 defaultval=$wxUSE_ALL_FEATURES
10713 if test -z "$defaultval"; then
10714 if test x"$enablestring" = xdisable; then
10715 defaultval=yes
10716 else
10717 defaultval=no
10718 fi
10719 fi
10720
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10723 # Check whether --enable-editablebox was given.
10724 if test "${enable_editablebox+set}" = set; then
10725 enableval=$enable_editablebox;
10726 if test "$enableval" = yes; then
10727 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10728 else
10729 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10730 fi
10731
10732 else
10733
10734 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10735
10736 fi
10737
10738
10739 eval "$wx_cv_use_editablebox"
10740
10741 if test x"$enablestring" = xdisable; then
10742 if test $wxUSE_EDITABLELISTBOX = no; then
10743 result=yes
10744 else
10745 result=no
10746 fi
10747 else
10748 result=$wxUSE_EDITABLELISTBOX
10749 fi
10750
10751 { echo "$as_me:$LINENO: result: $result" >&5
10752 echo "${ECHO_T}$result" >&6; }
10753
10754
10755 enablestring=
10756 defaultval=$wxUSE_ALL_FEATURES
10757 if test -z "$defaultval"; then
10758 if test x"$enablestring" = xdisable; then
10759 defaultval=yes
10760 else
10761 defaultval=no
10762 fi
10763 fi
10764
10765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10766 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10767 # Check whether --enable-filectrl was given.
10768 if test "${enable_filectrl+set}" = set; then
10769 enableval=$enable_filectrl;
10770 if test "$enableval" = yes; then
10771 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10772 else
10773 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10774 fi
10775
10776 else
10777
10778 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10779
10780 fi
10781
10782
10783 eval "$wx_cv_use_filectrl"
10784
10785 if test x"$enablestring" = xdisable; then
10786 if test $wxUSE_FILECTRL = no; then
10787 result=yes
10788 else
10789 result=no
10790 fi
10791 else
10792 result=$wxUSE_FILECTRL
10793 fi
10794
10795 { echo "$as_me:$LINENO: result: $result" >&5
10796 echo "${ECHO_T}$result" >&6; }
10797
10798
10799 enablestring=
10800 defaultval=$wxUSE_ALL_FEATURES
10801 if test -z "$defaultval"; then
10802 if test x"$enablestring" = xdisable; then
10803 defaultval=yes
10804 else
10805 defaultval=no
10806 fi
10807 fi
10808
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10811 # Check whether --enable-filepicker was given.
10812 if test "${enable_filepicker+set}" = set; then
10813 enableval=$enable_filepicker;
10814 if test "$enableval" = yes; then
10815 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10816 else
10817 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10818 fi
10819
10820 else
10821
10822 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10823
10824 fi
10825
10826
10827 eval "$wx_cv_use_filepicker"
10828
10829 if test x"$enablestring" = xdisable; then
10830 if test $wxUSE_FILEPICKERCTRL = no; then
10831 result=yes
10832 else
10833 result=no
10834 fi
10835 else
10836 result=$wxUSE_FILEPICKERCTRL
10837 fi
10838
10839 { echo "$as_me:$LINENO: result: $result" >&5
10840 echo "${ECHO_T}$result" >&6; }
10841
10842
10843 enablestring=
10844 defaultval=$wxUSE_ALL_FEATURES
10845 if test -z "$defaultval"; then
10846 if test x"$enablestring" = xdisable; then
10847 defaultval=yes
10848 else
10849 defaultval=no
10850 fi
10851 fi
10852
10853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10855 # Check whether --enable-fontpicker was given.
10856 if test "${enable_fontpicker+set}" = set; then
10857 enableval=$enable_fontpicker;
10858 if test "$enableval" = yes; then
10859 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10860 else
10861 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10862 fi
10863
10864 else
10865
10866 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10867
10868 fi
10869
10870
10871 eval "$wx_cv_use_fontpicker"
10872
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_FONTPICKERCTRL = no; then
10875 result=yes
10876 else
10877 result=no
10878 fi
10879 else
10880 result=$wxUSE_FONTPICKERCTRL
10881 fi
10882
10883 { echo "$as_me:$LINENO: result: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10885
10886
10887 enablestring=
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10891 defaultval=yes
10892 else
10893 defaultval=no
10894 fi
10895 fi
10896
10897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10899 # Check whether --enable-gauge was given.
10900 if test "${enable_gauge+set}" = set; then
10901 enableval=$enable_gauge;
10902 if test "$enableval" = yes; then
10903 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10904 else
10905 wx_cv_use_gauge='wxUSE_GAUGE=no'
10906 fi
10907
10908 else
10909
10910 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10911
10912 fi
10913
10914
10915 eval "$wx_cv_use_gauge"
10916
10917 if test x"$enablestring" = xdisable; then
10918 if test $wxUSE_GAUGE = no; then
10919 result=yes
10920 else
10921 result=no
10922 fi
10923 else
10924 result=$wxUSE_GAUGE
10925 fi
10926
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10929
10930
10931 enablestring=
10932 defaultval=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x"$enablestring" = xdisable; then
10935 defaultval=yes
10936 else
10937 defaultval=no
10938 fi
10939 fi
10940
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10943 # Check whether --enable-grid was given.
10944 if test "${enable_grid+set}" = set; then
10945 enableval=$enable_grid;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_grid='wxUSE_GRID=yes'
10948 else
10949 wx_cv_use_grid='wxUSE_GRID=no'
10950 fi
10951
10952 else
10953
10954 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10955
10956 fi
10957
10958
10959 eval "$wx_cv_use_grid"
10960
10961 if test x"$enablestring" = xdisable; then
10962 if test $wxUSE_GRID = no; then
10963 result=yes
10964 else
10965 result=no
10966 fi
10967 else
10968 result=$wxUSE_GRID
10969 fi
10970
10971 { echo "$as_me:$LINENO: result: $result" >&5
10972 echo "${ECHO_T}$result" >&6; }
10973
10974
10975 enablestring=
10976 defaultval=$wxUSE_ALL_FEATURES
10977 if test -z "$defaultval"; then
10978 if test x"$enablestring" = xdisable; then
10979 defaultval=yes
10980 else
10981 defaultval=no
10982 fi
10983 fi
10984
10985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10986 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10987 # Check whether --enable-headerctrl was given.
10988 if test "${enable_headerctrl+set}" = set; then
10989 enableval=$enable_headerctrl;
10990 if test "$enableval" = yes; then
10991 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10992 else
10993 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10994 fi
10995
10996 else
10997
10998 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10999
11000 fi
11001
11002
11003 eval "$wx_cv_use_headerctrl"
11004
11005 if test x"$enablestring" = xdisable; then
11006 if test $wxUSE_HEADERCTRL = no; then
11007 result=yes
11008 else
11009 result=no
11010 fi
11011 else
11012 result=$wxUSE_HEADERCTRL
11013 fi
11014
11015 { echo "$as_me:$LINENO: result: $result" >&5
11016 echo "${ECHO_T}$result" >&6; }
11017
11018
11019 enablestring=
11020 defaultval=$wxUSE_ALL_FEATURES
11021 if test -z "$defaultval"; then
11022 if test x"$enablestring" = xdisable; then
11023 defaultval=yes
11024 else
11025 defaultval=no
11026 fi
11027 fi
11028
11029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11030 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11031 # Check whether --enable-hyperlink was given.
11032 if test "${enable_hyperlink+set}" = set; then
11033 enableval=$enable_hyperlink;
11034 if test "$enableval" = yes; then
11035 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11036 else
11037 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11038 fi
11039
11040 else
11041
11042 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11043
11044 fi
11045
11046
11047 eval "$wx_cv_use_hyperlink"
11048
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_HYPERLINKCTRL = no; then
11051 result=yes
11052 else
11053 result=no
11054 fi
11055 else
11056 result=$wxUSE_HYPERLINKCTRL
11057 fi
11058
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11061
11062
11063 enablestring=
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11067 defaultval=yes
11068 else
11069 defaultval=no
11070 fi
11071 fi
11072
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11075 # Check whether --enable-imaglist was given.
11076 if test "${enable_imaglist+set}" = set; then
11077 enableval=$enable_imaglist;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11080 else
11081 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11082 fi
11083
11084 else
11085
11086 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11087
11088 fi
11089
11090
11091 eval "$wx_cv_use_imaglist"
11092
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_IMAGLIST = no; then
11095 result=yes
11096 else
11097 result=no
11098 fi
11099 else
11100 result=$wxUSE_IMAGLIST
11101 fi
11102
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11105
11106
11107 enablestring=
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11111 defaultval=yes
11112 else
11113 defaultval=no
11114 fi
11115 fi
11116
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11119 # Check whether --enable-infobar was given.
11120 if test "${enable_infobar+set}" = set; then
11121 enableval=$enable_infobar;
11122 if test "$enableval" = yes; then
11123 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11124 else
11125 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11126 fi
11127
11128 else
11129
11130 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11131
11132 fi
11133
11134
11135 eval "$wx_cv_use_infobar"
11136
11137 if test x"$enablestring" = xdisable; then
11138 if test $wxUSE_INFOBAR = no; then
11139 result=yes
11140 else
11141 result=no
11142 fi
11143 else
11144 result=$wxUSE_INFOBAR
11145 fi
11146
11147 { echo "$as_me:$LINENO: result: $result" >&5
11148 echo "${ECHO_T}$result" >&6; }
11149
11150
11151 enablestring=
11152 defaultval=$wxUSE_ALL_FEATURES
11153 if test -z "$defaultval"; then
11154 if test x"$enablestring" = xdisable; then
11155 defaultval=yes
11156 else
11157 defaultval=no
11158 fi
11159 fi
11160
11161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11162 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11163 # Check whether --enable-listbook was given.
11164 if test "${enable_listbook+set}" = set; then
11165 enableval=$enable_listbook;
11166 if test "$enableval" = yes; then
11167 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11168 else
11169 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11170 fi
11171
11172 else
11173
11174 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11175
11176 fi
11177
11178
11179 eval "$wx_cv_use_listbook"
11180
11181 if test x"$enablestring" = xdisable; then
11182 if test $wxUSE_LISTBOOK = no; then
11183 result=yes
11184 else
11185 result=no
11186 fi
11187 else
11188 result=$wxUSE_LISTBOOK
11189 fi
11190
11191 { echo "$as_me:$LINENO: result: $result" >&5
11192 echo "${ECHO_T}$result" >&6; }
11193
11194
11195 enablestring=
11196 defaultval=$wxUSE_ALL_FEATURES
11197 if test -z "$defaultval"; then
11198 if test x"$enablestring" = xdisable; then
11199 defaultval=yes
11200 else
11201 defaultval=no
11202 fi
11203 fi
11204
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11207 # Check whether --enable-listbox was given.
11208 if test "${enable_listbox+set}" = set; then
11209 enableval=$enable_listbox;
11210 if test "$enableval" = yes; then
11211 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11212 else
11213 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11214 fi
11215
11216 else
11217
11218 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11219
11220 fi
11221
11222
11223 eval "$wx_cv_use_listbox"
11224
11225 if test x"$enablestring" = xdisable; then
11226 if test $wxUSE_LISTBOX = no; then
11227 result=yes
11228 else
11229 result=no
11230 fi
11231 else
11232 result=$wxUSE_LISTBOX
11233 fi
11234
11235 { echo "$as_me:$LINENO: result: $result" >&5
11236 echo "${ECHO_T}$result" >&6; }
11237
11238
11239 enablestring=
11240 defaultval=$wxUSE_ALL_FEATURES
11241 if test -z "$defaultval"; then
11242 if test x"$enablestring" = xdisable; then
11243 defaultval=yes
11244 else
11245 defaultval=no
11246 fi
11247 fi
11248
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11251 # Check whether --enable-listctrl was given.
11252 if test "${enable_listctrl+set}" = set; then
11253 enableval=$enable_listctrl;
11254 if test "$enableval" = yes; then
11255 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11256 else
11257 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11258 fi
11259
11260 else
11261
11262 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11263
11264 fi
11265
11266
11267 eval "$wx_cv_use_listctrl"
11268
11269 if test x"$enablestring" = xdisable; then
11270 if test $wxUSE_LISTCTRL = no; then
11271 result=yes
11272 else
11273 result=no
11274 fi
11275 else
11276 result=$wxUSE_LISTCTRL
11277 fi
11278
11279 { echo "$as_me:$LINENO: result: $result" >&5
11280 echo "${ECHO_T}$result" >&6; }
11281
11282
11283 enablestring=
11284 defaultval=$wxUSE_ALL_FEATURES
11285 if test -z "$defaultval"; then
11286 if test x"$enablestring" = xdisable; then
11287 defaultval=yes
11288 else
11289 defaultval=no
11290 fi
11291 fi
11292
11293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11294 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11295 # Check whether --enable-notebook was given.
11296 if test "${enable_notebook+set}" = set; then
11297 enableval=$enable_notebook;
11298 if test "$enableval" = yes; then
11299 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11300 else
11301 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11302 fi
11303
11304 else
11305
11306 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11307
11308 fi
11309
11310
11311 eval "$wx_cv_use_notebook"
11312
11313 if test x"$enablestring" = xdisable; then
11314 if test $wxUSE_NOTEBOOK = no; then
11315 result=yes
11316 else
11317 result=no
11318 fi
11319 else
11320 result=$wxUSE_NOTEBOOK
11321 fi
11322
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11325
11326
11327 enablestring=
11328 defaultval=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x"$enablestring" = xdisable; then
11331 defaultval=yes
11332 else
11333 defaultval=no
11334 fi
11335 fi
11336
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11339 # Check whether --enable-notifmsg was given.
11340 if test "${enable_notifmsg+set}" = set; then
11341 enableval=$enable_notifmsg;
11342 if test "$enableval" = yes; then
11343 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11344 else
11345 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11346 fi
11347
11348 else
11349
11350 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11351
11352 fi
11353
11354
11355 eval "$wx_cv_use_notifmsg"
11356
11357 if test x"$enablestring" = xdisable; then
11358 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11359 result=yes
11360 else
11361 result=no
11362 fi
11363 else
11364 result=$wxUSE_NOTIFICATION_MESSAGE
11365 fi
11366
11367 { echo "$as_me:$LINENO: result: $result" >&5
11368 echo "${ECHO_T}$result" >&6; }
11369
11370
11371 enablestring=
11372 defaultval=$wxUSE_ALL_FEATURES
11373 if test -z "$defaultval"; then
11374 if test x"$enablestring" = xdisable; then
11375 defaultval=yes
11376 else
11377 defaultval=no
11378 fi
11379 fi
11380
11381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11383 # Check whether --enable-odcombobox was given.
11384 if test "${enable_odcombobox+set}" = set; then
11385 enableval=$enable_odcombobox;
11386 if test "$enableval" = yes; then
11387 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11388 else
11389 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11390 fi
11391
11392 else
11393
11394 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11395
11396 fi
11397
11398
11399 eval "$wx_cv_use_odcombobox"
11400
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_ODCOMBOBOX = no; then
11403 result=yes
11404 else
11405 result=no
11406 fi
11407 else
11408 result=$wxUSE_ODCOMBOBOX
11409 fi
11410
11411 { echo "$as_me:$LINENO: result: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11413
11414
11415 enablestring=
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11419 defaultval=yes
11420 else
11421 defaultval=no
11422 fi
11423 fi
11424
11425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11426 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11427 # Check whether --enable-popupwin was given.
11428 if test "${enable_popupwin+set}" = set; then
11429 enableval=$enable_popupwin;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11432 else
11433 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11434 fi
11435
11436 else
11437
11438 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11439
11440 fi
11441
11442
11443 eval "$wx_cv_use_popupwin"
11444
11445 if test x"$enablestring" = xdisable; then
11446 if test $wxUSE_POPUPWIN = no; then
11447 result=yes
11448 else
11449 result=no
11450 fi
11451 else
11452 result=$wxUSE_POPUPWIN
11453 fi
11454
11455 { echo "$as_me:$LINENO: result: $result" >&5
11456 echo "${ECHO_T}$result" >&6; }
11457
11458
11459 enablestring=
11460 defaultval=$wxUSE_ALL_FEATURES
11461 if test -z "$defaultval"; then
11462 if test x"$enablestring" = xdisable; then
11463 defaultval=yes
11464 else
11465 defaultval=no
11466 fi
11467 fi
11468
11469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11470 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11471 # Check whether --enable-radiobox was given.
11472 if test "${enable_radiobox+set}" = set; then
11473 enableval=$enable_radiobox;
11474 if test "$enableval" = yes; then
11475 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11476 else
11477 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11478 fi
11479
11480 else
11481
11482 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11483
11484 fi
11485
11486
11487 eval "$wx_cv_use_radiobox"
11488
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_RADIOBOX = no; then
11491 result=yes
11492 else
11493 result=no
11494 fi
11495 else
11496 result=$wxUSE_RADIOBOX
11497 fi
11498
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11501
11502
11503 enablestring=
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11507 defaultval=yes
11508 else
11509 defaultval=no
11510 fi
11511 fi
11512
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11515 # Check whether --enable-radiobtn was given.
11516 if test "${enable_radiobtn+set}" = set; then
11517 enableval=$enable_radiobtn;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11520 else
11521 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11522 fi
11523
11524 else
11525
11526 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11527
11528 fi
11529
11530
11531 eval "$wx_cv_use_radiobtn"
11532
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_RADIOBTN = no; then
11535 result=yes
11536 else
11537 result=no
11538 fi
11539 else
11540 result=$wxUSE_RADIOBTN
11541 fi
11542
11543 { echo "$as_me:$LINENO: result: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11545
11546
11547 enablestring=
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11551 defaultval=yes
11552 else
11553 defaultval=no
11554 fi
11555 fi
11556
11557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11558 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11559 # Check whether --enable-richmsgdlg was given.
11560 if test "${enable_richmsgdlg+set}" = set; then
11561 enableval=$enable_richmsgdlg;
11562 if test "$enableval" = yes; then
11563 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11564 else
11565 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11566 fi
11567
11568 else
11569
11570 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11571
11572 fi
11573
11574
11575 eval "$wx_cv_use_richmsgdlg"
11576
11577 if test x"$enablestring" = xdisable; then
11578 if test $wxUSE_RICHMSGDLG = no; then
11579 result=yes
11580 else
11581 result=no
11582 fi
11583 else
11584 result=$wxUSE_RICHMSGDLG
11585 fi
11586
11587 { echo "$as_me:$LINENO: result: $result" >&5
11588 echo "${ECHO_T}$result" >&6; }
11589
11590
11591 enablestring=
11592 defaultval=$wxUSE_ALL_FEATURES
11593 if test -z "$defaultval"; then
11594 if test x"$enablestring" = xdisable; then
11595 defaultval=yes
11596 else
11597 defaultval=no
11598 fi
11599 fi
11600
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11603 # Check whether --enable-rearrangectrl was given.
11604 if test "${enable_rearrangectrl+set}" = set; then
11605 enableval=$enable_rearrangectrl;
11606 if test "$enableval" = yes; then
11607 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11608 else
11609 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11610 fi
11611
11612 else
11613
11614 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11615
11616 fi
11617
11618
11619 eval "$wx_cv_use_rearrangectrl"
11620
11621 if test x"$enablestring" = xdisable; then
11622 if test $wxUSE_REARRANGECTRL = no; then
11623 result=yes
11624 else
11625 result=no
11626 fi
11627 else
11628 result=$wxUSE_REARRANGECTRL
11629 fi
11630
11631 { echo "$as_me:$LINENO: result: $result" >&5
11632 echo "${ECHO_T}$result" >&6; }
11633
11634
11635 enablestring=
11636 defaultval=$wxUSE_ALL_FEATURES
11637 if test -z "$defaultval"; then
11638 if test x"$enablestring" = xdisable; then
11639 defaultval=yes
11640 else
11641 defaultval=no
11642 fi
11643 fi
11644
11645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11646 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11647 # Check whether --enable-sash was given.
11648 if test "${enable_sash+set}" = set; then
11649 enableval=$enable_sash;
11650 if test "$enableval" = yes; then
11651 wx_cv_use_sash='wxUSE_SASH=yes'
11652 else
11653 wx_cv_use_sash='wxUSE_SASH=no'
11654 fi
11655
11656 else
11657
11658 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11659
11660 fi
11661
11662
11663 eval "$wx_cv_use_sash"
11664
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_SASH = no; then
11667 result=yes
11668 else
11669 result=no
11670 fi
11671 else
11672 result=$wxUSE_SASH
11673 fi
11674
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11677
11678
11679 enablestring=
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11683 defaultval=yes
11684 else
11685 defaultval=no
11686 fi
11687 fi
11688
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11691 # Check whether --enable-scrollbar was given.
11692 if test "${enable_scrollbar+set}" = set; then
11693 enableval=$enable_scrollbar;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11696 else
11697 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11698 fi
11699
11700 else
11701
11702 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11703
11704 fi
11705
11706
11707 eval "$wx_cv_use_scrollbar"
11708
11709 if test x"$enablestring" = xdisable; then
11710 if test $wxUSE_SCROLLBAR = no; then
11711 result=yes
11712 else
11713 result=no
11714 fi
11715 else
11716 result=$wxUSE_SCROLLBAR
11717 fi
11718
11719 { echo "$as_me:$LINENO: result: $result" >&5
11720 echo "${ECHO_T}$result" >&6; }
11721
11722
11723 enablestring=
11724 defaultval=$wxUSE_ALL_FEATURES
11725 if test -z "$defaultval"; then
11726 if test x"$enablestring" = xdisable; then
11727 defaultval=yes
11728 else
11729 defaultval=no
11730 fi
11731 fi
11732
11733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11734 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11735 # Check whether --enable-searchctrl was given.
11736 if test "${enable_searchctrl+set}" = set; then
11737 enableval=$enable_searchctrl;
11738 if test "$enableval" = yes; then
11739 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11740 else
11741 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11742 fi
11743
11744 else
11745
11746 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11747
11748 fi
11749
11750
11751 eval "$wx_cv_use_searchctrl"
11752
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_SEARCHCTRL = no; then
11755 result=yes
11756 else
11757 result=no
11758 fi
11759 else
11760 result=$wxUSE_SEARCHCTRL
11761 fi
11762
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11765
11766
11767 enablestring=
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11771 defaultval=yes
11772 else
11773 defaultval=no
11774 fi
11775 fi
11776
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11779 # Check whether --enable-slider was given.
11780 if test "${enable_slider+set}" = set; then
11781 enableval=$enable_slider;
11782 if test "$enableval" = yes; then
11783 wx_cv_use_slider='wxUSE_SLIDER=yes'
11784 else
11785 wx_cv_use_slider='wxUSE_SLIDER=no'
11786 fi
11787
11788 else
11789
11790 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11791
11792 fi
11793
11794
11795 eval "$wx_cv_use_slider"
11796
11797 if test x"$enablestring" = xdisable; then
11798 if test $wxUSE_SLIDER = no; then
11799 result=yes
11800 else
11801 result=no
11802 fi
11803 else
11804 result=$wxUSE_SLIDER
11805 fi
11806
11807 { echo "$as_me:$LINENO: result: $result" >&5
11808 echo "${ECHO_T}$result" >&6; }
11809
11810
11811 enablestring=
11812 defaultval=$wxUSE_ALL_FEATURES
11813 if test -z "$defaultval"; then
11814 if test x"$enablestring" = xdisable; then
11815 defaultval=yes
11816 else
11817 defaultval=no
11818 fi
11819 fi
11820
11821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11822 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11823 # Check whether --enable-spinbtn was given.
11824 if test "${enable_spinbtn+set}" = set; then
11825 enableval=$enable_spinbtn;
11826 if test "$enableval" = yes; then
11827 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11828 else
11829 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11830 fi
11831
11832 else
11833
11834 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11835
11836 fi
11837
11838
11839 eval "$wx_cv_use_spinbtn"
11840
11841 if test x"$enablestring" = xdisable; then
11842 if test $wxUSE_SPINBTN = no; then
11843 result=yes
11844 else
11845 result=no
11846 fi
11847 else
11848 result=$wxUSE_SPINBTN
11849 fi
11850
11851 { echo "$as_me:$LINENO: result: $result" >&5
11852 echo "${ECHO_T}$result" >&6; }
11853
11854
11855 enablestring=
11856 defaultval=$wxUSE_ALL_FEATURES
11857 if test -z "$defaultval"; then
11858 if test x"$enablestring" = xdisable; then
11859 defaultval=yes
11860 else
11861 defaultval=no
11862 fi
11863 fi
11864
11865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11866 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11867 # Check whether --enable-spinctrl was given.
11868 if test "${enable_spinctrl+set}" = set; then
11869 enableval=$enable_spinctrl;
11870 if test "$enableval" = yes; then
11871 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11872 else
11873 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11874 fi
11875
11876 else
11877
11878 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11879
11880 fi
11881
11882
11883 eval "$wx_cv_use_spinctrl"
11884
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_SPINCTRL = no; then
11887 result=yes
11888 else
11889 result=no
11890 fi
11891 else
11892 result=$wxUSE_SPINCTRL
11893 fi
11894
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11897
11898
11899 enablestring=
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11903 defaultval=yes
11904 else
11905 defaultval=no
11906 fi
11907 fi
11908
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11911 # Check whether --enable-splitter was given.
11912 if test "${enable_splitter+set}" = set; then
11913 enableval=$enable_splitter;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11916 else
11917 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11918 fi
11919
11920 else
11921
11922 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11923
11924 fi
11925
11926
11927 eval "$wx_cv_use_splitter"
11928
11929 if test x"$enablestring" = xdisable; then
11930 if test $wxUSE_SPLITTER = no; then
11931 result=yes
11932 else
11933 result=no
11934 fi
11935 else
11936 result=$wxUSE_SPLITTER
11937 fi
11938
11939 { echo "$as_me:$LINENO: result: $result" >&5
11940 echo "${ECHO_T}$result" >&6; }
11941
11942
11943 enablestring=
11944 defaultval=$wxUSE_ALL_FEATURES
11945 if test -z "$defaultval"; then
11946 if test x"$enablestring" = xdisable; then
11947 defaultval=yes
11948 else
11949 defaultval=no
11950 fi
11951 fi
11952
11953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11954 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11955 # Check whether --enable-statbmp was given.
11956 if test "${enable_statbmp+set}" = set; then
11957 enableval=$enable_statbmp;
11958 if test "$enableval" = yes; then
11959 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11960 else
11961 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11962 fi
11963
11964 else
11965
11966 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11967
11968 fi
11969
11970
11971 eval "$wx_cv_use_statbmp"
11972
11973 if test x"$enablestring" = xdisable; then
11974 if test $wxUSE_STATBMP = no; then
11975 result=yes
11976 else
11977 result=no
11978 fi
11979 else
11980 result=$wxUSE_STATBMP
11981 fi
11982
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11985
11986
11987 enablestring=
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11991 defaultval=yes
11992 else
11993 defaultval=no
11994 fi
11995 fi
11996
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11999 # Check whether --enable-statbox was given.
12000 if test "${enable_statbox+set}" = set; then
12001 enableval=$enable_statbox;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12004 else
12005 wx_cv_use_statbox='wxUSE_STATBOX=no'
12006 fi
12007
12008 else
12009
12010 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12011
12012 fi
12013
12014
12015 eval "$wx_cv_use_statbox"
12016
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_STATBOX = no; then
12019 result=yes
12020 else
12021 result=no
12022 fi
12023 else
12024 result=$wxUSE_STATBOX
12025 fi
12026
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12029
12030
12031 enablestring=
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12035 defaultval=yes
12036 else
12037 defaultval=no
12038 fi
12039 fi
12040
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12043 # Check whether --enable-statline was given.
12044 if test "${enable_statline+set}" = set; then
12045 enableval=$enable_statline;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_statline='wxUSE_STATLINE=yes'
12048 else
12049 wx_cv_use_statline='wxUSE_STATLINE=no'
12050 fi
12051
12052 else
12053
12054 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12055
12056 fi
12057
12058
12059 eval "$wx_cv_use_statline"
12060
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_STATLINE = no; then
12063 result=yes
12064 else
12065 result=no
12066 fi
12067 else
12068 result=$wxUSE_STATLINE
12069 fi
12070
12071 { echo "$as_me:$LINENO: result: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12073
12074
12075 enablestring=
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12079 defaultval=yes
12080 else
12081 defaultval=no
12082 fi
12083 fi
12084
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12087 # Check whether --enable-stattext was given.
12088 if test "${enable_stattext+set}" = set; then
12089 enableval=$enable_stattext;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12092 else
12093 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12094 fi
12095
12096 else
12097
12098 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12099
12100 fi
12101
12102
12103 eval "$wx_cv_use_stattext"
12104
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_STATTEXT = no; then
12107 result=yes
12108 else
12109 result=no
12110 fi
12111 else
12112 result=$wxUSE_STATTEXT
12113 fi
12114
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12131 # Check whether --enable-statusbar was given.
12132 if test "${enable_statusbar+set}" = set; then
12133 enableval=$enable_statusbar;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12136 else
12137 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12138 fi
12139
12140 else
12141
12142 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12143
12144 fi
12145
12146
12147 eval "$wx_cv_use_statusbar"
12148
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_STATUSBAR = no; then
12151 result=yes
12152 else
12153 result=no
12154 fi
12155 else
12156 result=$wxUSE_STATUSBAR
12157 fi
12158
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12161
12162
12163 enablestring=
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12167 defaultval=yes
12168 else
12169 defaultval=no
12170 fi
12171 fi
12172
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12175 # Check whether --enable-taskbaricon was given.
12176 if test "${enable_taskbaricon+set}" = set; then
12177 enableval=$enable_taskbaricon;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12180 else
12181 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12182 fi
12183
12184 else
12185
12186 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12187
12188 fi
12189
12190
12191 eval "$wx_cv_use_taskbaricon"
12192
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_TASKBARICON = no; then
12195 result=yes
12196 else
12197 result=no
12198 fi
12199 else
12200 result=$wxUSE_TASKBARICON
12201 fi
12202
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12205
12206
12207 enablestring=
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12211 defaultval=yes
12212 else
12213 defaultval=no
12214 fi
12215 fi
12216
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12219 # Check whether --enable-tbarnative was given.
12220 if test "${enable_tbarnative+set}" = set; then
12221 enableval=$enable_tbarnative;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12224 else
12225 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12226 fi
12227
12228 else
12229
12230 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12231
12232 fi
12233
12234
12235 eval "$wx_cv_use_tbarnative"
12236
12237 if test x"$enablestring" = xdisable; then
12238 if test $wxUSE_TOOLBAR_NATIVE = no; then
12239 result=yes
12240 else
12241 result=no
12242 fi
12243 else
12244 result=$wxUSE_TOOLBAR_NATIVE
12245 fi
12246
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12249
12250
12251 enablestring=
12252 defaultval=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x"$enablestring" = xdisable; then
12255 defaultval=yes
12256 else
12257 defaultval=no
12258 fi
12259 fi
12260
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12263 # Check whether --enable-textctrl was given.
12264 if test "${enable_textctrl+set}" = set; then
12265 enableval=$enable_textctrl;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12268 else
12269 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12270 fi
12271
12272 else
12273
12274 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12275
12276 fi
12277
12278
12279 eval "$wx_cv_use_textctrl"
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_TEXTCTRL = no; then
12283 result=yes
12284 else
12285 result=no
12286 fi
12287 else
12288 result=$wxUSE_TEXTCTRL
12289 fi
12290
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12307 # Check whether --enable-tipwindow was given.
12308 if test "${enable_tipwindow+set}" = set; then
12309 enableval=$enable_tipwindow;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12312 else
12313 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12314 fi
12315
12316 else
12317
12318 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12319
12320 fi
12321
12322
12323 eval "$wx_cv_use_tipwindow"
12324
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_TIPWINDOW = no; then
12327 result=yes
12328 else
12329 result=no
12330 fi
12331 else
12332 result=$wxUSE_TIPWINDOW
12333 fi
12334
12335 { echo "$as_me:$LINENO: result: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12337
12338
12339 enablestring=
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12343 defaultval=yes
12344 else
12345 defaultval=no
12346 fi
12347 fi
12348
12349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12350 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12351 # Check whether --enable-togglebtn was given.
12352 if test "${enable_togglebtn+set}" = set; then
12353 enableval=$enable_togglebtn;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12356 else
12357 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12358 fi
12359
12360 else
12361
12362 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12363
12364 fi
12365
12366
12367 eval "$wx_cv_use_togglebtn"
12368
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_TOGGLEBTN = no; then
12371 result=yes
12372 else
12373 result=no
12374 fi
12375 else
12376 result=$wxUSE_TOGGLEBTN
12377 fi
12378
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12381
12382
12383 enablestring=
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12387 defaultval=yes
12388 else
12389 defaultval=no
12390 fi
12391 fi
12392
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12395 # Check whether --enable-toolbar was given.
12396 if test "${enable_toolbar+set}" = set; then
12397 enableval=$enable_toolbar;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12400 else
12401 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12402 fi
12403
12404 else
12405
12406 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12407
12408 fi
12409
12410
12411 eval "$wx_cv_use_toolbar"
12412
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_TOOLBAR = no; then
12415 result=yes
12416 else
12417 result=no
12418 fi
12419 else
12420 result=$wxUSE_TOOLBAR
12421 fi
12422
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12425
12426
12427 enablestring=
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12431 defaultval=yes
12432 else
12433 defaultval=no
12434 fi
12435 fi
12436
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12439 # Check whether --enable-toolbook was given.
12440 if test "${enable_toolbook+set}" = set; then
12441 enableval=$enable_toolbook;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12444 else
12445 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12446 fi
12447
12448 else
12449
12450 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12451
12452 fi
12453
12454
12455 eval "$wx_cv_use_toolbook"
12456
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_TOOLBOOK = no; then
12459 result=yes
12460 else
12461 result=no
12462 fi
12463 else
12464 result=$wxUSE_TOOLBOOK
12465 fi
12466
12467 { echo "$as_me:$LINENO: result: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12469
12470
12471 enablestring=
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12475 defaultval=yes
12476 else
12477 defaultval=no
12478 fi
12479 fi
12480
12481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12482 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12483 # Check whether --enable-treebook was given.
12484 if test "${enable_treebook+set}" = set; then
12485 enableval=$enable_treebook;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12488 else
12489 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12490 fi
12491
12492 else
12493
12494 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12495
12496 fi
12497
12498
12499 eval "$wx_cv_use_treebook"
12500
12501 if test x"$enablestring" = xdisable; then
12502 if test $wxUSE_TREEBOOK = no; then
12503 result=yes
12504 else
12505 result=no
12506 fi
12507 else
12508 result=$wxUSE_TREEBOOK
12509 fi
12510
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12513
12514
12515 enablestring=
12516 defaultval=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x"$enablestring" = xdisable; then
12519 defaultval=yes
12520 else
12521 defaultval=no
12522 fi
12523 fi
12524
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12527 # Check whether --enable-treectrl was given.
12528 if test "${enable_treectrl+set}" = set; then
12529 enableval=$enable_treectrl;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12532 else
12533 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12534 fi
12535
12536 else
12537
12538 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12539
12540 fi
12541
12542
12543 eval "$wx_cv_use_treectrl"
12544
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_TREECTRL = no; then
12547 result=yes
12548 else
12549 result=no
12550 fi
12551 else
12552 result=$wxUSE_TREECTRL
12553 fi
12554
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12557
12558
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12573 # Check whether --enable-commondlg was given.
12574 if test "${enable_commondlg+set}" = set; then
12575 enableval=$enable_commondlg;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12578 else
12579 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12580 fi
12581
12582 else
12583
12584 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_commondlg"
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_COMMONDLGS = no; then
12593 result=yes
12594 else
12595 result=no
12596 fi
12597 else
12598 result=$wxUSE_COMMONDLGS
12599 fi
12600
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12617 # Check whether --enable-aboutdlg was given.
12618 if test "${enable_aboutdlg+set}" = set; then
12619 enableval=$enable_aboutdlg;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12622 else
12623 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12624 fi
12625
12626 else
12627
12628 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12629
12630 fi
12631
12632
12633 eval "$wx_cv_use_aboutdlg"
12634
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_ABOUTDLG = no; then
12637 result=yes
12638 else
12639 result=no
12640 fi
12641 else
12642 result=$wxUSE_ABOUTDLG
12643 fi
12644
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12661 # Check whether --enable-choicedlg was given.
12662 if test "${enable_choicedlg+set}" = set; then
12663 enableval=$enable_choicedlg;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12666 else
12667 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_choicedlg"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_CHOICEDLG = no; then
12681 result=yes
12682 else
12683 result=no
12684 fi
12685 else
12686 result=$wxUSE_CHOICEDLG
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12705 # Check whether --enable-coldlg was given.
12706 if test "${enable_coldlg+set}" = set; then
12707 enableval=$enable_coldlg;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12710 else
12711 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_coldlg"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_COLOURDLG = no; then
12725 result=yes
12726 else
12727 result=no
12728 fi
12729 else
12730 result=$wxUSE_COLOURDLG
12731 fi
12732
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12749 # Check whether --enable-filedlg was given.
12750 if test "${enable_filedlg+set}" = set; then
12751 enableval=$enable_filedlg;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12754 else
12755 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_filedlg"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_FILEDLG = no; then
12769 result=yes
12770 else
12771 result=no
12772 fi
12773 else
12774 result=$wxUSE_FILEDLG
12775 fi
12776
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12793 # Check whether --enable-finddlg was given.
12794 if test "${enable_finddlg+set}" = set; then
12795 enableval=$enable_finddlg;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12798 else
12799 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_finddlg"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_FINDREPLDLG = no; then
12813 result=yes
12814 else
12815 result=no
12816 fi
12817 else
12818 result=$wxUSE_FINDREPLDLG
12819 fi
12820
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12837 # Check whether --enable-fontdlg was given.
12838 if test "${enable_fontdlg+set}" = set; then
12839 enableval=$enable_fontdlg;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12842 else
12843 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_fontdlg"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_FONTDLG = no; then
12857 result=yes
12858 else
12859 result=no
12860 fi
12861 else
12862 result=$wxUSE_FONTDLG
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869 enablestring=
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12873 defaultval=yes
12874 else
12875 defaultval=no
12876 fi
12877 fi
12878
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12881 # Check whether --enable-dirdlg was given.
12882 if test "${enable_dirdlg+set}" = set; then
12883 enableval=$enable_dirdlg;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12886 else
12887 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12888 fi
12889
12890 else
12891
12892 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12893
12894 fi
12895
12896
12897 eval "$wx_cv_use_dirdlg"
12898
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_DIRDLG = no; then
12901 result=yes
12902 else
12903 result=no
12904 fi
12905 else
12906 result=$wxUSE_DIRDLG
12907 fi
12908
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12911
12912
12913 enablestring=
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12917 defaultval=yes
12918 else
12919 defaultval=no
12920 fi
12921 fi
12922
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12925 # Check whether --enable-msgdlg was given.
12926 if test "${enable_msgdlg+set}" = set; then
12927 enableval=$enable_msgdlg;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12930 else
12931 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12932 fi
12933
12934 else
12935
12936 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12937
12938 fi
12939
12940
12941 eval "$wx_cv_use_msgdlg"
12942
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_MSGDLG = no; then
12945 result=yes
12946 else
12947 result=no
12948 fi
12949 else
12950 result=$wxUSE_MSGDLG
12951 fi
12952
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12955
12956
12957 enablestring=
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12961 defaultval=yes
12962 else
12963 defaultval=no
12964 fi
12965 fi
12966
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12969 # Check whether --enable-numberdlg was given.
12970 if test "${enable_numberdlg+set}" = set; then
12971 enableval=$enable_numberdlg;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12974 else
12975 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12976 fi
12977
12978 else
12979
12980 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12981
12982 fi
12983
12984
12985 eval "$wx_cv_use_numberdlg"
12986
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_NUMBERDLG = no; then
12989 result=yes
12990 else
12991 result=no
12992 fi
12993 else
12994 result=$wxUSE_NUMBERDLG
12995 fi
12996
12997 { echo "$as_me:$LINENO: result: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
12999
13000
13001 enablestring=
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13005 defaultval=yes
13006 else
13007 defaultval=no
13008 fi
13009 fi
13010
13011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13012 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13013 # Check whether --enable-splash was given.
13014 if test "${enable_splash+set}" = set; then
13015 enableval=$enable_splash;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_splash='wxUSE_SPLASH=yes'
13018 else
13019 wx_cv_use_splash='wxUSE_SPLASH=no'
13020 fi
13021
13022 else
13023
13024 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13025
13026 fi
13027
13028
13029 eval "$wx_cv_use_splash"
13030
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_SPLASH = no; then
13033 result=yes
13034 else
13035 result=no
13036 fi
13037 else
13038 result=$wxUSE_SPLASH
13039 fi
13040
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13043
13044
13045 enablestring=
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13049 defaultval=yes
13050 else
13051 defaultval=no
13052 fi
13053 fi
13054
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13057 # Check whether --enable-textdlg was given.
13058 if test "${enable_textdlg+set}" = set; then
13059 enableval=$enable_textdlg;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13062 else
13063 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13064 fi
13065
13066 else
13067
13068 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13069
13070 fi
13071
13072
13073 eval "$wx_cv_use_textdlg"
13074
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_TEXTDLG = no; then
13077 result=yes
13078 else
13079 result=no
13080 fi
13081 else
13082 result=$wxUSE_TEXTDLG
13083 fi
13084
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13087
13088
13089 enablestring=
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13093 defaultval=yes
13094 else
13095 defaultval=no
13096 fi
13097 fi
13098
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13101 # Check whether --enable-tipdlg was given.
13102 if test "${enable_tipdlg+set}" = set; then
13103 enableval=$enable_tipdlg;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13106 else
13107 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13108 fi
13109
13110 else
13111
13112 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13113
13114 fi
13115
13116
13117 eval "$wx_cv_use_tipdlg"
13118
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_STARTUP_TIPS = no; then
13121 result=yes
13122 else
13123 result=no
13124 fi
13125 else
13126 result=$wxUSE_STARTUP_TIPS
13127 fi
13128
13129 { echo "$as_me:$LINENO: result: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13131
13132
13133 enablestring=
13134 defaultval=$wxUSE_ALL_FEATURES
13135 if test -z "$defaultval"; then
13136 if test x"$enablestring" = xdisable; then
13137 defaultval=yes
13138 else
13139 defaultval=no
13140 fi
13141 fi
13142
13143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13144 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13145 # Check whether --enable-progressdlg was given.
13146 if test "${enable_progressdlg+set}" = set; then
13147 enableval=$enable_progressdlg;
13148 if test "$enableval" = yes; then
13149 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13150 else
13151 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13152 fi
13153
13154 else
13155
13156 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13157
13158 fi
13159
13160
13161 eval "$wx_cv_use_progressdlg"
13162
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_PROGRESSDLG = no; then
13165 result=yes
13166 else
13167 result=no
13168 fi
13169 else
13170 result=$wxUSE_PROGRESSDLG
13171 fi
13172
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13175
13176
13177 enablestring=
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13181 defaultval=yes
13182 else
13183 defaultval=no
13184 fi
13185 fi
13186
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13189 # Check whether --enable-wizarddlg was given.
13190 if test "${enable_wizarddlg+set}" = set; then
13191 enableval=$enable_wizarddlg;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13194 else
13195 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13196 fi
13197
13198 else
13199
13200 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13201
13202 fi
13203
13204
13205 eval "$wx_cv_use_wizarddlg"
13206
13207 if test x"$enablestring" = xdisable; then
13208 if test $wxUSE_WIZARDDLG = no; then
13209 result=yes
13210 else
13211 result=no
13212 fi
13213 else
13214 result=$wxUSE_WIZARDDLG
13215 fi
13216
13217 { echo "$as_me:$LINENO: result: $result" >&5
13218 echo "${ECHO_T}$result" >&6; }
13219
13220
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13235 # Check whether --enable-menus was given.
13236 if test "${enable_menus+set}" = set; then
13237 enableval=$enable_menus;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_menus='wxUSE_MENUS=yes'
13240 else
13241 wx_cv_use_menus='wxUSE_MENUS=no'
13242 fi
13243
13244 else
13245
13246 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13247
13248 fi
13249
13250
13251 eval "$wx_cv_use_menus"
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_MENUS = no; then
13255 result=yes
13256 else
13257 result=no
13258 fi
13259 else
13260 result=$wxUSE_MENUS
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13279 # Check whether --enable-miniframe was given.
13280 if test "${enable_miniframe+set}" = set; then
13281 enableval=$enable_miniframe;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13284 else
13285 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_miniframe"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_MINIFRAME = no; then
13299 result=yes
13300 else
13301 result=no
13302 fi
13303 else
13304 result=$wxUSE_MINIFRAME
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13323 # Check whether --enable-tooltips was given.
13324 if test "${enable_tooltips+set}" = set; then
13325 enableval=$enable_tooltips;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13328 else
13329 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_tooltips"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_TOOLTIPS = no; then
13343 result=yes
13344 else
13345 result=no
13346 fi
13347 else
13348 result=$wxUSE_TOOLTIPS
13349 fi
13350
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13353
13354
13355 enablestring=
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13359 defaultval=yes
13360 else
13361 defaultval=no
13362 fi
13363 fi
13364
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13367 # Check whether --enable-splines was given.
13368 if test "${enable_splines+set}" = set; then
13369 enableval=$enable_splines;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_splines='wxUSE_SPLINES=yes'
13372 else
13373 wx_cv_use_splines='wxUSE_SPLINES=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_splines"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_SPLINES = no; then
13387 result=yes
13388 else
13389 result=no
13390 fi
13391 else
13392 result=$wxUSE_SPLINES
13393 fi
13394
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13397
13398
13399 enablestring=
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13403 defaultval=yes
13404 else
13405 defaultval=no
13406 fi
13407 fi
13408
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13411 # Check whether --enable-mousewheel was given.
13412 if test "${enable_mousewheel+set}" = set; then
13413 enableval=$enable_mousewheel;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13416 else
13417 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_mousewheel"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_MOUSEWHEEL = no; then
13431 result=yes
13432 else
13433 result=no
13434 fi
13435 else
13436 result=$wxUSE_MOUSEWHEEL
13437 fi
13438
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13441
13442
13443 enablestring=
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13447 defaultval=yes
13448 else
13449 defaultval=no
13450 fi
13451 fi
13452
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13455 # Check whether --enable-validators was given.
13456 if test "${enable_validators+set}" = set; then
13457 enableval=$enable_validators;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13460 else
13461 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_validators"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_VALIDATORS = no; then
13475 result=yes
13476 else
13477 result=no
13478 fi
13479 else
13480 result=$wxUSE_VALIDATORS
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13499 # Check whether --enable-busyinfo was given.
13500 if test "${enable_busyinfo+set}" = set; then
13501 enableval=$enable_busyinfo;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13504 else
13505 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_busyinfo"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_BUSYINFO = no; then
13519 result=yes
13520 else
13521 result=no
13522 fi
13523 else
13524 result=$wxUSE_BUSYINFO
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531 enablestring=
13532 defaultval=$wxUSE_ALL_FEATURES
13533 if test -z "$defaultval"; then
13534 if test x"$enablestring" = xdisable; then
13535 defaultval=yes
13536 else
13537 defaultval=no
13538 fi
13539 fi
13540
13541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13542 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13543 # Check whether --enable-joystick was given.
13544 if test "${enable_joystick+set}" = set; then
13545 enableval=$enable_joystick;
13546 if test "$enableval" = yes; then
13547 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13548 else
13549 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13550 fi
13551
13552 else
13553
13554 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13555
13556 fi
13557
13558
13559 eval "$wx_cv_use_joystick"
13560
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_JOYSTICK = no; then
13563 result=yes
13564 else
13565 result=no
13566 fi
13567 else
13568 result=$wxUSE_JOYSTICK
13569 fi
13570
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13573
13574
13575 enablestring=
13576 defaultval=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x"$enablestring" = xdisable; then
13579 defaultval=yes
13580 else
13581 defaultval=no
13582 fi
13583 fi
13584
13585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13586 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13587 # Check whether --enable-metafile was given.
13588 if test "${enable_metafile+set}" = set; then
13589 enableval=$enable_metafile;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13592 else
13593 wx_cv_use_metafile='wxUSE_METAFILE=no'
13594 fi
13595
13596 else
13597
13598 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13599
13600 fi
13601
13602
13603 eval "$wx_cv_use_metafile"
13604
13605 if test x"$enablestring" = xdisable; then
13606 if test $wxUSE_METAFILE = no; then
13607 result=yes
13608 else
13609 result=no
13610 fi
13611 else
13612 result=$wxUSE_METAFILE
13613 fi
13614
13615 { echo "$as_me:$LINENO: result: $result" >&5
13616 echo "${ECHO_T}$result" >&6; }
13617
13618
13619 enablestring=
13620 defaultval=$wxUSE_ALL_FEATURES
13621 if test -z "$defaultval"; then
13622 if test x"$enablestring" = xdisable; then
13623 defaultval=yes
13624 else
13625 defaultval=no
13626 fi
13627 fi
13628
13629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13630 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13631 # Check whether --enable-dragimage was given.
13632 if test "${enable_dragimage+set}" = set; then
13633 enableval=$enable_dragimage;
13634 if test "$enableval" = yes; then
13635 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13636 else
13637 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13638 fi
13639
13640 else
13641
13642 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13643
13644 fi
13645
13646
13647 eval "$wx_cv_use_dragimage"
13648
13649 if test x"$enablestring" = xdisable; then
13650 if test $wxUSE_DRAGIMAGE = no; then
13651 result=yes
13652 else
13653 result=no
13654 fi
13655 else
13656 result=$wxUSE_DRAGIMAGE
13657 fi
13658
13659 { echo "$as_me:$LINENO: result: $result" >&5
13660 echo "${ECHO_T}$result" >&6; }
13661
13662
13663 enablestring=
13664 defaultval=$wxUSE_ALL_FEATURES
13665 if test -z "$defaultval"; then
13666 if test x"$enablestring" = xdisable; then
13667 defaultval=yes
13668 else
13669 defaultval=no
13670 fi
13671 fi
13672
13673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13674 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13675 # Check whether --enable-accessibility was given.
13676 if test "${enable_accessibility+set}" = set; then
13677 enableval=$enable_accessibility;
13678 if test "$enableval" = yes; then
13679 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13680 else
13681 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13682 fi
13683
13684 else
13685
13686 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13687
13688 fi
13689
13690
13691 eval "$wx_cv_use_accessibility"
13692
13693 if test x"$enablestring" = xdisable; then
13694 if test $wxUSE_ACCESSIBILITY = no; then
13695 result=yes
13696 else
13697 result=no
13698 fi
13699 else
13700 result=$wxUSE_ACCESSIBILITY
13701 fi
13702
13703 { echo "$as_me:$LINENO: result: $result" >&5
13704 echo "${ECHO_T}$result" >&6; }
13705
13706
13707 enablestring=
13708 defaultval=$wxUSE_ALL_FEATURES
13709 if test -z "$defaultval"; then
13710 if test x"$enablestring" = xdisable; then
13711 defaultval=yes
13712 else
13713 defaultval=no
13714 fi
13715 fi
13716
13717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13718 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13719 # Check whether --enable-uiactionsim was given.
13720 if test "${enable_uiactionsim+set}" = set; then
13721 enableval=$enable_uiactionsim;
13722 if test "$enableval" = yes; then
13723 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13724 else
13725 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13726 fi
13727
13728 else
13729
13730 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13731
13732 fi
13733
13734
13735 eval "$wx_cv_use_uiactionsim"
13736
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_UIACTIONSIMULATOR = no; then
13739 result=yes
13740 else
13741 result=no
13742 fi
13743 else
13744 result=$wxUSE_UIACTIONSIMULATOR
13745 fi
13746
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13749
13750
13751
13752
13753 enablestring=
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13757 defaultval=yes
13758 else
13759 defaultval=no
13760 fi
13761 fi
13762
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13765 # Check whether --enable-palette was given.
13766 if test "${enable_palette+set}" = set; then
13767 enableval=$enable_palette;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_palette='wxUSE_PALETTE=yes'
13770 else
13771 wx_cv_use_palette='wxUSE_PALETTE=no'
13772 fi
13773
13774 else
13775
13776 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13777
13778 fi
13779
13780
13781 eval "$wx_cv_use_palette"
13782
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_PALETTE = no; then
13785 result=yes
13786 else
13787 result=no
13788 fi
13789 else
13790 result=$wxUSE_PALETTE
13791 fi
13792
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13795
13796
13797 enablestring=
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13801 defaultval=yes
13802 else
13803 defaultval=no
13804 fi
13805 fi
13806
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13809 # Check whether --enable-image was given.
13810 if test "${enable_image+set}" = set; then
13811 enableval=$enable_image;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_image='wxUSE_IMAGE=yes'
13814 else
13815 wx_cv_use_image='wxUSE_IMAGE=no'
13816 fi
13817
13818 else
13819
13820 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13821
13822 fi
13823
13824
13825 eval "$wx_cv_use_image"
13826
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_IMAGE = no; then
13829 result=yes
13830 else
13831 result=no
13832 fi
13833 else
13834 result=$wxUSE_IMAGE
13835 fi
13836
13837 { echo "$as_me:$LINENO: result: $result" >&5
13838 echo "${ECHO_T}$result" >&6; }
13839
13840
13841 enablestring=
13842 defaultval=$wxUSE_ALL_FEATURES
13843 if test -z "$defaultval"; then
13844 if test x"$enablestring" = xdisable; then
13845 defaultval=yes
13846 else
13847 defaultval=no
13848 fi
13849 fi
13850
13851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13853 # Check whether --enable-gif was given.
13854 if test "${enable_gif+set}" = set; then
13855 enableval=$enable_gif;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_gif='wxUSE_GIF=yes'
13858 else
13859 wx_cv_use_gif='wxUSE_GIF=no'
13860 fi
13861
13862 else
13863
13864 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13865
13866 fi
13867
13868
13869 eval "$wx_cv_use_gif"
13870
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_GIF = no; then
13873 result=yes
13874 else
13875 result=no
13876 fi
13877 else
13878 result=$wxUSE_GIF
13879 fi
13880
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13883
13884
13885 enablestring=
13886 defaultval=$wxUSE_ALL_FEATURES
13887 if test -z "$defaultval"; then
13888 if test x"$enablestring" = xdisable; then
13889 defaultval=yes
13890 else
13891 defaultval=no
13892 fi
13893 fi
13894
13895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13897 # Check whether --enable-pcx was given.
13898 if test "${enable_pcx+set}" = set; then
13899 enableval=$enable_pcx;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_pcx='wxUSE_PCX=yes'
13902 else
13903 wx_cv_use_pcx='wxUSE_PCX=no'
13904 fi
13905
13906 else
13907
13908 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13909
13910 fi
13911
13912
13913 eval "$wx_cv_use_pcx"
13914
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_PCX = no; then
13917 result=yes
13918 else
13919 result=no
13920 fi
13921 else
13922 result=$wxUSE_PCX
13923 fi
13924
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13927
13928
13929 enablestring=
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13933 defaultval=yes
13934 else
13935 defaultval=no
13936 fi
13937 fi
13938
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13941 # Check whether --enable-tga was given.
13942 if test "${enable_tga+set}" = set; then
13943 enableval=$enable_tga;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_tga='wxUSE_TGA=yes'
13946 else
13947 wx_cv_use_tga='wxUSE_TGA=no'
13948 fi
13949
13950 else
13951
13952 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13953
13954 fi
13955
13956
13957 eval "$wx_cv_use_tga"
13958
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_TGA = no; then
13961 result=yes
13962 else
13963 result=no
13964 fi
13965 else
13966 result=$wxUSE_TGA
13967 fi
13968
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13971
13972
13973 enablestring=
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13977 defaultval=yes
13978 else
13979 defaultval=no
13980 fi
13981 fi
13982
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13985 # Check whether --enable-iff was given.
13986 if test "${enable_iff+set}" = set; then
13987 enableval=$enable_iff;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_iff='wxUSE_IFF=yes'
13990 else
13991 wx_cv_use_iff='wxUSE_IFF=no'
13992 fi
13993
13994 else
13995
13996 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13997
13998 fi
13999
14000
14001 eval "$wx_cv_use_iff"
14002
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_IFF = no; then
14005 result=yes
14006 else
14007 result=no
14008 fi
14009 else
14010 result=$wxUSE_IFF
14011 fi
14012
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14015
14016
14017 enablestring=
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14021 defaultval=yes
14022 else
14023 defaultval=no
14024 fi
14025 fi
14026
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14029 # Check whether --enable-pnm was given.
14030 if test "${enable_pnm+set}" = set; then
14031 enableval=$enable_pnm;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_pnm='wxUSE_PNM=yes'
14034 else
14035 wx_cv_use_pnm='wxUSE_PNM=no'
14036 fi
14037
14038 else
14039
14040 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14041
14042 fi
14043
14044
14045 eval "$wx_cv_use_pnm"
14046
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_PNM = no; then
14049 result=yes
14050 else
14051 result=no
14052 fi
14053 else
14054 result=$wxUSE_PNM
14055 fi
14056
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14059
14060
14061 enablestring=
14062 defaultval=$wxUSE_ALL_FEATURES
14063 if test -z "$defaultval"; then
14064 if test x"$enablestring" = xdisable; then
14065 defaultval=yes
14066 else
14067 defaultval=no
14068 fi
14069 fi
14070
14071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14073 # Check whether --enable-xpm was given.
14074 if test "${enable_xpm+set}" = set; then
14075 enableval=$enable_xpm;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_xpm='wxUSE_XPM=yes'
14078 else
14079 wx_cv_use_xpm='wxUSE_XPM=no'
14080 fi
14081
14082 else
14083
14084 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14085
14086 fi
14087
14088
14089 eval "$wx_cv_use_xpm"
14090
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_XPM = no; then
14093 result=yes
14094 else
14095 result=no
14096 fi
14097 else
14098 result=$wxUSE_XPM
14099 fi
14100
14101 { echo "$as_me:$LINENO: result: $result" >&5
14102 echo "${ECHO_T}$result" >&6; }
14103
14104
14105 enablestring=
14106 defaultval=$wxUSE_ALL_FEATURES
14107 if test -z "$defaultval"; then
14108 if test x"$enablestring" = xdisable; then
14109 defaultval=yes
14110 else
14111 defaultval=no
14112 fi
14113 fi
14114
14115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14117 # Check whether --enable-ico_cur was given.
14118 if test "${enable_ico_cur+set}" = set; then
14119 enableval=$enable_ico_cur;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14122 else
14123 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14124 fi
14125
14126 else
14127
14128 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14129
14130 fi
14131
14132
14133 eval "$wx_cv_use_ico_cur"
14134
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_ICO_CUR = no; then
14137 result=yes
14138 else
14139 result=no
14140 fi
14141 else
14142 result=$wxUSE_ICO_CUR
14143 fi
14144
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14147
14148
14149
14150
14151 enablestring=
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14155 defaultval=yes
14156 else
14157 defaultval=no
14158 fi
14159 fi
14160
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14163 # Check whether --enable-dccache was given.
14164 if test "${enable_dccache+set}" = set; then
14165 enableval=$enable_dccache;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14168 else
14169 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14170 fi
14171
14172 else
14173
14174 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14175
14176 fi
14177
14178
14179 eval "$wx_cv_use_dccache"
14180
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_DC_CACHEING = no; then
14183 result=yes
14184 else
14185 result=no
14186 fi
14187 else
14188 result=$wxUSE_DC_CACHEING
14189 fi
14190
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14193
14194
14195 enablestring=
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14199 defaultval=yes
14200 else
14201 defaultval=no
14202 fi
14203 fi
14204
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14207 # Check whether --enable-ps-in-msw was given.
14208 if test "${enable_ps_in_msw+set}" = set; then
14209 enableval=$enable_ps_in_msw;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14212 else
14213 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14214 fi
14215
14216 else
14217
14218 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14219
14220 fi
14221
14222
14223 eval "$wx_cv_use_ps_in_msw"
14224
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14227 result=yes
14228 else
14229 result=no
14230 fi
14231 else
14232 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14233 fi
14234
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14237
14238
14239 enablestring=
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14243 defaultval=yes
14244 else
14245 defaultval=no
14246 fi
14247 fi
14248
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14251 # Check whether --enable-ownerdrawn was given.
14252 if test "${enable_ownerdrawn+set}" = set; then
14253 enableval=$enable_ownerdrawn;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14256 else
14257 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14258 fi
14259
14260 else
14261
14262 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_ownerdrawn"
14268
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_OWNER_DRAWN = no; then
14271 result=yes
14272 else
14273 result=no
14274 fi
14275 else
14276 result=$wxUSE_OWNER_DRAWN
14277 fi
14278
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14281
14282
14283 enablestring=
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14287 defaultval=yes
14288 else
14289 defaultval=no
14290 fi
14291 fi
14292
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14295 # Check whether --enable-uxtheme was given.
14296 if test "${enable_uxtheme+set}" = set; then
14297 enableval=$enable_uxtheme;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14300 else
14301 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14302 fi
14303
14304 else
14305
14306 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14307
14308 fi
14309
14310
14311 eval "$wx_cv_use_uxtheme"
14312
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_UXTHEME = no; then
14315 result=yes
14316 else
14317 result=no
14318 fi
14319 else
14320 result=$wxUSE_UXTHEME
14321 fi
14322
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14325
14326
14327 enablestring=
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14331 defaultval=yes
14332 else
14333 defaultval=no
14334 fi
14335 fi
14336
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14339 # Check whether --enable-wxdib was given.
14340 if test "${enable_wxdib+set}" = set; then
14341 enableval=$enable_wxdib;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_wxdib='wxUSE_DIB=yes'
14344 else
14345 wx_cv_use_wxdib='wxUSE_DIB=no'
14346 fi
14347
14348 else
14349
14350 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14351
14352 fi
14353
14354
14355 eval "$wx_cv_use_wxdib"
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_DIB = no; then
14359 result=yes
14360 else
14361 result=no
14362 fi
14363 else
14364 result=$wxUSE_DIB
14365 fi
14366
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14369
14370
14371 if test "$wxUSE_MSW" != 1; then
14372 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14373 fi
14374
14375
14376 enablestring=
14377 defaultval=$wxUSE_ALL_FEATURES
14378 if test -z "$defaultval"; then
14379 if test x"$enablestring" = xdisable; then
14380 defaultval=yes
14381 else
14382 defaultval=no
14383 fi
14384 fi
14385
14386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14387 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14388 # Check whether --enable-autoidman was given.
14389 if test "${enable_autoidman+set}" = set; then
14390 enableval=$enable_autoidman;
14391 if test "$enableval" = yes; then
14392 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14393 else
14394 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14395 fi
14396
14397 else
14398
14399 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14400
14401 fi
14402
14403
14404 eval "$wx_cv_use_autoidman"
14405
14406 if test x"$enablestring" = xdisable; then
14407 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14408 result=yes
14409 else
14410 result=no
14411 fi
14412 else
14413 result=$wxUSE_AUTOID_MANAGEMENT
14414 fi
14415
14416 { echo "$as_me:$LINENO: result: $result" >&5
14417 echo "${ECHO_T}$result" >&6; }
14418
14419
14420 fi
14421
14422
14423 cat >confcache <<\_ACEOF
14424 # This file is a shell script that caches the results of configure
14425 # tests run on this system so they can be shared between configure
14426 # scripts and configure runs, see configure's option --config-cache.
14427 # It is not useful on other systems. If it contains results you don't
14428 # want to keep, you may remove or edit it.
14429 #
14430 # config.status only pays attention to the cache file if you give it
14431 # the --recheck option to rerun configure.
14432 #
14433 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14434 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14435 # following values.
14436
14437 _ACEOF
14438
14439 # The following way of writing the cache mishandles newlines in values,
14440 # but we know of no workaround that is simple, portable, and efficient.
14441 # So, we kill variables containing newlines.
14442 # Ultrix sh set writes to stderr and can't be redirected directly,
14443 # and sets the high bit in the cache file unless we assign to the vars.
14444 (
14445 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14446 eval ac_val=\$$ac_var
14447 case $ac_val in #(
14448 *${as_nl}*)
14449 case $ac_var in #(
14450 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14451 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14452 esac
14453 case $ac_var in #(
14454 _ | IFS | as_nl) ;; #(
14455 *) $as_unset $ac_var ;;
14456 esac ;;
14457 esac
14458 done
14459
14460 (set) 2>&1 |
14461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14462 *${as_nl}ac_space=\ *)
14463 # `set' does not quote correctly, so add quotes (double-quote
14464 # substitution turns \\\\ into \\, and sed turns \\ into \).
14465 sed -n \
14466 "s/'/'\\\\''/g;
14467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14468 ;; #(
14469 *)
14470 # `set' quotes correctly as required by POSIX, so do not add quotes.
14471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14472 ;;
14473 esac |
14474 sort
14475 ) |
14476 sed '
14477 /^ac_cv_env_/b end
14478 t clear
14479 :clear
14480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14481 t end
14482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14483 :end' >>confcache
14484 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14485 if test -w "$cache_file"; then
14486 test "x$cache_file" != "x/dev/null" &&
14487 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14488 echo "$as_me: updating cache $cache_file" >&6;}
14489 cat confcache >$cache_file
14490 else
14491 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14492 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14493 fi
14494 fi
14495 rm -f confcache
14496
14497 CFLAGS=${CFLAGS:=}
14498 ac_ext=c
14499 ac_cpp='$CPP $CPPFLAGS'
14500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14503 if test -n "$ac_tool_prefix"; then
14504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC="$CC" # Let the user override the test.
14513 else
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14516 do
14517 IFS=$as_save_IFS
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14523 break 2
14524 fi
14525 done
14526 done
14527 IFS=$as_save_IFS
14528
14529 fi
14530 fi
14531 CC=$ac_cv_prog_CC
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14535 else
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14538 fi
14539
14540
14541 fi
14542 if test -z "$ac_cv_prog_CC"; then
14543 ac_ct_CC=$CC
14544 # Extract the first word of "gcc", so it can be a program name with args.
14545 set dummy gcc; ac_word=$2
14546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551 if test -n "$ac_ct_CC"; then
14552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14553 else
14554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14555 for as_dir in $PATH
14556 do
14557 IFS=$as_save_IFS
14558 test -z "$as_dir" && as_dir=.
14559 for ac_exec_ext in '' $ac_executable_extensions; do
14560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14561 ac_cv_prog_ac_ct_CC="gcc"
14562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14563 break 2
14564 fi
14565 done
14566 done
14567 IFS=$as_save_IFS
14568
14569 fi
14570 fi
14571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14572 if test -n "$ac_ct_CC"; then
14573 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14574 echo "${ECHO_T}$ac_ct_CC" >&6; }
14575 else
14576 { echo "$as_me:$LINENO: result: no" >&5
14577 echo "${ECHO_T}no" >&6; }
14578 fi
14579
14580 if test "x$ac_ct_CC" = x; then
14581 CC=""
14582 else
14583 case $cross_compiling:$ac_tool_warned in
14584 yes:)
14585 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14586 whose name does not start with the host triplet. If you think this
14587 configuration is useful to you, please write to autoconf@gnu.org." >&5
14588 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14589 whose name does not start with the host triplet. If you think this
14590 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14591 ac_tool_warned=yes ;;
14592 esac
14593 CC=$ac_ct_CC
14594 fi
14595 else
14596 CC="$ac_cv_prog_CC"
14597 fi
14598
14599 if test -z "$CC"; then
14600 if test -n "$ac_tool_prefix"; then
14601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14602 set dummy ${ac_tool_prefix}cc; ac_word=$2
14603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14605 if test "${ac_cv_prog_CC+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 else
14608 if test -n "$CC"; then
14609 ac_cv_prog_CC="$CC" # Let the user override the test.
14610 else
14611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14612 for as_dir in $PATH
14613 do
14614 IFS=$as_save_IFS
14615 test -z "$as_dir" && as_dir=.
14616 for ac_exec_ext in '' $ac_executable_extensions; do
14617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14618 ac_cv_prog_CC="${ac_tool_prefix}cc"
14619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14620 break 2
14621 fi
14622 done
14623 done
14624 IFS=$as_save_IFS
14625
14626 fi
14627 fi
14628 CC=$ac_cv_prog_CC
14629 if test -n "$CC"; then
14630 { echo "$as_me:$LINENO: result: $CC" >&5
14631 echo "${ECHO_T}$CC" >&6; }
14632 else
14633 { echo "$as_me:$LINENO: result: no" >&5
14634 echo "${ECHO_T}no" >&6; }
14635 fi
14636
14637
14638 fi
14639 fi
14640 if test -z "$CC"; then
14641 # Extract the first word of "cc", so it can be a program name with args.
14642 set dummy cc; ac_word=$2
14643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14645 if test "${ac_cv_prog_CC+set}" = set; then
14646 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 else
14648 if test -n "$CC"; then
14649 ac_cv_prog_CC="$CC" # Let the user override the test.
14650 else
14651 ac_prog_rejected=no
14652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14653 for as_dir in $PATH
14654 do
14655 IFS=$as_save_IFS
14656 test -z "$as_dir" && as_dir=.
14657 for ac_exec_ext in '' $ac_executable_extensions; do
14658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14659 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14660 ac_prog_rejected=yes
14661 continue
14662 fi
14663 ac_cv_prog_CC="cc"
14664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14665 break 2
14666 fi
14667 done
14668 done
14669 IFS=$as_save_IFS
14670
14671 if test $ac_prog_rejected = yes; then
14672 # We found a bogon in the path, so make sure we never use it.
14673 set dummy $ac_cv_prog_CC
14674 shift
14675 if test $# != 0; then
14676 # We chose a different compiler from the bogus one.
14677 # However, it has the same basename, so the bogon will be chosen
14678 # first if we set CC to just the basename; use the full file name.
14679 shift
14680 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14681 fi
14682 fi
14683 fi
14684 fi
14685 CC=$ac_cv_prog_CC
14686 if test -n "$CC"; then
14687 { echo "$as_me:$LINENO: result: $CC" >&5
14688 echo "${ECHO_T}$CC" >&6; }
14689 else
14690 { echo "$as_me:$LINENO: result: no" >&5
14691 echo "${ECHO_T}no" >&6; }
14692 fi
14693
14694
14695 fi
14696 if test -z "$CC"; then
14697 if test -n "$ac_tool_prefix"; then
14698 for ac_prog in cl.exe
14699 do
14700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14704 if test "${ac_cv_prog_CC+set}" = set; then
14705 echo $ECHO_N "(cached) $ECHO_C" >&6
14706 else
14707 if test -n "$CC"; then
14708 ac_cv_prog_CC="$CC" # Let the user override the test.
14709 else
14710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14711 for as_dir in $PATH
14712 do
14713 IFS=$as_save_IFS
14714 test -z "$as_dir" && as_dir=.
14715 for ac_exec_ext in '' $ac_executable_extensions; do
14716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14717 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14719 break 2
14720 fi
14721 done
14722 done
14723 IFS=$as_save_IFS
14724
14725 fi
14726 fi
14727 CC=$ac_cv_prog_CC
14728 if test -n "$CC"; then
14729 { echo "$as_me:$LINENO: result: $CC" >&5
14730 echo "${ECHO_T}$CC" >&6; }
14731 else
14732 { echo "$as_me:$LINENO: result: no" >&5
14733 echo "${ECHO_T}no" >&6; }
14734 fi
14735
14736
14737 test -n "$CC" && break
14738 done
14739 fi
14740 if test -z "$CC"; then
14741 ac_ct_CC=$CC
14742 for ac_prog in cl.exe
14743 do
14744 # Extract the first word of "$ac_prog", so it can be a program name with args.
14745 set dummy $ac_prog; ac_word=$2
14746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14750 else
14751 if test -n "$ac_ct_CC"; then
14752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14753 else
14754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14755 for as_dir in $PATH
14756 do
14757 IFS=$as_save_IFS
14758 test -z "$as_dir" && as_dir=.
14759 for ac_exec_ext in '' $ac_executable_extensions; do
14760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14761 ac_cv_prog_ac_ct_CC="$ac_prog"
14762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14763 break 2
14764 fi
14765 done
14766 done
14767 IFS=$as_save_IFS
14768
14769 fi
14770 fi
14771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14772 if test -n "$ac_ct_CC"; then
14773 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14774 echo "${ECHO_T}$ac_ct_CC" >&6; }
14775 else
14776 { echo "$as_me:$LINENO: result: no" >&5
14777 echo "${ECHO_T}no" >&6; }
14778 fi
14779
14780
14781 test -n "$ac_ct_CC" && break
14782 done
14783
14784 if test "x$ac_ct_CC" = x; then
14785 CC=""
14786 else
14787 case $cross_compiling:$ac_tool_warned in
14788 yes:)
14789 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14790 whose name does not start with the host triplet. If you think this
14791 configuration is useful to you, please write to autoconf@gnu.org." >&5
14792 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14793 whose name does not start with the host triplet. If you think this
14794 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14795 ac_tool_warned=yes ;;
14796 esac
14797 CC=$ac_ct_CC
14798 fi
14799 fi
14800
14801 fi
14802
14803
14804 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14805 See \`config.log' for more details." >&5
14806 echo "$as_me: error: no acceptable C compiler found in \$PATH
14807 See \`config.log' for more details." >&2;}
14808 { (exit 1); exit 1; }; }
14809
14810 # Provide some information about the compiler.
14811 echo "$as_me:$LINENO: checking for C compiler version" >&5
14812 ac_compiler=`set X $ac_compile; echo $2`
14813 { (ac_try="$ac_compiler --version >&5"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14817 esac
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_compiler --version >&5") 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }
14823 { (ac_try="$ac_compiler -v >&5"
14824 case "(($ac_try" in
14825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14826 *) ac_try_echo=$ac_try;;
14827 esac
14828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14829 (eval "$ac_compiler -v >&5") 2>&5
14830 ac_status=$?
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }
14833 { (ac_try="$ac_compiler -V >&5"
14834 case "(($ac_try" in
14835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;;
14837 esac
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839 (eval "$ac_compiler -V >&5") 2>&5
14840 ac_status=$?
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }
14843
14844 cat >conftest.$ac_ext <<_ACEOF
14845 /* confdefs.h. */
14846 _ACEOF
14847 cat confdefs.h >>conftest.$ac_ext
14848 cat >>conftest.$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14850
14851 int
14852 main ()
14853 {
14854
14855 ;
14856 return 0;
14857 }
14858 _ACEOF
14859 ac_clean_files_save=$ac_clean_files
14860 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14861 # Try to create an executable without -o first, disregard a.out.
14862 # It will help us diagnose broken compilers, and finding out an intuition
14863 # of exeext.
14864 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14865 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14866 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14867 #
14868 # List of possible output files, starting from the most likely.
14869 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14870 # only as a last resort. b.out is created by i960 compilers.
14871 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14872 #
14873 # The IRIX 6 linker writes into existing files which may not be
14874 # executable, retaining their permissions. Remove them first so a
14875 # subsequent execution test works.
14876 ac_rmfiles=
14877 for ac_file in $ac_files
14878 do
14879 case $ac_file in
14880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14881 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14882 esac
14883 done
14884 rm -f $ac_rmfiles
14885
14886 if { (ac_try="$ac_link_default"
14887 case "(($ac_try" in
14888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14889 *) ac_try_echo=$ac_try;;
14890 esac
14891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14892 (eval "$ac_link_default") 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; then
14896 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14897 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14898 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14899 # so that the user can short-circuit this test for compilers unknown to
14900 # Autoconf.
14901 for ac_file in $ac_files ''
14902 do
14903 test -f "$ac_file" || continue
14904 case $ac_file in
14905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14906 ;;
14907 [ab].out )
14908 # We found the default executable, but exeext='' is most
14909 # certainly right.
14910 break;;
14911 *.* )
14912 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14913 then :; else
14914 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14915 fi
14916 # We set ac_cv_exeext here because the later test for it is not
14917 # safe: cross compilers may not add the suffix if given an `-o'
14918 # argument, so we may need to know it at that point already.
14919 # Even if this section looks crufty: it has the advantage of
14920 # actually working.
14921 break;;
14922 * )
14923 break;;
14924 esac
14925 done
14926 test "$ac_cv_exeext" = no && ac_cv_exeext=
14927
14928 else
14929 ac_file=''
14930 fi
14931
14932 { echo "$as_me:$LINENO: result: $ac_file" >&5
14933 echo "${ECHO_T}$ac_file" >&6; }
14934 if test -z "$ac_file"; then
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14937
14938 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14939 See \`config.log' for more details." >&5
14940 echo "$as_me: error: C compiler cannot create executables
14941 See \`config.log' for more details." >&2;}
14942 { (exit 77); exit 77; }; }
14943 fi
14944
14945 ac_exeext=$ac_cv_exeext
14946
14947 # Check that the compiler produces executables we can run. If not, either
14948 # the compiler is broken, or we cross compile.
14949 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14950 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14951 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14952 # If not cross compiling, check that we can run a simple program.
14953 if test "$cross_compiling" != yes; then
14954 if { ac_try='./$ac_file'
14955 { (case "(($ac_try" in
14956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14957 *) ac_try_echo=$ac_try;;
14958 esac
14959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14960 (eval "$ac_try") 2>&5
14961 ac_status=$?
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14964 cross_compiling=no
14965 else
14966 if test "$cross_compiling" = maybe; then
14967 cross_compiling=yes
14968 else
14969 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14970 If you meant to cross compile, use \`--host'.
14971 See \`config.log' for more details." >&5
14972 echo "$as_me: error: cannot run C compiled programs.
14973 If you meant to cross compile, use \`--host'.
14974 See \`config.log' for more details." >&2;}
14975 { (exit 1); exit 1; }; }
14976 fi
14977 fi
14978 fi
14979 { echo "$as_me:$LINENO: result: yes" >&5
14980 echo "${ECHO_T}yes" >&6; }
14981
14982 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14983 ac_clean_files=$ac_clean_files_save
14984 # Check that the compiler produces executables we can run. If not, either
14985 # the compiler is broken, or we cross compile.
14986 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14987 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14988 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14989 echo "${ECHO_T}$cross_compiling" >&6; }
14990
14991 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14992 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14993 if { (ac_try="$ac_link"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14997 esac
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; then
15003 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15004 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15005 # work properly (i.e., refer to `conftest.exe'), while it won't with
15006 # `rm'.
15007 for ac_file in conftest.exe conftest conftest.*; do
15008 test -f "$ac_file" || continue
15009 case $ac_file in
15010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15011 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15012 break;;
15013 * ) break;;
15014 esac
15015 done
15016 else
15017 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15018 See \`config.log' for more details." >&5
15019 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15020 See \`config.log' for more details." >&2;}
15021 { (exit 1); exit 1; }; }
15022 fi
15023
15024 rm -f conftest$ac_cv_exeext
15025 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15026 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15027
15028 rm -f conftest.$ac_ext
15029 EXEEXT=$ac_cv_exeext
15030 ac_exeext=$EXEEXT
15031 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15032 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15033 if test "${ac_cv_objext+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042
15043 int
15044 main ()
15045 {
15046
15047 ;
15048 return 0;
15049 }
15050 _ACEOF
15051 rm -f conftest.o conftest.obj
15052 if { (ac_try="$ac_compile"
15053 case "(($ac_try" in
15054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15055 *) ac_try_echo=$ac_try;;
15056 esac
15057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15058 (eval "$ac_compile") 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; then
15062 for ac_file in conftest.o conftest.obj conftest.*; do
15063 test -f "$ac_file" || continue;
15064 case $ac_file in
15065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15066 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15067 break;;
15068 esac
15069 done
15070 else
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15073
15074 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15075 See \`config.log' for more details." >&5
15076 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15077 See \`config.log' for more details." >&2;}
15078 { (exit 1); exit 1; }; }
15079 fi
15080
15081 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15082 fi
15083 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15084 echo "${ECHO_T}$ac_cv_objext" >&6; }
15085 OBJEXT=$ac_cv_objext
15086 ac_objext=$OBJEXT
15087 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15088 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15089 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 else
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098
15099 int
15100 main ()
15101 {
15102 #ifndef __GNUC__
15103 choke me
15104 #endif
15105
15106 ;
15107 return 0;
15108 }
15109 _ACEOF
15110 rm -f conftest.$ac_objext
15111 if { (ac_try="$ac_compile"
15112 case "(($ac_try" in
15113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15114 *) ac_try_echo=$ac_try;;
15115 esac
15116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15117 (eval "$ac_compile") 2>conftest.er1
15118 ac_status=$?
15119 grep -v '^ *+' conftest.er1 >conftest.err
15120 rm -f conftest.er1
15121 cat conftest.err >&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } && {
15124 test -z "$ac_c_werror_flag" ||
15125 test ! -s conftest.err
15126 } && test -s conftest.$ac_objext; then
15127 ac_compiler_gnu=yes
15128 else
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.$ac_ext >&5
15131
15132 ac_compiler_gnu=no
15133 fi
15134
15135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15137
15138 fi
15139 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15140 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15141 GCC=`test $ac_compiler_gnu = yes && echo yes`
15142 ac_test_CFLAGS=${CFLAGS+set}
15143 ac_save_CFLAGS=$CFLAGS
15144 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15145 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_cc_g+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 ac_save_c_werror_flag=$ac_c_werror_flag
15150 ac_c_werror_flag=yes
15151 ac_cv_prog_cc_g=no
15152 CFLAGS="-g"
15153 cat >conftest.$ac_ext <<_ACEOF
15154 /* confdefs.h. */
15155 _ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159
15160 int
15161 main ()
15162 {
15163
15164 ;
15165 return 0;
15166 }
15167 _ACEOF
15168 rm -f conftest.$ac_objext
15169 if { (ac_try="$ac_compile"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15173 esac
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compile") 2>conftest.er1
15176 ac_status=$?
15177 grep -v '^ *+' conftest.er1 >conftest.err
15178 rm -f conftest.er1
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest.$ac_objext; then
15185 ac_cv_prog_cc_g=yes
15186 else
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15189
15190 CFLAGS=""
15191 cat >conftest.$ac_ext <<_ACEOF
15192 /* confdefs.h. */
15193 _ACEOF
15194 cat confdefs.h >>conftest.$ac_ext
15195 cat >>conftest.$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15197
15198 int
15199 main ()
15200 {
15201
15202 ;
15203 return 0;
15204 }
15205 _ACEOF
15206 rm -f conftest.$ac_objext
15207 if { (ac_try="$ac_compile"
15208 case "(($ac_try" in
15209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15211 esac
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_compile") 2>conftest.er1
15214 ac_status=$?
15215 grep -v '^ *+' conftest.er1 >conftest.err
15216 rm -f conftest.er1
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } && {
15220 test -z "$ac_c_werror_flag" ||
15221 test ! -s conftest.err
15222 } && test -s conftest.$ac_objext; then
15223 :
15224 else
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15227
15228 ac_c_werror_flag=$ac_save_c_werror_flag
15229 CFLAGS="-g"
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236
15237 int
15238 main ()
15239 {
15240
15241 ;
15242 return 0;
15243 }
15244 _ACEOF
15245 rm -f conftest.$ac_objext
15246 if { (ac_try="$ac_compile"
15247 case "(($ac_try" in
15248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15249 *) ac_try_echo=$ac_try;;
15250 esac
15251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15252 (eval "$ac_compile") 2>conftest.er1
15253 ac_status=$?
15254 grep -v '^ *+' conftest.er1 >conftest.err
15255 rm -f conftest.er1
15256 cat conftest.err >&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } && {
15259 test -z "$ac_c_werror_flag" ||
15260 test ! -s conftest.err
15261 } && test -s conftest.$ac_objext; then
15262 ac_cv_prog_cc_g=yes
15263 else
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15266
15267
15268 fi
15269
15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15271 fi
15272
15273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15274 fi
15275
15276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15277 ac_c_werror_flag=$ac_save_c_werror_flag
15278 fi
15279 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15280 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15281 if test "$ac_test_CFLAGS" = set; then
15282 CFLAGS=$ac_save_CFLAGS
15283 elif test $ac_cv_prog_cc_g = yes; then
15284 if test "$GCC" = yes; then
15285 CFLAGS="-g -O2"
15286 else
15287 CFLAGS="-g"
15288 fi
15289 else
15290 if test "$GCC" = yes; then
15291 CFLAGS="-O2"
15292 else
15293 CFLAGS=
15294 fi
15295 fi
15296 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15297 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15298 if test "${ac_cv_prog_cc_c89+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15301 ac_cv_prog_cc_c89=no
15302 ac_save_CC=$CC
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 #include <stdarg.h>
15310 #include <stdio.h>
15311 #include <sys/types.h>
15312 #include <sys/stat.h>
15313 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15314 struct buf { int x; };
15315 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15316 static char *e (p, i)
15317 char **p;
15318 int i;
15319 {
15320 return p[i];
15321 }
15322 static char *f (char * (*g) (char **, int), char **p, ...)
15323 {
15324 char *s;
15325 va_list v;
15326 va_start (v,p);
15327 s = g (p, va_arg (v,int));
15328 va_end (v);
15329 return s;
15330 }
15331
15332 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15333 function prototypes and stuff, but not '\xHH' hex character constants.
15334 These don't provoke an error unfortunately, instead are silently treated
15335 as 'x'. The following induces an error, until -std is added to get
15336 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15337 array size at least. It's necessary to write '\x00'==0 to get something
15338 that's true only with -std. */
15339 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15340
15341 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15342 inside strings and character constants. */
15343 #define FOO(x) 'x'
15344 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15345
15346 int test (int i, double x);
15347 struct s1 {int (*f) (int a);};
15348 struct s2 {int (*f) (double a);};
15349 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15350 int argc;
15351 char **argv;
15352 int
15353 main ()
15354 {
15355 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15356 ;
15357 return 0;
15358 }
15359 _ACEOF
15360 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15361 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15362 do
15363 CC="$ac_save_CC $ac_arg"
15364 rm -f conftest.$ac_objext
15365 if { (ac_try="$ac_compile"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15369 esac
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_compile") 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest.$ac_objext; then
15381 ac_cv_prog_cc_c89=$ac_arg
15382 else
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386
15387 fi
15388
15389 rm -f core conftest.err conftest.$ac_objext
15390 test "x$ac_cv_prog_cc_c89" != "xno" && break
15391 done
15392 rm -f conftest.$ac_ext
15393 CC=$ac_save_CC
15394
15395 fi
15396 # AC_CACHE_VAL
15397 case "x$ac_cv_prog_cc_c89" in
15398 x)
15399 { echo "$as_me:$LINENO: result: none needed" >&5
15400 echo "${ECHO_T}none needed" >&6; } ;;
15401 xno)
15402 { echo "$as_me:$LINENO: result: unsupported" >&5
15403 echo "${ECHO_T}unsupported" >&6; } ;;
15404 *)
15405 CC="$CC $ac_cv_prog_cc_c89"
15406 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15407 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15408 esac
15409
15410
15411 ac_ext=c
15412 ac_cpp='$CPP $CPPFLAGS'
15413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15416
15417
15418
15419
15420
15421
15422
15423
15424 ac_ext=c
15425 ac_cpp='$CPP $CPPFLAGS'
15426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15429
15430 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15431 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15432 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 else
15435 cat >conftest.$ac_ext <<_ACEOF
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441
15442 int
15443 main ()
15444 {
15445
15446 #ifndef __INTEL_COMPILER
15447 choke me
15448 #endif
15449
15450 ;
15451 return 0;
15452 }
15453 _ACEOF
15454 rm -f conftest.$ac_objext
15455 if { (ac_try="$ac_compile"
15456 case "(($ac_try" in
15457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15459 esac
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_compile") 2>conftest.er1
15462 ac_status=$?
15463 grep -v '^ *+' conftest.er1 >conftest.err
15464 rm -f conftest.er1
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } && {
15468 test -z "$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15470 } && test -s conftest.$ac_objext; then
15471 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15472 else
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.$ac_ext >&5
15475
15476 bakefile_cv_c_compiler___INTEL_COMPILER=no
15477
15478 fi
15479
15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481
15482
15483 fi
15484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15485 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15486 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15487 :; INTELCC=yes
15488 else
15489 :;
15490 fi
15491 ac_ext=c
15492 ac_cpp='$CPP $CPPFLAGS'
15493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15496
15497
15498
15499
15500 if test "$INTELCC" = "yes"; then
15501
15502
15503 ac_ext=c
15504 ac_cpp='$CPP $CPPFLAGS'
15505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15508
15509 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15510 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15511 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 else
15514 cat >conftest.$ac_ext <<_ACEOF
15515 /* confdefs.h. */
15516 _ACEOF
15517 cat confdefs.h >>conftest.$ac_ext
15518 cat >>conftest.$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15520
15521 int
15522 main ()
15523 {
15524
15525 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15526 choke me
15527 #endif
15528
15529 ;
15530 return 0;
15531 }
15532 _ACEOF
15533 rm -f conftest.$ac_objext
15534 if { (ac_try="$ac_compile"
15535 case "(($ac_try" in
15536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15537 *) ac_try_echo=$ac_try;;
15538 esac
15539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15540 (eval "$ac_compile") 2>conftest.er1
15541 ac_status=$?
15542 grep -v '^ *+' conftest.er1 >conftest.err
15543 rm -f conftest.er1
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } && {
15547 test -z "$ac_c_werror_flag" ||
15548 test ! -s conftest.err
15549 } && test -s conftest.$ac_objext; then
15550 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15551 else
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.$ac_ext >&5
15554
15555 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15556
15557 fi
15558
15559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15560
15561
15562 fi
15563 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15564 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15565 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15566 :; INTELCC8=yes
15567 else
15568 :;
15569 fi
15570 ac_ext=c
15571 ac_cpp='$CPP $CPPFLAGS'
15572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15575
15576
15577
15578
15579
15580 ac_ext=c
15581 ac_cpp='$CPP $CPPFLAGS'
15582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15585
15586 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15587 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15588 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 else
15591 cat >conftest.$ac_ext <<_ACEOF
15592 /* confdefs.h. */
15593 _ACEOF
15594 cat confdefs.h >>conftest.$ac_ext
15595 cat >>conftest.$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15597
15598 int
15599 main ()
15600 {
15601
15602 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15603 choke me
15604 #endif
15605
15606 ;
15607 return 0;
15608 }
15609 _ACEOF
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15615 esac
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15618 ac_status=$?
15619 grep -v '^ *+' conftest.er1 >conftest.err
15620 rm -f conftest.er1
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && {
15624 test -z "$ac_c_werror_flag" ||
15625 test ! -s conftest.err
15626 } && test -s conftest.$ac_objext; then
15627 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15628 else
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15631
15632 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15633
15634 fi
15635
15636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15637
15638
15639 fi
15640 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15641 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15642 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15643 :; INTELCC10=yes
15644 else
15645 :;
15646 fi
15647 ac_ext=c
15648 ac_cpp='$CPP $CPPFLAGS'
15649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15652
15653
15654
15655 fi
15656
15657 if test "x$GCC" != "xyes"; then
15658 if test "xCC" = "xC"; then
15659 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15660 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15661 if test "${bakefile_cv_c_exto+set}" = set; then
15662 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 else
15664 cat >conftest.$ac_ext <<_ACEOF
15665 /* confdefs.h. */
15666 _ACEOF
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15670
15671 int
15672 main ()
15673 {
15674
15675 ;
15676 return 0;
15677 }
15678 _ACEOF
15679 rm -f conftest.$ac_objext conftest.$ac_ext.o
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; then
15685 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15686 case $ac_file in
15687 conftest.$ac_ext.o)
15688 bakefile_cv_c_exto="-ext o"
15689 ;;
15690 *)
15691 ;;
15692 esac
15693 done
15694 else
15695 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15696 See \`config.log' for more details." >&5
15697 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15698 See \`config.log' for more details." >&2;}
15699 { (exit 1); exit 1; }; }
15700
15701 fi
15702
15703 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15704
15705 fi
15706 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15707 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15708 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15709 if test "c" = "c"; then
15710 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15711 fi
15712 if test "c" = "cxx"; then
15713 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15714 fi
15715 fi
15716
15717 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15718 unset ac_cv_prog_cc_g
15719 ac_test_CFLAGS=${CFLAGS+set}
15720 ac_save_CFLAGS=$CFLAGS
15721 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15722 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15723 if test "${ac_cv_prog_cc_g+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 else
15726 ac_save_c_werror_flag=$ac_c_werror_flag
15727 ac_c_werror_flag=yes
15728 ac_cv_prog_cc_g=no
15729 CFLAGS="-g"
15730 cat >conftest.$ac_ext <<_ACEOF
15731 /* confdefs.h. */
15732 _ACEOF
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15736
15737 int
15738 main ()
15739 {
15740
15741 ;
15742 return 0;
15743 }
15744 _ACEOF
15745 rm -f conftest.$ac_objext
15746 if { (ac_try="$ac_compile"
15747 case "(($ac_try" in
15748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15749 *) ac_try_echo=$ac_try;;
15750 esac
15751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15752 (eval "$ac_compile") 2>conftest.er1
15753 ac_status=$?
15754 grep -v '^ *+' conftest.er1 >conftest.err
15755 rm -f conftest.er1
15756 cat conftest.err >&5
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } && {
15759 test -z "$ac_c_werror_flag" ||
15760 test ! -s conftest.err
15761 } && test -s conftest.$ac_objext; then
15762 ac_cv_prog_cc_g=yes
15763 else
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.$ac_ext >&5
15766
15767 CFLAGS=""
15768 cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774
15775 int
15776 main ()
15777 {
15778
15779 ;
15780 return 0;
15781 }
15782 _ACEOF
15783 rm -f conftest.$ac_objext
15784 if { (ac_try="$ac_compile"
15785 case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15788 esac
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_compile") 2>conftest.er1
15791 ac_status=$?
15792 grep -v '^ *+' conftest.er1 >conftest.err
15793 rm -f conftest.er1
15794 cat conftest.err >&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } && {
15797 test -z "$ac_c_werror_flag" ||
15798 test ! -s conftest.err
15799 } && test -s conftest.$ac_objext; then
15800 :
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15804
15805 ac_c_werror_flag=$ac_save_c_werror_flag
15806 CFLAGS="-g"
15807 cat >conftest.$ac_ext <<_ACEOF
15808 /* confdefs.h. */
15809 _ACEOF
15810 cat confdefs.h >>conftest.$ac_ext
15811 cat >>conftest.$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15813
15814 int
15815 main ()
15816 {
15817
15818 ;
15819 return 0;
15820 }
15821 _ACEOF
15822 rm -f conftest.$ac_objext
15823 if { (ac_try="$ac_compile"
15824 case "(($ac_try" in
15825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15826 *) ac_try_echo=$ac_try;;
15827 esac
15828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15829 (eval "$ac_compile") 2>conftest.er1
15830 ac_status=$?
15831 grep -v '^ *+' conftest.er1 >conftest.err
15832 rm -f conftest.er1
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } && {
15836 test -z "$ac_c_werror_flag" ||
15837 test ! -s conftest.err
15838 } && test -s conftest.$ac_objext; then
15839 ac_cv_prog_cc_g=yes
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844
15845 fi
15846
15847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15848 fi
15849
15850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15851 fi
15852
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854 ac_c_werror_flag=$ac_save_c_werror_flag
15855 fi
15856 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15857 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15858 if test "$ac_test_CFLAGS" = set; then
15859 CFLAGS=$ac_save_CFLAGS
15860 elif test $ac_cv_prog_cc_g = yes; then
15861 if test "$GCC" = yes; then
15862 CFLAGS="-g -O2"
15863 else
15864 CFLAGS="-g"
15865 fi
15866 else
15867 if test "$GCC" = yes; then
15868 CFLAGS="-O2"
15869 else
15870 CFLAGS=
15871 fi
15872 fi
15873 fi
15874 fi
15875
15876 case `uname -s` in
15877 AIX*)
15878
15879
15880 ac_ext=c
15881 ac_cpp='$CPP $CPPFLAGS'
15882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15885
15886 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15887 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15888 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15889 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 else
15891 cat >conftest.$ac_ext <<_ACEOF
15892 /* confdefs.h. */
15893 _ACEOF
15894 cat confdefs.h >>conftest.$ac_ext
15895 cat >>conftest.$ac_ext <<_ACEOF
15896 /* end confdefs.h. */
15897
15898 int
15899 main ()
15900 {
15901
15902 #ifndef __xlC__
15903 choke me
15904 #endif
15905
15906 ;
15907 return 0;
15908 }
15909 _ACEOF
15910 rm -f conftest.$ac_objext
15911 if { (ac_try="$ac_compile"
15912 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15915 esac
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_compile") 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } && {
15924 test -z "$ac_c_werror_flag" ||
15925 test ! -s conftest.err
15926 } && test -s conftest.$ac_objext; then
15927 bakefile_cv_c_compiler___xlC__=yes
15928 else
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.$ac_ext >&5
15931
15932 bakefile_cv_c_compiler___xlC__=no
15933
15934 fi
15935
15936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15937
15938
15939 fi
15940 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15941 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15942 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15943 :; XLCC=yes
15944 else
15945 :;
15946 fi
15947 ac_ext=c
15948 ac_cpp='$CPP $CPPFLAGS'
15949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15952
15953
15954
15955 ;;
15956
15957 Darwin)
15958
15959
15960 ac_ext=c
15961 ac_cpp='$CPP $CPPFLAGS'
15962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15965
15966 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15967 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15968 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971 cat >conftest.$ac_ext <<_ACEOF
15972 /* confdefs.h. */
15973 _ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977
15978 int
15979 main ()
15980 {
15981
15982 #ifndef __MWERKS__
15983 choke me
15984 #endif
15985
15986 ;
15987 return 0;
15988 }
15989 _ACEOF
15990 rm -f conftest.$ac_objext
15991 if { (ac_try="$ac_compile"
15992 case "(($ac_try" in
15993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15995 esac
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_compile") 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } && {
16004 test -z "$ac_c_werror_flag" ||
16005 test ! -s conftest.err
16006 } && test -s conftest.$ac_objext; then
16007 bakefile_cv_c_compiler___MWERKS__=yes
16008 else
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.$ac_ext >&5
16011
16012 bakefile_cv_c_compiler___MWERKS__=no
16013
16014 fi
16015
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16017
16018
16019 fi
16020 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16021 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16022 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16023 :; MWCC=yes
16024 else
16025 :;
16026 fi
16027 ac_ext=c
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16032
16033
16034
16035 if test "$MWCC" != "yes"; then
16036
16037
16038 ac_ext=c
16039 ac_cpp='$CPP $CPPFLAGS'
16040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16043
16044 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16045 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16046 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 else
16049 cat >conftest.$ac_ext <<_ACEOF
16050 /* confdefs.h. */
16051 _ACEOF
16052 cat confdefs.h >>conftest.$ac_ext
16053 cat >>conftest.$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055
16056 int
16057 main ()
16058 {
16059
16060 #ifndef __xlC__
16061 choke me
16062 #endif
16063
16064 ;
16065 return 0;
16066 }
16067 _ACEOF
16068 rm -f conftest.$ac_objext
16069 if { (ac_try="$ac_compile"
16070 case "(($ac_try" in
16071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16072 *) ac_try_echo=$ac_try;;
16073 esac
16074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16075 (eval "$ac_compile") 2>conftest.er1
16076 ac_status=$?
16077 grep -v '^ *+' conftest.er1 >conftest.err
16078 rm -f conftest.er1
16079 cat conftest.err >&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } && {
16082 test -z "$ac_c_werror_flag" ||
16083 test ! -s conftest.err
16084 } && test -s conftest.$ac_objext; then
16085 bakefile_cv_c_compiler___xlC__=yes
16086 else
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16089
16090 bakefile_cv_c_compiler___xlC__=no
16091
16092 fi
16093
16094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16095
16096
16097 fi
16098 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16099 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16100 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16101 :; XLCC=yes
16102 else
16103 :;
16104 fi
16105 ac_ext=c
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16110
16111
16112
16113 fi
16114 ;;
16115
16116 IRIX*)
16117
16118
16119 ac_ext=c
16120 ac_cpp='$CPP $CPPFLAGS'
16121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16124
16125 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16126 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16127 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 else
16130 cat >conftest.$ac_ext <<_ACEOF
16131 /* confdefs.h. */
16132 _ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16136
16137 int
16138 main ()
16139 {
16140
16141 #ifndef _SGI_COMPILER_VERSION
16142 choke me
16143 #endif
16144
16145 ;
16146 return 0;
16147 }
16148 _ACEOF
16149 rm -f conftest.$ac_objext
16150 if { (ac_try="$ac_compile"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16154 esac
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_compile") 2>conftest.er1
16157 ac_status=$?
16158 grep -v '^ *+' conftest.er1 >conftest.err
16159 rm -f conftest.er1
16160 cat conftest.err >&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } && {
16163 test -z "$ac_c_werror_flag" ||
16164 test ! -s conftest.err
16165 } && test -s conftest.$ac_objext; then
16166 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16167 else
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.$ac_ext >&5
16170
16171 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16172
16173 fi
16174
16175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16176
16177
16178 fi
16179 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16180 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16181 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16182 :; SGICC=yes
16183 else
16184 :;
16185 fi
16186 ac_ext=c
16187 ac_cpp='$CPP $CPPFLAGS'
16188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16191
16192
16193
16194 ;;
16195
16196 Linux*)
16197 if test "$INTELCC" != "yes"; then
16198
16199
16200 ac_ext=c
16201 ac_cpp='$CPP $CPPFLAGS'
16202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16205
16206 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16207 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16208 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 else
16211 cat >conftest.$ac_ext <<_ACEOF
16212 /* confdefs.h. */
16213 _ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16217
16218 int
16219 main ()
16220 {
16221
16222 #ifndef __SUNPRO_C
16223 choke me
16224 #endif
16225
16226 ;
16227 return 0;
16228 }
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (ac_try="$ac_compile"
16232 case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16235 esac
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_compile") 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && {
16244 test -z "$ac_c_werror_flag" ||
16245 test ! -s conftest.err
16246 } && test -s conftest.$ac_objext; then
16247 bakefile_cv_c_compiler___SUNPRO_C=yes
16248 else
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.$ac_ext >&5
16251
16252 bakefile_cv_c_compiler___SUNPRO_C=no
16253
16254 fi
16255
16256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16257
16258
16259 fi
16260 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16261 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16262 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16263 :; SUNCC=yes
16264 else
16265 :;
16266 fi
16267 ac_ext=c
16268 ac_cpp='$CPP $CPPFLAGS'
16269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16272
16273
16274
16275 fi
16276 ;;
16277
16278 HP-UX*)
16279
16280
16281 ac_ext=c
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16286
16287 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16288 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16289 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 else
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298
16299 int
16300 main ()
16301 {
16302
16303 #ifndef __HP_cc
16304 choke me
16305 #endif
16306
16307 ;
16308 return 0;
16309 }
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (ac_try="$ac_compile"
16313 case "(($ac_try" in
16314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16315 *) ac_try_echo=$ac_try;;
16316 esac
16317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16318 (eval "$ac_compile") 2>conftest.er1
16319 ac_status=$?
16320 grep -v '^ *+' conftest.er1 >conftest.err
16321 rm -f conftest.er1
16322 cat conftest.err >&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } && {
16325 test -z "$ac_c_werror_flag" ||
16326 test ! -s conftest.err
16327 } && test -s conftest.$ac_objext; then
16328 bakefile_cv_c_compiler___HP_cc=yes
16329 else
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.$ac_ext >&5
16332
16333 bakefile_cv_c_compiler___HP_cc=no
16334
16335 fi
16336
16337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16338
16339
16340 fi
16341 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16342 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16343 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16344 :; HPCC=yes
16345 else
16346 :;
16347 fi
16348 ac_ext=c
16349 ac_cpp='$CPP $CPPFLAGS'
16350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16353
16354
16355
16356 ;;
16357
16358 OSF1)
16359
16360
16361 ac_ext=c
16362 ac_cpp='$CPP $CPPFLAGS'
16363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16366
16367 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16368 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16369 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16370 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 else
16372 cat >conftest.$ac_ext <<_ACEOF
16373 /* confdefs.h. */
16374 _ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16378
16379 int
16380 main ()
16381 {
16382
16383 #ifndef __DECC
16384 choke me
16385 #endif
16386
16387 ;
16388 return 0;
16389 }
16390 _ACEOF
16391 rm -f conftest.$ac_objext
16392 if { (ac_try="$ac_compile"
16393 case "(($ac_try" in
16394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16395 *) ac_try_echo=$ac_try;;
16396 esac
16397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16398 (eval "$ac_compile") 2>conftest.er1
16399 ac_status=$?
16400 grep -v '^ *+' conftest.er1 >conftest.err
16401 rm -f conftest.er1
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } && {
16405 test -z "$ac_c_werror_flag" ||
16406 test ! -s conftest.err
16407 } && test -s conftest.$ac_objext; then
16408 bakefile_cv_c_compiler___DECC=yes
16409 else
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16412
16413 bakefile_cv_c_compiler___DECC=no
16414
16415 fi
16416
16417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16418
16419
16420 fi
16421 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16422 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16423 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16424 :; COMPAQCC=yes
16425 else
16426 :;
16427 fi
16428 ac_ext=c
16429 ac_cpp='$CPP $CPPFLAGS'
16430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16433
16434
16435
16436 ;;
16437
16438 SunOS)
16439
16440
16441 ac_ext=c
16442 ac_cpp='$CPP $CPPFLAGS'
16443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16446
16447 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16448 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16449 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 else
16452 cat >conftest.$ac_ext <<_ACEOF
16453 /* confdefs.h. */
16454 _ACEOF
16455 cat confdefs.h >>conftest.$ac_ext
16456 cat >>conftest.$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458
16459 int
16460 main ()
16461 {
16462
16463 #ifndef __SUNPRO_C
16464 choke me
16465 #endif
16466
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 rm -f conftest.$ac_objext
16472 if { (ac_try="$ac_compile"
16473 case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16476 esac
16477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_compile") 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest.$ac_objext; then
16488 bakefile_cv_c_compiler___SUNPRO_C=yes
16489 else
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16492
16493 bakefile_cv_c_compiler___SUNPRO_C=no
16494
16495 fi
16496
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498
16499
16500 fi
16501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16502 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16503 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16504 :; SUNCC=yes
16505 else
16506 :;
16507 fi
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16513
16514
16515
16516 ;;
16517 esac
16518 fi
16519
16520
16521
16522 ac_ext=c
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16527 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16528 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16529 # On Suns, sometimes $CPP names a directory.
16530 if test -n "$CPP" && test -d "$CPP"; then
16531 CPP=
16532 fi
16533 if test -z "$CPP"; then
16534 if test "${ac_cv_prog_CPP+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 else
16537 # Double quotes because CPP needs to be expanded
16538 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16539 do
16540 ac_preproc_ok=false
16541 for ac_c_preproc_warn_flag in '' yes
16542 do
16543 # Use a header file that comes with gcc, so configuring glibc
16544 # with a fresh cross-compiler works.
16545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16546 # <limits.h> exists even on freestanding compilers.
16547 # On the NeXT, cc -E runs the code through the compiler's parser,
16548 # not just through cpp. "Syntax error" is here to catch this case.
16549 cat >conftest.$ac_ext <<_ACEOF
16550 /* confdefs.h. */
16551 _ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555 #ifdef __STDC__
16556 # include <limits.h>
16557 #else
16558 # include <assert.h>
16559 #endif
16560 Syntax error
16561 _ACEOF
16562 if { (ac_try="$ac_cpp conftest.$ac_ext"
16563 case "(($ac_try" in
16564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16566 esac
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16569 ac_status=$?
16570 grep -v '^ *+' conftest.er1 >conftest.err
16571 rm -f conftest.er1
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } >/dev/null && {
16575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 }; then
16578 :
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16582
16583 # Broken: fails on valid input.
16584 continue
16585 fi
16586
16587 rm -f conftest.err conftest.$ac_ext
16588
16589 # OK, works on sane cases. Now check whether nonexistent headers
16590 # can be detected and how.
16591 cat >conftest.$ac_ext <<_ACEOF
16592 /* confdefs.h. */
16593 _ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 #include <ac_nonexistent.h>
16598 _ACEOF
16599 if { (ac_try="$ac_cpp conftest.$ac_ext"
16600 case "(($ac_try" in
16601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16602 *) ac_try_echo=$ac_try;;
16603 esac
16604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16606 ac_status=$?
16607 grep -v '^ *+' conftest.er1 >conftest.err
16608 rm -f conftest.er1
16609 cat conftest.err >&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } >/dev/null && {
16612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16613 test ! -s conftest.err
16614 }; then
16615 # Broken: success on invalid input.
16616 continue
16617 else
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16620
16621 # Passes both tests.
16622 ac_preproc_ok=:
16623 break
16624 fi
16625
16626 rm -f conftest.err conftest.$ac_ext
16627
16628 done
16629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16630 rm -f conftest.err conftest.$ac_ext
16631 if $ac_preproc_ok; then
16632 break
16633 fi
16634
16635 done
16636 ac_cv_prog_CPP=$CPP
16637
16638 fi
16639 CPP=$ac_cv_prog_CPP
16640 else
16641 ac_cv_prog_CPP=$CPP
16642 fi
16643 { echo "$as_me:$LINENO: result: $CPP" >&5
16644 echo "${ECHO_T}$CPP" >&6; }
16645 ac_preproc_ok=false
16646 for ac_c_preproc_warn_flag in '' yes
16647 do
16648 # Use a header file that comes with gcc, so configuring glibc
16649 # with a fresh cross-compiler works.
16650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16651 # <limits.h> exists even on freestanding compilers.
16652 # On the NeXT, cc -E runs the code through the compiler's parser,
16653 # not just through cpp. "Syntax error" is here to catch this case.
16654 cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h. */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 #ifdef __STDC__
16661 # include <limits.h>
16662 #else
16663 # include <assert.h>
16664 #endif
16665 Syntax error
16666 _ACEOF
16667 if { (ac_try="$ac_cpp conftest.$ac_ext"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16674 ac_status=$?
16675 grep -v '^ *+' conftest.er1 >conftest.err
16676 rm -f conftest.er1
16677 cat conftest.err >&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } >/dev/null && {
16680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16681 test ! -s conftest.err
16682 }; then
16683 :
16684 else
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16687
16688 # Broken: fails on valid input.
16689 continue
16690 fi
16691
16692 rm -f conftest.err conftest.$ac_ext
16693
16694 # OK, works on sane cases. Now check whether nonexistent headers
16695 # can be detected and how.
16696 cat >conftest.$ac_ext <<_ACEOF
16697 /* confdefs.h. */
16698 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 #include <ac_nonexistent.h>
16703 _ACEOF
16704 if { (ac_try="$ac_cpp conftest.$ac_ext"
16705 case "(($ac_try" in
16706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16707 *) ac_try_echo=$ac_try;;
16708 esac
16709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16711 ac_status=$?
16712 grep -v '^ *+' conftest.er1 >conftest.err
16713 rm -f conftest.er1
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } >/dev/null && {
16717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16718 test ! -s conftest.err
16719 }; then
16720 # Broken: success on invalid input.
16721 continue
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 # Passes both tests.
16727 ac_preproc_ok=:
16728 break
16729 fi
16730
16731 rm -f conftest.err conftest.$ac_ext
16732
16733 done
16734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16735 rm -f conftest.err conftest.$ac_ext
16736 if $ac_preproc_ok; then
16737 :
16738 else
16739 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16740 See \`config.log' for more details." >&5
16741 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16742 See \`config.log' for more details." >&2;}
16743 { (exit 1); exit 1; }; }
16744 fi
16745
16746 ac_ext=c
16747 ac_cpp='$CPP $CPPFLAGS'
16748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16751
16752
16753 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16754 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16755 if test "${ac_cv_path_GREP+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 else
16758 # Extract the first word of "grep ggrep" to use in msg output
16759 if test -z "$GREP"; then
16760 set dummy grep ggrep; ac_prog_name=$2
16761 if test "${ac_cv_path_GREP+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 else
16764 ac_path_GREP_found=false
16765 # Loop through the user's path and test for each of PROGNAME-LIST
16766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16767 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16768 do
16769 IFS=$as_save_IFS
16770 test -z "$as_dir" && as_dir=.
16771 for ac_prog in grep ggrep; do
16772 for ac_exec_ext in '' $ac_executable_extensions; do
16773 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16774 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16775 # Check for GNU ac_path_GREP and select it if it is found.
16776 # Check for GNU $ac_path_GREP
16777 case `"$ac_path_GREP" --version 2>&1` in
16778 *GNU*)
16779 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16780 *)
16781 ac_count=0
16782 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16783 while :
16784 do
16785 cat "conftest.in" "conftest.in" >"conftest.tmp"
16786 mv "conftest.tmp" "conftest.in"
16787 cp "conftest.in" "conftest.nl"
16788 echo 'GREP' >> "conftest.nl"
16789 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16790 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16791 ac_count=`expr $ac_count + 1`
16792 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16793 # Best one so far, save it but keep looking for a better one
16794 ac_cv_path_GREP="$ac_path_GREP"
16795 ac_path_GREP_max=$ac_count
16796 fi
16797 # 10*(2^10) chars as input seems more than enough
16798 test $ac_count -gt 10 && break
16799 done
16800 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16801 esac
16802
16803
16804 $ac_path_GREP_found && break 3
16805 done
16806 done
16807
16808 done
16809 IFS=$as_save_IFS
16810
16811
16812 fi
16813
16814 GREP="$ac_cv_path_GREP"
16815 if test -z "$GREP"; then
16816 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16817 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16818 { (exit 1); exit 1; }; }
16819 fi
16820
16821 else
16822 ac_cv_path_GREP=$GREP
16823 fi
16824
16825
16826 fi
16827 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16828 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16829 GREP="$ac_cv_path_GREP"
16830
16831
16832 { echo "$as_me:$LINENO: checking for egrep" >&5
16833 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16834 if test "${ac_cv_path_EGREP+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 else
16837 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16838 then ac_cv_path_EGREP="$GREP -E"
16839 else
16840 # Extract the first word of "egrep" to use in msg output
16841 if test -z "$EGREP"; then
16842 set dummy egrep; ac_prog_name=$2
16843 if test "${ac_cv_path_EGREP+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 else
16846 ac_path_EGREP_found=false
16847 # Loop through the user's path and test for each of PROGNAME-LIST
16848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16849 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16850 do
16851 IFS=$as_save_IFS
16852 test -z "$as_dir" && as_dir=.
16853 for ac_prog in egrep; do
16854 for ac_exec_ext in '' $ac_executable_extensions; do
16855 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16856 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16857 # Check for GNU ac_path_EGREP and select it if it is found.
16858 # Check for GNU $ac_path_EGREP
16859 case `"$ac_path_EGREP" --version 2>&1` in
16860 *GNU*)
16861 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16862 *)
16863 ac_count=0
16864 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16865 while :
16866 do
16867 cat "conftest.in" "conftest.in" >"conftest.tmp"
16868 mv "conftest.tmp" "conftest.in"
16869 cp "conftest.in" "conftest.nl"
16870 echo 'EGREP' >> "conftest.nl"
16871 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16872 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16873 ac_count=`expr $ac_count + 1`
16874 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16875 # Best one so far, save it but keep looking for a better one
16876 ac_cv_path_EGREP="$ac_path_EGREP"
16877 ac_path_EGREP_max=$ac_count
16878 fi
16879 # 10*(2^10) chars as input seems more than enough
16880 test $ac_count -gt 10 && break
16881 done
16882 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16883 esac
16884
16885
16886 $ac_path_EGREP_found && break 3
16887 done
16888 done
16889
16890 done
16891 IFS=$as_save_IFS
16892
16893
16894 fi
16895
16896 EGREP="$ac_cv_path_EGREP"
16897 if test -z "$EGREP"; then
16898 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16899 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16900 { (exit 1); exit 1; }; }
16901 fi
16902
16903 else
16904 ac_cv_path_EGREP=$EGREP
16905 fi
16906
16907
16908 fi
16909 fi
16910 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16911 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16912 EGREP="$ac_cv_path_EGREP"
16913
16914
16915 if test $ac_cv_c_compiler_gnu = yes; then
16916 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921 ac_pattern="Autoconf.*'x'"
16922 cat >conftest.$ac_ext <<_ACEOF
16923 /* confdefs.h. */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 #include <sgtty.h>
16929 Autoconf TIOCGETP
16930 _ACEOF
16931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16933 ac_cv_prog_gcc_traditional=yes
16934 else
16935 ac_cv_prog_gcc_traditional=no
16936 fi
16937 rm -f conftest*
16938
16939
16940 if test $ac_cv_prog_gcc_traditional = no; then
16941 cat >conftest.$ac_ext <<_ACEOF
16942 /* confdefs.h. */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 #include <termio.h>
16948 Autoconf TCGETA
16949 _ACEOF
16950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16952 ac_cv_prog_gcc_traditional=yes
16953 fi
16954 rm -f conftest*
16955
16956 fi
16957 fi
16958 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16960 if test $ac_cv_prog_gcc_traditional = yes; then
16961 CC="$CC -traditional"
16962 fi
16963 fi
16964
16965
16966 CXXFLAGS=${CXXFLAGS:=}
16967 ac_ext=cpp
16968 ac_cpp='$CXXCPP $CPPFLAGS'
16969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16972 if test -z "$CXX"; then
16973 if test -n "$CCC"; then
16974 CXX=$CCC
16975 else
16976 if test -n "$ac_tool_prefix"; then
16977 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16978 do
16979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16983 if test "${ac_cv_prog_CXX+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 else
16986 if test -n "$CXX"; then
16987 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16988 else
16989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16990 for as_dir in $PATH
16991 do
16992 IFS=$as_save_IFS
16993 test -z "$as_dir" && as_dir=.
16994 for ac_exec_ext in '' $ac_executable_extensions; do
16995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16996 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16998 break 2
16999 fi
17000 done
17001 done
17002 IFS=$as_save_IFS
17003
17004 fi
17005 fi
17006 CXX=$ac_cv_prog_CXX
17007 if test -n "$CXX"; then
17008 { echo "$as_me:$LINENO: result: $CXX" >&5
17009 echo "${ECHO_T}$CXX" >&6; }
17010 else
17011 { echo "$as_me:$LINENO: result: no" >&5
17012 echo "${ECHO_T}no" >&6; }
17013 fi
17014
17015
17016 test -n "$CXX" && break
17017 done
17018 fi
17019 if test -z "$CXX"; then
17020 ac_ct_CXX=$CXX
17021 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17022 do
17023 # Extract the first word of "$ac_prog", so it can be a program name with args.
17024 set dummy $ac_prog; ac_word=$2
17025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17027 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 else
17030 if test -n "$ac_ct_CXX"; then
17031 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17032 else
17033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17034 for as_dir in $PATH
17035 do
17036 IFS=$as_save_IFS
17037 test -z "$as_dir" && as_dir=.
17038 for ac_exec_ext in '' $ac_executable_extensions; do
17039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17040 ac_cv_prog_ac_ct_CXX="$ac_prog"
17041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17042 break 2
17043 fi
17044 done
17045 done
17046 IFS=$as_save_IFS
17047
17048 fi
17049 fi
17050 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17051 if test -n "$ac_ct_CXX"; then
17052 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17053 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17054 else
17055 { echo "$as_me:$LINENO: result: no" >&5
17056 echo "${ECHO_T}no" >&6; }
17057 fi
17058
17059
17060 test -n "$ac_ct_CXX" && break
17061 done
17062
17063 if test "x$ac_ct_CXX" = x; then
17064 CXX="g++"
17065 else
17066 case $cross_compiling:$ac_tool_warned in
17067 yes:)
17068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17069 whose name does not start with the host triplet. If you think this
17070 configuration is useful to you, please write to autoconf@gnu.org." >&5
17071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17072 whose name does not start with the host triplet. If you think this
17073 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17074 ac_tool_warned=yes ;;
17075 esac
17076 CXX=$ac_ct_CXX
17077 fi
17078 fi
17079
17080 fi
17081 fi
17082 # Provide some information about the compiler.
17083 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17084 ac_compiler=`set X $ac_compile; echo $2`
17085 { (ac_try="$ac_compiler --version >&5"
17086 case "(($ac_try" in
17087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17088 *) ac_try_echo=$ac_try;;
17089 esac
17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17091 (eval "$ac_compiler --version >&5") 2>&5
17092 ac_status=$?
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }
17095 { (ac_try="$ac_compiler -v >&5"
17096 case "(($ac_try" in
17097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17098 *) ac_try_echo=$ac_try;;
17099 esac
17100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 (eval "$ac_compiler -v >&5") 2>&5
17102 ac_status=$?
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }
17105 { (ac_try="$ac_compiler -V >&5"
17106 case "(($ac_try" in
17107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17108 *) ac_try_echo=$ac_try;;
17109 esac
17110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17111 (eval "$ac_compiler -V >&5") 2>&5
17112 ac_status=$?
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }
17115
17116 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17117 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17118 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127
17128 int
17129 main ()
17130 {
17131 #ifndef __GNUC__
17132 choke me
17133 #endif
17134
17135 ;
17136 return 0;
17137 }
17138 _ACEOF
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17144 esac
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17147 ac_status=$?
17148 grep -v '^ *+' conftest.er1 >conftest.err
17149 rm -f conftest.er1
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_cxx_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.$ac_objext; then
17156 ac_compiler_gnu=yes
17157 else
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17160
17161 ac_compiler_gnu=no
17162 fi
17163
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17166
17167 fi
17168 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17169 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17170 GXX=`test $ac_compiler_gnu = yes && echo yes`
17171 ac_test_CXXFLAGS=${CXXFLAGS+set}
17172 ac_save_CXXFLAGS=$CXXFLAGS
17173 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17174 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17175 if test "${ac_cv_prog_cxx_g+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17177 else
17178 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17179 ac_cxx_werror_flag=yes
17180 ac_cv_prog_cxx_g=no
17181 CXXFLAGS="-g"
17182 cat >conftest.$ac_ext <<_ACEOF
17183 /* confdefs.h. */
17184 _ACEOF
17185 cat confdefs.h >>conftest.$ac_ext
17186 cat >>conftest.$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188
17189 int
17190 main ()
17191 {
17192
17193 ;
17194 return 0;
17195 }
17196 _ACEOF
17197 rm -f conftest.$ac_objext
17198 if { (ac_try="$ac_compile"
17199 case "(($ac_try" in
17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17202 esac
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_compile") 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } && {
17211 test -z "$ac_cxx_werror_flag" ||
17212 test ! -s conftest.err
17213 } && test -s conftest.$ac_objext; then
17214 ac_cv_prog_cxx_g=yes
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 CXXFLAGS=""
17220 cat >conftest.$ac_ext <<_ACEOF
17221 /* confdefs.h. */
17222 _ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226
17227 int
17228 main ()
17229 {
17230
17231 ;
17232 return 0;
17233 }
17234 _ACEOF
17235 rm -f conftest.$ac_objext
17236 if { (ac_try="$ac_compile"
17237 case "(($ac_try" in
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17239 *) ac_try_echo=$ac_try;;
17240 esac
17241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17242 (eval "$ac_compile") 2>conftest.er1
17243 ac_status=$?
17244 grep -v '^ *+' conftest.er1 >conftest.err
17245 rm -f conftest.er1
17246 cat conftest.err >&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } && {
17249 test -z "$ac_cxx_werror_flag" ||
17250 test ! -s conftest.err
17251 } && test -s conftest.$ac_objext; then
17252 :
17253 else
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.$ac_ext >&5
17256
17257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17258 CXXFLAGS="-g"
17259 cat >conftest.$ac_ext <<_ACEOF
17260 /* confdefs.h. */
17261 _ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265
17266 int
17267 main ()
17268 {
17269
17270 ;
17271 return 0;
17272 }
17273 _ACEOF
17274 rm -f conftest.$ac_objext
17275 if { (ac_try="$ac_compile"
17276 case "(($ac_try" in
17277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17278 *) ac_try_echo=$ac_try;;
17279 esac
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17281 (eval "$ac_compile") 2>conftest.er1
17282 ac_status=$?
17283 grep -v '^ *+' conftest.er1 >conftest.err
17284 rm -f conftest.er1
17285 cat conftest.err >&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } && {
17288 test -z "$ac_cxx_werror_flag" ||
17289 test ! -s conftest.err
17290 } && test -s conftest.$ac_objext; then
17291 ac_cv_prog_cxx_g=yes
17292 else
17293 echo "$as_me: failed program was:" >&5
17294 sed 's/^/| /' conftest.$ac_ext >&5
17295
17296
17297 fi
17298
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17300 fi
17301
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303 fi
17304
17305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17306 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17307 fi
17308 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17309 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17310 if test "$ac_test_CXXFLAGS" = set; then
17311 CXXFLAGS=$ac_save_CXXFLAGS
17312 elif test $ac_cv_prog_cxx_g = yes; then
17313 if test "$GXX" = yes; then
17314 CXXFLAGS="-g -O2"
17315 else
17316 CXXFLAGS="-g"
17317 fi
17318 else
17319 if test "$GXX" = yes; then
17320 CXXFLAGS="-O2"
17321 else
17322 CXXFLAGS=
17323 fi
17324 fi
17325 ac_ext=c
17326 ac_cpp='$CPP $CPPFLAGS'
17327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17330
17331
17332
17333
17334
17335
17336
17337
17338 ac_ext=cpp
17339 ac_cpp='$CXXCPP $CPPFLAGS'
17340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17343
17344 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17345 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17346 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17347 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 else
17349 cat >conftest.$ac_ext <<_ACEOF
17350 /* confdefs.h. */
17351 _ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355
17356 int
17357 main ()
17358 {
17359
17360 #ifndef __INTEL_COMPILER
17361 choke me
17362 #endif
17363
17364 ;
17365 return 0;
17366 }
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (ac_try="$ac_compile"
17370 case "(($ac_try" in
17371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17372 *) ac_try_echo=$ac_try;;
17373 esac
17374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17375 (eval "$ac_compile") 2>conftest.er1
17376 ac_status=$?
17377 grep -v '^ *+' conftest.er1 >conftest.err
17378 rm -f conftest.er1
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } && {
17382 test -z "$ac_cxx_werror_flag" ||
17383 test ! -s conftest.err
17384 } && test -s conftest.$ac_objext; then
17385 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17389
17390 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17391
17392 fi
17393
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395
17396
17397 fi
17398 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17399 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17400 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17401 :; INTELCXX=yes
17402 else
17403 :;
17404 fi
17405 ac_ext=c
17406 ac_cpp='$CPP $CPPFLAGS'
17407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17410
17411
17412
17413
17414 if test "$INTELCXX" = "yes"; then
17415
17416
17417 ac_ext=cpp
17418 ac_cpp='$CXXCPP $CPPFLAGS'
17419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17422
17423 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17424 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17425 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 cat >conftest.$ac_ext <<_ACEOF
17429 /* confdefs.h. */
17430 _ACEOF
17431 cat confdefs.h >>conftest.$ac_ext
17432 cat >>conftest.$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17434
17435 int
17436 main ()
17437 {
17438
17439 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17440 choke me
17441 #endif
17442
17443 ;
17444 return 0;
17445 }
17446 _ACEOF
17447 rm -f conftest.$ac_objext
17448 if { (ac_try="$ac_compile"
17449 case "(($ac_try" in
17450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17451 *) ac_try_echo=$ac_try;;
17452 esac
17453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17454 (eval "$ac_compile") 2>conftest.er1
17455 ac_status=$?
17456 grep -v '^ *+' conftest.er1 >conftest.err
17457 rm -f conftest.er1
17458 cat conftest.err >&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } && {
17461 test -z "$ac_cxx_werror_flag" ||
17462 test ! -s conftest.err
17463 } && test -s conftest.$ac_objext; then
17464 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17465 else
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17468
17469 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17470
17471 fi
17472
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474
17475
17476 fi
17477 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17478 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17479 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17480 :; INTELCXX8=yes
17481 else
17482 :;
17483 fi
17484 ac_ext=c
17485 ac_cpp='$CPP $CPPFLAGS'
17486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17489
17490
17491
17492
17493
17494 ac_ext=cpp
17495 ac_cpp='$CXXCPP $CPPFLAGS'
17496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17499
17500 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17501 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17502 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 else
17505 cat >conftest.$ac_ext <<_ACEOF
17506 /* confdefs.h. */
17507 _ACEOF
17508 cat confdefs.h >>conftest.$ac_ext
17509 cat >>conftest.$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17511
17512 int
17513 main ()
17514 {
17515
17516 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17517 choke me
17518 #endif
17519
17520 ;
17521 return 0;
17522 }
17523 _ACEOF
17524 rm -f conftest.$ac_objext
17525 if { (ac_try="$ac_compile"
17526 case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17529 esac
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_compile") 2>conftest.er1
17532 ac_status=$?
17533 grep -v '^ *+' conftest.er1 >conftest.err
17534 rm -f conftest.er1
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } && {
17538 test -z "$ac_cxx_werror_flag" ||
17539 test ! -s conftest.err
17540 } && test -s conftest.$ac_objext; then
17541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17542 else
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.$ac_ext >&5
17545
17546 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17547
17548 fi
17549
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551
17552
17553 fi
17554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17556 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17557 :; INTELCXX10=yes
17558 else
17559 :;
17560 fi
17561 ac_ext=c
17562 ac_cpp='$CPP $CPPFLAGS'
17563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17566
17567
17568
17569 fi
17570
17571 if test "x$GCXX" != "xyes"; then
17572 if test "xCXX" = "xC"; then
17573 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17574 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17575 if test "${bakefile_cv_c_exto+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 int
17586 main ()
17587 {
17588
17589 ;
17590 return 0;
17591 }
17592 _ACEOF
17593 rm -f conftest.$ac_objext conftest.$ac_ext.o
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; then
17599 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17600 case $ac_file in
17601 conftest.$ac_ext.o)
17602 bakefile_cv_c_exto="-ext o"
17603 ;;
17604 *)
17605 ;;
17606 esac
17607 done
17608 else
17609 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17610 See \`config.log' for more details." >&5
17611 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17612 See \`config.log' for more details." >&2;}
17613 { (exit 1); exit 1; }; }
17614
17615 fi
17616
17617 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17618
17619 fi
17620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17621 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17623 if test "c" = "c"; then
17624 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17625 fi
17626 if test "c" = "cxx"; then
17627 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17628 fi
17629 fi
17630
17631 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17632 unset ac_cv_prog_cc_g
17633 ac_test_CFLAGS=${CFLAGS+set}
17634 ac_save_CFLAGS=$CFLAGS
17635 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17636 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17637 if test "${ac_cv_prog_cc_g+set}" = set; then
17638 echo $ECHO_N "(cached) $ECHO_C" >&6
17639 else
17640 ac_save_c_werror_flag=$ac_c_werror_flag
17641 ac_c_werror_flag=yes
17642 ac_cv_prog_cc_g=no
17643 CFLAGS="-g"
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650
17651 int
17652 main ()
17653 {
17654
17655 ;
17656 return 0;
17657 }
17658 _ACEOF
17659 rm -f conftest.$ac_objext
17660 if { (ac_try="$ac_compile"
17661 case "(($ac_try" in
17662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17663 *) ac_try_echo=$ac_try;;
17664 esac
17665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17666 (eval "$ac_compile") 2>conftest.er1
17667 ac_status=$?
17668 grep -v '^ *+' conftest.er1 >conftest.err
17669 rm -f conftest.er1
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } && {
17673 test -z "$ac_c_werror_flag" ||
17674 test ! -s conftest.err
17675 } && test -s conftest.$ac_objext; then
17676 ac_cv_prog_cc_g=yes
17677 else
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17680
17681 CFLAGS=""
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688
17689 int
17690 main ()
17691 {
17692
17693 ;
17694 return 0;
17695 }
17696 _ACEOF
17697 rm -f conftest.$ac_objext
17698 if { (ac_try="$ac_compile"
17699 case "(($ac_try" in
17700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17701 *) ac_try_echo=$ac_try;;
17702 esac
17703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17704 (eval "$ac_compile") 2>conftest.er1
17705 ac_status=$?
17706 grep -v '^ *+' conftest.er1 >conftest.err
17707 rm -f conftest.er1
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } && {
17711 test -z "$ac_c_werror_flag" ||
17712 test ! -s conftest.err
17713 } && test -s conftest.$ac_objext; then
17714 :
17715 else
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17718
17719 ac_c_werror_flag=$ac_save_c_werror_flag
17720 CFLAGS="-g"
17721 cat >conftest.$ac_ext <<_ACEOF
17722 /* confdefs.h. */
17723 _ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727
17728 int
17729 main ()
17730 {
17731
17732 ;
17733 return 0;
17734 }
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17741 esac
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_prog_cc_g=yes
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758
17759 fi
17760
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762 fi
17763
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 fi
17766
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 ac_c_werror_flag=$ac_save_c_werror_flag
17769 fi
17770 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17771 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17772 if test "$ac_test_CFLAGS" = set; then
17773 CFLAGS=$ac_save_CFLAGS
17774 elif test $ac_cv_prog_cc_g = yes; then
17775 if test "$GCC" = yes; then
17776 CFLAGS="-g -O2"
17777 else
17778 CFLAGS="-g"
17779 fi
17780 else
17781 if test "$GCC" = yes; then
17782 CFLAGS="-O2"
17783 else
17784 CFLAGS=
17785 fi
17786 fi
17787 fi
17788 fi
17789
17790 case `uname -s` in
17791 AIX*)
17792
17793
17794 ac_ext=cpp
17795 ac_cpp='$CXXCPP $CPPFLAGS'
17796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17799
17800 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17801 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17802 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 else
17805 cat >conftest.$ac_ext <<_ACEOF
17806 /* confdefs.h. */
17807 _ACEOF
17808 cat confdefs.h >>conftest.$ac_ext
17809 cat >>conftest.$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811
17812 int
17813 main ()
17814 {
17815
17816 #ifndef __xlC__
17817 choke me
17818 #endif
17819
17820 ;
17821 return 0;
17822 }
17823 _ACEOF
17824 rm -f conftest.$ac_objext
17825 if { (ac_try="$ac_compile"
17826 case "(($ac_try" in
17827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17828 *) ac_try_echo=$ac_try;;
17829 esac
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_compile") 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } && {
17838 test -z "$ac_cxx_werror_flag" ||
17839 test ! -s conftest.err
17840 } && test -s conftest.$ac_objext; then
17841 bakefile_cv_cxx_compiler___xlC__=yes
17842 else
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17845
17846 bakefile_cv_cxx_compiler___xlC__=no
17847
17848 fi
17849
17850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17851
17852
17853 fi
17854 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17855 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17856 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17857 :; XLCXX=yes
17858 else
17859 :;
17860 fi
17861 ac_ext=c
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17866
17867
17868
17869 ;;
17870
17871 Darwin)
17872
17873
17874 ac_ext=cpp
17875 ac_cpp='$CXXCPP $CPPFLAGS'
17876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17879
17880 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17881 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17882 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 else
17885 cat >conftest.$ac_ext <<_ACEOF
17886 /* confdefs.h. */
17887 _ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17891
17892 int
17893 main ()
17894 {
17895
17896 #ifndef __MWERKS__
17897 choke me
17898 #endif
17899
17900 ;
17901 return 0;
17902 }
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17921 bakefile_cv_cxx_compiler___MWERKS__=yes
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 bakefile_cv_cxx_compiler___MWERKS__=no
17927
17928 fi
17929
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931
17932
17933 fi
17934 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17935 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17936 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17937 :; MWCXX=yes
17938 else
17939 :;
17940 fi
17941 ac_ext=c
17942 ac_cpp='$CPP $CPPFLAGS'
17943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17946
17947
17948
17949 if test "$MWCXX" != "yes"; then
17950
17951
17952 ac_ext=cpp
17953 ac_cpp='$CXXCPP $CPPFLAGS'
17954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17957
17958 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17959 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17960 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969
17970 int
17971 main ()
17972 {
17973
17974 #ifndef __xlC__
17975 choke me
17976 #endif
17977
17978 ;
17979 return 0;
17980 }
17981 _ACEOF
17982 rm -f conftest.$ac_objext
17983 if { (ac_try="$ac_compile"
17984 case "(($ac_try" in
17985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17986 *) ac_try_echo=$ac_try;;
17987 esac
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_compile") 2>conftest.er1
17990 ac_status=$?
17991 grep -v '^ *+' conftest.er1 >conftest.err
17992 rm -f conftest.er1
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_cxx_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest.$ac_objext; then
17999 bakefile_cv_cxx_compiler___xlC__=yes
18000 else
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18003
18004 bakefile_cv_cxx_compiler___xlC__=no
18005
18006 fi
18007
18008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009
18010
18011 fi
18012 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18013 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18014 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18015 :; XLCXX=yes
18016 else
18017 :;
18018 fi
18019 ac_ext=c
18020 ac_cpp='$CPP $CPPFLAGS'
18021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18024
18025
18026
18027 fi
18028 ;;
18029
18030 IRIX*)
18031
18032
18033 ac_ext=cpp
18034 ac_cpp='$CXXCPP $CPPFLAGS'
18035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18038
18039 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18040 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18041 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 else
18044 cat >conftest.$ac_ext <<_ACEOF
18045 /* confdefs.h. */
18046 _ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050
18051 int
18052 main ()
18053 {
18054
18055 #ifndef _SGI_COMPILER_VERSION
18056 choke me
18057 #endif
18058
18059 ;
18060 return 0;
18061 }
18062 _ACEOF
18063 rm -f conftest.$ac_objext
18064 if { (ac_try="$ac_compile"
18065 case "(($ac_try" in
18066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18068 esac
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_compile") 2>conftest.er1
18071 ac_status=$?
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && {
18077 test -z "$ac_cxx_werror_flag" ||
18078 test ! -s conftest.err
18079 } && test -s conftest.$ac_objext; then
18080 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18084
18085 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18086
18087 fi
18088
18089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090
18091
18092 fi
18093 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18094 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18095 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18096 :; SGICXX=yes
18097 else
18098 :;
18099 fi
18100 ac_ext=c
18101 ac_cpp='$CPP $CPPFLAGS'
18102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18105
18106
18107
18108 ;;
18109
18110 Linux*)
18111 if test "$INTELCXX" != "yes"; then
18112
18113
18114 ac_ext=cpp
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18119
18120 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18121 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18122 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 else
18125 cat >conftest.$ac_ext <<_ACEOF
18126 /* confdefs.h. */
18127 _ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131
18132 int
18133 main ()
18134 {
18135
18136 #ifndef __SUNPRO_CC
18137 choke me
18138 #endif
18139
18140 ;
18141 return 0;
18142 }
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (ac_try="$ac_compile"
18146 case "(($ac_try" in
18147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18148 *) ac_try_echo=$ac_try;;
18149 esac
18150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18151 (eval "$ac_compile") 2>conftest.er1
18152 ac_status=$?
18153 grep -v '^ *+' conftest.er1 >conftest.err
18154 rm -f conftest.er1
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } && {
18158 test -z "$ac_cxx_werror_flag" ||
18159 test ! -s conftest.err
18160 } && test -s conftest.$ac_objext; then
18161 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18167
18168 fi
18169
18170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18171
18172
18173 fi
18174 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18175 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18176 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18177 :; SUNCXX=yes
18178 else
18179 :;
18180 fi
18181 ac_ext=c
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18186
18187
18188
18189 fi
18190 ;;
18191
18192 HP-UX*)
18193
18194
18195 ac_ext=cpp
18196 ac_cpp='$CXXCPP $CPPFLAGS'
18197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18200
18201 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18202 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 else
18206 cat >conftest.$ac_ext <<_ACEOF
18207 /* confdefs.h. */
18208 _ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18212
18213 int
18214 main ()
18215 {
18216
18217 #ifndef __HP_aCC
18218 choke me
18219 #endif
18220
18221 ;
18222 return 0;
18223 }
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18230 esac
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18233 ac_status=$?
18234 grep -v '^ *+' conftest.er1 >conftest.err
18235 rm -f conftest.er1
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_cxx_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 bakefile_cv_cxx_compiler___HP_aCC=yes
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18246
18247 bakefile_cv_cxx_compiler___HP_aCC=no
18248
18249 fi
18250
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252
18253
18254 fi
18255 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18256 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18257 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18258 :; HPCXX=yes
18259 else
18260 :;
18261 fi
18262 ac_ext=c
18263 ac_cpp='$CPP $CPPFLAGS'
18264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18267
18268
18269
18270 ;;
18271
18272 OSF1)
18273
18274
18275 ac_ext=cpp
18276 ac_cpp='$CXXCPP $CPPFLAGS'
18277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18280
18281 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 else
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292
18293 int
18294 main ()
18295 {
18296
18297 #ifndef __DECCXX
18298 choke me
18299 #endif
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18313 ac_status=$?
18314 grep -v '^ *+' conftest.er1 >conftest.err
18315 rm -f conftest.er1
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_cxx_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_cxx_compiler___DECCXX=yes
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18326
18327 bakefile_cv_cxx_compiler___DECCXX=no
18328
18329 fi
18330
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332
18333
18334 fi
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18336 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18337 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18338 :; COMPAQCXX=yes
18339 else
18340 :;
18341 fi
18342 ac_ext=c
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347
18348
18349
18350 ;;
18351
18352 SunOS)
18353
18354
18355 ac_ext=cpp
18356 ac_cpp='$CXXCPP $CPPFLAGS'
18357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18360
18361 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18362 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18363 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 cat >conftest.$ac_ext <<_ACEOF
18367 /* confdefs.h. */
18368 _ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18372
18373 int
18374 main ()
18375 {
18376
18377 #ifndef __SUNPRO_CC
18378 choke me
18379 #endif
18380
18381 ;
18382 return 0;
18383 }
18384 _ACEOF
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18390 esac
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18393 ac_status=$?
18394 grep -v '^ *+' conftest.er1 >conftest.err
18395 rm -f conftest.er1
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_cxx_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18403 else
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18408
18409 fi
18410
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412
18413
18414 fi
18415 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18416 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18417 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18418 :; SUNCXX=yes
18419 else
18420 :;
18421 fi
18422 ac_ext=c
18423 ac_cpp='$CPP $CPPFLAGS'
18424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18427
18428
18429
18430 ;;
18431 esac
18432 fi
18433
18434
18435
18436 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18437 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18438 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18439 { (exit 1); exit 1; }; }
18440 fi
18441
18442 if test "x$SUNCXX" != xyes; then
18443 if test -n "$ac_tool_prefix"; then
18444 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18445 set dummy ${ac_tool_prefix}ar; ac_word=$2
18446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18448 if test "${ac_cv_prog_AR+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 else
18451 if test -n "$AR"; then
18452 ac_cv_prog_AR="$AR" # Let the user override the test.
18453 else
18454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18455 for as_dir in $PATH
18456 do
18457 IFS=$as_save_IFS
18458 test -z "$as_dir" && as_dir=.
18459 for ac_exec_ext in '' $ac_executable_extensions; do
18460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18461 ac_cv_prog_AR="${ac_tool_prefix}ar"
18462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18463 break 2
18464 fi
18465 done
18466 done
18467 IFS=$as_save_IFS
18468
18469 fi
18470 fi
18471 AR=$ac_cv_prog_AR
18472 if test -n "$AR"; then
18473 { echo "$as_me:$LINENO: result: $AR" >&5
18474 echo "${ECHO_T}$AR" >&6; }
18475 else
18476 { echo "$as_me:$LINENO: result: no" >&5
18477 echo "${ECHO_T}no" >&6; }
18478 fi
18479
18480
18481 fi
18482 if test -z "$ac_cv_prog_AR"; then
18483 ac_ct_AR=$AR
18484 # Extract the first word of "ar", so it can be a program name with args.
18485 set dummy ar; ac_word=$2
18486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18488 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 else
18491 if test -n "$ac_ct_AR"; then
18492 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18493 else
18494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18495 for as_dir in $PATH
18496 do
18497 IFS=$as_save_IFS
18498 test -z "$as_dir" && as_dir=.
18499 for ac_exec_ext in '' $ac_executable_extensions; do
18500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18501 ac_cv_prog_ac_ct_AR="ar"
18502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18503 break 2
18504 fi
18505 done
18506 done
18507 IFS=$as_save_IFS
18508
18509 fi
18510 fi
18511 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18512 if test -n "$ac_ct_AR"; then
18513 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18514 echo "${ECHO_T}$ac_ct_AR" >&6; }
18515 else
18516 { echo "$as_me:$LINENO: result: no" >&5
18517 echo "${ECHO_T}no" >&6; }
18518 fi
18519
18520 if test "x$ac_ct_AR" = x; then
18521 AR=""
18522 else
18523 case $cross_compiling:$ac_tool_warned in
18524 yes:)
18525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18526 whose name does not start with the host triplet. If you think this
18527 configuration is useful to you, please write to autoconf@gnu.org." >&5
18528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18529 whose name does not start with the host triplet. If you think this
18530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18531 ac_tool_warned=yes ;;
18532 esac
18533 AR=$ac_ct_AR
18534 fi
18535 else
18536 AR="$ac_cv_prog_AR"
18537 fi
18538
18539 if test "x$AR" = "x" ; then
18540 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18541 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18542 { (exit 1); exit 1; }; }
18543 fi
18544 fi
18545
18546
18547 if test "$wxUSE_MAC" = 1; then
18548
18549 retest_macosx_linking=no
18550
18551 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18552 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18553 # Implicitly turn on the new --with-macosx-sdk using the default
18554 # SDK which provides the behavior this option has always had.
18555 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18556 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18557 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18558 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18559 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18560 wxUSE_MACOSX_SDK=yes
18561 fi
18562 else
18563 # Complain to user if he specified an argument to --enable-universal_binary
18564 # and also 1) specified --with-macosx-sdk using the default (yes) or
18565 # 2) specified --with-macosx-sdk using a path or 3) specified
18566 # --without-macosx-sdk (no).
18567 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18568 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18569 See \`config.log' for more details." >&5
18570 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18571 See \`config.log' for more details." >&2;}
18572 { (exit 1); exit 1; }; }
18573 else
18574 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18575 # special-case the empty string because the below test simply
18576 # converts "no" to the empty string anyway.
18577 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18578 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18579 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18580 fi
18581 fi
18582 OSX_UNIV_OPTS="-arch ppc -arch i386"
18583 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18584 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18585 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18586 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18587 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18588 retest_macosx_linking=yes
18589
18590 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18591 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18592 bk_use_pch=no
18593 fi
18594
18595 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18596 wxUSE_MACOSX_SDK=
18597 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18598 # TODO: Search for most recent SDK and use it.
18599 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18600 fi
18601
18602
18603 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18604 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18605 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18606 if ! test -d "$wxUSE_MACOSX_SDK"; then
18607 { { echo "$as_me:$LINENO: error: not found
18608 See \`config.log' for more details." >&5
18609 echo "$as_me: error: not found
18610 See \`config.log' for more details." >&2;}
18611 { (exit 1); exit 1; }; }
18612 else
18613 { echo "$as_me:$LINENO: result: exists" >&5
18614 echo "${ECHO_T}exists" >&6; }
18615 fi
18616 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18617 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18618 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18619 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18620 retest_macosx_linking=yes
18621 fi
18622
18623 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18624 wxUSE_MACOSX_VERSION_MIN=
18625 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18626 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18627 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18628 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18629
18630 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/'`
18631
18632 # If that failed, try again with the new key
18633 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18634
18635 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/'`
18636
18637 fi
18638
18639 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18640 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18641 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18642 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18643 else
18644 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18645 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18646 wxUSE_MACOSX_VERSION_MIN=
18647 fi
18648 else
18649 wxUSE_MACOSX_VERSION_MIN=
18650 fi
18651 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18652 for ac_prog in sw_vers
18653 do
18654 # Extract the first word of "$ac_prog", so it can be a program name with args.
18655 set dummy $ac_prog; ac_word=$2
18656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18658 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 if test -n "$OSX_SW_VERS"; then
18662 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18663 else
18664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18665 for as_dir in $PATH
18666 do
18667 IFS=$as_save_IFS
18668 test -z "$as_dir" && as_dir=.
18669 for ac_exec_ext in '' $ac_executable_extensions; do
18670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18671 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18673 break 2
18674 fi
18675 done
18676 done
18677 IFS=$as_save_IFS
18678
18679 fi
18680 fi
18681 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18682 if test -n "$OSX_SW_VERS"; then
18683 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18684 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18685 else
18686 { echo "$as_me:$LINENO: result: no" >&5
18687 echo "${ECHO_T}no" >&6; }
18688 fi
18689
18690
18691 test -n "$OSX_SW_VERS" && break
18692 done
18693
18694 if test "$OSX_SW_VERS" != ""; then
18695 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18696 else
18697 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18698 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18699 OSX_VERSION="10.4"
18700 fi
18701
18702 case "$OSX_VERSION" in
18703 10.4* )
18704 wxUSE_MACOSX_VERSION_MIN=10.4
18705 ;;
18706
18707 * )
18708 if test "$wxUSE_OSX_CARBON" = 1; then
18709 # otherwise configure stops on leopard for universal_binary
18710 wxUSE_MACOSX_VERSION_MIN=10.4
18711 else
18712 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18713 wxUSE_MACOSX_VERSION_MIN=10.5
18714 fi
18715 ;;
18716 esac
18717 fi
18718
18719 NEEDS_GCC40="no"
18720 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18721 NEEDS_GCC40="yes"
18722 fi
18723
18724 if test "$wxUSE_OSX_CARBON" = 1; then
18725 NEEDS_GCC40="yes"
18726 fi
18727
18728 if test "x$NEEDS_GCC40" == "xyes"; then
18729 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18730 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18731 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18732 if test "x$CC" = "xgcc"; then
18733 CCVERSION=`$CC --version | grep 4.[2-9].`
18734 if test "x$CCVERSION" != "x"; then
18735 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18736 CC="/usr/bin/gcc-4.0"
18737 fi
18738 fi
18739
18740 if test "x$CXX" = "xg++"; then
18741 CCVERSION=`$CXX --version | grep 4.[2-9].`
18742 if test "x$CCVERSION" != "x"; then
18743 CXX="/usr/bin/g++-4.0"
18744 fi
18745 fi
18746 fi
18747
18748 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18749 if test "$wxUSE_OSX_IPHONE" = 1; then
18750 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18751 else
18752 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18753 fi
18754 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18755 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18756 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18757 retest_macosx_linking=yes
18758 fi
18759
18760 if test "x$retest_macosx_linking" = "xyes"; then
18761 ac_ext=c
18762 ac_cpp='$CPP $CPPFLAGS'
18763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18766
18767 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18768 echo $ECHO_N "checking if C compiler works with SDK/version options... $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
18776 int
18777 main ()
18778 {
18779
18780 ;
18781 return 0;
18782 }
18783 _ACEOF
18784 rm -f conftest.$ac_objext conftest$ac_exeext
18785 if { (ac_try="$ac_link"
18786 case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18789 esac
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_link") 2>conftest.er1
18792 ac_status=$?
18793 grep -v '^ *+' conftest.er1 >conftest.err
18794 rm -f conftest.er1
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } && {
18798 test -z "$ac_c_werror_flag" ||
18799 test ! -s conftest.err
18800 } && test -s conftest$ac_exeext &&
18801 $as_test_x conftest$ac_exeext; 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: error: no. Try a different SDK
18809 See \`config.log' for more details." >&5
18810 echo "$as_me: error: no. Try a different SDK
18811 See \`config.log' for more details." >&2;}
18812 { (exit 1); exit 1; }; }; exit 1
18813 fi
18814
18815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18816 conftest$ac_exeext conftest.$ac_ext
18817 ac_ext=c
18818 ac_cpp='$CPP $CPPFLAGS'
18819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18822
18823
18824 ac_ext=cpp
18825 ac_cpp='$CXXCPP $CPPFLAGS'
18826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18829
18830 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18831 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838
18839 int
18840 main ()
18841 {
18842
18843 ;
18844 return 0;
18845 }
18846 _ACEOF
18847 rm -f conftest.$ac_objext conftest$ac_exeext
18848 if { (ac_try="$ac_link"
18849 case "(($ac_try" in
18850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18851 *) ac_try_echo=$ac_try;;
18852 esac
18853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18854 (eval "$ac_link") 2>conftest.er1
18855 ac_status=$?
18856 grep -v '^ *+' conftest.er1 >conftest.err
18857 rm -f conftest.er1
18858 cat conftest.err >&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } && {
18861 test -z "$ac_cxx_werror_flag" ||
18862 test ! -s conftest.err
18863 } && test -s conftest$ac_exeext &&
18864 $as_test_x conftest$ac_exeext; then
18865 { echo "$as_me:$LINENO: result: yes" >&5
18866 echo "${ECHO_T}yes" >&6; }
18867 else
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18870
18871 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18872 See \`config.log' for more details." >&5
18873 echo "$as_me: error: no. Try a different SDK
18874 See \`config.log' for more details." >&2;}
18875 { (exit 1); exit 1; }; }; exit 1
18876 fi
18877
18878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18879 conftest$ac_exeext conftest.$ac_ext
18880 ac_ext=c
18881 ac_cpp='$CPP $CPPFLAGS'
18882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18885
18886 fi
18887
18888 fi
18889 case "${host}" in
18890
18891 *-*-darwin* )
18892 INSTALL_PROGRAM="cp -fp"
18893 INSTALL_DATA="cp -fp"
18894 ;;
18895 *)
18896 ;;
18897 esac
18898
18899
18900 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18901 CXXFLAGS="-qunique $CXXFLAGS"
18902 fi
18903
18904 case "${host}" in
18905 powerpc-*-darwin* )
18906 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18907 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18908 cat >conftest.$ac_ext <<_ACEOF
18909 /* confdefs.h. */
18910 _ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914
18915 int
18916 main ()
18917 {
18918 #ifndef __POWERPC__
18919 choke me for lack of PowerPC
18920 #endif
18921
18922 ;
18923 return 0;
18924 }
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18931 esac
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18934 ac_status=$?
18935 grep -v '^ *+' conftest.er1 >conftest.err
18936 rm -f conftest.er1
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 { echo "$as_me:$LINENO: result: yes" >&5
18944 echo "${ECHO_T}yes" >&6; }
18945 else
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.$ac_ext >&5
18948
18949 { echo "$as_me:$LINENO: result: no" >&5
18950 echo "${ECHO_T}no" >&6; }
18951 cat >>confdefs.h <<\_ACEOF
18952 #define __POWERPC__ 1
18953 _ACEOF
18954
18955
18956 fi
18957
18958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18959 ;;
18960 esac
18961
18962 case "${host}" in
18963 *-*-darwin* )
18964 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18965 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 #include <CoreFoundation/CFBase.h>
18973
18974 int
18975 main ()
18976 {
18977
18978 ;
18979 return 0;
18980 }
18981 _ACEOF
18982 rm -f conftest.$ac_objext
18983 if { (ac_try="$ac_compile"
18984 case "(($ac_try" in
18985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18987 esac
18988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_compile") 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } && {
18996 test -z "$ac_c_werror_flag" ||
18997 test ! -s conftest.err
18998 } && test -s conftest.$ac_objext; then
18999 { echo "$as_me:$LINENO: result: yes" >&5
19000 echo "${ECHO_T}yes" >&6; }
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 { echo "$as_me:$LINENO: result: no" >&5
19006 echo "${ECHO_T}no" >&6; }
19007 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19008 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19009 cat >conftest.$ac_ext <<_ACEOF
19010 /* confdefs.h. */
19011 _ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 #define __CF_USE_FRAMEWORK_INCLUDES__
19016 #include <CoreFoundation/CFBase.h>
19017
19018 int
19019 main ()
19020 {
19021
19022 ;
19023 return 0;
19024 }
19025 _ACEOF
19026 rm -f conftest.$ac_objext
19027 if { (ac_try="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19031 esac
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_compile") 2>conftest.er1
19034 ac_status=$?
19035 grep -v '^ *+' conftest.er1 >conftest.err
19036 rm -f conftest.er1
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && {
19040 test -z "$ac_c_werror_flag" ||
19041 test ! -s conftest.err
19042 } && test -s conftest.$ac_objext; then
19043 { echo "$as_me:$LINENO: result: yes" >&5
19044 echo "${ECHO_T}yes" >&6; }
19045 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19046 else
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.$ac_ext >&5
19049
19050 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19051 See \`config.log' for more details." >&5
19052 echo "$as_me: error: no. CoreFoundation not available.
19053 See \`config.log' for more details." >&2;}
19054 { (exit 1); exit 1; }; }
19055
19056 fi
19057
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059
19060
19061 fi
19062
19063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 ;;
19065 esac
19066
19067 wants_win32=0
19068 doesnt_want_win32=0
19069 case "${host}" in
19070 *-*-cygwin*)
19071 if test "$wxUSE_MSW" = 1 ; then
19072 wants_win32=1
19073 else
19074 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19075 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19076 if test "${wx_cv_nocygwin+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 else
19079
19080 cat >conftest.$ac_ext <<_ACEOF
19081 /* confdefs.h. */
19082 _ACEOF
19083 cat confdefs.h >>conftest.$ac_ext
19084 cat >>conftest.$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086
19087 int
19088 main ()
19089 {
19090
19091 #ifdef __MINGW32__
19092 choke me
19093 #endif
19094
19095 ;
19096 return 0;
19097 }
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest.$ac_objext; then
19116 wx_cv_nocygwin=no
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19120
19121 wx_cv_nocygwin=yes
19122
19123 fi
19124
19125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126
19127
19128 fi
19129 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19130 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19131
19132 if test "$wx_cv_nocygwin" = "yes"; then
19133 wants_win32=1
19134 else
19135 doesnt_want_win32=1
19136 fi
19137 fi
19138 if test "$wants_win32" = 1 ; then
19139 BAKEFILE_FORCE_PLATFORM=win32
19140 fi
19141 ;;
19142 *-*-mingw*)
19143 wants_win32=1
19144 ;;
19145 esac
19146
19147 if test "$wxUSE_WINE" = "yes"; then
19148 wants_win32=1
19149 LDFLAGS_GUI="-mwindows"
19150 fi
19151
19152 if test "$wants_win32" = 1 ; then
19153 USE_UNIX=0
19154 USE_WIN32=1
19155 cat >>confdefs.h <<\_ACEOF
19156 #define __WIN32__ 1
19157 _ACEOF
19158
19159 cat >>confdefs.h <<\_ACEOF
19160 #define __WIN95__ 1
19161 _ACEOF
19162
19163 cat >>confdefs.h <<\_ACEOF
19164 #define __WINDOWS__ 1
19165 _ACEOF
19166
19167 cat >>confdefs.h <<\_ACEOF
19168 #define __GNUWIN32__ 1
19169 _ACEOF
19170
19171 cat >>confdefs.h <<\_ACEOF
19172 #define STRICT 1
19173 _ACEOF
19174
19175 fi
19176 if test "$doesnt_want_win32" = 1 ; then
19177 USE_UNIX=1
19178 USE_WIN32=0
19179 fi
19180
19181 if test "$USE_UNIX" = 1 ; then
19182 wxUSE_UNIX=yes
19183 cat >>confdefs.h <<\_ACEOF
19184 #define __UNIX__ 1
19185 _ACEOF
19186
19187 fi
19188
19189 case "${host}" in
19190 *-pc-os2_emx | *-pc-os2-emx )
19191 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19192 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19193 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19194 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 else
19197 ac_check_lib_save_LIBS=$LIBS
19198 LIBS="-lcExt $LIBS"
19199 cat >conftest.$ac_ext <<_ACEOF
19200 /* confdefs.h. */
19201 _ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19209 #ifdef __cplusplus
19210 extern "C"
19211 #endif
19212 char drand48 ();
19213 int
19214 main ()
19215 {
19216 return drand48 ();
19217 ;
19218 return 0;
19219 }
19220 _ACEOF
19221 rm -f conftest.$ac_objext conftest$ac_exeext
19222 if { (ac_try="$ac_link"
19223 case "(($ac_try" in
19224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19225 *) ac_try_echo=$ac_try;;
19226 esac
19227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19228 (eval "$ac_link") 2>conftest.er1
19229 ac_status=$?
19230 grep -v '^ *+' conftest.er1 >conftest.err
19231 rm -f conftest.er1
19232 cat conftest.err >&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } && {
19235 test -z "$ac_c_werror_flag" ||
19236 test ! -s conftest.err
19237 } && test -s conftest$ac_exeext &&
19238 $as_test_x conftest$ac_exeext; then
19239 ac_cv_lib_cExt_drand48=yes
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19243
19244 ac_cv_lib_cExt_drand48=no
19245 fi
19246
19247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19248 conftest$ac_exeext conftest.$ac_ext
19249 LIBS=$ac_check_lib_save_LIBS
19250 fi
19251 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19252 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19253 if test $ac_cv_lib_cExt_drand48 = yes; then
19254 LIBS="$LIBS -lcExt"
19255 fi
19256
19257 else
19258 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19259 fi
19260 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19261 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19262 if test "${wx_cv_gccversion+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19264 else
19265
19266 if test "$cross_compiling" = yes; then
19267 wx_cv_gccversion="EMX2"
19268
19269 else
19270 cat >conftest.$ac_ext <<_ACEOF
19271 /* confdefs.h. */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276
19277 #include <stdio.h>
19278
19279 int main()
19280 {
19281 FILE *f=fopen("conftestval", "w");
19282 if (!f) exit(1);
19283 fprintf(f,
19284 #if (__GNUC__ < 3)
19285 "EMX2"
19286 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19287 "EMX3"
19288 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19289 "Innotek5"
19290 #else
19291 "Innotek6"
19292 #endif
19293 );
19294 exit(0);
19295 }
19296
19297 _ACEOF
19298 rm -f conftest$ac_exeext
19299 if { (ac_try="$ac_link"
19300 case "(($ac_try" in
19301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19302 *) ac_try_echo=$ac_try;;
19303 esac
19304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19305 (eval "$ac_link") 2>&5
19306 ac_status=$?
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19309 { (case "(($ac_try" in
19310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19311 *) ac_try_echo=$ac_try;;
19312 esac
19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19314 (eval "$ac_try") 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 wx_cv_gccversion=`cat conftestval`
19319 else
19320 echo "$as_me: program exited with status $ac_status" >&5
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19323
19324 ( exit $ac_status )
19325 wx_cv_gccversion="EMX2"
19326 fi
19327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19328 fi
19329
19330
19331
19332 fi
19333 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19334 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19335 if test "$wx_cv_gccversion" = "EMX2"; then
19336 LIBS="$LIBS -lstdcpp"
19337 LDFLAGS="$LDFLAGS -Zsysv-signals"
19338 else
19339 if test "$wx_cv_gccversion" = "EMX3"; then
19340 LIBS="$LIBS -lstdcxx -lgcc"
19341 LDFLAGS="$LDFLAGS -Zsysv-signals"
19342 else
19343 LIBS="$LIBS -lstdc++"
19344 fi
19345 fi
19346 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19347 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19348 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19349 wxUSE_OMF=yes
19350 enable_omf=yes
19351 fi
19352 ;;
19353 *)
19354
19355 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19356 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19357 if test "${ac_cv_string_strcasecmp+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360
19361 cat >conftest.$ac_ext <<_ACEOF
19362 /* confdefs.h. */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367
19368 #include <string.h>
19369
19370 int
19371 main ()
19372 {
19373
19374 strcasecmp("foo", "bar");
19375
19376 ;
19377 return 0;
19378 }
19379 _ACEOF
19380 rm -f conftest.$ac_objext conftest$ac_exeext
19381 if { (ac_try="$ac_link"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_link") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest$ac_exeext &&
19397 $as_test_x conftest$ac_exeext; then
19398 ac_cv_string_strcasecmp=yes
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 ac_cv_string_strcasecmp=no
19404
19405 fi
19406
19407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19408 conftest$ac_exeext conftest.$ac_ext
19409
19410 fi
19411 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19412 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19413
19414 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19415 cat >>confdefs.h <<\_ACEOF
19416 #define HAVE_STRCASECMP_IN_STRING_H 1
19417 _ACEOF
19418
19419 else
19420 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19421 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19422 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19424 else
19425
19426 cat >conftest.$ac_ext <<_ACEOF
19427 /* confdefs.h. */
19428 _ACEOF
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432
19433 #include <strings.h>
19434
19435 int
19436 main ()
19437 {
19438
19439 strcasecmp("foo", "bar");
19440
19441 ;
19442 return 0;
19443 }
19444 _ACEOF
19445 rm -f conftest.$ac_objext conftest$ac_exeext
19446 if { (ac_try="$ac_link"
19447 case "(($ac_try" in
19448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19449 *) ac_try_echo=$ac_try;;
19450 esac
19451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19452 (eval "$ac_link") 2>conftest.er1
19453 ac_status=$?
19454 grep -v '^ *+' conftest.er1 >conftest.err
19455 rm -f conftest.er1
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } && {
19459 test -z "$ac_c_werror_flag" ||
19460 test ! -s conftest.err
19461 } && test -s conftest$ac_exeext &&
19462 $as_test_x conftest$ac_exeext; then
19463 ac_cv_strings_strcasecmp=yes
19464 else
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19467
19468 ac_cv_strings_strcasecmp=no
19469
19470 fi
19471
19472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19473 conftest$ac_exeext conftest.$ac_ext
19474
19475 fi
19476 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19477 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19478
19479 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19480 cat >>confdefs.h <<\_ACEOF
19481 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19482 _ACEOF
19483
19484 else
19485 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19486 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19487 { (exit 1); exit 1; }; }
19488 fi
19489 fi
19490
19491 ;;
19492 esac
19493
19494
19495 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19496 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19497 if test "${ac_cv_header_stdc+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 else
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 #include <stdlib.h>
19507 #include <stdarg.h>
19508 #include <string.h>
19509 #include <float.h>
19510
19511 int
19512 main ()
19513 {
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19524 esac
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19527 ac_status=$?
19528 grep -v '^ *+' conftest.er1 >conftest.err
19529 rm -f conftest.er1
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 ac_cv_header_stdc=yes
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19540
19541 ac_cv_header_stdc=no
19542 fi
19543
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545
19546 if test $ac_cv_header_stdc = yes; then
19547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19548 cat >conftest.$ac_ext <<_ACEOF
19549 /* confdefs.h. */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #include <string.h>
19555
19556 _ACEOF
19557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19558 $EGREP "memchr" >/dev/null 2>&1; then
19559 :
19560 else
19561 ac_cv_header_stdc=no
19562 fi
19563 rm -f conftest*
19564
19565 fi
19566
19567 if test $ac_cv_header_stdc = yes; then
19568 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 #include <stdlib.h>
19576
19577 _ACEOF
19578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19579 $EGREP "free" >/dev/null 2>&1; then
19580 :
19581 else
19582 ac_cv_header_stdc=no
19583 fi
19584 rm -f conftest*
19585
19586 fi
19587
19588 if test $ac_cv_header_stdc = yes; then
19589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19590 if test "$cross_compiling" = yes; then
19591 :
19592 else
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #include <ctype.h>
19600 #include <stdlib.h>
19601 #if ((' ' & 0x0FF) == 0x020)
19602 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19603 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19604 #else
19605 # define ISLOWER(c) \
19606 (('a' <= (c) && (c) <= 'i') \
19607 || ('j' <= (c) && (c) <= 'r') \
19608 || ('s' <= (c) && (c) <= 'z'))
19609 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19610 #endif
19611
19612 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19613 int
19614 main ()
19615 {
19616 int i;
19617 for (i = 0; i < 256; i++)
19618 if (XOR (islower (i), ISLOWER (i))
19619 || toupper (i) != TOUPPER (i))
19620 return 2;
19621 return 0;
19622 }
19623 _ACEOF
19624 rm -f conftest$ac_exeext
19625 if { (ac_try="$ac_link"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_link") 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19635 { (case "(($ac_try" in
19636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19637 *) ac_try_echo=$ac_try;;
19638 esac
19639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19640 (eval "$ac_try") 2>&5
19641 ac_status=$?
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 :
19645 else
19646 echo "$as_me: program exited with status $ac_status" >&5
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19649
19650 ( exit $ac_status )
19651 ac_cv_header_stdc=no
19652 fi
19653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19654 fi
19655
19656
19657 fi
19658 fi
19659 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19660 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19661 if test $ac_cv_header_stdc = yes; then
19662
19663 cat >>confdefs.h <<\_ACEOF
19664 #define STDC_HEADERS 1
19665 _ACEOF
19666
19667 fi
19668
19669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19680 inttypes.h stdint.h unistd.h
19681 do
19682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 else
19688 cat >conftest.$ac_ext <<_ACEOF
19689 /* confdefs.h. */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 $ac_includes_default
19695
19696 #include <$ac_header>
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19703 esac
19704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19705 (eval "$ac_compile") 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } && {
19712 test -z "$ac_c_werror_flag" ||
19713 test ! -s conftest.err
19714 } && test -s conftest.$ac_objext; then
19715 eval "$as_ac_Header=yes"
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 eval "$as_ac_Header=no"
19721 fi
19722
19723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19724 fi
19725 ac_res=`eval echo '${'$as_ac_Header'}'`
19726 { echo "$as_me:$LINENO: result: $ac_res" >&5
19727 echo "${ECHO_T}$ac_res" >&6; }
19728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19729 cat >>confdefs.h <<_ACEOF
19730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19731 _ACEOF
19732
19733 fi
19734
19735 done
19736
19737
19738
19739
19740 for ac_header in langinfo.h wchar.h
19741 do
19742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 else
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19755
19756 #include <$ac_header>
19757 _ACEOF
19758 rm -f conftest.$ac_objext
19759 if { (ac_try="$ac_compile"
19760 case "(($ac_try" in
19761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19763 esac
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_compile") 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } && {
19772 test -z "$ac_c_werror_flag" ||
19773 test ! -s conftest.err
19774 } && test -s conftest.$ac_objext; then
19775 eval "$as_ac_Header=yes"
19776 else
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19779
19780 eval "$as_ac_Header=no"
19781 fi
19782
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19784 fi
19785 ac_res=`eval echo '${'$as_ac_Header'}'`
19786 { echo "$as_me:$LINENO: result: $ac_res" >&5
19787 echo "${ECHO_T}$ac_res" >&6; }
19788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19789 cat >>confdefs.h <<_ACEOF
19790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19791 _ACEOF
19792
19793 fi
19794
19795 done
19796
19797
19798 if test "$ac_cv_header_wchar_h" != "yes"; then
19799
19800 for ac_header in wcstr.h
19801 do
19802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19815
19816 #include <$ac_header>
19817 _ACEOF
19818 rm -f conftest.$ac_objext
19819 if { (ac_try="$ac_compile"
19820 case "(($ac_try" in
19821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19822 *) ac_try_echo=$ac_try;;
19823 esac
19824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19825 (eval "$ac_compile") 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } && {
19832 test -z "$ac_c_werror_flag" ||
19833 test ! -s conftest.err
19834 } && test -s conftest.$ac_objext; then
19835 eval "$as_ac_Header=yes"
19836 else
19837 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.$ac_ext >&5
19839
19840 eval "$as_ac_Header=no"
19841 fi
19842
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19844 fi
19845 ac_res=`eval echo '${'$as_ac_Header'}'`
19846 { echo "$as_me:$LINENO: result: $ac_res" >&5
19847 echo "${ECHO_T}$ac_res" >&6; }
19848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19849 cat >>confdefs.h <<_ACEOF
19850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19851 _ACEOF
19852
19853 fi
19854
19855 done
19856
19857 fi
19858
19859 case "${host}" in
19860 *-pc-os2_emx | *-pc-os2-emx )
19861 if test $ac_cv_header_langinfo_h = "yes" \
19862 -a \( "$wx_cv_gccversion" = "EMX2" \
19863 -o "$wx_cv_gccversion" = "EMX3" \
19864 -o "$wx_cv_gccversion" = "Innotek5" \); then
19865 LIBS="$LIBS -lintl"
19866 fi
19867 ;;
19868 esac
19869
19870 if test "$USE_UNIX" = 1 ; then
19871
19872 for ac_header in sys/select.h
19873 do
19874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19880 cat >conftest.$ac_ext <<_ACEOF
19881 /* confdefs.h. */
19882 _ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886 $ac_includes_default
19887
19888 #include <$ac_header>
19889 _ACEOF
19890 rm -f conftest.$ac_objext
19891 if { (ac_try="$ac_compile"
19892 case "(($ac_try" in
19893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19895 esac
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_compile") 2>conftest.er1
19898 ac_status=$?
19899 grep -v '^ *+' conftest.er1 >conftest.err
19900 rm -f conftest.er1
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest.$ac_objext; then
19907 eval "$as_ac_Header=yes"
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19911
19912 eval "$as_ac_Header=no"
19913 fi
19914
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 fi
19917 ac_res=`eval echo '${'$as_ac_Header'}'`
19918 { echo "$as_me:$LINENO: result: $ac_res" >&5
19919 echo "${ECHO_T}$ac_res" >&6; }
19920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19921 cat >>confdefs.h <<_ACEOF
19922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19923 _ACEOF
19924
19925 fi
19926
19927 done
19928
19929 fi
19930
19931
19932 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19933 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19934 if test "${ac_cv_c_const+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 else
19937 cat >conftest.$ac_ext <<_ACEOF
19938 /* confdefs.h. */
19939 _ACEOF
19940 cat confdefs.h >>conftest.$ac_ext
19941 cat >>conftest.$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19943
19944 int
19945 main ()
19946 {
19947 /* FIXME: Include the comments suggested by Paul. */
19948 #ifndef __cplusplus
19949 /* Ultrix mips cc rejects this. */
19950 typedef int charset[2];
19951 const charset cs;
19952 /* SunOS 4.1.1 cc rejects this. */
19953 char const *const *pcpcc;
19954 char **ppc;
19955 /* NEC SVR4.0.2 mips cc rejects this. */
19956 struct point {int x, y;};
19957 static struct point const zero = {0,0};
19958 /* AIX XL C 1.02.0.0 rejects this.
19959 It does not let you subtract one const X* pointer from another in
19960 an arm of an if-expression whose if-part is not a constant
19961 expression */
19962 const char *g = "string";
19963 pcpcc = &g + (g ? g-g : 0);
19964 /* HPUX 7.0 cc rejects these. */
19965 ++pcpcc;
19966 ppc = (char**) pcpcc;
19967 pcpcc = (char const *const *) ppc;
19968 { /* SCO 3.2v4 cc rejects this. */
19969 char *t;
19970 char const *s = 0 ? (char *) 0 : (char const *) 0;
19971
19972 *t++ = 0;
19973 if (s) return 0;
19974 }
19975 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19976 int x[] = {25, 17};
19977 const int *foo = &x[0];
19978 ++foo;
19979 }
19980 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19981 typedef const int *iptr;
19982 iptr p = 0;
19983 ++p;
19984 }
19985 { /* AIX XL C 1.02.0.0 rejects this saying
19986 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19987 struct s { int j; const int *ap[3]; };
19988 struct s *b; b->j = 5;
19989 }
19990 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19991 const int foo = 10;
19992 if (!foo) return 0;
19993 }
19994 return !cs[0] && !zero.x;
19995 #endif
19996
19997 ;
19998 return 0;
19999 }
20000 _ACEOF
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20006 esac
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20018 ac_cv_c_const=yes
20019 else
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20022
20023 ac_cv_c_const=no
20024 fi
20025
20026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 fi
20028 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20029 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20030 if test $ac_cv_c_const = no; then
20031
20032 cat >>confdefs.h <<\_ACEOF
20033 #define const
20034 _ACEOF
20035
20036 fi
20037
20038 { echo "$as_me:$LINENO: checking for inline" >&5
20039 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20040 if test "${ac_cv_c_inline+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20042 else
20043 ac_cv_c_inline=no
20044 for ac_kw in inline __inline__ __inline; do
20045 cat >conftest.$ac_ext <<_ACEOF
20046 /* confdefs.h. */
20047 _ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 #ifndef __cplusplus
20052 typedef int foo_t;
20053 static $ac_kw foo_t static_foo () {return 0; }
20054 $ac_kw foo_t foo () {return 0; }
20055 #endif
20056
20057 _ACEOF
20058 rm -f conftest.$ac_objext
20059 if { (ac_try="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20063 esac
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20066 ac_status=$?
20067 grep -v '^ *+' conftest.er1 >conftest.err
20068 rm -f conftest.er1
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.$ac_objext; then
20075 ac_cv_c_inline=$ac_kw
20076 else
20077 echo "$as_me: failed program was:" >&5
20078 sed 's/^/| /' conftest.$ac_ext >&5
20079
20080
20081 fi
20082
20083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20084 test "$ac_cv_c_inline" != no && break
20085 done
20086
20087 fi
20088 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20089 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20090
20091
20092 case $ac_cv_c_inline in
20093 inline | yes) ;;
20094 *)
20095 case $ac_cv_c_inline in
20096 no) ac_val=;;
20097 *) ac_val=$ac_cv_c_inline;;
20098 esac
20099 cat >>confdefs.h <<_ACEOF
20100 #ifndef __cplusplus
20101 #define inline $ac_val
20102 #endif
20103 _ACEOF
20104 ;;
20105 esac
20106
20107
20108 { echo "$as_me:$LINENO: checking for short" >&5
20109 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20110 if test "${ac_cv_type_short+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h. */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20120 typedef short ac__type_new_;
20121 int
20122 main ()
20123 {
20124 if ((ac__type_new_ *) 0)
20125 return 0;
20126 if (sizeof (ac__type_new_))
20127 return 0;
20128 ;
20129 return 0;
20130 }
20131 _ACEOF
20132 rm -f conftest.$ac_objext
20133 if { (ac_try="$ac_compile"
20134 case "(($ac_try" in
20135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20136 *) ac_try_echo=$ac_try;;
20137 esac
20138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20139 (eval "$ac_compile") 2>conftest.er1
20140 ac_status=$?
20141 grep -v '^ *+' conftest.er1 >conftest.err
20142 rm -f conftest.er1
20143 cat conftest.err >&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } && {
20146 test -z "$ac_c_werror_flag" ||
20147 test ! -s conftest.err
20148 } && test -s conftest.$ac_objext; then
20149 ac_cv_type_short=yes
20150 else
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20153
20154 ac_cv_type_short=no
20155 fi
20156
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 fi
20159 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20160 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20161
20162 # The cast to long int works around a bug in the HP C Compiler
20163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20165 # This bug is HP SR number 8606223364.
20166 { echo "$as_me:$LINENO: checking size of short" >&5
20167 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20168 if test "${ac_cv_sizeof_short+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171 if test "$cross_compiling" = yes; then
20172 # Depending upon the size, compute the lo and hi bounds.
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef short ac__type_sizeof_;
20181 int
20182 main ()
20183 {
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20185 test_array [0] = 0
20186
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20208 ac_lo=0 ac_mid=0
20209 while :; do
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20217 typedef short ac__type_sizeof_;
20218 int
20219 main ()
20220 {
20221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20222 test_array [0] = 0
20223
20224 ;
20225 return 0;
20226 }
20227 _ACEOF
20228 rm -f conftest.$ac_objext
20229 if { (ac_try="$ac_compile"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20233 esac
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_compile") 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } && {
20242 test -z "$ac_c_werror_flag" ||
20243 test ! -s conftest.err
20244 } && test -s conftest.$ac_objext; then
20245 ac_hi=$ac_mid; break
20246 else
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20249
20250 ac_lo=`expr $ac_mid + 1`
20251 if test $ac_lo -le $ac_mid; then
20252 ac_lo= ac_hi=
20253 break
20254 fi
20255 ac_mid=`expr 2 '*' $ac_mid + 1`
20256 fi
20257
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 done
20260 else
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20263
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef short ac__type_sizeof_;
20272 int
20273 main ()
20274 {
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20276 test_array [0] = 0
20277
20278 ;
20279 return 0;
20280 }
20281 _ACEOF
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20290 ac_status=$?
20291 grep -v '^ *+' conftest.er1 >conftest.err
20292 rm -f conftest.er1
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20299 ac_hi=-1 ac_mid=-1
20300 while :; do
20301 cat >conftest.$ac_ext <<_ACEOF
20302 /* confdefs.h. */
20303 _ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 typedef short ac__type_sizeof_;
20309 int
20310 main ()
20311 {
20312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20313 test_array [0] = 0
20314
20315 ;
20316 return 0;
20317 }
20318 _ACEOF
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20324 esac
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20327 ac_status=$?
20328 grep -v '^ *+' conftest.er1 >conftest.err
20329 rm -f conftest.er1
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.$ac_objext; then
20336 ac_lo=$ac_mid; break
20337 else
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.$ac_ext >&5
20340
20341 ac_hi=`expr '(' $ac_mid ')' - 1`
20342 if test $ac_mid -le $ac_hi; then
20343 ac_lo= ac_hi=
20344 break
20345 fi
20346 ac_mid=`expr 2 '*' $ac_mid`
20347 fi
20348
20349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20350 done
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 ac_lo= ac_hi=
20356 fi
20357
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 fi
20360
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362 # Binary search between lo and hi bounds.
20363 while test "x$ac_lo" != "x$ac_hi"; do
20364 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20365 cat >conftest.$ac_ext <<_ACEOF
20366 /* confdefs.h. */
20367 _ACEOF
20368 cat confdefs.h >>conftest.$ac_ext
20369 cat >>conftest.$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20371 $ac_includes_default
20372 typedef short ac__type_sizeof_;
20373 int
20374 main ()
20375 {
20376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20377 test_array [0] = 0
20378
20379 ;
20380 return 0;
20381 }
20382 _ACEOF
20383 rm -f conftest.$ac_objext
20384 if { (ac_try="$ac_compile"
20385 case "(($ac_try" in
20386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20387 *) ac_try_echo=$ac_try;;
20388 esac
20389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20390 (eval "$ac_compile") 2>conftest.er1
20391 ac_status=$?
20392 grep -v '^ *+' conftest.er1 >conftest.err
20393 rm -f conftest.er1
20394 cat conftest.err >&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } && {
20397 test -z "$ac_c_werror_flag" ||
20398 test ! -s conftest.err
20399 } && test -s conftest.$ac_objext; then
20400 ac_hi=$ac_mid
20401 else
20402 echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.$ac_ext >&5
20404
20405 ac_lo=`expr '(' $ac_mid ')' + 1`
20406 fi
20407
20408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20409 done
20410 case $ac_lo in
20411 ?*) ac_cv_sizeof_short=$ac_lo;;
20412 '') if test "$ac_cv_type_short" = yes; then
20413 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20414 See \`config.log' for more details." >&5
20415 echo "$as_me: error: cannot compute sizeof (short)
20416 See \`config.log' for more details." >&2;}
20417 { (exit 77); exit 77; }; }
20418 else
20419 ac_cv_sizeof_short=0
20420 fi ;;
20421 esac
20422 else
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 $ac_includes_default
20430 typedef short ac__type_sizeof_;
20431 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20432 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20433 #include <stdio.h>
20434 #include <stdlib.h>
20435 int
20436 main ()
20437 {
20438
20439 FILE *f = fopen ("conftest.val", "w");
20440 if (! f)
20441 return 1;
20442 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20443 {
20444 long int i = longval ();
20445 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20446 return 1;
20447 fprintf (f, "%ld\n", i);
20448 }
20449 else
20450 {
20451 unsigned long int i = ulongval ();
20452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20453 return 1;
20454 fprintf (f, "%lu\n", i);
20455 }
20456 return ferror (f) || fclose (f) != 0;
20457
20458 ;
20459 return 0;
20460 }
20461 _ACEOF
20462 rm -f conftest$ac_exeext
20463 if { (ac_try="$ac_link"
20464 case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20467 esac
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_link") 2>&5
20470 ac_status=$?
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20473 { (case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20476 esac
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_try") 2>&5
20479 ac_status=$?
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; }; then
20482 ac_cv_sizeof_short=`cat conftest.val`
20483 else
20484 echo "$as_me: program exited with status $ac_status" >&5
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.$ac_ext >&5
20487
20488 ( exit $ac_status )
20489 if test "$ac_cv_type_short" = yes; then
20490 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20491 See \`config.log' for more details." >&5
20492 echo "$as_me: error: cannot compute sizeof (short)
20493 See \`config.log' for more details." >&2;}
20494 { (exit 77); exit 77; }; }
20495 else
20496 ac_cv_sizeof_short=0
20497 fi
20498 fi
20499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20500 fi
20501 rm -f conftest.val
20502 fi
20503 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20504 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20505
20506
20507
20508 cat >>confdefs.h <<_ACEOF
20509 #define SIZEOF_SHORT $ac_cv_sizeof_short
20510 _ACEOF
20511
20512
20513 { echo "$as_me:$LINENO: checking for void *" >&5
20514 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20515 if test "${ac_cv_type_void_p+set}" = set; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20517 else
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h. */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20525 typedef void * ac__type_new_;
20526 int
20527 main ()
20528 {
20529 if ((ac__type_new_ *) 0)
20530 return 0;
20531 if (sizeof (ac__type_new_))
20532 return 0;
20533 ;
20534 return 0;
20535 }
20536 _ACEOF
20537 rm -f conftest.$ac_objext
20538 if { (ac_try="$ac_compile"
20539 case "(($ac_try" in
20540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20542 esac
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_compile") 2>conftest.er1
20545 ac_status=$?
20546 grep -v '^ *+' conftest.er1 >conftest.err
20547 rm -f conftest.er1
20548 cat conftest.err >&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_c_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest.$ac_objext; then
20554 ac_cv_type_void_p=yes
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20558
20559 ac_cv_type_void_p=no
20560 fi
20561
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 fi
20564 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20565 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20566
20567 # The cast to long int works around a bug in the HP C Compiler
20568 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20569 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20570 # This bug is HP SR number 8606223364.
20571 { echo "$as_me:$LINENO: checking size of void *" >&5
20572 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20573 if test "${ac_cv_sizeof_void_p+set}" = set; then
20574 echo $ECHO_N "(cached) $ECHO_C" >&6
20575 else
20576 if test "$cross_compiling" = yes; then
20577 # Depending upon the size, compute the lo and hi bounds.
20578 cat >conftest.$ac_ext <<_ACEOF
20579 /* confdefs.h. */
20580 _ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef void * ac__type_sizeof_;
20586 int
20587 main ()
20588 {
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20590 test_array [0] = 0
20591
20592 ;
20593 return 0;
20594 }
20595 _ACEOF
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20601 esac
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20604 ac_status=$?
20605 grep -v '^ *+' conftest.er1 >conftest.err
20606 rm -f conftest.er1
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.$ac_objext; then
20613 ac_lo=0 ac_mid=0
20614 while :; do
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20622 typedef void * ac__type_sizeof_;
20623 int
20624 main ()
20625 {
20626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20627 test_array [0] = 0
20628
20629 ;
20630 return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest.$ac_objext
20634 if { (ac_try="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20638 esac
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20641 ac_status=$?
20642 grep -v '^ *+' conftest.er1 >conftest.err
20643 rm -f conftest.er1
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.$ac_objext; then
20650 ac_hi=$ac_mid; break
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 ac_lo=`expr $ac_mid + 1`
20656 if test $ac_lo -le $ac_mid; then
20657 ac_lo= ac_hi=
20658 break
20659 fi
20660 ac_mid=`expr 2 '*' $ac_mid + 1`
20661 fi
20662
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 done
20665 else
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20668
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef void * ac__type_sizeof_;
20677 int
20678 main ()
20679 {
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20681 test_array [0] = 0
20682
20683 ;
20684 return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20692 esac
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20695 ac_status=$?
20696 grep -v '^ *+' conftest.er1 >conftest.err
20697 rm -f conftest.er1
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20704 ac_hi=-1 ac_mid=-1
20705 while :; do
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef void * ac__type_sizeof_;
20714 int
20715 main ()
20716 {
20717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20718 test_array [0] = 0
20719
20720 ;
20721 return 0;
20722 }
20723 _ACEOF
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20729 esac
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20732 ac_status=$?
20733 grep -v '^ *+' conftest.er1 >conftest.err
20734 rm -f conftest.er1
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 ac_lo=$ac_mid; break
20742 else
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20745
20746 ac_hi=`expr '(' $ac_mid ')' - 1`
20747 if test $ac_mid -le $ac_hi; then
20748 ac_lo= ac_hi=
20749 break
20750 fi
20751 ac_mid=`expr 2 '*' $ac_mid`
20752 fi
20753
20754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20755 done
20756 else
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20759
20760 ac_lo= ac_hi=
20761 fi
20762
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 fi
20765
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767 # Binary search between lo and hi bounds.
20768 while test "x$ac_lo" != "x$ac_hi"; do
20769 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20770 cat >conftest.$ac_ext <<_ACEOF
20771 /* confdefs.h. */
20772 _ACEOF
20773 cat confdefs.h >>conftest.$ac_ext
20774 cat >>conftest.$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776 $ac_includes_default
20777 typedef void * ac__type_sizeof_;
20778 int
20779 main ()
20780 {
20781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20782 test_array [0] = 0
20783
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext
20789 if { (ac_try="$ac_compile"
20790 case "(($ac_try" in
20791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20792 *) ac_try_echo=$ac_try;;
20793 esac
20794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20795 (eval "$ac_compile") 2>conftest.er1
20796 ac_status=$?
20797 grep -v '^ *+' conftest.er1 >conftest.err
20798 rm -f conftest.er1
20799 cat conftest.err >&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } && {
20802 test -z "$ac_c_werror_flag" ||
20803 test ! -s conftest.err
20804 } && test -s conftest.$ac_objext; then
20805 ac_hi=$ac_mid
20806 else
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20809
20810 ac_lo=`expr '(' $ac_mid ')' + 1`
20811 fi
20812
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 done
20815 case $ac_lo in
20816 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20817 '') if test "$ac_cv_type_void_p" = yes; then
20818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20819 See \`config.log' for more details." >&5
20820 echo "$as_me: error: cannot compute sizeof (void *)
20821 See \`config.log' for more details." >&2;}
20822 { (exit 77); exit 77; }; }
20823 else
20824 ac_cv_sizeof_void_p=0
20825 fi ;;
20826 esac
20827 else
20828 cat >conftest.$ac_ext <<_ACEOF
20829 /* confdefs.h. */
20830 _ACEOF
20831 cat confdefs.h >>conftest.$ac_ext
20832 cat >>conftest.$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20834 $ac_includes_default
20835 typedef void * ac__type_sizeof_;
20836 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20837 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20838 #include <stdio.h>
20839 #include <stdlib.h>
20840 int
20841 main ()
20842 {
20843
20844 FILE *f = fopen ("conftest.val", "w");
20845 if (! f)
20846 return 1;
20847 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20848 {
20849 long int i = longval ();
20850 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20851 return 1;
20852 fprintf (f, "%ld\n", i);
20853 }
20854 else
20855 {
20856 unsigned long int i = ulongval ();
20857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20858 return 1;
20859 fprintf (f, "%lu\n", i);
20860 }
20861 return ferror (f) || fclose (f) != 0;
20862
20863 ;
20864 return 0;
20865 }
20866 _ACEOF
20867 rm -f conftest$ac_exeext
20868 if { (ac_try="$ac_link"
20869 case "(($ac_try" in
20870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20872 esac
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_link") 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20878 { (case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20881 esac
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_try") 2>&5
20884 ac_status=$?
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; }; then
20887 ac_cv_sizeof_void_p=`cat conftest.val`
20888 else
20889 echo "$as_me: program exited with status $ac_status" >&5
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20892
20893 ( exit $ac_status )
20894 if test "$ac_cv_type_void_p" = yes; then
20895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20896 See \`config.log' for more details." >&5
20897 echo "$as_me: error: cannot compute sizeof (void *)
20898 See \`config.log' for more details." >&2;}
20899 { (exit 77); exit 77; }; }
20900 else
20901 ac_cv_sizeof_void_p=0
20902 fi
20903 fi
20904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20905 fi
20906 rm -f conftest.val
20907 fi
20908 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20909 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20910
20911
20912
20913 cat >>confdefs.h <<_ACEOF
20914 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20915 _ACEOF
20916
20917
20918 { echo "$as_me:$LINENO: checking for int" >&5
20919 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20920 if test "${ac_cv_type_int+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 else
20923 cat >conftest.$ac_ext <<_ACEOF
20924 /* confdefs.h. */
20925 _ACEOF
20926 cat confdefs.h >>conftest.$ac_ext
20927 cat >>conftest.$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 $ac_includes_default
20930 typedef int ac__type_new_;
20931 int
20932 main ()
20933 {
20934 if ((ac__type_new_ *) 0)
20935 return 0;
20936 if (sizeof (ac__type_new_))
20937 return 0;
20938 ;
20939 return 0;
20940 }
20941 _ACEOF
20942 rm -f conftest.$ac_objext
20943 if { (ac_try="$ac_compile"
20944 case "(($ac_try" in
20945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20946 *) ac_try_echo=$ac_try;;
20947 esac
20948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20949 (eval "$ac_compile") 2>conftest.er1
20950 ac_status=$?
20951 grep -v '^ *+' conftest.er1 >conftest.err
20952 rm -f conftest.er1
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } && {
20956 test -z "$ac_c_werror_flag" ||
20957 test ! -s conftest.err
20958 } && test -s conftest.$ac_objext; then
20959 ac_cv_type_int=yes
20960 else
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20963
20964 ac_cv_type_int=no
20965 fi
20966
20967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20968 fi
20969 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20970 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20971
20972 # The cast to long int works around a bug in the HP C Compiler
20973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20975 # This bug is HP SR number 8606223364.
20976 { echo "$as_me:$LINENO: checking size of int" >&5
20977 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20978 if test "${ac_cv_sizeof_int+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981 if test "$cross_compiling" = yes; then
20982 # Depending upon the size, compute the lo and hi bounds.
20983 cat >conftest.$ac_ext <<_ACEOF
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef int ac__type_sizeof_;
20991 int
20992 main ()
20993 {
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20995 test_array [0] = 0
20996
20997 ;
20998 return 0;
20999 }
21000 _ACEOF
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21006 esac
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21009 ac_status=$?
21010 grep -v '^ *+' conftest.er1 >conftest.err
21011 rm -f conftest.er1
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.$ac_objext; then
21018 ac_lo=0 ac_mid=0
21019 while :; do
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h. */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 typedef int ac__type_sizeof_;
21028 int
21029 main ()
21030 {
21031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21032 test_array [0] = 0
21033
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest.$ac_objext
21039 if { (ac_try="$ac_compile"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21042 *) ac_try_echo=$ac_try;;
21043 esac
21044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_compile") 2>conftest.er1
21046 ac_status=$?
21047 grep -v '^ *+' conftest.er1 >conftest.err
21048 rm -f conftest.er1
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } && {
21052 test -z "$ac_c_werror_flag" ||
21053 test ! -s conftest.err
21054 } && test -s conftest.$ac_objext; then
21055 ac_hi=$ac_mid; break
21056 else
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21059
21060 ac_lo=`expr $ac_mid + 1`
21061 if test $ac_lo -le $ac_mid; then
21062 ac_lo= ac_hi=
21063 break
21064 fi
21065 ac_mid=`expr 2 '*' $ac_mid + 1`
21066 fi
21067
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 done
21070 else
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21073
21074 cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h. */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef int ac__type_sizeof_;
21082 int
21083 main ()
21084 {
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21086 test_array [0] = 0
21087
21088 ;
21089 return 0;
21090 }
21091 _ACEOF
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21097 esac
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21100 ac_status=$?
21101 grep -v '^ *+' conftest.er1 >conftest.err
21102 rm -f conftest.er1
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.$ac_objext; then
21109 ac_hi=-1 ac_mid=-1
21110 while :; do
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef int ac__type_sizeof_;
21119 int
21120 main ()
21121 {
21122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21123 test_array [0] = 0
21124
21125 ;
21126 return 0;
21127 }
21128 _ACEOF
21129 rm -f conftest.$ac_objext
21130 if { (ac_try="$ac_compile"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21133 *) ac_try_echo=$ac_try;;
21134 esac
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_compile") 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } && {
21143 test -z "$ac_c_werror_flag" ||
21144 test ! -s conftest.err
21145 } && test -s conftest.$ac_objext; then
21146 ac_lo=$ac_mid; break
21147 else
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5
21150
21151 ac_hi=`expr '(' $ac_mid ')' - 1`
21152 if test $ac_mid -le $ac_hi; then
21153 ac_lo= ac_hi=
21154 break
21155 fi
21156 ac_mid=`expr 2 '*' $ac_mid`
21157 fi
21158
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21160 done
21161 else
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21164
21165 ac_lo= ac_hi=
21166 fi
21167
21168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21169 fi
21170
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 # Binary search between lo and hi bounds.
21173 while test "x$ac_lo" != "x$ac_hi"; do
21174 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21175 cat >conftest.$ac_ext <<_ACEOF
21176 /* confdefs.h. */
21177 _ACEOF
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 $ac_includes_default
21182 typedef int ac__type_sizeof_;
21183 int
21184 main ()
21185 {
21186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21187 test_array [0] = 0
21188
21189 ;
21190 return 0;
21191 }
21192 _ACEOF
21193 rm -f conftest.$ac_objext
21194 if { (ac_try="$ac_compile"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21198 esac
21199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_compile") 2>conftest.er1
21201 ac_status=$?
21202 grep -v '^ *+' conftest.er1 >conftest.err
21203 rm -f conftest.er1
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } && {
21207 test -z "$ac_c_werror_flag" ||
21208 test ! -s conftest.err
21209 } && test -s conftest.$ac_objext; then
21210 ac_hi=$ac_mid
21211 else
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21214
21215 ac_lo=`expr '(' $ac_mid ')' + 1`
21216 fi
21217
21218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21219 done
21220 case $ac_lo in
21221 ?*) ac_cv_sizeof_int=$ac_lo;;
21222 '') if test "$ac_cv_type_int" = yes; then
21223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21224 See \`config.log' for more details." >&5
21225 echo "$as_me: error: cannot compute sizeof (int)
21226 See \`config.log' for more details." >&2;}
21227 { (exit 77); exit 77; }; }
21228 else
21229 ac_cv_sizeof_int=0
21230 fi ;;
21231 esac
21232 else
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef int ac__type_sizeof_;
21241 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21242 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21243 #include <stdio.h>
21244 #include <stdlib.h>
21245 int
21246 main ()
21247 {
21248
21249 FILE *f = fopen ("conftest.val", "w");
21250 if (! f)
21251 return 1;
21252 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21253 {
21254 long int i = longval ();
21255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21256 return 1;
21257 fprintf (f, "%ld\n", i);
21258 }
21259 else
21260 {
21261 unsigned long int i = ulongval ();
21262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21263 return 1;
21264 fprintf (f, "%lu\n", i);
21265 }
21266 return ferror (f) || fclose (f) != 0;
21267
21268 ;
21269 return 0;
21270 }
21271 _ACEOF
21272 rm -f conftest$ac_exeext
21273 if { (ac_try="$ac_link"
21274 case "(($ac_try" in
21275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21276 *) ac_try_echo=$ac_try;;
21277 esac
21278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21279 (eval "$ac_link") 2>&5
21280 ac_status=$?
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21283 { (case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21286 esac
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_try") 2>&5
21289 ac_status=$?
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21292 ac_cv_sizeof_int=`cat conftest.val`
21293 else
21294 echo "$as_me: program exited with status $ac_status" >&5
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21297
21298 ( exit $ac_status )
21299 if test "$ac_cv_type_int" = yes; then
21300 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21301 See \`config.log' for more details." >&5
21302 echo "$as_me: error: cannot compute sizeof (int)
21303 See \`config.log' for more details." >&2;}
21304 { (exit 77); exit 77; }; }
21305 else
21306 ac_cv_sizeof_int=0
21307 fi
21308 fi
21309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21310 fi
21311 rm -f conftest.val
21312 fi
21313 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21314 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21315
21316
21317
21318 cat >>confdefs.h <<_ACEOF
21319 #define SIZEOF_INT $ac_cv_sizeof_int
21320 _ACEOF
21321
21322
21323 { echo "$as_me:$LINENO: checking for long" >&5
21324 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21325 if test "${ac_cv_type_long+set}" = set; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328 cat >conftest.$ac_ext <<_ACEOF
21329 /* confdefs.h. */
21330 _ACEOF
21331 cat confdefs.h >>conftest.$ac_ext
21332 cat >>conftest.$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 $ac_includes_default
21335 typedef long ac__type_new_;
21336 int
21337 main ()
21338 {
21339 if ((ac__type_new_ *) 0)
21340 return 0;
21341 if (sizeof (ac__type_new_))
21342 return 0;
21343 ;
21344 return 0;
21345 }
21346 _ACEOF
21347 rm -f conftest.$ac_objext
21348 if { (ac_try="$ac_compile"
21349 case "(($ac_try" in
21350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21351 *) ac_try_echo=$ac_try;;
21352 esac
21353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21354 (eval "$ac_compile") 2>conftest.er1
21355 ac_status=$?
21356 grep -v '^ *+' conftest.er1 >conftest.err
21357 rm -f conftest.er1
21358 cat conftest.err >&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } && {
21361 test -z "$ac_c_werror_flag" ||
21362 test ! -s conftest.err
21363 } && test -s conftest.$ac_objext; then
21364 ac_cv_type_long=yes
21365 else
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21368
21369 ac_cv_type_long=no
21370 fi
21371
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 fi
21374 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21375 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21376
21377 # The cast to long int works around a bug in the HP C Compiler
21378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21379 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21380 # This bug is HP SR number 8606223364.
21381 { echo "$as_me:$LINENO: checking size of long" >&5
21382 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21383 if test "${ac_cv_sizeof_long+set}" = set; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 else
21386 if test "$cross_compiling" = yes; then
21387 # Depending upon the size, compute the lo and hi bounds.
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21395 typedef long ac__type_sizeof_;
21396 int
21397 main ()
21398 {
21399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21400 test_array [0] = 0
21401
21402 ;
21403 return 0;
21404 }
21405 _ACEOF
21406 rm -f conftest.$ac_objext
21407 if { (ac_try="$ac_compile"
21408 case "(($ac_try" in
21409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21410 *) ac_try_echo=$ac_try;;
21411 esac
21412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21413 (eval "$ac_compile") 2>conftest.er1
21414 ac_status=$?
21415 grep -v '^ *+' conftest.er1 >conftest.err
21416 rm -f conftest.er1
21417 cat conftest.err >&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } && {
21420 test -z "$ac_c_werror_flag" ||
21421 test ! -s conftest.err
21422 } && test -s conftest.$ac_objext; then
21423 ac_lo=0 ac_mid=0
21424 while :; do
21425 cat >conftest.$ac_ext <<_ACEOF
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 typedef long ac__type_sizeof_;
21433 int
21434 main ()
21435 {
21436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21437 test_array [0] = 0
21438
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21448 esac
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 ac_hi=$ac_mid; break
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_lo=`expr $ac_mid + 1`
21466 if test $ac_lo -le $ac_mid; then
21467 ac_lo= ac_hi=
21468 break
21469 fi
21470 ac_mid=`expr 2 '*' $ac_mid + 1`
21471 fi
21472
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21474 done
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h. */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef long ac__type_sizeof_;
21487 int
21488 main ()
21489 {
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21491 test_array [0] = 0
21492
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21514 ac_hi=-1 ac_mid=-1
21515 while :; do
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef long ac__type_sizeof_;
21524 int
21525 main ()
21526 {
21527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21528 test_array [0] = 0
21529
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21539 esac
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21542 ac_status=$?
21543 grep -v '^ *+' conftest.er1 >conftest.err
21544 rm -f conftest.er1
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 ac_lo=$ac_mid; break
21552 else
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21555
21556 ac_hi=`expr '(' $ac_mid ')' - 1`
21557 if test $ac_mid -le $ac_hi; then
21558 ac_lo= ac_hi=
21559 break
21560 fi
21561 ac_mid=`expr 2 '*' $ac_mid`
21562 fi
21563
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21565 done
21566 else
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21569
21570 ac_lo= ac_hi=
21571 fi
21572
21573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574 fi
21575
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 # Binary search between lo and hi bounds.
21578 while test "x$ac_lo" != "x$ac_hi"; do
21579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21580 cat >conftest.$ac_ext <<_ACEOF
21581 /* confdefs.h. */
21582 _ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 $ac_includes_default
21587 typedef long ac__type_sizeof_;
21588 int
21589 main ()
21590 {
21591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21592 test_array [0] = 0
21593
21594 ;
21595 return 0;
21596 }
21597 _ACEOF
21598 rm -f conftest.$ac_objext
21599 if { (ac_try="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21603 esac
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21606 ac_status=$?
21607 grep -v '^ *+' conftest.er1 >conftest.err
21608 rm -f conftest.er1
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_c_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21615 ac_hi=$ac_mid
21616 else
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21619
21620 ac_lo=`expr '(' $ac_mid ')' + 1`
21621 fi
21622
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 done
21625 case $ac_lo in
21626 ?*) ac_cv_sizeof_long=$ac_lo;;
21627 '') if test "$ac_cv_type_long" = yes; then
21628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21629 See \`config.log' for more details." >&5
21630 echo "$as_me: error: cannot compute sizeof (long)
21631 See \`config.log' for more details." >&2;}
21632 { (exit 77); exit 77; }; }
21633 else
21634 ac_cv_sizeof_long=0
21635 fi ;;
21636 esac
21637 else
21638 cat >conftest.$ac_ext <<_ACEOF
21639 /* confdefs.h. */
21640 _ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644 $ac_includes_default
21645 typedef long ac__type_sizeof_;
21646 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21647 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21648 #include <stdio.h>
21649 #include <stdlib.h>
21650 int
21651 main ()
21652 {
21653
21654 FILE *f = fopen ("conftest.val", "w");
21655 if (! f)
21656 return 1;
21657 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21658 {
21659 long int i = longval ();
21660 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21661 return 1;
21662 fprintf (f, "%ld\n", i);
21663 }
21664 else
21665 {
21666 unsigned long int i = ulongval ();
21667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21668 return 1;
21669 fprintf (f, "%lu\n", i);
21670 }
21671 return ferror (f) || fclose (f) != 0;
21672
21673 ;
21674 return 0;
21675 }
21676 _ACEOF
21677 rm -f conftest$ac_exeext
21678 if { (ac_try="$ac_link"
21679 case "(($ac_try" in
21680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21681 *) ac_try_echo=$ac_try;;
21682 esac
21683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21684 (eval "$ac_link") 2>&5
21685 ac_status=$?
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21688 { (case "(($ac_try" in
21689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21690 *) ac_try_echo=$ac_try;;
21691 esac
21692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21693 (eval "$ac_try") 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 ac_cv_sizeof_long=`cat conftest.val`
21698 else
21699 echo "$as_me: program exited with status $ac_status" >&5
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21702
21703 ( exit $ac_status )
21704 if test "$ac_cv_type_long" = yes; then
21705 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21706 See \`config.log' for more details." >&5
21707 echo "$as_me: error: cannot compute sizeof (long)
21708 See \`config.log' for more details." >&2;}
21709 { (exit 77); exit 77; }; }
21710 else
21711 ac_cv_sizeof_long=0
21712 fi
21713 fi
21714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21715 fi
21716 rm -f conftest.val
21717 fi
21718 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21719 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21720
21721
21722
21723 cat >>confdefs.h <<_ACEOF
21724 #define SIZEOF_LONG $ac_cv_sizeof_long
21725 _ACEOF
21726
21727
21728 { echo "$as_me:$LINENO: checking for size_t" >&5
21729 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21730 if test "${ac_cv_type_size_t+set}" = set; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 else
21733 cat >conftest.$ac_ext <<_ACEOF
21734 /* confdefs.h. */
21735 _ACEOF
21736 cat confdefs.h >>conftest.$ac_ext
21737 cat >>conftest.$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21739 $ac_includes_default
21740 typedef size_t ac__type_new_;
21741 int
21742 main ()
21743 {
21744 if ((ac__type_new_ *) 0)
21745 return 0;
21746 if (sizeof (ac__type_new_))
21747 return 0;
21748 ;
21749 return 0;
21750 }
21751 _ACEOF
21752 rm -f conftest.$ac_objext
21753 if { (ac_try="$ac_compile"
21754 case "(($ac_try" in
21755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21756 *) ac_try_echo=$ac_try;;
21757 esac
21758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21759 (eval "$ac_compile") 2>conftest.er1
21760 ac_status=$?
21761 grep -v '^ *+' conftest.er1 >conftest.err
21762 rm -f conftest.er1
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } && {
21766 test -z "$ac_c_werror_flag" ||
21767 test ! -s conftest.err
21768 } && test -s conftest.$ac_objext; then
21769 ac_cv_type_size_t=yes
21770 else
21771 echo "$as_me: failed program was:" >&5
21772 sed 's/^/| /' conftest.$ac_ext >&5
21773
21774 ac_cv_type_size_t=no
21775 fi
21776
21777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21778 fi
21779 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21780 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21781
21782 # The cast to long int works around a bug in the HP C Compiler
21783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21785 # This bug is HP SR number 8606223364.
21786 { echo "$as_me:$LINENO: checking size of size_t" >&5
21787 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21788 if test "${ac_cv_sizeof_size_t+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21790 else
21791 if test "$cross_compiling" = yes; then
21792 # Depending upon the size, compute the lo and hi bounds.
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 $ac_includes_default
21800 typedef size_t ac__type_sizeof_;
21801 int
21802 main ()
21803 {
21804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21805 test_array [0] = 0
21806
21807 ;
21808 return 0;
21809 }
21810 _ACEOF
21811 rm -f conftest.$ac_objext
21812 if { (ac_try="$ac_compile"
21813 case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21816 esac
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_compile") 2>conftest.er1
21819 ac_status=$?
21820 grep -v '^ *+' conftest.er1 >conftest.err
21821 rm -f conftest.er1
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && {
21825 test -z "$ac_c_werror_flag" ||
21826 test ! -s conftest.err
21827 } && test -s conftest.$ac_objext; then
21828 ac_lo=0 ac_mid=0
21829 while :; do
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef size_t ac__type_sizeof_;
21838 int
21839 main ()
21840 {
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21842 test_array [0] = 0
21843
21844 ;
21845 return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21853 esac
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21856 ac_status=$?
21857 grep -v '^ *+' conftest.er1 >conftest.err
21858 rm -f conftest.er1
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_hi=$ac_mid; break
21866 else
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 ac_lo=`expr $ac_mid + 1`
21871 if test $ac_lo -le $ac_mid; then
21872 ac_lo= ac_hi=
21873 break
21874 fi
21875 ac_mid=`expr 2 '*' $ac_mid + 1`
21876 fi
21877
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879 done
21880 else
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21883
21884 cat >conftest.$ac_ext <<_ACEOF
21885 /* confdefs.h. */
21886 _ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef size_t ac__type_sizeof_;
21892 int
21893 main ()
21894 {
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21896 test_array [0] = 0
21897
21898 ;
21899 return 0;
21900 }
21901 _ACEOF
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21907 esac
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21919 ac_hi=-1 ac_mid=-1
21920 while :; do
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef size_t ac__type_sizeof_;
21929 int
21930 main ()
21931 {
21932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21933 test_array [0] = 0
21934
21935 ;
21936 return 0;
21937 }
21938 _ACEOF
21939 rm -f conftest.$ac_objext
21940 if { (ac_try="$ac_compile"
21941 case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21944 esac
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_compile") 2>conftest.er1
21947 ac_status=$?
21948 grep -v '^ *+' conftest.er1 >conftest.err
21949 rm -f conftest.er1
21950 cat conftest.err >&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } && {
21953 test -z "$ac_c_werror_flag" ||
21954 test ! -s conftest.err
21955 } && test -s conftest.$ac_objext; then
21956 ac_lo=$ac_mid; break
21957 else
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21960
21961 ac_hi=`expr '(' $ac_mid ')' - 1`
21962 if test $ac_mid -le $ac_hi; then
21963 ac_lo= ac_hi=
21964 break
21965 fi
21966 ac_mid=`expr 2 '*' $ac_mid`
21967 fi
21968
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 done
21971 else
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21974
21975 ac_lo= ac_hi=
21976 fi
21977
21978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21979 fi
21980
21981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21982 # Binary search between lo and hi bounds.
21983 while test "x$ac_lo" != "x$ac_hi"; do
21984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef size_t ac__type_sizeof_;
21993 int
21994 main ()
21995 {
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21997 test_array [0] = 0
21998
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22011 ac_status=$?
22012 grep -v '^ *+' conftest.er1 >conftest.err
22013 rm -f conftest.er1
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22020 ac_hi=$ac_mid
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_lo=`expr '(' $ac_mid ')' + 1`
22026 fi
22027
22028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22029 done
22030 case $ac_lo in
22031 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22032 '') if test "$ac_cv_type_size_t" = yes; then
22033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22034 See \`config.log' for more details." >&5
22035 echo "$as_me: error: cannot compute sizeof (size_t)
22036 See \`config.log' for more details." >&2;}
22037 { (exit 77); exit 77; }; }
22038 else
22039 ac_cv_sizeof_size_t=0
22040 fi ;;
22041 esac
22042 else
22043 cat >conftest.$ac_ext <<_ACEOF
22044 /* confdefs.h. */
22045 _ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 $ac_includes_default
22050 typedef size_t ac__type_sizeof_;
22051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22053 #include <stdio.h>
22054 #include <stdlib.h>
22055 int
22056 main ()
22057 {
22058
22059 FILE *f = fopen ("conftest.val", "w");
22060 if (! f)
22061 return 1;
22062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22063 {
22064 long int i = longval ();
22065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22066 return 1;
22067 fprintf (f, "%ld\n", i);
22068 }
22069 else
22070 {
22071 unsigned long int i = ulongval ();
22072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22073 return 1;
22074 fprintf (f, "%lu\n", i);
22075 }
22076 return ferror (f) || fclose (f) != 0;
22077
22078 ;
22079 return 0;
22080 }
22081 _ACEOF
22082 rm -f conftest$ac_exeext
22083 if { (ac_try="$ac_link"
22084 case "(($ac_try" in
22085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22086 *) ac_try_echo=$ac_try;;
22087 esac
22088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22089 (eval "$ac_link") 2>&5
22090 ac_status=$?
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22093 { (case "(($ac_try" in
22094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22095 *) ac_try_echo=$ac_try;;
22096 esac
22097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22098 (eval "$ac_try") 2>&5
22099 ac_status=$?
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; }; then
22102 ac_cv_sizeof_size_t=`cat conftest.val`
22103 else
22104 echo "$as_me: program exited with status $ac_status" >&5
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.$ac_ext >&5
22107
22108 ( exit $ac_status )
22109 if test "$ac_cv_type_size_t" = yes; then
22110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22111 See \`config.log' for more details." >&5
22112 echo "$as_me: error: cannot compute sizeof (size_t)
22113 See \`config.log' for more details." >&2;}
22114 { (exit 77); exit 77; }; }
22115 else
22116 ac_cv_sizeof_size_t=0
22117 fi
22118 fi
22119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22120 fi
22121 rm -f conftest.val
22122 fi
22123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22124 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22125
22126
22127
22128 cat >>confdefs.h <<_ACEOF
22129 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22130 _ACEOF
22131
22132
22133
22134 case "${host}" in
22135 arm-*-linux* )
22136 { echo "$as_me:$LINENO: checking for long long" >&5
22137 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22138 if test "${ac_cv_type_long_long+set}" = set; then
22139 echo $ECHO_N "(cached) $ECHO_C" >&6
22140 else
22141 cat >conftest.$ac_ext <<_ACEOF
22142 /* confdefs.h. */
22143 _ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_new_;
22149 int
22150 main ()
22151 {
22152 if ((ac__type_new_ *) 0)
22153 return 0;
22154 if (sizeof (ac__type_new_))
22155 return 0;
22156 ;
22157 return 0;
22158 }
22159 _ACEOF
22160 rm -f conftest.$ac_objext
22161 if { (ac_try="$ac_compile"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22165 esac
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_compile") 2>conftest.er1
22168 ac_status=$?
22169 grep -v '^ *+' conftest.er1 >conftest.err
22170 rm -f conftest.er1
22171 cat conftest.err >&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } && {
22174 test -z "$ac_c_werror_flag" ||
22175 test ! -s conftest.err
22176 } && test -s conftest.$ac_objext; then
22177 ac_cv_type_long_long=yes
22178 else
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22181
22182 ac_cv_type_long_long=no
22183 fi
22184
22185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22186 fi
22187 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22188 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22189
22190 # The cast to long int works around a bug in the HP C Compiler
22191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22193 # This bug is HP SR number 8606223364.
22194 { echo "$as_me:$LINENO: checking size of long long" >&5
22195 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22196 if test "${ac_cv_sizeof_long_long+set}" = set; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22198 else
22199 if test "$cross_compiling" = yes; then
22200 # Depending upon the size, compute the lo and hi bounds.
22201 cat >conftest.$ac_ext <<_ACEOF
22202 /* confdefs.h. */
22203 _ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 $ac_includes_default
22208 typedef long long ac__type_sizeof_;
22209 int
22210 main ()
22211 {
22212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22213 test_array [0] = 0
22214
22215 ;
22216 return 0;
22217 }
22218 _ACEOF
22219 rm -f conftest.$ac_objext
22220 if { (ac_try="$ac_compile"
22221 case "(($ac_try" in
22222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22223 *) ac_try_echo=$ac_try;;
22224 esac
22225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22226 (eval "$ac_compile") 2>conftest.er1
22227 ac_status=$?
22228 grep -v '^ *+' conftest.er1 >conftest.err
22229 rm -f conftest.er1
22230 cat conftest.err >&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && {
22233 test -z "$ac_c_werror_flag" ||
22234 test ! -s conftest.err
22235 } && test -s conftest.$ac_objext; then
22236 ac_lo=0 ac_mid=0
22237 while :; do
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 $ac_includes_default
22245 typedef long long ac__type_sizeof_;
22246 int
22247 main ()
22248 {
22249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22250 test_array [0] = 0
22251
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 ac_hi=$ac_mid; break
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 ac_lo=`expr $ac_mid + 1`
22279 if test $ac_lo -le $ac_mid; then
22280 ac_lo= ac_hi=
22281 break
22282 fi
22283 ac_mid=`expr 2 '*' $ac_mid + 1`
22284 fi
22285
22286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22287 done
22288 else
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22291
22292 cat >conftest.$ac_ext <<_ACEOF
22293 /* confdefs.h. */
22294 _ACEOF
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 $ac_includes_default
22299 typedef long long ac__type_sizeof_;
22300 int
22301 main ()
22302 {
22303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22304 test_array [0] = 0
22305
22306 ;
22307 return 0;
22308 }
22309 _ACEOF
22310 rm -f conftest.$ac_objext
22311 if { (ac_try="$ac_compile"
22312 case "(($ac_try" in
22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22315 esac
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_compile") 2>conftest.er1
22318 ac_status=$?
22319 grep -v '^ *+' conftest.er1 >conftest.err
22320 rm -f conftest.er1
22321 cat conftest.err >&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); } && {
22324 test -z "$ac_c_werror_flag" ||
22325 test ! -s conftest.err
22326 } && test -s conftest.$ac_objext; then
22327 ac_hi=-1 ac_mid=-1
22328 while :; do
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 $ac_includes_default
22336 typedef long long ac__type_sizeof_;
22337 int
22338 main ()
22339 {
22340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22341 test_array [0] = 0
22342
22343 ;
22344 return 0;
22345 }
22346 _ACEOF
22347 rm -f conftest.$ac_objext
22348 if { (ac_try="$ac_compile"
22349 case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22352 esac
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_compile") 2>conftest.er1
22355 ac_status=$?
22356 grep -v '^ *+' conftest.er1 >conftest.err
22357 rm -f conftest.er1
22358 cat conftest.err >&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && {
22361 test -z "$ac_c_werror_flag" ||
22362 test ! -s conftest.err
22363 } && test -s conftest.$ac_objext; then
22364 ac_lo=$ac_mid; break
22365 else
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22368
22369 ac_hi=`expr '(' $ac_mid ')' - 1`
22370 if test $ac_mid -le $ac_hi; then
22371 ac_lo= ac_hi=
22372 break
22373 fi
22374 ac_mid=`expr 2 '*' $ac_mid`
22375 fi
22376
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 done
22379 else
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22382
22383 ac_lo= ac_hi=
22384 fi
22385
22386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22387 fi
22388
22389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22390 # Binary search between lo and hi bounds.
22391 while test "x$ac_lo" != "x$ac_hi"; do
22392 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22393 cat >conftest.$ac_ext <<_ACEOF
22394 /* confdefs.h. */
22395 _ACEOF
22396 cat confdefs.h >>conftest.$ac_ext
22397 cat >>conftest.$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 $ac_includes_default
22400 typedef long long ac__type_sizeof_;
22401 int
22402 main ()
22403 {
22404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22405 test_array [0] = 0
22406
22407 ;
22408 return 0;
22409 }
22410 _ACEOF
22411 rm -f conftest.$ac_objext
22412 if { (ac_try="$ac_compile"
22413 case "(($ac_try" in
22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22416 esac
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_compile") 2>conftest.er1
22419 ac_status=$?
22420 grep -v '^ *+' conftest.er1 >conftest.err
22421 rm -f conftest.er1
22422 cat conftest.err >&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); } && {
22425 test -z "$ac_c_werror_flag" ||
22426 test ! -s conftest.err
22427 } && test -s conftest.$ac_objext; then
22428 ac_hi=$ac_mid
22429 else
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 ac_lo=`expr '(' $ac_mid ')' + 1`
22434 fi
22435
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 done
22438 case $ac_lo in
22439 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22440 '') if test "$ac_cv_type_long_long" = yes; then
22441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22442 See \`config.log' for more details." >&5
22443 echo "$as_me: error: cannot compute sizeof (long long)
22444 See \`config.log' for more details." >&2;}
22445 { (exit 77); exit 77; }; }
22446 else
22447 ac_cv_sizeof_long_long=0
22448 fi ;;
22449 esac
22450 else
22451 cat >conftest.$ac_ext <<_ACEOF
22452 /* confdefs.h. */
22453 _ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef long long ac__type_sizeof_;
22459 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22460 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22461 #include <stdio.h>
22462 #include <stdlib.h>
22463 int
22464 main ()
22465 {
22466
22467 FILE *f = fopen ("conftest.val", "w");
22468 if (! f)
22469 return 1;
22470 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22471 {
22472 long int i = longval ();
22473 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22474 return 1;
22475 fprintf (f, "%ld\n", i);
22476 }
22477 else
22478 {
22479 unsigned long int i = ulongval ();
22480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22481 return 1;
22482 fprintf (f, "%lu\n", i);
22483 }
22484 return ferror (f) || fclose (f) != 0;
22485
22486 ;
22487 return 0;
22488 }
22489 _ACEOF
22490 rm -f conftest$ac_exeext
22491 if { (ac_try="$ac_link"
22492 case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22495 esac
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_link") 2>&5
22498 ac_status=$?
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22501 { (case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_try") 2>&5
22507 ac_status=$?
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; }; then
22510 ac_cv_sizeof_long_long=`cat conftest.val`
22511 else
22512 echo "$as_me: program exited with status $ac_status" >&5
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22515
22516 ( exit $ac_status )
22517 if test "$ac_cv_type_long_long" = yes; then
22518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22519 See \`config.log' for more details." >&5
22520 echo "$as_me: error: cannot compute sizeof (long long)
22521 See \`config.log' for more details." >&2;}
22522 { (exit 77); exit 77; }; }
22523 else
22524 ac_cv_sizeof_long_long=0
22525 fi
22526 fi
22527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22528 fi
22529 rm -f conftest.val
22530 fi
22531 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22532 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22533
22534
22535
22536 cat >>confdefs.h <<_ACEOF
22537 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22538 _ACEOF
22539
22540
22541 ;;
22542 *-hp-hpux* )
22543 { echo "$as_me:$LINENO: checking for long long" >&5
22544 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22545 if test "${ac_cv_type_long_long+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 else
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 $ac_includes_default
22555 typedef long long ac__type_new_;
22556 int
22557 main ()
22558 {
22559 if ((ac__type_new_ *) 0)
22560 return 0;
22561 if (sizeof (ac__type_new_))
22562 return 0;
22563 ;
22564 return 0;
22565 }
22566 _ACEOF
22567 rm -f conftest.$ac_objext
22568 if { (ac_try="$ac_compile"
22569 case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22572 esac
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_compile") 2>conftest.er1
22575 ac_status=$?
22576 grep -v '^ *+' conftest.er1 >conftest.err
22577 rm -f conftest.er1
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } && {
22581 test -z "$ac_c_werror_flag" ||
22582 test ! -s conftest.err
22583 } && test -s conftest.$ac_objext; then
22584 ac_cv_type_long_long=yes
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 ac_cv_type_long_long=no
22590 fi
22591
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593 fi
22594 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22595 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22596
22597 # The cast to long int works around a bug in the HP C Compiler
22598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22600 # This bug is HP SR number 8606223364.
22601 { echo "$as_me:$LINENO: checking size of long long" >&5
22602 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22603 if test "${ac_cv_sizeof_long_long+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22605 else
22606 if test "$cross_compiling" = yes; then
22607 # Depending upon the size, compute the lo and hi bounds.
22608 cat >conftest.$ac_ext <<_ACEOF
22609 /* confdefs.h. */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 $ac_includes_default
22615 typedef long long ac__type_sizeof_;
22616 int
22617 main ()
22618 {
22619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22620 test_array [0] = 0
22621
22622 ;
22623 return 0;
22624 }
22625 _ACEOF
22626 rm -f conftest.$ac_objext
22627 if { (ac_try="$ac_compile"
22628 case "(($ac_try" in
22629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22630 *) ac_try_echo=$ac_try;;
22631 esac
22632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22633 (eval "$ac_compile") 2>conftest.er1
22634 ac_status=$?
22635 grep -v '^ *+' conftest.er1 >conftest.err
22636 rm -f conftest.er1
22637 cat conftest.err >&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && {
22640 test -z "$ac_c_werror_flag" ||
22641 test ! -s conftest.err
22642 } && test -s conftest.$ac_objext; then
22643 ac_lo=0 ac_mid=0
22644 while :; do
22645 cat >conftest.$ac_ext <<_ACEOF
22646 /* confdefs.h. */
22647 _ACEOF
22648 cat confdefs.h >>conftest.$ac_ext
22649 cat >>conftest.$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22653 int
22654 main ()
22655 {
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22657 test_array [0] = 0
22658
22659 ;
22660 return 0;
22661 }
22662 _ACEOF
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22667 *) ac_try_echo=$ac_try;;
22668 esac
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22671 ac_status=$?
22672 grep -v '^ *+' conftest.er1 >conftest.err
22673 rm -f conftest.er1
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.$ac_objext; then
22680 ac_hi=$ac_mid; break
22681 else
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22684
22685 ac_lo=`expr $ac_mid + 1`
22686 if test $ac_lo -le $ac_mid; then
22687 ac_lo= ac_hi=
22688 break
22689 fi
22690 ac_mid=`expr 2 '*' $ac_mid + 1`
22691 fi
22692
22693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22694 done
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22698
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef long long ac__type_sizeof_;
22707 int
22708 main ()
22709 {
22710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22711 test_array [0] = 0
22712
22713 ;
22714 return 0;
22715 }
22716 _ACEOF
22717 rm -f conftest.$ac_objext
22718 if { (ac_try="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22722 esac
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22725 ac_status=$?
22726 grep -v '^ *+' conftest.er1 >conftest.err
22727 rm -f conftest.er1
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && {
22731 test -z "$ac_c_werror_flag" ||
22732 test ! -s conftest.err
22733 } && test -s conftest.$ac_objext; then
22734 ac_hi=-1 ac_mid=-1
22735 while :; do
22736 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 $ac_includes_default
22743 typedef long long ac__type_sizeof_;
22744 int
22745 main ()
22746 {
22747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22748 test_array [0] = 0
22749
22750 ;
22751 return 0;
22752 }
22753 _ACEOF
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22759 esac
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22762 ac_status=$?
22763 grep -v '^ *+' conftest.er1 >conftest.err
22764 rm -f conftest.er1
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.$ac_objext; then
22771 ac_lo=$ac_mid; break
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 ac_hi=`expr '(' $ac_mid ')' - 1`
22777 if test $ac_mid -le $ac_hi; then
22778 ac_lo= ac_hi=
22779 break
22780 fi
22781 ac_mid=`expr 2 '*' $ac_mid`
22782 fi
22783
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 done
22786 else
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.$ac_ext >&5
22789
22790 ac_lo= ac_hi=
22791 fi
22792
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 fi
22795
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 # Binary search between lo and hi bounds.
22798 while test "x$ac_lo" != "x$ac_hi"; do
22799 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22800 cat >conftest.$ac_ext <<_ACEOF
22801 /* confdefs.h. */
22802 _ACEOF
22803 cat confdefs.h >>conftest.$ac_ext
22804 cat >>conftest.$ac_ext <<_ACEOF
22805 /* end confdefs.h. */
22806 $ac_includes_default
22807 typedef long long ac__type_sizeof_;
22808 int
22809 main ()
22810 {
22811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22812 test_array [0] = 0
22813
22814 ;
22815 return 0;
22816 }
22817 _ACEOF
22818 rm -f conftest.$ac_objext
22819 if { (ac_try="$ac_compile"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22823 esac
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_compile") 2>conftest.er1
22826 ac_status=$?
22827 grep -v '^ *+' conftest.er1 >conftest.err
22828 rm -f conftest.er1
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_c_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest.$ac_objext; then
22835 ac_hi=$ac_mid
22836 else
22837 echo "$as_me: failed program was:" >&5
22838 sed 's/^/| /' conftest.$ac_ext >&5
22839
22840 ac_lo=`expr '(' $ac_mid ')' + 1`
22841 fi
22842
22843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22844 done
22845 case $ac_lo in
22846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22847 '') if test "$ac_cv_type_long_long" = yes; then
22848 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22849 See \`config.log' for more details." >&5
22850 echo "$as_me: error: cannot compute sizeof (long long)
22851 See \`config.log' for more details." >&2;}
22852 { (exit 77); exit 77; }; }
22853 else
22854 ac_cv_sizeof_long_long=0
22855 fi ;;
22856 esac
22857 else
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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22867 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22868 #include <stdio.h>
22869 #include <stdlib.h>
22870 int
22871 main ()
22872 {
22873
22874 FILE *f = fopen ("conftest.val", "w");
22875 if (! f)
22876 return 1;
22877 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22878 {
22879 long int i = longval ();
22880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22881 return 1;
22882 fprintf (f, "%ld\n", i);
22883 }
22884 else
22885 {
22886 unsigned long int i = ulongval ();
22887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22888 return 1;
22889 fprintf (f, "%lu\n", i);
22890 }
22891 return ferror (f) || fclose (f) != 0;
22892
22893 ;
22894 return 0;
22895 }
22896 _ACEOF
22897 rm -f conftest$ac_exeext
22898 if { (ac_try="$ac_link"
22899 case "(($ac_try" in
22900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22901 *) ac_try_echo=$ac_try;;
22902 esac
22903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22904 (eval "$ac_link") 2>&5
22905 ac_status=$?
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22908 { (case "(($ac_try" in
22909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22910 *) ac_try_echo=$ac_try;;
22911 esac
22912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22913 (eval "$ac_try") 2>&5
22914 ac_status=$?
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; }; then
22917 ac_cv_sizeof_long_long=`cat conftest.val`
22918 else
22919 echo "$as_me: program exited with status $ac_status" >&5
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22922
22923 ( exit $ac_status )
22924 if test "$ac_cv_type_long_long" = yes; then
22925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22926 See \`config.log' for more details." >&5
22927 echo "$as_me: error: cannot compute sizeof (long long)
22928 See \`config.log' for more details." >&2;}
22929 { (exit 77); exit 77; }; }
22930 else
22931 ac_cv_sizeof_long_long=0
22932 fi
22933 fi
22934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22935 fi
22936 rm -f conftest.val
22937 fi
22938 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22939 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22940
22941
22942
22943 cat >>confdefs.h <<_ACEOF
22944 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22945 _ACEOF
22946
22947
22948 if test "$ac_cv_sizeof_long_long" != 0; then
22949 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22950 fi
22951 ;;
22952 * )
22953 { echo "$as_me:$LINENO: checking for long long" >&5
22954 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22955 if test "${ac_cv_type_long_long+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22957 else
22958 cat >conftest.$ac_ext <<_ACEOF
22959 /* confdefs.h. */
22960 _ACEOF
22961 cat confdefs.h >>conftest.$ac_ext
22962 cat >>conftest.$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 $ac_includes_default
22965 typedef long long ac__type_new_;
22966 int
22967 main ()
22968 {
22969 if ((ac__type_new_ *) 0)
22970 return 0;
22971 if (sizeof (ac__type_new_))
22972 return 0;
22973 ;
22974 return 0;
22975 }
22976 _ACEOF
22977 rm -f conftest.$ac_objext
22978 if { (ac_try="$ac_compile"
22979 case "(($ac_try" in
22980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22981 *) ac_try_echo=$ac_try;;
22982 esac
22983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22984 (eval "$ac_compile") 2>conftest.er1
22985 ac_status=$?
22986 grep -v '^ *+' conftest.er1 >conftest.err
22987 rm -f conftest.er1
22988 cat conftest.err >&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); } && {
22991 test -z "$ac_c_werror_flag" ||
22992 test ! -s conftest.err
22993 } && test -s conftest.$ac_objext; then
22994 ac_cv_type_long_long=yes
22995 else
22996 echo "$as_me: failed program was:" >&5
22997 sed 's/^/| /' conftest.$ac_ext >&5
22998
22999 ac_cv_type_long_long=no
23000 fi
23001
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23003 fi
23004 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23005 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23006
23007 # The cast to long int works around a bug in the HP C Compiler
23008 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23009 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23010 # This bug is HP SR number 8606223364.
23011 { echo "$as_me:$LINENO: checking size of long long" >&5
23012 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23013 if test "${ac_cv_sizeof_long_long+set}" = set; then
23014 echo $ECHO_N "(cached) $ECHO_C" >&6
23015 else
23016 if test "$cross_compiling" = yes; then
23017 # Depending upon the size, compute the lo and hi bounds.
23018 cat >conftest.$ac_ext <<_ACEOF
23019 /* confdefs.h. */
23020 _ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23024 $ac_includes_default
23025 typedef long long ac__type_sizeof_;
23026 int
23027 main ()
23028 {
23029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23030 test_array [0] = 0
23031
23032 ;
23033 return 0;
23034 }
23035 _ACEOF
23036 rm -f conftest.$ac_objext
23037 if { (ac_try="$ac_compile"
23038 case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23041 esac
23042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_compile") 2>conftest.er1
23044 ac_status=$?
23045 grep -v '^ *+' conftest.er1 >conftest.err
23046 rm -f conftest.er1
23047 cat conftest.err >&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } && {
23050 test -z "$ac_c_werror_flag" ||
23051 test ! -s conftest.err
23052 } && test -s conftest.$ac_objext; then
23053 ac_lo=0 ac_mid=0
23054 while :; do
23055 cat >conftest.$ac_ext <<_ACEOF
23056 /* confdefs.h. */
23057 _ACEOF
23058 cat confdefs.h >>conftest.$ac_ext
23059 cat >>conftest.$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23061 $ac_includes_default
23062 typedef long long ac__type_sizeof_;
23063 int
23064 main ()
23065 {
23066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23067 test_array [0] = 0
23068
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23078 esac
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23081 ac_status=$?
23082 grep -v '^ *+' conftest.er1 >conftest.err
23083 rm -f conftest.er1
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_c_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23090 ac_hi=$ac_mid; break
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 ac_lo=`expr $ac_mid + 1`
23096 if test $ac_lo -le $ac_mid; then
23097 ac_lo= ac_hi=
23098 break
23099 fi
23100 ac_mid=`expr 2 '*' $ac_mid + 1`
23101 fi
23102
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104 done
23105 else
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23108
23109 cat >conftest.$ac_ext <<_ACEOF
23110 /* confdefs.h. */
23111 _ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115 $ac_includes_default
23116 typedef long long ac__type_sizeof_;
23117 int
23118 main ()
23119 {
23120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23121 test_array [0] = 0
23122
23123 ;
23124 return 0;
23125 }
23126 _ACEOF
23127 rm -f conftest.$ac_objext
23128 if { (ac_try="$ac_compile"
23129 case "(($ac_try" in
23130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23132 esac
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_compile") 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } && {
23141 test -z "$ac_c_werror_flag" ||
23142 test ! -s conftest.err
23143 } && test -s conftest.$ac_objext; then
23144 ac_hi=-1 ac_mid=-1
23145 while :; do
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 $ac_includes_default
23153 typedef long long ac__type_sizeof_;
23154 int
23155 main ()
23156 {
23157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23158 test_array [0] = 0
23159
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 ac_lo=$ac_mid; break
23182 else
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23185
23186 ac_hi=`expr '(' $ac_mid ')' - 1`
23187 if test $ac_mid -le $ac_hi; then
23188 ac_lo= ac_hi=
23189 break
23190 fi
23191 ac_mid=`expr 2 '*' $ac_mid`
23192 fi
23193
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23195 done
23196 else
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23199
23200 ac_lo= ac_hi=
23201 fi
23202
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204 fi
23205
23206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23207 # Binary search between lo and hi bounds.
23208 while test "x$ac_lo" != "x$ac_hi"; do
23209 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23210 cat >conftest.$ac_ext <<_ACEOF
23211 /* confdefs.h. */
23212 _ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216 $ac_includes_default
23217 typedef long long ac__type_sizeof_;
23218 int
23219 main ()
23220 {
23221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23222 test_array [0] = 0
23223
23224 ;
23225 return 0;
23226 }
23227 _ACEOF
23228 rm -f conftest.$ac_objext
23229 if { (ac_try="$ac_compile"
23230 case "(($ac_try" in
23231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23232 *) ac_try_echo=$ac_try;;
23233 esac
23234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23235 (eval "$ac_compile") 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } && {
23242 test -z "$ac_c_werror_flag" ||
23243 test ! -s conftest.err
23244 } && test -s conftest.$ac_objext; then
23245 ac_hi=$ac_mid
23246 else
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23249
23250 ac_lo=`expr '(' $ac_mid ')' + 1`
23251 fi
23252
23253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 done
23255 case $ac_lo in
23256 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23257 '') if test "$ac_cv_type_long_long" = yes; then
23258 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23259 See \`config.log' for more details." >&5
23260 echo "$as_me: error: cannot compute sizeof (long long)
23261 See \`config.log' for more details." >&2;}
23262 { (exit 77); exit 77; }; }
23263 else
23264 ac_cv_sizeof_long_long=0
23265 fi ;;
23266 esac
23267 else
23268 cat >conftest.$ac_ext <<_ACEOF
23269 /* confdefs.h. */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 $ac_includes_default
23275 typedef long long ac__type_sizeof_;
23276 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23277 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23278 #include <stdio.h>
23279 #include <stdlib.h>
23280 int
23281 main ()
23282 {
23283
23284 FILE *f = fopen ("conftest.val", "w");
23285 if (! f)
23286 return 1;
23287 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23288 {
23289 long int i = longval ();
23290 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23291 return 1;
23292 fprintf (f, "%ld\n", i);
23293 }
23294 else
23295 {
23296 unsigned long int i = ulongval ();
23297 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23298 return 1;
23299 fprintf (f, "%lu\n", i);
23300 }
23301 return ferror (f) || fclose (f) != 0;
23302
23303 ;
23304 return 0;
23305 }
23306 _ACEOF
23307 rm -f conftest$ac_exeext
23308 if { (ac_try="$ac_link"
23309 case "(($ac_try" in
23310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23311 *) ac_try_echo=$ac_try;;
23312 esac
23313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23314 (eval "$ac_link") 2>&5
23315 ac_status=$?
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23318 { (case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23321 esac
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_try") 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_sizeof_long_long=`cat conftest.val`
23328 else
23329 echo "$as_me: program exited with status $ac_status" >&5
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.$ac_ext >&5
23332
23333 ( exit $ac_status )
23334 if test "$ac_cv_type_long_long" = yes; then
23335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23336 See \`config.log' for more details." >&5
23337 echo "$as_me: error: cannot compute sizeof (long long)
23338 See \`config.log' for more details." >&2;}
23339 { (exit 77); exit 77; }; }
23340 else
23341 ac_cv_sizeof_long_long=0
23342 fi
23343 fi
23344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23345 fi
23346 rm -f conftest.val
23347 fi
23348 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23349 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23350
23351
23352
23353 cat >>confdefs.h <<_ACEOF
23354 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23355 _ACEOF
23356
23357
23358 esac
23359
23360 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23361 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23362 if test "${ac_cv_type_wchar_t+set}" = set; then
23363 echo $ECHO_N "(cached) $ECHO_C" >&6
23364 else
23365 cat >conftest.$ac_ext <<_ACEOF
23366 /* confdefs.h. */
23367 _ACEOF
23368 cat confdefs.h >>conftest.$ac_ext
23369 cat >>conftest.$ac_ext <<_ACEOF
23370 /* end confdefs.h. */
23371
23372 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23373 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23374 # error "fake wchar_t"
23375 #endif
23376 #ifdef HAVE_WCHAR_H
23377 # ifdef __CYGWIN__
23378 # include <stddef.h>
23379 # endif
23380 # include <wchar.h>
23381 #endif
23382 #ifdef HAVE_STDLIB_H
23383 # include <stdlib.h>
23384 #endif
23385 #include <stdio.h>
23386
23387
23388
23389 typedef wchar_t ac__type_new_;
23390 int
23391 main ()
23392 {
23393 if ((ac__type_new_ *) 0)
23394 return 0;
23395 if (sizeof (ac__type_new_))
23396 return 0;
23397 ;
23398 return 0;
23399 }
23400 _ACEOF
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406 esac
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_c_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 ac_cv_type_wchar_t=yes
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 ac_cv_type_wchar_t=no
23424 fi
23425
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 fi
23428 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23429 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23430
23431 # The cast to long int works around a bug in the HP C Compiler
23432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23434 # This bug is HP SR number 8606223364.
23435 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23436 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23437 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 else
23440 if test "$cross_compiling" = yes; then
23441 # Depending upon the size, compute the lo and hi bounds.
23442 cat >conftest.$ac_ext <<_ACEOF
23443 /* confdefs.h. */
23444 _ACEOF
23445 cat confdefs.h >>conftest.$ac_ext
23446 cat >>conftest.$ac_ext <<_ACEOF
23447 /* end confdefs.h. */
23448
23449 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23450 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23451 # error "fake wchar_t"
23452 #endif
23453 #ifdef HAVE_WCHAR_H
23454 # ifdef __CYGWIN__
23455 # include <stddef.h>
23456 # endif
23457 # include <wchar.h>
23458 #endif
23459 #ifdef HAVE_STDLIB_H
23460 # include <stdlib.h>
23461 #endif
23462 #include <stdio.h>
23463
23464
23465
23466 typedef wchar_t ac__type_sizeof_;
23467 int
23468 main ()
23469 {
23470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23471 test_array [0] = 0
23472
23473 ;
23474 return 0;
23475 }
23476 _ACEOF
23477 rm -f conftest.$ac_objext
23478 if { (ac_try="$ac_compile"
23479 case "(($ac_try" in
23480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23481 *) ac_try_echo=$ac_try;;
23482 esac
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_compile") 2>conftest.er1
23485 ac_status=$?
23486 grep -v '^ *+' conftest.er1 >conftest.err
23487 rm -f conftest.er1
23488 cat conftest.err >&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); } && {
23491 test -z "$ac_c_werror_flag" ||
23492 test ! -s conftest.err
23493 } && test -s conftest.$ac_objext; then
23494 ac_lo=0 ac_mid=0
23495 while :; do
23496 cat >conftest.$ac_ext <<_ACEOF
23497 /* confdefs.h. */
23498 _ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502
23503 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23504 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23505 # error "fake wchar_t"
23506 #endif
23507 #ifdef HAVE_WCHAR_H
23508 # ifdef __CYGWIN__
23509 # include <stddef.h>
23510 # endif
23511 # include <wchar.h>
23512 #endif
23513 #ifdef HAVE_STDLIB_H
23514 # include <stdlib.h>
23515 #endif
23516 #include <stdio.h>
23517
23518
23519
23520 typedef wchar_t ac__type_sizeof_;
23521 int
23522 main ()
23523 {
23524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23525 test_array [0] = 0
23526
23527 ;
23528 return 0;
23529 }
23530 _ACEOF
23531 rm -f conftest.$ac_objext
23532 if { (ac_try="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_hi=$ac_mid; break
23549 else
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23552
23553 ac_lo=`expr $ac_mid + 1`
23554 if test $ac_lo -le $ac_mid; then
23555 ac_lo= ac_hi=
23556 break
23557 fi
23558 ac_mid=`expr 2 '*' $ac_mid + 1`
23559 fi
23560
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562 done
23563 else
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.$ac_ext >&5
23566
23567 cat >conftest.$ac_ext <<_ACEOF
23568 /* confdefs.h. */
23569 _ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573
23574 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23575 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23576 # error "fake wchar_t"
23577 #endif
23578 #ifdef HAVE_WCHAR_H
23579 # ifdef __CYGWIN__
23580 # include <stddef.h>
23581 # endif
23582 # include <wchar.h>
23583 #endif
23584 #ifdef HAVE_STDLIB_H
23585 # include <stdlib.h>
23586 #endif
23587 #include <stdio.h>
23588
23589
23590
23591 typedef wchar_t ac__type_sizeof_;
23592 int
23593 main ()
23594 {
23595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23596 test_array [0] = 0
23597
23598 ;
23599 return 0;
23600 }
23601 _ACEOF
23602 rm -f conftest.$ac_objext
23603 if { (ac_try="$ac_compile"
23604 case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23607 esac
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23610 ac_status=$?
23611 grep -v '^ *+' conftest.er1 >conftest.err
23612 rm -f conftest.er1
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23619 ac_hi=-1 ac_mid=-1
23620 while :; do
23621 cat >conftest.$ac_ext <<_ACEOF
23622 /* confdefs.h. */
23623 _ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627
23628 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23629 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23630 # error "fake wchar_t"
23631 #endif
23632 #ifdef HAVE_WCHAR_H
23633 # ifdef __CYGWIN__
23634 # include <stddef.h>
23635 # endif
23636 # include <wchar.h>
23637 #endif
23638 #ifdef HAVE_STDLIB_H
23639 # include <stdlib.h>
23640 #endif
23641 #include <stdio.h>
23642
23643
23644
23645 typedef wchar_t ac__type_sizeof_;
23646 int
23647 main ()
23648 {
23649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23650 test_array [0] = 0
23651
23652 ;
23653 return 0;
23654 }
23655 _ACEOF
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23661 esac
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_c_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_lo=$ac_mid; break
23674 else
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5
23677
23678 ac_hi=`expr '(' $ac_mid ')' - 1`
23679 if test $ac_mid -le $ac_hi; then
23680 ac_lo= ac_hi=
23681 break
23682 fi
23683 ac_mid=`expr 2 '*' $ac_mid`
23684 fi
23685
23686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23687 done
23688 else
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.$ac_ext >&5
23691
23692 ac_lo= ac_hi=
23693 fi
23694
23695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 fi
23697
23698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23699 # Binary search between lo and hi bounds.
23700 while test "x$ac_lo" != "x$ac_hi"; do
23701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23702 cat >conftest.$ac_ext <<_ACEOF
23703 /* confdefs.h. */
23704 _ACEOF
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708
23709 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23710 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23711 # error "fake wchar_t"
23712 #endif
23713 #ifdef HAVE_WCHAR_H
23714 # ifdef __CYGWIN__
23715 # include <stddef.h>
23716 # endif
23717 # include <wchar.h>
23718 #endif
23719 #ifdef HAVE_STDLIB_H
23720 # include <stdlib.h>
23721 #endif
23722 #include <stdio.h>
23723
23724
23725
23726 typedef wchar_t ac__type_sizeof_;
23727 int
23728 main ()
23729 {
23730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23731 test_array [0] = 0
23732
23733 ;
23734 return 0;
23735 }
23736 _ACEOF
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23742 esac
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_compile") 2>conftest.er1
23745 ac_status=$?
23746 grep -v '^ *+' conftest.er1 >conftest.err
23747 rm -f conftest.er1
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } && {
23751 test -z "$ac_c_werror_flag" ||
23752 test ! -s conftest.err
23753 } && test -s conftest.$ac_objext; then
23754 ac_hi=$ac_mid
23755 else
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23758
23759 ac_lo=`expr '(' $ac_mid ')' + 1`
23760 fi
23761
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23763 done
23764 case $ac_lo in
23765 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23766 '') if test "$ac_cv_type_wchar_t" = yes; then
23767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23768 See \`config.log' for more details." >&5
23769 echo "$as_me: error: cannot compute sizeof (wchar_t)
23770 See \`config.log' for more details." >&2;}
23771 { (exit 77); exit 77; }; }
23772 else
23773 ac_cv_sizeof_wchar_t=0
23774 fi ;;
23775 esac
23776 else
23777 cat >conftest.$ac_ext <<_ACEOF
23778 /* confdefs.h. */
23779 _ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23783
23784 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23785 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23786 # error "fake wchar_t"
23787 #endif
23788 #ifdef HAVE_WCHAR_H
23789 # ifdef __CYGWIN__
23790 # include <stddef.h>
23791 # endif
23792 # include <wchar.h>
23793 #endif
23794 #ifdef HAVE_STDLIB_H
23795 # include <stdlib.h>
23796 #endif
23797 #include <stdio.h>
23798
23799
23800
23801 typedef wchar_t ac__type_sizeof_;
23802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23804 #include <stdio.h>
23805 #include <stdlib.h>
23806 int
23807 main ()
23808 {
23809
23810 FILE *f = fopen ("conftest.val", "w");
23811 if (! f)
23812 return 1;
23813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23814 {
23815 long int i = longval ();
23816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23817 return 1;
23818 fprintf (f, "%ld\n", i);
23819 }
23820 else
23821 {
23822 unsigned long int i = ulongval ();
23823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23824 return 1;
23825 fprintf (f, "%lu\n", i);
23826 }
23827 return ferror (f) || fclose (f) != 0;
23828
23829 ;
23830 return 0;
23831 }
23832 _ACEOF
23833 rm -f conftest$ac_exeext
23834 if { (ac_try="$ac_link"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23838 esac
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_link") 2>&5
23841 ac_status=$?
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23844 { (case "(($ac_try" in
23845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23846 *) ac_try_echo=$ac_try;;
23847 esac
23848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23849 (eval "$ac_try") 2>&5
23850 ac_status=$?
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23853 ac_cv_sizeof_wchar_t=`cat conftest.val`
23854 else
23855 echo "$as_me: program exited with status $ac_status" >&5
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23858
23859 ( exit $ac_status )
23860 if test "$ac_cv_type_wchar_t" = yes; then
23861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23862 See \`config.log' for more details." >&5
23863 echo "$as_me: error: cannot compute sizeof (wchar_t)
23864 See \`config.log' for more details." >&2;}
23865 { (exit 77); exit 77; }; }
23866 else
23867 ac_cv_sizeof_wchar_t=0
23868 fi
23869 fi
23870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23871 fi
23872 rm -f conftest.val
23873 fi
23874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23875 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23876
23877
23878
23879 cat >>confdefs.h <<_ACEOF
23880 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23881 _ACEOF
23882
23883
23884 if test "$ac_cv_sizeof_wchar_t" != 0; then
23885 wxUSE_WCHAR_T=yes
23886 else
23887 wxUSE_WCHAR_T=no
23888 fi
23889
23890 { echo "$as_me:$LINENO: checking for va_copy" >&5
23891 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23892 if test "${wx_cv_func_va_copy+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 else
23895
23896 ac_ext=cpp
23897 ac_cpp='$CXXCPP $CPPFLAGS'
23898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23901
23902 cat >conftest.$ac_ext <<_ACEOF
23903
23904 #include <stdarg.h>
23905 void foo(char *f, ...)
23906 {
23907 va_list ap1, ap2;
23908 va_start(ap1, f);
23909 va_copy(ap2, ap1);
23910 va_end(ap2);
23911 va_end(ap1);
23912 }
23913 int main()
23914 {
23915 foo("hi", 17);
23916 return 0;
23917 }
23918 _ACEOF
23919 rm -f conftest.$ac_objext conftest$ac_exeext
23920 if { (ac_try="$ac_link"
23921 case "(($ac_try" in
23922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23923 *) ac_try_echo=$ac_try;;
23924 esac
23925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23926 (eval "$ac_link") 2>conftest.er1
23927 ac_status=$?
23928 grep -v '^ *+' conftest.er1 >conftest.err
23929 rm -f conftest.er1
23930 cat conftest.err >&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } && {
23933 test -z "$ac_cxx_werror_flag" ||
23934 test ! -s conftest.err
23935 } && test -s conftest$ac_exeext &&
23936 $as_test_x conftest$ac_exeext; then
23937 wx_cv_func_va_copy=yes
23938 else
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23941
23942 wx_cv_func_va_copy=no
23943
23944 fi
23945
23946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23947 conftest$ac_exeext conftest.$ac_ext
23948 ac_ext=c
23949 ac_cpp='$CPP $CPPFLAGS'
23950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23953
23954
23955
23956 fi
23957 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23958 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23959
23960 if test $wx_cv_func_va_copy = "yes"; then
23961 cat >>confdefs.h <<\_ACEOF
23962 #define HAVE_VA_COPY 1
23963 _ACEOF
23964
23965 else
23966 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23967 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23968 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23969 echo $ECHO_N "(cached) $ECHO_C" >&6
23970 else
23971
23972 if test "$cross_compiling" = yes; then
23973 wx_cv_type_va_list_lvalue=yes
23974
23975 else
23976 cat >conftest.$ac_ext <<_ACEOF
23977
23978 #include <stdarg.h>
23979 int foo(char *f, ...)
23980 {
23981 va_list ap1, ap2;
23982 va_start(ap1, f);
23983 ap2 = ap1;
23984 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23985 return 1;
23986 va_end(ap2);
23987 va_end(ap1);
23988 return 0;
23989 }
23990 int main()
23991 {
23992 return foo("hi", 17);
23993 }
23994 _ACEOF
23995 rm -f conftest$ac_exeext
23996 if { (ac_try="$ac_link"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24000 esac
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_link") 2>&5
24003 ac_status=$?
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24006 { (case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24009 esac
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_try") 2>&5
24012 ac_status=$?
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; }; then
24015 wx_cv_type_va_list_lvalue=yes
24016 else
24017 echo "$as_me: program exited with status $ac_status" >&5
24018 echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24020
24021 ( exit $ac_status )
24022 wx_cv_type_va_list_lvalue=no
24023 fi
24024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24025 fi
24026
24027
24028
24029
24030 fi
24031 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24032 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24033
24034 if test $wx_cv_type_va_list_lvalue != "yes"; then
24035 cat >>confdefs.h <<\_ACEOF
24036 #define VA_LIST_IS_ARRAY 1
24037 _ACEOF
24038
24039 fi
24040 fi
24041
24042 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24043
24044 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24045 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24046 if test "${wx_cv_have_variadic_macros+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 else
24049
24050 ac_ext=cpp
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24055
24056 cat >conftest.$ac_ext <<_ACEOF
24057 /* confdefs.h. */
24058 _ACEOF
24059 cat confdefs.h >>conftest.$ac_ext
24060 cat >>conftest.$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24062
24063 #include <stdio.h>
24064 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24065
24066 int
24067 main ()
24068 {
24069
24070 test("%s %d %p", "test", 1, 0);
24071
24072
24073 ;
24074 return 0;
24075 }
24076 _ACEOF
24077 rm -f conftest.$ac_objext
24078 if { (ac_try="$ac_compile"
24079 case "(($ac_try" in
24080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24081 *) ac_try_echo=$ac_try;;
24082 esac
24083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24084 (eval "$ac_compile") 2>conftest.er1
24085 ac_status=$?
24086 grep -v '^ *+' conftest.er1 >conftest.err
24087 rm -f conftest.er1
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } && {
24091 test -z "$ac_cxx_werror_flag" ||
24092 test ! -s conftest.err
24093 } && test -s conftest.$ac_objext; then
24094 wx_cv_have_variadic_macros=yes
24095 else
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.$ac_ext >&5
24098
24099 wx_cv_have_variadic_macros=no
24100
24101 fi
24102
24103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24104 ac_ext=c
24105 ac_cpp='$CPP $CPPFLAGS'
24106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24109
24110
24111
24112 fi
24113 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24114 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24115
24116 if test $wx_cv_have_variadic_macros = "yes"; then
24117 cat >>confdefs.h <<\_ACEOF
24118 #define HAVE_VARIADIC_MACROS 1
24119 _ACEOF
24120
24121 fi
24122
24123 fi
24124
24125 LARGEFILE_CPPFLAGS=
24126 # Check whether --enable-largefile was given.
24127 if test "${enable_largefile+set}" = set; then
24128 enableval=$enable_largefile;
24129 fi
24130
24131 if test "$enable_largefile" != no; then
24132 wx_largefile=no
24133
24134 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24135 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24136 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24138 else
24139
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #define _FILE_OFFSET_BITS 64
24147 #include <sys/types.h>
24148 int
24149 main ()
24150 {
24151 typedef struct {
24152 unsigned int field: sizeof(off_t) == 8;
24153 } wxlf;
24154
24155 ;
24156 return 0;
24157 }
24158 _ACEOF
24159 rm -f conftest.$ac_objext
24160 if { (ac_try="$ac_compile"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163 *) ac_try_echo=$ac_try;;
24164 esac
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_compile") 2>conftest.er1
24167 ac_status=$?
24168 grep -v '^ *+' conftest.er1 >conftest.err
24169 rm -f conftest.er1
24170 cat conftest.err >&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } && {
24173 test -z "$ac_c_werror_flag" ||
24174 test ! -s conftest.err
24175 } && test -s conftest.$ac_objext; then
24176 ac_cv_sys_file_offset_bits=64
24177 else
24178 echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.$ac_ext >&5
24180
24181 ac_cv_sys_file_offset_bits=no
24182 fi
24183
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185
24186
24187 fi
24188 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24189 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24190
24191 if test "$ac_cv_sys_file_offset_bits" != no; then
24192 wx_largefile=yes
24193 cat >>confdefs.h <<_ACEOF
24194 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24195 _ACEOF
24196
24197 fi
24198
24199 if test "x$wx_largefile" != "xyes"; then
24200
24201 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24202 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24203 if test "${ac_cv_sys_large_files+set}" = set; then
24204 echo $ECHO_N "(cached) $ECHO_C" >&6
24205 else
24206
24207 cat >conftest.$ac_ext <<_ACEOF
24208 /* confdefs.h. */
24209 _ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213 #define _LARGE_FILES 1
24214 #include <sys/types.h>
24215 int
24216 main ()
24217 {
24218 typedef struct {
24219 unsigned int field: sizeof(off_t) == 8;
24220 } wxlf;
24221
24222 ;
24223 return 0;
24224 }
24225 _ACEOF
24226 rm -f conftest.$ac_objext
24227 if { (ac_try="$ac_compile"
24228 case "(($ac_try" in
24229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24230 *) ac_try_echo=$ac_try;;
24231 esac
24232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24233 (eval "$ac_compile") 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } && {
24240 test -z "$ac_c_werror_flag" ||
24241 test ! -s conftest.err
24242 } && test -s conftest.$ac_objext; then
24243 ac_cv_sys_large_files=1
24244 else
24245 echo "$as_me: failed program was:" >&5
24246 sed 's/^/| /' conftest.$ac_ext >&5
24247
24248 ac_cv_sys_large_files=no
24249 fi
24250
24251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24252
24253
24254 fi
24255 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24256 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24257
24258 if test "$ac_cv_sys_large_files" != no; then
24259 wx_largefile=yes
24260 cat >>confdefs.h <<_ACEOF
24261 #define _LARGE_FILES $ac_cv_sys_large_files
24262 _ACEOF
24263
24264 fi
24265
24266 fi
24267
24268 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24269 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24270 if test "x$wx_largefile" = "xyes"; then
24271 cat >>confdefs.h <<\_ACEOF
24272 #define HAVE_LARGEFILE_SUPPORT 1
24273 _ACEOF
24274
24275 fi
24276 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24277 echo "${ECHO_T}$wx_largefile" >&6; }
24278 fi
24279
24280 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24281 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24282 elif test "$ac_cv_sys_large_files" = 1; then
24283 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24284 fi
24285
24286 if test -n "$LARGEFILE_CPPFLAGS"; then
24287 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24288
24289 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24290 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24291 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24292 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24294 else
24295
24296 ac_ext=cpp
24297 ac_cpp='$CXXCPP $CPPFLAGS'
24298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24301
24302 cat >conftest.$ac_ext <<_ACEOF
24303 /* confdefs.h. */
24304 _ACEOF
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308
24309 int
24310 main ()
24311 {
24312
24313 #ifndef __STDC_EXT__
24314 choke me
24315 #endif
24316
24317 ;
24318 return 0;
24319 }
24320 _ACEOF
24321 rm -f conftest.$ac_objext
24322 if { (ac_try="$ac_compile"
24323 case "(($ac_try" in
24324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24325 *) ac_try_echo=$ac_try;;
24326 esac
24327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24328 (eval "$ac_compile") 2>conftest.er1
24329 ac_status=$?
24330 grep -v '^ *+' conftest.er1 >conftest.err
24331 rm -f conftest.er1
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } && {
24335 test -z "$ac_cxx_werror_flag" ||
24336 test ! -s conftest.err
24337 } && test -s conftest.$ac_objext; then
24338 wx_cv_STDC_EXT_required=no
24339 else
24340 echo "$as_me: failed program was:" >&5
24341 sed 's/^/| /' conftest.$ac_ext >&5
24342
24343 wx_cv_STDC_EXT_required=yes
24344
24345 fi
24346
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 ac_ext=c
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24353
24354
24355
24356 fi
24357 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24358 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24359 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24360 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24361 fi
24362 fi
24363 fi
24364
24365 ac_ext=cpp
24366 ac_cpp='$CXXCPP $CPPFLAGS'
24367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24370
24371 old_CPPFLAGS="$CPPFLAGS"
24372 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24373 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24374 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24375 if test "${ac_cv_sys_largefile_source+set}" = set; then
24376 echo $ECHO_N "(cached) $ECHO_C" >&6
24377 else
24378 while :; do
24379 cat >conftest.$ac_ext <<_ACEOF
24380 /* confdefs.h. */
24381 _ACEOF
24382 cat confdefs.h >>conftest.$ac_ext
24383 cat >>conftest.$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24385 #include <sys/types.h> /* for off_t */
24386 #include <stdio.h>
24387 int
24388 main ()
24389 {
24390 int (*fp) (FILE *, off_t, int) = fseeko;
24391 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24392 ;
24393 return 0;
24394 }
24395 _ACEOF
24396 rm -f conftest.$ac_objext conftest$ac_exeext
24397 if { (ac_try="$ac_link"
24398 case "(($ac_try" in
24399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24400 *) ac_try_echo=$ac_try;;
24401 esac
24402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24403 (eval "$ac_link") 2>conftest.er1
24404 ac_status=$?
24405 grep -v '^ *+' conftest.er1 >conftest.err
24406 rm -f conftest.er1
24407 cat conftest.err >&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } && {
24410 test -z "$ac_cxx_werror_flag" ||
24411 test ! -s conftest.err
24412 } && test -s conftest$ac_exeext &&
24413 $as_test_x conftest$ac_exeext; then
24414 ac_cv_sys_largefile_source=no; break
24415 else
24416 echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24418
24419
24420 fi
24421
24422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24423 conftest$ac_exeext conftest.$ac_ext
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h. */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #define _LARGEFILE_SOURCE 1
24431 #include <sys/types.h> /* for off_t */
24432 #include <stdio.h>
24433 int
24434 main ()
24435 {
24436 int (*fp) (FILE *, off_t, int) = fseeko;
24437 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24438 ;
24439 return 0;
24440 }
24441 _ACEOF
24442 rm -f conftest.$ac_objext conftest$ac_exeext
24443 if { (ac_try="$ac_link"
24444 case "(($ac_try" in
24445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24446 *) ac_try_echo=$ac_try;;
24447 esac
24448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24449 (eval "$ac_link") 2>conftest.er1
24450 ac_status=$?
24451 grep -v '^ *+' conftest.er1 >conftest.err
24452 rm -f conftest.er1
24453 cat conftest.err >&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } && {
24456 test -z "$ac_cxx_werror_flag" ||
24457 test ! -s conftest.err
24458 } && test -s conftest$ac_exeext &&
24459 $as_test_x conftest$ac_exeext; then
24460 ac_cv_sys_largefile_source=1; break
24461 else
24462 echo "$as_me: failed program was:" >&5
24463 sed 's/^/| /' conftest.$ac_ext >&5
24464
24465
24466 fi
24467
24468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24469 conftest$ac_exeext conftest.$ac_ext
24470 ac_cv_sys_largefile_source=unknown
24471 break
24472 done
24473 fi
24474 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24475 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24476 case $ac_cv_sys_largefile_source in #(
24477 no | unknown) ;;
24478 *)
24479 cat >>confdefs.h <<_ACEOF
24480 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24481 _ACEOF
24482 ;;
24483 esac
24484 rm -f conftest*
24485
24486 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24487 # in glibc 2.1.3, but that breaks too many other things.
24488 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24489 if test $ac_cv_sys_largefile_source != unknown; then
24490
24491 cat >>confdefs.h <<\_ACEOF
24492 #define HAVE_FSEEKO 1
24493 _ACEOF
24494
24495 fi
24496
24497 CPPFLAGS="$old_CPPFLAGS"
24498 ac_ext=c
24499 ac_cpp='$CPP $CPPFLAGS'
24500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24503
24504 if test "$ac_cv_sys_largefile_source" != no; then
24505 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24506 fi
24507
24508 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24509 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24510 if test "${ac_cv_c_bigendian+set}" = set; then
24511 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 else
24513 ac_cv_c_bigendian=unknown
24514 # See if sys/param.h defines the BYTE_ORDER macro.
24515 cat >conftest.$ac_ext <<_ACEOF
24516 /* confdefs.h. */
24517 _ACEOF
24518 cat confdefs.h >>conftest.$ac_ext
24519 cat >>conftest.$ac_ext <<_ACEOF
24520 /* end confdefs.h. */
24521 #include <sys/types.h>
24522 #include <sys/param.h>
24523 int
24524 main ()
24525 {
24526
24527 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24528 bogus endian macros
24529 #endif
24530 ;
24531 return 0;
24532 }
24533 _ACEOF
24534 rm -f conftest.$ac_objext
24535 if { (ac_try="$ac_compile"
24536 case "(($ac_try" in
24537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24538 *) ac_try_echo=$ac_try;;
24539 esac
24540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24541 (eval "$ac_compile") 2>conftest.er1
24542 ac_status=$?
24543 grep -v '^ *+' conftest.er1 >conftest.err
24544 rm -f conftest.er1
24545 cat conftest.err >&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } && {
24548 test -z "$ac_c_werror_flag" ||
24549 test ! -s conftest.err
24550 } && test -s conftest.$ac_objext; then
24551 # It does; now see whether it defined to BIG_ENDIAN or not.
24552 cat >conftest.$ac_ext <<_ACEOF
24553 /* confdefs.h. */
24554 _ACEOF
24555 cat confdefs.h >>conftest.$ac_ext
24556 cat >>conftest.$ac_ext <<_ACEOF
24557 /* end confdefs.h. */
24558 #include <sys/types.h>
24559 #include <sys/param.h>
24560 int
24561 main ()
24562 {
24563
24564 #if BYTE_ORDER != BIG_ENDIAN
24565 not big endian
24566 #endif
24567 ;
24568 return 0;
24569 }
24570 _ACEOF
24571 rm -f conftest.$ac_objext
24572 if { (ac_try="$ac_compile"
24573 case "(($ac_try" in
24574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24575 *) ac_try_echo=$ac_try;;
24576 esac
24577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24578 (eval "$ac_compile") 2>conftest.er1
24579 ac_status=$?
24580 grep -v '^ *+' conftest.er1 >conftest.err
24581 rm -f conftest.er1
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } && {
24585 test -z "$ac_c_werror_flag" ||
24586 test ! -s conftest.err
24587 } && test -s conftest.$ac_objext; then
24588 ac_cv_c_bigendian=yes
24589 else
24590 echo "$as_me: failed program was:" >&5
24591 sed 's/^/| /' conftest.$ac_ext >&5
24592
24593 ac_cv_c_bigendian=no
24594 fi
24595
24596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24597 else
24598 echo "$as_me: failed program was:" >&5
24599 sed 's/^/| /' conftest.$ac_ext >&5
24600
24601
24602 fi
24603
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 if test $ac_cv_c_bigendian = unknown; then
24606 if test "$cross_compiling" = yes; then
24607 ac_cv_c_bigendian=unknown
24608 else
24609 cat >conftest.$ac_ext <<_ACEOF
24610 /* confdefs.h. */
24611 _ACEOF
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24615 main () {
24616 /* Are we little or big endian? From Harbison&Steele. */
24617 union
24618 {
24619 long l;
24620 char c[sizeof (long)];
24621 } u;
24622 u.l = 1;
24623 exit (u.c[sizeof (long) - 1] == 1);
24624 }
24625 _ACEOF
24626 rm -f conftest$ac_exeext
24627 if { (ac_try="$ac_link"
24628 case "(($ac_try" in
24629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24630 *) ac_try_echo=$ac_try;;
24631 esac
24632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24633 (eval "$ac_link") 2>&5
24634 ac_status=$?
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24637 { (case "(($ac_try" in
24638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639 *) ac_try_echo=$ac_try;;
24640 esac
24641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642 (eval "$ac_try") 2>&5
24643 ac_status=$?
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; }; then
24646 ac_cv_c_bigendian=no
24647 else
24648 echo "$as_me: program exited with status $ac_status" >&5
24649 echo "$as_me: failed program was:" >&5
24650 sed 's/^/| /' conftest.$ac_ext >&5
24651
24652 ( exit $ac_status )
24653 ac_cv_c_bigendian=yes
24654 fi
24655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24656 fi
24657
24658
24659 fi
24660 fi
24661 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24662 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24663 if test $ac_cv_c_bigendian = unknown; then
24664 { 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
24665 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;}
24666 fi
24667 if test $ac_cv_c_bigendian = yes; then
24668 cat >>confdefs.h <<\_ACEOF
24669 #define WORDS_BIGENDIAN 1
24670 _ACEOF
24671
24672 fi
24673
24674
24675
24676
24677 ac_ext=cpp
24678 ac_cpp='$CXXCPP $CPPFLAGS'
24679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24682
24683
24684
24685 for ac_header in iostream
24686 do
24687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24691 echo $ECHO_N "(cached) $ECHO_C" >&6
24692 else
24693 cat >conftest.$ac_ext <<_ACEOF
24694 /* confdefs.h. */
24695 _ACEOF
24696 cat confdefs.h >>conftest.$ac_ext
24697 cat >>conftest.$ac_ext <<_ACEOF
24698 /* end confdefs.h. */
24699
24700
24701 #include <$ac_header>
24702 _ACEOF
24703 rm -f conftest.$ac_objext
24704 if { (ac_try="$ac_compile"
24705 case "(($ac_try" in
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24707 *) ac_try_echo=$ac_try;;
24708 esac
24709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24710 (eval "$ac_compile") 2>conftest.er1
24711 ac_status=$?
24712 grep -v '^ *+' conftest.er1 >conftest.err
24713 rm -f conftest.er1
24714 cat conftest.err >&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); } && {
24717 test -z "$ac_cxx_werror_flag" ||
24718 test ! -s conftest.err
24719 } && test -s conftest.$ac_objext; then
24720 eval "$as_ac_Header=yes"
24721 else
24722 echo "$as_me: failed program was:" >&5
24723 sed 's/^/| /' conftest.$ac_ext >&5
24724
24725 eval "$as_ac_Header=no"
24726 fi
24727
24728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24729 fi
24730 ac_res=`eval echo '${'$as_ac_Header'}'`
24731 { echo "$as_me:$LINENO: result: $ac_res" >&5
24732 echo "${ECHO_T}$ac_res" >&6; }
24733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24734 cat >>confdefs.h <<_ACEOF
24735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24736 _ACEOF
24737
24738 fi
24739
24740 done
24741
24742
24743 if test "$ac_cv_header_iostream" = "yes" ; then
24744 :
24745 else
24746 cat >>confdefs.h <<\_ACEOF
24747 #define wxUSE_IOSTREAMH 1
24748 _ACEOF
24749
24750 fi
24751
24752 ac_ext=c
24753 ac_cpp='$CPP $CPPFLAGS'
24754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757
24758
24759
24760
24761 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24762 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24763 if test "${wx_cv_explicit+set}" = set; then
24764 echo $ECHO_N "(cached) $ECHO_C" >&6
24765 else
24766
24767
24768 ac_ext=cpp
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773
24774
24775 cat >conftest.$ac_ext <<_ACEOF
24776 /* confdefs.h. */
24777 _ACEOF
24778 cat confdefs.h >>conftest.$ac_ext
24779 cat >>conftest.$ac_ext <<_ACEOF
24780 /* end confdefs.h. */
24781
24782 class Foo { public: explicit Foo(int) {} };
24783
24784 int
24785 main ()
24786 {
24787
24788 return 0;
24789
24790 ;
24791 return 0;
24792 }
24793 _ACEOF
24794 rm -f conftest.$ac_objext
24795 if { (ac_try="$ac_compile"
24796 case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24799 esac
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_compile") 2>conftest.er1
24802 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_cxx_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest.$ac_objext; then
24811
24812 cat >conftest.$ac_ext <<_ACEOF
24813 /* confdefs.h. */
24814 _ACEOF
24815 cat confdefs.h >>conftest.$ac_ext
24816 cat >>conftest.$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24818
24819 class Foo { public: explicit Foo(int) {} };
24820 static void TakeFoo(const Foo& foo) { }
24821
24822 int
24823 main ()
24824 {
24825
24826 TakeFoo(17);
24827 return 0;
24828
24829 ;
24830 return 0;
24831 }
24832 _ACEOF
24833 rm -f conftest.$ac_objext
24834 if { (ac_try="$ac_compile"
24835 case "(($ac_try" in
24836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24837 *) ac_try_echo=$ac_try;;
24838 esac
24839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24840 (eval "$ac_compile") 2>conftest.er1
24841 ac_status=$?
24842 grep -v '^ *+' conftest.er1 >conftest.err
24843 rm -f conftest.er1
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } && {
24847 test -z "$ac_cxx_werror_flag" ||
24848 test ! -s conftest.err
24849 } && test -s conftest.$ac_objext; then
24850 wx_cv_explicit=no
24851 else
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24854
24855 wx_cv_explicit=yes
24856
24857 fi
24858
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24860
24861 else
24862 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.$ac_ext >&5
24864
24865 wx_cv_explicit=no
24866
24867 fi
24868
24869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24870
24871 ac_ext=c
24872 ac_cpp='$CPP $CPPFLAGS'
24873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24876
24877
24878 fi
24879 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24880 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24881
24882 if test "$wx_cv_explicit" = "yes"; then
24883 cat >>confdefs.h <<\_ACEOF
24884 #define HAVE_EXPLICIT 1
24885 _ACEOF
24886
24887 fi
24888
24889
24890 if test "x$SUNCXX" = xyes; then
24891 CXXFLAGS="-features=tmplife $CXXFLAGS"
24892 fi
24893
24894 if test "x$SUNCC" = xyes; then
24895 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24896 fi
24897
24898 if test "x$SGICC" = "xyes"; then
24899 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24900 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24901 if test "${wx_cv_prog_sgicc744+set}" = set; then
24902 echo $ECHO_N "(cached) $ECHO_C" >&6
24903 else
24904
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911
24912 int
24913 main ()
24914 {
24915
24916 #if _SGI_COMPILER_VERSION >= 744
24917 chock me: mipsPro is 7.4.4 or later
24918 #endif
24919
24920 ;
24921 return 0;
24922 }
24923 _ACEOF
24924 rm -f conftest.$ac_objext
24925 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;;
24929 esac
24930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 (eval "$ac_compile") 2>conftest.er1
24932 ac_status=$?
24933 grep -v '^ *+' conftest.er1 >conftest.err
24934 rm -f conftest.er1
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } && {
24938 test -z "$ac_c_werror_flag" ||
24939 test ! -s conftest.err
24940 } && test -s conftest.$ac_objext; then
24941 wx_cv_prog_sgicc744=no
24942 else
24943 echo "$as_me: failed program was:" >&5
24944 sed 's/^/| /' conftest.$ac_ext >&5
24945
24946 wx_cv_prog_sgicc744=yes
24947
24948 fi
24949
24950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24951
24952
24953 fi
24954 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24955 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24956
24957 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24958 CFLAGS="-woff 3970 $CFLAGS"
24959 fi
24960 fi
24961 if test "x$SGICXX" = "xyes"; then
24962 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24963 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24964 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24965 echo $ECHO_N "(cached) $ECHO_C" >&6
24966 else
24967
24968 ac_ext=cpp
24969 ac_cpp='$CXXCPP $CPPFLAGS'
24970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980
24981 int
24982 main ()
24983 {
24984
24985 #if _SGI_COMPILER_VERSION >= 744
24986 chock me: mipsPro is 7.4.4 or later
24987 #endif
24988
24989 ;
24990 return 0;
24991 }
24992 _ACEOF
24993 rm -f conftest.$ac_objext
24994 if { (ac_try="$ac_compile"
24995 case "(($ac_try" in
24996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24997 *) ac_try_echo=$ac_try;;
24998 esac
24999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25000 (eval "$ac_compile") 2>conftest.er1
25001 ac_status=$?
25002 grep -v '^ *+' conftest.er1 >conftest.err
25003 rm -f conftest.er1
25004 cat conftest.err >&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } && {
25007 test -z "$ac_cxx_werror_flag" ||
25008 test ! -s conftest.err
25009 } && test -s conftest.$ac_objext; then
25010 wx_cv_prog_sgicxx744=no
25011 else
25012 echo "$as_me: failed program was:" >&5
25013 sed 's/^/| /' conftest.$ac_ext >&5
25014
25015 wx_cv_prog_sgicxx744=yes
25016
25017 fi
25018
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020 ac_ext=c
25021 ac_cpp='$CPP $CPPFLAGS'
25022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25025
25026
25027
25028 fi
25029 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25030 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25031
25032 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25033 CXXFLAGS="-woff 3970 $CXXFLAGS"
25034 fi
25035 fi
25036
25037 if test "x$HPCC" = "xyes"; then
25038 CFLAGS="+W 2011,2450 $CFLAGS"
25039 fi
25040 if test "x$HPCXX" = "xyes"; then
25041 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25042 fi
25043
25044 if test "x$COMPAQCXX" = "xyes"; then
25045 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25046 fi
25047
25048 ac_ext=cpp
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25053
25054
25055 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25056 if test "$wxUSE_UNICODE" = "yes"; then
25057 std_string="std::wstring"
25058 char_type="wchar_t"
25059 else
25060 std_string="std::string"
25061 char_type="char"
25062 fi
25063
25064 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25065 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25066 if test "${wx_cv_class_stdstring+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069
25070 cat >conftest.$ac_ext <<_ACEOF
25071 /* confdefs.h. */
25072 _ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076 #include <string>
25077 int
25078 main ()
25079 {
25080 $std_string foo;
25081 ;
25082 return 0;
25083 }
25084 _ACEOF
25085 rm -f conftest.$ac_objext
25086 if { (ac_try="$ac_compile"
25087 case "(($ac_try" in
25088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25089 *) ac_try_echo=$ac_try;;
25090 esac
25091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25092 (eval "$ac_compile") 2>conftest.er1
25093 ac_status=$?
25094 grep -v '^ *+' conftest.er1 >conftest.err
25095 rm -f conftest.er1
25096 cat conftest.err >&5
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); } && {
25099 test -z "$ac_cxx_werror_flag" ||
25100 test ! -s conftest.err
25101 } && test -s conftest.$ac_objext; then
25102 wx_cv_class_stdstring=yes
25103 else
25104 echo "$as_me: failed program was:" >&5
25105 sed 's/^/| /' conftest.$ac_ext >&5
25106
25107 wx_cv_class_stdstring=no
25108
25109 fi
25110
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112
25113
25114 fi
25115 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25116 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25117
25118 if test "$wx_cv_class_stdstring" = yes; then
25119 if test "$wxUSE_UNICODE" = "yes"; then
25120 cat >>confdefs.h <<\_ACEOF
25121 #define HAVE_STD_WSTRING 1
25122 _ACEOF
25123
25124 fi
25125 else
25126 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25127 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25128 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25129 echo $ECHO_N "(cached) $ECHO_C" >&6
25130 else
25131
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138
25139 #ifdef HAVE_WCHAR_H
25140 # ifdef __CYGWIN__
25141 # include <stddef.h>
25142 # endif
25143 # include <wchar.h>
25144 #endif
25145 #ifdef HAVE_STDLIB_H
25146 # include <stdlib.h>
25147 #endif
25148 #include <stdio.h>
25149 #include <string>
25150
25151 int
25152 main ()
25153 {
25154 std::basic_string<$char_type> foo;
25155 const $char_type* dummy = foo.c_str();
25156 ;
25157 return 0;
25158 }
25159 _ACEOF
25160 rm -f conftest.$ac_objext
25161 if { (ac_try="$ac_compile"
25162 case "(($ac_try" in
25163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25164 *) ac_try_echo=$ac_try;;
25165 esac
25166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25167 (eval "$ac_compile") 2>conftest.er1
25168 ac_status=$?
25169 grep -v '^ *+' conftest.er1 >conftest.err
25170 rm -f conftest.er1
25171 cat conftest.err >&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); } && {
25174 test -z "$ac_cxx_werror_flag" ||
25175 test ! -s conftest.err
25176 } && test -s conftest.$ac_objext; then
25177 wx_cv_class_stdbasicstring=yes
25178 else
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25181
25182 wx_cv_class_stdbasicstring=no
25183
25184 fi
25185
25186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25187
25188
25189 fi
25190 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25191 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25192
25193 if test "$wx_cv_class_stdbasicstring" != yes; then
25194 if test "$wxUSE_STL" = "yes"; then
25195 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25196 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25197 { (exit 1); exit 1; }; }
25198 elif test "$wxUSE_STD_STRING" = "yes"; then
25199 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25200 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25201 { (exit 1); exit 1; }; }
25202 else
25203 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25204 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25205 wxUSE_STD_STRING=no
25206 fi
25207 fi
25208 fi
25209 fi
25210
25211 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25212 { echo "$as_me:$LINENO: checking for std::istream" >&5
25213 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25214 if test "${ac_cv_type_std__istream+set}" = set; then
25215 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 else
25217 cat >conftest.$ac_ext <<_ACEOF
25218 /* confdefs.h. */
25219 _ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 #include <iostream>
25224
25225 typedef std::istream ac__type_new_;
25226 int
25227 main ()
25228 {
25229 if ((ac__type_new_ *) 0)
25230 return 0;
25231 if (sizeof (ac__type_new_))
25232 return 0;
25233 ;
25234 return 0;
25235 }
25236 _ACEOF
25237 rm -f conftest.$ac_objext
25238 if { (ac_try="$ac_compile"
25239 case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25241 *) ac_try_echo=$ac_try;;
25242 esac
25243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25244 (eval "$ac_compile") 2>conftest.er1
25245 ac_status=$?
25246 grep -v '^ *+' conftest.er1 >conftest.err
25247 rm -f conftest.er1
25248 cat conftest.err >&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && {
25251 test -z "$ac_cxx_werror_flag" ||
25252 test ! -s conftest.err
25253 } && test -s conftest.$ac_objext; then
25254 ac_cv_type_std__istream=yes
25255 else
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25258
25259 ac_cv_type_std__istream=no
25260 fi
25261
25262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25263 fi
25264 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25265 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25266 if test $ac_cv_type_std__istream = yes; then
25267
25268 cat >>confdefs.h <<_ACEOF
25269 #define HAVE_STD__ISTREAM 1
25270 _ACEOF
25271
25272
25273 else
25274 wxUSE_STD_IOSTREAM=no
25275 fi
25276 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25277 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25278 if test "${ac_cv_type_std__ostream+set}" = set; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 else
25281 cat >conftest.$ac_ext <<_ACEOF
25282 /* confdefs.h. */
25283 _ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 #include <iostream>
25288
25289 typedef std::ostream ac__type_new_;
25290 int
25291 main ()
25292 {
25293 if ((ac__type_new_ *) 0)
25294 return 0;
25295 if (sizeof (ac__type_new_))
25296 return 0;
25297 ;
25298 return 0;
25299 }
25300 _ACEOF
25301 rm -f conftest.$ac_objext
25302 if { (ac_try="$ac_compile"
25303 case "(($ac_try" in
25304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25305 *) ac_try_echo=$ac_try;;
25306 esac
25307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25308 (eval "$ac_compile") 2>conftest.er1
25309 ac_status=$?
25310 grep -v '^ *+' conftest.er1 >conftest.err
25311 rm -f conftest.er1
25312 cat conftest.err >&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } && {
25315 test -z "$ac_cxx_werror_flag" ||
25316 test ! -s conftest.err
25317 } && test -s conftest.$ac_objext; then
25318 ac_cv_type_std__ostream=yes
25319 else
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25322
25323 ac_cv_type_std__ostream=no
25324 fi
25325
25326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25327 fi
25328 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25329 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25330 if test $ac_cv_type_std__ostream = yes; then
25331
25332 cat >>confdefs.h <<_ACEOF
25333 #define HAVE_STD__OSTREAM 1
25334 _ACEOF
25335
25336
25337 else
25338 wxUSE_STD_IOSTREAM=no
25339 fi
25340
25341
25342 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25343 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25344 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25345 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25346 { (exit 1); exit 1; }; }
25347 else
25348 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25349 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25350 fi
25351 fi
25352 fi
25353
25354 if test "$wxUSE_STL" = "yes"; then
25355 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25356 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25357 if test "${wx_cv_lib_stl+set}" = set; then
25358 echo $ECHO_N "(cached) $ECHO_C" >&6
25359 else
25360 cat >conftest.$ac_ext <<_ACEOF
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366 #include <string>
25367 #include <functional>
25368 #include <algorithm>
25369 #include <vector>
25370 #include <list>
25371 int
25372 main ()
25373 {
25374 std::vector<int> moo;
25375 std::list<int> foo;
25376 std::vector<int>::iterator it =
25377 std::find_if(moo.begin(), moo.end(),
25378 std::bind2nd(std::less<int>(), 3));
25379 ;
25380 return 0;
25381 }
25382 _ACEOF
25383 rm -f conftest.$ac_objext
25384 if { (ac_try="$ac_compile"
25385 case "(($ac_try" in
25386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25387 *) ac_try_echo=$ac_try;;
25388 esac
25389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25390 (eval "$ac_compile") 2>conftest.er1
25391 ac_status=$?
25392 grep -v '^ *+' conftest.er1 >conftest.err
25393 rm -f conftest.er1
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } && {
25397 test -z "$ac_cxx_werror_flag" ||
25398 test ! -s conftest.err
25399 } && test -s conftest.$ac_objext; then
25400 wx_cv_lib_stl=yes
25401 else
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25404
25405 wx_cv_lib_stl=no
25406
25407 fi
25408
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410
25411 fi
25412 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25413 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25414
25415 if test "$wx_cv_lib_stl" != yes; then
25416 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25417 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25418 { (exit 1); exit 1; }; }
25419 fi
25420
25421 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25422 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25423 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25424 echo $ECHO_N "(cached) $ECHO_C" >&6
25425 else
25426 cat >conftest.$ac_ext <<_ACEOF
25427 /* confdefs.h. */
25428 _ACEOF
25429 cat confdefs.h >>conftest.$ac_ext
25430 cat >>conftest.$ac_ext <<_ACEOF
25431 /* end confdefs.h. */
25432 #include <string>
25433 int
25434 main ()
25435 {
25436 std::string foo, bar;
25437 foo.compare(bar);
25438 foo.compare(1, 1, bar);
25439 foo.compare(1, 1, bar, 1, 1);
25440 foo.compare("");
25441 foo.compare(1, 1, "");
25442 foo.compare(1, 1, "", 2);
25443 ;
25444 return 0;
25445 }
25446 _ACEOF
25447 rm -f conftest.$ac_objext
25448 if { (ac_try="$ac_compile"
25449 case "(($ac_try" in
25450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25451 *) ac_try_echo=$ac_try;;
25452 esac
25453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25454 (eval "$ac_compile") 2>conftest.er1
25455 ac_status=$?
25456 grep -v '^ *+' conftest.er1 >conftest.err
25457 rm -f conftest.er1
25458 cat conftest.err >&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); } && {
25461 test -z "$ac_cxx_werror_flag" ||
25462 test ! -s conftest.err
25463 } && test -s conftest.$ac_objext; then
25464 wx_cv_func_stdstring_compare=yes
25465 else
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25468
25469 wx_cv_func_stdstring_compare=no
25470
25471 fi
25472
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474
25475 fi
25476 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25477 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25478
25479 if test "$wx_cv_func_stdstring_compare" = yes; then
25480 cat >>confdefs.h <<\_ACEOF
25481 #define HAVE_STD_STRING_COMPARE 1
25482 _ACEOF
25483
25484 fi
25485
25486 if test "$wx_cv_class_gnuhashmapset" = yes; then
25487 cat >>confdefs.h <<\_ACEOF
25488 #define HAVE_EXT_HASH_MAP 1
25489 _ACEOF
25490
25491 cat >>confdefs.h <<\_ACEOF
25492 #define HAVE_GNU_CXX_HASH_MAP 1
25493 _ACEOF
25494
25495 fi
25496
25497 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25498 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25499 if test "${ac_cv_header_unordered_map+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 else
25502 cat >conftest.$ac_ext <<_ACEOF
25503 /* confdefs.h. */
25504 _ACEOF
25505 cat confdefs.h >>conftest.$ac_ext
25506 cat >>conftest.$ac_ext <<_ACEOF
25507 /* end confdefs.h. */
25508
25509
25510
25511 #include <unordered_map>
25512 _ACEOF
25513 rm -f conftest.$ac_objext
25514 if { (ac_try="$ac_compile"
25515 case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25518 esac
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_compile") 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_cxx_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest.$ac_objext; then
25530 ac_cv_header_unordered_map=yes
25531 else
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25534
25535 ac_cv_header_unordered_map=no
25536 fi
25537
25538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25539 fi
25540 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25541 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25542 if test $ac_cv_header_unordered_map = yes; then
25543 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25544 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25545 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 else
25548 cat >conftest.$ac_ext <<_ACEOF
25549 /* confdefs.h. */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25554 #include <unordered_map>
25555 #include <unordered_set>
25556 int
25557 main ()
25558 {
25559 std::unordered_map<double*, char*> test1;
25560 std::unordered_set<char*> test2;
25561 ;
25562 return 0;
25563 }
25564 _ACEOF
25565 rm -f conftest.$ac_objext
25566 if { (ac_try="$ac_compile"
25567 case "(($ac_try" in
25568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25569 *) ac_try_echo=$ac_try;;
25570 esac
25571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25572 (eval "$ac_compile") 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } && {
25579 test -z "$ac_cxx_werror_flag" ||
25580 test ! -s conftest.err
25581 } && test -s conftest.$ac_objext; then
25582 wx_cv_class_stdunorderedmapset=yes
25583 else
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.$ac_ext >&5
25586
25587 wx_cv_class_stdunorderedmapset=no
25588 fi
25589
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25591
25592
25593 fi
25594 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25595 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25596 fi
25597
25598
25599
25600 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25601 cat >>confdefs.h <<\_ACEOF
25602 #define HAVE_STD_UNORDERED_MAP 1
25603 _ACEOF
25604
25605 cat >>confdefs.h <<\_ACEOF
25606 #define HAVE_STD_UNORDERED_SET 1
25607 _ACEOF
25608
25609 else
25610 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25611 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25612 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25614 else
25615 cat >conftest.$ac_ext <<_ACEOF
25616 /* confdefs.h. */
25617 _ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25621
25622
25623
25624 #include <tr1/unordered_map>
25625 _ACEOF
25626 rm -f conftest.$ac_objext
25627 if { (ac_try="$ac_compile"
25628 case "(($ac_try" in
25629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25630 *) ac_try_echo=$ac_try;;
25631 esac
25632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25633 (eval "$ac_compile") 2>conftest.er1
25634 ac_status=$?
25635 grep -v '^ *+' conftest.er1 >conftest.err
25636 rm -f conftest.er1
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } && {
25640 test -z "$ac_cxx_werror_flag" ||
25641 test ! -s conftest.err
25642 } && test -s conftest.$ac_objext; then
25643 ac_cv_header_tr1_unordered_map=yes
25644 else
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25647
25648 ac_cv_header_tr1_unordered_map=no
25649 fi
25650
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 fi
25653 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25654 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25655 if test $ac_cv_header_tr1_unordered_map = yes; then
25656 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25657 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25658 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25660 else
25661 cat >conftest.$ac_ext <<_ACEOF
25662 /* confdefs.h. */
25663 _ACEOF
25664 cat confdefs.h >>conftest.$ac_ext
25665 cat >>conftest.$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 #include <tr1/unordered_map>
25668 #include <tr1/unordered_set>
25669 int
25670 main ()
25671 {
25672 std::tr1::unordered_map<double*, char*> test1;
25673 std::tr1::unordered_set<char*> test2;
25674 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25675 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25676 #endif
25677 ;
25678 return 0;
25679 }
25680 _ACEOF
25681 rm -f conftest.$ac_objext
25682 if { (ac_try="$ac_compile"
25683 case "(($ac_try" in
25684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25685 *) ac_try_echo=$ac_try;;
25686 esac
25687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25688 (eval "$ac_compile") 2>conftest.er1
25689 ac_status=$?
25690 grep -v '^ *+' conftest.er1 >conftest.err
25691 rm -f conftest.er1
25692 cat conftest.err >&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } && {
25695 test -z "$ac_cxx_werror_flag" ||
25696 test ! -s conftest.err
25697 } && test -s conftest.$ac_objext; then
25698 wx_cv_class_tr1unorderedmapset=yes
25699 else
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.$ac_ext >&5
25702
25703 wx_cv_class_tr1unorderedmapset=no
25704 fi
25705
25706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25707
25708
25709 fi
25710 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25711 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25712 fi
25713
25714
25715
25716 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25717 cat >>confdefs.h <<\_ACEOF
25718 #define HAVE_TR1_UNORDERED_MAP 1
25719 _ACEOF
25720
25721 cat >>confdefs.h <<\_ACEOF
25722 #define HAVE_TR1_UNORDERED_SET 1
25723 _ACEOF
25724
25725 else
25726 { echo "$as_me:$LINENO: checking for hash_map" >&5
25727 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25728 if test "${ac_cv_header_hash_map+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 else
25731 cat >conftest.$ac_ext <<_ACEOF
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737
25738
25739
25740 #include <hash_map>
25741 _ACEOF
25742 rm -f conftest.$ac_objext
25743 if { (ac_try="$ac_compile"
25744 case "(($ac_try" in
25745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25746 *) ac_try_echo=$ac_try;;
25747 esac
25748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25749 (eval "$ac_compile") 2>conftest.er1
25750 ac_status=$?
25751 grep -v '^ *+' conftest.er1 >conftest.err
25752 rm -f conftest.er1
25753 cat conftest.err >&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); } && {
25756 test -z "$ac_cxx_werror_flag" ||
25757 test ! -s conftest.err
25758 } && test -s conftest.$ac_objext; then
25759 ac_cv_header_hash_map=yes
25760 else
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25763
25764 ac_cv_header_hash_map=no
25765 fi
25766
25767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25768 fi
25769 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25770 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25771 if test $ac_cv_header_hash_map = yes; then
25772 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25773 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25774 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25775 echo $ECHO_N "(cached) $ECHO_C" >&6
25776 else
25777 cat >conftest.$ac_ext <<_ACEOF
25778 /* confdefs.h. */
25779 _ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 #include <hash_map>
25784 #include <hash_set>
25785 int
25786 main ()
25787 {
25788 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25789 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25790 ;
25791 return 0;
25792 }
25793 _ACEOF
25794 rm -f conftest.$ac_objext
25795 if { (ac_try="$ac_compile"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25799 esac
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_compile") 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_cxx_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest.$ac_objext; then
25811 wx_cv_class_stdhashmapset=yes
25812 else
25813 echo "$as_me: failed program was:" >&5
25814 sed 's/^/| /' conftest.$ac_ext >&5
25815
25816 wx_cv_class_stdhashmapset=no
25817 fi
25818
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820
25821
25822 fi
25823 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25824 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25825 fi
25826
25827
25828
25829 if test "$wx_cv_class_stdhashmapset" = yes; then
25830 cat >>confdefs.h <<\_ACEOF
25831 #define HAVE_HASH_MAP 1
25832 _ACEOF
25833
25834 cat >>confdefs.h <<\_ACEOF
25835 #define HAVE_STD_HASH_MAP 1
25836 _ACEOF
25837
25838 fi
25839
25840 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25841 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25842 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25845 cat >conftest.$ac_ext <<_ACEOF
25846 /* confdefs.h. */
25847 _ACEOF
25848 cat confdefs.h >>conftest.$ac_ext
25849 cat >>conftest.$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25851
25852
25853
25854 #include <ext/hash_map>
25855 _ACEOF
25856 rm -f conftest.$ac_objext
25857 if { (ac_try="$ac_compile"
25858 case "(($ac_try" in
25859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25860 *) ac_try_echo=$ac_try;;
25861 esac
25862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25863 (eval "$ac_compile") 2>conftest.er1
25864 ac_status=$?
25865 grep -v '^ *+' conftest.er1 >conftest.err
25866 rm -f conftest.er1
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } && {
25870 test -z "$ac_cxx_werror_flag" ||
25871 test ! -s conftest.err
25872 } && test -s conftest.$ac_objext; then
25873 ac_cv_header_ext_hash_map=yes
25874 else
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25877
25878 ac_cv_header_ext_hash_map=no
25879 fi
25880
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25882 fi
25883 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25884 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25885 if test $ac_cv_header_ext_hash_map = yes; then
25886 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25887 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25888 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25889 echo $ECHO_N "(cached) $ECHO_C" >&6
25890 else
25891 cat >conftest.$ac_ext <<_ACEOF
25892 /* confdefs.h. */
25893 _ACEOF
25894 cat confdefs.h >>conftest.$ac_ext
25895 cat >>conftest.$ac_ext <<_ACEOF
25896 /* end confdefs.h. */
25897 #include <ext/hash_map>
25898 #include <ext/hash_set>
25899 int
25900 main ()
25901 {
25902 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25903 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25904 ;
25905 return 0;
25906 }
25907 _ACEOF
25908 rm -f conftest.$ac_objext
25909 if { (ac_try="$ac_compile"
25910 case "(($ac_try" in
25911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25912 *) ac_try_echo=$ac_try;;
25913 esac
25914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25915 (eval "$ac_compile") 2>conftest.er1
25916 ac_status=$?
25917 grep -v '^ *+' conftest.er1 >conftest.err
25918 rm -f conftest.er1
25919 cat conftest.err >&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); } && {
25922 test -z "$ac_cxx_werror_flag" ||
25923 test ! -s conftest.err
25924 } && test -s conftest.$ac_objext; then
25925 wx_cv_class_gnuhashmapset=yes
25926 else
25927 echo "$as_me: failed program was:" >&5
25928 sed 's/^/| /' conftest.$ac_ext >&5
25929
25930 wx_cv_class_gnuhashmapset=no
25931 fi
25932
25933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25934
25935
25936 fi
25937 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25938 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25939 fi
25940
25941
25942
25943 fi
25944 fi
25945 fi
25946
25947 ac_ext=cpp
25948 ac_cpp='$CXXCPP $CPPFLAGS'
25949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25953 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25954 if test -z "$CXXCPP"; then
25955 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25957 else
25958 # Double quotes because CXXCPP needs to be expanded
25959 for CXXCPP in "$CXX -E" "/lib/cpp"
25960 do
25961 ac_preproc_ok=false
25962 for ac_cxx_preproc_warn_flag in '' yes
25963 do
25964 # Use a header file that comes with gcc, so configuring glibc
25965 # with a fresh cross-compiler works.
25966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25967 # <limits.h> exists even on freestanding compilers.
25968 # On the NeXT, cc -E runs the code through the compiler's parser,
25969 # not just through cpp. "Syntax error" is here to catch this case.
25970 cat >conftest.$ac_ext <<_ACEOF
25971 /* confdefs.h. */
25972 _ACEOF
25973 cat confdefs.h >>conftest.$ac_ext
25974 cat >>conftest.$ac_ext <<_ACEOF
25975 /* end confdefs.h. */
25976 #ifdef __STDC__
25977 # include <limits.h>
25978 #else
25979 # include <assert.h>
25980 #endif
25981 Syntax error
25982 _ACEOF
25983 if { (ac_try="$ac_cpp conftest.$ac_ext"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25987 esac
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25990 ac_status=$?
25991 grep -v '^ *+' conftest.er1 >conftest.err
25992 rm -f conftest.er1
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } >/dev/null && {
25996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25997 test ! -s conftest.err
25998 }; then
25999 :
26000 else
26001 echo "$as_me: failed program was:" >&5
26002 sed 's/^/| /' conftest.$ac_ext >&5
26003
26004 # Broken: fails on valid input.
26005 continue
26006 fi
26007
26008 rm -f conftest.err conftest.$ac_ext
26009
26010 # OK, works on sane cases. Now check whether nonexistent headers
26011 # can be detected and how.
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 #include <ac_nonexistent.h>
26019 _ACEOF
26020 if { (ac_try="$ac_cpp conftest.$ac_ext"
26021 case "(($ac_try" in
26022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26023 *) ac_try_echo=$ac_try;;
26024 esac
26025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26027 ac_status=$?
26028 grep -v '^ *+' conftest.er1 >conftest.err
26029 rm -f conftest.er1
26030 cat conftest.err >&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); } >/dev/null && {
26033 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26034 test ! -s conftest.err
26035 }; then
26036 # Broken: success on invalid input.
26037 continue
26038 else
26039 echo "$as_me: failed program was:" >&5
26040 sed 's/^/| /' conftest.$ac_ext >&5
26041
26042 # Passes both tests.
26043 ac_preproc_ok=:
26044 break
26045 fi
26046
26047 rm -f conftest.err conftest.$ac_ext
26048
26049 done
26050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26051 rm -f conftest.err conftest.$ac_ext
26052 if $ac_preproc_ok; then
26053 break
26054 fi
26055
26056 done
26057 ac_cv_prog_CXXCPP=$CXXCPP
26058
26059 fi
26060 CXXCPP=$ac_cv_prog_CXXCPP
26061 else
26062 ac_cv_prog_CXXCPP=$CXXCPP
26063 fi
26064 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26065 echo "${ECHO_T}$CXXCPP" >&6; }
26066 ac_preproc_ok=false
26067 for ac_cxx_preproc_warn_flag in '' yes
26068 do
26069 # Use a header file that comes with gcc, so configuring glibc
26070 # with a fresh cross-compiler works.
26071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26072 # <limits.h> exists even on freestanding compilers.
26073 # On the NeXT, cc -E runs the code through the compiler's parser,
26074 # not just through cpp. "Syntax error" is here to catch this case.
26075 cat >conftest.$ac_ext <<_ACEOF
26076 /* confdefs.h. */
26077 _ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26081 #ifdef __STDC__
26082 # include <limits.h>
26083 #else
26084 # include <assert.h>
26085 #endif
26086 Syntax error
26087 _ACEOF
26088 if { (ac_try="$ac_cpp conftest.$ac_ext"
26089 case "(($ac_try" in
26090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26091 *) ac_try_echo=$ac_try;;
26092 esac
26093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26095 ac_status=$?
26096 grep -v '^ *+' conftest.er1 >conftest.err
26097 rm -f conftest.er1
26098 cat conftest.err >&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } >/dev/null && {
26101 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26102 test ! -s conftest.err
26103 }; then
26104 :
26105 else
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.$ac_ext >&5
26108
26109 # Broken: fails on valid input.
26110 continue
26111 fi
26112
26113 rm -f conftest.err conftest.$ac_ext
26114
26115 # OK, works on sane cases. Now check whether nonexistent headers
26116 # can be detected and how.
26117 cat >conftest.$ac_ext <<_ACEOF
26118 /* confdefs.h. */
26119 _ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26123 #include <ac_nonexistent.h>
26124 _ACEOF
26125 if { (ac_try="$ac_cpp conftest.$ac_ext"
26126 case "(($ac_try" in
26127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26128 *) ac_try_echo=$ac_try;;
26129 esac
26130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } >/dev/null && {
26138 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26139 test ! -s conftest.err
26140 }; then
26141 # Broken: success on invalid input.
26142 continue
26143 else
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26146
26147 # Passes both tests.
26148 ac_preproc_ok=:
26149 break
26150 fi
26151
26152 rm -f conftest.err conftest.$ac_ext
26153
26154 done
26155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26156 rm -f conftest.err conftest.$ac_ext
26157 if $ac_preproc_ok; then
26158 :
26159 else
26160 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26161 See \`config.log' for more details." >&5
26162 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26163 See \`config.log' for more details." >&2;}
26164 { (exit 1); exit 1; }; }
26165 fi
26166
26167 ac_ext=cpp
26168 ac_cpp='$CXXCPP $CPPFLAGS'
26169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26172
26173
26174
26175
26176 for ac_header in type_traits tr1/type_traits
26177 do
26178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26184 fi
26185 ac_res=`eval echo '${'$as_ac_Header'}'`
26186 { echo "$as_me:$LINENO: result: $ac_res" >&5
26187 echo "${ECHO_T}$ac_res" >&6; }
26188 else
26189 # Is the header compilable?
26190 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26192 cat >conftest.$ac_ext <<_ACEOF
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198 $ac_includes_default
26199 #include <$ac_header>
26200 _ACEOF
26201 rm -f conftest.$ac_objext
26202 if { (ac_try="$ac_compile"
26203 case "(($ac_try" in
26204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205 *) ac_try_echo=$ac_try;;
26206 esac
26207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208 (eval "$ac_compile") 2>conftest.er1
26209 ac_status=$?
26210 grep -v '^ *+' conftest.er1 >conftest.err
26211 rm -f conftest.er1
26212 cat conftest.err >&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } && {
26215 test -z "$ac_cxx_werror_flag" ||
26216 test ! -s conftest.err
26217 } && test -s conftest.$ac_objext; then
26218 ac_header_compiler=yes
26219 else
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 ac_header_compiler=no
26224 fi
26225
26226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26227 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26228 echo "${ECHO_T}$ac_header_compiler" >&6; }
26229
26230 # Is the header present?
26231 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26233 cat >conftest.$ac_ext <<_ACEOF
26234 /* confdefs.h. */
26235 _ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239 #include <$ac_header>
26240 _ACEOF
26241 if { (ac_try="$ac_cpp conftest.$ac_ext"
26242 case "(($ac_try" in
26243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26244 *) ac_try_echo=$ac_try;;
26245 esac
26246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26248 ac_status=$?
26249 grep -v '^ *+' conftest.er1 >conftest.err
26250 rm -f conftest.er1
26251 cat conftest.err >&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } >/dev/null && {
26254 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26255 test ! -s conftest.err
26256 }; then
26257 ac_header_preproc=yes
26258 else
26259 echo "$as_me: failed program was:" >&5
26260 sed 's/^/| /' conftest.$ac_ext >&5
26261
26262 ac_header_preproc=no
26263 fi
26264
26265 rm -f conftest.err conftest.$ac_ext
26266 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26267 echo "${ECHO_T}$ac_header_preproc" >&6; }
26268
26269 # So? What about this header?
26270 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26271 yes:no: )
26272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26276 ac_header_preproc=yes
26277 ;;
26278 no:yes:* )
26279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26291 ( cat <<\_ASBOX
26292 ## ----------------------------------------- ##
26293 ## Report this to wx-dev@lists.wxwidgets.org ##
26294 ## ----------------------------------------- ##
26295 _ASBOX
26296 ) | sed "s/^/$as_me: WARNING: /" >&2
26297 ;;
26298 esac
26299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26302 echo $ECHO_N "(cached) $ECHO_C" >&6
26303 else
26304 eval "$as_ac_Header=\$ac_header_preproc"
26305 fi
26306 ac_res=`eval echo '${'$as_ac_Header'}'`
26307 { echo "$as_me:$LINENO: result: $ac_res" >&5
26308 echo "${ECHO_T}$ac_res" >&6; }
26309
26310 fi
26311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26312 cat >>confdefs.h <<_ACEOF
26313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26314 _ACEOF
26315
26316 fi
26317
26318 done
26319
26320
26321
26322
26323 if test -n "$GCC"; then
26324 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26325 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26326 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26328 else
26329
26330 cat >conftest.$ac_ext <<_ACEOF
26331 /* confdefs.h. */
26332 _ACEOF
26333 cat confdefs.h >>conftest.$ac_ext
26334 cat >>conftest.$ac_ext <<_ACEOF
26335 /* end confdefs.h. */
26336
26337 int
26338 main ()
26339 {
26340
26341 unsigned int value=0;
26342 /* wxAtomicInc doesn't use return value here */
26343 __sync_fetch_and_add(&value, 2);
26344 __sync_sub_and_fetch(&value, 1);
26345 /* but wxAtomicDec does, so mimic that: */
26346 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26347
26348 ;
26349 return 0;
26350 }
26351 _ACEOF
26352 rm -f conftest.$ac_objext conftest$ac_exeext
26353 if { (ac_try="$ac_link"
26354 case "(($ac_try" in
26355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26356 *) ac_try_echo=$ac_try;;
26357 esac
26358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26359 (eval "$ac_link") 2>conftest.er1
26360 ac_status=$?
26361 grep -v '^ *+' conftest.er1 >conftest.err
26362 rm -f conftest.er1
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } && {
26366 test -z "$ac_cxx_werror_flag" ||
26367 test ! -s conftest.err
26368 } && test -s conftest$ac_exeext &&
26369 $as_test_x conftest$ac_exeext; then
26370 wx_cv_cc_gcc_atomic_builtins=yes
26371 else
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26374
26375 wx_cv_cc_gcc_atomic_builtins=no
26376 fi
26377
26378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26379 conftest$ac_exeext conftest.$ac_ext
26380
26381 fi
26382
26383 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26384 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26385 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26386 cat >>confdefs.h <<\_ACEOF
26387 #define HAVE_GCC_ATOMIC_BUILTINS 1
26388 _ACEOF
26389
26390 fi
26391 fi
26392
26393
26394 ac_ext=c
26395 ac_cpp='$CPP $CPPFLAGS'
26396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26399
26400
26401
26402 SEARCH_INCLUDE="\
26403 /usr/local/include \
26404 /usr/local/X11/include \
26405 /usr/local/include/X11 \
26406 /usr/local/X11R7/include \
26407 /usr/local/X11R6/include \
26408 /usr/local/include/X11R7 \
26409 /usr/local/include/X11R6 \
26410 \
26411 /usr/Motif-2.1/include \
26412 /usr/Motif-1.2/include \
26413 /usr/include/Motif1.2 \
26414 \
26415 /usr/dt/include \
26416 /usr/openwin/include \
26417 \
26418 /usr/include/Xm \
26419 \
26420 /usr/X11R7/include \
26421 /usr/X11R6/include \
26422 /usr/X11R6.4/include \
26423 \
26424 /usr/include/X11R7 \
26425 /usr/include/X11R6 \
26426 \
26427 /usr/X11/include \
26428 /usr/include/X11 \
26429 \
26430 /usr/XFree86/include/X11 \
26431 /usr/pkg/include \
26432 \
26433 /usr/local/X1R5/include \
26434 /usr/local/include/X11R5 \
26435 /usr/X11R5/include \
26436 /usr/include/X11R5 \
26437 \
26438 /usr/local/X11R4/include \
26439 /usr/local/include/X11R4 \
26440 /usr/X11R4/include \
26441 /usr/include/X11R4 \
26442 \
26443 /usr/openwin/share/include"
26444
26445 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26446 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26447
26448 case "${host}" in
26449 *-*-irix6* )
26450 if test "${wx_cv_std_libpath+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453
26454 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26455 for e in a so sl dylib dll.a; do
26456 libc="$d/libc.$e"
26457 if test -f $libc; then
26458 save_LIBS="$LIBS"
26459 LIBS="$libc"
26460 cat >conftest.$ac_ext <<_ACEOF
26461 int main() { return 0; }
26462 _ACEOF
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (ac_try="$ac_link"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467 *) ac_try_echo=$ac_try;;
26468 esac
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_link") 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_c_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest$ac_exeext &&
26480 $as_test_x conftest$ac_exeext; then
26481 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26482 else
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26485
26486
26487 fi
26488
26489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26490 conftest$ac_exeext conftest.$ac_ext
26491 LIBS="$save_LIBS"
26492 if test "x$wx_cv_std_libpath" != "x"; then
26493 break 2
26494 fi
26495 fi
26496 done
26497 done
26498 if test "x$wx_cv_std_libpath" = "x"; then
26499 wx_cv_std_libpath="lib"
26500 fi
26501
26502
26503 fi
26504
26505 ;;
26506
26507 *-*-solaris2* )
26508 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26509 wx_cv_std_libpath="lib/64"
26510 else
26511 wx_cv_std_libpath="lib"
26512 fi
26513 ;;
26514
26515 *-*-linux* )
26516 if test "$ac_cv_sizeof_void_p" = 8 -a \
26517 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26518 wx_cv_std_libpath="lib64"
26519 else
26520 wx_cv_std_libpath="lib"
26521 fi
26522 ;;
26523
26524 *)
26525 wx_cv_std_libpath="lib";
26526 ;;
26527 esac
26528
26529 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26530 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26531
26532 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26533
26534 if test "$build" != "$host" -a "$GCC" = yes; then
26535 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26536 cross_root=`dirname $cross_root`
26537 cross_root=`dirname $cross_root`
26538
26539 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26540 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26541 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26542
26543 if test -z "$PKG_CONFIG_PATH"; then
26544 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26545 export PKG_CONFIG_PATH
26546 fi
26547
26548 if test -z "$x_includes" -o "$x_includes" = NONE; then
26549
26550 ac_find_includes=
26551 for ac_dir in $SEARCH_INCLUDE /usr/include;
26552 do
26553 if test -f "$ac_dir/X11/Intrinsic.h"; then
26554 ac_find_includes=$ac_dir
26555 break
26556 fi
26557 done
26558
26559 x_includes=$ac_find_includes
26560 fi
26561 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26562
26563 ac_find_libraries=
26564 for ac_dir in $SEARCH_LIB;
26565 do
26566 for ac_extension in a so sl dylib dll.a; do
26567 if test -f "$ac_dir/libXt.$ac_extension"; then
26568 ac_find_libraries=$ac_dir
26569 break 2
26570 fi
26571 done
26572 done
26573
26574 x_libraries=$ac_find_libraries
26575 fi
26576 fi
26577 fi
26578
26579
26580 cat >confcache <<\_ACEOF
26581 # This file is a shell script that caches the results of configure
26582 # tests run on this system so they can be shared between configure
26583 # scripts and configure runs, see configure's option --config-cache.
26584 # It is not useful on other systems. If it contains results you don't
26585 # want to keep, you may remove or edit it.
26586 #
26587 # config.status only pays attention to the cache file if you give it
26588 # the --recheck option to rerun configure.
26589 #
26590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26592 # following values.
26593
26594 _ACEOF
26595
26596 # The following way of writing the cache mishandles newlines in values,
26597 # but we know of no workaround that is simple, portable, and efficient.
26598 # So, we kill variables containing newlines.
26599 # Ultrix sh set writes to stderr and can't be redirected directly,
26600 # and sets the high bit in the cache file unless we assign to the vars.
26601 (
26602 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26603 eval ac_val=\$$ac_var
26604 case $ac_val in #(
26605 *${as_nl}*)
26606 case $ac_var in #(
26607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26609 esac
26610 case $ac_var in #(
26611 _ | IFS | as_nl) ;; #(
26612 *) $as_unset $ac_var ;;
26613 esac ;;
26614 esac
26615 done
26616
26617 (set) 2>&1 |
26618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26619 *${as_nl}ac_space=\ *)
26620 # `set' does not quote correctly, so add quotes (double-quote
26621 # substitution turns \\\\ into \\, and sed turns \\ into \).
26622 sed -n \
26623 "s/'/'\\\\''/g;
26624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26625 ;; #(
26626 *)
26627 # `set' quotes correctly as required by POSIX, so do not add quotes.
26628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26629 ;;
26630 esac |
26631 sort
26632 ) |
26633 sed '
26634 /^ac_cv_env_/b end
26635 t clear
26636 :clear
26637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26638 t end
26639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26640 :end' >>confcache
26641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26642 if test -w "$cache_file"; then
26643 test "x$cache_file" != "x/dev/null" &&
26644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26645 echo "$as_me: updating cache $cache_file" >&6;}
26646 cat confcache >$cache_file
26647 else
26648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26649 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26650 fi
26651 fi
26652 rm -f confcache
26653
26654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26655 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26657 if test "${wx_cv_lib_glibc21+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 else
26660
26661 cat >conftest.$ac_ext <<_ACEOF
26662 /* confdefs.h. */
26663 _ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 #include <features.h>
26668 int
26669 main ()
26670 {
26671
26672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26673 not glibc 2.1
26674 #endif
26675
26676 ;
26677 return 0;
26678 }
26679 _ACEOF
26680 rm -f conftest.$ac_objext
26681 if { (ac_try="$ac_compile"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26685 esac
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_compile") 2>conftest.er1
26688 ac_status=$?
26689 grep -v '^ *+' conftest.er1 >conftest.err
26690 rm -f conftest.er1
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } && {
26694 test -z "$ac_c_werror_flag" ||
26695 test ! -s conftest.err
26696 } && test -s conftest.$ac_objext; then
26697
26698 wx_cv_lib_glibc21=yes
26699
26700 else
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.$ac_ext >&5
26703
26704
26705 wx_cv_lib_glibc21=no
26706
26707
26708 fi
26709
26710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26711
26712 fi
26713 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26714 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26715 if test "$wx_cv_lib_glibc21" = "yes"; then
26716 cat >>confdefs.h <<\_ACEOF
26717 #define wxHAVE_GLIBC2 1
26718 _ACEOF
26719
26720 fi
26721 fi
26722
26723 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26724 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define _GNU_SOURCE 1
26727 _ACEOF
26728
26729 fi
26730 fi
26731
26732 have_cos=0
26733 have_floor=0
26734
26735 for ac_func in cos
26736 do
26737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26741 echo $ECHO_N "(cached) $ECHO_C" >&6
26742 else
26743 cat >conftest.$ac_ext <<_ACEOF
26744 /* confdefs.h. */
26745 _ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26751 #define $ac_func innocuous_$ac_func
26752
26753 /* System header to define __stub macros and hopefully few prototypes,
26754 which can conflict with char $ac_func (); below.
26755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26756 <limits.h> exists even on freestanding compilers. */
26757
26758 #ifdef __STDC__
26759 # include <limits.h>
26760 #else
26761 # include <assert.h>
26762 #endif
26763
26764 #undef $ac_func
26765
26766 /* Override any GCC internal prototype to avoid an error.
26767 Use char because int might match the return type of a GCC
26768 builtin and then its argument prototype would still apply. */
26769 #ifdef __cplusplus
26770 extern "C"
26771 #endif
26772 char $ac_func ();
26773 /* The GNU C library defines this for functions which it implements
26774 to always fail with ENOSYS. Some functions are actually named
26775 something starting with __ and the normal name is an alias. */
26776 #if defined __stub_$ac_func || defined __stub___$ac_func
26777 choke me
26778 #endif
26779
26780 int
26781 main ()
26782 {
26783 return $ac_func ();
26784 ;
26785 return 0;
26786 }
26787 _ACEOF
26788 rm -f conftest.$ac_objext conftest$ac_exeext
26789 if { (ac_try="$ac_link"
26790 case "(($ac_try" in
26791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26792 *) ac_try_echo=$ac_try;;
26793 esac
26794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26795 (eval "$ac_link") 2>conftest.er1
26796 ac_status=$?
26797 grep -v '^ *+' conftest.er1 >conftest.err
26798 rm -f conftest.er1
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } && {
26802 test -z "$ac_c_werror_flag" ||
26803 test ! -s conftest.err
26804 } && test -s conftest$ac_exeext &&
26805 $as_test_x conftest$ac_exeext; then
26806 eval "$as_ac_var=yes"
26807 else
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26810
26811 eval "$as_ac_var=no"
26812 fi
26813
26814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26815 conftest$ac_exeext conftest.$ac_ext
26816 fi
26817 ac_res=`eval echo '${'$as_ac_var'}'`
26818 { echo "$as_me:$LINENO: result: $ac_res" >&5
26819 echo "${ECHO_T}$ac_res" >&6; }
26820 if test `eval echo '${'$as_ac_var'}'` = yes; then
26821 cat >>confdefs.h <<_ACEOF
26822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26823 _ACEOF
26824 have_cos=1
26825 fi
26826 done
26827
26828
26829 for ac_func in floor
26830 do
26831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26835 echo $ECHO_N "(cached) $ECHO_C" >&6
26836 else
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26845 #define $ac_func innocuous_$ac_func
26846
26847 /* System header to define __stub macros and hopefully few prototypes,
26848 which can conflict with char $ac_func (); below.
26849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26850 <limits.h> exists even on freestanding compilers. */
26851
26852 #ifdef __STDC__
26853 # include <limits.h>
26854 #else
26855 # include <assert.h>
26856 #endif
26857
26858 #undef $ac_func
26859
26860 /* Override any GCC internal prototype to avoid an error.
26861 Use char because int might match the return type of a GCC
26862 builtin and then its argument prototype would still apply. */
26863 #ifdef __cplusplus
26864 extern "C"
26865 #endif
26866 char $ac_func ();
26867 /* The GNU C library defines this for functions which it implements
26868 to always fail with ENOSYS. Some functions are actually named
26869 something starting with __ and the normal name is an alias. */
26870 #if defined __stub_$ac_func || defined __stub___$ac_func
26871 choke me
26872 #endif
26873
26874 int
26875 main ()
26876 {
26877 return $ac_func ();
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 rm -f conftest.$ac_objext conftest$ac_exeext
26883 if { (ac_try="$ac_link"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26887 esac
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_link") 2>conftest.er1
26890 ac_status=$?
26891 grep -v '^ *+' conftest.er1 >conftest.err
26892 rm -f conftest.er1
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_c_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest$ac_exeext &&
26899 $as_test_x conftest$ac_exeext; then
26900 eval "$as_ac_var=yes"
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 eval "$as_ac_var=no"
26906 fi
26907
26908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26909 conftest$ac_exeext conftest.$ac_ext
26910 fi
26911 ac_res=`eval echo '${'$as_ac_var'}'`
26912 { echo "$as_me:$LINENO: result: $ac_res" >&5
26913 echo "${ECHO_T}$ac_res" >&6; }
26914 if test `eval echo '${'$as_ac_var'}'` = yes; then
26915 cat >>confdefs.h <<_ACEOF
26916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26917 _ACEOF
26918 have_floor=1
26919 fi
26920 done
26921
26922 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26923 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26924 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26925 { echo "$as_me:$LINENO: result: yes" >&5
26926 echo "${ECHO_T}yes" >&6; }
26927 else
26928 { echo "$as_me:$LINENO: result: no" >&5
26929 echo "${ECHO_T}no" >&6; }
26930 LIBS="$LIBS -lm"
26931 # use different functions to avoid configure caching
26932 have_sin=0
26933 have_ceil=0
26934
26935 for ac_func in sin
26936 do
26937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26943 cat >conftest.$ac_ext <<_ACEOF
26944 /* confdefs.h. */
26945 _ACEOF
26946 cat confdefs.h >>conftest.$ac_ext
26947 cat >>conftest.$ac_ext <<_ACEOF
26948 /* end confdefs.h. */
26949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26951 #define $ac_func innocuous_$ac_func
26952
26953 /* System header to define __stub macros and hopefully few prototypes,
26954 which can conflict with char $ac_func (); below.
26955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26956 <limits.h> exists even on freestanding compilers. */
26957
26958 #ifdef __STDC__
26959 # include <limits.h>
26960 #else
26961 # include <assert.h>
26962 #endif
26963
26964 #undef $ac_func
26965
26966 /* Override any GCC internal prototype to avoid an error.
26967 Use char because int might match the return type of a GCC
26968 builtin and then its argument prototype would still apply. */
26969 #ifdef __cplusplus
26970 extern "C"
26971 #endif
26972 char $ac_func ();
26973 /* The GNU C library defines this for functions which it implements
26974 to always fail with ENOSYS. Some functions are actually named
26975 something starting with __ and the normal name is an alias. */
26976 #if defined __stub_$ac_func || defined __stub___$ac_func
26977 choke me
26978 #endif
26979
26980 int
26981 main ()
26982 {
26983 return $ac_func ();
26984 ;
26985 return 0;
26986 }
26987 _ACEOF
26988 rm -f conftest.$ac_objext conftest$ac_exeext
26989 if { (ac_try="$ac_link"
26990 case "(($ac_try" in
26991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26993 esac
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_link") 2>conftest.er1
26996 ac_status=$?
26997 grep -v '^ *+' conftest.er1 >conftest.err
26998 rm -f conftest.er1
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } && {
27002 test -z "$ac_c_werror_flag" ||
27003 test ! -s conftest.err
27004 } && test -s conftest$ac_exeext &&
27005 $as_test_x conftest$ac_exeext; then
27006 eval "$as_ac_var=yes"
27007 else
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011 eval "$as_ac_var=no"
27012 fi
27013
27014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27015 conftest$ac_exeext conftest.$ac_ext
27016 fi
27017 ac_res=`eval echo '${'$as_ac_var'}'`
27018 { echo "$as_me:$LINENO: result: $ac_res" >&5
27019 echo "${ECHO_T}$ac_res" >&6; }
27020 if test `eval echo '${'$as_ac_var'}'` = yes; then
27021 cat >>confdefs.h <<_ACEOF
27022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27023 _ACEOF
27024 have_sin=1
27025 fi
27026 done
27027
27028
27029 for ac_func in ceil
27030 do
27031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27035 echo $ECHO_N "(cached) $ECHO_C" >&6
27036 else
27037 cat >conftest.$ac_ext <<_ACEOF
27038 /* confdefs.h. */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27045 #define $ac_func innocuous_$ac_func
27046
27047 /* System header to define __stub macros and hopefully few prototypes,
27048 which can conflict with char $ac_func (); below.
27049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27050 <limits.h> exists even on freestanding compilers. */
27051
27052 #ifdef __STDC__
27053 # include <limits.h>
27054 #else
27055 # include <assert.h>
27056 #endif
27057
27058 #undef $ac_func
27059
27060 /* Override any GCC internal prototype to avoid an error.
27061 Use char because int might match the return type of a GCC
27062 builtin and then its argument prototype would still apply. */
27063 #ifdef __cplusplus
27064 extern "C"
27065 #endif
27066 char $ac_func ();
27067 /* The GNU C library defines this for functions which it implements
27068 to always fail with ENOSYS. Some functions are actually named
27069 something starting with __ and the normal name is an alias. */
27070 #if defined __stub_$ac_func || defined __stub___$ac_func
27071 choke me
27072 #endif
27073
27074 int
27075 main ()
27076 {
27077 return $ac_func ();
27078 ;
27079 return 0;
27080 }
27081 _ACEOF
27082 rm -f conftest.$ac_objext conftest$ac_exeext
27083 if { (ac_try="$ac_link"
27084 case "(($ac_try" in
27085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27086 *) ac_try_echo=$ac_try;;
27087 esac
27088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27089 (eval "$ac_link") 2>conftest.er1
27090 ac_status=$?
27091 grep -v '^ *+' conftest.er1 >conftest.err
27092 rm -f conftest.er1
27093 cat conftest.err >&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } && {
27096 test -z "$ac_c_werror_flag" ||
27097 test ! -s conftest.err
27098 } && test -s conftest$ac_exeext &&
27099 $as_test_x conftest$ac_exeext; then
27100 eval "$as_ac_var=yes"
27101 else
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.$ac_ext >&5
27104
27105 eval "$as_ac_var=no"
27106 fi
27107
27108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27109 conftest$ac_exeext conftest.$ac_ext
27110 fi
27111 ac_res=`eval echo '${'$as_ac_var'}'`
27112 { echo "$as_me:$LINENO: result: $ac_res" >&5
27113 echo "${ECHO_T}$ac_res" >&6; }
27114 if test `eval echo '${'$as_ac_var'}'` = yes; then
27115 cat >>confdefs.h <<_ACEOF
27116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27117 _ACEOF
27118 have_ceil=1
27119 fi
27120 done
27121
27122 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27123 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27124 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27125 { echo "$as_me:$LINENO: result: yes" >&5
27126 echo "${ECHO_T}yes" >&6; }
27127 else
27128 { echo "$as_me:$LINENO: result: no" >&5
27129 echo "${ECHO_T}no" >&6; }
27130 # not sure we should warn the user, crash, etc.
27131 fi
27132 fi
27133
27134 ac_ext=cpp
27135 ac_cpp='$CXXCPP $CPPFLAGS'
27136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27139
27140 if test "wxUSE_UNICODE" = "yes"; then
27141
27142 for wx_func in wcstoull
27143 do
27144 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27146 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27148 else
27149
27150 cat >conftest.$ac_ext <<_ACEOF
27151
27152 /* confdefs.h. */
27153 _ACEOF
27154 cat confdefs.h >>conftest.$ac_ext
27155 cat >>conftest.$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27157
27158
27159 $ac_includes_default
27160
27161 int
27162 main ()
27163 {
27164
27165 #ifndef $wx_func
27166 &$wx_func;
27167 #endif
27168
27169
27170 ;
27171 return 0;
27172 }
27173
27174 _ACEOF
27175 rm -f conftest.$ac_objext conftest$ac_exeext
27176 if { (ac_try="$ac_link"
27177 case "(($ac_try" in
27178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27179 *) ac_try_echo=$ac_try;;
27180 esac
27181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27182 (eval "$ac_link") 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } && {
27189 test -z "$ac_cxx_werror_flag" ||
27190 test ! -s conftest.err
27191 } && test -s conftest$ac_exeext &&
27192 $as_test_x conftest$ac_exeext; then
27193 eval wx_cv_func_$wx_func=yes
27194 else
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.$ac_ext >&5
27197
27198 eval wx_cv_func_$wx_func=no
27199 fi
27200
27201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27202 conftest$ac_exeext conftest.$ac_ext
27203
27204 fi
27205 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27206 { echo "$as_me:$LINENO: result: $ac_res" >&5
27207 echo "${ECHO_T}$ac_res" >&6; }
27208
27209 if eval test \$wx_cv_func_$wx_func = yes
27210 then
27211 cat >>confdefs.h <<_ACEOF
27212 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27213 _ACEOF
27214
27215
27216 else
27217 :
27218
27219 fi
27220 done
27221
27222 else
27223
27224 for wx_func in strtoull
27225 do
27226 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27227 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27228 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27229 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 else
27231
27232 cat >conftest.$ac_ext <<_ACEOF
27233
27234 /* confdefs.h. */
27235 _ACEOF
27236 cat confdefs.h >>conftest.$ac_ext
27237 cat >>conftest.$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27239
27240
27241 $ac_includes_default
27242
27243 int
27244 main ()
27245 {
27246
27247 #ifndef $wx_func
27248 &$wx_func;
27249 #endif
27250
27251
27252 ;
27253 return 0;
27254 }
27255
27256 _ACEOF
27257 rm -f conftest.$ac_objext conftest$ac_exeext
27258 if { (ac_try="$ac_link"
27259 case "(($ac_try" in
27260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27261 *) ac_try_echo=$ac_try;;
27262 esac
27263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27264 (eval "$ac_link") 2>conftest.er1
27265 ac_status=$?
27266 grep -v '^ *+' conftest.er1 >conftest.err
27267 rm -f conftest.er1
27268 cat conftest.err >&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } && {
27271 test -z "$ac_cxx_werror_flag" ||
27272 test ! -s conftest.err
27273 } && test -s conftest$ac_exeext &&
27274 $as_test_x conftest$ac_exeext; then
27275 eval wx_cv_func_$wx_func=yes
27276 else
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27279
27280 eval wx_cv_func_$wx_func=no
27281 fi
27282
27283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27284 conftest$ac_exeext conftest.$ac_ext
27285
27286 fi
27287 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27288 { echo "$as_me:$LINENO: result: $ac_res" >&5
27289 echo "${ECHO_T}$ac_res" >&6; }
27290
27291 if eval test \$wx_cv_func_$wx_func = yes
27292 then
27293 cat >>confdefs.h <<_ACEOF
27294 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27295 _ACEOF
27296
27297
27298 else
27299 :
27300
27301 fi
27302 done
27303
27304 fi
27305 ac_ext=c
27306 ac_cpp='$CPP $CPPFLAGS'
27307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27310
27311
27312
27313
27314 if test "$wxUSE_REGEX" != "no"; then
27315 cat >>confdefs.h <<\_ACEOF
27316 #define wxUSE_REGEX 1
27317 _ACEOF
27318
27319
27320 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27321 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27322 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27323 wxUSE_REGEX=builtin
27324 fi
27325
27326 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27327 { echo "$as_me:$LINENO: checking for regex.h" >&5
27328 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27329 if test "${ac_cv_header_regex_h+set}" = set; then
27330 echo $ECHO_N "(cached) $ECHO_C" >&6
27331 else
27332 cat >conftest.$ac_ext <<_ACEOF
27333 /* confdefs.h. */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338
27339
27340 #include <regex.h>
27341 _ACEOF
27342 rm -f conftest.$ac_objext
27343 if { (ac_try="$ac_compile"
27344 case "(($ac_try" in
27345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27346 *) ac_try_echo=$ac_try;;
27347 esac
27348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27349 (eval "$ac_compile") 2>conftest.er1
27350 ac_status=$?
27351 grep -v '^ *+' conftest.er1 >conftest.err
27352 rm -f conftest.er1
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } && {
27356 test -z "$ac_c_werror_flag" ||
27357 test ! -s conftest.err
27358 } && test -s conftest.$ac_objext; then
27359 ac_cv_header_regex_h=yes
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27363
27364 ac_cv_header_regex_h=no
27365 fi
27366
27367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27368 fi
27369 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27370 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27371 if test $ac_cv_header_regex_h = yes; then
27372
27373
27374 for ac_func in regcomp re_search
27375 do
27376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 else
27382 cat >conftest.$ac_ext <<_ACEOF
27383 /* confdefs.h. */
27384 _ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27390 #define $ac_func innocuous_$ac_func
27391
27392 /* System header to define __stub macros and hopefully few prototypes,
27393 which can conflict with char $ac_func (); below.
27394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27395 <limits.h> exists even on freestanding compilers. */
27396
27397 #ifdef __STDC__
27398 # include <limits.h>
27399 #else
27400 # include <assert.h>
27401 #endif
27402
27403 #undef $ac_func
27404
27405 /* Override any GCC internal prototype to avoid an error.
27406 Use char because int might match the return type of a GCC
27407 builtin and then its argument prototype would still apply. */
27408 #ifdef __cplusplus
27409 extern "C"
27410 #endif
27411 char $ac_func ();
27412 /* The GNU C library defines this for functions which it implements
27413 to always fail with ENOSYS. Some functions are actually named
27414 something starting with __ and the normal name is an alias. */
27415 #if defined __stub_$ac_func || defined __stub___$ac_func
27416 choke me
27417 #endif
27418
27419 int
27420 main ()
27421 {
27422 return $ac_func ();
27423 ;
27424 return 0;
27425 }
27426 _ACEOF
27427 rm -f conftest.$ac_objext conftest$ac_exeext
27428 if { (ac_try="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27432 esac
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 eval "$as_ac_var=yes"
27446 else
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27449
27450 eval "$as_ac_var=no"
27451 fi
27452
27453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27454 conftest$ac_exeext conftest.$ac_ext
27455 fi
27456 ac_res=`eval echo '${'$as_ac_var'}'`
27457 { echo "$as_me:$LINENO: result: $ac_res" >&5
27458 echo "${ECHO_T}$ac_res" >&6; }
27459 if test `eval echo '${'$as_ac_var'}'` = yes; then
27460 cat >>confdefs.h <<_ACEOF
27461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27462 _ACEOF
27463
27464 fi
27465 done
27466
27467 fi
27468
27469
27470
27471 if test "x$ac_cv_func_regcomp" != "xyes"; then
27472 if test "$wxUSE_REGEX" = "sys" ; then
27473 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27474 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27475 { (exit 1); exit 1; }; }
27476 else
27477 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27478 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27479 wxUSE_REGEX=builtin
27480 fi
27481 else
27482 wxUSE_REGEX=sys
27483 cat >>confdefs.h <<\_ACEOF
27484 #define WX_NO_REGEX_ADVANCED 1
27485 _ACEOF
27486
27487 fi
27488 fi
27489 fi
27490
27491
27492 ZLIB_LINK=
27493 if test "$wxUSE_ZLIB" != "no" ; then
27494 cat >>confdefs.h <<\_ACEOF
27495 #define wxUSE_ZLIB 1
27496 _ACEOF
27497
27498
27499 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27500 if test "$USE_DARWIN" = 1; then
27501 system_zlib_h_ok="yes"
27502 else
27503 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27504 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27505 if test "${ac_cv_header_zlib_h+set}" = set; then
27506 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 else
27508 if test "$cross_compiling" = yes; then
27509 unset ac_cv_header_zlib_h
27510
27511 else
27512 cat >conftest.$ac_ext <<_ACEOF
27513 /* confdefs.h. */
27514 _ACEOF
27515 cat confdefs.h >>conftest.$ac_ext
27516 cat >>conftest.$ac_ext <<_ACEOF
27517 /* end confdefs.h. */
27518
27519 #include <zlib.h>
27520 #include <stdio.h>
27521
27522 int main()
27523 {
27524 FILE *f=fopen("conftestval", "w");
27525 if (!f) exit(1);
27526 fprintf(f, "%s",
27527 ZLIB_VERSION[0] == '1' &&
27528 (ZLIB_VERSION[2] > '1' ||
27529 (ZLIB_VERSION[2] == '1' &&
27530 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27531 exit(0);
27532 }
27533
27534 _ACEOF
27535 rm -f conftest$ac_exeext
27536 if { (ac_try="$ac_link"
27537 case "(($ac_try" in
27538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27539 *) ac_try_echo=$ac_try;;
27540 esac
27541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27542 (eval "$ac_link") 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27546 { (case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27549 esac
27550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_try") 2>&5
27552 ac_status=$?
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); }; }; then
27555 ac_cv_header_zlib_h=`cat conftestval`
27556 else
27557 echo "$as_me: program exited with status $ac_status" >&5
27558 echo "$as_me: failed program was:" >&5
27559 sed 's/^/| /' conftest.$ac_ext >&5
27560
27561 ( exit $ac_status )
27562 ac_cv_header_zlib_h=no
27563 fi
27564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27565 fi
27566
27567
27568
27569 fi
27570 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27571 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27572 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27573 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27574 if test "${ac_cv_header_zlib_h+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
27585 #include <zlib.h>
27586 _ACEOF
27587 rm -f conftest.$ac_objext
27588 if { (ac_try="$ac_compile"
27589 case "(($ac_try" in
27590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 *) ac_try_echo=$ac_try;;
27592 esac
27593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27594 (eval "$ac_compile") 2>conftest.er1
27595 ac_status=$?
27596 grep -v '^ *+' conftest.er1 >conftest.err
27597 rm -f conftest.er1
27598 cat conftest.err >&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } && {
27601 test -z "$ac_c_werror_flag" ||
27602 test ! -s conftest.err
27603 } && test -s conftest.$ac_objext; then
27604 ac_cv_header_zlib_h=yes
27605 else
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27608
27609 ac_cv_header_zlib_h=no
27610 fi
27611
27612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613 fi
27614 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27616
27617
27618
27619 system_zlib_h_ok=$ac_cv_header_zlib_h
27620 fi
27621
27622 if test "$system_zlib_h_ok" = "yes"; then
27623 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27624 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27625 if test "${ac_cv_lib_z_deflate+set}" = set; then
27626 echo $ECHO_N "(cached) $ECHO_C" >&6
27627 else
27628 ac_check_lib_save_LIBS=$LIBS
27629 LIBS="-lz $LIBS"
27630 cat >conftest.$ac_ext <<_ACEOF
27631 /* confdefs.h. */
27632 _ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27636
27637 /* Override any GCC internal prototype to avoid an error.
27638 Use char because int might match the return type of a GCC
27639 builtin and then its argument prototype would still apply. */
27640 #ifdef __cplusplus
27641 extern "C"
27642 #endif
27643 char deflate ();
27644 int
27645 main ()
27646 {
27647 return deflate ();
27648 ;
27649 return 0;
27650 }
27651 _ACEOF
27652 rm -f conftest.$ac_objext conftest$ac_exeext
27653 if { (ac_try="$ac_link"
27654 case "(($ac_try" in
27655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27656 *) ac_try_echo=$ac_try;;
27657 esac
27658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27659 (eval "$ac_link") 2>conftest.er1
27660 ac_status=$?
27661 grep -v '^ *+' conftest.er1 >conftest.err
27662 rm -f conftest.er1
27663 cat conftest.err >&5
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } && {
27666 test -z "$ac_c_werror_flag" ||
27667 test ! -s conftest.err
27668 } && test -s conftest$ac_exeext &&
27669 $as_test_x conftest$ac_exeext; then
27670 ac_cv_lib_z_deflate=yes
27671 else
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.$ac_ext >&5
27674
27675 ac_cv_lib_z_deflate=no
27676 fi
27677
27678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27679 conftest$ac_exeext conftest.$ac_ext
27680 LIBS=$ac_check_lib_save_LIBS
27681 fi
27682 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27683 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27684 if test $ac_cv_lib_z_deflate = yes; then
27685 ZLIB_LINK=" -lz"
27686 fi
27687
27688 fi
27689
27690 if test "x$ZLIB_LINK" = "x" ; then
27691 if test "$wxUSE_ZLIB" = "sys" ; then
27692 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27693 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27694 { (exit 1); exit 1; }; }
27695 else
27696 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27697 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27698 wxUSE_ZLIB=builtin
27699 fi
27700 else
27701 wxUSE_ZLIB=sys
27702 fi
27703 fi
27704 fi
27705
27706
27707 PNG_LINK=
27708 if test "$wxUSE_LIBPNG" != "no" ; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define wxUSE_LIBPNG 1
27711 _ACEOF
27712
27713
27714 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27715 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27716 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27717 wxUSE_LIBPNG=sys
27718 fi
27719
27720 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27721 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27722 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27723 wxUSE_LIBPNG=builtin
27724 fi
27725
27726 if test "$wxUSE_MGL" != 1 ; then
27727 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27728 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27729 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27730 if test "${ac_cv_header_png_h+set}" = set; then
27731 echo $ECHO_N "(cached) $ECHO_C" >&6
27732 else
27733 if test "$cross_compiling" = yes; then
27734 unset ac_cv_header_png_h
27735
27736 else
27737 cat >conftest.$ac_ext <<_ACEOF
27738 /* confdefs.h. */
27739 _ACEOF
27740 cat confdefs.h >>conftest.$ac_ext
27741 cat >>conftest.$ac_ext <<_ACEOF
27742 /* end confdefs.h. */
27743
27744 #include <png.h>
27745 #include <stdio.h>
27746
27747 int main()
27748 {
27749 FILE *f=fopen("conftestval", "w");
27750 if (!f) exit(1);
27751 fprintf(f, "%s",
27752 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27753 exit(0);
27754 }
27755
27756 _ACEOF
27757 rm -f conftest$ac_exeext
27758 if { (ac_try="$ac_link"
27759 case "(($ac_try" in
27760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27761 *) ac_try_echo=$ac_try;;
27762 esac
27763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27764 (eval "$ac_link") 2>&5
27765 ac_status=$?
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
27774 ac_status=$?
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; }; then
27777 ac_cv_header_png_h=`cat conftestval`
27778 else
27779 echo "$as_me: program exited with status $ac_status" >&5
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27782
27783 ( exit $ac_status )
27784 ac_cv_header_png_h=no
27785 fi
27786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27787 fi
27788
27789
27790
27791 fi
27792 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27793 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27794 { echo "$as_me:$LINENO: checking for png.h" >&5
27795 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27796 if test "${ac_cv_header_png_h+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 else
27799 cat >conftest.$ac_ext <<_ACEOF
27800 /* confdefs.h. */
27801 _ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805
27806
27807 #include <png.h>
27808 _ACEOF
27809 rm -f conftest.$ac_objext
27810 if { (ac_try="$ac_compile"
27811 case "(($ac_try" in
27812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27813 *) ac_try_echo=$ac_try;;
27814 esac
27815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27816 (eval "$ac_compile") 2>conftest.er1
27817 ac_status=$?
27818 grep -v '^ *+' conftest.er1 >conftest.err
27819 rm -f conftest.er1
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } && {
27823 test -z "$ac_c_werror_flag" ||
27824 test ! -s conftest.err
27825 } && test -s conftest.$ac_objext; then
27826 ac_cv_header_png_h=yes
27827 else
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.$ac_ext >&5
27830
27831 ac_cv_header_png_h=no
27832 fi
27833
27834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27835 fi
27836 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27837 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27838
27839
27840
27841 if test "$ac_cv_header_png_h" = "yes"; then
27842 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27843 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27844 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 ac_check_lib_save_LIBS=$LIBS
27848 LIBS="-lpng -lz -lm $LIBS"
27849 cat >conftest.$ac_ext <<_ACEOF
27850 /* confdefs.h. */
27851 _ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27855
27856 /* Override any GCC internal prototype to avoid an error.
27857 Use char because int might match the return type of a GCC
27858 builtin and then its argument prototype would still apply. */
27859 #ifdef __cplusplus
27860 extern "C"
27861 #endif
27862 char png_sig_cmp ();
27863 int
27864 main ()
27865 {
27866 return png_sig_cmp ();
27867 ;
27868 return 0;
27869 }
27870 _ACEOF
27871 rm -f conftest.$ac_objext conftest$ac_exeext
27872 if { (ac_try="$ac_link"
27873 case "(($ac_try" in
27874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27875 *) ac_try_echo=$ac_try;;
27876 esac
27877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27878 (eval "$ac_link") 2>conftest.er1
27879 ac_status=$?
27880 grep -v '^ *+' conftest.er1 >conftest.err
27881 rm -f conftest.er1
27882 cat conftest.err >&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } && {
27885 test -z "$ac_c_werror_flag" ||
27886 test ! -s conftest.err
27887 } && test -s conftest$ac_exeext &&
27888 $as_test_x conftest$ac_exeext; then
27889 ac_cv_lib_png_png_sig_cmp=yes
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 ac_cv_lib_png_png_sig_cmp=no
27895 fi
27896
27897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27898 conftest$ac_exeext conftest.$ac_ext
27899 LIBS=$ac_check_lib_save_LIBS
27900 fi
27901 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27902 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27903 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27904 PNG_LINK=" -lpng -lz"
27905 fi
27906
27907 fi
27908
27909 if test "x$PNG_LINK" = "x" ; then
27910 if test "$wxUSE_LIBPNG" = "sys" ; then
27911 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27912 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27913 { (exit 1); exit 1; }; }
27914 else
27915 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27916 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27917 wxUSE_LIBPNG=builtin
27918 fi
27919 else
27920 wxUSE_LIBPNG=sys
27921 fi
27922 fi
27923 fi
27924 fi
27925
27926
27927 JPEG_LINK=
27928 if test "$wxUSE_LIBJPEG" != "no" ; then
27929 cat >>confdefs.h <<\_ACEOF
27930 #define wxUSE_LIBJPEG 1
27931 _ACEOF
27932
27933
27934 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27935 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27936 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27937 wxUSE_LIBJPEG=sys
27938 fi
27939
27940 if test "$wxUSE_MGL" != 1 ; then
27941 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27942 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27943 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27944 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27945 echo $ECHO_N "(cached) $ECHO_C" >&6
27946 else
27947 cat >conftest.$ac_ext <<_ACEOF
27948 /* confdefs.h. */
27949 _ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27953
27954 #undef HAVE_STDLIB_H
27955 #include <stdio.h>
27956 #include <jpeglib.h>
27957
27958 int
27959 main ()
27960 {
27961
27962
27963 ;
27964 return 0;
27965 }
27966 _ACEOF
27967 rm -f conftest.$ac_objext
27968 if { (ac_try="$ac_compile"
27969 case "(($ac_try" in
27970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27971 *) ac_try_echo=$ac_try;;
27972 esac
27973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27974 (eval "$ac_compile") 2>conftest.er1
27975 ac_status=$?
27976 grep -v '^ *+' conftest.er1 >conftest.err
27977 rm -f conftest.er1
27978 cat conftest.err >&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } && {
27981 test -z "$ac_c_werror_flag" ||
27982 test ! -s conftest.err
27983 } && test -s conftest.$ac_objext; then
27984 ac_cv_header_jpeglib_h=yes
27985 else
27986 echo "$as_me: failed program was:" >&5
27987 sed 's/^/| /' conftest.$ac_ext >&5
27988
27989 ac_cv_header_jpeglib_h=no
27990
27991 fi
27992
27993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27994
27995 fi
27996
27997 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27998 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27999
28000 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28001 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28002 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28003 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006 ac_check_lib_save_LIBS=$LIBS
28007 LIBS="-ljpeg $LIBS"
28008 cat >conftest.$ac_ext <<_ACEOF
28009 /* confdefs.h. */
28010 _ACEOF
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h. */
28014
28015 /* Override any GCC internal prototype to avoid an error.
28016 Use char because int might match the return type of a GCC
28017 builtin and then its argument prototype would still apply. */
28018 #ifdef __cplusplus
28019 extern "C"
28020 #endif
28021 char jpeg_read_header ();
28022 int
28023 main ()
28024 {
28025 return jpeg_read_header ();
28026 ;
28027 return 0;
28028 }
28029 _ACEOF
28030 rm -f conftest.$ac_objext conftest$ac_exeext
28031 if { (ac_try="$ac_link"
28032 case "(($ac_try" in
28033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28034 *) ac_try_echo=$ac_try;;
28035 esac
28036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28037 (eval "$ac_link") 2>conftest.er1
28038 ac_status=$?
28039 grep -v '^ *+' conftest.er1 >conftest.err
28040 rm -f conftest.er1
28041 cat conftest.err >&5
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); } && {
28044 test -z "$ac_c_werror_flag" ||
28045 test ! -s conftest.err
28046 } && test -s conftest$ac_exeext &&
28047 $as_test_x conftest$ac_exeext; then
28048 ac_cv_lib_jpeg_jpeg_read_header=yes
28049 else
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28052
28053 ac_cv_lib_jpeg_jpeg_read_header=no
28054 fi
28055
28056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28057 conftest$ac_exeext conftest.$ac_ext
28058 LIBS=$ac_check_lib_save_LIBS
28059 fi
28060 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28061 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28062 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28063 JPEG_LINK=" -ljpeg"
28064 fi
28065
28066 fi
28067
28068 if test "x$JPEG_LINK" = "x" ; then
28069 if test "$wxUSE_LIBJPEG" = "sys" ; then
28070 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28071 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28072 { (exit 1); exit 1; }; }
28073 else
28074 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28075 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28076 wxUSE_LIBJPEG=builtin
28077 fi
28078 else
28079 wxUSE_LIBJPEG=sys
28080
28081 if test "$wxUSE_MSW" = 1; then
28082 { echo "$as_me:$LINENO: checking for boolean" >&5
28083 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28084 if test "${ac_cv_type_boolean+set}" = set; then
28085 echo $ECHO_N "(cached) $ECHO_C" >&6
28086 else
28087 cat >conftest.$ac_ext <<_ACEOF
28088 /* confdefs.h. */
28089 _ACEOF
28090 cat confdefs.h >>conftest.$ac_ext
28091 cat >>conftest.$ac_ext <<_ACEOF
28092 /* end confdefs.h. */
28093 #include <windows.h>
28094
28095 typedef boolean ac__type_new_;
28096 int
28097 main ()
28098 {
28099 if ((ac__type_new_ *) 0)
28100 return 0;
28101 if (sizeof (ac__type_new_))
28102 return 0;
28103 ;
28104 return 0;
28105 }
28106 _ACEOF
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28112 esac
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28115 ac_status=$?
28116 grep -v '^ *+' conftest.er1 >conftest.err
28117 rm -f conftest.er1
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28124 ac_cv_type_boolean=yes
28125 else
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28128
28129 ac_cv_type_boolean=no
28130 fi
28131
28132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28133 fi
28134 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28135 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28136 if test $ac_cv_type_boolean = yes; then
28137
28138 cat >>confdefs.h <<_ACEOF
28139 #define HAVE_BOOLEAN 1
28140 _ACEOF
28141
28142
28143 { echo "$as_me:$LINENO: checking for boolean" >&5
28144 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28145 if test "${ac_cv_type_boolean+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 else
28148 cat >conftest.$ac_ext <<_ACEOF
28149 /* confdefs.h. */
28150 _ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28154
28155 #undef HAVE_BOOLEAN
28156 #include <stdio.h>
28157 #include <jpeglib.h>
28158
28159
28160 typedef boolean ac__type_new_;
28161 int
28162 main ()
28163 {
28164 if ((ac__type_new_ *) 0)
28165 return 0;
28166 if (sizeof (ac__type_new_))
28167 return 0;
28168 ;
28169 return 0;
28170 }
28171 _ACEOF
28172 rm -f conftest.$ac_objext
28173 if { (ac_try="$ac_compile"
28174 case "(($ac_try" in
28175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28177 esac
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_compile") 2>conftest.er1
28180 ac_status=$?
28181 grep -v '^ *+' conftest.er1 >conftest.err
28182 rm -f conftest.er1
28183 cat conftest.err >&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } && {
28186 test -z "$ac_c_werror_flag" ||
28187 test ! -s conftest.err
28188 } && test -s conftest.$ac_objext; then
28189 ac_cv_type_boolean=yes
28190 else
28191 echo "$as_me: failed program was:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28193
28194 ac_cv_type_boolean=no
28195 fi
28196
28197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28198 fi
28199 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28200 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28201
28202 # The cast to long int works around a bug in the HP C Compiler
28203 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28204 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28205 # This bug is HP SR number 8606223364.
28206 { echo "$as_me:$LINENO: checking size of boolean" >&5
28207 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28208 if test "${ac_cv_sizeof_boolean+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 else
28211 if test "$cross_compiling" = yes; then
28212 # Depending upon the size, compute the lo and hi bounds.
28213 cat >conftest.$ac_ext <<_ACEOF
28214 /* confdefs.h. */
28215 _ACEOF
28216 cat confdefs.h >>conftest.$ac_ext
28217 cat >>conftest.$ac_ext <<_ACEOF
28218 /* end confdefs.h. */
28219
28220 #undef HAVE_BOOLEAN
28221 #include <stdio.h>
28222 #include <jpeglib.h>
28223
28224
28225 typedef boolean ac__type_sizeof_;
28226 int
28227 main ()
28228 {
28229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28230 test_array [0] = 0
28231
28232 ;
28233 return 0;
28234 }
28235 _ACEOF
28236 rm -f conftest.$ac_objext
28237 if { (ac_try="$ac_compile"
28238 case "(($ac_try" in
28239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28240 *) ac_try_echo=$ac_try;;
28241 esac
28242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_compile") 2>conftest.er1
28244 ac_status=$?
28245 grep -v '^ *+' conftest.er1 >conftest.err
28246 rm -f conftest.er1
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); } && {
28250 test -z "$ac_c_werror_flag" ||
28251 test ! -s conftest.err
28252 } && test -s conftest.$ac_objext; then
28253 ac_lo=0 ac_mid=0
28254 while :; do
28255 cat >conftest.$ac_ext <<_ACEOF
28256 /* confdefs.h. */
28257 _ACEOF
28258 cat confdefs.h >>conftest.$ac_ext
28259 cat >>conftest.$ac_ext <<_ACEOF
28260 /* end confdefs.h. */
28261
28262 #undef HAVE_BOOLEAN
28263 #include <stdio.h>
28264 #include <jpeglib.h>
28265
28266
28267 typedef boolean ac__type_sizeof_;
28268 int
28269 main ()
28270 {
28271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28272 test_array [0] = 0
28273
28274 ;
28275 return 0;
28276 }
28277 _ACEOF
28278 rm -f conftest.$ac_objext
28279 if { (ac_try="$ac_compile"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28283 esac
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_compile") 2>conftest.er1
28286 ac_status=$?
28287 grep -v '^ *+' conftest.er1 >conftest.err
28288 rm -f conftest.er1
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest.$ac_objext; then
28295 ac_hi=$ac_mid; break
28296 else
28297 echo "$as_me: failed program was:" >&5
28298 sed 's/^/| /' conftest.$ac_ext >&5
28299
28300 ac_lo=`expr $ac_mid + 1`
28301 if test $ac_lo -le $ac_mid; then
28302 ac_lo= ac_hi=
28303 break
28304 fi
28305 ac_mid=`expr 2 '*' $ac_mid + 1`
28306 fi
28307
28308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28309 done
28310 else
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 cat >conftest.$ac_ext <<_ACEOF
28315 /* confdefs.h. */
28316 _ACEOF
28317 cat confdefs.h >>conftest.$ac_ext
28318 cat >>conftest.$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320
28321 #undef HAVE_BOOLEAN
28322 #include <stdio.h>
28323 #include <jpeglib.h>
28324
28325
28326 typedef boolean ac__type_sizeof_;
28327 int
28328 main ()
28329 {
28330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28331 test_array [0] = 0
28332
28333 ;
28334 return 0;
28335 }
28336 _ACEOF
28337 rm -f conftest.$ac_objext
28338 if { (ac_try="$ac_compile"
28339 case "(($ac_try" in
28340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28341 *) ac_try_echo=$ac_try;;
28342 esac
28343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28344 (eval "$ac_compile") 2>conftest.er1
28345 ac_status=$?
28346 grep -v '^ *+' conftest.er1 >conftest.err
28347 rm -f conftest.er1
28348 cat conftest.err >&5
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); } && {
28351 test -z "$ac_c_werror_flag" ||
28352 test ! -s conftest.err
28353 } && test -s conftest.$ac_objext; then
28354 ac_hi=-1 ac_mid=-1
28355 while :; do
28356 cat >conftest.$ac_ext <<_ACEOF
28357 /* confdefs.h. */
28358 _ACEOF
28359 cat confdefs.h >>conftest.$ac_ext
28360 cat >>conftest.$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28362
28363 #undef HAVE_BOOLEAN
28364 #include <stdio.h>
28365 #include <jpeglib.h>
28366
28367
28368 typedef boolean ac__type_sizeof_;
28369 int
28370 main ()
28371 {
28372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28373 test_array [0] = 0
28374
28375 ;
28376 return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext
28380 if { (ac_try="$ac_compile"
28381 case "(($ac_try" in
28382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28384 esac
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_compile") 2>conftest.er1
28387 ac_status=$?
28388 grep -v '^ *+' conftest.er1 >conftest.err
28389 rm -f conftest.er1
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_c_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest.$ac_objext; then
28396 ac_lo=$ac_mid; break
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_hi=`expr '(' $ac_mid ')' - 1`
28402 if test $ac_mid -le $ac_hi; then
28403 ac_lo= ac_hi=
28404 break
28405 fi
28406 ac_mid=`expr 2 '*' $ac_mid`
28407 fi
28408
28409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28410 done
28411 else
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28414
28415 ac_lo= ac_hi=
28416 fi
28417
28418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28419 fi
28420
28421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28422 # Binary search between lo and hi bounds.
28423 while test "x$ac_lo" != "x$ac_hi"; do
28424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28425 cat >conftest.$ac_ext <<_ACEOF
28426 /* confdefs.h. */
28427 _ACEOF
28428 cat confdefs.h >>conftest.$ac_ext
28429 cat >>conftest.$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28431
28432 #undef HAVE_BOOLEAN
28433 #include <stdio.h>
28434 #include <jpeglib.h>
28435
28436
28437 typedef boolean ac__type_sizeof_;
28438 int
28439 main ()
28440 {
28441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28442 test_array [0] = 0
28443
28444 ;
28445 return 0;
28446 }
28447 _ACEOF
28448 rm -f conftest.$ac_objext
28449 if { (ac_try="$ac_compile"
28450 case "(($ac_try" in
28451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28452 *) ac_try_echo=$ac_try;;
28453 esac
28454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28455 (eval "$ac_compile") 2>conftest.er1
28456 ac_status=$?
28457 grep -v '^ *+' conftest.er1 >conftest.err
28458 rm -f conftest.er1
28459 cat conftest.err >&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } && {
28462 test -z "$ac_c_werror_flag" ||
28463 test ! -s conftest.err
28464 } && test -s conftest.$ac_objext; then
28465 ac_hi=$ac_mid
28466 else
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.$ac_ext >&5
28469
28470 ac_lo=`expr '(' $ac_mid ')' + 1`
28471 fi
28472
28473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28474 done
28475 case $ac_lo in
28476 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28477 '') if test "$ac_cv_type_boolean" = yes; then
28478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28479 See \`config.log' for more details." >&5
28480 echo "$as_me: error: cannot compute sizeof (boolean)
28481 See \`config.log' for more details." >&2;}
28482 { (exit 77); exit 77; }; }
28483 else
28484 ac_cv_sizeof_boolean=0
28485 fi ;;
28486 esac
28487 else
28488 cat >conftest.$ac_ext <<_ACEOF
28489 /* confdefs.h. */
28490 _ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494
28495 #undef HAVE_BOOLEAN
28496 #include <stdio.h>
28497 #include <jpeglib.h>
28498
28499
28500 typedef boolean ac__type_sizeof_;
28501 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28502 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28503 #include <stdio.h>
28504 #include <stdlib.h>
28505 int
28506 main ()
28507 {
28508
28509 FILE *f = fopen ("conftest.val", "w");
28510 if (! f)
28511 return 1;
28512 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28513 {
28514 long int i = longval ();
28515 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28516 return 1;
28517 fprintf (f, "%ld\n", i);
28518 }
28519 else
28520 {
28521 unsigned long int i = ulongval ();
28522 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28523 return 1;
28524 fprintf (f, "%lu\n", i);
28525 }
28526 return ferror (f) || fclose (f) != 0;
28527
28528 ;
28529 return 0;
28530 }
28531 _ACEOF
28532 rm -f conftest$ac_exeext
28533 if { (ac_try="$ac_link"
28534 case "(($ac_try" in
28535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28536 *) ac_try_echo=$ac_try;;
28537 esac
28538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28539 (eval "$ac_link") 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28543 { (case "(($ac_try" in
28544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28545 *) ac_try_echo=$ac_try;;
28546 esac
28547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28548 (eval "$ac_try") 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 ac_cv_sizeof_boolean=`cat conftest.val`
28553 else
28554 echo "$as_me: program exited with status $ac_status" >&5
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.$ac_ext >&5
28557
28558 ( exit $ac_status )
28559 if test "$ac_cv_type_boolean" = yes; then
28560 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28561 See \`config.log' for more details." >&5
28562 echo "$as_me: error: cannot compute sizeof (boolean)
28563 See \`config.log' for more details." >&2;}
28564 { (exit 77); exit 77; }; }
28565 else
28566 ac_cv_sizeof_boolean=0
28567 fi
28568 fi
28569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28570 fi
28571 rm -f conftest.val
28572 fi
28573 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28574 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28575
28576
28577
28578 cat >>confdefs.h <<_ACEOF
28579 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28580 _ACEOF
28581
28582
28583 cat >>confdefs.h <<_ACEOF
28584 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28585 _ACEOF
28586
28587
28588 fi
28589
28590 fi
28591 fi
28592 fi
28593 fi
28594 fi
28595
28596
28597 TIFF_LINK=
28598 TIFF_PREREQ_LINKS=-lm
28599 if test "$wxUSE_LIBTIFF" != "no" ; then
28600 cat >>confdefs.h <<\_ACEOF
28601 #define wxUSE_LIBTIFF 1
28602 _ACEOF
28603
28604
28605 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28606 if test "$wxUSE_LIBJPEG" = "sys"; then
28607 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28608 fi
28609 if test "$wxUSE_ZLIB" = "sys"; then
28610 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28611 fi
28612 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28613 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28614 if test "${ac_cv_header_tiffio_h+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 else
28617 cat >conftest.$ac_ext <<_ACEOF
28618 /* confdefs.h. */
28619 _ACEOF
28620 cat confdefs.h >>conftest.$ac_ext
28621 cat >>conftest.$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623
28624
28625
28626 #include <tiffio.h>
28627 _ACEOF
28628 rm -f conftest.$ac_objext
28629 if { (ac_try="$ac_compile"
28630 case "(($ac_try" in
28631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28632 *) ac_try_echo=$ac_try;;
28633 esac
28634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28635 (eval "$ac_compile") 2>conftest.er1
28636 ac_status=$?
28637 grep -v '^ *+' conftest.er1 >conftest.err
28638 rm -f conftest.er1
28639 cat conftest.err >&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } && {
28642 test -z "$ac_c_werror_flag" ||
28643 test ! -s conftest.err
28644 } && test -s conftest.$ac_objext; then
28645 ac_cv_header_tiffio_h=yes
28646 else
28647 echo "$as_me: failed program was:" >&5
28648 sed 's/^/| /' conftest.$ac_ext >&5
28649
28650 ac_cv_header_tiffio_h=no
28651 fi
28652
28653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28654 fi
28655 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28656 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28657 if test $ac_cv_header_tiffio_h = yes; then
28658
28659 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28660 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28661 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28662 echo $ECHO_N "(cached) $ECHO_C" >&6
28663 else
28664 ac_check_lib_save_LIBS=$LIBS
28665 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28666 cat >conftest.$ac_ext <<_ACEOF
28667 /* confdefs.h. */
28668 _ACEOF
28669 cat confdefs.h >>conftest.$ac_ext
28670 cat >>conftest.$ac_ext <<_ACEOF
28671 /* end confdefs.h. */
28672
28673 /* Override any GCC internal prototype to avoid an error.
28674 Use char because int might match the return type of a GCC
28675 builtin and then its argument prototype would still apply. */
28676 #ifdef __cplusplus
28677 extern "C"
28678 #endif
28679 char TIFFError ();
28680 int
28681 main ()
28682 {
28683 return TIFFError ();
28684 ;
28685 return 0;
28686 }
28687 _ACEOF
28688 rm -f conftest.$ac_objext conftest$ac_exeext
28689 if { (ac_try="$ac_link"
28690 case "(($ac_try" in
28691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28692 *) ac_try_echo=$ac_try;;
28693 esac
28694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28695 (eval "$ac_link") 2>conftest.er1
28696 ac_status=$?
28697 grep -v '^ *+' conftest.er1 >conftest.err
28698 rm -f conftest.er1
28699 cat conftest.err >&5
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); } && {
28702 test -z "$ac_c_werror_flag" ||
28703 test ! -s conftest.err
28704 } && test -s conftest$ac_exeext &&
28705 $as_test_x conftest$ac_exeext; then
28706 ac_cv_lib_tiff_TIFFError=yes
28707 else
28708 echo "$as_me: failed program was:" >&5
28709 sed 's/^/| /' conftest.$ac_ext >&5
28710
28711 ac_cv_lib_tiff_TIFFError=no
28712 fi
28713
28714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28715 conftest$ac_exeext conftest.$ac_ext
28716 LIBS=$ac_check_lib_save_LIBS
28717 fi
28718 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28719 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28720 if test $ac_cv_lib_tiff_TIFFError = yes; then
28721 TIFF_LINK=" -ltiff"
28722 fi
28723
28724
28725 fi
28726
28727
28728
28729 if test "x$TIFF_LINK" = "x" ; then
28730 if test "$wxUSE_LIBTIFF" = "sys" ; then
28731 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28732 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28733 { (exit 1); exit 1; }; }
28734 else
28735 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28736 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28737 wxUSE_LIBTIFF=builtin
28738 fi
28739 else
28740 wxUSE_LIBTIFF=sys
28741 fi
28742 fi
28743 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28744 if test "$wxUSE_LIBJPEG" = "no"; then
28745 ac_configure_args="$ac_configure_args --disable-jpeg"
28746 fi
28747 subdirs="$subdirs src/tiff"
28748
28749 fi
28750 fi
28751
28752
28753 if test "$wxUSE_WCHAR_T" != "yes"; then
28754 if test "$wxUSE_EXPAT" != "no"; then
28755 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28756 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28757 wxUSE_EXPAT=no
28758 fi
28759 if test "$wxUSE_XML" != "no"; then
28760 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28761 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28762 wxUSE_XML=no
28763 fi
28764 fi
28765
28766 if test "$wxUSE_EXPAT" != "no"; then
28767 wxUSE_XML=yes
28768 cat >>confdefs.h <<\_ACEOF
28769 #define wxUSE_EXPAT 1
28770 _ACEOF
28771
28772 cat >>confdefs.h <<\_ACEOF
28773 #define wxUSE_XML 1
28774 _ACEOF
28775
28776
28777 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28778 { echo "$as_me:$LINENO: checking for expat.h" >&5
28779 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28780 if test "${ac_cv_header_expat_h+set}" = set; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 else
28783 cat >conftest.$ac_ext <<_ACEOF
28784 /* confdefs.h. */
28785 _ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789
28790
28791 #include <expat.h>
28792 _ACEOF
28793 rm -f conftest.$ac_objext
28794 if { (ac_try="$ac_compile"
28795 case "(($ac_try" in
28796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28797 *) ac_try_echo=$ac_try;;
28798 esac
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_compile") 2>conftest.er1
28801 ac_status=$?
28802 grep -v '^ *+' conftest.er1 >conftest.err
28803 rm -f conftest.er1
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } && {
28807 test -z "$ac_c_werror_flag" ||
28808 test ! -s conftest.err
28809 } && test -s conftest.$ac_objext; then
28810 ac_cv_header_expat_h=yes
28811 else
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28814
28815 ac_cv_header_expat_h=no
28816 fi
28817
28818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28819 fi
28820 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28821 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28822 if test $ac_cv_header_expat_h = yes; then
28823 found_expat_h=1
28824 fi
28825
28826
28827 if test "x$found_expat_h" = "x1"; then
28828 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28829 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28830 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28832 else
28833
28834 ac_ext=cpp
28835 ac_cpp='$CXXCPP $CPPFLAGS'
28836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28839
28840 cat >conftest.$ac_ext <<_ACEOF
28841 /* confdefs.h. */
28842 _ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846 #include <expat.h>
28847 int
28848 main ()
28849 {
28850
28851 ;
28852 return 0;
28853 }
28854 _ACEOF
28855 rm -f conftest.$ac_objext
28856 if { (ac_try="$ac_compile"
28857 case "(($ac_try" in
28858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28860 esac
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_compile") 2>conftest.er1
28863 ac_status=$?
28864 grep -v '^ *+' conftest.er1 >conftest.err
28865 rm -f conftest.er1
28866 cat conftest.err >&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && {
28869 test -z "$ac_cxx_werror_flag" ||
28870 test ! -s conftest.err
28871 } && test -s conftest.$ac_objext; then
28872 wx_cv_expat_is_not_broken=yes
28873 else
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28876
28877 wx_cv_expat_is_not_broken=no
28878
28879 fi
28880
28881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28882 ac_ext=c
28883 ac_cpp='$CPP $CPPFLAGS'
28884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28887
28888
28889
28890 fi
28891 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28892 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28893 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28894 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28895 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28896 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28897 echo $ECHO_N "(cached) $ECHO_C" >&6
28898 else
28899 ac_check_lib_save_LIBS=$LIBS
28900 LIBS="-lexpat $LIBS"
28901 cat >conftest.$ac_ext <<_ACEOF
28902 /* confdefs.h. */
28903 _ACEOF
28904 cat confdefs.h >>conftest.$ac_ext
28905 cat >>conftest.$ac_ext <<_ACEOF
28906 /* end confdefs.h. */
28907
28908 /* Override any GCC internal prototype to avoid an error.
28909 Use char because int might match the return type of a GCC
28910 builtin and then its argument prototype would still apply. */
28911 #ifdef __cplusplus
28912 extern "C"
28913 #endif
28914 char XML_ParserCreate ();
28915 int
28916 main ()
28917 {
28918 return XML_ParserCreate ();
28919 ;
28920 return 0;
28921 }
28922 _ACEOF
28923 rm -f conftest.$ac_objext conftest$ac_exeext
28924 if { (ac_try="$ac_link"
28925 case "(($ac_try" in
28926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28927 *) ac_try_echo=$ac_try;;
28928 esac
28929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28930 (eval "$ac_link") 2>conftest.er1
28931 ac_status=$?
28932 grep -v '^ *+' conftest.er1 >conftest.err
28933 rm -f conftest.er1
28934 cat conftest.err >&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } && {
28937 test -z "$ac_c_werror_flag" ||
28938 test ! -s conftest.err
28939 } && test -s conftest$ac_exeext &&
28940 $as_test_x conftest$ac_exeext; then
28941 ac_cv_lib_expat_XML_ParserCreate=yes
28942 else
28943 echo "$as_me: failed program was:" >&5
28944 sed 's/^/| /' conftest.$ac_ext >&5
28945
28946 ac_cv_lib_expat_XML_ParserCreate=no
28947 fi
28948
28949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28950 conftest$ac_exeext conftest.$ac_ext
28951 LIBS=$ac_check_lib_save_LIBS
28952 fi
28953 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28954 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28955 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28956 EXPAT_LINK=" -lexpat"
28957 fi
28958
28959 fi
28960 fi
28961 if test "x$EXPAT_LINK" = "x" ; then
28962 if test "$wxUSE_EXPAT" = "sys" ; then
28963 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28964 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28965 { (exit 1); exit 1; }; }
28966 else
28967 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28968 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28969 wxUSE_EXPAT=builtin
28970 fi
28971 else
28972 wxUSE_EXPAT=sys
28973 fi
28974 fi
28975 if test "$wxUSE_EXPAT" = "builtin" ; then
28976 subdirs="$subdirs src/expat"
28977
28978 fi
28979 fi
28980
28981
28982
28983 if test "$wxUSE_LIBMSPACK" != "no"; then
28984 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28985 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28986 if test "${ac_cv_header_mspack_h+set}" = set; then
28987 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 else
28989 cat >conftest.$ac_ext <<_ACEOF
28990 /* confdefs.h. */
28991 _ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28995
28996
28997 #include <mspack.h>
28998 _ACEOF
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29004 esac
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29007 ac_status=$?
29008 grep -v '^ *+' conftest.er1 >conftest.err
29009 rm -f conftest.er1
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29016 ac_cv_header_mspack_h=yes
29017 else
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 ac_cv_header_mspack_h=no
29022 fi
29023
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29025 fi
29026 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29027 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29028 if test $ac_cv_header_mspack_h = yes; then
29029 found_mspack_h=1
29030 fi
29031
29032
29033 if test "x$found_mspack_h" = "x1"; then
29034 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29035 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29036 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29038 else
29039 ac_check_lib_save_LIBS=$LIBS
29040 LIBS="-lmspack $LIBS"
29041 cat >conftest.$ac_ext <<_ACEOF
29042 /* confdefs.h. */
29043 _ACEOF
29044 cat confdefs.h >>conftest.$ac_ext
29045 cat >>conftest.$ac_ext <<_ACEOF
29046 /* end confdefs.h. */
29047
29048 /* Override any GCC internal prototype to avoid an error.
29049 Use char because int might match the return type of a GCC
29050 builtin and then its argument prototype would still apply. */
29051 #ifdef __cplusplus
29052 extern "C"
29053 #endif
29054 char mspack_create_chm_decompressor ();
29055 int
29056 main ()
29057 {
29058 return mspack_create_chm_decompressor ();
29059 ;
29060 return 0;
29061 }
29062 _ACEOF
29063 rm -f conftest.$ac_objext conftest$ac_exeext
29064 if { (ac_try="$ac_link"
29065 case "(($ac_try" in
29066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29067 *) ac_try_echo=$ac_try;;
29068 esac
29069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29070 (eval "$ac_link") 2>conftest.er1
29071 ac_status=$?
29072 grep -v '^ *+' conftest.er1 >conftest.err
29073 rm -f conftest.er1
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } && {
29077 test -z "$ac_c_werror_flag" ||
29078 test ! -s conftest.err
29079 } && test -s conftest$ac_exeext &&
29080 $as_test_x conftest$ac_exeext; then
29081 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29082 else
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29085
29086 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29087 fi
29088
29089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29090 conftest$ac_exeext conftest.$ac_ext
29091 LIBS=$ac_check_lib_save_LIBS
29092 fi
29093 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29094 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29095 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29096 MSPACK_LINK=" -lmspack"
29097 fi
29098
29099 fi
29100 if test "x$MSPACK_LINK" = "x" ; then
29101 wxUSE_LIBMSPACK=no
29102 fi
29103 fi
29104
29105 if test "$wxUSE_LIBMSPACK" != "no"; then
29106 cat >>confdefs.h <<\_ACEOF
29107 #define wxUSE_LIBMSPACK 1
29108 _ACEOF
29109
29110 fi
29111
29112
29113
29114 AFMINSTALL=
29115 WIN32INSTALL=
29116
29117 TOOLKIT=
29118 TOOLKIT_INCLUDE=
29119 WIDGET_SET=
29120
29121 if test "$USE_WIN32" = 1 ; then
29122
29123 for ac_header in w32api.h
29124 do
29125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29129 echo $ECHO_N "(cached) $ECHO_C" >&6
29130 else
29131 cat >conftest.$ac_ext <<_ACEOF
29132 /* confdefs.h. */
29133 _ACEOF
29134 cat confdefs.h >>conftest.$ac_ext
29135 cat >>conftest.$ac_ext <<_ACEOF
29136 /* end confdefs.h. */
29137
29138
29139 #include <$ac_header>
29140 _ACEOF
29141 rm -f conftest.$ac_objext
29142 if { (ac_try="$ac_compile"
29143 case "(($ac_try" in
29144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29145 *) ac_try_echo=$ac_try;;
29146 esac
29147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29148 (eval "$ac_compile") 2>conftest.er1
29149 ac_status=$?
29150 grep -v '^ *+' conftest.er1 >conftest.err
29151 rm -f conftest.er1
29152 cat conftest.err >&5
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); } && {
29155 test -z "$ac_c_werror_flag" ||
29156 test ! -s conftest.err
29157 } && test -s conftest.$ac_objext; then
29158 eval "$as_ac_Header=yes"
29159 else
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29162
29163 eval "$as_ac_Header=no"
29164 fi
29165
29166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29167 fi
29168 ac_res=`eval echo '${'$as_ac_Header'}'`
29169 { echo "$as_me:$LINENO: result: $ac_res" >&5
29170 echo "${ECHO_T}$ac_res" >&6; }
29171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29172 cat >>confdefs.h <<_ACEOF
29173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29174 _ACEOF
29175
29176 fi
29177
29178 done
29179
29180 { echo "$as_me:$LINENO: checking for windows.h" >&5
29181 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29182 if test "${ac_cv_header_windows_h+set}" = set; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185 cat >conftest.$ac_ext <<_ACEOF
29186 /* confdefs.h. */
29187 _ACEOF
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191
29192
29193 #include <windows.h>
29194 _ACEOF
29195 rm -f conftest.$ac_objext
29196 if { (ac_try="$ac_compile"
29197 case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29200 esac
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_compile") 2>conftest.er1
29203 ac_status=$?
29204 grep -v '^ *+' conftest.er1 >conftest.err
29205 rm -f conftest.er1
29206 cat conftest.err >&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } && {
29209 test -z "$ac_c_werror_flag" ||
29210 test ! -s conftest.err
29211 } && test -s conftest.$ac_objext; then
29212 ac_cv_header_windows_h=yes
29213 else
29214 echo "$as_me: failed program was:" >&5
29215 sed 's/^/| /' conftest.$ac_ext >&5
29216
29217 ac_cv_header_windows_h=no
29218 fi
29219
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221 fi
29222 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29223 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29224 if test $ac_cv_header_windows_h = yes; then
29225 :
29226 else
29227
29228 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29229 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29230 { (exit 1); exit 1; }; }
29231
29232 fi
29233
29234
29235
29236 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29237 case "${host}" in
29238 x86_64-*-mingw32* )
29239 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29240 ;;
29241 esac
29242 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29243 LIBS="$LIBS -loleacc"
29244 fi
29245
29246 case "${host}" in
29247 *-*-cygwin* )
29248 LIBS="$LIBS -lkernel32 -luser32"
29249 esac
29250
29251 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29252 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29253
29254 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29255
29256 WIN32INSTALL=win32install
29257
29258 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29259 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29260 if test "${ac_cv_header_pbt_h+set}" = set; then
29261 echo $ECHO_N "(cached) $ECHO_C" >&6
29262 else
29263 cat >conftest.$ac_ext <<_ACEOF
29264 /* confdefs.h. */
29265 _ACEOF
29266 cat confdefs.h >>conftest.$ac_ext
29267 cat >>conftest.$ac_ext <<_ACEOF
29268 /* end confdefs.h. */
29269
29270
29271 #include <pbt.h>
29272 _ACEOF
29273 rm -f conftest.$ac_objext
29274 if { (ac_try="$ac_compile"
29275 case "(($ac_try" in
29276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29277 *) ac_try_echo=$ac_try;;
29278 esac
29279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29280 (eval "$ac_compile") 2>conftest.er1
29281 ac_status=$?
29282 grep -v '^ *+' conftest.er1 >conftest.err
29283 rm -f conftest.er1
29284 cat conftest.err >&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); } && {
29287 test -z "$ac_c_werror_flag" ||
29288 test ! -s conftest.err
29289 } && test -s conftest.$ac_objext; then
29290 ac_cv_header_pbt_h=yes
29291 else
29292 echo "$as_me: failed program was:" >&5
29293 sed 's/^/| /' conftest.$ac_ext >&5
29294
29295 ac_cv_header_pbt_h=no
29296 fi
29297
29298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29299 fi
29300 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29301 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29302 if test $ac_cv_header_pbt_h = yes; then
29303 :
29304 else
29305 cat >>confdefs.h <<\_ACEOF
29306 #define NEED_PBT_H 1
29307 _ACEOF
29308
29309 fi
29310
29311
29312 fi
29313
29314 if test "$wxUSE_GUI" = "yes"; then
29315 USE_GUI=1
29316
29317 GUI_TK_LIBRARY=
29318
29319 WXGTK12=
29320 WXGTK127=
29321 WXGTK2=
29322 WXGPE=
29323
29324 if test "$wxUSE_OLD_COCOA" = 1 ; then
29325 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29326 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29327 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29328 wxUSE_PRINTING_ARCHITECTURE=no
29329 fi
29330 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29331 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29332 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29333 wxUSE_DRAG_AND_DROP=no
29334 fi
29335 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29336 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29337 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29338 wxUSE_DRAGIMAGE=no
29339 fi
29340 fi
29341
29342 if test "$wxUSE_MSW" = 1 ; then
29343 TOOLKIT=MSW
29344 GUIDIST=MSW_DIST
29345
29346 case "${host}" in
29347 *-*-mingw32* )
29348 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29349 esac
29350 fi
29351
29352 if test "$wxUSE_GTK" = 1; then
29353 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29354 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29355
29356 gtk_version_cached=1
29357 if test "${wx_cv_lib_gtk+set}" = set; then
29358 echo $ECHO_N "(cached) $ECHO_C" >&6
29359 else
29360
29361 gtk_version_cached=0
29362 { echo "$as_me:$LINENO: result: " >&5
29363 echo "${ECHO_T}" >&6; }
29364
29365 GTK_MODULES=
29366 if test "$wxUSE_THREADS" = "yes"; then
29367 GTK_MODULES=gthread
29368 fi
29369
29370 wx_cv_lib_gtk=
29371 if test "x$wxGTK_VERSION" != "x1"
29372 then
29373 case "${host}" in
29374 *-*-solaris2* )
29375 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29376 enable_gtktest=no
29377 fi
29378 esac
29379
29380 # Check whether --enable-gtktest was given.
29381 if test "${enable_gtktest+set}" = set; then
29382 enableval=$enable_gtktest;
29383 else
29384 enable_gtktest=yes
29385 fi
29386
29387
29388 pkg_config_args=gtk+-2.0
29389 for module in . $GTK_MODULES
29390 do
29391 case "$module" in
29392 gthread)
29393 pkg_config_args="$pkg_config_args gthread-2.0"
29394 ;;
29395 esac
29396 done
29397
29398 no_gtk=""
29399
29400 # Extract the first word of "pkg-config", so it can be a program name with args.
29401 set dummy pkg-config; ac_word=$2
29402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29404 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29405 echo $ECHO_N "(cached) $ECHO_C" >&6
29406 else
29407 case $PKG_CONFIG in
29408 [\\/]* | ?:[\\/]*)
29409 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29410 ;;
29411 *)
29412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29413 for as_dir in $PATH
29414 do
29415 IFS=$as_save_IFS
29416 test -z "$as_dir" && as_dir=.
29417 for ac_exec_ext in '' $ac_executable_extensions; do
29418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29419 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29421 break 2
29422 fi
29423 done
29424 done
29425 IFS=$as_save_IFS
29426
29427 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29428 ;;
29429 esac
29430 fi
29431 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29432 if test -n "$PKG_CONFIG"; then
29433 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29434 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29435 else
29436 { echo "$as_me:$LINENO: result: no" >&5
29437 echo "${ECHO_T}no" >&6; }
29438 fi
29439
29440
29441
29442 if test x$PKG_CONFIG != xno ; then
29443 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29444 :
29445 else
29446 echo "*** pkg-config too old; version 0.7 or better required."
29447 no_gtk=yes
29448 PKG_CONFIG=no
29449 fi
29450 else
29451 no_gtk=yes
29452 fi
29453
29454 min_gtk_version=2.4.0
29455 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29456 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29457
29458 if test x$PKG_CONFIG != xno ; then
29459 ## don't try to run the test against uninstalled libtool libs
29460 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29461 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29462 enable_gtktest=no
29463 fi
29464
29465 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29466 :
29467 else
29468 no_gtk=yes
29469 fi
29470 fi
29471
29472 if test x"$no_gtk" = x ; then
29473 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29474 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29475 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29477 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29479 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29481 if test "x$enable_gtktest" = "xyes" ; then
29482 ac_save_CFLAGS="$CFLAGS"
29483 ac_save_LIBS="$LIBS"
29484 CFLAGS="$CFLAGS $GTK_CFLAGS"
29485 LIBS="$GTK_LIBS $LIBS"
29486 rm -f conf.gtktest
29487 if test "$cross_compiling" = yes; then
29488 echo $ac_n "cross compiling; assumed OK... $ac_c"
29489 else
29490 cat >conftest.$ac_ext <<_ACEOF
29491 /* confdefs.h. */
29492 _ACEOF
29493 cat confdefs.h >>conftest.$ac_ext
29494 cat >>conftest.$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496
29497 #include <gtk/gtk.h>
29498 #include <stdio.h>
29499 #include <stdlib.h>
29500
29501 int
29502 main ()
29503 {
29504 int major, minor, micro;
29505 char *tmp_version;
29506
29507 system ("touch conf.gtktest");
29508
29509 /* HP/UX 9 (%@#!) writes to sscanf strings */
29510 tmp_version = g_strdup("$min_gtk_version");
29511 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29512 printf("%s, bad version string\n", "$min_gtk_version");
29513 exit(1);
29514 }
29515
29516 if ((gtk_major_version != $gtk_config_major_version) ||
29517 (gtk_minor_version != $gtk_config_minor_version) ||
29518 (gtk_micro_version != $gtk_config_micro_version))
29519 {
29520 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29521 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29522 gtk_major_version, gtk_minor_version, gtk_micro_version);
29523 printf ("*** was found! If pkg-config was correct, then it is best\n");
29524 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29525 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29526 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29527 printf("*** required on your system.\n");
29528 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29529 printf("*** to point to the correct configuration files\n");
29530 }
29531 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29532 (gtk_minor_version != GTK_MINOR_VERSION) ||
29533 (gtk_micro_version != GTK_MICRO_VERSION))
29534 {
29535 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29536 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29537 printf("*** library (version %d.%d.%d)\n",
29538 gtk_major_version, gtk_minor_version, gtk_micro_version);
29539 }
29540 else
29541 {
29542 if ((gtk_major_version > major) ||
29543 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29544 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29545 {
29546 return 0;
29547 }
29548 else
29549 {
29550 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29551 gtk_major_version, gtk_minor_version, gtk_micro_version);
29552 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29553 major, minor, micro);
29554 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29555 printf("***\n");
29556 printf("*** If you have already installed a sufficiently new version, this error\n");
29557 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29558 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29559 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29560 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29561 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29562 printf("*** so that the correct libraries are found at run-time))\n");
29563 }
29564 }
29565 return 1;
29566 }
29567
29568 _ACEOF
29569 rm -f conftest$ac_exeext
29570 if { (ac_try="$ac_link"
29571 case "(($ac_try" in
29572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29573 *) ac_try_echo=$ac_try;;
29574 esac
29575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29576 (eval "$ac_link") 2>&5
29577 ac_status=$?
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29580 { (case "(($ac_try" in
29581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29582 *) ac_try_echo=$ac_try;;
29583 esac
29584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29585 (eval "$ac_try") 2>&5
29586 ac_status=$?
29587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588 (exit $ac_status); }; }; then
29589 :
29590 else
29591 echo "$as_me: program exited with status $ac_status" >&5
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.$ac_ext >&5
29594
29595 ( exit $ac_status )
29596 no_gtk=yes
29597 fi
29598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29599 fi
29600
29601
29602 CFLAGS="$ac_save_CFLAGS"
29603 LIBS="$ac_save_LIBS"
29604 fi
29605 fi
29606 if test "x$no_gtk" = x ; then
29607 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29608 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29609 wx_cv_lib_gtk=2.0
29610 else
29611 { echo "$as_me:$LINENO: result: no" >&5
29612 echo "${ECHO_T}no" >&6; }
29613 if test "$PKG_CONFIG" = "no" ; then
29614 echo "*** A new enough version of pkg-config was not found."
29615 echo "*** See http://pkgconfig.sourceforge.net"
29616 else
29617 if test -f conf.gtktest ; then
29618 :
29619 else
29620 echo "*** Could not run GTK+ test program, checking why..."
29621 ac_save_CFLAGS="$CFLAGS"
29622 ac_save_LIBS="$LIBS"
29623 CFLAGS="$CFLAGS $GTK_CFLAGS"
29624 LIBS="$LIBS $GTK_LIBS"
29625 cat >conftest.$ac_ext <<_ACEOF
29626 /* confdefs.h. */
29627 _ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631
29632 #include <gtk/gtk.h>
29633 #include <stdio.h>
29634
29635 int
29636 main ()
29637 {
29638 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29639 ;
29640 return 0;
29641 }
29642 _ACEOF
29643 rm -f conftest.$ac_objext conftest$ac_exeext
29644 if { (ac_try="$ac_link"
29645 case "(($ac_try" in
29646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29647 *) ac_try_echo=$ac_try;;
29648 esac
29649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29650 (eval "$ac_link") 2>conftest.er1
29651 ac_status=$?
29652 grep -v '^ *+' conftest.er1 >conftest.err
29653 rm -f conftest.er1
29654 cat conftest.err >&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } && {
29657 test -z "$ac_c_werror_flag" ||
29658 test ! -s conftest.err
29659 } && test -s conftest$ac_exeext &&
29660 $as_test_x conftest$ac_exeext; then
29661 echo "*** The test program compiled, but did not run. This usually means"
29662 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29663 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29664 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29665 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29666 echo "*** is required on your system"
29667 echo "***"
29668 echo "*** If you have an old version installed, it is best to remove it, although"
29669 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29670 else
29671 echo "$as_me: failed program was:" >&5
29672 sed 's/^/| /' conftest.$ac_ext >&5
29673
29674 echo "*** The test program failed to compile or link. See the file config.log for the"
29675 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29676 fi
29677
29678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29679 conftest$ac_exeext conftest.$ac_ext
29680 CFLAGS="$ac_save_CFLAGS"
29681 LIBS="$ac_save_LIBS"
29682 fi
29683 fi
29684 GTK_CFLAGS=""
29685 GTK_LIBS=""
29686 :
29687 fi
29688
29689
29690 rm -f conf.gtktest
29691
29692
29693 case "${host}" in
29694 *-*-solaris2* )
29695 if test "$wxUSE_SHARED" != "yes"; then
29696 GTK_LIBS="$GTK_LIBS -lX11"
29697 fi
29698 esac
29699 fi
29700
29701 if test -z "$wx_cv_lib_gtk"; then
29702 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29703
29704 # Check whether --with-gtk-prefix was given.
29705 if test "${with_gtk_prefix+set}" = set; then
29706 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29707 else
29708 gtk_config_prefix=""
29709 fi
29710
29711
29712 # Check whether --with-gtk-exec-prefix was given.
29713 if test "${with_gtk_exec_prefix+set}" = set; then
29714 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29715 else
29716 gtk_config_exec_prefix=""
29717 fi
29718
29719 # Check whether --enable-gtktest was given.
29720 if test "${enable_gtktest+set}" = set; then
29721 enableval=$enable_gtktest;
29722 else
29723 enable_gtktest=yes
29724 fi
29725
29726
29727 for module in . $GTK_MODULES
29728 do
29729 case "$module" in
29730 gthread)
29731 gtk_config_args="$gtk_config_args gthread"
29732 ;;
29733 esac
29734 done
29735
29736 if test x$gtk_config_exec_prefix != x ; then
29737 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29738 if test x${GTK_CONFIG+set} != xset ; then
29739 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29740 fi
29741 fi
29742 if test x$gtk_config_prefix != x ; then
29743 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29744 if test x${GTK_CONFIG+set} != xset ; then
29745 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29746 fi
29747 fi
29748
29749 # Extract the first word of "gtk-config", so it can be a program name with args.
29750 set dummy gtk-config; ac_word=$2
29751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29753 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29754 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 else
29756 case $GTK_CONFIG in
29757 [\\/]* | ?:[\\/]*)
29758 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29759 ;;
29760 *)
29761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29762 for as_dir in $PATH
29763 do
29764 IFS=$as_save_IFS
29765 test -z "$as_dir" && as_dir=.
29766 for ac_exec_ext in '' $ac_executable_extensions; do
29767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29768 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29770 break 2
29771 fi
29772 done
29773 done
29774 IFS=$as_save_IFS
29775
29776 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29777 ;;
29778 esac
29779 fi
29780 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29781 if test -n "$GTK_CONFIG"; then
29782 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29783 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29784 else
29785 { echo "$as_me:$LINENO: result: no" >&5
29786 echo "${ECHO_T}no" >&6; }
29787 fi
29788
29789
29790 min_gtk_version=1.2.7
29791 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29792 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29793 no_gtk=""
29794 if test "$GTK_CONFIG" = "no" ; then
29795 no_gtk=yes
29796 else
29797 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29798 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29799 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29801 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29803 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29805 if test "x$enable_gtktest" = "xyes" ; then
29806 ac_save_CFLAGS="$CFLAGS"
29807 ac_save_LIBS="$LIBS"
29808 CFLAGS="$CFLAGS $GTK_CFLAGS"
29809 LIBS="$GTK_LIBS $LIBS"
29810 rm -f conf.gtktest
29811 if test "$cross_compiling" = yes; then
29812 echo $ac_n "cross compiling; assumed OK... $ac_c"
29813 else
29814 cat >conftest.$ac_ext <<_ACEOF
29815 /* confdefs.h. */
29816 _ACEOF
29817 cat confdefs.h >>conftest.$ac_ext
29818 cat >>conftest.$ac_ext <<_ACEOF
29819 /* end confdefs.h. */
29820
29821 #include <gtk/gtk.h>
29822 #include <stdio.h>
29823 #include <stdlib.h>
29824
29825 int
29826 main ()
29827 {
29828 int major, minor, micro;
29829 char *tmp_version;
29830
29831 system ("touch conf.gtktest");
29832
29833 /* HP/UX 9 (%@#!) writes to sscanf strings */
29834 tmp_version = g_strdup("$min_gtk_version");
29835 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29836 printf("%s, bad version string\n", "$min_gtk_version");
29837 exit(1);
29838 }
29839
29840 if ((gtk_major_version != $gtk_config_major_version) ||
29841 (gtk_minor_version != $gtk_config_minor_version) ||
29842 (gtk_micro_version != $gtk_config_micro_version))
29843 {
29844 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29845 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29846 gtk_major_version, gtk_minor_version, gtk_micro_version);
29847 printf ("*** was found! If gtk-config was correct, then it is best\n");
29848 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29849 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29850 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29851 printf("*** required on your system.\n");
29852 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29853 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29854 printf("*** before re-running configure\n");
29855 }
29856 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29857 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29858 (gtk_minor_version != GTK_MINOR_VERSION) ||
29859 (gtk_micro_version != GTK_MICRO_VERSION))
29860 {
29861 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29862 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29863 printf("*** library (version %d.%d.%d)\n",
29864 gtk_major_version, gtk_minor_version, gtk_micro_version);
29865 }
29866 #endif /* defined (GTK_MAJOR_VERSION) ... */
29867 else
29868 {
29869 if ((gtk_major_version > major) ||
29870 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29871 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29872 {
29873 return 0;
29874 }
29875 else
29876 {
29877 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29878 gtk_major_version, gtk_minor_version, gtk_micro_version);
29879 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29880 major, minor, micro);
29881 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29882 printf("***\n");
29883 printf("*** If you have already installed a sufficiently new version, this error\n");
29884 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29885 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29886 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29887 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29888 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29889 printf("*** so that the correct libraries are found at run-time))\n");
29890 }
29891 }
29892 return 1;
29893 }
29894
29895 _ACEOF
29896 rm -f conftest$ac_exeext
29897 if { (ac_try="$ac_link"
29898 case "(($ac_try" in
29899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29900 *) ac_try_echo=$ac_try;;
29901 esac
29902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29903 (eval "$ac_link") 2>&5
29904 ac_status=$?
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29907 { (case "(($ac_try" in
29908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29909 *) ac_try_echo=$ac_try;;
29910 esac
29911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29912 (eval "$ac_try") 2>&5
29913 ac_status=$?
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); }; }; then
29916 :
29917 else
29918 echo "$as_me: program exited with status $ac_status" >&5
29919 echo "$as_me: failed program was:" >&5
29920 sed 's/^/| /' conftest.$ac_ext >&5
29921
29922 ( exit $ac_status )
29923 no_gtk=yes
29924 fi
29925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29926 fi
29927
29928
29929 CFLAGS="$ac_save_CFLAGS"
29930 LIBS="$ac_save_LIBS"
29931 fi
29932 fi
29933 if test "x$no_gtk" = x ; then
29934 { echo "$as_me:$LINENO: result: yes" >&5
29935 echo "${ECHO_T}yes" >&6; }
29936 wx_cv_lib_gtk=1.2.7
29937 else
29938 { echo "$as_me:$LINENO: result: no" >&5
29939 echo "${ECHO_T}no" >&6; }
29940 if test "$GTK_CONFIG" = "no" ; then
29941 echo "*** The gtk-config script installed by GTK could not be found"
29942 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29943 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29944 echo "*** full path to gtk-config."
29945 else
29946 if test -f conf.gtktest ; then
29947 :
29948 else
29949 echo "*** Could not run GTK test program, checking why..."
29950 CFLAGS="$CFLAGS $GTK_CFLAGS"
29951 LIBS="$LIBS $GTK_LIBS"
29952 cat >conftest.$ac_ext <<_ACEOF
29953 /* confdefs.h. */
29954 _ACEOF
29955 cat confdefs.h >>conftest.$ac_ext
29956 cat >>conftest.$ac_ext <<_ACEOF
29957 /* end confdefs.h. */
29958
29959 #include <gtk/gtk.h>
29960 #include <stdio.h>
29961
29962 int
29963 main ()
29964 {
29965 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29966 ;
29967 return 0;
29968 }
29969 _ACEOF
29970 rm -f conftest.$ac_objext conftest$ac_exeext
29971 if { (ac_try="$ac_link"
29972 case "(($ac_try" in
29973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29974 *) ac_try_echo=$ac_try;;
29975 esac
29976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29977 (eval "$ac_link") 2>conftest.er1
29978 ac_status=$?
29979 grep -v '^ *+' conftest.er1 >conftest.err
29980 rm -f conftest.er1
29981 cat conftest.err >&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } && {
29984 test -z "$ac_c_werror_flag" ||
29985 test ! -s conftest.err
29986 } && test -s conftest$ac_exeext &&
29987 $as_test_x conftest$ac_exeext; then
29988 echo "*** The test program compiled, but did not run. This usually means"
29989 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29990 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29991 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29992 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29993 echo "*** is required on your system"
29994 echo "***"
29995 echo "*** If you have an old version installed, it is best to remove it, although"
29996 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29997 echo "***"
29998 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29999 echo "*** came with the system with the command"
30000 echo "***"
30001 echo "*** rpm --erase --nodeps gtk gtk-devel"
30002 else
30003 echo "$as_me: failed program was:" >&5
30004 sed 's/^/| /' conftest.$ac_ext >&5
30005
30006 echo "*** The test program failed to compile or link. See the file config.log for the"
30007 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30008 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30009 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30010 fi
30011
30012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30013 conftest$ac_exeext conftest.$ac_ext
30014 CFLAGS="$ac_save_CFLAGS"
30015 LIBS="$ac_save_LIBS"
30016 fi
30017 fi
30018 GTK_CFLAGS=""
30019 GTK_LIBS=""
30020 :
30021 fi
30022
30023
30024 rm -f conf.gtktest
30025
30026
30027 if test -z "$wx_cv_lib_gtk"; then
30028
30029 # Check whether --with-gtk-prefix was given.
30030 if test "${with_gtk_prefix+set}" = set; then
30031 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30032 else
30033 gtk_config_prefix=""
30034 fi
30035
30036
30037 # Check whether --with-gtk-exec-prefix was given.
30038 if test "${with_gtk_exec_prefix+set}" = set; then
30039 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30040 else
30041 gtk_config_exec_prefix=""
30042 fi
30043
30044 # Check whether --enable-gtktest was given.
30045 if test "${enable_gtktest+set}" = set; then
30046 enableval=$enable_gtktest;
30047 else
30048 enable_gtktest=yes
30049 fi
30050
30051
30052 for module in . $GTK_MODULES
30053 do
30054 case "$module" in
30055 gthread)
30056 gtk_config_args="$gtk_config_args gthread"
30057 ;;
30058 esac
30059 done
30060
30061 if test x$gtk_config_exec_prefix != x ; then
30062 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30063 if test x${GTK_CONFIG+set} != xset ; then
30064 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30065 fi
30066 fi
30067 if test x$gtk_config_prefix != x ; then
30068 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30069 if test x${GTK_CONFIG+set} != xset ; then
30070 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30071 fi
30072 fi
30073
30074 # Extract the first word of "gtk-config", so it can be a program name with args.
30075 set dummy gtk-config; ac_word=$2
30076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30078 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30081 case $GTK_CONFIG in
30082 [\\/]* | ?:[\\/]*)
30083 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30084 ;;
30085 *)
30086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30087 for as_dir in $PATH
30088 do
30089 IFS=$as_save_IFS
30090 test -z "$as_dir" && as_dir=.
30091 for ac_exec_ext in '' $ac_executable_extensions; do
30092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30093 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30095 break 2
30096 fi
30097 done
30098 done
30099 IFS=$as_save_IFS
30100
30101 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30102 ;;
30103 esac
30104 fi
30105 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30106 if test -n "$GTK_CONFIG"; then
30107 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30108 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30109 else
30110 { echo "$as_me:$LINENO: result: no" >&5
30111 echo "${ECHO_T}no" >&6; }
30112 fi
30113
30114
30115 min_gtk_version=1.2.3
30116 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30117 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30118 no_gtk=""
30119 if test "$GTK_CONFIG" = "no" ; then
30120 no_gtk=yes
30121 else
30122 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30123 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30124 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30126 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30128 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30130 if test "x$enable_gtktest" = "xyes" ; then
30131 ac_save_CFLAGS="$CFLAGS"
30132 ac_save_LIBS="$LIBS"
30133 CFLAGS="$CFLAGS $GTK_CFLAGS"
30134 LIBS="$GTK_LIBS $LIBS"
30135 rm -f conf.gtktest
30136 if test "$cross_compiling" = yes; then
30137 echo $ac_n "cross compiling; assumed OK... $ac_c"
30138 else
30139 cat >conftest.$ac_ext <<_ACEOF
30140 /* confdefs.h. */
30141 _ACEOF
30142 cat confdefs.h >>conftest.$ac_ext
30143 cat >>conftest.$ac_ext <<_ACEOF
30144 /* end confdefs.h. */
30145
30146 #include <gtk/gtk.h>
30147 #include <stdio.h>
30148 #include <stdlib.h>
30149
30150 int
30151 main ()
30152 {
30153 int major, minor, micro;
30154 char *tmp_version;
30155
30156 system ("touch conf.gtktest");
30157
30158 /* HP/UX 9 (%@#!) writes to sscanf strings */
30159 tmp_version = g_strdup("$min_gtk_version");
30160 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30161 printf("%s, bad version string\n", "$min_gtk_version");
30162 exit(1);
30163 }
30164
30165 if ((gtk_major_version != $gtk_config_major_version) ||
30166 (gtk_minor_version != $gtk_config_minor_version) ||
30167 (gtk_micro_version != $gtk_config_micro_version))
30168 {
30169 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30170 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30171 gtk_major_version, gtk_minor_version, gtk_micro_version);
30172 printf ("*** was found! If gtk-config was correct, then it is best\n");
30173 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30174 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30175 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30176 printf("*** required on your system.\n");
30177 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30178 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30179 printf("*** before re-running configure\n");
30180 }
30181 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30182 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30183 (gtk_minor_version != GTK_MINOR_VERSION) ||
30184 (gtk_micro_version != GTK_MICRO_VERSION))
30185 {
30186 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30187 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30188 printf("*** library (version %d.%d.%d)\n",
30189 gtk_major_version, gtk_minor_version, gtk_micro_version);
30190 }
30191 #endif /* defined (GTK_MAJOR_VERSION) ... */
30192 else
30193 {
30194 if ((gtk_major_version > major) ||
30195 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30196 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30197 {
30198 return 0;
30199 }
30200 else
30201 {
30202 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30203 gtk_major_version, gtk_minor_version, gtk_micro_version);
30204 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30205 major, minor, micro);
30206 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30207 printf("***\n");
30208 printf("*** If you have already installed a sufficiently new version, this error\n");
30209 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30210 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30211 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30212 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30213 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30214 printf("*** so that the correct libraries are found at run-time))\n");
30215 }
30216 }
30217 return 1;
30218 }
30219
30220 _ACEOF
30221 rm -f conftest$ac_exeext
30222 if { (ac_try="$ac_link"
30223 case "(($ac_try" in
30224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30225 *) ac_try_echo=$ac_try;;
30226 esac
30227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30228 (eval "$ac_link") 2>&5
30229 ac_status=$?
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30232 { (case "(($ac_try" in
30233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30234 *) ac_try_echo=$ac_try;;
30235 esac
30236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30237 (eval "$ac_try") 2>&5
30238 ac_status=$?
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); }; }; then
30241 :
30242 else
30243 echo "$as_me: program exited with status $ac_status" >&5
30244 echo "$as_me: failed program was:" >&5
30245 sed 's/^/| /' conftest.$ac_ext >&5
30246
30247 ( exit $ac_status )
30248 no_gtk=yes
30249 fi
30250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30251 fi
30252
30253
30254 CFLAGS="$ac_save_CFLAGS"
30255 LIBS="$ac_save_LIBS"
30256 fi
30257 fi
30258 if test "x$no_gtk" = x ; then
30259 { echo "$as_me:$LINENO: result: yes" >&5
30260 echo "${ECHO_T}yes" >&6; }
30261 wx_cv_lib_gtk=1.2.3
30262 else
30263 { echo "$as_me:$LINENO: result: no" >&5
30264 echo "${ECHO_T}no" >&6; }
30265 if test "$GTK_CONFIG" = "no" ; then
30266 echo "*** The gtk-config script installed by GTK could not be found"
30267 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30268 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30269 echo "*** full path to gtk-config."
30270 else
30271 if test -f conf.gtktest ; then
30272 :
30273 else
30274 echo "*** Could not run GTK test program, checking why..."
30275 CFLAGS="$CFLAGS $GTK_CFLAGS"
30276 LIBS="$LIBS $GTK_LIBS"
30277 cat >conftest.$ac_ext <<_ACEOF
30278 /* confdefs.h. */
30279 _ACEOF
30280 cat confdefs.h >>conftest.$ac_ext
30281 cat >>conftest.$ac_ext <<_ACEOF
30282 /* end confdefs.h. */
30283
30284 #include <gtk/gtk.h>
30285 #include <stdio.h>
30286
30287 int
30288 main ()
30289 {
30290 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30291 ;
30292 return 0;
30293 }
30294 _ACEOF
30295 rm -f conftest.$ac_objext conftest$ac_exeext
30296 if { (ac_try="$ac_link"
30297 case "(($ac_try" in
30298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30299 *) ac_try_echo=$ac_try;;
30300 esac
30301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30302 (eval "$ac_link") 2>conftest.er1
30303 ac_status=$?
30304 grep -v '^ *+' conftest.er1 >conftest.err
30305 rm -f conftest.er1
30306 cat conftest.err >&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); } && {
30309 test -z "$ac_c_werror_flag" ||
30310 test ! -s conftest.err
30311 } && test -s conftest$ac_exeext &&
30312 $as_test_x conftest$ac_exeext; then
30313 echo "*** The test program compiled, but did not run. This usually means"
30314 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30315 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30316 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30317 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30318 echo "*** is required on your system"
30319 echo "***"
30320 echo "*** If you have an old version installed, it is best to remove it, although"
30321 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30322 echo "***"
30323 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30324 echo "*** came with the system with the command"
30325 echo "***"
30326 echo "*** rpm --erase --nodeps gtk gtk-devel"
30327 else
30328 echo "$as_me: failed program was:" >&5
30329 sed 's/^/| /' conftest.$ac_ext >&5
30330
30331 echo "*** The test program failed to compile or link. See the file config.log for the"
30332 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30333 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30334 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30335 fi
30336
30337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30338 conftest$ac_exeext conftest.$ac_ext
30339 CFLAGS="$ac_save_CFLAGS"
30340 LIBS="$ac_save_LIBS"
30341 fi
30342 fi
30343 GTK_CFLAGS=""
30344 GTK_LIBS=""
30345 :
30346 fi
30347
30348
30349 rm -f conf.gtktest
30350
30351 fi
30352 fi
30353 fi
30354
30355 if test -z "$wx_cv_lib_gtk"; then
30356 wx_cv_lib_gtk=none
30357 else
30358 wx_cv_cflags_gtk=$GTK_CFLAGS
30359 wx_cv_libs_gtk=$GTK_LIBS
30360 fi
30361
30362
30363 fi
30364
30365
30366 if test "$gtk_version_cached" = 1; then
30367 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30368 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30369 fi
30370
30371 case "$wx_cv_lib_gtk" in
30372 2.0) WXGTK2=1
30373 TOOLKIT_VERSION=2
30374 ;;
30375 1.2.7) WXGTK127=1
30376 WXGTK12=1
30377 ;;
30378 1.2.3) WXGTK12=1
30379 ;;
30380 *) { { echo "$as_me:$LINENO: error:
30381 The development files for GTK+ were not found. For GTK+ 2, please
30382 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30383 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30384 and that the version is 1.2.3 or above. Also check that the
30385 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30386 --libs' are in the LD_LIBRARY_PATH or equivalent.
30387 " >&5
30388 echo "$as_me: error:
30389 The development files for GTK+ were not found. For GTK+ 2, please
30390 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30391 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30392 and that the version is 1.2.3 or above. Also check that the
30393 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30394 --libs' are in the LD_LIBRARY_PATH or equivalent.
30395 " >&2;}
30396 { (exit 1); exit 1; }; }
30397 ;;
30398 esac
30399
30400 if test "$WXGTK2" = 1; then
30401 save_CFLAGS="$CFLAGS"
30402 save_LIBS="$LIBS"
30403 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30404 LIBS="$LIBS $wx_cv_libs_gtk"
30405
30406 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30407 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30408 cat >conftest.$ac_ext <<_ACEOF
30409 /* confdefs.h. */
30410 _ACEOF
30411 cat confdefs.h >>conftest.$ac_ext
30412 cat >>conftest.$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414
30415 #include <gtk/gtk.h>
30416
30417 int
30418 main ()
30419 {
30420
30421 #if !GTK_CHECK_VERSION(2,18,0)
30422 Not GTK+ 2.18
30423 #endif
30424
30425 ;
30426 return 0;
30427 }
30428 _ACEOF
30429 rm -f conftest.$ac_objext
30430 if { (ac_try="$ac_compile"
30431 case "(($ac_try" in
30432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30433 *) ac_try_echo=$ac_try;;
30434 esac
30435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30436 (eval "$ac_compile") 2>conftest.er1
30437 ac_status=$?
30438 grep -v '^ *+' conftest.er1 >conftest.err
30439 rm -f conftest.er1
30440 cat conftest.err >&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); } && {
30443 test -z "$ac_c_werror_flag" ||
30444 test ! -s conftest.err
30445 } && test -s conftest.$ac_objext; then
30446
30447 cat >>confdefs.h <<\_ACEOF
30448 #define __WXGTK218__ 1
30449 _ACEOF
30450
30451 cat >>confdefs.h <<\_ACEOF
30452 #define __WXGTK210__ 1
30453 _ACEOF
30454
30455 cat >>confdefs.h <<\_ACEOF
30456 #define __WXGTK26__ 1
30457 _ACEOF
30458
30459 { echo "$as_me:$LINENO: result: yes" >&5
30460 echo "${ECHO_T}yes" >&6; }
30461 ac_wxgtk218=1
30462
30463 else
30464 echo "$as_me: failed program was:" >&5
30465 sed 's/^/| /' conftest.$ac_ext >&5
30466
30467
30468 { echo "$as_me:$LINENO: result: no" >&5
30469 echo "${ECHO_T}no" >&6; }
30470 ac_wxgtk218=0
30471
30472 fi
30473
30474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30475
30476 if test "$ac_wxgtk218" = 0; then
30477 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30478 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30479 cat >conftest.$ac_ext <<_ACEOF
30480 /* confdefs.h. */
30481 _ACEOF
30482 cat confdefs.h >>conftest.$ac_ext
30483 cat >>conftest.$ac_ext <<_ACEOF
30484 /* end confdefs.h. */
30485
30486 #include <gtk/gtk.h>
30487
30488 int
30489 main ()
30490 {
30491
30492 #if !GTK_CHECK_VERSION(2,10,0)
30493 Not GTK+ 2.10
30494 #endif
30495
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 rm -f conftest.$ac_objext
30501 if { (ac_try="$ac_compile"
30502 case "(($ac_try" in
30503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30504 *) ac_try_echo=$ac_try;;
30505 esac
30506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30507 (eval "$ac_compile") 2>conftest.er1
30508 ac_status=$?
30509 grep -v '^ *+' conftest.er1 >conftest.err
30510 rm -f conftest.er1
30511 cat conftest.err >&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); } && {
30514 test -z "$ac_c_werror_flag" ||
30515 test ! -s conftest.err
30516 } && test -s conftest.$ac_objext; then
30517
30518 cat >>confdefs.h <<\_ACEOF
30519 #define __WXGTK210__ 1
30520 _ACEOF
30521
30522 cat >>confdefs.h <<\_ACEOF
30523 #define __WXGTK26__ 1
30524 _ACEOF
30525
30526 { echo "$as_me:$LINENO: result: yes" >&5
30527 echo "${ECHO_T}yes" >&6; }
30528 ac_wxgtk210=1
30529
30530 else
30531 echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.$ac_ext >&5
30533
30534
30535 { echo "$as_me:$LINENO: result: no" >&5
30536 echo "${ECHO_T}no" >&6; }
30537 ac_wxgtk210=0
30538
30539 fi
30540
30541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30542
30543 if test "$ac_wxgtk210" = 0; then
30544 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30545 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30546 cat >conftest.$ac_ext <<_ACEOF
30547 /* confdefs.h. */
30548 _ACEOF
30549 cat confdefs.h >>conftest.$ac_ext
30550 cat >>conftest.$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552
30553 #include <gtk/gtk.h>
30554
30555 int
30556 main ()
30557 {
30558
30559 #if !GTK_CHECK_VERSION(2,6,0)
30560 Not GTK+ 2.6
30561 #endif
30562
30563 ;
30564 return 0;
30565 }
30566 _ACEOF
30567 rm -f conftest.$ac_objext
30568 if { (ac_try="$ac_compile"
30569 case "(($ac_try" in
30570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30571 *) ac_try_echo=$ac_try;;
30572 esac
30573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30574 (eval "$ac_compile") 2>conftest.er1
30575 ac_status=$?
30576 grep -v '^ *+' conftest.er1 >conftest.err
30577 rm -f conftest.er1
30578 cat conftest.err >&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } && {
30581 test -z "$ac_c_werror_flag" ||
30582 test ! -s conftest.err
30583 } && test -s conftest.$ac_objext; then
30584
30585 cat >>confdefs.h <<\_ACEOF
30586 #define __WXGTK26__ 1
30587 _ACEOF
30588
30589 { echo "$as_me:$LINENO: result: yes" >&5
30590 echo "${ECHO_T}yes" >&6; }
30591 ac_wxgtk26=1
30592
30593 else
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.$ac_ext >&5
30596
30597
30598 { echo "$as_me:$LINENO: result: no" >&5
30599 echo "${ECHO_T}no" >&6; }
30600 ac_wxgtk26=0
30601
30602 fi
30603
30604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30605 fi
30606 fi
30607
30608 CFLAGS="$save_CFLAGS"
30609 LIBS="$save_LIBS"
30610 else
30611 if test "$wxUSE_UNICODE" = "yes"; then
30612 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30613 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30614 wxUSE_UNICODE=no
30615 fi
30616
30617 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30618 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30619 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30620 echo $ECHO_N "(cached) $ECHO_C" >&6
30621 else
30622 ac_check_lib_save_LIBS=$LIBS
30623 LIBS="-lgdk $LIBS"
30624 cat >conftest.$ac_ext <<_ACEOF
30625 /* confdefs.h. */
30626 _ACEOF
30627 cat confdefs.h >>conftest.$ac_ext
30628 cat >>conftest.$ac_ext <<_ACEOF
30629 /* end confdefs.h. */
30630
30631 /* Override any GCC internal prototype to avoid an error.
30632 Use char because int might match the return type of a GCC
30633 builtin and then its argument prototype would still apply. */
30634 #ifdef __cplusplus
30635 extern "C"
30636 #endif
30637 char gdk_im_open ();
30638 int
30639 main ()
30640 {
30641 return gdk_im_open ();
30642 ;
30643 return 0;
30644 }
30645 _ACEOF
30646 rm -f conftest.$ac_objext conftest$ac_exeext
30647 if { (ac_try="$ac_link"
30648 case "(($ac_try" in
30649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30650 *) ac_try_echo=$ac_try;;
30651 esac
30652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30653 (eval "$ac_link") 2>conftest.er1
30654 ac_status=$?
30655 grep -v '^ *+' conftest.er1 >conftest.err
30656 rm -f conftest.er1
30657 cat conftest.err >&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } && {
30660 test -z "$ac_c_werror_flag" ||
30661 test ! -s conftest.err
30662 } && test -s conftest$ac_exeext &&
30663 $as_test_x conftest$ac_exeext; then
30664 ac_cv_lib_gdk_gdk_im_open=yes
30665 else
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.$ac_ext >&5
30668
30669 ac_cv_lib_gdk_gdk_im_open=no
30670 fi
30671
30672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30673 conftest$ac_exeext conftest.$ac_ext
30674 LIBS=$ac_check_lib_save_LIBS
30675 fi
30676 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30677 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30678 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30679 cat >>confdefs.h <<\_ACEOF
30680 #define HAVE_XIM 1
30681 _ACEOF
30682
30683 fi
30684
30685
30686 if test "$USE_DARWIN" != 1; then
30687
30688 for ac_func in poll
30689 do
30690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30694 echo $ECHO_N "(cached) $ECHO_C" >&6
30695 else
30696 cat >conftest.$ac_ext <<_ACEOF
30697 /* confdefs.h. */
30698 _ACEOF
30699 cat confdefs.h >>conftest.$ac_ext
30700 cat >>conftest.$ac_ext <<_ACEOF
30701 /* end confdefs.h. */
30702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30704 #define $ac_func innocuous_$ac_func
30705
30706 /* System header to define __stub macros and hopefully few prototypes,
30707 which can conflict with char $ac_func (); below.
30708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30709 <limits.h> exists even on freestanding compilers. */
30710
30711 #ifdef __STDC__
30712 # include <limits.h>
30713 #else
30714 # include <assert.h>
30715 #endif
30716
30717 #undef $ac_func
30718
30719 /* Override any GCC internal prototype to avoid an error.
30720 Use char because int might match the return type of a GCC
30721 builtin and then its argument prototype would still apply. */
30722 #ifdef __cplusplus
30723 extern "C"
30724 #endif
30725 char $ac_func ();
30726 /* The GNU C library defines this for functions which it implements
30727 to always fail with ENOSYS. Some functions are actually named
30728 something starting with __ and the normal name is an alias. */
30729 #if defined __stub_$ac_func || defined __stub___$ac_func
30730 choke me
30731 #endif
30732
30733 int
30734 main ()
30735 {
30736 return $ac_func ();
30737 ;
30738 return 0;
30739 }
30740 _ACEOF
30741 rm -f conftest.$ac_objext conftest$ac_exeext
30742 if { (ac_try="$ac_link"
30743 case "(($ac_try" in
30744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30745 *) ac_try_echo=$ac_try;;
30746 esac
30747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30748 (eval "$ac_link") 2>conftest.er1
30749 ac_status=$?
30750 grep -v '^ *+' conftest.er1 >conftest.err
30751 rm -f conftest.er1
30752 cat conftest.err >&5
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); } && {
30755 test -z "$ac_c_werror_flag" ||
30756 test ! -s conftest.err
30757 } && test -s conftest$ac_exeext &&
30758 $as_test_x conftest$ac_exeext; then
30759 eval "$as_ac_var=yes"
30760 else
30761 echo "$as_me: failed program was:" >&5
30762 sed 's/^/| /' conftest.$ac_ext >&5
30763
30764 eval "$as_ac_var=no"
30765 fi
30766
30767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30768 conftest$ac_exeext conftest.$ac_ext
30769 fi
30770 ac_res=`eval echo '${'$as_ac_var'}'`
30771 { echo "$as_me:$LINENO: result: $ac_res" >&5
30772 echo "${ECHO_T}$ac_res" >&6; }
30773 if test `eval echo '${'$as_ac_var'}'` = yes; then
30774 cat >>confdefs.h <<_ACEOF
30775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30776 _ACEOF
30777
30778 fi
30779 done
30780
30781 fi
30782 fi
30783
30784 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30785 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30786
30787 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30788
30789 AFMINSTALL=afminstall
30790 TOOLKIT=GTK
30791 GUIDIST=GTK_DIST
30792
30793 if test "$wxUSE_GPE" = "yes"; then
30794 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30795 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30796
30797 ac_find_libraries=
30798 for ac_dir in $SEARCH_LIB;
30799 do
30800 for ac_extension in a so sl dylib dll.a; do
30801 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30802 ac_find_libraries=$ac_dir
30803 break 2
30804 fi
30805 done
30806 done
30807
30808 if test "$ac_find_libraries" != "" ; then
30809
30810 if test "$ac_find_libraries" = "default location"; then
30811 ac_path_to_link=""
30812 else
30813 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30814 result=$?
30815 if test $result = 0; then
30816 ac_path_to_link=""
30817 else
30818 ac_path_to_link=" -L$ac_find_libraries"
30819 fi
30820 fi
30821
30822 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30823 WXGPE=1
30824 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30825 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30826 else
30827 { echo "$as_me:$LINENO: result: not found" >&5
30828 echo "${ECHO_T}not found" >&6; }
30829 fi
30830
30831 fi
30832 fi
30833
30834 if test "$wxUSE_MGL" = 1; then
30835 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30836 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30837 if test "x$MGL_ROOT" = x ; then
30838 { echo "$as_me:$LINENO: result: not found" >&5
30839 echo "${ECHO_T}not found" >&6; }
30840 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30841 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30842 { (exit 1); exit 1; }; }
30843 else
30844 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30845 echo "${ECHO_T}$MGL_ROOT" >&6; }
30846 fi
30847
30848 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30849 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30850 case "${host}" in
30851 *-*-linux* )
30852 if test "x$wxUSE_SHARED" = xyes ; then
30853 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30854 else
30855 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30856 fi
30857 ;;
30858 *-pc-msdosdjgpp )
30859 mgl_os_candidates="dos32/dj2"
30860 ;;
30861 *)
30862 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30863 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30864 { (exit 1); exit 1; }; }
30865 esac
30866
30867 mgl_lib_type=""
30868 mgl_os=""
30869
30870 for mgl_os_i in $mgl_os_candidates ; do
30871 if test "x$mgl_os" = x ; then
30872 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30873 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30874 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30875 mgl_lib_type=debug
30876 mgl_os=$mgl_os_i
30877 fi
30878 fi
30879 if test "x$mgl_lib_type" = x ; then
30880 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30881 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30882 mgl_lib_type=release
30883 mgl_os=$mgl_os_i
30884 fi
30885 fi
30886 fi
30887 done
30888
30889 if test "x$mgl_os" = x ; then
30890 { echo "$as_me:$LINENO: result: not found" >&5
30891 echo "${ECHO_T}not found" >&6; }
30892 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30893 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30894 { (exit 1); exit 1; }; }
30895 fi
30896 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30897 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30898
30899 wxUSE_UNIVERSAL="yes"
30900
30901 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30902 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30903
30904 AFMINSTALL=afminstall
30905 TOOLKIT=MGL
30906 GUIDIST=MGL_DIST
30907 fi
30908
30909 if test "$wxUSE_DFB" = 1; then
30910
30911
30912 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30913 if test -n "$ac_tool_prefix"; then
30914 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30915 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30918 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30919 echo $ECHO_N "(cached) $ECHO_C" >&6
30920 else
30921 case $PKG_CONFIG in
30922 [\\/]* | ?:[\\/]*)
30923 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30924 ;;
30925 *)
30926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30927 for as_dir in $PATH
30928 do
30929 IFS=$as_save_IFS
30930 test -z "$as_dir" && as_dir=.
30931 for ac_exec_ext in '' $ac_executable_extensions; do
30932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30933 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30935 break 2
30936 fi
30937 done
30938 done
30939 IFS=$as_save_IFS
30940
30941 ;;
30942 esac
30943 fi
30944 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30945 if test -n "$PKG_CONFIG"; then
30946 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30947 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30948 else
30949 { echo "$as_me:$LINENO: result: no" >&5
30950 echo "${ECHO_T}no" >&6; }
30951 fi
30952
30953
30954 fi
30955 if test -z "$ac_cv_path_PKG_CONFIG"; then
30956 ac_pt_PKG_CONFIG=$PKG_CONFIG
30957 # Extract the first word of "pkg-config", so it can be a program name with args.
30958 set dummy pkg-config; ac_word=$2
30959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30961 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30962 echo $ECHO_N "(cached) $ECHO_C" >&6
30963 else
30964 case $ac_pt_PKG_CONFIG in
30965 [\\/]* | ?:[\\/]*)
30966 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30967 ;;
30968 *)
30969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30970 for as_dir in $PATH
30971 do
30972 IFS=$as_save_IFS
30973 test -z "$as_dir" && as_dir=.
30974 for ac_exec_ext in '' $ac_executable_extensions; do
30975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30976 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30978 break 2
30979 fi
30980 done
30981 done
30982 IFS=$as_save_IFS
30983
30984 ;;
30985 esac
30986 fi
30987 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30988 if test -n "$ac_pt_PKG_CONFIG"; then
30989 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30990 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30991 else
30992 { echo "$as_me:$LINENO: result: no" >&5
30993 echo "${ECHO_T}no" >&6; }
30994 fi
30995
30996 if test "x$ac_pt_PKG_CONFIG" = x; then
30997 PKG_CONFIG=""
30998 else
30999 case $cross_compiling:$ac_tool_warned in
31000 yes:)
31001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31002 whose name does not start with the host triplet. If you think this
31003 configuration is useful to you, please write to autoconf@gnu.org." >&5
31004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31005 whose name does not start with the host triplet. If you think this
31006 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31007 ac_tool_warned=yes ;;
31008 esac
31009 PKG_CONFIG=$ac_pt_PKG_CONFIG
31010 fi
31011 else
31012 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31013 fi
31014
31015 fi
31016 if test -n "$PKG_CONFIG"; then
31017 _pkg_min_version=0.9.0
31018 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31019 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31020 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31021 { echo "$as_me:$LINENO: result: yes" >&5
31022 echo "${ECHO_T}yes" >&6; }
31023 else
31024 { echo "$as_me:$LINENO: result: no" >&5
31025 echo "${ECHO_T}no" >&6; }
31026 PKG_CONFIG=""
31027 fi
31028
31029 fi
31030
31031
31032 pkg_failed=no
31033 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31034 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31035
31036 if test -n "$PKG_CONFIG"; then
31037 if test -n "$DIRECTFB_CFLAGS"; then
31038 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31039 else
31040 if test -n "$PKG_CONFIG" && \
31041 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31042 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31043 ac_status=$?
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); }; then
31046 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31047 else
31048 pkg_failed=yes
31049 fi
31050 fi
31051 else
31052 pkg_failed=untried
31053 fi
31054 if test -n "$PKG_CONFIG"; then
31055 if test -n "$DIRECTFB_LIBS"; then
31056 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31057 else
31058 if test -n "$PKG_CONFIG" && \
31059 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31060 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31061 ac_status=$?
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); }; then
31064 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31065 else
31066 pkg_failed=yes
31067 fi
31068 fi
31069 else
31070 pkg_failed=untried
31071 fi
31072
31073
31074
31075 if test $pkg_failed = yes; then
31076
31077 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31078 _pkg_short_errors_supported=yes
31079 else
31080 _pkg_short_errors_supported=no
31081 fi
31082 if test $_pkg_short_errors_supported = yes; then
31083 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31084 else
31085 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31086 fi
31087 # Put the nasty error message in config.log where it belongs
31088 echo "$DIRECTFB_PKG_ERRORS" >&5
31089
31090
31091 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31092 echo "$as_me: error: DirectFB not found." >&2;}
31093 { (exit 1); exit 1; }; }
31094
31095
31096 elif test $pkg_failed = untried; then
31097
31098 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31099 echo "$as_me: error: DirectFB not found." >&2;}
31100 { (exit 1); exit 1; }; }
31101
31102
31103 else
31104 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31105 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31106 { echo "$as_me:$LINENO: result: yes" >&5
31107 echo "${ECHO_T}yes" >&6; }
31108
31109 wxUSE_UNIVERSAL="yes"
31110 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31111 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31112 TOOLKIT=DFB
31113 GUIDIST=DFB_DIST
31114
31115 fi
31116 fi
31117
31118 if test "$wxUSE_MICROWIN" = 1; then
31119 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31120 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31121 if test "x$MICROWINDOWS" = x ; then
31122 { echo "$as_me:$LINENO: result: not found" >&5
31123 echo "${ECHO_T}not found" >&6; }
31124 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31125 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31126 { (exit 1); exit 1; }; }
31127 else
31128 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31129 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31130 fi
31131
31132 if test -f $MICROWINDOWS/lib/libmwin.a; then
31133 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31134 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31135 else
31136 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31137 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31138 { (exit 1); exit 1; }; }
31139 fi
31140
31141 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31142 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31143
31144 wxUSE_UNIVERSAL="yes"
31145
31146 AFMINSTALL=afminstall
31147 TOOLKIT=MICROWIN
31148 GUIDIST=MICROWIN_DIST
31149
31150 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31151 fi
31152
31153 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31154 { echo "$as_me:$LINENO: checking for X" >&5
31155 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31156
31157
31158 # Check whether --with-x was given.
31159 if test "${with_x+set}" = set; then
31160 withval=$with_x;
31161 fi
31162
31163 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31164 if test "x$with_x" = xno; then
31165 # The user explicitly disabled X.
31166 have_x=disabled
31167 else
31168 case $x_includes,$x_libraries in #(
31169 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31170 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31171 { (exit 1); exit 1; }; };; #(
31172 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31175 # One or both of the vars are not set, and there is no cached value.
31176 ac_x_includes=no ac_x_libraries=no
31177 rm -f -r conftest.dir
31178 if mkdir conftest.dir; then
31179 cd conftest.dir
31180 cat >Imakefile <<'_ACEOF'
31181 incroot:
31182 @echo incroot='${INCROOT}'
31183 usrlibdir:
31184 @echo usrlibdir='${USRLIBDIR}'
31185 libdir:
31186 @echo libdir='${LIBDIR}'
31187 _ACEOF
31188 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31190 for ac_var in incroot usrlibdir libdir; do
31191 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31192 done
31193 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31194 for ac_extension in a so sl; do
31195 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31196 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31197 ac_im_usrlibdir=$ac_im_libdir; break
31198 fi
31199 done
31200 # Screen out bogus values from the imake configuration. They are
31201 # bogus both because they are the default anyway, and because
31202 # using them would break gcc on systems where it needs fixed includes.
31203 case $ac_im_incroot in
31204 /usr/include) ac_x_includes= ;;
31205 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31206 esac
31207 case $ac_im_usrlibdir in
31208 /usr/lib | /lib) ;;
31209 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31210 esac
31211 fi
31212 cd ..
31213 rm -f -r conftest.dir
31214 fi
31215
31216 # Standard set of common directories for X headers.
31217 # Check X11 before X11Rn because it is often a symlink to the current release.
31218 ac_x_header_dirs='
31219 /usr/X11/include
31220 /usr/X11R6/include
31221 /usr/X11R5/include
31222 /usr/X11R4/include
31223
31224 /usr/include/X11
31225 /usr/include/X11R6
31226 /usr/include/X11R5
31227 /usr/include/X11R4
31228
31229 /usr/local/X11/include
31230 /usr/local/X11R6/include
31231 /usr/local/X11R5/include
31232 /usr/local/X11R4/include
31233
31234 /usr/local/include/X11
31235 /usr/local/include/X11R6
31236 /usr/local/include/X11R5
31237 /usr/local/include/X11R4
31238
31239 /usr/X386/include
31240 /usr/x386/include
31241 /usr/XFree86/include/X11
31242
31243 /usr/include
31244 /usr/local/include
31245 /usr/unsupported/include
31246 /usr/athena/include
31247 /usr/local/x11r5/include
31248 /usr/lpp/Xamples/include
31249
31250 /usr/openwin/include
31251 /usr/openwin/share/include'
31252
31253 if test "$ac_x_includes" = no; then
31254 # Guess where to find include files, by looking for Xlib.h.
31255 # First, try using that file with no special directory specified.
31256 cat >conftest.$ac_ext <<_ACEOF
31257 /* confdefs.h. */
31258 _ACEOF
31259 cat confdefs.h >>conftest.$ac_ext
31260 cat >>conftest.$ac_ext <<_ACEOF
31261 /* end confdefs.h. */
31262 #include <X11/Xlib.h>
31263 _ACEOF
31264 if { (ac_try="$ac_cpp conftest.$ac_ext"
31265 case "(($ac_try" in
31266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31267 *) ac_try_echo=$ac_try;;
31268 esac
31269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31271 ac_status=$?
31272 grep -v '^ *+' conftest.er1 >conftest.err
31273 rm -f conftest.er1
31274 cat conftest.err >&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); } >/dev/null && {
31277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31278 test ! -s conftest.err
31279 }; then
31280 # We can compile using X headers with no special include directory.
31281 ac_x_includes=
31282 else
31283 echo "$as_me: failed program was:" >&5
31284 sed 's/^/| /' conftest.$ac_ext >&5
31285
31286 for ac_dir in $ac_x_header_dirs; do
31287 if test -r "$ac_dir/X11/Xlib.h"; then
31288 ac_x_includes=$ac_dir
31289 break
31290 fi
31291 done
31292 fi
31293
31294 rm -f conftest.err conftest.$ac_ext
31295 fi # $ac_x_includes = no
31296
31297 if test "$ac_x_libraries" = no; then
31298 # Check for the libraries.
31299 # See if we find them without any special options.
31300 # Don't add to $LIBS permanently.
31301 ac_save_LIBS=$LIBS
31302 LIBS="-lX11 $LIBS"
31303 cat >conftest.$ac_ext <<_ACEOF
31304 /* confdefs.h. */
31305 _ACEOF
31306 cat confdefs.h >>conftest.$ac_ext
31307 cat >>conftest.$ac_ext <<_ACEOF
31308 /* end confdefs.h. */
31309 #include <X11/Xlib.h>
31310 int
31311 main ()
31312 {
31313 XrmInitialize ()
31314 ;
31315 return 0;
31316 }
31317 _ACEOF
31318 rm -f conftest.$ac_objext conftest$ac_exeext
31319 if { (ac_try="$ac_link"
31320 case "(($ac_try" in
31321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31322 *) ac_try_echo=$ac_try;;
31323 esac
31324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31325 (eval "$ac_link") 2>conftest.er1
31326 ac_status=$?
31327 grep -v '^ *+' conftest.er1 >conftest.err
31328 rm -f conftest.er1
31329 cat conftest.err >&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); } && {
31332 test -z "$ac_c_werror_flag" ||
31333 test ! -s conftest.err
31334 } && test -s conftest$ac_exeext &&
31335 $as_test_x conftest$ac_exeext; then
31336 LIBS=$ac_save_LIBS
31337 # We can link X programs with no special library path.
31338 ac_x_libraries=
31339 else
31340 echo "$as_me: failed program was:" >&5
31341 sed 's/^/| /' conftest.$ac_ext >&5
31342
31343 LIBS=$ac_save_LIBS
31344 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31345 do
31346 # Don't even attempt the hair of trying to link an X program!
31347 for ac_extension in a so sl; do
31348 if test -r "$ac_dir/libX11.$ac_extension"; then
31349 ac_x_libraries=$ac_dir
31350 break 2
31351 fi
31352 done
31353 done
31354 fi
31355
31356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31357 conftest$ac_exeext conftest.$ac_ext
31358 fi # $ac_x_libraries = no
31359
31360 case $ac_x_includes,$ac_x_libraries in #(
31361 no,* | *,no | *\'*)
31362 # Didn't find X, or a directory has "'" in its name.
31363 ac_cv_have_x="have_x=no";; #(
31364 *)
31365 # Record where we found X for the cache.
31366 ac_cv_have_x="have_x=yes\
31367 ac_x_includes='$ac_x_includes'\
31368 ac_x_libraries='$ac_x_libraries'"
31369 esac
31370 fi
31371 ;; #(
31372 *) have_x=yes;;
31373 esac
31374 eval "$ac_cv_have_x"
31375 fi # $with_x != no
31376
31377 if test "$have_x" != yes; then
31378 { echo "$as_me:$LINENO: result: $have_x" >&5
31379 echo "${ECHO_T}$have_x" >&6; }
31380 no_x=yes
31381 else
31382 # If each of the values was on the command line, it overrides each guess.
31383 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31384 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31385 # Update the cache value to reflect the command line values.
31386 ac_cv_have_x="have_x=yes\
31387 ac_x_includes='$x_includes'\
31388 ac_x_libraries='$x_libraries'"
31389 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31390 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31391 fi
31392
31393 if test "$no_x" = yes; then
31394 # Not all programs may use this symbol, but it does not hurt to define it.
31395
31396 cat >>confdefs.h <<\_ACEOF
31397 #define X_DISPLAY_MISSING 1
31398 _ACEOF
31399
31400 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31401 else
31402 if test -n "$x_includes"; then
31403 X_CFLAGS="$X_CFLAGS -I$x_includes"
31404 fi
31405
31406 # It would also be nice to do this for all -L options, not just this one.
31407 if test -n "$x_libraries"; then
31408 X_LIBS="$X_LIBS -L$x_libraries"
31409 # For Solaris; some versions of Sun CC require a space after -R and
31410 # others require no space. Words are not sufficient . . . .
31411 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31412 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31413 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31414 ac_xsave_c_werror_flag=$ac_c_werror_flag
31415 ac_c_werror_flag=yes
31416 cat >conftest.$ac_ext <<_ACEOF
31417 /* confdefs.h. */
31418 _ACEOF
31419 cat confdefs.h >>conftest.$ac_ext
31420 cat >>conftest.$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31422
31423 int
31424 main ()
31425 {
31426
31427 ;
31428 return 0;
31429 }
31430 _ACEOF
31431 rm -f conftest.$ac_objext conftest$ac_exeext
31432 if { (ac_try="$ac_link"
31433 case "(($ac_try" in
31434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31435 *) ac_try_echo=$ac_try;;
31436 esac
31437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31438 (eval "$ac_link") 2>conftest.er1
31439 ac_status=$?
31440 grep -v '^ *+' conftest.er1 >conftest.err
31441 rm -f conftest.er1
31442 cat conftest.err >&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } && {
31445 test -z "$ac_c_werror_flag" ||
31446 test ! -s conftest.err
31447 } && test -s conftest$ac_exeext &&
31448 $as_test_x conftest$ac_exeext; then
31449 { echo "$as_me:$LINENO: result: no" >&5
31450 echo "${ECHO_T}no" >&6; }
31451 X_LIBS="$X_LIBS -R$x_libraries"
31452 else
31453 echo "$as_me: failed program was:" >&5
31454 sed 's/^/| /' conftest.$ac_ext >&5
31455
31456 LIBS="$ac_xsave_LIBS -R $x_libraries"
31457 cat >conftest.$ac_ext <<_ACEOF
31458 /* confdefs.h. */
31459 _ACEOF
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31463
31464 int
31465 main ()
31466 {
31467
31468 ;
31469 return 0;
31470 }
31471 _ACEOF
31472 rm -f conftest.$ac_objext conftest$ac_exeext
31473 if { (ac_try="$ac_link"
31474 case "(($ac_try" in
31475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31476 *) ac_try_echo=$ac_try;;
31477 esac
31478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31479 (eval "$ac_link") 2>conftest.er1
31480 ac_status=$?
31481 grep -v '^ *+' conftest.er1 >conftest.err
31482 rm -f conftest.er1
31483 cat conftest.err >&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } && {
31486 test -z "$ac_c_werror_flag" ||
31487 test ! -s conftest.err
31488 } && test -s conftest$ac_exeext &&
31489 $as_test_x conftest$ac_exeext; then
31490 { echo "$as_me:$LINENO: result: yes" >&5
31491 echo "${ECHO_T}yes" >&6; }
31492 X_LIBS="$X_LIBS -R $x_libraries"
31493 else
31494 echo "$as_me: failed program was:" >&5
31495 sed 's/^/| /' conftest.$ac_ext >&5
31496
31497 { echo "$as_me:$LINENO: result: neither works" >&5
31498 echo "${ECHO_T}neither works" >&6; }
31499 fi
31500
31501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31502 conftest$ac_exeext conftest.$ac_ext
31503 fi
31504
31505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31506 conftest$ac_exeext conftest.$ac_ext
31507 ac_c_werror_flag=$ac_xsave_c_werror_flag
31508 LIBS=$ac_xsave_LIBS
31509 fi
31510
31511 # Check for system-dependent libraries X programs must link with.
31512 # Do this before checking for the system-independent R6 libraries
31513 # (-lICE), since we may need -lsocket or whatever for X linking.
31514
31515 if test "$ISC" = yes; then
31516 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31517 else
31518 # Martyn Johnson says this is needed for Ultrix, if the X
31519 # libraries were built with DECnet support. And Karl Berry says
31520 # the Alpha needs dnet_stub (dnet does not exist).
31521 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31522 cat >conftest.$ac_ext <<_ACEOF
31523 /* confdefs.h. */
31524 _ACEOF
31525 cat confdefs.h >>conftest.$ac_ext
31526 cat >>conftest.$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31528
31529 /* Override any GCC internal prototype to avoid an error.
31530 Use char because int might match the return type of a GCC
31531 builtin and then its argument prototype would still apply. */
31532 #ifdef __cplusplus
31533 extern "C"
31534 #endif
31535 char XOpenDisplay ();
31536 int
31537 main ()
31538 {
31539 return XOpenDisplay ();
31540 ;
31541 return 0;
31542 }
31543 _ACEOF
31544 rm -f conftest.$ac_objext conftest$ac_exeext
31545 if { (ac_try="$ac_link"
31546 case "(($ac_try" in
31547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31548 *) ac_try_echo=$ac_try;;
31549 esac
31550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31551 (eval "$ac_link") 2>conftest.er1
31552 ac_status=$?
31553 grep -v '^ *+' conftest.er1 >conftest.err
31554 rm -f conftest.er1
31555 cat conftest.err >&5
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); } && {
31558 test -z "$ac_c_werror_flag" ||
31559 test ! -s conftest.err
31560 } && test -s conftest$ac_exeext &&
31561 $as_test_x conftest$ac_exeext; then
31562 :
31563 else
31564 echo "$as_me: failed program was:" >&5
31565 sed 's/^/| /' conftest.$ac_ext >&5
31566
31567 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31568 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31569 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31572 ac_check_lib_save_LIBS=$LIBS
31573 LIBS="-ldnet $LIBS"
31574 cat >conftest.$ac_ext <<_ACEOF
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580
31581 /* Override any GCC internal prototype to avoid an error.
31582 Use char because int might match the return type of a GCC
31583 builtin and then its argument prototype would still apply. */
31584 #ifdef __cplusplus
31585 extern "C"
31586 #endif
31587 char dnet_ntoa ();
31588 int
31589 main ()
31590 {
31591 return dnet_ntoa ();
31592 ;
31593 return 0;
31594 }
31595 _ACEOF
31596 rm -f conftest.$ac_objext conftest$ac_exeext
31597 if { (ac_try="$ac_link"
31598 case "(($ac_try" in
31599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31600 *) ac_try_echo=$ac_try;;
31601 esac
31602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31603 (eval "$ac_link") 2>conftest.er1
31604 ac_status=$?
31605 grep -v '^ *+' conftest.er1 >conftest.err
31606 rm -f conftest.er1
31607 cat conftest.err >&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); } && {
31610 test -z "$ac_c_werror_flag" ||
31611 test ! -s conftest.err
31612 } && test -s conftest$ac_exeext &&
31613 $as_test_x conftest$ac_exeext; then
31614 ac_cv_lib_dnet_dnet_ntoa=yes
31615 else
31616 echo "$as_me: failed program was:" >&5
31617 sed 's/^/| /' conftest.$ac_ext >&5
31618
31619 ac_cv_lib_dnet_dnet_ntoa=no
31620 fi
31621
31622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31623 conftest$ac_exeext conftest.$ac_ext
31624 LIBS=$ac_check_lib_save_LIBS
31625 fi
31626 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31627 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31628 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31629 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31630 fi
31631
31632 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31633 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31634 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31635 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31636 echo $ECHO_N "(cached) $ECHO_C" >&6
31637 else
31638 ac_check_lib_save_LIBS=$LIBS
31639 LIBS="-ldnet_stub $LIBS"
31640 cat >conftest.$ac_ext <<_ACEOF
31641 /* confdefs.h. */
31642 _ACEOF
31643 cat confdefs.h >>conftest.$ac_ext
31644 cat >>conftest.$ac_ext <<_ACEOF
31645 /* end confdefs.h. */
31646
31647 /* Override any GCC internal prototype to avoid an error.
31648 Use char because int might match the return type of a GCC
31649 builtin and then its argument prototype would still apply. */
31650 #ifdef __cplusplus
31651 extern "C"
31652 #endif
31653 char dnet_ntoa ();
31654 int
31655 main ()
31656 {
31657 return dnet_ntoa ();
31658 ;
31659 return 0;
31660 }
31661 _ACEOF
31662 rm -f conftest.$ac_objext conftest$ac_exeext
31663 if { (ac_try="$ac_link"
31664 case "(($ac_try" in
31665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31666 *) ac_try_echo=$ac_try;;
31667 esac
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_link") 2>conftest.er1
31670 ac_status=$?
31671 grep -v '^ *+' conftest.er1 >conftest.err
31672 rm -f conftest.er1
31673 cat conftest.err >&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } && {
31676 test -z "$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31678 } && test -s conftest$ac_exeext &&
31679 $as_test_x conftest$ac_exeext; then
31680 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31681 else
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.$ac_ext >&5
31684
31685 ac_cv_lib_dnet_stub_dnet_ntoa=no
31686 fi
31687
31688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31689 conftest$ac_exeext conftest.$ac_ext
31690 LIBS=$ac_check_lib_save_LIBS
31691 fi
31692 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31693 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31694 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31695 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31696 fi
31697
31698 fi
31699 fi
31700
31701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31702 conftest$ac_exeext conftest.$ac_ext
31703 LIBS="$ac_xsave_LIBS"
31704
31705 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31706 # to get the SysV transport functions.
31707 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31708 # needs -lnsl.
31709 # The nsl library prevents programs from opening the X display
31710 # on Irix 5.2, according to T.E. Dickey.
31711 # The functions gethostbyname, getservbyname, and inet_addr are
31712 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31713 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31714 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31715 if test "${ac_cv_func_gethostbyname+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 else
31718 cat >conftest.$ac_ext <<_ACEOF
31719 /* confdefs.h. */
31720 _ACEOF
31721 cat confdefs.h >>conftest.$ac_ext
31722 cat >>conftest.$ac_ext <<_ACEOF
31723 /* end confdefs.h. */
31724 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31726 #define gethostbyname innocuous_gethostbyname
31727
31728 /* System header to define __stub macros and hopefully few prototypes,
31729 which can conflict with char gethostbyname (); below.
31730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31731 <limits.h> exists even on freestanding compilers. */
31732
31733 #ifdef __STDC__
31734 # include <limits.h>
31735 #else
31736 # include <assert.h>
31737 #endif
31738
31739 #undef gethostbyname
31740
31741 /* Override any GCC internal prototype to avoid an error.
31742 Use char because int might match the return type of a GCC
31743 builtin and then its argument prototype would still apply. */
31744 #ifdef __cplusplus
31745 extern "C"
31746 #endif
31747 char gethostbyname ();
31748 /* The GNU C library defines this for functions which it implements
31749 to always fail with ENOSYS. Some functions are actually named
31750 something starting with __ and the normal name is an alias. */
31751 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31752 choke me
31753 #endif
31754
31755 int
31756 main ()
31757 {
31758 return gethostbyname ();
31759 ;
31760 return 0;
31761 }
31762 _ACEOF
31763 rm -f conftest.$ac_objext conftest$ac_exeext
31764 if { (ac_try="$ac_link"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31767 *) ac_try_echo=$ac_try;;
31768 esac
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_link") 2>conftest.er1
31771 ac_status=$?
31772 grep -v '^ *+' conftest.er1 >conftest.err
31773 rm -f conftest.er1
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest$ac_exeext &&
31780 $as_test_x conftest$ac_exeext; then
31781 ac_cv_func_gethostbyname=yes
31782 else
31783 echo "$as_me: failed program was:" >&5
31784 sed 's/^/| /' conftest.$ac_ext >&5
31785
31786 ac_cv_func_gethostbyname=no
31787 fi
31788
31789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31790 conftest$ac_exeext conftest.$ac_ext
31791 fi
31792 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31793 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31794
31795 if test $ac_cv_func_gethostbyname = no; then
31796 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31797 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31798 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31799 echo $ECHO_N "(cached) $ECHO_C" >&6
31800 else
31801 ac_check_lib_save_LIBS=$LIBS
31802 LIBS="-lnsl $LIBS"
31803 cat >conftest.$ac_ext <<_ACEOF
31804 /* confdefs.h. */
31805 _ACEOF
31806 cat confdefs.h >>conftest.$ac_ext
31807 cat >>conftest.$ac_ext <<_ACEOF
31808 /* end confdefs.h. */
31809
31810 /* Override any GCC internal prototype to avoid an error.
31811 Use char because int might match the return type of a GCC
31812 builtin and then its argument prototype would still apply. */
31813 #ifdef __cplusplus
31814 extern "C"
31815 #endif
31816 char gethostbyname ();
31817 int
31818 main ()
31819 {
31820 return gethostbyname ();
31821 ;
31822 return 0;
31823 }
31824 _ACEOF
31825 rm -f conftest.$ac_objext conftest$ac_exeext
31826 if { (ac_try="$ac_link"
31827 case "(($ac_try" in
31828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31829 *) ac_try_echo=$ac_try;;
31830 esac
31831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31832 (eval "$ac_link") 2>conftest.er1
31833 ac_status=$?
31834 grep -v '^ *+' conftest.er1 >conftest.err
31835 rm -f conftest.er1
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } && {
31839 test -z "$ac_c_werror_flag" ||
31840 test ! -s conftest.err
31841 } && test -s conftest$ac_exeext &&
31842 $as_test_x conftest$ac_exeext; then
31843 ac_cv_lib_nsl_gethostbyname=yes
31844 else
31845 echo "$as_me: failed program was:" >&5
31846 sed 's/^/| /' conftest.$ac_ext >&5
31847
31848 ac_cv_lib_nsl_gethostbyname=no
31849 fi
31850
31851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31852 conftest$ac_exeext conftest.$ac_ext
31853 LIBS=$ac_check_lib_save_LIBS
31854 fi
31855 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31856 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31857 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31858 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31859 fi
31860
31861 if test $ac_cv_lib_nsl_gethostbyname = no; then
31862 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31863 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31864 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31865 echo $ECHO_N "(cached) $ECHO_C" >&6
31866 else
31867 ac_check_lib_save_LIBS=$LIBS
31868 LIBS="-lbsd $LIBS"
31869 cat >conftest.$ac_ext <<_ACEOF
31870 /* confdefs.h. */
31871 _ACEOF
31872 cat confdefs.h >>conftest.$ac_ext
31873 cat >>conftest.$ac_ext <<_ACEOF
31874 /* end confdefs.h. */
31875
31876 /* Override any GCC internal prototype to avoid an error.
31877 Use char because int might match the return type of a GCC
31878 builtin and then its argument prototype would still apply. */
31879 #ifdef __cplusplus
31880 extern "C"
31881 #endif
31882 char gethostbyname ();
31883 int
31884 main ()
31885 {
31886 return gethostbyname ();
31887 ;
31888 return 0;
31889 }
31890 _ACEOF
31891 rm -f conftest.$ac_objext conftest$ac_exeext
31892 if { (ac_try="$ac_link"
31893 case "(($ac_try" in
31894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31895 *) ac_try_echo=$ac_try;;
31896 esac
31897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31898 (eval "$ac_link") 2>conftest.er1
31899 ac_status=$?
31900 grep -v '^ *+' conftest.er1 >conftest.err
31901 rm -f conftest.er1
31902 cat conftest.err >&5
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); } && {
31905 test -z "$ac_c_werror_flag" ||
31906 test ! -s conftest.err
31907 } && test -s conftest$ac_exeext &&
31908 $as_test_x conftest$ac_exeext; then
31909 ac_cv_lib_bsd_gethostbyname=yes
31910 else
31911 echo "$as_me: failed program was:" >&5
31912 sed 's/^/| /' conftest.$ac_ext >&5
31913
31914 ac_cv_lib_bsd_gethostbyname=no
31915 fi
31916
31917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31918 conftest$ac_exeext conftest.$ac_ext
31919 LIBS=$ac_check_lib_save_LIBS
31920 fi
31921 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31922 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31923 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31924 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31925 fi
31926
31927 fi
31928 fi
31929
31930 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31931 # socket/setsockopt and other routines are undefined under SCO ODT
31932 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31933 # on later versions), says Simon Leinen: it contains gethostby*
31934 # variants that don't use the name server (or something). -lsocket
31935 # must be given before -lnsl if both are needed. We assume that
31936 # if connect needs -lnsl, so does gethostbyname.
31937 { echo "$as_me:$LINENO: checking for connect" >&5
31938 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31939 if test "${ac_cv_func_connect+set}" = set; then
31940 echo $ECHO_N "(cached) $ECHO_C" >&6
31941 else
31942 cat >conftest.$ac_ext <<_ACEOF
31943 /* confdefs.h. */
31944 _ACEOF
31945 cat confdefs.h >>conftest.$ac_ext
31946 cat >>conftest.$ac_ext <<_ACEOF
31947 /* end confdefs.h. */
31948 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31950 #define connect innocuous_connect
31951
31952 /* System header to define __stub macros and hopefully few prototypes,
31953 which can conflict with char connect (); below.
31954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31955 <limits.h> exists even on freestanding compilers. */
31956
31957 #ifdef __STDC__
31958 # include <limits.h>
31959 #else
31960 # include <assert.h>
31961 #endif
31962
31963 #undef connect
31964
31965 /* Override any GCC internal prototype to avoid an error.
31966 Use char because int might match the return type of a GCC
31967 builtin and then its argument prototype would still apply. */
31968 #ifdef __cplusplus
31969 extern "C"
31970 #endif
31971 char connect ();
31972 /* The GNU C library defines this for functions which it implements
31973 to always fail with ENOSYS. Some functions are actually named
31974 something starting with __ and the normal name is an alias. */
31975 #if defined __stub_connect || defined __stub___connect
31976 choke me
31977 #endif
31978
31979 int
31980 main ()
31981 {
31982 return connect ();
31983 ;
31984 return 0;
31985 }
31986 _ACEOF
31987 rm -f conftest.$ac_objext conftest$ac_exeext
31988 if { (ac_try="$ac_link"
31989 case "(($ac_try" in
31990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31992 esac
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_link") 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest$ac_exeext &&
32004 $as_test_x conftest$ac_exeext; then
32005 ac_cv_func_connect=yes
32006 else
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.$ac_ext >&5
32009
32010 ac_cv_func_connect=no
32011 fi
32012
32013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32014 conftest$ac_exeext conftest.$ac_ext
32015 fi
32016 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32017 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32018
32019 if test $ac_cv_func_connect = no; then
32020 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32021 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32022 if test "${ac_cv_lib_socket_connect+set}" = set; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32024 else
32025 ac_check_lib_save_LIBS=$LIBS
32026 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32027 cat >conftest.$ac_ext <<_ACEOF
32028 /* confdefs.h. */
32029 _ACEOF
32030 cat confdefs.h >>conftest.$ac_ext
32031 cat >>conftest.$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32033
32034 /* Override any GCC internal prototype to avoid an error.
32035 Use char because int might match the return type of a GCC
32036 builtin and then its argument prototype would still apply. */
32037 #ifdef __cplusplus
32038 extern "C"
32039 #endif
32040 char connect ();
32041 int
32042 main ()
32043 {
32044 return connect ();
32045 ;
32046 return 0;
32047 }
32048 _ACEOF
32049 rm -f conftest.$ac_objext conftest$ac_exeext
32050 if { (ac_try="$ac_link"
32051 case "(($ac_try" in
32052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32053 *) ac_try_echo=$ac_try;;
32054 esac
32055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32056 (eval "$ac_link") 2>conftest.er1
32057 ac_status=$?
32058 grep -v '^ *+' conftest.er1 >conftest.err
32059 rm -f conftest.er1
32060 cat conftest.err >&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } && {
32063 test -z "$ac_c_werror_flag" ||
32064 test ! -s conftest.err
32065 } && test -s conftest$ac_exeext &&
32066 $as_test_x conftest$ac_exeext; then
32067 ac_cv_lib_socket_connect=yes
32068 else
32069 echo "$as_me: failed program was:" >&5
32070 sed 's/^/| /' conftest.$ac_ext >&5
32071
32072 ac_cv_lib_socket_connect=no
32073 fi
32074
32075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32076 conftest$ac_exeext conftest.$ac_ext
32077 LIBS=$ac_check_lib_save_LIBS
32078 fi
32079 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32080 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32081 if test $ac_cv_lib_socket_connect = yes; then
32082 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32083 fi
32084
32085 fi
32086
32087 # Guillermo Gomez says -lposix is necessary on A/UX.
32088 { echo "$as_me:$LINENO: checking for remove" >&5
32089 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32090 if test "${ac_cv_func_remove+set}" = set; then
32091 echo $ECHO_N "(cached) $ECHO_C" >&6
32092 else
32093 cat >conftest.$ac_ext <<_ACEOF
32094 /* confdefs.h. */
32095 _ACEOF
32096 cat confdefs.h >>conftest.$ac_ext
32097 cat >>conftest.$ac_ext <<_ACEOF
32098 /* end confdefs.h. */
32099 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32101 #define remove innocuous_remove
32102
32103 /* System header to define __stub macros and hopefully few prototypes,
32104 which can conflict with char remove (); below.
32105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32106 <limits.h> exists even on freestanding compilers. */
32107
32108 #ifdef __STDC__
32109 # include <limits.h>
32110 #else
32111 # include <assert.h>
32112 #endif
32113
32114 #undef remove
32115
32116 /* Override any GCC internal prototype to avoid an error.
32117 Use char because int might match the return type of a GCC
32118 builtin and then its argument prototype would still apply. */
32119 #ifdef __cplusplus
32120 extern "C"
32121 #endif
32122 char remove ();
32123 /* The GNU C library defines this for functions which it implements
32124 to always fail with ENOSYS. Some functions are actually named
32125 something starting with __ and the normal name is an alias. */
32126 #if defined __stub_remove || defined __stub___remove
32127 choke me
32128 #endif
32129
32130 int
32131 main ()
32132 {
32133 return remove ();
32134 ;
32135 return 0;
32136 }
32137 _ACEOF
32138 rm -f conftest.$ac_objext conftest$ac_exeext
32139 if { (ac_try="$ac_link"
32140 case "(($ac_try" in
32141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32142 *) ac_try_echo=$ac_try;;
32143 esac
32144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32145 (eval "$ac_link") 2>conftest.er1
32146 ac_status=$?
32147 grep -v '^ *+' conftest.er1 >conftest.err
32148 rm -f conftest.er1
32149 cat conftest.err >&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } && {
32152 test -z "$ac_c_werror_flag" ||
32153 test ! -s conftest.err
32154 } && test -s conftest$ac_exeext &&
32155 $as_test_x conftest$ac_exeext; then
32156 ac_cv_func_remove=yes
32157 else
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.$ac_ext >&5
32160
32161 ac_cv_func_remove=no
32162 fi
32163
32164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32165 conftest$ac_exeext conftest.$ac_ext
32166 fi
32167 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32168 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32169
32170 if test $ac_cv_func_remove = no; then
32171 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32172 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32173 if test "${ac_cv_lib_posix_remove+set}" = set; then
32174 echo $ECHO_N "(cached) $ECHO_C" >&6
32175 else
32176 ac_check_lib_save_LIBS=$LIBS
32177 LIBS="-lposix $LIBS"
32178 cat >conftest.$ac_ext <<_ACEOF
32179 /* confdefs.h. */
32180 _ACEOF
32181 cat confdefs.h >>conftest.$ac_ext
32182 cat >>conftest.$ac_ext <<_ACEOF
32183 /* end confdefs.h. */
32184
32185 /* Override any GCC internal prototype to avoid an error.
32186 Use char because int might match the return type of a GCC
32187 builtin and then its argument prototype would still apply. */
32188 #ifdef __cplusplus
32189 extern "C"
32190 #endif
32191 char remove ();
32192 int
32193 main ()
32194 {
32195 return remove ();
32196 ;
32197 return 0;
32198 }
32199 _ACEOF
32200 rm -f conftest.$ac_objext conftest$ac_exeext
32201 if { (ac_try="$ac_link"
32202 case "(($ac_try" in
32203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32204 *) ac_try_echo=$ac_try;;
32205 esac
32206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32207 (eval "$ac_link") 2>conftest.er1
32208 ac_status=$?
32209 grep -v '^ *+' conftest.er1 >conftest.err
32210 rm -f conftest.er1
32211 cat conftest.err >&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } && {
32214 test -z "$ac_c_werror_flag" ||
32215 test ! -s conftest.err
32216 } && test -s conftest$ac_exeext &&
32217 $as_test_x conftest$ac_exeext; then
32218 ac_cv_lib_posix_remove=yes
32219 else
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.$ac_ext >&5
32222
32223 ac_cv_lib_posix_remove=no
32224 fi
32225
32226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32227 conftest$ac_exeext conftest.$ac_ext
32228 LIBS=$ac_check_lib_save_LIBS
32229 fi
32230 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32231 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32232 if test $ac_cv_lib_posix_remove = yes; then
32233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32234 fi
32235
32236 fi
32237
32238 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32239 { echo "$as_me:$LINENO: checking for shmat" >&5
32240 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32241 if test "${ac_cv_func_shmat+set}" = set; then
32242 echo $ECHO_N "(cached) $ECHO_C" >&6
32243 else
32244 cat >conftest.$ac_ext <<_ACEOF
32245 /* confdefs.h. */
32246 _ACEOF
32247 cat confdefs.h >>conftest.$ac_ext
32248 cat >>conftest.$ac_ext <<_ACEOF
32249 /* end confdefs.h. */
32250 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32252 #define shmat innocuous_shmat
32253
32254 /* System header to define __stub macros and hopefully few prototypes,
32255 which can conflict with char shmat (); below.
32256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32257 <limits.h> exists even on freestanding compilers. */
32258
32259 #ifdef __STDC__
32260 # include <limits.h>
32261 #else
32262 # include <assert.h>
32263 #endif
32264
32265 #undef shmat
32266
32267 /* Override any GCC internal prototype to avoid an error.
32268 Use char because int might match the return type of a GCC
32269 builtin and then its argument prototype would still apply. */
32270 #ifdef __cplusplus
32271 extern "C"
32272 #endif
32273 char shmat ();
32274 /* The GNU C library defines this for functions which it implements
32275 to always fail with ENOSYS. Some functions are actually named
32276 something starting with __ and the normal name is an alias. */
32277 #if defined __stub_shmat || defined __stub___shmat
32278 choke me
32279 #endif
32280
32281 int
32282 main ()
32283 {
32284 return shmat ();
32285 ;
32286 return 0;
32287 }
32288 _ACEOF
32289 rm -f conftest.$ac_objext conftest$ac_exeext
32290 if { (ac_try="$ac_link"
32291 case "(($ac_try" in
32292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32293 *) ac_try_echo=$ac_try;;
32294 esac
32295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32296 (eval "$ac_link") 2>conftest.er1
32297 ac_status=$?
32298 grep -v '^ *+' conftest.er1 >conftest.err
32299 rm -f conftest.er1
32300 cat conftest.err >&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); } && {
32303 test -z "$ac_c_werror_flag" ||
32304 test ! -s conftest.err
32305 } && test -s conftest$ac_exeext &&
32306 $as_test_x conftest$ac_exeext; then
32307 ac_cv_func_shmat=yes
32308 else
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32311
32312 ac_cv_func_shmat=no
32313 fi
32314
32315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32316 conftest$ac_exeext conftest.$ac_ext
32317 fi
32318 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32319 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32320
32321 if test $ac_cv_func_shmat = no; then
32322 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32323 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32324 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 else
32327 ac_check_lib_save_LIBS=$LIBS
32328 LIBS="-lipc $LIBS"
32329 cat >conftest.$ac_ext <<_ACEOF
32330 /* confdefs.h. */
32331 _ACEOF
32332 cat confdefs.h >>conftest.$ac_ext
32333 cat >>conftest.$ac_ext <<_ACEOF
32334 /* end confdefs.h. */
32335
32336 /* Override any GCC internal prototype to avoid an error.
32337 Use char because int might match the return type of a GCC
32338 builtin and then its argument prototype would still apply. */
32339 #ifdef __cplusplus
32340 extern "C"
32341 #endif
32342 char shmat ();
32343 int
32344 main ()
32345 {
32346 return shmat ();
32347 ;
32348 return 0;
32349 }
32350 _ACEOF
32351 rm -f conftest.$ac_objext conftest$ac_exeext
32352 if { (ac_try="$ac_link"
32353 case "(($ac_try" in
32354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32355 *) ac_try_echo=$ac_try;;
32356 esac
32357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32358 (eval "$ac_link") 2>conftest.er1
32359 ac_status=$?
32360 grep -v '^ *+' conftest.er1 >conftest.err
32361 rm -f conftest.er1
32362 cat conftest.err >&5
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); } && {
32365 test -z "$ac_c_werror_flag" ||
32366 test ! -s conftest.err
32367 } && test -s conftest$ac_exeext &&
32368 $as_test_x conftest$ac_exeext; then
32369 ac_cv_lib_ipc_shmat=yes
32370 else
32371 echo "$as_me: failed program was:" >&5
32372 sed 's/^/| /' conftest.$ac_ext >&5
32373
32374 ac_cv_lib_ipc_shmat=no
32375 fi
32376
32377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32378 conftest$ac_exeext conftest.$ac_ext
32379 LIBS=$ac_check_lib_save_LIBS
32380 fi
32381 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32382 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32383 if test $ac_cv_lib_ipc_shmat = yes; then
32384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32385 fi
32386
32387 fi
32388 fi
32389
32390 # Check for libraries that X11R6 Xt/Xaw programs need.
32391 ac_save_LDFLAGS=$LDFLAGS
32392 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32393 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32394 # check for ICE first), but we must link in the order -lSM -lICE or
32395 # we get undefined symbols. So assume we have SM if we have ICE.
32396 # These have to be linked with before -lX11, unlike the other
32397 # libraries we check for below, so use a different variable.
32398 # John Interrante, Karl Berry
32399 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32400 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32401 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32403 else
32404 ac_check_lib_save_LIBS=$LIBS
32405 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32406 cat >conftest.$ac_ext <<_ACEOF
32407 /* confdefs.h. */
32408 _ACEOF
32409 cat confdefs.h >>conftest.$ac_ext
32410 cat >>conftest.$ac_ext <<_ACEOF
32411 /* end confdefs.h. */
32412
32413 /* Override any GCC internal prototype to avoid an error.
32414 Use char because int might match the return type of a GCC
32415 builtin and then its argument prototype would still apply. */
32416 #ifdef __cplusplus
32417 extern "C"
32418 #endif
32419 char IceConnectionNumber ();
32420 int
32421 main ()
32422 {
32423 return IceConnectionNumber ();
32424 ;
32425 return 0;
32426 }
32427 _ACEOF
32428 rm -f conftest.$ac_objext conftest$ac_exeext
32429 if { (ac_try="$ac_link"
32430 case "(($ac_try" in
32431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32432 *) ac_try_echo=$ac_try;;
32433 esac
32434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32435 (eval "$ac_link") 2>conftest.er1
32436 ac_status=$?
32437 grep -v '^ *+' conftest.er1 >conftest.err
32438 rm -f conftest.er1
32439 cat conftest.err >&5
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); } && {
32442 test -z "$ac_c_werror_flag" ||
32443 test ! -s conftest.err
32444 } && test -s conftest$ac_exeext &&
32445 $as_test_x conftest$ac_exeext; then
32446 ac_cv_lib_ICE_IceConnectionNumber=yes
32447 else
32448 echo "$as_me: failed program was:" >&5
32449 sed 's/^/| /' conftest.$ac_ext >&5
32450
32451 ac_cv_lib_ICE_IceConnectionNumber=no
32452 fi
32453
32454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32455 conftest$ac_exeext conftest.$ac_ext
32456 LIBS=$ac_check_lib_save_LIBS
32457 fi
32458 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32459 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32460 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32461 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32462 fi
32463
32464 LDFLAGS=$ac_save_LDFLAGS
32465
32466 fi
32467
32468
32469 if test "$no_x" = "yes"; then
32470 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32471 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32472 { (exit 1); exit 1; }; }
32473 fi
32474
32475 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32476 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32477 AFMINSTALL=afminstall
32478 COMPILED_X_PROGRAM=0
32479
32480 fi
32481
32482 if test "$wxUSE_X11" = 1; then
32483 if test "$wxUSE_NANOX" = "yes"; then
32484 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32485 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32486 if test "x$MICROWIN" = x ; then
32487 { echo "$as_me:$LINENO: result: not found" >&5
32488 echo "${ECHO_T}not found" >&6; }
32489 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32490 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32491 { (exit 1); exit 1; }; }
32492 else
32493 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32494 echo "${ECHO_T}$MICROWIN" >&6; }
32495 cat >>confdefs.h <<\_ACEOF
32496 #define wxUSE_NANOX 1
32497 _ACEOF
32498
32499 fi
32500 fi
32501
32502 if test "$wxUSE_UNICODE" = "yes"; then
32503
32504
32505 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32506 if test -n "$ac_tool_prefix"; then
32507 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32508 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32511 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32512 echo $ECHO_N "(cached) $ECHO_C" >&6
32513 else
32514 case $PKG_CONFIG in
32515 [\\/]* | ?:[\\/]*)
32516 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32517 ;;
32518 *)
32519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32520 for as_dir in $PATH
32521 do
32522 IFS=$as_save_IFS
32523 test -z "$as_dir" && as_dir=.
32524 for ac_exec_ext in '' $ac_executable_extensions; do
32525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32526 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32528 break 2
32529 fi
32530 done
32531 done
32532 IFS=$as_save_IFS
32533
32534 ;;
32535 esac
32536 fi
32537 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32538 if test -n "$PKG_CONFIG"; then
32539 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32540 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32541 else
32542 { echo "$as_me:$LINENO: result: no" >&5
32543 echo "${ECHO_T}no" >&6; }
32544 fi
32545
32546
32547 fi
32548 if test -z "$ac_cv_path_PKG_CONFIG"; then
32549 ac_pt_PKG_CONFIG=$PKG_CONFIG
32550 # Extract the first word of "pkg-config", so it can be a program name with args.
32551 set dummy pkg-config; ac_word=$2
32552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32554 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32555 echo $ECHO_N "(cached) $ECHO_C" >&6
32556 else
32557 case $ac_pt_PKG_CONFIG in
32558 [\\/]* | ?:[\\/]*)
32559 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32560 ;;
32561 *)
32562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32563 for as_dir in $PATH
32564 do
32565 IFS=$as_save_IFS
32566 test -z "$as_dir" && as_dir=.
32567 for ac_exec_ext in '' $ac_executable_extensions; do
32568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32569 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32571 break 2
32572 fi
32573 done
32574 done
32575 IFS=$as_save_IFS
32576
32577 ;;
32578 esac
32579 fi
32580 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32581 if test -n "$ac_pt_PKG_CONFIG"; then
32582 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32583 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32584 else
32585 { echo "$as_me:$LINENO: result: no" >&5
32586 echo "${ECHO_T}no" >&6; }
32587 fi
32588
32589 if test "x$ac_pt_PKG_CONFIG" = x; then
32590 PKG_CONFIG=""
32591 else
32592 case $cross_compiling:$ac_tool_warned in
32593 yes:)
32594 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32595 whose name does not start with the host triplet. If you think this
32596 configuration is useful to you, please write to autoconf@gnu.org." >&5
32597 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32598 whose name does not start with the host triplet. If you think this
32599 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32600 ac_tool_warned=yes ;;
32601 esac
32602 PKG_CONFIG=$ac_pt_PKG_CONFIG
32603 fi
32604 else
32605 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32606 fi
32607
32608 fi
32609 if test -n "$PKG_CONFIG"; then
32610 _pkg_min_version=0.9.0
32611 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32612 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32613 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32614 { echo "$as_me:$LINENO: result: yes" >&5
32615 echo "${ECHO_T}yes" >&6; }
32616 else
32617 { echo "$as_me:$LINENO: result: no" >&5
32618 echo "${ECHO_T}no" >&6; }
32619 PKG_CONFIG=""
32620 fi
32621
32622 fi
32623
32624
32625 pkg_failed=no
32626 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32627 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32628
32629 if test -n "$PKG_CONFIG"; then
32630 if test -n "$PANGOX_CFLAGS"; then
32631 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32632 else
32633 if test -n "$PKG_CONFIG" && \
32634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32635 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32636 ac_status=$?
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; then
32639 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32640 else
32641 pkg_failed=yes
32642 fi
32643 fi
32644 else
32645 pkg_failed=untried
32646 fi
32647 if test -n "$PKG_CONFIG"; then
32648 if test -n "$PANGOX_LIBS"; then
32649 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32650 else
32651 if test -n "$PKG_CONFIG" && \
32652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32653 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32654 ac_status=$?
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; then
32657 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32658 else
32659 pkg_failed=yes
32660 fi
32661 fi
32662 else
32663 pkg_failed=untried
32664 fi
32665
32666
32667
32668 if test $pkg_failed = yes; then
32669
32670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32671 _pkg_short_errors_supported=yes
32672 else
32673 _pkg_short_errors_supported=no
32674 fi
32675 if test $_pkg_short_errors_supported = yes; then
32676 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32677 else
32678 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32679 fi
32680 # Put the nasty error message in config.log where it belongs
32681 echo "$PANGOX_PKG_ERRORS" >&5
32682
32683
32684 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32685 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32686 { (exit 1); exit 1; }; }
32687
32688
32689 elif test $pkg_failed = untried; then
32690
32691 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32692 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32693 { (exit 1); exit 1; }; }
32694
32695
32696 else
32697 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32698 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32699 { echo "$as_me:$LINENO: result: yes" >&5
32700 echo "${ECHO_T}yes" >&6; }
32701
32702 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32703 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32704 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32705
32706 fi
32707
32708 pkg_failed=no
32709 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32710 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32711
32712 if test -n "$PKG_CONFIG"; then
32713 if test -n "$PANGOFT2_CFLAGS"; then
32714 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32715 else
32716 if test -n "$PKG_CONFIG" && \
32717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32718 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32719 ac_status=$?
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; then
32722 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32723 else
32724 pkg_failed=yes
32725 fi
32726 fi
32727 else
32728 pkg_failed=untried
32729 fi
32730 if test -n "$PKG_CONFIG"; then
32731 if test -n "$PANGOFT2_LIBS"; then
32732 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32733 else
32734 if test -n "$PKG_CONFIG" && \
32735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32736 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32737 ac_status=$?
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); }; then
32740 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32741 else
32742 pkg_failed=yes
32743 fi
32744 fi
32745 else
32746 pkg_failed=untried
32747 fi
32748
32749
32750
32751 if test $pkg_failed = yes; then
32752
32753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32754 _pkg_short_errors_supported=yes
32755 else
32756 _pkg_short_errors_supported=no
32757 fi
32758 if test $_pkg_short_errors_supported = yes; then
32759 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32760 else
32761 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32762 fi
32763 # Put the nasty error message in config.log where it belongs
32764 echo "$PANGOFT2_PKG_ERRORS" >&5
32765
32766
32767 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32768 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32769 wxUSE_PRINTING_ARCHITECTURE="no"
32770
32771
32772 elif test $pkg_failed = untried; then
32773
32774 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32775 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32776 wxUSE_PRINTING_ARCHITECTURE="no"
32777
32778
32779 else
32780 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32781 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32782 { echo "$as_me:$LINENO: result: yes" >&5
32783 echo "${ECHO_T}yes" >&6; }
32784
32785 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32786 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32787 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32788
32789 fi
32790
32791 pkg_failed=no
32792 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32793 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32794
32795 if test -n "$PKG_CONFIG"; then
32796 if test -n "$PANGOXFT_CFLAGS"; then
32797 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32798 else
32799 if test -n "$PKG_CONFIG" && \
32800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32801 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32802 ac_status=$?
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; then
32805 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32806 else
32807 pkg_failed=yes
32808 fi
32809 fi
32810 else
32811 pkg_failed=untried
32812 fi
32813 if test -n "$PKG_CONFIG"; then
32814 if test -n "$PANGOXFT_LIBS"; then
32815 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32816 else
32817 if test -n "$PKG_CONFIG" && \
32818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32819 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32820 ac_status=$?
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); }; then
32823 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32824 else
32825 pkg_failed=yes
32826 fi
32827 fi
32828 else
32829 pkg_failed=untried
32830 fi
32831
32832
32833
32834 if test $pkg_failed = yes; then
32835
32836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32837 _pkg_short_errors_supported=yes
32838 else
32839 _pkg_short_errors_supported=no
32840 fi
32841 if test $_pkg_short_errors_supported = yes; then
32842 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32843 else
32844 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32845 fi
32846 # Put the nasty error message in config.log where it belongs
32847 echo "$PANGOXFT_PKG_ERRORS" >&5
32848
32849
32850 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32851 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32852
32853
32854 elif test $pkg_failed = untried; then
32855
32856 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32857 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32858
32859
32860 else
32861 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32862 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32863 { echo "$as_me:$LINENO: result: yes" >&5
32864 echo "${ECHO_T}yes" >&6; }
32865
32866 cat >>confdefs.h <<\_ACEOF
32867 #define HAVE_PANGO_XFT 1
32868 _ACEOF
32869
32870 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32871 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32873
32874 fi
32875 save_LIBS="$LIBS"
32876 LIBS="$LIBS $PANGOX_LIBS"
32877
32878 for ac_func in pango_font_family_is_monospace
32879 do
32880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32884 echo $ECHO_N "(cached) $ECHO_C" >&6
32885 else
32886 cat >conftest.$ac_ext <<_ACEOF
32887 /* confdefs.h. */
32888 _ACEOF
32889 cat confdefs.h >>conftest.$ac_ext
32890 cat >>conftest.$ac_ext <<_ACEOF
32891 /* end confdefs.h. */
32892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32894 #define $ac_func innocuous_$ac_func
32895
32896 /* System header to define __stub macros and hopefully few prototypes,
32897 which can conflict with char $ac_func (); below.
32898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32899 <limits.h> exists even on freestanding compilers. */
32900
32901 #ifdef __STDC__
32902 # include <limits.h>
32903 #else
32904 # include <assert.h>
32905 #endif
32906
32907 #undef $ac_func
32908
32909 /* Override any GCC internal prototype to avoid an error.
32910 Use char because int might match the return type of a GCC
32911 builtin and then its argument prototype would still apply. */
32912 #ifdef __cplusplus
32913 extern "C"
32914 #endif
32915 char $ac_func ();
32916 /* The GNU C library defines this for functions which it implements
32917 to always fail with ENOSYS. Some functions are actually named
32918 something starting with __ and the normal name is an alias. */
32919 #if defined __stub_$ac_func || defined __stub___$ac_func
32920 choke me
32921 #endif
32922
32923 int
32924 main ()
32925 {
32926 return $ac_func ();
32927 ;
32928 return 0;
32929 }
32930 _ACEOF
32931 rm -f conftest.$ac_objext conftest$ac_exeext
32932 if { (ac_try="$ac_link"
32933 case "(($ac_try" in
32934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32935 *) ac_try_echo=$ac_try;;
32936 esac
32937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32938 (eval "$ac_link") 2>conftest.er1
32939 ac_status=$?
32940 grep -v '^ *+' conftest.er1 >conftest.err
32941 rm -f conftest.er1
32942 cat conftest.err >&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } && {
32945 test -z "$ac_c_werror_flag" ||
32946 test ! -s conftest.err
32947 } && test -s conftest$ac_exeext &&
32948 $as_test_x conftest$ac_exeext; then
32949 eval "$as_ac_var=yes"
32950 else
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.$ac_ext >&5
32953
32954 eval "$as_ac_var=no"
32955 fi
32956
32957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32958 conftest$ac_exeext conftest.$ac_ext
32959 fi
32960 ac_res=`eval echo '${'$as_ac_var'}'`
32961 { echo "$as_me:$LINENO: result: $ac_res" >&5
32962 echo "${ECHO_T}$ac_res" >&6; }
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h <<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32966 _ACEOF
32967
32968 fi
32969 done
32970
32971 LIBS="$save_LIBS"
32972 fi
32973
32974 wxUSE_UNIVERSAL="yes"
32975
32976 if test "$wxUSE_NANOX" = "yes"; then
32977 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32978 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"
32979 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32980 else
32981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32982 fi
32983
32984 TOOLKIT=X11
32985 GUIDIST=X11_DIST
32986 fi
32987
32988 if test "$wxUSE_MOTIF" = 1; then
32989 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32990 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32991
32992 ac_find_includes=
32993 for ac_dir in $SEARCH_INCLUDE /usr/include;
32994 do
32995 if test -f "$ac_dir/Xm/Xm.h"; then
32996 ac_find_includes=$ac_dir
32997 break
32998 fi
32999 done
33000
33001 if test "$ac_find_includes" != "" ; then
33002 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33003 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33004
33005 if test "x$ac_find_includes" = "x/usr/include"; then
33006 ac_path_to_include=""
33007 else
33008 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33009 result=$?
33010 if test $result = 0; then
33011 ac_path_to_include=""
33012 else
33013 ac_path_to_include=" -I$ac_find_includes"
33014 fi
33015 fi
33016
33017 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33018 else
33019 save_CFLAGS=$CFLAGS
33020 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33021
33022 cat >conftest.$ac_ext <<_ACEOF
33023 /* confdefs.h. */
33024 _ACEOF
33025 cat confdefs.h >>conftest.$ac_ext
33026 cat >>conftest.$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33028
33029 #include <Xm/Xm.h>
33030
33031 int
33032 main ()
33033 {
33034
33035 int version;
33036 version = xmUseVersion;
33037
33038 ;
33039 return 0;
33040 }
33041 _ACEOF
33042 rm -f conftest.$ac_objext
33043 if { (ac_try="$ac_compile"
33044 case "(($ac_try" in
33045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33046 *) ac_try_echo=$ac_try;;
33047 esac
33048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33049 (eval "$ac_compile") 2>conftest.er1
33050 ac_status=$?
33051 grep -v '^ *+' conftest.er1 >conftest.err
33052 rm -f conftest.er1
33053 cat conftest.err >&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } && {
33056 test -z "$ac_c_werror_flag" ||
33057 test ! -s conftest.err
33058 } && test -s conftest.$ac_objext; then
33059
33060 { echo "$as_me:$LINENO: result: found in default search path" >&5
33061 echo "${ECHO_T}found in default search path" >&6; }
33062 COMPILED_X_PROGRAM=1
33063
33064 else
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33067
33068
33069 { echo "$as_me:$LINENO: result: no" >&5
33070 echo "${ECHO_T}no" >&6; }
33071 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33072 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33073 { (exit 1); exit 1; }; }
33074
33075
33076 fi
33077
33078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33079
33080 CFLAGS=$save_CFLAGS
33081 fi
33082
33083
33084 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33085 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33086
33087 ac_find_libraries=
33088 for ac_dir in $SEARCH_LIB;
33089 do
33090 for ac_extension in a so sl dylib dll.a; do
33091 if test -f "$ac_dir/libXm.$ac_extension"; then
33092 ac_find_libraries=$ac_dir
33093 break 2
33094 fi
33095 done
33096 done
33097
33098
33099 if test "x$ac_find_libraries" != "x" ; then
33100 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33101 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33102
33103
33104 if test "$ac_find_libraries" = "default location"; then
33105 ac_path_to_link=""
33106 else
33107 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33108 result=$?
33109 if test $result = 0; then
33110 ac_path_to_link=""
33111 else
33112 ac_path_to_link=" -L$ac_find_libraries"
33113 fi
33114 fi
33115
33116 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33117 else
33118 save_CFLAGS=$CFLAGS
33119 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33120 save_LIBS="$LIBS"
33121 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33122
33123 cat >conftest.$ac_ext <<_ACEOF
33124 /* confdefs.h. */
33125 _ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129
33130 #include <Xm/Xm.h>
33131
33132 int
33133 main ()
33134 {
33135
33136 int version;
33137 version = xmUseVersion;
33138
33139 ;
33140 return 0;
33141 }
33142 _ACEOF
33143 rm -f conftest.$ac_objext conftest$ac_exeext
33144 if { (ac_try="$ac_link"
33145 case "(($ac_try" in
33146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33147 *) ac_try_echo=$ac_try;;
33148 esac
33149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33150 (eval "$ac_link") 2>conftest.er1
33151 ac_status=$?
33152 grep -v '^ *+' conftest.er1 >conftest.err
33153 rm -f conftest.er1
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } && {
33157 test -z "$ac_c_werror_flag" ||
33158 test ! -s conftest.err
33159 } && test -s conftest$ac_exeext &&
33160 $as_test_x conftest$ac_exeext; then
33161
33162 { echo "$as_me:$LINENO: result: found in default search path" >&5
33163 echo "${ECHO_T}found in default search path" >&6; }
33164 COMPILED_X_PROGRAM=1
33165
33166 else
33167 echo "$as_me: failed program was:" >&5
33168 sed 's/^/| /' conftest.$ac_ext >&5
33169
33170
33171 { echo "$as_me:$LINENO: result: no" >&5
33172 echo "${ECHO_T}no" >&6; }
33173 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33174 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33175 { (exit 1); exit 1; }; }
33176
33177
33178 fi
33179
33180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33181 conftest$ac_exeext conftest.$ac_ext
33182
33183 CFLAGS=$save_CFLAGS
33184 LIBS="$save_LIBS"
33185 fi
33186
33187 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33188 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33189 libp_link=""
33190 libsm_ice_link=""
33191 libs_found=0
33192 for libp in "" " -lXp"; do
33193 if test "$libs_found" = 0; then
33194 for libsm_ice in "" " -lSM -lICE"; do
33195 if test "$libs_found" = 0; then
33196 save_LIBS="$LIBS"
33197 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33198 save_CFLAGS=$CFLAGS
33199 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33200
33201 cat >conftest.$ac_ext <<_ACEOF
33202 /* confdefs.h. */
33203 _ACEOF
33204 cat confdefs.h >>conftest.$ac_ext
33205 cat >>conftest.$ac_ext <<_ACEOF
33206 /* end confdefs.h. */
33207
33208 #include <Xm/Xm.h>
33209 #include <Xm/List.h>
33210
33211 int
33212 main ()
33213 {
33214
33215 XmString string = NULL;
33216 Widget w = NULL;
33217 int position = 0;
33218 XmListAddItem(w, string, position);
33219
33220 ;
33221 return 0;
33222 }
33223 _ACEOF
33224 rm -f conftest.$ac_objext conftest$ac_exeext
33225 if { (ac_try="$ac_link"
33226 case "(($ac_try" in
33227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33228 *) ac_try_echo=$ac_try;;
33229 esac
33230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33231 (eval "$ac_link") 2>conftest.er1
33232 ac_status=$?
33233 grep -v '^ *+' conftest.er1 >conftest.err
33234 rm -f conftest.er1
33235 cat conftest.err >&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } && {
33238 test -z "$ac_c_werror_flag" ||
33239 test ! -s conftest.err
33240 } && test -s conftest$ac_exeext &&
33241 $as_test_x conftest$ac_exeext; then
33242
33243 libp_link="$libp"
33244 libsm_ice_link="$libsm_ice"
33245 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33246 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33247 libs_found=1
33248
33249 else
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.$ac_ext >&5
33252
33253
33254
33255 fi
33256
33257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33258 conftest$ac_exeext conftest.$ac_ext
33259
33260 LIBS="$save_LIBS"
33261 CFLAGS=$save_CFLAGS
33262 fi
33263 done
33264 fi
33265 done
33266
33267 if test "$libs_found" = 0; then
33268 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33269 echo "${ECHO_T}can't find the right libraries" >&6; }
33270 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33271 echo "$as_me: error: can't link a simple motif program" >&2;}
33272 { (exit 1); exit 1; }; }
33273 fi
33274
33275 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33276 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33277 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33278 echo $ECHO_N "(cached) $ECHO_C" >&6
33279 else
33280 ac_check_lib_save_LIBS=$LIBS
33281 LIBS="-lSgm $LIBS"
33282 cat >conftest.$ac_ext <<_ACEOF
33283 /* confdefs.h. */
33284 _ACEOF
33285 cat confdefs.h >>conftest.$ac_ext
33286 cat >>conftest.$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33288
33289 /* Override any GCC internal prototype to avoid an error.
33290 Use char because int might match the return type of a GCC
33291 builtin and then its argument prototype would still apply. */
33292 #ifdef __cplusplus
33293 extern "C"
33294 #endif
33295 char SgCreateList ();
33296 int
33297 main ()
33298 {
33299 return SgCreateList ();
33300 ;
33301 return 0;
33302 }
33303 _ACEOF
33304 rm -f conftest.$ac_objext conftest$ac_exeext
33305 if { (ac_try="$ac_link"
33306 case "(($ac_try" in
33307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33308 *) ac_try_echo=$ac_try;;
33309 esac
33310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33311 (eval "$ac_link") 2>conftest.er1
33312 ac_status=$?
33313 grep -v '^ *+' conftest.er1 >conftest.err
33314 rm -f conftest.er1
33315 cat conftest.err >&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); } && {
33318 test -z "$ac_c_werror_flag" ||
33319 test ! -s conftest.err
33320 } && test -s conftest$ac_exeext &&
33321 $as_test_x conftest$ac_exeext; then
33322 ac_cv_lib_Sgm_SgCreateList=yes
33323 else
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33326
33327 ac_cv_lib_Sgm_SgCreateList=no
33328 fi
33329
33330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33331 conftest$ac_exeext conftest.$ac_ext
33332 LIBS=$ac_check_lib_save_LIBS
33333 fi
33334 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33335 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33336 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33337 libsgm_link=" -lSgm"
33338 fi
33339
33340
33341 save_CFLAGS=$CFLAGS
33342 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33343
33344 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33345 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33346 if test "${wx_cv_lib_motif2+set}" = set; then
33347 echo $ECHO_N "(cached) $ECHO_C" >&6
33348 else
33349 cat >conftest.$ac_ext <<_ACEOF
33350 /* confdefs.h. */
33351 _ACEOF
33352 cat confdefs.h >>conftest.$ac_ext
33353 cat >>conftest.$ac_ext <<_ACEOF
33354 /* end confdefs.h. */
33355
33356 #include <Xm/Xm.h>
33357
33358 int
33359 main ()
33360 {
33361
33362 #if XmVersion < 2000
33363 Not Motif 2
33364 #endif
33365
33366 ;
33367 return 0;
33368 }
33369 _ACEOF
33370 rm -f conftest.$ac_objext
33371 if { (ac_try="$ac_compile"
33372 case "(($ac_try" in
33373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33374 *) ac_try_echo=$ac_try;;
33375 esac
33376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33377 (eval "$ac_compile") 2>conftest.er1
33378 ac_status=$?
33379 grep -v '^ *+' conftest.er1 >conftest.err
33380 rm -f conftest.er1
33381 cat conftest.err >&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); } && {
33384 test -z "$ac_c_werror_flag" ||
33385 test ! -s conftest.err
33386 } && test -s conftest.$ac_objext; then
33387 wx_cv_lib_motif2="yes"
33388 else
33389 echo "$as_me: failed program was:" >&5
33390 sed 's/^/| /' conftest.$ac_ext >&5
33391
33392 wx_cv_lib_motif2="no"
33393 fi
33394
33395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33396 fi
33397 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33398 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33399 if test "$wx_cv_lib_motif2" = "yes"; then
33400 cat >>confdefs.h <<\_ACEOF
33401 #define __WXMOTIF20__ 1
33402 _ACEOF
33403
33404 else
33405 cat >>confdefs.h <<\_ACEOF
33406 #define __WXMOTIF20__ 0
33407 _ACEOF
33408
33409 fi
33410
33411 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33412 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33413 if test "${wx_cv_lib_lesstif+set}" = set; then
33414 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 else
33416 cat >conftest.$ac_ext <<_ACEOF
33417 /* confdefs.h. */
33418 _ACEOF
33419 cat confdefs.h >>conftest.$ac_ext
33420 cat >>conftest.$ac_ext <<_ACEOF
33421 /* end confdefs.h. */
33422
33423 #include <Xm/Xm.h>
33424
33425 int
33426 main ()
33427 {
33428
33429 #if !defined(LesstifVersion) || LesstifVersion <= 0
33430 Not Lesstif
33431 #endif
33432
33433 ;
33434 return 0;
33435 }
33436 _ACEOF
33437 rm -f conftest.$ac_objext
33438 if { (ac_try="$ac_compile"
33439 case "(($ac_try" in
33440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33441 *) ac_try_echo=$ac_try;;
33442 esac
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_compile") 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } && {
33451 test -z "$ac_c_werror_flag" ||
33452 test ! -s conftest.err
33453 } && test -s conftest.$ac_objext; then
33454 wx_cv_lib_lesstif="yes"
33455 else
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33458
33459 wx_cv_lib_lesstif="no"
33460 fi
33461
33462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33463
33464 fi
33465 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33466 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33467 if test "$wx_cv_lib_lesstif" = "yes"; then
33468 cat >>confdefs.h <<\_ACEOF
33469 #define __WXLESSTIF__ 1
33470 _ACEOF
33471
33472 else
33473 cat >>confdefs.h <<\_ACEOF
33474 #define __WXLESSTIF__ 0
33475 _ACEOF
33476
33477 fi
33478
33479 CFLAGS=$save_CFLAGS
33480
33481 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33482 TOOLKIT=MOTIF
33483 GUIDIST=MOTIF_DIST
33484 fi
33485
33486 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33487 if test "$wxUSE_LIBXPM" = "sys"; then
33488 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33489 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33490
33491 ac_find_libraries=
33492 for ac_dir in $SEARCH_LIB;
33493 do
33494 for ac_extension in a so sl dylib dll.a; do
33495 if test -f "$ac_dir/libXpm.$ac_extension"; then
33496 ac_find_libraries=$ac_dir
33497 break 2
33498 fi
33499 done
33500 done
33501
33502 if test "$ac_find_libraries" != "" ; then
33503
33504 if test "$ac_find_libraries" = "default location"; then
33505 ac_path_to_link=""
33506 else
33507 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33508 result=$?
33509 if test $result = 0; then
33510 ac_path_to_link=""
33511 else
33512 ac_path_to_link=" -L$ac_find_libraries"
33513 fi
33514 fi
33515
33516 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33517 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33518 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33519
33520 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33521 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33522 if test "${wx_cv_x11_xpm_h+set}" = set; then
33523 echo $ECHO_N "(cached) $ECHO_C" >&6
33524 else
33525
33526 save_CFLAGS=$CFLAGS
33527 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33528
33529 cat >conftest.$ac_ext <<_ACEOF
33530 /* confdefs.h. */
33531 _ACEOF
33532 cat confdefs.h >>conftest.$ac_ext
33533 cat >>conftest.$ac_ext <<_ACEOF
33534 /* end confdefs.h. */
33535
33536 #include <X11/xpm.h>
33537
33538 int
33539 main ()
33540 {
33541
33542 int version;
33543 version = XpmLibraryVersion();
33544
33545 ;
33546 return 0;
33547 }
33548 _ACEOF
33549 rm -f conftest.$ac_objext
33550 if { (ac_try="$ac_compile"
33551 case "(($ac_try" in
33552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33553 *) ac_try_echo=$ac_try;;
33554 esac
33555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33556 (eval "$ac_compile") 2>conftest.er1
33557 ac_status=$?
33558 grep -v '^ *+' conftest.er1 >conftest.err
33559 rm -f conftest.er1
33560 cat conftest.err >&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } && {
33563 test -z "$ac_c_werror_flag" ||
33564 test ! -s conftest.err
33565 } && test -s conftest.$ac_objext; then
33566 wx_cv_x11_xpm_h=yes
33567 else
33568 echo "$as_me: failed program was:" >&5
33569 sed 's/^/| /' conftest.$ac_ext >&5
33570
33571 wx_cv_x11_xpm_h=no
33572
33573 fi
33574
33575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33576
33577 CFLAGS=$save_CFLAGS
33578
33579
33580 fi
33581 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33582 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33583
33584 if test $wx_cv_x11_xpm_h = "yes"; then
33585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33586 cat >>confdefs.h <<\_ACEOF
33587 #define wxHAVE_LIB_XPM 1
33588 _ACEOF
33589
33590 else
33591 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33592 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33593 fi
33594 fi
33595
33596 fi
33597
33598 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33599 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33600 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603 ac_check_lib_save_LIBS=$LIBS
33604 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33605 cat >conftest.$ac_ext <<_ACEOF
33606 /* confdefs.h. */
33607 _ACEOF
33608 cat confdefs.h >>conftest.$ac_ext
33609 cat >>conftest.$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33611
33612 /* Override any GCC internal prototype to avoid an error.
33613 Use char because int might match the return type of a GCC
33614 builtin and then its argument prototype would still apply. */
33615 #ifdef __cplusplus
33616 extern "C"
33617 #endif
33618 char XShapeQueryExtension ();
33619 int
33620 main ()
33621 {
33622 return XShapeQueryExtension ();
33623 ;
33624 return 0;
33625 }
33626 _ACEOF
33627 rm -f conftest.$ac_objext conftest$ac_exeext
33628 if { (ac_try="$ac_link"
33629 case "(($ac_try" in
33630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33631 *) ac_try_echo=$ac_try;;
33632 esac
33633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33634 (eval "$ac_link") 2>conftest.er1
33635 ac_status=$?
33636 grep -v '^ *+' conftest.er1 >conftest.err
33637 rm -f conftest.er1
33638 cat conftest.err >&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); } && {
33641 test -z "$ac_c_werror_flag" ||
33642 test ! -s conftest.err
33643 } && test -s conftest$ac_exeext &&
33644 $as_test_x conftest$ac_exeext; then
33645 ac_cv_lib_Xext_XShapeQueryExtension=yes
33646 else
33647 echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.$ac_ext >&5
33649
33650 ac_cv_lib_Xext_XShapeQueryExtension=no
33651 fi
33652
33653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33654 conftest$ac_exeext conftest.$ac_ext
33655 LIBS=$ac_check_lib_save_LIBS
33656 fi
33657 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33658 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33659 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33660
33661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33662 wxHAVE_XEXT_LIB=1
33663
33664 fi
33665
33666
33667 if test "$wxHAVE_XEXT_LIB" = 1; then
33668 save_CFLAGS="$CFLAGS"
33669 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33670
33671 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33672 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33673 cat >conftest.$ac_ext <<_ACEOF
33674 /* confdefs.h. */
33675 _ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33679
33680 #include <X11/Xlib.h>
33681 #include <X11/extensions/shape.h>
33682
33683 int
33684 main ()
33685 {
33686
33687 int dummy1, dummy2;
33688 XShapeQueryExtension((Display*)NULL,
33689 (int*)NULL, (int*)NULL);
33690
33691 ;
33692 return 0;
33693 }
33694 _ACEOF
33695 rm -f conftest.$ac_objext
33696 if { (ac_try="$ac_compile"
33697 case "(($ac_try" in
33698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33699 *) ac_try_echo=$ac_try;;
33700 esac
33701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33702 (eval "$ac_compile") 2>conftest.er1
33703 ac_status=$?
33704 grep -v '^ *+' conftest.er1 >conftest.err
33705 rm -f conftest.er1
33706 cat conftest.err >&5
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); } && {
33709 test -z "$ac_c_werror_flag" ||
33710 test ! -s conftest.err
33711 } && test -s conftest.$ac_objext; then
33712
33713 cat >>confdefs.h <<\_ACEOF
33714 #define HAVE_XSHAPE 1
33715 _ACEOF
33716
33717 { echo "$as_me:$LINENO: result: found" >&5
33718 echo "${ECHO_T}found" >&6; }
33719
33720 else
33721 echo "$as_me: failed program was:" >&5
33722 sed 's/^/| /' conftest.$ac_ext >&5
33723
33724
33725 { echo "$as_me:$LINENO: result: not found" >&5
33726 echo "${ECHO_T}not found" >&6; }
33727
33728 fi
33729
33730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731 CFLAGS="$save_CFLAGS"
33732
33733 fi
33734 fi
33735
33736 if test "$wxUSE_OSX_CARBON" = 1; then
33737 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33738 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33739 if test "$GCC" = yes; then
33740 { echo "$as_me:$LINENO: result: gcc" >&5
33741 echo "${ECHO_T}gcc" >&6; }
33742 CPPFLAGS_PASCAL="-fpascal-strings"
33743 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33744 { echo "$as_me:$LINENO: result: xlc" >&5
33745 echo "${ECHO_T}xlc" >&6; }
33746 CPPFLAGS_PASCAL="-qmacpstr"
33747 else
33748 { echo "$as_me:$LINENO: result: none" >&5
33749 echo "${ECHO_T}none" >&6; }
33750 fi
33751
33752 if test "x$wxUSE_UNIX" = "xyes"; then
33753 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33754 else
33755 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33756 fi
33757
33758 TOOLKIT=OSX_CARBON
33759 GUIDIST=OSX_CARBON_DIST
33760 WXBASEPORT="_carbon"
33761
33762 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33763 fi
33764
33765 if test "$wxUSE_OSX_COCOA" = 1; then
33766 TOOLKIT=OSX_COCOA
33767 GUIDIST=OSX_COCOA_DIST
33768
33769 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33770 fi
33771
33772 if test "$wxUSE_OSX_IPHONE" = 1; then
33773 TOOLKIT=OSX_IPHONE
33774 fi
33775
33776 if test "$wxUSE_OLD_COCOA" = 1; then
33777 TOOLKIT=COCOA
33778 GUIDIST=COCOA_DIST
33779 fi
33780
33781 if test "$wxUSE_PM" = 1; then
33782 TOOLKIT=PM
33783 GUIDIST=PM_DIST
33784 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33785 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33786 if test "${wx_cv_spbcdata+set}" = set; then
33787 echo $ECHO_N "(cached) $ECHO_C" >&6
33788 else
33789
33790 cat >conftest.$ac_ext <<_ACEOF
33791 /* confdefs.h. */
33792 _ACEOF
33793 cat confdefs.h >>conftest.$ac_ext
33794 cat >>conftest.$ac_ext <<_ACEOF
33795 /* end confdefs.h. */
33796
33797 #define INCL_PM
33798 #include <os2.h>
33799
33800 int
33801 main ()
33802 {
33803
33804 SPBCDATA test;
33805
33806 ;
33807 return 0;
33808 }
33809 _ACEOF
33810 rm -f conftest.$ac_objext
33811 if { (ac_try="$ac_compile"
33812 case "(($ac_try" in
33813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33814 *) ac_try_echo=$ac_try;;
33815 esac
33816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33817 (eval "$ac_compile") 2>conftest.er1
33818 ac_status=$?
33819 grep -v '^ *+' conftest.er1 >conftest.err
33820 rm -f conftest.er1
33821 cat conftest.err >&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); } && {
33824 test -z "$ac_c_werror_flag" ||
33825 test ! -s conftest.err
33826 } && test -s conftest.$ac_objext; then
33827 wx_cv_spbcdata=yes
33828 else
33829 echo "$as_me: failed program was:" >&5
33830 sed 's/^/| /' conftest.$ac_ext >&5
33831
33832 wx_cv_spbcdata=no
33833
33834 fi
33835
33836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33837
33838
33839 fi
33840 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33841 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33842
33843 if test $wx_cv_spbcdata = "yes"; then
33844 cat >>confdefs.h <<\_ACEOF
33845 #define HAVE_SPBCDATA 1
33846 _ACEOF
33847
33848 fi
33849 fi
33850
33851 if test "$TOOLKIT" = "PM" ; then
33852 TOOLKIT_DIR="os2"
33853 else
33854 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33855 fi
33856
33857 if test "$wxUSE_UNIVERSAL" = "yes"; then
33858 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33859 WIDGET_SET=univ
33860 fi
33861
33862 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33863 DISTDIR="wx\$(TOOLKIT)"
33864 else
33865 USE_GUI=0
33866
33867 TOOLKIT_DIR="base"
33868
33869 if test "$USE_WIN32" = 1 ; then
33870 TOOLKIT="MSW"
33871 fi
33872
33873 GUIDIST="BASE_DIST"
33874 DISTDIR="wxBase"
33875 fi
33876
33877
33878
33879 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33880 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33881 wxUSE_UNICODE_UTF8=yes
33882 elif test "$USE_OS2" = 1 ; then
33883 wxUSE_UNICODE_UTF8=yes
33884 else
33885 wxUSE_UNICODE_UTF8=no
33886 fi
33887 fi
33888
33889
33890 if test "$wxUSE_GUI" = "yes"; then
33891 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33892
33893 for ac_header in X11/Xlib.h
33894 do
33895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33896 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901 cat >conftest.$ac_ext <<_ACEOF
33902 /* confdefs.h. */
33903 _ACEOF
33904 cat confdefs.h >>conftest.$ac_ext
33905 cat >>conftest.$ac_ext <<_ACEOF
33906 /* end confdefs.h. */
33907
33908
33909 #include <$ac_header>
33910 _ACEOF
33911 rm -f conftest.$ac_objext
33912 if { (ac_try="$ac_compile"
33913 case "(($ac_try" in
33914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33915 *) ac_try_echo=$ac_try;;
33916 esac
33917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33918 (eval "$ac_compile") 2>conftest.er1
33919 ac_status=$?
33920 grep -v '^ *+' conftest.er1 >conftest.err
33921 rm -f conftest.er1
33922 cat conftest.err >&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); } && {
33925 test -z "$ac_c_werror_flag" ||
33926 test ! -s conftest.err
33927 } && test -s conftest.$ac_objext; then
33928 eval "$as_ac_Header=yes"
33929 else
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33932
33933 eval "$as_ac_Header=no"
33934 fi
33935
33936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33937 fi
33938 ac_res=`eval echo '${'$as_ac_Header'}'`
33939 { echo "$as_me:$LINENO: result: $ac_res" >&5
33940 echo "${ECHO_T}$ac_res" >&6; }
33941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33942 cat >>confdefs.h <<_ACEOF
33943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33944 _ACEOF
33945
33946 fi
33947
33948 done
33949
33950
33951 for ac_header in X11/XKBlib.h
33952 do
33953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33954 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33958 else
33959 cat >conftest.$ac_ext <<_ACEOF
33960 /* confdefs.h. */
33961 _ACEOF
33962 cat confdefs.h >>conftest.$ac_ext
33963 cat >>conftest.$ac_ext <<_ACEOF
33964 /* end confdefs.h. */
33965
33966 #if HAVE_X11_XLIB_H
33967 #include <X11/Xlib.h>
33968 #endif
33969
33970
33971 #include <$ac_header>
33972 _ACEOF
33973 rm -f conftest.$ac_objext
33974 if { (ac_try="$ac_compile"
33975 case "(($ac_try" in
33976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33977 *) ac_try_echo=$ac_try;;
33978 esac
33979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33980 (eval "$ac_compile") 2>conftest.er1
33981 ac_status=$?
33982 grep -v '^ *+' conftest.er1 >conftest.err
33983 rm -f conftest.er1
33984 cat conftest.err >&5
33985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33986 (exit $ac_status); } && {
33987 test -z "$ac_c_werror_flag" ||
33988 test ! -s conftest.err
33989 } && test -s conftest.$ac_objext; then
33990 eval "$as_ac_Header=yes"
33991 else
33992 echo "$as_me: failed program was:" >&5
33993 sed 's/^/| /' conftest.$ac_ext >&5
33994
33995 eval "$as_ac_Header=no"
33996 fi
33997
33998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33999 fi
34000 ac_res=`eval echo '${'$as_ac_Header'}'`
34001 { echo "$as_me:$LINENO: result: $ac_res" >&5
34002 echo "${ECHO_T}$ac_res" >&6; }
34003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34004 cat >>confdefs.h <<_ACEOF
34005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34006 _ACEOF
34007
34008 fi
34009
34010 done
34011
34012 fi
34013 fi
34014
34015
34016
34017 USE_XINERAMA=0
34018 if test "$wxUSE_DISPLAY" = "yes"; then
34019 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34020 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34021 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34022
34023 ac_find_libraries=
34024 for ac_dir in $SEARCH_LIB;
34025 do
34026 for ac_extension in a so sl dylib dll.a; do
34027 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34028 ac_find_libraries=$ac_dir
34029 break 2
34030 fi
34031 done
34032 done
34033
34034 if test "$ac_find_libraries" != "" ; then
34035
34036 if test "$ac_find_libraries" = "default location"; then
34037 ac_path_to_link=""
34038 else
34039 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34040 result=$?
34041 if test $result = 0; then
34042 ac_path_to_link=""
34043 else
34044 ac_path_to_link=" -L$ac_find_libraries"
34045 fi
34046 fi
34047
34048 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34049 LDFLAGS="$LDFLAGS $ac_path_to_link"
34050 fi
34051 USE_XINERAMA=1
34052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34053 { echo "$as_me:$LINENO: result: yes" >&5
34054 echo "${ECHO_T}yes" >&6; }
34055 else
34056 { echo "$as_me:$LINENO: result: no" >&5
34057 echo "${ECHO_T}no" >&6; }
34058 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34059 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34060 wxUSE_DISPLAY="no"
34061 fi
34062 elif test "$wxUSE_MSW" = 1; then
34063 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34064 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34065 if test "${ac_cv_header_ddraw_h+set}" = set; then
34066 echo $ECHO_N "(cached) $ECHO_C" >&6
34067 else
34068 cat >conftest.$ac_ext <<_ACEOF
34069 /* confdefs.h. */
34070 _ACEOF
34071 cat confdefs.h >>conftest.$ac_ext
34072 cat >>conftest.$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34074 #include <windows.h>
34075
34076 #include <ddraw.h>
34077 _ACEOF
34078 rm -f conftest.$ac_objext
34079 if { (ac_try="$ac_compile"
34080 case "(($ac_try" in
34081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34082 *) ac_try_echo=$ac_try;;
34083 esac
34084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34085 (eval "$ac_compile") 2>conftest.er1
34086 ac_status=$?
34087 grep -v '^ *+' conftest.er1 >conftest.err
34088 rm -f conftest.er1
34089 cat conftest.err >&5
34090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091 (exit $ac_status); } && {
34092 test -z "$ac_c_werror_flag" ||
34093 test ! -s conftest.err
34094 } && test -s conftest.$ac_objext; then
34095 ac_cv_header_ddraw_h=yes
34096 else
34097 echo "$as_me: failed program was:" >&5
34098 sed 's/^/| /' conftest.$ac_ext >&5
34099
34100 ac_cv_header_ddraw_h=no
34101 fi
34102
34103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34104 fi
34105 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34106 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34107
34108
34109 fi
34110 fi
34111
34112 if test "$wxUSE_DISPLAY" = "yes"; then
34113 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34114 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34115 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34116
34117 ac_find_libraries=
34118 for ac_dir in $SEARCH_LIB;
34119 do
34120 for ac_extension in a so sl dylib dll.a; do
34121 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34122 ac_find_libraries=$ac_dir
34123 break 2
34124 fi
34125 done
34126 done
34127
34128 if test "$ac_find_libraries" != "" ; then
34129 { echo "$as_me:$LINENO: result: yes" >&5
34130 echo "${ECHO_T}yes" >&6; }
34131
34132 for ac_header in X11/extensions/xf86vmode.h
34133 do
34134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 else
34140 cat >conftest.$ac_ext <<_ACEOF
34141 /* confdefs.h. */
34142 _ACEOF
34143 cat confdefs.h >>conftest.$ac_ext
34144 cat >>conftest.$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146
34147 #if HAVE_X11_XLIB_H
34148 #include <X11/Xlib.h>
34149 #endif
34150
34151
34152 #include <$ac_header>
34153 _ACEOF
34154 rm -f conftest.$ac_objext
34155 if { (ac_try="$ac_compile"
34156 case "(($ac_try" in
34157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34158 *) ac_try_echo=$ac_try;;
34159 esac
34160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34161 (eval "$ac_compile") 2>conftest.er1
34162 ac_status=$?
34163 grep -v '^ *+' conftest.er1 >conftest.err
34164 rm -f conftest.er1
34165 cat conftest.err >&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); } && {
34168 test -z "$ac_c_werror_flag" ||
34169 test ! -s conftest.err
34170 } && test -s conftest.$ac_objext; then
34171 eval "$as_ac_Header=yes"
34172 else
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.$ac_ext >&5
34175
34176 eval "$as_ac_Header=no"
34177 fi
34178
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180 fi
34181 ac_res=`eval echo '${'$as_ac_Header'}'`
34182 { echo "$as_me:$LINENO: result: $ac_res" >&5
34183 echo "${ECHO_T}$ac_res" >&6; }
34184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34185 cat >>confdefs.h <<_ACEOF
34186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34187 _ACEOF
34188
34189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34190
34191 fi
34192
34193 done
34194
34195 else
34196 { echo "$as_me:$LINENO: result: no" >&5
34197 echo "${ECHO_T}no" >&6; }
34198 fi
34199 fi
34200 fi
34201
34202 if test "$wxUSE_DETECT_SM" = "yes"; then
34203 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34204 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34205 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34206
34207 ac_find_libraries=
34208 for ac_dir in $SEARCH_LIB;
34209 do
34210 for ac_extension in a so sl dylib dll.a; do
34211 if test -f "$ac_dir/libSM.$ac_extension"; then
34212 ac_find_libraries=$ac_dir
34213 break 2
34214 fi
34215 done
34216 done
34217
34218 if test "$ac_find_libraries" != "" ; then
34219
34220 if test "$ac_find_libraries" = "default location"; then
34221 ac_path_to_link=""
34222 else
34223 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34224 result=$?
34225 if test $result = 0; then
34226 ac_path_to_link=""
34227 else
34228 ac_path_to_link=" -L$ac_find_libraries"
34229 fi
34230 fi
34231
34232 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34233 LDFLAGS="$LDFLAGS $ac_path_to_link"
34234 fi
34235 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34236 { echo "$as_me:$LINENO: result: yes" >&5
34237 echo "${ECHO_T}yes" >&6; }
34238 else
34239 { echo "$as_me:$LINENO: result: no" >&5
34240 echo "${ECHO_T}no" >&6; }
34241 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34242 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34243 wxUSE_DETECT_SM="no"
34244 fi
34245 else
34246 wxUSE_DETECT_SM="no"
34247 fi
34248 fi
34249
34250
34251
34252 USE_OPENGL=0
34253 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34254
34255
34256 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34257 OPENGL_LIBS="-framework OpenGL -framework AGL"
34258 elif test "$wxUSE_MSW" = 1; then
34259 OPENGL_LIBS="-lopengl32 -lglu32"
34260 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34261
34262 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34263 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34264
34265 ac_find_includes=
34266 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34267 do
34268 if test -f "$ac_dir/GL/gl.h"; then
34269 ac_find_includes=$ac_dir
34270 break
34271 fi
34272 done
34273
34274 if test "$ac_find_includes" != "" ; then
34275 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34276 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34277
34278 if test "x$ac_find_includes" = "x/usr/include"; then
34279 ac_path_to_include=""
34280 else
34281 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34282 result=$?
34283 if test $result = 0; then
34284 ac_path_to_include=""
34285 else
34286 ac_path_to_include=" -I$ac_find_includes"
34287 fi
34288 fi
34289
34290 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34291 else
34292 { echo "$as_me:$LINENO: result: not found" >&5
34293 echo "${ECHO_T}not found" >&6; }
34294 fi
34295
34296 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34297 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34298 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34299 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 else
34301 cat >conftest.$ac_ext <<_ACEOF
34302 /* confdefs.h. */
34303 _ACEOF
34304 cat confdefs.h >>conftest.$ac_ext
34305 cat >>conftest.$ac_ext <<_ACEOF
34306 /* end confdefs.h. */
34307
34308
34309 #include <GL/gl.h>
34310 _ACEOF
34311 rm -f conftest.$ac_objext
34312 if { (ac_try="$ac_compile"
34313 case "(($ac_try" in
34314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34315 *) ac_try_echo=$ac_try;;
34316 esac
34317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34318 (eval "$ac_compile") 2>conftest.er1
34319 ac_status=$?
34320 grep -v '^ *+' conftest.er1 >conftest.err
34321 rm -f conftest.er1
34322 cat conftest.err >&5
34323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34324 (exit $ac_status); } && {
34325 test -z "$ac_c_werror_flag" ||
34326 test ! -s conftest.err
34327 } && test -s conftest.$ac_objext; then
34328 ac_cv_header_GL_gl_h=yes
34329 else
34330 echo "$as_me: failed program was:" >&5
34331 sed 's/^/| /' conftest.$ac_ext >&5
34332
34333 ac_cv_header_GL_gl_h=no
34334 fi
34335
34336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34337 fi
34338 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34339 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34340 if test $ac_cv_header_GL_gl_h = yes; then
34341
34342 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34343 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34344 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 else
34347 cat >conftest.$ac_ext <<_ACEOF
34348 /* confdefs.h. */
34349 _ACEOF
34350 cat confdefs.h >>conftest.$ac_ext
34351 cat >>conftest.$ac_ext <<_ACEOF
34352 /* end confdefs.h. */
34353
34354
34355 #include <GL/glu.h>
34356 _ACEOF
34357 rm -f conftest.$ac_objext
34358 if { (ac_try="$ac_compile"
34359 case "(($ac_try" in
34360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34361 *) ac_try_echo=$ac_try;;
34362 esac
34363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34364 (eval "$ac_compile") 2>conftest.er1
34365 ac_status=$?
34366 grep -v '^ *+' conftest.er1 >conftest.err
34367 rm -f conftest.er1
34368 cat conftest.err >&5
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); } && {
34371 test -z "$ac_c_werror_flag" ||
34372 test ! -s conftest.err
34373 } && test -s conftest.$ac_objext; then
34374 ac_cv_header_GL_glu_h=yes
34375 else
34376 echo "$as_me: failed program was:" >&5
34377 sed 's/^/| /' conftest.$ac_ext >&5
34378
34379 ac_cv_header_GL_glu_h=no
34380 fi
34381
34382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383 fi
34384 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34385 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34386 if test $ac_cv_header_GL_glu_h = yes; then
34387
34388 found_gl=0
34389
34390 { echo "$as_me:$LINENO: checking for -lGL" >&5
34391 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34392
34393 ac_find_libraries=
34394 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34395 do
34396 for ac_extension in a so sl dylib dll.a; do
34397 if test -f "$ac_dir/libGL.$ac_extension"; then
34398 ac_find_libraries=$ac_dir
34399 break 2
34400 fi
34401 done
34402 done
34403
34404 if test "$ac_find_libraries" != "" ; then
34405 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34406 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34407
34408
34409 if test "$ac_find_libraries" = "default location"; then
34410 ac_path_to_link=""
34411 else
34412 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34413 result=$?
34414 if test $result = 0; then
34415 ac_path_to_link=""
34416 else
34417 ac_path_to_link=" -L$ac_find_libraries"
34418 fi
34419 fi
34420
34421 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34422 LDFLAGS_GL="$ac_path_to_link"
34423 fi
34424
34425 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34426 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34427
34428 ac_find_libraries=
34429 for ac_dir in $SEARCH_LIB;
34430 do
34431 for ac_extension in a so sl dylib dll.a; do
34432 if test -f "$ac_dir/libGLU.$ac_extension"; then
34433 ac_find_libraries=$ac_dir
34434 break 2
34435 fi
34436 done
34437 done
34438
34439 if test "$ac_find_libraries" != "" ; then
34440
34441 if test "$ac_find_libraries" = "default location"; then
34442 ac_path_to_link=""
34443 else
34444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34445 result=$?
34446 if test $result = 0; then
34447 ac_path_to_link=""
34448 else
34449 ac_path_to_link=" -L$ac_find_libraries"
34450 fi
34451 fi
34452
34453 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34454 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34455 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34456 fi
34457
34458 found_gl=1
34459 OPENGL_LIBS="-lGL -lGLU"
34460 { echo "$as_me:$LINENO: result: yes" >&5
34461 echo "${ECHO_T}yes" >&6; }
34462 else
34463 { echo "$as_me:$LINENO: result: no" >&5
34464 echo "${ECHO_T}no" >&6; }
34465 fi
34466 else
34467 { echo "$as_me:$LINENO: result: no" >&5
34468 echo "${ECHO_T}no" >&6; }
34469 fi
34470
34471 if test "$found_gl" != 1; then
34472 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34473 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34474
34475 ac_find_libraries=
34476 for ac_dir in $SEARCH_LIB;
34477 do
34478 for ac_extension in a so sl dylib dll.a; do
34479 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34480 ac_find_libraries=$ac_dir
34481 break 2
34482 fi
34483 done
34484 done
34485
34486 if test "$ac_find_libraries" != "" ; then
34487
34488 if test "$ac_find_libraries" = "default location"; then
34489 ac_path_to_link=""
34490 else
34491 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34492 result=$?
34493 if test $result = 0; then
34494 ac_path_to_link=""
34495 else
34496 ac_path_to_link=" -L$ac_find_libraries"
34497 fi
34498 fi
34499
34500 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34501 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34502 { echo "$as_me:$LINENO: result: yes" >&5
34503 echo "${ECHO_T}yes" >&6; }
34504 else
34505 { echo "$as_me:$LINENO: result: no" >&5
34506 echo "${ECHO_T}no" >&6; }
34507 fi
34508 fi
34509
34510 fi
34511
34512
34513
34514 fi
34515
34516
34517
34518 if test "x$OPENGL_LIBS" = "x"; then
34519 if test "$wxUSE_OPENGL" = "yes"; then
34520 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34521 echo "$as_me: error: OpenGL libraries not available" >&2;}
34522 { (exit 1); exit 1; }; }
34523 else
34524 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34525 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34526 wxUSE_OPENGL=no
34527 USE_OPENGL=0
34528 fi
34529 fi
34530 else
34531 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34532 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34533 wxUSE_OPENGL="no"
34534 fi
34535
34536 if test "$wxUSE_OPENGL" = "auto"; then
34537 wxUSE_OPENGL=yes
34538 fi
34539
34540 if test "$wxUSE_OPENGL" = "yes"; then
34541 USE_OPENGL=1
34542 cat >>confdefs.h <<\_ACEOF
34543 #define wxUSE_OPENGL 1
34544 _ACEOF
34545
34546 cat >>confdefs.h <<\_ACEOF
34547 #define wxUSE_GLCANVAS 1
34548 _ACEOF
34549
34550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34551 fi
34552 fi
34553
34554
34555 if test -n "$TOOLKIT" ; then
34556 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34557 fi
34558
34559
34560
34561 if test "$wxUSE_SHARED" = "yes"; then
34562 case "${host}" in
34563 *-pc-msdosdjgpp )
34564 wxUSE_SHARED=no
34565 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34566 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34567 ;;
34568 esac
34569 fi
34570
34571 if test "$wxUSE_SHARED" = "yes"; then
34572
34573
34574 case "${host}" in
34575 *-*-cygwin* | *-*-mingw* )
34576 wx_cv_version_script=no
34577 ;;
34578
34579 *)
34580 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34581 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34582 if test "${wx_cv_version_script+set}" = set; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 else
34585
34586 echo "VER_1 { *; };" >conftest.sym
34587 echo "int main() { return 0; }" >conftest.cpp
34588
34589 if { ac_try='
34590 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34591 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34593 (eval $ac_try) 2>&5
34594 ac_status=$?
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); }; } ; then
34597 if test -s conftest.stderr ; then
34598 wx_cv_version_script=no
34599 else
34600 wx_cv_version_script=yes
34601 fi
34602 else
34603 wx_cv_version_script=no
34604 fi
34605
34606 if test $wx_cv_version_script = yes
34607 then
34608 echo "struct B { virtual ~B() { } }; \
34609 struct D : public B { }; \
34610 void F() { D d; }" > conftest.cpp
34611
34612 if { ac_try='
34613 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34614 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34616 (eval $ac_try) 2>&5
34617 ac_status=$?
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); }; } &&
34620 { ac_try='
34621 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34622 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34625 ac_status=$?
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; }
34628 then
34629 if { ac_try='
34630 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34631 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34633 (eval $ac_try) 2>&5
34634 ac_status=$?
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; }
34637 then
34638 wx_cv_version_script=yes
34639 else
34640 wx_cv_version_script=no
34641 fi
34642 fi
34643 fi
34644
34645 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34646 rm -f conftest1.output conftest2.output conftest3.output
34647
34648 fi
34649 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34650 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34651
34652 if test $wx_cv_version_script = yes ; then
34653 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34654 fi
34655 ;;
34656 esac
34657
34658
34659 if test "$wxUSE_VISIBILITY" != "no"; then
34660
34661
34662 if test -n "$GCC"; then
34663 CFLAGS_VISIBILITY="-fvisibility=hidden"
34664 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34665 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34666 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34667 if test "${wx_cv_cc_visibility+set}" = set; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34669 else
34670
34671 wx_save_CXXFLAGS="$CXXFLAGS"
34672 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34673 ac_ext=cpp
34674 ac_cpp='$CXXCPP $CPPFLAGS'
34675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34678
34679 cat >conftest.$ac_ext <<_ACEOF
34680 /* confdefs.h. */
34681 _ACEOF
34682 cat confdefs.h >>conftest.$ac_ext
34683 cat >>conftest.$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34685
34686 /* we need gcc >= 4.0, older versions with visibility support
34687 didn't have class visibility: */
34688 #if defined(__GNUC__) && __GNUC__ < 4
34689 error this gcc is too old;
34690 #endif
34691
34692 /* visibility only makes sense for ELF shared libs: */
34693 #if !defined(__ELF__) && !defined(__APPLE__)
34694 error this platform has no visibility;
34695 #endif
34696
34697 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34698 extern __attribute__((__visibility__("default"))) int exportedvar;
34699 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34700 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34701 class __attribute__((__visibility__("default"))) Foo {
34702 Foo() {}
34703 };
34704
34705 int
34706 main ()
34707 {
34708
34709 ;
34710 return 0;
34711 }
34712 _ACEOF
34713 rm -f conftest.$ac_objext
34714 if { (ac_try="$ac_compile"
34715 case "(($ac_try" in
34716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34717 *) ac_try_echo=$ac_try;;
34718 esac
34719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34720 (eval "$ac_compile") 2>conftest.er1
34721 ac_status=$?
34722 grep -v '^ *+' conftest.er1 >conftest.err
34723 rm -f conftest.er1
34724 cat conftest.err >&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); } && {
34727 test -z "$ac_cxx_werror_flag" ||
34728 test ! -s conftest.err
34729 } && test -s conftest.$ac_objext; then
34730 wx_cv_cc_visibility=yes
34731 else
34732 echo "$as_me: failed program was:" >&5
34733 sed 's/^/| /' conftest.$ac_ext >&5
34734
34735 wx_cv_cc_visibility=no
34736 fi
34737
34738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34739 ac_ext=c
34740 ac_cpp='$CPP $CPPFLAGS'
34741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34744
34745 CXXFLAGS="$wx_save_CXXFLAGS"
34746 fi
34747
34748 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34749 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34750 if test $wx_cv_cc_visibility = yes; then
34751 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34752 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34753 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34754 echo $ECHO_N "(cached) $ECHO_C" >&6
34755 else
34756
34757 wx_save_CXXFLAGS="$CXXFLAGS"
34758 wx_save_LDFLAGS="$LDFLAGS"
34759 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34760 LDFLAGS="$LDFLAGS -shared -fPIC"
34761 ac_ext=cpp
34762 ac_cpp='$CXXCPP $CPPFLAGS'
34763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34766
34767 cat >conftest.$ac_ext <<_ACEOF
34768 /* confdefs.h. */
34769 _ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34773
34774 #include <string>
34775
34776 int
34777 main ()
34778 {
34779
34780 std::string s("hello");
34781 return s.length();
34782
34783 ;
34784 return 0;
34785 }
34786 _ACEOF
34787 rm -f conftest.$ac_objext conftest$ac_exeext
34788 if { (ac_try="$ac_link"
34789 case "(($ac_try" in
34790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34791 *) ac_try_echo=$ac_try;;
34792 esac
34793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34794 (eval "$ac_link") 2>conftest.er1
34795 ac_status=$?
34796 grep -v '^ *+' conftest.er1 >conftest.err
34797 rm -f conftest.er1
34798 cat conftest.err >&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); } && {
34801 test -z "$ac_cxx_werror_flag" ||
34802 test ! -s conftest.err
34803 } && test -s conftest$ac_exeext &&
34804 $as_test_x conftest$ac_exeext; then
34805 wx_cv_cc_broken_libstdcxx_visibility=no
34806 else
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.$ac_ext >&5
34809
34810 wx_cv_cc_broken_libstdcxx_visibility=yes
34811 fi
34812
34813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34814 conftest$ac_exeext conftest.$ac_ext
34815 ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820
34821 CXXFLAGS="$wx_save_CXXFLAGS"
34822 LDFLAGS="$wx_save_LDFLAGS"
34823 fi
34824
34825 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34826 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34827
34828 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34829 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34830 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34831 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34833 else
34834
34835 ac_ext=cpp
34836 ac_cpp='$CXXCPP $CPPFLAGS'
34837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34840
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847
34848 #pragma GCC visibility push(default)
34849 #include <string>
34850 #pragma GCC visibility pop
34851
34852 int
34853 main ()
34854 {
34855
34856 std::string s("hello");
34857 return s.length();
34858
34859 ;
34860 return 0;
34861 }
34862 _ACEOF
34863 rm -f conftest.$ac_objext conftest$ac_exeext
34864 if { (ac_try="$ac_link"
34865 case "(($ac_try" in
34866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34867 *) ac_try_echo=$ac_try;;
34868 esac
34869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34870 (eval "$ac_link") 2>conftest.er1
34871 ac_status=$?
34872 grep -v '^ *+' conftest.er1 >conftest.err
34873 rm -f conftest.er1
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } && {
34877 test -z "$ac_cxx_werror_flag" ||
34878 test ! -s conftest.err
34879 } && test -s conftest$ac_exeext &&
34880 $as_test_x conftest$ac_exeext; then
34881 wx_cv_cc_visibility_workaround=no
34882 else
34883 echo "$as_me: failed program was:" >&5
34884 sed 's/^/| /' conftest.$ac_ext >&5
34885
34886 wx_cv_cc_visibility_workaround=yes
34887 fi
34888
34889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34890 conftest$ac_exeext conftest.$ac_ext
34891 ac_ext=c
34892 ac_cpp='$CPP $CPPFLAGS'
34893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34896
34897
34898 fi
34899
34900 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34901 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34902
34903 if test $wx_cv_cc_visibility_workaround = no; then
34904 wx_cv_cc_visibility=no
34905 fi
34906 fi
34907 fi
34908
34909 if test $wx_cv_cc_visibility = yes; then
34910 cat >>confdefs.h <<\_ACEOF
34911 #define HAVE_VISIBILITY 1
34912 _ACEOF
34913
34914 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34915 cat >>confdefs.h <<\_ACEOF
34916 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34917 _ACEOF
34918
34919 fi
34920 else
34921 CFLAGS_VISIBILITY=""
34922 CXXFLAGS_VISIBILITY=""
34923 fi
34924
34925
34926 fi
34927
34928 fi
34929
34930 if test "x$SUNCXX" = xyes; then
34931 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34932 WXCONFIG_RPATH="-R\$libdir"
34933 else
34934 case "${host}" in
34935 *-*-linux* | *-*-gnu* )
34936 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34937 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34938 ;;
34939
34940 *-*-solaris2* )
34941
34942 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34943
34944 saveLdflags="$LDFLAGS"
34945 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34946 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34947 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34948 cat >conftest.$ac_ext <<_ACEOF
34949 /* confdefs.h. */
34950 _ACEOF
34951 cat confdefs.h >>conftest.$ac_ext
34952 cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954
34955 int
34956 main ()
34957 {
34958
34959 ;
34960 return 0;
34961 }
34962 _ACEOF
34963 rm -f conftest.$ac_objext conftest$ac_exeext
34964 if { (ac_try="$ac_link"
34965 case "(($ac_try" in
34966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34967 *) ac_try_echo=$ac_try;;
34968 esac
34969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34970 (eval "$ac_link") 2>conftest.er1
34971 ac_status=$?
34972 grep -v '^ *+' conftest.er1 >conftest.err
34973 rm -f conftest.er1
34974 cat conftest.err >&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } && {
34977 test -z "$ac_c_werror_flag" ||
34978 test ! -s conftest.err
34979 } && test -s conftest$ac_exeext &&
34980 $as_test_x conftest$ac_exeext; then
34981
34982 { echo "$as_me:$LINENO: result: yes" >&5
34983 echo "${ECHO_T}yes" >&6; }
34984 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34985 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34986
34987 else
34988 echo "$as_me: failed program was:" >&5
34989 sed 's/^/| /' conftest.$ac_ext >&5
34990
34991
34992 { echo "$as_me:$LINENO: result: no" >&5
34993 echo "${ECHO_T}no" >&6; }
34994 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34995 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34996 LDFLAGS="$saveLdflags -Wl,-R,/"
34997 cat >conftest.$ac_ext <<_ACEOF
34998 /* confdefs.h. */
34999 _ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35003
35004 int
35005 main ()
35006 {
35007
35008 ;
35009 return 0;
35010 }
35011 _ACEOF
35012 rm -f conftest.$ac_objext conftest$ac_exeext
35013 if { (ac_try="$ac_link"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35016 *) ac_try_echo=$ac_try;;
35017 esac
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_link") 2>conftest.er1
35020 ac_status=$?
35021 grep -v '^ *+' conftest.er1 >conftest.err
35022 rm -f conftest.er1
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest$ac_exeext &&
35029 $as_test_x conftest$ac_exeext; then
35030
35031 { echo "$as_me:$LINENO: result: yes" >&5
35032 echo "${ECHO_T}yes" >&6; }
35033 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35034 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35035
35036 else
35037 echo "$as_me: failed program was:" >&5
35038 sed 's/^/| /' conftest.$ac_ext >&5
35039
35040
35041 { echo "$as_me:$LINENO: result: no" >&5
35042 echo "${ECHO_T}no" >&6; }
35043
35044 fi
35045
35046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35047 conftest$ac_exeext conftest.$ac_ext
35048
35049 fi
35050
35051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35052 conftest$ac_exeext conftest.$ac_ext
35053 LDFLAGS="$saveLdflags"
35054 ;;
35055
35056 *-*-darwin* )
35057 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35058 if test "$install_name_tool" -a -x "$install_name_tool"; then
35059 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35060 cat <<EOF >change-install-names
35061 #!/bin/sh
35062 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35063 for i in \${libnames} ; do
35064 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35065 for dep in \${libnames} ; do
35066 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35067 done
35068 done
35069 EOF
35070 chmod +x change-install-names
35071 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35072 fi
35073
35074 HEADER_PAD_OPTION="-headerpad_max_install_names"
35075 ;;
35076
35077 *-*-cygwin* | *-*-mingw32* )
35078 ;;
35079
35080 *-*-hpux* )
35081 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35082 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35083 ;;
35084
35085 esac
35086 fi
35087
35088 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35089
35090 if test $wxUSE_RPATH = "no"; then
35091 SAMPLES_RPATH_FLAG=''
35092 DYLIB_PATH_POSTLINK=''
35093 WXCONFIG_RPATH=''
35094 fi
35095
35096 SHARED=1
35097
35098 else
35099
35100 config_linkage_component="-static"
35101 SHARED=0
35102
35103 fi
35104
35105
35106 UNICODE=0
35107 lib_unicode_suffix=
35108 WX_CHARTYPE="ansi"
35109 if test "$wxUSE_UNICODE" = "yes"; then
35110 lib_unicode_suffix=u
35111 WX_CHARTYPE="unicode"
35112 UNICODE=1
35113 fi
35114
35115 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35116 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35117
35118 DEBUG_INFO=0
35119 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35120 DEBUG_INFO=1
35121 fi
35122
35123 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35124
35125 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35126
35127 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35128
35129
35130 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35131 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35132 else
35133 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35134 fi
35135 if test "${TOOLKIT_DIR}" = "os2"; then
35136 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35137 else
35138 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35139 fi
35140
35141
35142
35143 if test "$wxUSE_OLD_COCOA" = 1; then
35144
35145 ac_ext=c
35146 ac_cpp='$CPP $CPPFLAGS'
35147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150
35151 ac_ext=m
35152
35153 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35154 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161 #include <AppKit/NSEvent.h>
35162 #include <CoreFoundation/CoreFoundation.h>
35163
35164 int
35165 main ()
35166 {
35167
35168 ;
35169 return 0;
35170 }
35171 _ACEOF
35172 rm -f conftest.$ac_objext
35173 if { (ac_try="$ac_compile"
35174 case "(($ac_try" in
35175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35176 *) ac_try_echo=$ac_try;;
35177 esac
35178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35179 (eval "$ac_compile") 2>conftest.er1
35180 ac_status=$?
35181 grep -v '^ *+' conftest.er1 >conftest.err
35182 rm -f conftest.er1
35183 cat conftest.err >&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } && {
35186 test -z "$ac_c_werror_flag" ||
35187 test ! -s conftest.err
35188 } && test -s conftest.$ac_objext; then
35189 { echo "$as_me:$LINENO: result: no" >&5
35190 echo "${ECHO_T}no" >&6; }
35191 else
35192 echo "$as_me: failed program was:" >&5
35193 sed 's/^/| /' conftest.$ac_ext >&5
35194
35195 { echo "$as_me:$LINENO: result: yes" >&5
35196 echo "${ECHO_T}yes" >&6; }
35197 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35198 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35199 cat >conftest.$ac_ext <<_ACEOF
35200 /* confdefs.h. */
35201 _ACEOF
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h. */
35205 #define __Point__ 1
35206 #include <AppKit/NSEvent.h>
35207 #include <CoreFoundation/CoreFoundation.h>
35208
35209 int
35210 main ()
35211 {
35212
35213 ;
35214 return 0;
35215 }
35216 _ACEOF
35217 rm -f conftest.$ac_objext
35218 if { (ac_try="$ac_compile"
35219 case "(($ac_try" in
35220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35221 *) ac_try_echo=$ac_try;;
35222 esac
35223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35224 (eval "$ac_compile") 2>conftest.er1
35225 ac_status=$?
35226 grep -v '^ *+' conftest.er1 >conftest.err
35227 rm -f conftest.er1
35228 cat conftest.err >&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } && {
35231 test -z "$ac_c_werror_flag" ||
35232 test ! -s conftest.err
35233 } && test -s conftest.$ac_objext; then
35234 { echo "$as_me:$LINENO: result: yes" >&5
35235 echo "${ECHO_T}yes" >&6; }
35236 cat >>confdefs.h <<\_ACEOF
35237 #define __Point__ 1
35238 _ACEOF
35239
35240
35241 else
35242 echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.$ac_ext >&5
35244
35245 { { echo "$as_me:$LINENO: error: no
35246 See \`config.log' for more details." >&5
35247 echo "$as_me: error: no
35248 See \`config.log' for more details." >&2;}
35249 { (exit 1); exit 1; }; }
35250
35251 fi
35252
35253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35254
35255 fi
35256
35257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35258 ac_ext=c
35259 ac_cpp='$CPP $CPPFLAGS'
35260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35263
35264 fi
35265
35266
35267 { echo "$as_me:$LINENO: checking for mode_t" >&5
35268 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35269 if test "${ac_cv_type_mode_t+set}" = set; then
35270 echo $ECHO_N "(cached) $ECHO_C" >&6
35271 else
35272 cat >conftest.$ac_ext <<_ACEOF
35273 /* confdefs.h. */
35274 _ACEOF
35275 cat confdefs.h >>conftest.$ac_ext
35276 cat >>conftest.$ac_ext <<_ACEOF
35277 /* end confdefs.h. */
35278 $ac_includes_default
35279 typedef mode_t ac__type_new_;
35280 int
35281 main ()
35282 {
35283 if ((ac__type_new_ *) 0)
35284 return 0;
35285 if (sizeof (ac__type_new_))
35286 return 0;
35287 ;
35288 return 0;
35289 }
35290 _ACEOF
35291 rm -f conftest.$ac_objext
35292 if { (ac_try="$ac_compile"
35293 case "(($ac_try" in
35294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35295 *) ac_try_echo=$ac_try;;
35296 esac
35297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35298 (eval "$ac_compile") 2>conftest.er1
35299 ac_status=$?
35300 grep -v '^ *+' conftest.er1 >conftest.err
35301 rm -f conftest.er1
35302 cat conftest.err >&5
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); } && {
35305 test -z "$ac_c_werror_flag" ||
35306 test ! -s conftest.err
35307 } && test -s conftest.$ac_objext; then
35308 ac_cv_type_mode_t=yes
35309 else
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.$ac_ext >&5
35312
35313 ac_cv_type_mode_t=no
35314 fi
35315
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317 fi
35318 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35319 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35320 if test $ac_cv_type_mode_t = yes; then
35321 :
35322 else
35323
35324 cat >>confdefs.h <<_ACEOF
35325 #define mode_t int
35326 _ACEOF
35327
35328 fi
35329
35330 { echo "$as_me:$LINENO: checking for off_t" >&5
35331 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35332 if test "${ac_cv_type_off_t+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 else
35335 cat >conftest.$ac_ext <<_ACEOF
35336 /* confdefs.h. */
35337 _ACEOF
35338 cat confdefs.h >>conftest.$ac_ext
35339 cat >>conftest.$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341 $ac_includes_default
35342 typedef off_t ac__type_new_;
35343 int
35344 main ()
35345 {
35346 if ((ac__type_new_ *) 0)
35347 return 0;
35348 if (sizeof (ac__type_new_))
35349 return 0;
35350 ;
35351 return 0;
35352 }
35353 _ACEOF
35354 rm -f conftest.$ac_objext
35355 if { (ac_try="$ac_compile"
35356 case "(($ac_try" in
35357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35358 *) ac_try_echo=$ac_try;;
35359 esac
35360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35361 (eval "$ac_compile") 2>conftest.er1
35362 ac_status=$?
35363 grep -v '^ *+' conftest.er1 >conftest.err
35364 rm -f conftest.er1
35365 cat conftest.err >&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } && {
35368 test -z "$ac_c_werror_flag" ||
35369 test ! -s conftest.err
35370 } && test -s conftest.$ac_objext; then
35371 ac_cv_type_off_t=yes
35372 else
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35375
35376 ac_cv_type_off_t=no
35377 fi
35378
35379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35380 fi
35381 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35382 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35383 if test $ac_cv_type_off_t = yes; then
35384 :
35385 else
35386
35387 cat >>confdefs.h <<_ACEOF
35388 #define off_t long int
35389 _ACEOF
35390
35391 fi
35392
35393 { echo "$as_me:$LINENO: checking for pid_t" >&5
35394 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35395 if test "${ac_cv_type_pid_t+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 else
35398 cat >conftest.$ac_ext <<_ACEOF
35399 /* confdefs.h. */
35400 _ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35404 $ac_includes_default
35405 typedef pid_t ac__type_new_;
35406 int
35407 main ()
35408 {
35409 if ((ac__type_new_ *) 0)
35410 return 0;
35411 if (sizeof (ac__type_new_))
35412 return 0;
35413 ;
35414 return 0;
35415 }
35416 _ACEOF
35417 rm -f conftest.$ac_objext
35418 if { (ac_try="$ac_compile"
35419 case "(($ac_try" in
35420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35421 *) ac_try_echo=$ac_try;;
35422 esac
35423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35424 (eval "$ac_compile") 2>conftest.er1
35425 ac_status=$?
35426 grep -v '^ *+' conftest.er1 >conftest.err
35427 rm -f conftest.er1
35428 cat conftest.err >&5
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); } && {
35431 test -z "$ac_c_werror_flag" ||
35432 test ! -s conftest.err
35433 } && test -s conftest.$ac_objext; then
35434 ac_cv_type_pid_t=yes
35435 else
35436 echo "$as_me: failed program was:" >&5
35437 sed 's/^/| /' conftest.$ac_ext >&5
35438
35439 ac_cv_type_pid_t=no
35440 fi
35441
35442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35443 fi
35444 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35445 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35446 if test $ac_cv_type_pid_t = yes; then
35447 :
35448 else
35449
35450 cat >>confdefs.h <<_ACEOF
35451 #define pid_t int
35452 _ACEOF
35453
35454 fi
35455
35456 { echo "$as_me:$LINENO: checking for size_t" >&5
35457 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35458 if test "${ac_cv_type_size_t+set}" = set; then
35459 echo $ECHO_N "(cached) $ECHO_C" >&6
35460 else
35461 cat >conftest.$ac_ext <<_ACEOF
35462 /* confdefs.h. */
35463 _ACEOF
35464 cat confdefs.h >>conftest.$ac_ext
35465 cat >>conftest.$ac_ext <<_ACEOF
35466 /* end confdefs.h. */
35467 $ac_includes_default
35468 typedef size_t ac__type_new_;
35469 int
35470 main ()
35471 {
35472 if ((ac__type_new_ *) 0)
35473 return 0;
35474 if (sizeof (ac__type_new_))
35475 return 0;
35476 ;
35477 return 0;
35478 }
35479 _ACEOF
35480 rm -f conftest.$ac_objext
35481 if { (ac_try="$ac_compile"
35482 case "(($ac_try" in
35483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35484 *) ac_try_echo=$ac_try;;
35485 esac
35486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35487 (eval "$ac_compile") 2>conftest.er1
35488 ac_status=$?
35489 grep -v '^ *+' conftest.er1 >conftest.err
35490 rm -f conftest.er1
35491 cat conftest.err >&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); } && {
35494 test -z "$ac_c_werror_flag" ||
35495 test ! -s conftest.err
35496 } && test -s conftest.$ac_objext; then
35497 ac_cv_type_size_t=yes
35498 else
35499 echo "$as_me: failed program was:" >&5
35500 sed 's/^/| /' conftest.$ac_ext >&5
35501
35502 ac_cv_type_size_t=no
35503 fi
35504
35505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35506 fi
35507 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35508 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35509 if test $ac_cv_type_size_t = yes; then
35510 :
35511 else
35512
35513 cat >>confdefs.h <<_ACEOF
35514 #define size_t unsigned int
35515 _ACEOF
35516
35517 fi
35518
35519
35520 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35521 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35522 if test "${ac_cv_type_ssize_t+set}" = set; then
35523 echo $ECHO_N "(cached) $ECHO_C" >&6
35524 else
35525 cat >conftest.$ac_ext <<_ACEOF
35526 /* confdefs.h. */
35527 _ACEOF
35528 cat confdefs.h >>conftest.$ac_ext
35529 cat >>conftest.$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35531 $ac_includes_default
35532 typedef ssize_t ac__type_new_;
35533 int
35534 main ()
35535 {
35536 if ((ac__type_new_ *) 0)
35537 return 0;
35538 if (sizeof (ac__type_new_))
35539 return 0;
35540 ;
35541 return 0;
35542 }
35543 _ACEOF
35544 rm -f conftest.$ac_objext
35545 if { (ac_try="$ac_compile"
35546 case "(($ac_try" in
35547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35548 *) ac_try_echo=$ac_try;;
35549 esac
35550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35551 (eval "$ac_compile") 2>conftest.er1
35552 ac_status=$?
35553 grep -v '^ *+' conftest.er1 >conftest.err
35554 rm -f conftest.er1
35555 cat conftest.err >&5
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); } && {
35558 test -z "$ac_c_werror_flag" ||
35559 test ! -s conftest.err
35560 } && test -s conftest.$ac_objext; then
35561 ac_cv_type_ssize_t=yes
35562 else
35563 echo "$as_me: failed program was:" >&5
35564 sed 's/^/| /' conftest.$ac_ext >&5
35565
35566 ac_cv_type_ssize_t=no
35567 fi
35568
35569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35570 fi
35571 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35572 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35573 if test $ac_cv_type_ssize_t = yes; then
35574
35575 cat >>confdefs.h <<_ACEOF
35576 #define HAVE_SSIZE_T 1
35577 _ACEOF
35578
35579
35580 fi
35581
35582
35583 ac_ext=cpp
35584 ac_cpp='$CXXCPP $CPPFLAGS'
35585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35588 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35589 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35590 if test "${wx_cv_size_t_is_uint+set}" = set; then
35591 echo $ECHO_N "(cached) $ECHO_C" >&6
35592 else
35593
35594 cat >conftest.$ac_ext <<_ACEOF
35595 /* confdefs.h. */
35596 _ACEOF
35597 cat confdefs.h >>conftest.$ac_ext
35598 cat >>conftest.$ac_ext <<_ACEOF
35599 /* end confdefs.h. */
35600 #include <stddef.h>
35601 int
35602 main ()
35603 {
35604
35605 return 0; }
35606
35607 struct Foo { void foo(size_t); void foo(unsigned int); };
35608
35609 int bar() {
35610
35611 ;
35612 return 0;
35613 }
35614 _ACEOF
35615 rm -f conftest.$ac_objext
35616 if { (ac_try="$ac_compile"
35617 case "(($ac_try" in
35618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35619 *) ac_try_echo=$ac_try;;
35620 esac
35621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35622 (eval "$ac_compile") 2>conftest.er1
35623 ac_status=$?
35624 grep -v '^ *+' conftest.er1 >conftest.err
35625 rm -f conftest.er1
35626 cat conftest.err >&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); } && {
35629 test -z "$ac_cxx_werror_flag" ||
35630 test ! -s conftest.err
35631 } && test -s conftest.$ac_objext; then
35632 wx_cv_size_t_is_uint=no
35633 else
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.$ac_ext >&5
35636
35637 wx_cv_size_t_is_uint=yes
35638
35639 fi
35640
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35642
35643
35644 fi
35645 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35646 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35647
35648 if test "$wx_cv_size_t_is_uint" = "yes"; then
35649 cat >>confdefs.h <<\_ACEOF
35650 #define wxSIZE_T_IS_UINT 1
35651 _ACEOF
35652
35653 else
35654 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35655 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35656 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35657 echo $ECHO_N "(cached) $ECHO_C" >&6
35658 else
35659 cat >conftest.$ac_ext <<_ACEOF
35660 /* confdefs.h. */
35661 _ACEOF
35662 cat confdefs.h >>conftest.$ac_ext
35663 cat >>conftest.$ac_ext <<_ACEOF
35664 /* end confdefs.h. */
35665 #include <stddef.h>
35666 int
35667 main ()
35668 {
35669
35670 return 0; }
35671
35672 struct Foo { void foo(size_t); void foo(unsigned long); };
35673
35674 int bar() {
35675
35676 ;
35677 return 0;
35678 }
35679 _ACEOF
35680 rm -f conftest.$ac_objext
35681 if { (ac_try="$ac_compile"
35682 case "(($ac_try" in
35683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35684 *) ac_try_echo=$ac_try;;
35685 esac
35686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35687 (eval "$ac_compile") 2>conftest.er1
35688 ac_status=$?
35689 grep -v '^ *+' conftest.er1 >conftest.err
35690 rm -f conftest.er1
35691 cat conftest.err >&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } && {
35694 test -z "$ac_cxx_werror_flag" ||
35695 test ! -s conftest.err
35696 } && test -s conftest.$ac_objext; then
35697 wx_cv_size_t_is_ulong=no
35698 else
35699 echo "$as_me: failed program was:" >&5
35700 sed 's/^/| /' conftest.$ac_ext >&5
35701
35702 wx_cv_size_t_is_ulong=yes
35703
35704 fi
35705
35706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35707
35708 fi
35709 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35710 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35711
35712 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35713 cat >>confdefs.h <<\_ACEOF
35714 #define wxSIZE_T_IS_ULONG 1
35715 _ACEOF
35716
35717 fi
35718 fi
35719
35720 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35721 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35722 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 else
35725 cat >conftest.$ac_ext <<_ACEOF
35726 /* confdefs.h. */
35727 _ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35731 #include <wchar.h>
35732 int
35733 main ()
35734 {
35735
35736 return 0; }
35737
35738 struct Foo { void foo(wchar_t);
35739 void foo(unsigned short);
35740 void foo(unsigned int);
35741 void foo(unsigned long); };
35742
35743 int bar() {
35744
35745 ;
35746 return 0;
35747 }
35748 _ACEOF
35749 rm -f conftest.$ac_objext
35750 if { (ac_try="$ac_compile"
35751 case "(($ac_try" in
35752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35753 *) ac_try_echo=$ac_try;;
35754 esac
35755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35756 (eval "$ac_compile") 2>conftest.er1
35757 ac_status=$?
35758 grep -v '^ *+' conftest.er1 >conftest.err
35759 rm -f conftest.er1
35760 cat conftest.err >&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } && {
35763 test -z "$ac_cxx_werror_flag" ||
35764 test ! -s conftest.err
35765 } && test -s conftest.$ac_objext; then
35766 wx_cv_wchar_t_is_separate_type=yes
35767 else
35768 echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.$ac_ext >&5
35770
35771 wx_cv_wchar_t_is_separate_type=no
35772
35773 fi
35774
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776
35777 fi
35778 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35779 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35780
35781 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35782 cat >>confdefs.h <<\_ACEOF
35783 #define wxWCHAR_T_IS_REAL_TYPE 1
35784 _ACEOF
35785
35786 else
35787 cat >>confdefs.h <<\_ACEOF
35788 #define wxWCHAR_T_IS_REAL_TYPE 0
35789 _ACEOF
35790
35791 fi
35792
35793 ac_ext=c
35794 ac_cpp='$CPP $CPPFLAGS'
35795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35798
35799
35800 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35801 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35802 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35803 echo $ECHO_N "(cached) $ECHO_C" >&6
35804 else
35805
35806 cat >conftest.$ac_ext <<_ACEOF
35807 /* confdefs.h. */
35808 _ACEOF
35809 cat confdefs.h >>conftest.$ac_ext
35810 cat >>conftest.$ac_ext <<_ACEOF
35811 /* end confdefs.h. */
35812 #include <pwd.h>
35813 int
35814 main ()
35815 {
35816
35817 char *p;
35818 struct passwd *pw;
35819 p = pw->pw_gecos;
35820
35821 ;
35822 return 0;
35823 }
35824 _ACEOF
35825 rm -f conftest.$ac_objext
35826 if { (ac_try="$ac_compile"
35827 case "(($ac_try" in
35828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35829 *) ac_try_echo=$ac_try;;
35830 esac
35831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35832 (eval "$ac_compile") 2>conftest.er1
35833 ac_status=$?
35834 grep -v '^ *+' conftest.er1 >conftest.err
35835 rm -f conftest.er1
35836 cat conftest.err >&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } && {
35839 test -z "$ac_c_werror_flag" ||
35840 test ! -s conftest.err
35841 } && test -s conftest.$ac_objext; then
35842
35843 wx_cv_struct_pw_gecos=yes
35844
35845 else
35846 echo "$as_me: failed program was:" >&5
35847 sed 's/^/| /' conftest.$ac_ext >&5
35848
35849
35850 wx_cv_struct_pw_gecos=no
35851
35852
35853 fi
35854
35855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35856
35857
35858 fi
35859 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35860 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35861
35862 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35863 cat >>confdefs.h <<\_ACEOF
35864 #define HAVE_PW_GECOS 1
35865 _ACEOF
35866
35867 fi
35868
35869
35870 if test "$wxUSE_WCHAR_T" = "yes"; then
35871 cat >>confdefs.h <<\_ACEOF
35872 #define wxUSE_WCHAR_T 1
35873 _ACEOF
35874
35875
35876 WCSLEN_FOUND=0
35877 WCHAR_LINK=
35878
35879 for ac_func in wcslen
35880 do
35881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35884 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35885 echo $ECHO_N "(cached) $ECHO_C" >&6
35886 else
35887 cat >conftest.$ac_ext <<_ACEOF
35888 /* confdefs.h. */
35889 _ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35895 #define $ac_func innocuous_$ac_func
35896
35897 /* System header to define __stub macros and hopefully few prototypes,
35898 which can conflict with char $ac_func (); below.
35899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35900 <limits.h> exists even on freestanding compilers. */
35901
35902 #ifdef __STDC__
35903 # include <limits.h>
35904 #else
35905 # include <assert.h>
35906 #endif
35907
35908 #undef $ac_func
35909
35910 /* Override any GCC internal prototype to avoid an error.
35911 Use char because int might match the return type of a GCC
35912 builtin and then its argument prototype would still apply. */
35913 #ifdef __cplusplus
35914 extern "C"
35915 #endif
35916 char $ac_func ();
35917 /* The GNU C library defines this for functions which it implements
35918 to always fail with ENOSYS. Some functions are actually named
35919 something starting with __ and the normal name is an alias. */
35920 #if defined __stub_$ac_func || defined __stub___$ac_func
35921 choke me
35922 #endif
35923
35924 int
35925 main ()
35926 {
35927 return $ac_func ();
35928 ;
35929 return 0;
35930 }
35931 _ACEOF
35932 rm -f conftest.$ac_objext conftest$ac_exeext
35933 if { (ac_try="$ac_link"
35934 case "(($ac_try" in
35935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35936 *) ac_try_echo=$ac_try;;
35937 esac
35938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35939 (eval "$ac_link") 2>conftest.er1
35940 ac_status=$?
35941 grep -v '^ *+' conftest.er1 >conftest.err
35942 rm -f conftest.er1
35943 cat conftest.err >&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); } && {
35946 test -z "$ac_c_werror_flag" ||
35947 test ! -s conftest.err
35948 } && test -s conftest$ac_exeext &&
35949 $as_test_x conftest$ac_exeext; then
35950 eval "$as_ac_var=yes"
35951 else
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35954
35955 eval "$as_ac_var=no"
35956 fi
35957
35958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35959 conftest$ac_exeext conftest.$ac_ext
35960 fi
35961 ac_res=`eval echo '${'$as_ac_var'}'`
35962 { echo "$as_me:$LINENO: result: $ac_res" >&5
35963 echo "${ECHO_T}$ac_res" >&6; }
35964 if test `eval echo '${'$as_ac_var'}'` = yes; then
35965 cat >>confdefs.h <<_ACEOF
35966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35967 _ACEOF
35968 WCSLEN_FOUND=1
35969 fi
35970 done
35971
35972
35973 if test "$WCSLEN_FOUND" = 0; then
35974 if test "$TOOLKIT" = "MSW"; then
35975 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35976 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35977 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35978 echo $ECHO_N "(cached) $ECHO_C" >&6
35979 else
35980 ac_check_lib_save_LIBS=$LIBS
35981 LIBS="-lmsvcrt $LIBS"
35982 cat >conftest.$ac_ext <<_ACEOF
35983 /* confdefs.h. */
35984 _ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h. */
35988
35989 /* Override any GCC internal prototype to avoid an error.
35990 Use char because int might match the return type of a GCC
35991 builtin and then its argument prototype would still apply. */
35992 #ifdef __cplusplus
35993 extern "C"
35994 #endif
35995 char wcslen ();
35996 int
35997 main ()
35998 {
35999 return wcslen ();
36000 ;
36001 return 0;
36002 }
36003 _ACEOF
36004 rm -f conftest.$ac_objext conftest$ac_exeext
36005 if { (ac_try="$ac_link"
36006 case "(($ac_try" in
36007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36008 *) ac_try_echo=$ac_try;;
36009 esac
36010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36011 (eval "$ac_link") 2>conftest.er1
36012 ac_status=$?
36013 grep -v '^ *+' conftest.er1 >conftest.err
36014 rm -f conftest.er1
36015 cat conftest.err >&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); } && {
36018 test -z "$ac_c_werror_flag" ||
36019 test ! -s conftest.err
36020 } && test -s conftest$ac_exeext &&
36021 $as_test_x conftest$ac_exeext; then
36022 ac_cv_lib_msvcrt_wcslen=yes
36023 else
36024 echo "$as_me: failed program was:" >&5
36025 sed 's/^/| /' conftest.$ac_ext >&5
36026
36027 ac_cv_lib_msvcrt_wcslen=no
36028 fi
36029
36030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36031 conftest$ac_exeext conftest.$ac_ext
36032 LIBS=$ac_check_lib_save_LIBS
36033 fi
36034 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36035 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36036 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36037 WCHAR_OK=1
36038 fi
36039
36040 else
36041 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36042 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36043 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36044 echo $ECHO_N "(cached) $ECHO_C" >&6
36045 else
36046 ac_check_lib_save_LIBS=$LIBS
36047 LIBS="-lw $LIBS"
36048 cat >conftest.$ac_ext <<_ACEOF
36049 /* confdefs.h. */
36050 _ACEOF
36051 cat confdefs.h >>conftest.$ac_ext
36052 cat >>conftest.$ac_ext <<_ACEOF
36053 /* end confdefs.h. */
36054
36055 /* Override any GCC internal prototype to avoid an error.
36056 Use char because int might match the return type of a GCC
36057 builtin and then its argument prototype would still apply. */
36058 #ifdef __cplusplus
36059 extern "C"
36060 #endif
36061 char wcslen ();
36062 int
36063 main ()
36064 {
36065 return wcslen ();
36066 ;
36067 return 0;
36068 }
36069 _ACEOF
36070 rm -f conftest.$ac_objext conftest$ac_exeext
36071 if { (ac_try="$ac_link"
36072 case "(($ac_try" in
36073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36074 *) ac_try_echo=$ac_try;;
36075 esac
36076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36077 (eval "$ac_link") 2>conftest.er1
36078 ac_status=$?
36079 grep -v '^ *+' conftest.er1 >conftest.err
36080 rm -f conftest.er1
36081 cat conftest.err >&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } && {
36084 test -z "$ac_c_werror_flag" ||
36085 test ! -s conftest.err
36086 } && test -s conftest$ac_exeext &&
36087 $as_test_x conftest$ac_exeext; then
36088 ac_cv_lib_w_wcslen=yes
36089 else
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.$ac_ext >&5
36092
36093 ac_cv_lib_w_wcslen=no
36094 fi
36095
36096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36097 conftest$ac_exeext conftest.$ac_ext
36098 LIBS=$ac_check_lib_save_LIBS
36099 fi
36100 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36101 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36102 if test $ac_cv_lib_w_wcslen = yes; then
36103
36104 WCHAR_LINK=" -lw"
36105 WCSLEN_FOUND=1
36106
36107 fi
36108
36109 fi
36110 fi
36111
36112 if test "$WCSLEN_FOUND" = 1; then
36113 cat >>confdefs.h <<\_ACEOF
36114 #define HAVE_WCSLEN 1
36115 _ACEOF
36116
36117 fi
36118
36119
36120
36121
36122
36123
36124 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36125 do
36126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 else
36132 cat >conftest.$ac_ext <<_ACEOF
36133 /* confdefs.h. */
36134 _ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36140 #define $ac_func innocuous_$ac_func
36141
36142 /* System header to define __stub macros and hopefully few prototypes,
36143 which can conflict with char $ac_func (); below.
36144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36145 <limits.h> exists even on freestanding compilers. */
36146
36147 #ifdef __STDC__
36148 # include <limits.h>
36149 #else
36150 # include <assert.h>
36151 #endif
36152
36153 #undef $ac_func
36154
36155 /* Override any GCC internal prototype to avoid an error.
36156 Use char because int might match the return type of a GCC
36157 builtin and then its argument prototype would still apply. */
36158 #ifdef __cplusplus
36159 extern "C"
36160 #endif
36161 char $ac_func ();
36162 /* The GNU C library defines this for functions which it implements
36163 to always fail with ENOSYS. Some functions are actually named
36164 something starting with __ and the normal name is an alias. */
36165 #if defined __stub_$ac_func || defined __stub___$ac_func
36166 choke me
36167 #endif
36168
36169 int
36170 main ()
36171 {
36172 return $ac_func ();
36173 ;
36174 return 0;
36175 }
36176 _ACEOF
36177 rm -f conftest.$ac_objext conftest$ac_exeext
36178 if { (ac_try="$ac_link"
36179 case "(($ac_try" in
36180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36181 *) ac_try_echo=$ac_try;;
36182 esac
36183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36184 (eval "$ac_link") 2>conftest.er1
36185 ac_status=$?
36186 grep -v '^ *+' conftest.er1 >conftest.err
36187 rm -f conftest.er1
36188 cat conftest.err >&5
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); } && {
36191 test -z "$ac_c_werror_flag" ||
36192 test ! -s conftest.err
36193 } && test -s conftest$ac_exeext &&
36194 $as_test_x conftest$ac_exeext; then
36195 eval "$as_ac_var=yes"
36196 else
36197 echo "$as_me: failed program was:" >&5
36198 sed 's/^/| /' conftest.$ac_ext >&5
36199
36200 eval "$as_ac_var=no"
36201 fi
36202
36203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36204 conftest$ac_exeext conftest.$ac_ext
36205 fi
36206 ac_res=`eval echo '${'$as_ac_var'}'`
36207 { echo "$as_me:$LINENO: result: $ac_res" >&5
36208 echo "${ECHO_T}$ac_res" >&6; }
36209 if test `eval echo '${'$as_ac_var'}'` = yes; then
36210 cat >>confdefs.h <<_ACEOF
36211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36212 _ACEOF
36213
36214 fi
36215 done
36216
36217
36218 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36219 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36220 fi
36221
36222 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36223 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36224 if test "${ac_cv_type_mbstate_t+set}" = set; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 else
36227 cat >conftest.$ac_ext <<_ACEOF
36228 /* confdefs.h. */
36229 _ACEOF
36230 cat confdefs.h >>conftest.$ac_ext
36231 cat >>conftest.$ac_ext <<_ACEOF
36232 /* end confdefs.h. */
36233 #include <wchar.h>
36234
36235 typedef mbstate_t ac__type_new_;
36236 int
36237 main ()
36238 {
36239 if ((ac__type_new_ *) 0)
36240 return 0;
36241 if (sizeof (ac__type_new_))
36242 return 0;
36243 ;
36244 return 0;
36245 }
36246 _ACEOF
36247 rm -f conftest.$ac_objext
36248 if { (ac_try="$ac_compile"
36249 case "(($ac_try" in
36250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36251 *) ac_try_echo=$ac_try;;
36252 esac
36253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36254 (eval "$ac_compile") 2>conftest.er1
36255 ac_status=$?
36256 grep -v '^ *+' conftest.er1 >conftest.err
36257 rm -f conftest.er1
36258 cat conftest.err >&5
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); } && {
36261 test -z "$ac_c_werror_flag" ||
36262 test ! -s conftest.err
36263 } && test -s conftest.$ac_objext; then
36264 ac_cv_type_mbstate_t=yes
36265 else
36266 echo "$as_me: failed program was:" >&5
36267 sed 's/^/| /' conftest.$ac_ext >&5
36268
36269 ac_cv_type_mbstate_t=no
36270 fi
36271
36272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36273 fi
36274 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36275 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36276 if test $ac_cv_type_mbstate_t = yes; then
36277
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE_MBSTATE_T 1
36280 _ACEOF
36281
36282
36283 for ac_func in wcsrtombs
36284 do
36285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36290 else
36291 cat >conftest.$ac_ext <<_ACEOF
36292 /* confdefs.h. */
36293 _ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36299 #define $ac_func innocuous_$ac_func
36300
36301 /* System header to define __stub macros and hopefully few prototypes,
36302 which can conflict with char $ac_func (); below.
36303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304 <limits.h> exists even on freestanding compilers. */
36305
36306 #ifdef __STDC__
36307 # include <limits.h>
36308 #else
36309 # include <assert.h>
36310 #endif
36311
36312 #undef $ac_func
36313
36314 /* Override any GCC internal prototype to avoid an error.
36315 Use char because int might match the return type of a GCC
36316 builtin and then its argument prototype would still apply. */
36317 #ifdef __cplusplus
36318 extern "C"
36319 #endif
36320 char $ac_func ();
36321 /* The GNU C library defines this for functions which it implements
36322 to always fail with ENOSYS. Some functions are actually named
36323 something starting with __ and the normal name is an alias. */
36324 #if defined __stub_$ac_func || defined __stub___$ac_func
36325 choke me
36326 #endif
36327
36328 int
36329 main ()
36330 {
36331 return $ac_func ();
36332 ;
36333 return 0;
36334 }
36335 _ACEOF
36336 rm -f conftest.$ac_objext conftest$ac_exeext
36337 if { (ac_try="$ac_link"
36338 case "(($ac_try" in
36339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36340 *) ac_try_echo=$ac_try;;
36341 esac
36342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36343 (eval "$ac_link") 2>conftest.er1
36344 ac_status=$?
36345 grep -v '^ *+' conftest.er1 >conftest.err
36346 rm -f conftest.er1
36347 cat conftest.err >&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } && {
36350 test -z "$ac_c_werror_flag" ||
36351 test ! -s conftest.err
36352 } && test -s conftest$ac_exeext &&
36353 $as_test_x conftest$ac_exeext; then
36354 eval "$as_ac_var=yes"
36355 else
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.$ac_ext >&5
36358
36359 eval "$as_ac_var=no"
36360 fi
36361
36362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36363 conftest$ac_exeext conftest.$ac_ext
36364 fi
36365 ac_res=`eval echo '${'$as_ac_var'}'`
36366 { echo "$as_me:$LINENO: result: $ac_res" >&5
36367 echo "${ECHO_T}$ac_res" >&6; }
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h <<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 _ACEOF
36372
36373 fi
36374 done
36375
36376 fi
36377
36378 else
36379 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36380 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36381 fi
36382
36383
36384
36385
36386 for ac_func in snprintf vsnprintf vsscanf
36387 do
36388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36389 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36392 echo $ECHO_N "(cached) $ECHO_C" >&6
36393 else
36394 cat >conftest.$ac_ext <<_ACEOF
36395 /* confdefs.h. */
36396 _ACEOF
36397 cat confdefs.h >>conftest.$ac_ext
36398 cat >>conftest.$ac_ext <<_ACEOF
36399 /* end confdefs.h. */
36400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36402 #define $ac_func innocuous_$ac_func
36403
36404 /* System header to define __stub macros and hopefully few prototypes,
36405 which can conflict with char $ac_func (); below.
36406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36407 <limits.h> exists even on freestanding compilers. */
36408
36409 #ifdef __STDC__
36410 # include <limits.h>
36411 #else
36412 # include <assert.h>
36413 #endif
36414
36415 #undef $ac_func
36416
36417 /* Override any GCC internal prototype to avoid an error.
36418 Use char because int might match the return type of a GCC
36419 builtin and then its argument prototype would still apply. */
36420 #ifdef __cplusplus
36421 extern "C"
36422 #endif
36423 char $ac_func ();
36424 /* The GNU C library defines this for functions which it implements
36425 to always fail with ENOSYS. Some functions are actually named
36426 something starting with __ and the normal name is an alias. */
36427 #if defined __stub_$ac_func || defined __stub___$ac_func
36428 choke me
36429 #endif
36430
36431 int
36432 main ()
36433 {
36434 return $ac_func ();
36435 ;
36436 return 0;
36437 }
36438 _ACEOF
36439 rm -f conftest.$ac_objext conftest$ac_exeext
36440 if { (ac_try="$ac_link"
36441 case "(($ac_try" in
36442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36443 *) ac_try_echo=$ac_try;;
36444 esac
36445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36446 (eval "$ac_link") 2>conftest.er1
36447 ac_status=$?
36448 grep -v '^ *+' conftest.er1 >conftest.err
36449 rm -f conftest.er1
36450 cat conftest.err >&5
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); } && {
36453 test -z "$ac_c_werror_flag" ||
36454 test ! -s conftest.err
36455 } && test -s conftest$ac_exeext &&
36456 $as_test_x conftest$ac_exeext; then
36457 eval "$as_ac_var=yes"
36458 else
36459 echo "$as_me: failed program was:" >&5
36460 sed 's/^/| /' conftest.$ac_ext >&5
36461
36462 eval "$as_ac_var=no"
36463 fi
36464
36465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36466 conftest$ac_exeext conftest.$ac_ext
36467 fi
36468 ac_res=`eval echo '${'$as_ac_var'}'`
36469 { echo "$as_me:$LINENO: result: $ac_res" >&5
36470 echo "${ECHO_T}$ac_res" >&6; }
36471 if test `eval echo '${'$as_ac_var'}'` = yes; then
36472 cat >>confdefs.h <<_ACEOF
36473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36474 _ACEOF
36475
36476 fi
36477 done
36478
36479
36480 ac_ext=cpp
36481 ac_cpp='$CXXCPP $CPPFLAGS'
36482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36485
36486 if test "$ac_cv_func_vsnprintf" = "yes"; then
36487 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36488 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36489 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 else
36492
36493 cat >conftest.$ac_ext <<_ACEOF
36494 /* confdefs.h. */
36495 _ACEOF
36496 cat confdefs.h >>conftest.$ac_ext
36497 cat >>conftest.$ac_ext <<_ACEOF
36498 /* end confdefs.h. */
36499
36500 #include <stdio.h>
36501 #include <stdarg.h>
36502 #ifdef __MSL__
36503 #if __MSL__ >= 0x6000
36504 namespace std {}
36505 using namespace std;
36506 #endif
36507 #endif
36508
36509 int
36510 main ()
36511 {
36512
36513 char *buf;
36514 va_list ap;
36515 vsnprintf(buf, 10u, "%s", ap);
36516
36517 ;
36518 return 0;
36519 }
36520 _ACEOF
36521 rm -f conftest.$ac_objext
36522 if { (ac_try="$ac_compile"
36523 case "(($ac_try" in
36524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36525 *) ac_try_echo=$ac_try;;
36526 esac
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_compile") 2>conftest.er1
36529 ac_status=$?
36530 grep -v '^ *+' conftest.er1 >conftest.err
36531 rm -f conftest.er1
36532 cat conftest.err >&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_cxx_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest.$ac_objext; then
36538 wx_cv_func_vsnprintf_decl=yes
36539 else
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.$ac_ext >&5
36542
36543 wx_cv_func_vsnprintf_decl=no
36544
36545 fi
36546
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548
36549
36550 fi
36551 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36552 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36553
36554 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36555 cat >>confdefs.h <<\_ACEOF
36556 #define HAVE_VSNPRINTF_DECL 1
36557 _ACEOF
36558
36559
36560 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36561 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36562 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36563 echo $ECHO_N "(cached) $ECHO_C" >&6
36564 else
36565
36566 cat >conftest.$ac_ext <<_ACEOF
36567 /* confdefs.h. */
36568 _ACEOF
36569 cat confdefs.h >>conftest.$ac_ext
36570 cat >>conftest.$ac_ext <<_ACEOF
36571 /* end confdefs.h. */
36572
36573 #include <stdio.h>
36574 #include <stdarg.h>
36575 #ifdef __MSL__
36576 #if __MSL__ >= 0x6000
36577 namespace std {}
36578 using namespace std;
36579 #endif
36580 #endif
36581
36582 int
36583 main ()
36584 {
36585
36586 char *buf;
36587 va_list ap;
36588 const char *fmt = "%s";
36589 vsnprintf(buf, 10u, fmt, ap);
36590
36591 ;
36592 return 0;
36593 }
36594 _ACEOF
36595 rm -f conftest.$ac_objext
36596 if { (ac_try="$ac_compile"
36597 case "(($ac_try" in
36598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36599 *) ac_try_echo=$ac_try;;
36600 esac
36601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36602 (eval "$ac_compile") 2>conftest.er1
36603 ac_status=$?
36604 grep -v '^ *+' conftest.er1 >conftest.err
36605 rm -f conftest.er1
36606 cat conftest.err >&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); } && {
36609 test -z "$ac_cxx_werror_flag" ||
36610 test ! -s conftest.err
36611 } && test -s conftest.$ac_objext; then
36612 wx_cv_func_broken_vsnprintf_decl=no
36613 else
36614 echo "$as_me: failed program was:" >&5
36615 sed 's/^/| /' conftest.$ac_ext >&5
36616
36617 wx_cv_func_broken_vsnprintf_decl=yes
36618
36619 fi
36620
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622
36623
36624 fi
36625 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36626 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36627
36628 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36629 cat >>confdefs.h <<\_ACEOF
36630 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36631 _ACEOF
36632
36633 fi
36634 fi
36635 fi
36636
36637 if test "$ac_cv_func_snprintf" = "yes"; then
36638 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36639 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36640 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36641 echo $ECHO_N "(cached) $ECHO_C" >&6
36642 else
36643
36644 cat >conftest.$ac_ext <<_ACEOF
36645 /* confdefs.h. */
36646 _ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650
36651 #include <stdio.h>
36652 #include <stdarg.h>
36653 #ifdef __MSL__
36654 #if __MSL__ >= 0x6000
36655 namespace std {}
36656 using namespace std;
36657 #endif
36658 #endif
36659
36660 int
36661 main ()
36662 {
36663
36664 char *buf;
36665 snprintf(buf, 10u, "%s", "wx");
36666
36667 ;
36668 return 0;
36669 }
36670 _ACEOF
36671 rm -f conftest.$ac_objext
36672 if { (ac_try="$ac_compile"
36673 case "(($ac_try" in
36674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36675 *) ac_try_echo=$ac_try;;
36676 esac
36677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36678 (eval "$ac_compile") 2>conftest.er1
36679 ac_status=$?
36680 grep -v '^ *+' conftest.er1 >conftest.err
36681 rm -f conftest.er1
36682 cat conftest.err >&5
36683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684 (exit $ac_status); } && {
36685 test -z "$ac_cxx_werror_flag" ||
36686 test ! -s conftest.err
36687 } && test -s conftest.$ac_objext; then
36688 wx_cv_func_snprintf_decl=yes
36689 else
36690 echo "$as_me: failed program was:" >&5
36691 sed 's/^/| /' conftest.$ac_ext >&5
36692
36693 wx_cv_func_snprintf_decl=no
36694
36695 fi
36696
36697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36698
36699
36700 fi
36701 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36702 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36703
36704 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36705 cat >>confdefs.h <<\_ACEOF
36706 #define HAVE_SNPRINTF_DECL 1
36707 _ACEOF
36708
36709 fi
36710
36711 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36712
36713 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36714 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36715 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36716 echo $ECHO_N "(cached) $ECHO_C" >&6
36717 else
36718
36719 if test "$cross_compiling" = yes; then
36720
36721 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36722 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36723 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36724 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36725 wx_cv_func_snprintf_pos_params=no
36726
36727
36728 else
36729 cat >conftest.$ac_ext <<_ACEOF
36730 /* confdefs.h. */
36731 _ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36735
36736 #include <stdio.h>
36737
36738 int main (void)
36739 {
36740 char buffer[128];
36741 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36742 if (strcmp ("2 3 1", buffer) == 0)
36743 exit (0);
36744 exit (1);
36745 }
36746
36747 _ACEOF
36748 rm -f conftest$ac_exeext
36749 if { (ac_try="$ac_link"
36750 case "(($ac_try" in
36751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36752 *) ac_try_echo=$ac_try;;
36753 esac
36754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36755 (eval "$ac_link") 2>&5
36756 ac_status=$?
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36759 { (case "(($ac_try" in
36760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36761 *) ac_try_echo=$ac_try;;
36762 esac
36763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36764 (eval "$ac_try") 2>&5
36765 ac_status=$?
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; }; then
36768 wx_cv_func_snprintf_pos_params=no
36769 else
36770 echo "$as_me: program exited with status $ac_status" >&5
36771 echo "$as_me: failed program was:" >&5
36772 sed 's/^/| /' conftest.$ac_ext >&5
36773
36774 ( exit $ac_status )
36775 wx_cv_func_snprintf_pos_params=yes
36776 fi
36777 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36778 fi
36779
36780
36781
36782
36783 fi
36784 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36785 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36786
36787 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36788 cat >>confdefs.h <<\_ACEOF
36789 #define HAVE_UNIX98_PRINTF 1
36790 _ACEOF
36791
36792 fi
36793 fi
36794 fi
36795
36796 if test "$ac_cv_func_vsscanf" = "yes"; then
36797 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36798 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36799 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36800 echo $ECHO_N "(cached) $ECHO_C" >&6
36801 else
36802
36803 cat >conftest.$ac_ext <<_ACEOF
36804 /* confdefs.h. */
36805 _ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809
36810 #include <stdio.h>
36811 #include <stdarg.h>
36812 #ifdef __MSL__
36813 #if __MSL__ >= 0x6000
36814 namespace std {}
36815 using namespace std;
36816 #endif
36817 #endif
36818
36819 int
36820 main ()
36821 {
36822
36823 char *buf;
36824 va_list args;
36825 vsscanf(buf, "%s", args);
36826
36827 ;
36828 return 0;
36829 }
36830 _ACEOF
36831 rm -f conftest.$ac_objext
36832 if { (ac_try="$ac_compile"
36833 case "(($ac_try" in
36834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36835 *) ac_try_echo=$ac_try;;
36836 esac
36837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36838 (eval "$ac_compile") 2>conftest.er1
36839 ac_status=$?
36840 grep -v '^ *+' conftest.er1 >conftest.err
36841 rm -f conftest.er1
36842 cat conftest.err >&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); } && {
36845 test -z "$ac_cxx_werror_flag" ||
36846 test ! -s conftest.err
36847 } && test -s conftest.$ac_objext; then
36848 wx_cv_func_vsscanf_decl=yes
36849 else
36850 echo "$as_me: failed program was:" >&5
36851 sed 's/^/| /' conftest.$ac_ext >&5
36852
36853 wx_cv_func_vsscanf_decl=no
36854
36855 fi
36856
36857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36858
36859
36860 fi
36861 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36862 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36863
36864 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36865 cat >>confdefs.h <<\_ACEOF
36866 #define HAVE_VSSCANF_DECL 1
36867 _ACEOF
36868
36869 fi
36870 fi
36871 ac_ext=c
36872 ac_cpp='$CPP $CPPFLAGS'
36873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36876
36877
36878 if test "$wxUSE_UNICODE" = yes; then
36879
36880 wchar_headers="#include <stdio.h>
36881 #include <wchar.h>"
36882 case "${host}" in
36883 *-*-solaris2* )
36884
36885 for ac_header in widec.h
36886 do
36887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36891 echo $ECHO_N "(cached) $ECHO_C" >&6
36892 else
36893 cat >conftest.$ac_ext <<_ACEOF
36894 /* confdefs.h. */
36895 _ACEOF
36896 cat confdefs.h >>conftest.$ac_ext
36897 cat >>conftest.$ac_ext <<_ACEOF
36898 /* end confdefs.h. */
36899 $ac_includes_default
36900
36901 #include <$ac_header>
36902 _ACEOF
36903 rm -f conftest.$ac_objext
36904 if { (ac_try="$ac_compile"
36905 case "(($ac_try" in
36906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36907 *) ac_try_echo=$ac_try;;
36908 esac
36909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36910 (eval "$ac_compile") 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } && {
36917 test -z "$ac_c_werror_flag" ||
36918 test ! -s conftest.err
36919 } && test -s conftest.$ac_objext; then
36920 eval "$as_ac_Header=yes"
36921 else
36922 echo "$as_me: failed program was:" >&5
36923 sed 's/^/| /' conftest.$ac_ext >&5
36924
36925 eval "$as_ac_Header=no"
36926 fi
36927
36928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36929 fi
36930 ac_res=`eval echo '${'$as_ac_Header'}'`
36931 { echo "$as_me:$LINENO: result: $ac_res" >&5
36932 echo "${ECHO_T}$ac_res" >&6; }
36933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36934 cat >>confdefs.h <<_ACEOF
36935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36936 _ACEOF
36937
36938 fi
36939
36940 done
36941
36942 if test "$ac_cv_header_widec_h" = "yes"; then
36943 wchar_headers="$wchar_headers
36944 #include <widec.h>"
36945 fi
36946 esac
36947
36948
36949 for wx_func in putws fputws wprintf vswprintf vswscanf
36950 do
36951 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36952 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36953 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36954 echo $ECHO_N "(cached) $ECHO_C" >&6
36955 else
36956
36957 cat >conftest.$ac_ext <<_ACEOF
36958
36959 /* confdefs.h. */
36960 _ACEOF
36961 cat confdefs.h >>conftest.$ac_ext
36962 cat >>conftest.$ac_ext <<_ACEOF
36963 /* end confdefs.h. */
36964
36965 $wchar_headers
36966 $ac_includes_default
36967
36968 int
36969 main ()
36970 {
36971
36972 #ifndef $wx_func
36973 &$wx_func;
36974 #endif
36975
36976
36977 ;
36978 return 0;
36979 }
36980
36981 _ACEOF
36982 rm -f conftest.$ac_objext conftest$ac_exeext
36983 if { (ac_try="$ac_link"
36984 case "(($ac_try" in
36985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36986 *) ac_try_echo=$ac_try;;
36987 esac
36988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36989 (eval "$ac_link") 2>conftest.er1
36990 ac_status=$?
36991 grep -v '^ *+' conftest.er1 >conftest.err
36992 rm -f conftest.er1
36993 cat conftest.err >&5
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); } && {
36996 test -z "$ac_c_werror_flag" ||
36997 test ! -s conftest.err
36998 } && test -s conftest$ac_exeext &&
36999 $as_test_x conftest$ac_exeext; then
37000 eval wx_cv_func_$wx_func=yes
37001 else
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.$ac_ext >&5
37004
37005 eval wx_cv_func_$wx_func=no
37006 fi
37007
37008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37009 conftest$ac_exeext conftest.$ac_ext
37010
37011 fi
37012 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37013 { echo "$as_me:$LINENO: result: $ac_res" >&5
37014 echo "${ECHO_T}$ac_res" >&6; }
37015
37016 if eval test \$wx_cv_func_$wx_func = yes
37017 then
37018 cat >>confdefs.h <<_ACEOF
37019 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37020 _ACEOF
37021
37022
37023 else
37024 :
37025
37026 fi
37027 done
37028
37029
37030 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37031 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37032 cat >conftest.$ac_ext <<_ACEOF
37033 /* confdefs.h. */
37034 _ACEOF
37035 cat confdefs.h >>conftest.$ac_ext
37036 cat >>conftest.$ac_ext <<_ACEOF
37037 /* end confdefs.h. */
37038 #include <wchar.h>
37039 int
37040 main ()
37041 {
37042 &_vsnwprintf;
37043 ;
37044 return 0;
37045 }
37046 _ACEOF
37047 rm -f conftest.$ac_objext
37048 if { (ac_try="$ac_compile"
37049 case "(($ac_try" in
37050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37051 *) ac_try_echo=$ac_try;;
37052 esac
37053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37054 (eval "$ac_compile") 2>conftest.er1
37055 ac_status=$?
37056 grep -v '^ *+' conftest.er1 >conftest.err
37057 rm -f conftest.er1
37058 cat conftest.err >&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); } && {
37061 test -z "$ac_c_werror_flag" ||
37062 test ! -s conftest.err
37063 } && test -s conftest.$ac_objext; then
37064 { echo "$as_me:$LINENO: result: yes" >&5
37065 echo "${ECHO_T}yes" >&6; }
37066 cat >>confdefs.h <<\_ACEOF
37067 #define HAVE__VSNWPRINTF 1
37068 _ACEOF
37069
37070 else
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37073
37074 { echo "$as_me:$LINENO: result: no" >&5
37075 echo "${ECHO_T}no" >&6; }
37076 fi
37077
37078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37079 fi
37080
37081 if test "$wxUSE_FILE" = "yes"; then
37082
37083 for wx_func in fsync
37084 do
37085 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37086 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37087 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37088 echo $ECHO_N "(cached) $ECHO_C" >&6
37089 else
37090
37091 cat >conftest.$ac_ext <<_ACEOF
37092
37093 /* confdefs.h. */
37094 _ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098
37099
37100 $ac_includes_default
37101
37102 int
37103 main ()
37104 {
37105
37106 #ifndef $wx_func
37107 &$wx_func;
37108 #endif
37109
37110
37111 ;
37112 return 0;
37113 }
37114
37115 _ACEOF
37116 rm -f conftest.$ac_objext conftest$ac_exeext
37117 if { (ac_try="$ac_link"
37118 case "(($ac_try" in
37119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37120 *) ac_try_echo=$ac_try;;
37121 esac
37122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37123 (eval "$ac_link") 2>conftest.er1
37124 ac_status=$?
37125 grep -v '^ *+' conftest.er1 >conftest.err
37126 rm -f conftest.er1
37127 cat conftest.err >&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } && {
37130 test -z "$ac_c_werror_flag" ||
37131 test ! -s conftest.err
37132 } && test -s conftest$ac_exeext &&
37133 $as_test_x conftest$ac_exeext; then
37134 eval wx_cv_func_$wx_func=yes
37135 else
37136 echo "$as_me: failed program was:" >&5
37137 sed 's/^/| /' conftest.$ac_ext >&5
37138
37139 eval wx_cv_func_$wx_func=no
37140 fi
37141
37142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37143 conftest$ac_exeext conftest.$ac_ext
37144
37145 fi
37146 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37147 { echo "$as_me:$LINENO: result: $ac_res" >&5
37148 echo "${ECHO_T}$ac_res" >&6; }
37149
37150 if eval test \$wx_cv_func_$wx_func = yes
37151 then
37152 cat >>confdefs.h <<_ACEOF
37153 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37154 _ACEOF
37155
37156
37157 else
37158 :
37159
37160 fi
37161 done
37162
37163 fi
37164
37165 ac_ext=cpp
37166 ac_cpp='$CXXCPP $CPPFLAGS'
37167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37170
37171
37172 for wx_func in round
37173 do
37174 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37176 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37177 echo $ECHO_N "(cached) $ECHO_C" >&6
37178 else
37179
37180 cat >conftest.$ac_ext <<_ACEOF
37181
37182 /* confdefs.h. */
37183 _ACEOF
37184 cat confdefs.h >>conftest.$ac_ext
37185 cat >>conftest.$ac_ext <<_ACEOF
37186 /* end confdefs.h. */
37187
37188 #include <math.h>
37189 $ac_includes_default
37190
37191 int
37192 main ()
37193 {
37194
37195 #ifndef $wx_func
37196 &$wx_func;
37197 #endif
37198
37199
37200 ;
37201 return 0;
37202 }
37203
37204 _ACEOF
37205 rm -f conftest.$ac_objext conftest$ac_exeext
37206 if { (ac_try="$ac_link"
37207 case "(($ac_try" in
37208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37209 *) ac_try_echo=$ac_try;;
37210 esac
37211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37212 (eval "$ac_link") 2>conftest.er1
37213 ac_status=$?
37214 grep -v '^ *+' conftest.er1 >conftest.err
37215 rm -f conftest.er1
37216 cat conftest.err >&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); } && {
37219 test -z "$ac_cxx_werror_flag" ||
37220 test ! -s conftest.err
37221 } && test -s conftest$ac_exeext &&
37222 $as_test_x conftest$ac_exeext; then
37223 eval wx_cv_func_$wx_func=yes
37224 else
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37227
37228 eval wx_cv_func_$wx_func=no
37229 fi
37230
37231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37232 conftest$ac_exeext conftest.$ac_ext
37233
37234 fi
37235 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37236 { echo "$as_me:$LINENO: result: $ac_res" >&5
37237 echo "${ECHO_T}$ac_res" >&6; }
37238
37239 if eval test \$wx_cv_func_$wx_func = yes
37240 then
37241 cat >>confdefs.h <<_ACEOF
37242 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37243 _ACEOF
37244
37245
37246 else
37247 :
37248
37249 fi
37250 done
37251
37252 ac_ext=c
37253 ac_cpp='$CPP $CPPFLAGS'
37254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37257
37258
37259 if test "$TOOLKIT" != "MSW"; then
37260
37261 if test "$wxUSE_LIBICONV" != "no" ; then
37262
37263
37264
37265 # Check whether --with-libiconv-prefix was given.
37266 if test "${with_libiconv_prefix+set}" = set; then
37267 withval=$with_libiconv_prefix;
37268 for dir in `echo "$withval" | tr : ' '`; do
37269 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37270 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37271 done
37272
37273 fi
37274
37275
37276 { echo "$as_me:$LINENO: checking for iconv" >&5
37277 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37278 if test "${am_cv_func_iconv+set}" = set; then
37279 echo $ECHO_N "(cached) $ECHO_C" >&6
37280 else
37281
37282 am_cv_func_iconv="no, consider installing GNU libiconv"
37283 am_cv_lib_iconv=no
37284 cat >conftest.$ac_ext <<_ACEOF
37285 /* confdefs.h. */
37286 _ACEOF
37287 cat confdefs.h >>conftest.$ac_ext
37288 cat >>conftest.$ac_ext <<_ACEOF
37289 /* end confdefs.h. */
37290 #include <stdlib.h>
37291 #include <iconv.h>
37292 int
37293 main ()
37294 {
37295 iconv_t cd = iconv_open("","");
37296 iconv(cd,NULL,NULL,NULL,NULL);
37297 iconv_close(cd);
37298 ;
37299 return 0;
37300 }
37301 _ACEOF
37302 rm -f conftest.$ac_objext conftest$ac_exeext
37303 if { (ac_try="$ac_link"
37304 case "(($ac_try" in
37305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37306 *) ac_try_echo=$ac_try;;
37307 esac
37308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37309 (eval "$ac_link") 2>conftest.er1
37310 ac_status=$?
37311 grep -v '^ *+' conftest.er1 >conftest.err
37312 rm -f conftest.er1
37313 cat conftest.err >&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } && {
37316 test -z "$ac_c_werror_flag" ||
37317 test ! -s conftest.err
37318 } && test -s conftest$ac_exeext &&
37319 $as_test_x conftest$ac_exeext; then
37320 am_cv_func_iconv=yes
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325
37326 fi
37327
37328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37329 conftest$ac_exeext conftest.$ac_ext
37330 if test "$am_cv_func_iconv" != yes; then
37331 am_save_LIBS="$LIBS"
37332 LIBS="$LIBS -liconv"
37333 cat >conftest.$ac_ext <<_ACEOF
37334 /* confdefs.h. */
37335 _ACEOF
37336 cat confdefs.h >>conftest.$ac_ext
37337 cat >>conftest.$ac_ext <<_ACEOF
37338 /* end confdefs.h. */
37339 #include <stdlib.h>
37340 #include <iconv.h>
37341 int
37342 main ()
37343 {
37344 iconv_t cd = iconv_open("","");
37345 iconv(cd,NULL,NULL,NULL,NULL);
37346 iconv_close(cd);
37347 ;
37348 return 0;
37349 }
37350 _ACEOF
37351 rm -f conftest.$ac_objext conftest$ac_exeext
37352 if { (ac_try="$ac_link"
37353 case "(($ac_try" in
37354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37355 *) ac_try_echo=$ac_try;;
37356 esac
37357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37358 (eval "$ac_link") 2>conftest.er1
37359 ac_status=$?
37360 grep -v '^ *+' conftest.er1 >conftest.err
37361 rm -f conftest.er1
37362 cat conftest.err >&5
37363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37364 (exit $ac_status); } && {
37365 test -z "$ac_c_werror_flag" ||
37366 test ! -s conftest.err
37367 } && test -s conftest$ac_exeext &&
37368 $as_test_x conftest$ac_exeext; then
37369 am_cv_lib_iconv=yes
37370 am_cv_func_iconv=yes
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37374
37375
37376 fi
37377
37378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37379 conftest$ac_exeext conftest.$ac_ext
37380 LIBS="$am_save_LIBS"
37381 fi
37382
37383 fi
37384 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37385 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37386 if test "$am_cv_func_iconv" = yes; then
37387
37388 cat >>confdefs.h <<\_ACEOF
37389 #define HAVE_ICONV 1
37390 _ACEOF
37391
37392 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37393 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37394 if test "${wx_cv_func_iconv_const+set}" = set; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37396 else
37397 cat >conftest.$ac_ext <<_ACEOF
37398 /* confdefs.h. */
37399 _ACEOF
37400 cat confdefs.h >>conftest.$ac_ext
37401 cat >>conftest.$ac_ext <<_ACEOF
37402 /* end confdefs.h. */
37403
37404 #include <stdlib.h>
37405 #include <iconv.h>
37406 extern
37407 #ifdef __cplusplus
37408 "C"
37409 #endif
37410 #if defined(__STDC__) || defined(__cplusplus)
37411 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37412 #else
37413 size_t iconv();
37414 #endif
37415
37416 int
37417 main ()
37418 {
37419
37420 ;
37421 return 0;
37422 }
37423 _ACEOF
37424 rm -f conftest.$ac_objext
37425 if { (ac_try="$ac_compile"
37426 case "(($ac_try" in
37427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37428 *) ac_try_echo=$ac_try;;
37429 esac
37430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37431 (eval "$ac_compile") 2>conftest.er1
37432 ac_status=$?
37433 grep -v '^ *+' conftest.er1 >conftest.err
37434 rm -f conftest.er1
37435 cat conftest.err >&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } && {
37438 test -z "$ac_c_werror_flag" ||
37439 test ! -s conftest.err
37440 } && test -s conftest.$ac_objext; then
37441 wx_cv_func_iconv_const="no"
37442 else
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37445
37446 wx_cv_func_iconv_const="yes"
37447
37448 fi
37449
37450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37451
37452 fi
37453 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37454 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37455
37456 iconv_const=
37457 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37458 iconv_const="const"
37459 fi
37460
37461
37462 cat >>confdefs.h <<_ACEOF
37463 #define ICONV_CONST $iconv_const
37464 _ACEOF
37465
37466 fi
37467 LIBICONV=
37468 if test "$am_cv_lib_iconv" = yes; then
37469 LIBICONV="-liconv"
37470 fi
37471
37472
37473 LIBS="$LIBICONV $LIBS"
37474 fi
37475
37476 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37477
37478 for ac_func in sigaction
37479 do
37480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37481 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37483 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37484 echo $ECHO_N "(cached) $ECHO_C" >&6
37485 else
37486 cat >conftest.$ac_ext <<_ACEOF
37487 /* confdefs.h. */
37488 _ACEOF
37489 cat confdefs.h >>conftest.$ac_ext
37490 cat >>conftest.$ac_ext <<_ACEOF
37491 /* end confdefs.h. */
37492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37494 #define $ac_func innocuous_$ac_func
37495
37496 /* System header to define __stub macros and hopefully few prototypes,
37497 which can conflict with char $ac_func (); below.
37498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37499 <limits.h> exists even on freestanding compilers. */
37500
37501 #ifdef __STDC__
37502 # include <limits.h>
37503 #else
37504 # include <assert.h>
37505 #endif
37506
37507 #undef $ac_func
37508
37509 /* Override any GCC internal prototype to avoid an error.
37510 Use char because int might match the return type of a GCC
37511 builtin and then its argument prototype would still apply. */
37512 #ifdef __cplusplus
37513 extern "C"
37514 #endif
37515 char $ac_func ();
37516 /* The GNU C library defines this for functions which it implements
37517 to always fail with ENOSYS. Some functions are actually named
37518 something starting with __ and the normal name is an alias. */
37519 #if defined __stub_$ac_func || defined __stub___$ac_func
37520 choke me
37521 #endif
37522
37523 int
37524 main ()
37525 {
37526 return $ac_func ();
37527 ;
37528 return 0;
37529 }
37530 _ACEOF
37531 rm -f conftest.$ac_objext conftest$ac_exeext
37532 if { (ac_try="$ac_link"
37533 case "(($ac_try" in
37534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37535 *) ac_try_echo=$ac_try;;
37536 esac
37537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37538 (eval "$ac_link") 2>conftest.er1
37539 ac_status=$?
37540 grep -v '^ *+' conftest.er1 >conftest.err
37541 rm -f conftest.er1
37542 cat conftest.err >&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); } && {
37545 test -z "$ac_c_werror_flag" ||
37546 test ! -s conftest.err
37547 } && test -s conftest$ac_exeext &&
37548 $as_test_x conftest$ac_exeext; then
37549 eval "$as_ac_var=yes"
37550 else
37551 echo "$as_me: failed program was:" >&5
37552 sed 's/^/| /' conftest.$ac_ext >&5
37553
37554 eval "$as_ac_var=no"
37555 fi
37556
37557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37558 conftest$ac_exeext conftest.$ac_ext
37559 fi
37560 ac_res=`eval echo '${'$as_ac_var'}'`
37561 { echo "$as_me:$LINENO: result: $ac_res" >&5
37562 echo "${ECHO_T}$ac_res" >&6; }
37563 if test `eval echo '${'$as_ac_var'}'` = yes; then
37564 cat >>confdefs.h <<_ACEOF
37565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37566 _ACEOF
37567
37568 fi
37569 done
37570
37571
37572 if test "$ac_cv_func_sigaction" = "no"; then
37573 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37574 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37575 wxUSE_ON_FATAL_EXCEPTION=no
37576 fi
37577
37578 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37579 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37580 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37581 if test "${wx_cv_type_sa_handler+set}" = set; then
37582 echo $ECHO_N "(cached) $ECHO_C" >&6
37583 else
37584
37585 ac_ext=cpp
37586 ac_cpp='$CXXCPP $CPPFLAGS'
37587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37590
37591 cat >conftest.$ac_ext <<_ACEOF
37592 /* confdefs.h. */
37593 _ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37597 #include <signal.h>
37598 int
37599 main ()
37600 {
37601
37602 extern void testSigHandler(int);
37603
37604 struct sigaction sa;
37605 sa.sa_handler = testSigHandler;
37606
37607 ;
37608 return 0;
37609 }
37610 _ACEOF
37611 rm -f conftest.$ac_objext
37612 if { (ac_try="$ac_compile"
37613 case "(($ac_try" in
37614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37615 *) ac_try_echo=$ac_try;;
37616 esac
37617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37618 (eval "$ac_compile") 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } && {
37625 test -z "$ac_cxx_werror_flag" ||
37626 test ! -s conftest.err
37627 } && test -s conftest.$ac_objext; then
37628
37629 wx_cv_type_sa_handler=int
37630
37631 else
37632 echo "$as_me: failed program was:" >&5
37633 sed 's/^/| /' conftest.$ac_ext >&5
37634
37635
37636 wx_cv_type_sa_handler=void
37637
37638 fi
37639
37640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37641 ac_ext=c
37642 ac_cpp='$CPP $CPPFLAGS'
37643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37646
37647
37648 fi
37649 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37650 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37651
37652 cat >>confdefs.h <<_ACEOF
37653 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37654 _ACEOF
37655
37656 fi
37657 fi
37658
37659 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37660 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37661 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37662 if test "${wx_cv_func_backtrace+set}" = set; then
37663 echo $ECHO_N "(cached) $ECHO_C" >&6
37664 else
37665
37666 ac_ext=cpp
37667 ac_cpp='$CXXCPP $CPPFLAGS'
37668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37671
37672 cat >conftest.$ac_ext <<_ACEOF
37673 /* confdefs.h. */
37674 _ACEOF
37675 cat confdefs.h >>conftest.$ac_ext
37676 cat >>conftest.$ac_ext <<_ACEOF
37677 /* end confdefs.h. */
37678 #include <execinfo.h>
37679 int
37680 main ()
37681 {
37682
37683 void *trace[1];
37684 char **messages;
37685
37686 backtrace(trace, 1);
37687 messages = backtrace_symbols(trace, 1);
37688
37689 ;
37690 return 0;
37691 }
37692 _ACEOF
37693 rm -f conftest.$ac_objext
37694 if { (ac_try="$ac_compile"
37695 case "(($ac_try" in
37696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37697 *) ac_try_echo=$ac_try;;
37698 esac
37699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37700 (eval "$ac_compile") 2>conftest.er1
37701 ac_status=$?
37702 grep -v '^ *+' conftest.er1 >conftest.err
37703 rm -f conftest.er1
37704 cat conftest.err >&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); } && {
37707 test -z "$ac_cxx_werror_flag" ||
37708 test ! -s conftest.err
37709 } && test -s conftest.$ac_objext; then
37710 wx_cv_func_backtrace=yes
37711 else
37712 echo "$as_me: failed program was:" >&5
37713 sed 's/^/| /' conftest.$ac_ext >&5
37714
37715 wx_cv_func_backtrace=no
37716
37717 fi
37718
37719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37720 ac_ext=c
37721 ac_cpp='$CPP $CPPFLAGS'
37722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37725
37726
37727
37728 fi
37729 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37730 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37731
37732
37733 if test "$wx_cv_func_backtrace" = "no"; then
37734 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37735 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37736 wxUSE_STACKWALKER=no
37737 else
37738 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37739 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37740 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 else
37743
37744 ac_ext=cpp
37745 ac_cpp='$CXXCPP $CPPFLAGS'
37746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37749
37750 cat >conftest.$ac_ext <<_ACEOF
37751 /* confdefs.h. */
37752 _ACEOF
37753 cat confdefs.h >>conftest.$ac_ext
37754 cat >>conftest.$ac_ext <<_ACEOF
37755 /* end confdefs.h. */
37756 #include <cxxabi.h>
37757 int
37758 main ()
37759 {
37760
37761 int rc;
37762 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37763
37764 ;
37765 return 0;
37766 }
37767 _ACEOF
37768 rm -f conftest.$ac_objext conftest$ac_exeext
37769 if { (ac_try="$ac_link"
37770 case "(($ac_try" in
37771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37772 *) ac_try_echo=$ac_try;;
37773 esac
37774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37775 (eval "$ac_link") 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } && {
37782 test -z "$ac_cxx_werror_flag" ||
37783 test ! -s conftest.err
37784 } && test -s conftest$ac_exeext &&
37785 $as_test_x conftest$ac_exeext; then
37786 wx_cv_func_cxa_demangle=yes
37787 else
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.$ac_ext >&5
37790
37791 wx_cv_func_cxa_demangle=no
37792
37793 fi
37794
37795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37796 conftest$ac_exeext conftest.$ac_ext
37797 ac_ext=c
37798 ac_cpp='$CPP $CPPFLAGS'
37799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37802
37803
37804
37805 fi
37806 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37807 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37808
37809 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37810 cat >>confdefs.h <<\_ACEOF
37811 #define HAVE_CXA_DEMANGLE 1
37812 _ACEOF
37813
37814 fi
37815 fi
37816 fi
37817
37818 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37819 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37820 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37821 wxUSE_STACKWALKER=no
37822 fi
37823
37824
37825
37826
37827 for ac_func in mkstemp mktemp
37828 do
37829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37833 echo $ECHO_N "(cached) $ECHO_C" >&6
37834 else
37835 cat >conftest.$ac_ext <<_ACEOF
37836 /* confdefs.h. */
37837 _ACEOF
37838 cat confdefs.h >>conftest.$ac_ext
37839 cat >>conftest.$ac_ext <<_ACEOF
37840 /* end confdefs.h. */
37841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37843 #define $ac_func innocuous_$ac_func
37844
37845 /* System header to define __stub macros and hopefully few prototypes,
37846 which can conflict with char $ac_func (); below.
37847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37848 <limits.h> exists even on freestanding compilers. */
37849
37850 #ifdef __STDC__
37851 # include <limits.h>
37852 #else
37853 # include <assert.h>
37854 #endif
37855
37856 #undef $ac_func
37857
37858 /* Override any GCC internal prototype to avoid an error.
37859 Use char because int might match the return type of a GCC
37860 builtin and then its argument prototype would still apply. */
37861 #ifdef __cplusplus
37862 extern "C"
37863 #endif
37864 char $ac_func ();
37865 /* The GNU C library defines this for functions which it implements
37866 to always fail with ENOSYS. Some functions are actually named
37867 something starting with __ and the normal name is an alias. */
37868 #if defined __stub_$ac_func || defined __stub___$ac_func
37869 choke me
37870 #endif
37871
37872 int
37873 main ()
37874 {
37875 return $ac_func ();
37876 ;
37877 return 0;
37878 }
37879 _ACEOF
37880 rm -f conftest.$ac_objext conftest$ac_exeext
37881 if { (ac_try="$ac_link"
37882 case "(($ac_try" in
37883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37884 *) ac_try_echo=$ac_try;;
37885 esac
37886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37887 (eval "$ac_link") 2>conftest.er1
37888 ac_status=$?
37889 grep -v '^ *+' conftest.er1 >conftest.err
37890 rm -f conftest.er1
37891 cat conftest.err >&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } && {
37894 test -z "$ac_c_werror_flag" ||
37895 test ! -s conftest.err
37896 } && test -s conftest$ac_exeext &&
37897 $as_test_x conftest$ac_exeext; then
37898 eval "$as_ac_var=yes"
37899 else
37900 echo "$as_me: failed program was:" >&5
37901 sed 's/^/| /' conftest.$ac_ext >&5
37902
37903 eval "$as_ac_var=no"
37904 fi
37905
37906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37907 conftest$ac_exeext conftest.$ac_ext
37908 fi
37909 ac_res=`eval echo '${'$as_ac_var'}'`
37910 { echo "$as_me:$LINENO: result: $ac_res" >&5
37911 echo "${ECHO_T}$ac_res" >&6; }
37912 if test `eval echo '${'$as_ac_var'}'` = yes; then
37913 cat >>confdefs.h <<_ACEOF
37914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37915 _ACEOF
37916 break
37917 fi
37918 done
37919
37920
37921 { echo "$as_me:$LINENO: checking for statfs" >&5
37922 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37923 if test "${wx_cv_func_statfs+set}" = set; then
37924 echo $ECHO_N "(cached) $ECHO_C" >&6
37925 else
37926 cat >conftest.$ac_ext <<_ACEOF
37927 /* confdefs.h. */
37928 _ACEOF
37929 cat confdefs.h >>conftest.$ac_ext
37930 cat >>conftest.$ac_ext <<_ACEOF
37931 /* end confdefs.h. */
37932
37933 #if defined(__BSD__)
37934 #include <sys/param.h>
37935 #include <sys/mount.h>
37936 #else
37937 #include <sys/vfs.h>
37938 #endif
37939
37940 int
37941 main ()
37942 {
37943
37944 long l;
37945 struct statfs fs;
37946 statfs("/", &fs);
37947 l = fs.f_bsize;
37948 l += fs.f_blocks;
37949 l += fs.f_bavail;
37950
37951 ;
37952 return 0;
37953 }
37954 _ACEOF
37955 rm -f conftest.$ac_objext
37956 if { (ac_try="$ac_compile"
37957 case "(($ac_try" in
37958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37959 *) ac_try_echo=$ac_try;;
37960 esac
37961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37962 (eval "$ac_compile") 2>conftest.er1
37963 ac_status=$?
37964 grep -v '^ *+' conftest.er1 >conftest.err
37965 rm -f conftest.er1
37966 cat conftest.err >&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); } && {
37969 test -z "$ac_c_werror_flag" ||
37970 test ! -s conftest.err
37971 } && test -s conftest.$ac_objext; then
37972 wx_cv_func_statfs=yes
37973 else
37974 echo "$as_me: failed program was:" >&5
37975 sed 's/^/| /' conftest.$ac_ext >&5
37976
37977 wx_cv_func_statfs=no
37978
37979 fi
37980
37981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37982
37983 fi
37984 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37985 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37986
37987 if test "$wx_cv_func_statfs" = "yes"; then
37988 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37989 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37990 if test "${wx_cv_func_statfs_decl+set}" = set; then
37991 echo $ECHO_N "(cached) $ECHO_C" >&6
37992 else
37993 ac_ext=cpp
37994 ac_cpp='$CXXCPP $CPPFLAGS'
37995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37998
37999 cat >conftest.$ac_ext <<_ACEOF
38000 /* confdefs.h. */
38001 _ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h. */
38005
38006 #if defined(__BSD__)
38007 #include <sys/param.h>
38008 #include <sys/mount.h>
38009 #else
38010 #include <sys/vfs.h>
38011 #endif
38012
38013 int
38014 main ()
38015 {
38016
38017 struct statfs fs;
38018 statfs("", &fs);
38019
38020 ;
38021 return 0;
38022 }
38023 _ACEOF
38024 rm -f conftest.$ac_objext
38025 if { (ac_try="$ac_compile"
38026 case "(($ac_try" in
38027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38028 *) ac_try_echo=$ac_try;;
38029 esac
38030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38031 (eval "$ac_compile") 2>conftest.er1
38032 ac_status=$?
38033 grep -v '^ *+' conftest.er1 >conftest.err
38034 rm -f conftest.er1
38035 cat conftest.err >&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } && {
38038 test -z "$ac_cxx_werror_flag" ||
38039 test ! -s conftest.err
38040 } && test -s conftest.$ac_objext; then
38041 wx_cv_func_statfs_decl=yes
38042 else
38043 echo "$as_me: failed program was:" >&5
38044 sed 's/^/| /' conftest.$ac_ext >&5
38045
38046 wx_cv_func_statfs_decl=no
38047
38048 fi
38049
38050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38051 ac_ext=c
38052 ac_cpp='$CPP $CPPFLAGS'
38053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38056
38057
38058 fi
38059 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38060 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38061
38062 if test "$wx_cv_func_statfs_decl" = "yes"; then
38063 cat >>confdefs.h <<\_ACEOF
38064 #define HAVE_STATFS_DECL 1
38065 _ACEOF
38066
38067 fi
38068
38069 wx_cv_type_statvfs_t="struct statfs"
38070 cat >>confdefs.h <<\_ACEOF
38071 #define HAVE_STATFS 1
38072 _ACEOF
38073
38074 else
38075 { echo "$as_me:$LINENO: checking for statvfs" >&5
38076 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38077 if test "${wx_cv_func_statvfs+set}" = set; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38079 else
38080 cat >conftest.$ac_ext <<_ACEOF
38081 /* confdefs.h. */
38082 _ACEOF
38083 cat confdefs.h >>conftest.$ac_ext
38084 cat >>conftest.$ac_ext <<_ACEOF
38085 /* end confdefs.h. */
38086
38087 #include <stddef.h>
38088 #include <sys/statvfs.h>
38089
38090 int
38091 main ()
38092 {
38093
38094 statvfs("/", NULL);
38095
38096 ;
38097 return 0;
38098 }
38099 _ACEOF
38100 rm -f conftest.$ac_objext
38101 if { (ac_try="$ac_compile"
38102 case "(($ac_try" in
38103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38104 *) ac_try_echo=$ac_try;;
38105 esac
38106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38107 (eval "$ac_compile") 2>conftest.er1
38108 ac_status=$?
38109 grep -v '^ *+' conftest.er1 >conftest.err
38110 rm -f conftest.er1
38111 cat conftest.err >&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); } && {
38114 test -z "$ac_c_werror_flag" ||
38115 test ! -s conftest.err
38116 } && test -s conftest.$ac_objext; then
38117 wx_cv_func_statvfs=yes
38118 else
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38121
38122 wx_cv_func_statvfs=no
38123
38124 fi
38125
38126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38127
38128 fi
38129 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38130 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38131
38132 if test "$wx_cv_func_statvfs" = "yes"; then
38133 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38134 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38135 if test "${wx_cv_type_statvfs_t+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138 ac_ext=cpp
38139 ac_cpp='$CXXCPP $CPPFLAGS'
38140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38143
38144 cat >conftest.$ac_ext <<_ACEOF
38145 /* confdefs.h. */
38146 _ACEOF
38147 cat confdefs.h >>conftest.$ac_ext
38148 cat >>conftest.$ac_ext <<_ACEOF
38149 /* end confdefs.h. */
38150
38151 #include <sys/statvfs.h>
38152
38153 int
38154 main ()
38155 {
38156
38157 long l;
38158 statvfs_t fs;
38159 statvfs("/", &fs);
38160 l = fs.f_bsize;
38161 l += fs.f_blocks;
38162 l += fs.f_bavail;
38163
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 rm -f conftest.$ac_objext
38169 if { (ac_try="$ac_compile"
38170 case "(($ac_try" in
38171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38172 *) ac_try_echo=$ac_try;;
38173 esac
38174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38175 (eval "$ac_compile") 2>conftest.er1
38176 ac_status=$?
38177 grep -v '^ *+' conftest.er1 >conftest.err
38178 rm -f conftest.er1
38179 cat conftest.err >&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); } && {
38182 test -z "$ac_cxx_werror_flag" ||
38183 test ! -s conftest.err
38184 } && test -s conftest.$ac_objext; then
38185 wx_cv_type_statvfs_t=statvfs_t
38186 else
38187 echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38189
38190
38191 cat >conftest.$ac_ext <<_ACEOF
38192 /* confdefs.h. */
38193 _ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197
38198 #include <sys/statvfs.h>
38199
38200 int
38201 main ()
38202 {
38203
38204 long l;
38205 struct statvfs fs;
38206 statvfs("/", &fs);
38207 l = fs.f_bsize;
38208 l += fs.f_blocks;
38209 l += fs.f_bavail;
38210
38211 ;
38212 return 0;
38213 }
38214 _ACEOF
38215 rm -f conftest.$ac_objext
38216 if { (ac_try="$ac_compile"
38217 case "(($ac_try" in
38218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38219 *) ac_try_echo=$ac_try;;
38220 esac
38221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38222 (eval "$ac_compile") 2>conftest.er1
38223 ac_status=$?
38224 grep -v '^ *+' conftest.er1 >conftest.err
38225 rm -f conftest.er1
38226 cat conftest.err >&5
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); } && {
38229 test -z "$ac_cxx_werror_flag" ||
38230 test ! -s conftest.err
38231 } && test -s conftest.$ac_objext; then
38232 wx_cv_type_statvfs_t="struct statvfs"
38233 else
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 wx_cv_type_statvfs_t="unknown"
38238
38239 fi
38240
38241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38242
38243
38244 fi
38245
38246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38247 ac_ext=c
38248 ac_cpp='$CPP $CPPFLAGS'
38249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38252
38253
38254 fi
38255 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38256 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38257
38258 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38259 cat >>confdefs.h <<\_ACEOF
38260 #define HAVE_STATVFS 1
38261 _ACEOF
38262
38263 fi
38264 else
38265 wx_cv_type_statvfs_t="unknown"
38266 fi
38267 fi
38268
38269 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38270 cat >>confdefs.h <<_ACEOF
38271 #define WX_STATFS_T $wx_cv_type_statvfs_t
38272 _ACEOF
38273
38274 else
38275 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38276 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38277 fi
38278
38279 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38280
38281
38282 for ac_func in fcntl flock
38283 do
38284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38288 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 else
38290 cat >conftest.$ac_ext <<_ACEOF
38291 /* confdefs.h. */
38292 _ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38298 #define $ac_func innocuous_$ac_func
38299
38300 /* System header to define __stub macros and hopefully few prototypes,
38301 which can conflict with char $ac_func (); below.
38302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38303 <limits.h> exists even on freestanding compilers. */
38304
38305 #ifdef __STDC__
38306 # include <limits.h>
38307 #else
38308 # include <assert.h>
38309 #endif
38310
38311 #undef $ac_func
38312
38313 /* Override any GCC internal prototype to avoid an error.
38314 Use char because int might match the return type of a GCC
38315 builtin and then its argument prototype would still apply. */
38316 #ifdef __cplusplus
38317 extern "C"
38318 #endif
38319 char $ac_func ();
38320 /* The GNU C library defines this for functions which it implements
38321 to always fail with ENOSYS. Some functions are actually named
38322 something starting with __ and the normal name is an alias. */
38323 #if defined __stub_$ac_func || defined __stub___$ac_func
38324 choke me
38325 #endif
38326
38327 int
38328 main ()
38329 {
38330 return $ac_func ();
38331 ;
38332 return 0;
38333 }
38334 _ACEOF
38335 rm -f conftest.$ac_objext conftest$ac_exeext
38336 if { (ac_try="$ac_link"
38337 case "(($ac_try" in
38338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38339 *) ac_try_echo=$ac_try;;
38340 esac
38341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38342 (eval "$ac_link") 2>conftest.er1
38343 ac_status=$?
38344 grep -v '^ *+' conftest.er1 >conftest.err
38345 rm -f conftest.er1
38346 cat conftest.err >&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } && {
38349 test -z "$ac_c_werror_flag" ||
38350 test ! -s conftest.err
38351 } && test -s conftest$ac_exeext &&
38352 $as_test_x conftest$ac_exeext; then
38353 eval "$as_ac_var=yes"
38354 else
38355 echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.$ac_ext >&5
38357
38358 eval "$as_ac_var=no"
38359 fi
38360
38361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38362 conftest$ac_exeext conftest.$ac_ext
38363 fi
38364 ac_res=`eval echo '${'$as_ac_var'}'`
38365 { echo "$as_me:$LINENO: result: $ac_res" >&5
38366 echo "${ECHO_T}$ac_res" >&6; }
38367 if test `eval echo '${'$as_ac_var'}'` = yes; then
38368 cat >>confdefs.h <<_ACEOF
38369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38370 _ACEOF
38371 break
38372 fi
38373 done
38374
38375
38376 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38377 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38378 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38379 wxUSE_SNGLINST_CHECKER=no
38380 fi
38381 fi
38382
38383
38384
38385 for ac_func in setenv putenv
38386 do
38387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393 cat >conftest.$ac_ext <<_ACEOF
38394 /* confdefs.h. */
38395 _ACEOF
38396 cat confdefs.h >>conftest.$ac_ext
38397 cat >>conftest.$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define $ac_func innocuous_$ac_func
38402
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38407
38408 #ifdef __STDC__
38409 # include <limits.h>
38410 #else
38411 # include <assert.h>
38412 #endif
38413
38414 #undef $ac_func
38415
38416 /* Override any GCC internal prototype to avoid an error.
38417 Use char because int might match the return type of a GCC
38418 builtin and then its argument prototype would still apply. */
38419 #ifdef __cplusplus
38420 extern "C"
38421 #endif
38422 char $ac_func ();
38423 /* The GNU C library defines this for functions which it implements
38424 to always fail with ENOSYS. Some functions are actually named
38425 something starting with __ and the normal name is an alias. */
38426 #if defined __stub_$ac_func || defined __stub___$ac_func
38427 choke me
38428 #endif
38429
38430 int
38431 main ()
38432 {
38433 return $ac_func ();
38434 ;
38435 return 0;
38436 }
38437 _ACEOF
38438 rm -f conftest.$ac_objext conftest$ac_exeext
38439 if { (ac_try="$ac_link"
38440 case "(($ac_try" in
38441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38442 *) ac_try_echo=$ac_try;;
38443 esac
38444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38445 (eval "$ac_link") 2>conftest.er1
38446 ac_status=$?
38447 grep -v '^ *+' conftest.er1 >conftest.err
38448 rm -f conftest.er1
38449 cat conftest.err >&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); } && {
38452 test -z "$ac_c_werror_flag" ||
38453 test ! -s conftest.err
38454 } && test -s conftest$ac_exeext &&
38455 $as_test_x conftest$ac_exeext; then
38456 eval "$as_ac_var=yes"
38457 else
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38460
38461 eval "$as_ac_var=no"
38462 fi
38463
38464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38465 conftest$ac_exeext conftest.$ac_ext
38466 fi
38467 ac_res=`eval echo '${'$as_ac_var'}'`
38468 { echo "$as_me:$LINENO: result: $ac_res" >&5
38469 echo "${ECHO_T}$ac_res" >&6; }
38470 if test `eval echo '${'$as_ac_var'}'` = yes; then
38471 cat >>confdefs.h <<_ACEOF
38472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38473 _ACEOF
38474 break
38475 fi
38476 done
38477
38478 if test "$ac_cv_func_setenv" = "yes"; then
38479
38480 for ac_func in unsetenv
38481 do
38482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38487 else
38488 cat >conftest.$ac_ext <<_ACEOF
38489 /* confdefs.h. */
38490 _ACEOF
38491 cat confdefs.h >>conftest.$ac_ext
38492 cat >>conftest.$ac_ext <<_ACEOF
38493 /* end confdefs.h. */
38494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38496 #define $ac_func innocuous_$ac_func
38497
38498 /* System header to define __stub macros and hopefully few prototypes,
38499 which can conflict with char $ac_func (); below.
38500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38501 <limits.h> exists even on freestanding compilers. */
38502
38503 #ifdef __STDC__
38504 # include <limits.h>
38505 #else
38506 # include <assert.h>
38507 #endif
38508
38509 #undef $ac_func
38510
38511 /* Override any GCC internal prototype to avoid an error.
38512 Use char because int might match the return type of a GCC
38513 builtin and then its argument prototype would still apply. */
38514 #ifdef __cplusplus
38515 extern "C"
38516 #endif
38517 char $ac_func ();
38518 /* The GNU C library defines this for functions which it implements
38519 to always fail with ENOSYS. Some functions are actually named
38520 something starting with __ and the normal name is an alias. */
38521 #if defined __stub_$ac_func || defined __stub___$ac_func
38522 choke me
38523 #endif
38524
38525 int
38526 main ()
38527 {
38528 return $ac_func ();
38529 ;
38530 return 0;
38531 }
38532 _ACEOF
38533 rm -f conftest.$ac_objext conftest$ac_exeext
38534 if { (ac_try="$ac_link"
38535 case "(($ac_try" in
38536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38537 *) ac_try_echo=$ac_try;;
38538 esac
38539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38540 (eval "$ac_link") 2>conftest.er1
38541 ac_status=$?
38542 grep -v '^ *+' conftest.er1 >conftest.err
38543 rm -f conftest.er1
38544 cat conftest.err >&5
38545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546 (exit $ac_status); } && {
38547 test -z "$ac_c_werror_flag" ||
38548 test ! -s conftest.err
38549 } && test -s conftest$ac_exeext &&
38550 $as_test_x conftest$ac_exeext; then
38551 eval "$as_ac_var=yes"
38552 else
38553 echo "$as_me: failed program was:" >&5
38554 sed 's/^/| /' conftest.$ac_ext >&5
38555
38556 eval "$as_ac_var=no"
38557 fi
38558
38559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38560 conftest$ac_exeext conftest.$ac_ext
38561 fi
38562 ac_res=`eval echo '${'$as_ac_var'}'`
38563 { echo "$as_me:$LINENO: result: $ac_res" >&5
38564 echo "${ECHO_T}$ac_res" >&6; }
38565 if test `eval echo '${'$as_ac_var'}'` = yes; then
38566 cat >>confdefs.h <<_ACEOF
38567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38568 _ACEOF
38569
38570 fi
38571 done
38572
38573 fi
38574
38575 HAVE_SOME_SLEEP_FUNC=0
38576 if test "$USE_BEOS" = 1; then
38577 cat >>confdefs.h <<\_ACEOF
38578 #define HAVE_SLEEP 1
38579 _ACEOF
38580
38581 HAVE_SOME_SLEEP_FUNC=1
38582 fi
38583
38584 if test "$USE_DARWIN" = 1; then
38585 cat >>confdefs.h <<\_ACEOF
38586 #define HAVE_USLEEP 1
38587 _ACEOF
38588
38589 HAVE_SOME_SLEEP_FUNC=1
38590 fi
38591
38592 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38593 POSIX4_LINK=
38594
38595 for ac_func in nanosleep
38596 do
38597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38598 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38602 else
38603 cat >conftest.$ac_ext <<_ACEOF
38604 /* confdefs.h. */
38605 _ACEOF
38606 cat confdefs.h >>conftest.$ac_ext
38607 cat >>conftest.$ac_ext <<_ACEOF
38608 /* end confdefs.h. */
38609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38611 #define $ac_func innocuous_$ac_func
38612
38613 /* System header to define __stub macros and hopefully few prototypes,
38614 which can conflict with char $ac_func (); below.
38615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38616 <limits.h> exists even on freestanding compilers. */
38617
38618 #ifdef __STDC__
38619 # include <limits.h>
38620 #else
38621 # include <assert.h>
38622 #endif
38623
38624 #undef $ac_func
38625
38626 /* Override any GCC internal prototype to avoid an error.
38627 Use char because int might match the return type of a GCC
38628 builtin and then its argument prototype would still apply. */
38629 #ifdef __cplusplus
38630 extern "C"
38631 #endif
38632 char $ac_func ();
38633 /* The GNU C library defines this for functions which it implements
38634 to always fail with ENOSYS. Some functions are actually named
38635 something starting with __ and the normal name is an alias. */
38636 #if defined __stub_$ac_func || defined __stub___$ac_func
38637 choke me
38638 #endif
38639
38640 int
38641 main ()
38642 {
38643 return $ac_func ();
38644 ;
38645 return 0;
38646 }
38647 _ACEOF
38648 rm -f conftest.$ac_objext conftest$ac_exeext
38649 if { (ac_try="$ac_link"
38650 case "(($ac_try" in
38651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38652 *) ac_try_echo=$ac_try;;
38653 esac
38654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38655 (eval "$ac_link") 2>conftest.er1
38656 ac_status=$?
38657 grep -v '^ *+' conftest.er1 >conftest.err
38658 rm -f conftest.er1
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } && {
38662 test -z "$ac_c_werror_flag" ||
38663 test ! -s conftest.err
38664 } && test -s conftest$ac_exeext &&
38665 $as_test_x conftest$ac_exeext; then
38666 eval "$as_ac_var=yes"
38667 else
38668 echo "$as_me: failed program was:" >&5
38669 sed 's/^/| /' conftest.$ac_ext >&5
38670
38671 eval "$as_ac_var=no"
38672 fi
38673
38674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38675 conftest$ac_exeext conftest.$ac_ext
38676 fi
38677 ac_res=`eval echo '${'$as_ac_var'}'`
38678 { echo "$as_me:$LINENO: result: $ac_res" >&5
38679 echo "${ECHO_T}$ac_res" >&6; }
38680 if test `eval echo '${'$as_ac_var'}'` = yes; then
38681 cat >>confdefs.h <<_ACEOF
38682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38683 _ACEOF
38684 cat >>confdefs.h <<\_ACEOF
38685 #define HAVE_NANOSLEEP 1
38686 _ACEOF
38687
38688 else
38689
38690 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38691 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38692 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38693 echo $ECHO_N "(cached) $ECHO_C" >&6
38694 else
38695 ac_check_lib_save_LIBS=$LIBS
38696 LIBS="-lposix4 $LIBS"
38697 cat >conftest.$ac_ext <<_ACEOF
38698 /* confdefs.h. */
38699 _ACEOF
38700 cat confdefs.h >>conftest.$ac_ext
38701 cat >>conftest.$ac_ext <<_ACEOF
38702 /* end confdefs.h. */
38703
38704 /* Override any GCC internal prototype to avoid an error.
38705 Use char because int might match the return type of a GCC
38706 builtin and then its argument prototype would still apply. */
38707 #ifdef __cplusplus
38708 extern "C"
38709 #endif
38710 char nanosleep ();
38711 int
38712 main ()
38713 {
38714 return nanosleep ();
38715 ;
38716 return 0;
38717 }
38718 _ACEOF
38719 rm -f conftest.$ac_objext conftest$ac_exeext
38720 if { (ac_try="$ac_link"
38721 case "(($ac_try" in
38722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38723 *) ac_try_echo=$ac_try;;
38724 esac
38725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38726 (eval "$ac_link") 2>conftest.er1
38727 ac_status=$?
38728 grep -v '^ *+' conftest.er1 >conftest.err
38729 rm -f conftest.er1
38730 cat conftest.err >&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); } && {
38733 test -z "$ac_c_werror_flag" ||
38734 test ! -s conftest.err
38735 } && test -s conftest$ac_exeext &&
38736 $as_test_x conftest$ac_exeext; then
38737 ac_cv_lib_posix4_nanosleep=yes
38738 else
38739 echo "$as_me: failed program was:" >&5
38740 sed 's/^/| /' conftest.$ac_ext >&5
38741
38742 ac_cv_lib_posix4_nanosleep=no
38743 fi
38744
38745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38746 conftest$ac_exeext conftest.$ac_ext
38747 LIBS=$ac_check_lib_save_LIBS
38748 fi
38749 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38750 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38751 if test $ac_cv_lib_posix4_nanosleep = yes; then
38752
38753 cat >>confdefs.h <<\_ACEOF
38754 #define HAVE_NANOSLEEP 1
38755 _ACEOF
38756
38757 POSIX4_LINK=" -lposix4"
38758
38759 else
38760
38761
38762 for wx_func in usleep
38763 do
38764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38766 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38768 else
38769
38770 cat >conftest.$ac_ext <<_ACEOF
38771
38772 /* confdefs.h. */
38773 _ACEOF
38774 cat confdefs.h >>conftest.$ac_ext
38775 cat >>conftest.$ac_ext <<_ACEOF
38776 /* end confdefs.h. */
38777
38778
38779 $ac_includes_default
38780
38781 int
38782 main ()
38783 {
38784
38785 #ifndef $wx_func
38786 &$wx_func;
38787 #endif
38788
38789
38790 ;
38791 return 0;
38792 }
38793
38794 _ACEOF
38795 rm -f conftest.$ac_objext conftest$ac_exeext
38796 if { (ac_try="$ac_link"
38797 case "(($ac_try" in
38798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38799 *) ac_try_echo=$ac_try;;
38800 esac
38801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38802 (eval "$ac_link") 2>conftest.er1
38803 ac_status=$?
38804 grep -v '^ *+' conftest.er1 >conftest.err
38805 rm -f conftest.er1
38806 cat conftest.err >&5
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); } && {
38809 test -z "$ac_c_werror_flag" ||
38810 test ! -s conftest.err
38811 } && test -s conftest$ac_exeext &&
38812 $as_test_x conftest$ac_exeext; then
38813 eval wx_cv_func_$wx_func=yes
38814 else
38815 echo "$as_me: failed program was:" >&5
38816 sed 's/^/| /' conftest.$ac_ext >&5
38817
38818 eval wx_cv_func_$wx_func=no
38819 fi
38820
38821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38822 conftest$ac_exeext conftest.$ac_ext
38823
38824 fi
38825 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38826 { echo "$as_me:$LINENO: result: $ac_res" >&5
38827 echo "${ECHO_T}$ac_res" >&6; }
38828
38829 if eval test \$wx_cv_func_$wx_func = yes
38830 then
38831 cat >>confdefs.h <<_ACEOF
38832 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38833 _ACEOF
38834
38835
38836 else
38837 :
38838 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38839 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38840
38841 fi
38842 done
38843
38844
38845
38846 fi
38847
38848
38849
38850 fi
38851 done
38852
38853 fi
38854
38855
38856 for wx_func in uname
38857 do
38858 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38859 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38860 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38861 echo $ECHO_N "(cached) $ECHO_C" >&6
38862 else
38863
38864 cat >conftest.$ac_ext <<_ACEOF
38865
38866 /* confdefs.h. */
38867 _ACEOF
38868 cat confdefs.h >>conftest.$ac_ext
38869 cat >>conftest.$ac_ext <<_ACEOF
38870 /* end confdefs.h. */
38871
38872 #include <sys/utsname.h>
38873 $ac_includes_default
38874
38875 int
38876 main ()
38877 {
38878
38879 #ifndef $wx_func
38880 &$wx_func;
38881 #endif
38882
38883
38884 ;
38885 return 0;
38886 }
38887
38888 _ACEOF
38889 rm -f conftest.$ac_objext conftest$ac_exeext
38890 if { (ac_try="$ac_link"
38891 case "(($ac_try" in
38892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38893 *) ac_try_echo=$ac_try;;
38894 esac
38895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38896 (eval "$ac_link") 2>conftest.er1
38897 ac_status=$?
38898 grep -v '^ *+' conftest.er1 >conftest.err
38899 rm -f conftest.er1
38900 cat conftest.err >&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); } && {
38903 test -z "$ac_c_werror_flag" ||
38904 test ! -s conftest.err
38905 } && test -s conftest$ac_exeext &&
38906 $as_test_x conftest$ac_exeext; then
38907 eval wx_cv_func_$wx_func=yes
38908 else
38909 echo "$as_me: failed program was:" >&5
38910 sed 's/^/| /' conftest.$ac_ext >&5
38911
38912 eval wx_cv_func_$wx_func=no
38913 fi
38914
38915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38916 conftest$ac_exeext conftest.$ac_ext
38917
38918 fi
38919 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38920 { echo "$as_me:$LINENO: result: $ac_res" >&5
38921 echo "${ECHO_T}$ac_res" >&6; }
38922
38923 if eval test \$wx_cv_func_$wx_func = yes
38924 then
38925 cat >>confdefs.h <<_ACEOF
38926 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38927 _ACEOF
38928
38929
38930 else
38931 :
38932
38933 fi
38934 done
38935
38936 if test "$wx_cv_func_uname" != yes; then
38937
38938 for wx_func in gethostname
38939 do
38940 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38941 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38942 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38943 echo $ECHO_N "(cached) $ECHO_C" >&6
38944 else
38945
38946 cat >conftest.$ac_ext <<_ACEOF
38947
38948 /* confdefs.h. */
38949 _ACEOF
38950 cat confdefs.h >>conftest.$ac_ext
38951 cat >>conftest.$ac_ext <<_ACEOF
38952 /* end confdefs.h. */
38953
38954
38955 $ac_includes_default
38956
38957 int
38958 main ()
38959 {
38960
38961 #ifndef $wx_func
38962 &$wx_func;
38963 #endif
38964
38965
38966 ;
38967 return 0;
38968 }
38969
38970 _ACEOF
38971 rm -f conftest.$ac_objext conftest$ac_exeext
38972 if { (ac_try="$ac_link"
38973 case "(($ac_try" in
38974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38975 *) ac_try_echo=$ac_try;;
38976 esac
38977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38978 (eval "$ac_link") 2>conftest.er1
38979 ac_status=$?
38980 grep -v '^ *+' conftest.er1 >conftest.err
38981 rm -f conftest.er1
38982 cat conftest.err >&5
38983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38984 (exit $ac_status); } && {
38985 test -z "$ac_c_werror_flag" ||
38986 test ! -s conftest.err
38987 } && test -s conftest$ac_exeext &&
38988 $as_test_x conftest$ac_exeext; then
38989 eval wx_cv_func_$wx_func=yes
38990 else
38991 echo "$as_me: failed program was:" >&5
38992 sed 's/^/| /' conftest.$ac_ext >&5
38993
38994 eval wx_cv_func_$wx_func=no
38995 fi
38996
38997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38998 conftest$ac_exeext conftest.$ac_ext
38999
39000 fi
39001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39002 { echo "$as_me:$LINENO: result: $ac_res" >&5
39003 echo "${ECHO_T}$ac_res" >&6; }
39004
39005 if eval test \$wx_cv_func_$wx_func = yes
39006 then
39007 cat >>confdefs.h <<_ACEOF
39008 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39009 _ACEOF
39010
39011
39012 else
39013 :
39014
39015 fi
39016 done
39017
39018 fi
39019
39020
39021 for wx_func in strtok_r
39022 do
39023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39025 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39026 echo $ECHO_N "(cached) $ECHO_C" >&6
39027 else
39028
39029 cat >conftest.$ac_ext <<_ACEOF
39030
39031 /* confdefs.h. */
39032 _ACEOF
39033 cat confdefs.h >>conftest.$ac_ext
39034 cat >>conftest.$ac_ext <<_ACEOF
39035 /* end confdefs.h. */
39036
39037 #define _REENTRANT
39038 $ac_includes_default
39039
39040 int
39041 main ()
39042 {
39043
39044 #ifndef $wx_func
39045 &$wx_func;
39046 #endif
39047
39048
39049 ;
39050 return 0;
39051 }
39052
39053 _ACEOF
39054 rm -f conftest.$ac_objext conftest$ac_exeext
39055 if { (ac_try="$ac_link"
39056 case "(($ac_try" in
39057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39058 *) ac_try_echo=$ac_try;;
39059 esac
39060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39061 (eval "$ac_link") 2>conftest.er1
39062 ac_status=$?
39063 grep -v '^ *+' conftest.er1 >conftest.err
39064 rm -f conftest.er1
39065 cat conftest.err >&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); } && {
39068 test -z "$ac_c_werror_flag" ||
39069 test ! -s conftest.err
39070 } && test -s conftest$ac_exeext &&
39071 $as_test_x conftest$ac_exeext; then
39072 eval wx_cv_func_$wx_func=yes
39073 else
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39076
39077 eval wx_cv_func_$wx_func=no
39078 fi
39079
39080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39081 conftest$ac_exeext conftest.$ac_ext
39082
39083 fi
39084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39085 { echo "$as_me:$LINENO: result: $ac_res" >&5
39086 echo "${ECHO_T}$ac_res" >&6; }
39087
39088 if eval test \$wx_cv_func_$wx_func = yes
39089 then
39090 cat >>confdefs.h <<_ACEOF
39091 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39092 _ACEOF
39093
39094
39095 else
39096 :
39097
39098 fi
39099 done
39100
39101
39102 INET_LINK=
39103
39104 for ac_func in inet_addr
39105 do
39106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39110 echo $ECHO_N "(cached) $ECHO_C" >&6
39111 else
39112 cat >conftest.$ac_ext <<_ACEOF
39113 /* confdefs.h. */
39114 _ACEOF
39115 cat confdefs.h >>conftest.$ac_ext
39116 cat >>conftest.$ac_ext <<_ACEOF
39117 /* end confdefs.h. */
39118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39120 #define $ac_func innocuous_$ac_func
39121
39122 /* System header to define __stub macros and hopefully few prototypes,
39123 which can conflict with char $ac_func (); below.
39124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39125 <limits.h> exists even on freestanding compilers. */
39126
39127 #ifdef __STDC__
39128 # include <limits.h>
39129 #else
39130 # include <assert.h>
39131 #endif
39132
39133 #undef $ac_func
39134
39135 /* Override any GCC internal prototype to avoid an error.
39136 Use char because int might match the return type of a GCC
39137 builtin and then its argument prototype would still apply. */
39138 #ifdef __cplusplus
39139 extern "C"
39140 #endif
39141 char $ac_func ();
39142 /* The GNU C library defines this for functions which it implements
39143 to always fail with ENOSYS. Some functions are actually named
39144 something starting with __ and the normal name is an alias. */
39145 #if defined __stub_$ac_func || defined __stub___$ac_func
39146 choke me
39147 #endif
39148
39149 int
39150 main ()
39151 {
39152 return $ac_func ();
39153 ;
39154 return 0;
39155 }
39156 _ACEOF
39157 rm -f conftest.$ac_objext conftest$ac_exeext
39158 if { (ac_try="$ac_link"
39159 case "(($ac_try" in
39160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39161 *) ac_try_echo=$ac_try;;
39162 esac
39163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39164 (eval "$ac_link") 2>conftest.er1
39165 ac_status=$?
39166 grep -v '^ *+' conftest.er1 >conftest.err
39167 rm -f conftest.er1
39168 cat conftest.err >&5
39169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39170 (exit $ac_status); } && {
39171 test -z "$ac_c_werror_flag" ||
39172 test ! -s conftest.err
39173 } && test -s conftest$ac_exeext &&
39174 $as_test_x conftest$ac_exeext; then
39175 eval "$as_ac_var=yes"
39176 else
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39179
39180 eval "$as_ac_var=no"
39181 fi
39182
39183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39184 conftest$ac_exeext conftest.$ac_ext
39185 fi
39186 ac_res=`eval echo '${'$as_ac_var'}'`
39187 { echo "$as_me:$LINENO: result: $ac_res" >&5
39188 echo "${ECHO_T}$ac_res" >&6; }
39189 if test `eval echo '${'$as_ac_var'}'` = yes; then
39190 cat >>confdefs.h <<_ACEOF
39191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39192 _ACEOF
39193 cat >>confdefs.h <<\_ACEOF
39194 #define HAVE_INET_ADDR 1
39195 _ACEOF
39196
39197 else
39198
39199 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39200 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39201 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 else
39204 ac_check_lib_save_LIBS=$LIBS
39205 LIBS="-lnsl $LIBS"
39206 cat >conftest.$ac_ext <<_ACEOF
39207 /* confdefs.h. */
39208 _ACEOF
39209 cat confdefs.h >>conftest.$ac_ext
39210 cat >>conftest.$ac_ext <<_ACEOF
39211 /* end confdefs.h. */
39212
39213 /* Override any GCC internal prototype to avoid an error.
39214 Use char because int might match the return type of a GCC
39215 builtin and then its argument prototype would still apply. */
39216 #ifdef __cplusplus
39217 extern "C"
39218 #endif
39219 char inet_addr ();
39220 int
39221 main ()
39222 {
39223 return inet_addr ();
39224 ;
39225 return 0;
39226 }
39227 _ACEOF
39228 rm -f conftest.$ac_objext conftest$ac_exeext
39229 if { (ac_try="$ac_link"
39230 case "(($ac_try" in
39231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39232 *) ac_try_echo=$ac_try;;
39233 esac
39234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39235 (eval "$ac_link") 2>conftest.er1
39236 ac_status=$?
39237 grep -v '^ *+' conftest.er1 >conftest.err
39238 rm -f conftest.er1
39239 cat conftest.err >&5
39240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39241 (exit $ac_status); } && {
39242 test -z "$ac_c_werror_flag" ||
39243 test ! -s conftest.err
39244 } && test -s conftest$ac_exeext &&
39245 $as_test_x conftest$ac_exeext; then
39246 ac_cv_lib_nsl_inet_addr=yes
39247 else
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39250
39251 ac_cv_lib_nsl_inet_addr=no
39252 fi
39253
39254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39255 conftest$ac_exeext conftest.$ac_ext
39256 LIBS=$ac_check_lib_save_LIBS
39257 fi
39258 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39259 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39260 if test $ac_cv_lib_nsl_inet_addr = yes; then
39261 INET_LINK="nsl"
39262 else
39263
39264 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39265 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39266 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39267 echo $ECHO_N "(cached) $ECHO_C" >&6
39268 else
39269 ac_check_lib_save_LIBS=$LIBS
39270 LIBS="-lresolv $LIBS"
39271 cat >conftest.$ac_ext <<_ACEOF
39272 /* confdefs.h. */
39273 _ACEOF
39274 cat confdefs.h >>conftest.$ac_ext
39275 cat >>conftest.$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277
39278 /* Override any GCC internal prototype to avoid an error.
39279 Use char because int might match the return type of a GCC
39280 builtin and then its argument prototype would still apply. */
39281 #ifdef __cplusplus
39282 extern "C"
39283 #endif
39284 char inet_addr ();
39285 int
39286 main ()
39287 {
39288 return inet_addr ();
39289 ;
39290 return 0;
39291 }
39292 _ACEOF
39293 rm -f conftest.$ac_objext conftest$ac_exeext
39294 if { (ac_try="$ac_link"
39295 case "(($ac_try" in
39296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39297 *) ac_try_echo=$ac_try;;
39298 esac
39299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39300 (eval "$ac_link") 2>conftest.er1
39301 ac_status=$?
39302 grep -v '^ *+' conftest.er1 >conftest.err
39303 rm -f conftest.er1
39304 cat conftest.err >&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } && {
39307 test -z "$ac_c_werror_flag" ||
39308 test ! -s conftest.err
39309 } && test -s conftest$ac_exeext &&
39310 $as_test_x conftest$ac_exeext; then
39311 ac_cv_lib_resolv_inet_addr=yes
39312 else
39313 echo "$as_me: failed program was:" >&5
39314 sed 's/^/| /' conftest.$ac_ext >&5
39315
39316 ac_cv_lib_resolv_inet_addr=no
39317 fi
39318
39319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39320 conftest$ac_exeext conftest.$ac_ext
39321 LIBS=$ac_check_lib_save_LIBS
39322 fi
39323 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39324 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39325 if test $ac_cv_lib_resolv_inet_addr = yes; then
39326 INET_LINK="resolv"
39327 else
39328
39329 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39330 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39331 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39332 echo $ECHO_N "(cached) $ECHO_C" >&6
39333 else
39334 ac_check_lib_save_LIBS=$LIBS
39335 LIBS="-lsocket $LIBS"
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342
39343 /* Override any GCC internal prototype to avoid an error.
39344 Use char because int might match the return type of a GCC
39345 builtin and then its argument prototype would still apply. */
39346 #ifdef __cplusplus
39347 extern "C"
39348 #endif
39349 char inet_addr ();
39350 int
39351 main ()
39352 {
39353 return inet_addr ();
39354 ;
39355 return 0;
39356 }
39357 _ACEOF
39358 rm -f conftest.$ac_objext conftest$ac_exeext
39359 if { (ac_try="$ac_link"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39363 esac
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_link") 2>conftest.er1
39366 ac_status=$?
39367 grep -v '^ *+' conftest.er1 >conftest.err
39368 rm -f conftest.er1
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_c_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest$ac_exeext &&
39375 $as_test_x conftest$ac_exeext; then
39376 ac_cv_lib_socket_inet_addr=yes
39377 else
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39380
39381 ac_cv_lib_socket_inet_addr=no
39382 fi
39383
39384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39385 conftest$ac_exeext conftest.$ac_ext
39386 LIBS=$ac_check_lib_save_LIBS
39387 fi
39388 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39389 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39390 if test $ac_cv_lib_socket_inet_addr = yes; then
39391 INET_LINK="socket"
39392
39393 fi
39394
39395
39396
39397 fi
39398
39399
39400
39401 fi
39402
39403
39404
39405 fi
39406 done
39407
39408
39409
39410 for ac_func in inet_aton
39411 do
39412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39416 echo $ECHO_N "(cached) $ECHO_C" >&6
39417 else
39418 cat >conftest.$ac_ext <<_ACEOF
39419 /* confdefs.h. */
39420 _ACEOF
39421 cat confdefs.h >>conftest.$ac_ext
39422 cat >>conftest.$ac_ext <<_ACEOF
39423 /* end confdefs.h. */
39424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39426 #define $ac_func innocuous_$ac_func
39427
39428 /* System header to define __stub macros and hopefully few prototypes,
39429 which can conflict with char $ac_func (); below.
39430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39431 <limits.h> exists even on freestanding compilers. */
39432
39433 #ifdef __STDC__
39434 # include <limits.h>
39435 #else
39436 # include <assert.h>
39437 #endif
39438
39439 #undef $ac_func
39440
39441 /* Override any GCC internal prototype to avoid an error.
39442 Use char because int might match the return type of a GCC
39443 builtin and then its argument prototype would still apply. */
39444 #ifdef __cplusplus
39445 extern "C"
39446 #endif
39447 char $ac_func ();
39448 /* The GNU C library defines this for functions which it implements
39449 to always fail with ENOSYS. Some functions are actually named
39450 something starting with __ and the normal name is an alias. */
39451 #if defined __stub_$ac_func || defined __stub___$ac_func
39452 choke me
39453 #endif
39454
39455 int
39456 main ()
39457 {
39458 return $ac_func ();
39459 ;
39460 return 0;
39461 }
39462 _ACEOF
39463 rm -f conftest.$ac_objext conftest$ac_exeext
39464 if { (ac_try="$ac_link"
39465 case "(($ac_try" in
39466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39467 *) ac_try_echo=$ac_try;;
39468 esac
39469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39470 (eval "$ac_link") 2>conftest.er1
39471 ac_status=$?
39472 grep -v '^ *+' conftest.er1 >conftest.err
39473 rm -f conftest.er1
39474 cat conftest.err >&5
39475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39476 (exit $ac_status); } && {
39477 test -z "$ac_c_werror_flag" ||
39478 test ! -s conftest.err
39479 } && test -s conftest$ac_exeext &&
39480 $as_test_x conftest$ac_exeext; then
39481 eval "$as_ac_var=yes"
39482 else
39483 echo "$as_me: failed program was:" >&5
39484 sed 's/^/| /' conftest.$ac_ext >&5
39485
39486 eval "$as_ac_var=no"
39487 fi
39488
39489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39490 conftest$ac_exeext conftest.$ac_ext
39491 fi
39492 ac_res=`eval echo '${'$as_ac_var'}'`
39493 { echo "$as_me:$LINENO: result: $ac_res" >&5
39494 echo "${ECHO_T}$ac_res" >&6; }
39495 if test `eval echo '${'$as_ac_var'}'` = yes; then
39496 cat >>confdefs.h <<_ACEOF
39497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39498 _ACEOF
39499 cat >>confdefs.h <<\_ACEOF
39500 #define HAVE_INET_ATON 1
39501 _ACEOF
39502
39503 else
39504
39505 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39506 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39507 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39508 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39509 echo $ECHO_N "(cached) $ECHO_C" >&6
39510 else
39511 ac_check_lib_save_LIBS=$LIBS
39512 LIBS="-l$INET_LINK $LIBS"
39513 cat >conftest.$ac_ext <<_ACEOF
39514 /* confdefs.h. */
39515 _ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39519
39520 /* Override any GCC internal prototype to avoid an error.
39521 Use char because int might match the return type of a GCC
39522 builtin and then its argument prototype would still apply. */
39523 #ifdef __cplusplus
39524 extern "C"
39525 #endif
39526 char inet_aton ();
39527 int
39528 main ()
39529 {
39530 return inet_aton ();
39531 ;
39532 return 0;
39533 }
39534 _ACEOF
39535 rm -f conftest.$ac_objext conftest$ac_exeext
39536 if { (ac_try="$ac_link"
39537 case "(($ac_try" in
39538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39539 *) ac_try_echo=$ac_try;;
39540 esac
39541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39542 (eval "$ac_link") 2>conftest.er1
39543 ac_status=$?
39544 grep -v '^ *+' conftest.er1 >conftest.err
39545 rm -f conftest.er1
39546 cat conftest.err >&5
39547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39548 (exit $ac_status); } && {
39549 test -z "$ac_c_werror_flag" ||
39550 test ! -s conftest.err
39551 } && test -s conftest$ac_exeext &&
39552 $as_test_x conftest$ac_exeext; then
39553 eval "$as_ac_Lib=yes"
39554 else
39555 echo "$as_me: failed program was:" >&5
39556 sed 's/^/| /' conftest.$ac_ext >&5
39557
39558 eval "$as_ac_Lib=no"
39559 fi
39560
39561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39562 conftest$ac_exeext conftest.$ac_ext
39563 LIBS=$ac_check_lib_save_LIBS
39564 fi
39565 ac_res=`eval echo '${'$as_ac_Lib'}'`
39566 { echo "$as_me:$LINENO: result: $ac_res" >&5
39567 echo "${ECHO_T}$ac_res" >&6; }
39568 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39569 cat >>confdefs.h <<\_ACEOF
39570 #define HAVE_INET_ATON 1
39571 _ACEOF
39572
39573 fi
39574
39575
39576 fi
39577 done
39578
39579
39580 if test "x$INET_LINK" != "x"; then
39581 cat >>confdefs.h <<\_ACEOF
39582 #define HAVE_INET_ADDR 1
39583 _ACEOF
39584
39585 INET_LINK=" -l$INET_LINK"
39586 fi
39587
39588
39589 for wx_func in fdopen
39590 do
39591 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39592 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39593 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39595 else
39596
39597 cat >conftest.$ac_ext <<_ACEOF
39598
39599 /* confdefs.h. */
39600 _ACEOF
39601 cat confdefs.h >>conftest.$ac_ext
39602 cat >>conftest.$ac_ext <<_ACEOF
39603 /* end confdefs.h. */
39604
39605
39606 $ac_includes_default
39607
39608 int
39609 main ()
39610 {
39611
39612 #ifndef $wx_func
39613 &$wx_func;
39614 #endif
39615
39616
39617 ;
39618 return 0;
39619 }
39620
39621 _ACEOF
39622 rm -f conftest.$ac_objext conftest$ac_exeext
39623 if { (ac_try="$ac_link"
39624 case "(($ac_try" in
39625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39626 *) ac_try_echo=$ac_try;;
39627 esac
39628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39629 (eval "$ac_link") 2>conftest.er1
39630 ac_status=$?
39631 grep -v '^ *+' conftest.er1 >conftest.err
39632 rm -f conftest.er1
39633 cat conftest.err >&5
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); } && {
39636 test -z "$ac_c_werror_flag" ||
39637 test ! -s conftest.err
39638 } && test -s conftest$ac_exeext &&
39639 $as_test_x conftest$ac_exeext; then
39640 eval wx_cv_func_$wx_func=yes
39641 else
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.$ac_ext >&5
39644
39645 eval wx_cv_func_$wx_func=no
39646 fi
39647
39648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39649 conftest$ac_exeext conftest.$ac_ext
39650
39651 fi
39652 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39653 { echo "$as_me:$LINENO: result: $ac_res" >&5
39654 echo "${ECHO_T}$ac_res" >&6; }
39655
39656 if eval test \$wx_cv_func_$wx_func = yes
39657 then
39658 cat >>confdefs.h <<_ACEOF
39659 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39660 _ACEOF
39661
39662
39663 else
39664 :
39665
39666 fi
39667 done
39668
39669
39670 if test "$wxUSE_TARSTREAM" = "yes"; then
39671
39672 for wx_func in sysconf
39673 do
39674 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39675 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39676 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 else
39679
39680 cat >conftest.$ac_ext <<_ACEOF
39681
39682 /* confdefs.h. */
39683 _ACEOF
39684 cat confdefs.h >>conftest.$ac_ext
39685 cat >>conftest.$ac_ext <<_ACEOF
39686 /* end confdefs.h. */
39687
39688
39689 $ac_includes_default
39690
39691 int
39692 main ()
39693 {
39694
39695 #ifndef $wx_func
39696 &$wx_func;
39697 #endif
39698
39699
39700 ;
39701 return 0;
39702 }
39703
39704 _ACEOF
39705 rm -f conftest.$ac_objext conftest$ac_exeext
39706 if { (ac_try="$ac_link"
39707 case "(($ac_try" in
39708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39709 *) ac_try_echo=$ac_try;;
39710 esac
39711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39712 (eval "$ac_link") 2>conftest.er1
39713 ac_status=$?
39714 grep -v '^ *+' conftest.er1 >conftest.err
39715 rm -f conftest.er1
39716 cat conftest.err >&5
39717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39718 (exit $ac_status); } && {
39719 test -z "$ac_c_werror_flag" ||
39720 test ! -s conftest.err
39721 } && test -s conftest$ac_exeext &&
39722 $as_test_x conftest$ac_exeext; then
39723 eval wx_cv_func_$wx_func=yes
39724 else
39725 echo "$as_me: failed program was:" >&5
39726 sed 's/^/| /' conftest.$ac_ext >&5
39727
39728 eval wx_cv_func_$wx_func=no
39729 fi
39730
39731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39732 conftest$ac_exeext conftest.$ac_ext
39733
39734 fi
39735 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39736 { echo "$as_me:$LINENO: result: $ac_res" >&5
39737 echo "${ECHO_T}$ac_res" >&6; }
39738
39739 if eval test \$wx_cv_func_$wx_func = yes
39740 then
39741 cat >>confdefs.h <<_ACEOF
39742 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39743 _ACEOF
39744
39745
39746 else
39747 :
39748
39749 fi
39750 done
39751
39752
39753
39754 for wx_func in getpwuid_r
39755 do
39756 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39757 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39758 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39760 else
39761
39762 cat >conftest.$ac_ext <<_ACEOF
39763
39764 /* confdefs.h. */
39765 _ACEOF
39766 cat confdefs.h >>conftest.$ac_ext
39767 cat >>conftest.$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39769
39770
39771 #define _REENTRANT
39772 #include <pwd.h>
39773
39774 $ac_includes_default
39775
39776 int
39777 main ()
39778 {
39779
39780 #ifndef $wx_func
39781 &$wx_func;
39782 #endif
39783
39784 struct passwd pw, *ppw;
39785 char buf[1024];
39786 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39787
39788
39789 ;
39790 return 0;
39791 }
39792
39793 _ACEOF
39794 rm -f conftest.$ac_objext conftest$ac_exeext
39795 if { (ac_try="$ac_link"
39796 case "(($ac_try" in
39797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39798 *) ac_try_echo=$ac_try;;
39799 esac
39800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39801 (eval "$ac_link") 2>conftest.er1
39802 ac_status=$?
39803 grep -v '^ *+' conftest.er1 >conftest.err
39804 rm -f conftest.er1
39805 cat conftest.err >&5
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); } && {
39808 test -z "$ac_c_werror_flag" ||
39809 test ! -s conftest.err
39810 } && test -s conftest$ac_exeext &&
39811 $as_test_x conftest$ac_exeext; then
39812 eval wx_cv_func_$wx_func=yes
39813 else
39814 echo "$as_me: failed program was:" >&5
39815 sed 's/^/| /' conftest.$ac_ext >&5
39816
39817 eval wx_cv_func_$wx_func=no
39818 fi
39819
39820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39821 conftest$ac_exeext conftest.$ac_ext
39822
39823 fi
39824 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39825 { echo "$as_me:$LINENO: result: $ac_res" >&5
39826 echo "${ECHO_T}$ac_res" >&6; }
39827
39828 if eval test \$wx_cv_func_$wx_func = yes
39829 then
39830 cat >>confdefs.h <<_ACEOF
39831 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39832 _ACEOF
39833
39834
39835 else
39836 :
39837
39838 fi
39839 done
39840
39841
39842
39843 for wx_func in getgrgid_r
39844 do
39845 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39846 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39847 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39848 echo $ECHO_N "(cached) $ECHO_C" >&6
39849 else
39850
39851 cat >conftest.$ac_ext <<_ACEOF
39852
39853 /* confdefs.h. */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858
39859
39860 #define _REENTRANT
39861 #include <grp.h>
39862
39863 $ac_includes_default
39864
39865 int
39866 main ()
39867 {
39868
39869 #ifndef $wx_func
39870 &$wx_func;
39871 #endif
39872
39873 struct group grp, *pgrp;
39874 char buf[1024];
39875 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39876
39877
39878 ;
39879 return 0;
39880 }
39881
39882 _ACEOF
39883 rm -f conftest.$ac_objext conftest$ac_exeext
39884 if { (ac_try="$ac_link"
39885 case "(($ac_try" in
39886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39887 *) ac_try_echo=$ac_try;;
39888 esac
39889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39890 (eval "$ac_link") 2>conftest.er1
39891 ac_status=$?
39892 grep -v '^ *+' conftest.er1 >conftest.err
39893 rm -f conftest.er1
39894 cat conftest.err >&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); } && {
39897 test -z "$ac_c_werror_flag" ||
39898 test ! -s conftest.err
39899 } && test -s conftest$ac_exeext &&
39900 $as_test_x conftest$ac_exeext; then
39901 eval wx_cv_func_$wx_func=yes
39902 else
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39905
39906 eval wx_cv_func_$wx_func=no
39907 fi
39908
39909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39910 conftest$ac_exeext conftest.$ac_ext
39911
39912 fi
39913 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39914 { echo "$as_me:$LINENO: result: $ac_res" >&5
39915 echo "${ECHO_T}$ac_res" >&6; }
39916
39917 if eval test \$wx_cv_func_$wx_func = yes
39918 then
39919 cat >>confdefs.h <<_ACEOF
39920 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39921 _ACEOF
39922
39923
39924 else
39925 :
39926
39927 fi
39928 done
39929
39930 fi
39931
39932 fi
39933
39934
39935
39936 cat >confcache <<\_ACEOF
39937 # This file is a shell script that caches the results of configure
39938 # tests run on this system so they can be shared between configure
39939 # scripts and configure runs, see configure's option --config-cache.
39940 # It is not useful on other systems. If it contains results you don't
39941 # want to keep, you may remove or edit it.
39942 #
39943 # config.status only pays attention to the cache file if you give it
39944 # the --recheck option to rerun configure.
39945 #
39946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39948 # following values.
39949
39950 _ACEOF
39951
39952 # The following way of writing the cache mishandles newlines in values,
39953 # but we know of no workaround that is simple, portable, and efficient.
39954 # So, we kill variables containing newlines.
39955 # Ultrix sh set writes to stderr and can't be redirected directly,
39956 # and sets the high bit in the cache file unless we assign to the vars.
39957 (
39958 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39959 eval ac_val=\$$ac_var
39960 case $ac_val in #(
39961 *${as_nl}*)
39962 case $ac_var in #(
39963 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39964 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39965 esac
39966 case $ac_var in #(
39967 _ | IFS | as_nl) ;; #(
39968 *) $as_unset $ac_var ;;
39969 esac ;;
39970 esac
39971 done
39972
39973 (set) 2>&1 |
39974 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39975 *${as_nl}ac_space=\ *)
39976 # `set' does not quote correctly, so add quotes (double-quote
39977 # substitution turns \\\\ into \\, and sed turns \\ into \).
39978 sed -n \
39979 "s/'/'\\\\''/g;
39980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39981 ;; #(
39982 *)
39983 # `set' quotes correctly as required by POSIX, so do not add quotes.
39984 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39985 ;;
39986 esac |
39987 sort
39988 ) |
39989 sed '
39990 /^ac_cv_env_/b end
39991 t clear
39992 :clear
39993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39994 t end
39995 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39996 :end' >>confcache
39997 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39998 if test -w "$cache_file"; then
39999 test "x$cache_file" != "x/dev/null" &&
40000 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40001 echo "$as_me: updating cache $cache_file" >&6;}
40002 cat confcache >$cache_file
40003 else
40004 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40005 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40006 fi
40007 fi
40008 rm -f confcache
40009
40010
40011 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40012
40013
40014 THREADS_LINK=
40015 THREADS_CFLAGS=
40016
40017 if test "$wxUSE_THREADS" = "yes" ; then
40018 if test "$USE_BEOS" = 1; then
40019 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40020 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40021 wxUSE_THREADS="no"
40022 fi
40023 fi
40024
40025 if test "$wxUSE_THREADS" = "yes" ; then
40026
40027
40028 THREAD_OPTS="-pthread"
40029 if test "x$SUNCXX" = xyes; then
40030 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40031 fi
40032
40033 case "${host}" in
40034 *-*-solaris2* | *-*-sunos4* )
40035 if test "x$GCC" = "xyes"; then
40036 THREAD_OPTS="-pthreads $THREAD_OPTS"
40037 fi
40038 ;;
40039 *-*-freebsd*)
40040 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40041 ;;
40042 *-*-darwin* | *-*-cygwin* )
40043 THREAD_OPTS=""
40044 ;;
40045 *-*-aix*)
40046 THREAD_OPTS="pthreads"
40047 ;;
40048 *-hp-hpux* )
40049 if test "x$GCC" = "xyes"; then
40050 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40051 THREAD_OPTS=""
40052 else
40053 THREAD_OPTS="-mt"
40054 fi
40055 ;;
40056
40057 *-*-irix* )
40058 if test "x$GCC" = "xyes"; then
40059 THREAD_OPTS=""
40060 fi
40061 ;;
40062
40063 *-*-qnx*)
40064 THREAD_OPTS=""
40065 ;;
40066
40067 *-*-*UnixWare*)
40068 if test "x$GCC" != "xyes"; then
40069 THREAD_OPTS="-Ethread"
40070 fi
40071 ;;
40072 esac
40073
40074 case "${host}" in
40075 *-*-qnx*)
40076 THREAD_OPTS="none pthread"
40077 ;;
40078
40079 *)
40080 THREAD_OPTS="$THREAD_OPTS pthread none"
40081 ;;
40082 esac
40083
40084 THREADS_OK=no
40085 for flag in $THREAD_OPTS; do
40086 case $flag in
40087 none)
40088 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40089 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40090 ;;
40091
40092 -*)
40093 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40094 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40095 THREADS_CFLAGS="$flag"
40096 ;;
40097
40098 *)
40099 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40100 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40101 THREADS_LINK="-l$flag"
40102 ;;
40103 esac
40104
40105 save_LIBS="$LIBS"
40106 save_CFLAGS="$CFLAGS"
40107 LIBS="$THREADS_LINK $LIBS"
40108 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40109
40110 cat >conftest.$ac_ext <<_ACEOF
40111 /* confdefs.h. */
40112 _ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40116 #include <pthread.h>
40117 int
40118 main ()
40119 {
40120 pthread_create(0,0,0,0);
40121 ;
40122 return 0;
40123 }
40124 _ACEOF
40125 rm -f conftest.$ac_objext conftest$ac_exeext
40126 if { (ac_try="$ac_link"
40127 case "(($ac_try" in
40128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40129 *) ac_try_echo=$ac_try;;
40130 esac
40131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40132 (eval "$ac_link") 2>conftest.er1
40133 ac_status=$?
40134 grep -v '^ *+' conftest.er1 >conftest.err
40135 rm -f conftest.er1
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } && {
40139 test -z "$ac_c_werror_flag" ||
40140 test ! -s conftest.err
40141 } && test -s conftest$ac_exeext &&
40142 $as_test_x conftest$ac_exeext; then
40143 THREADS_OK=yes
40144 else
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40147
40148
40149 fi
40150
40151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40152 conftest$ac_exeext conftest.$ac_ext
40153
40154 LIBS="$save_LIBS"
40155 CFLAGS="$save_CFLAGS"
40156
40157 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40158 echo "${ECHO_T}$THREADS_OK" >&6; }
40159 if test "x$THREADS_OK" = "xyes"; then
40160 break;
40161 fi
40162
40163 THREADS_LINK=""
40164 THREADS_CFLAGS=""
40165 done
40166
40167 if test "x$THREADS_OK" != "xyes"; then
40168 wxUSE_THREADS=no
40169 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40170 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40171 else
40172 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40173 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40174 LIBS="$THREADS_LINK $LIBS"
40175
40176 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40177 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40178 flag=no
40179 case "${host}" in
40180 *-aix*)
40181 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40182 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40183 flag="-D_THREAD_SAFE"
40184 ;;
40185 *-freebsd*)
40186 flag="-D_THREAD_SAFE"
40187 ;;
40188 *-hp-hpux* )
40189 flag="-D_REENTRANT"
40190 if test "x$GCC" != "xyes"; then
40191 flag="$flag -D_RWSTD_MULTI_THREAD"
40192 fi
40193 ;;
40194 *solaris* | alpha*-osf*)
40195 flag="-D_REENTRANT"
40196 ;;
40197 esac
40198 { echo "$as_me:$LINENO: result: ${flag}" >&5
40199 echo "${ECHO_T}${flag}" >&6; }
40200 if test "x$flag" != xno; then
40201 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40202 fi
40203
40204 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40205 fi
40206 fi
40207
40208 if test "$wxUSE_THREADS" = "yes" ; then
40209
40210 for ac_func in thr_setconcurrency
40211 do
40212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40216 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 else
40218 cat >conftest.$ac_ext <<_ACEOF
40219 /* confdefs.h. */
40220 _ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40226 #define $ac_func innocuous_$ac_func
40227
40228 /* System header to define __stub macros and hopefully few prototypes,
40229 which can conflict with char $ac_func (); below.
40230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40231 <limits.h> exists even on freestanding compilers. */
40232
40233 #ifdef __STDC__
40234 # include <limits.h>
40235 #else
40236 # include <assert.h>
40237 #endif
40238
40239 #undef $ac_func
40240
40241 /* Override any GCC internal prototype to avoid an error.
40242 Use char because int might match the return type of a GCC
40243 builtin and then its argument prototype would still apply. */
40244 #ifdef __cplusplus
40245 extern "C"
40246 #endif
40247 char $ac_func ();
40248 /* The GNU C library defines this for functions which it implements
40249 to always fail with ENOSYS. Some functions are actually named
40250 something starting with __ and the normal name is an alias. */
40251 #if defined __stub_$ac_func || defined __stub___$ac_func
40252 choke me
40253 #endif
40254
40255 int
40256 main ()
40257 {
40258 return $ac_func ();
40259 ;
40260 return 0;
40261 }
40262 _ACEOF
40263 rm -f conftest.$ac_objext conftest$ac_exeext
40264 if { (ac_try="$ac_link"
40265 case "(($ac_try" in
40266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40267 *) ac_try_echo=$ac_try;;
40268 esac
40269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40270 (eval "$ac_link") 2>conftest.er1
40271 ac_status=$?
40272 grep -v '^ *+' conftest.er1 >conftest.err
40273 rm -f conftest.er1
40274 cat conftest.err >&5
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); } && {
40277 test -z "$ac_c_werror_flag" ||
40278 test ! -s conftest.err
40279 } && test -s conftest$ac_exeext &&
40280 $as_test_x conftest$ac_exeext; then
40281 eval "$as_ac_var=yes"
40282 else
40283 echo "$as_me: failed program was:" >&5
40284 sed 's/^/| /' conftest.$ac_ext >&5
40285
40286 eval "$as_ac_var=no"
40287 fi
40288
40289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40290 conftest$ac_exeext conftest.$ac_ext
40291 fi
40292 ac_res=`eval echo '${'$as_ac_var'}'`
40293 { echo "$as_me:$LINENO: result: $ac_res" >&5
40294 echo "${ECHO_T}$ac_res" >&6; }
40295 if test `eval echo '${'$as_ac_var'}'` = yes; then
40296 cat >>confdefs.h <<_ACEOF
40297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40298 _ACEOF
40299
40300 fi
40301 done
40302
40303
40304 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40305 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40306 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40308 else
40309
40310 ac_ext=cpp
40311 ac_cpp='$CXXCPP $CPPFLAGS'
40312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40315
40316 cat >conftest.$ac_ext <<_ACEOF
40317 /* confdefs.h. */
40318 _ACEOF
40319 cat confdefs.h >>conftest.$ac_ext
40320 cat >>conftest.$ac_ext <<_ACEOF
40321 /* end confdefs.h. */
40322 #include <pthread.h>
40323 void ThreadCleanupFunc(void *p);
40324
40325 int
40326 main ()
40327 {
40328
40329 void *p;
40330 pthread_cleanup_push(ThreadCleanupFunc, p);
40331 pthread_cleanup_pop(0);
40332
40333 ;
40334 return 0;
40335 }
40336 _ACEOF
40337 rm -f conftest.$ac_objext
40338 if { (ac_try="$ac_compile"
40339 case "(($ac_try" in
40340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40341 *) ac_try_echo=$ac_try;;
40342 esac
40343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40344 (eval "$ac_compile") 2>conftest.er1
40345 ac_status=$?
40346 grep -v '^ *+' conftest.er1 >conftest.err
40347 rm -f conftest.er1
40348 cat conftest.err >&5
40349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40350 (exit $ac_status); } && {
40351 test -z "$ac_cxx_werror_flag" ||
40352 test ! -s conftest.err
40353 } && test -s conftest.$ac_objext; then
40354
40355 wx_cv_func_pthread_cleanup=yes
40356
40357 else
40358 echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.$ac_ext >&5
40360
40361
40362 wx_cv_func_pthread_cleanup=no
40363
40364
40365 fi
40366
40367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40368 ac_ext=c
40369 ac_cpp='$CPP $CPPFLAGS'
40370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40373
40374
40375 fi
40376 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40377 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40378 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40379 cat >>confdefs.h <<\_ACEOF
40380 #define wxHAVE_PTHREAD_CLEANUP 1
40381 _ACEOF
40382
40383 fi
40384
40385
40386 for ac_header in sched.h
40387 do
40388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40392 echo $ECHO_N "(cached) $ECHO_C" >&6
40393 else
40394 cat >conftest.$ac_ext <<_ACEOF
40395 /* confdefs.h. */
40396 _ACEOF
40397 cat confdefs.h >>conftest.$ac_ext
40398 cat >>conftest.$ac_ext <<_ACEOF
40399 /* end confdefs.h. */
40400 $ac_includes_default
40401
40402 #include <$ac_header>
40403 _ACEOF
40404 rm -f conftest.$ac_objext
40405 if { (ac_try="$ac_compile"
40406 case "(($ac_try" in
40407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40408 *) ac_try_echo=$ac_try;;
40409 esac
40410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40411 (eval "$ac_compile") 2>conftest.er1
40412 ac_status=$?
40413 grep -v '^ *+' conftest.er1 >conftest.err
40414 rm -f conftest.er1
40415 cat conftest.err >&5
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); } && {
40418 test -z "$ac_c_werror_flag" ||
40419 test ! -s conftest.err
40420 } && test -s conftest.$ac_objext; then
40421 eval "$as_ac_Header=yes"
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40425
40426 eval "$as_ac_Header=no"
40427 fi
40428
40429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40430 fi
40431 ac_res=`eval echo '${'$as_ac_Header'}'`
40432 { echo "$as_me:$LINENO: result: $ac_res" >&5
40433 echo "${ECHO_T}$ac_res" >&6; }
40434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40435 cat >>confdefs.h <<_ACEOF
40436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40437 _ACEOF
40438
40439 fi
40440
40441 done
40442
40443 if test "$ac_cv_header_sched_h" = "yes"; then
40444 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40445 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40446 if test "${ac_cv_func_sched_yield+set}" = set; then
40447 echo $ECHO_N "(cached) $ECHO_C" >&6
40448 else
40449 cat >conftest.$ac_ext <<_ACEOF
40450 /* confdefs.h. */
40451 _ACEOF
40452 cat confdefs.h >>conftest.$ac_ext
40453 cat >>conftest.$ac_ext <<_ACEOF
40454 /* end confdefs.h. */
40455 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40457 #define sched_yield innocuous_sched_yield
40458
40459 /* System header to define __stub macros and hopefully few prototypes,
40460 which can conflict with char sched_yield (); below.
40461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40462 <limits.h> exists even on freestanding compilers. */
40463
40464 #ifdef __STDC__
40465 # include <limits.h>
40466 #else
40467 # include <assert.h>
40468 #endif
40469
40470 #undef sched_yield
40471
40472 /* Override any GCC internal prototype to avoid an error.
40473 Use char because int might match the return type of a GCC
40474 builtin and then its argument prototype would still apply. */
40475 #ifdef __cplusplus
40476 extern "C"
40477 #endif
40478 char sched_yield ();
40479 /* The GNU C library defines this for functions which it implements
40480 to always fail with ENOSYS. Some functions are actually named
40481 something starting with __ and the normal name is an alias. */
40482 #if defined __stub_sched_yield || defined __stub___sched_yield
40483 choke me
40484 #endif
40485
40486 int
40487 main ()
40488 {
40489 return sched_yield ();
40490 ;
40491 return 0;
40492 }
40493 _ACEOF
40494 rm -f conftest.$ac_objext conftest$ac_exeext
40495 if { (ac_try="$ac_link"
40496 case "(($ac_try" in
40497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40498 *) ac_try_echo=$ac_try;;
40499 esac
40500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40501 (eval "$ac_link") 2>conftest.er1
40502 ac_status=$?
40503 grep -v '^ *+' conftest.er1 >conftest.err
40504 rm -f conftest.er1
40505 cat conftest.err >&5
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); } && {
40508 test -z "$ac_c_werror_flag" ||
40509 test ! -s conftest.err
40510 } && test -s conftest$ac_exeext &&
40511 $as_test_x conftest$ac_exeext; then
40512 ac_cv_func_sched_yield=yes
40513 else
40514 echo "$as_me: failed program was:" >&5
40515 sed 's/^/| /' conftest.$ac_ext >&5
40516
40517 ac_cv_func_sched_yield=no
40518 fi
40519
40520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40521 conftest$ac_exeext conftest.$ac_ext
40522 fi
40523 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40524 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40525 if test $ac_cv_func_sched_yield = yes; then
40526 cat >>confdefs.h <<\_ACEOF
40527 #define HAVE_SCHED_YIELD 1
40528 _ACEOF
40529
40530 else
40531
40532 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40533 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40534 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40535 echo $ECHO_N "(cached) $ECHO_C" >&6
40536 else
40537 ac_check_lib_save_LIBS=$LIBS
40538 LIBS="-lposix4 $LIBS"
40539 cat >conftest.$ac_ext <<_ACEOF
40540 /* confdefs.h. */
40541 _ACEOF
40542 cat confdefs.h >>conftest.$ac_ext
40543 cat >>conftest.$ac_ext <<_ACEOF
40544 /* end confdefs.h. */
40545
40546 /* Override any GCC internal prototype to avoid an error.
40547 Use char because int might match the return type of a GCC
40548 builtin and then its argument prototype would still apply. */
40549 #ifdef __cplusplus
40550 extern "C"
40551 #endif
40552 char sched_yield ();
40553 int
40554 main ()
40555 {
40556 return sched_yield ();
40557 ;
40558 return 0;
40559 }
40560 _ACEOF
40561 rm -f conftest.$ac_objext conftest$ac_exeext
40562 if { (ac_try="$ac_link"
40563 case "(($ac_try" in
40564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40565 *) ac_try_echo=$ac_try;;
40566 esac
40567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40568 (eval "$ac_link") 2>conftest.er1
40569 ac_status=$?
40570 grep -v '^ *+' conftest.er1 >conftest.err
40571 rm -f conftest.er1
40572 cat conftest.err >&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } && {
40575 test -z "$ac_c_werror_flag" ||
40576 test ! -s conftest.err
40577 } && test -s conftest$ac_exeext &&
40578 $as_test_x conftest$ac_exeext; then
40579 ac_cv_lib_posix4_sched_yield=yes
40580 else
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40583
40584 ac_cv_lib_posix4_sched_yield=no
40585 fi
40586
40587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40588 conftest$ac_exeext conftest.$ac_ext
40589 LIBS=$ac_check_lib_save_LIBS
40590 fi
40591 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40592 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40593 if test $ac_cv_lib_posix4_sched_yield = yes; then
40594 cat >>confdefs.h <<\_ACEOF
40595 #define HAVE_SCHED_YIELD 1
40596 _ACEOF
40597 POSIX4_LINK=" -lposix4"
40598 else
40599 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40600 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40601
40602 fi
40603
40604
40605
40606 fi
40607
40608 fi
40609
40610 HAVE_PRIOR_FUNCS=0
40611 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40612 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40613 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40614 echo $ECHO_N "(cached) $ECHO_C" >&6
40615 else
40616 cat >conftest.$ac_ext <<_ACEOF
40617 /* confdefs.h. */
40618 _ACEOF
40619 cat confdefs.h >>conftest.$ac_ext
40620 cat >>conftest.$ac_ext <<_ACEOF
40621 /* end confdefs.h. */
40622 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40624 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40625
40626 /* System header to define __stub macros and hopefully few prototypes,
40627 which can conflict with char pthread_attr_getschedpolicy (); below.
40628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40629 <limits.h> exists even on freestanding compilers. */
40630
40631 #ifdef __STDC__
40632 # include <limits.h>
40633 #else
40634 # include <assert.h>
40635 #endif
40636
40637 #undef pthread_attr_getschedpolicy
40638
40639 /* Override any GCC internal prototype to avoid an error.
40640 Use char because int might match the return type of a GCC
40641 builtin and then its argument prototype would still apply. */
40642 #ifdef __cplusplus
40643 extern "C"
40644 #endif
40645 char pthread_attr_getschedpolicy ();
40646 /* The GNU C library defines this for functions which it implements
40647 to always fail with ENOSYS. Some functions are actually named
40648 something starting with __ and the normal name is an alias. */
40649 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40650 choke me
40651 #endif
40652
40653 int
40654 main ()
40655 {
40656 return pthread_attr_getschedpolicy ();
40657 ;
40658 return 0;
40659 }
40660 _ACEOF
40661 rm -f conftest.$ac_objext conftest$ac_exeext
40662 if { (ac_try="$ac_link"
40663 case "(($ac_try" in
40664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40665 *) ac_try_echo=$ac_try;;
40666 esac
40667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40668 (eval "$ac_link") 2>conftest.er1
40669 ac_status=$?
40670 grep -v '^ *+' conftest.er1 >conftest.err
40671 rm -f conftest.er1
40672 cat conftest.err >&5
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); } && {
40675 test -z "$ac_c_werror_flag" ||
40676 test ! -s conftest.err
40677 } && test -s conftest$ac_exeext &&
40678 $as_test_x conftest$ac_exeext; then
40679 ac_cv_func_pthread_attr_getschedpolicy=yes
40680 else
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40683
40684 ac_cv_func_pthread_attr_getschedpolicy=no
40685 fi
40686
40687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40688 conftest$ac_exeext conftest.$ac_ext
40689 fi
40690 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40691 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40692 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40693 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40694 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40695 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40696 echo $ECHO_N "(cached) $ECHO_C" >&6
40697 else
40698 cat >conftest.$ac_ext <<_ACEOF
40699 /* confdefs.h. */
40700 _ACEOF
40701 cat confdefs.h >>conftest.$ac_ext
40702 cat >>conftest.$ac_ext <<_ACEOF
40703 /* end confdefs.h. */
40704 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40706 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40707
40708 /* System header to define __stub macros and hopefully few prototypes,
40709 which can conflict with char pthread_attr_setschedparam (); below.
40710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40711 <limits.h> exists even on freestanding compilers. */
40712
40713 #ifdef __STDC__
40714 # include <limits.h>
40715 #else
40716 # include <assert.h>
40717 #endif
40718
40719 #undef pthread_attr_setschedparam
40720
40721 /* Override any GCC internal prototype to avoid an error.
40722 Use char because int might match the return type of a GCC
40723 builtin and then its argument prototype would still apply. */
40724 #ifdef __cplusplus
40725 extern "C"
40726 #endif
40727 char pthread_attr_setschedparam ();
40728 /* The GNU C library defines this for functions which it implements
40729 to always fail with ENOSYS. Some functions are actually named
40730 something starting with __ and the normal name is an alias. */
40731 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40732 choke me
40733 #endif
40734
40735 int
40736 main ()
40737 {
40738 return pthread_attr_setschedparam ();
40739 ;
40740 return 0;
40741 }
40742 _ACEOF
40743 rm -f conftest.$ac_objext conftest$ac_exeext
40744 if { (ac_try="$ac_link"
40745 case "(($ac_try" in
40746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40747 *) ac_try_echo=$ac_try;;
40748 esac
40749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40750 (eval "$ac_link") 2>conftest.er1
40751 ac_status=$?
40752 grep -v '^ *+' conftest.er1 >conftest.err
40753 rm -f conftest.er1
40754 cat conftest.err >&5
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); } && {
40757 test -z "$ac_c_werror_flag" ||
40758 test ! -s conftest.err
40759 } && test -s conftest$ac_exeext &&
40760 $as_test_x conftest$ac_exeext; then
40761 ac_cv_func_pthread_attr_setschedparam=yes
40762 else
40763 echo "$as_me: failed program was:" >&5
40764 sed 's/^/| /' conftest.$ac_ext >&5
40765
40766 ac_cv_func_pthread_attr_setschedparam=no
40767 fi
40768
40769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40770 conftest$ac_exeext conftest.$ac_ext
40771 fi
40772 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40773 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40774 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40775 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40776 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40777 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40778 echo $ECHO_N "(cached) $ECHO_C" >&6
40779 else
40780 cat >conftest.$ac_ext <<_ACEOF
40781 /* confdefs.h. */
40782 _ACEOF
40783 cat confdefs.h >>conftest.$ac_ext
40784 cat >>conftest.$ac_ext <<_ACEOF
40785 /* end confdefs.h. */
40786 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40788 #define sched_get_priority_max innocuous_sched_get_priority_max
40789
40790 /* System header to define __stub macros and hopefully few prototypes,
40791 which can conflict with char sched_get_priority_max (); below.
40792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40793 <limits.h> exists even on freestanding compilers. */
40794
40795 #ifdef __STDC__
40796 # include <limits.h>
40797 #else
40798 # include <assert.h>
40799 #endif
40800
40801 #undef sched_get_priority_max
40802
40803 /* Override any GCC internal prototype to avoid an error.
40804 Use char because int might match the return type of a GCC
40805 builtin and then its argument prototype would still apply. */
40806 #ifdef __cplusplus
40807 extern "C"
40808 #endif
40809 char sched_get_priority_max ();
40810 /* The GNU C library defines this for functions which it implements
40811 to always fail with ENOSYS. Some functions are actually named
40812 something starting with __ and the normal name is an alias. */
40813 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40814 choke me
40815 #endif
40816
40817 int
40818 main ()
40819 {
40820 return sched_get_priority_max ();
40821 ;
40822 return 0;
40823 }
40824 _ACEOF
40825 rm -f conftest.$ac_objext conftest$ac_exeext
40826 if { (ac_try="$ac_link"
40827 case "(($ac_try" in
40828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40829 *) ac_try_echo=$ac_try;;
40830 esac
40831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40832 (eval "$ac_link") 2>conftest.er1
40833 ac_status=$?
40834 grep -v '^ *+' conftest.er1 >conftest.err
40835 rm -f conftest.er1
40836 cat conftest.err >&5
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); } && {
40839 test -z "$ac_c_werror_flag" ||
40840 test ! -s conftest.err
40841 } && test -s conftest$ac_exeext &&
40842 $as_test_x conftest$ac_exeext; then
40843 ac_cv_func_sched_get_priority_max=yes
40844 else
40845 echo "$as_me: failed program was:" >&5
40846 sed 's/^/| /' conftest.$ac_ext >&5
40847
40848 ac_cv_func_sched_get_priority_max=no
40849 fi
40850
40851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40852 conftest$ac_exeext conftest.$ac_ext
40853 fi
40854 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40855 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40856 if test $ac_cv_func_sched_get_priority_max = yes; then
40857 HAVE_PRIOR_FUNCS=1
40858 else
40859 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40860 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40861 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40862 echo $ECHO_N "(cached) $ECHO_C" >&6
40863 else
40864 ac_check_lib_save_LIBS=$LIBS
40865 LIBS="-lposix4 $LIBS"
40866 cat >conftest.$ac_ext <<_ACEOF
40867 /* confdefs.h. */
40868 _ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40872
40873 /* Override any GCC internal prototype to avoid an error.
40874 Use char because int might match the return type of a GCC
40875 builtin and then its argument prototype would still apply. */
40876 #ifdef __cplusplus
40877 extern "C"
40878 #endif
40879 char sched_get_priority_max ();
40880 int
40881 main ()
40882 {
40883 return sched_get_priority_max ();
40884 ;
40885 return 0;
40886 }
40887 _ACEOF
40888 rm -f conftest.$ac_objext conftest$ac_exeext
40889 if { (ac_try="$ac_link"
40890 case "(($ac_try" in
40891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40892 *) ac_try_echo=$ac_try;;
40893 esac
40894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40895 (eval "$ac_link") 2>conftest.er1
40896 ac_status=$?
40897 grep -v '^ *+' conftest.er1 >conftest.err
40898 rm -f conftest.er1
40899 cat conftest.err >&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); } && {
40902 test -z "$ac_c_werror_flag" ||
40903 test ! -s conftest.err
40904 } && test -s conftest$ac_exeext &&
40905 $as_test_x conftest$ac_exeext; then
40906 ac_cv_lib_posix4_sched_get_priority_max=yes
40907 else
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40910
40911 ac_cv_lib_posix4_sched_get_priority_max=no
40912 fi
40913
40914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40915 conftest$ac_exeext conftest.$ac_ext
40916 LIBS=$ac_check_lib_save_LIBS
40917 fi
40918 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40919 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40920 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40921
40922 HAVE_PRIOR_FUNCS=1
40923 POSIX4_LINK=" -lposix4"
40924
40925 fi
40926
40927
40928 fi
40929
40930
40931 fi
40932
40933
40934 fi
40935
40936
40937 if test "$HAVE_PRIOR_FUNCS" = 1; then
40938 cat >>confdefs.h <<\_ACEOF
40939 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40940 _ACEOF
40941
40942 else
40943 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40944 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40945 fi
40946
40947 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40948 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40949 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40951 else
40952 cat >conftest.$ac_ext <<_ACEOF
40953 /* confdefs.h. */
40954 _ACEOF
40955 cat confdefs.h >>conftest.$ac_ext
40956 cat >>conftest.$ac_ext <<_ACEOF
40957 /* end confdefs.h. */
40958 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40960 #define pthread_cancel innocuous_pthread_cancel
40961
40962 /* System header to define __stub macros and hopefully few prototypes,
40963 which can conflict with char pthread_cancel (); below.
40964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40965 <limits.h> exists even on freestanding compilers. */
40966
40967 #ifdef __STDC__
40968 # include <limits.h>
40969 #else
40970 # include <assert.h>
40971 #endif
40972
40973 #undef pthread_cancel
40974
40975 /* Override any GCC internal prototype to avoid an error.
40976 Use char because int might match the return type of a GCC
40977 builtin and then its argument prototype would still apply. */
40978 #ifdef __cplusplus
40979 extern "C"
40980 #endif
40981 char pthread_cancel ();
40982 /* The GNU C library defines this for functions which it implements
40983 to always fail with ENOSYS. Some functions are actually named
40984 something starting with __ and the normal name is an alias. */
40985 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40986 choke me
40987 #endif
40988
40989 int
40990 main ()
40991 {
40992 return pthread_cancel ();
40993 ;
40994 return 0;
40995 }
40996 _ACEOF
40997 rm -f conftest.$ac_objext conftest$ac_exeext
40998 if { (ac_try="$ac_link"
40999 case "(($ac_try" in
41000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41001 *) ac_try_echo=$ac_try;;
41002 esac
41003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41004 (eval "$ac_link") 2>conftest.er1
41005 ac_status=$?
41006 grep -v '^ *+' conftest.er1 >conftest.err
41007 rm -f conftest.er1
41008 cat conftest.err >&5
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); } && {
41011 test -z "$ac_c_werror_flag" ||
41012 test ! -s conftest.err
41013 } && test -s conftest$ac_exeext &&
41014 $as_test_x conftest$ac_exeext; then
41015 ac_cv_func_pthread_cancel=yes
41016 else
41017 echo "$as_me: failed program was:" >&5
41018 sed 's/^/| /' conftest.$ac_ext >&5
41019
41020 ac_cv_func_pthread_cancel=no
41021 fi
41022
41023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41024 conftest$ac_exeext conftest.$ac_ext
41025 fi
41026 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41027 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41028 if test $ac_cv_func_pthread_cancel = yes; then
41029 cat >>confdefs.h <<\_ACEOF
41030 #define HAVE_PTHREAD_CANCEL 1
41031 _ACEOF
41032
41033 else
41034 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41035 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41036 fi
41037
41038
41039 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41040 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41041 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41042 echo $ECHO_N "(cached) $ECHO_C" >&6
41043 else
41044 cat >conftest.$ac_ext <<_ACEOF
41045 /* confdefs.h. */
41046 _ACEOF
41047 cat confdefs.h >>conftest.$ac_ext
41048 cat >>conftest.$ac_ext <<_ACEOF
41049 /* end confdefs.h. */
41050 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41052 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41053
41054 /* System header to define __stub macros and hopefully few prototypes,
41055 which can conflict with char pthread_mutex_timedlock (); below.
41056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41057 <limits.h> exists even on freestanding compilers. */
41058
41059 #ifdef __STDC__
41060 # include <limits.h>
41061 #else
41062 # include <assert.h>
41063 #endif
41064
41065 #undef pthread_mutex_timedlock
41066
41067 /* Override any GCC internal prototype to avoid an error.
41068 Use char because int might match the return type of a GCC
41069 builtin and then its argument prototype would still apply. */
41070 #ifdef __cplusplus
41071 extern "C"
41072 #endif
41073 char pthread_mutex_timedlock ();
41074 /* The GNU C library defines this for functions which it implements
41075 to always fail with ENOSYS. Some functions are actually named
41076 something starting with __ and the normal name is an alias. */
41077 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41078 choke me
41079 #endif
41080
41081 int
41082 main ()
41083 {
41084 return pthread_mutex_timedlock ();
41085 ;
41086 return 0;
41087 }
41088 _ACEOF
41089 rm -f conftest.$ac_objext conftest$ac_exeext
41090 if { (ac_try="$ac_link"
41091 case "(($ac_try" in
41092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41093 *) ac_try_echo=$ac_try;;
41094 esac
41095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41096 (eval "$ac_link") 2>conftest.er1
41097 ac_status=$?
41098 grep -v '^ *+' conftest.er1 >conftest.err
41099 rm -f conftest.er1
41100 cat conftest.err >&5
41101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41102 (exit $ac_status); } && {
41103 test -z "$ac_c_werror_flag" ||
41104 test ! -s conftest.err
41105 } && test -s conftest$ac_exeext &&
41106 $as_test_x conftest$ac_exeext; then
41107 ac_cv_func_pthread_mutex_timedlock=yes
41108 else
41109 echo "$as_me: failed program was:" >&5
41110 sed 's/^/| /' conftest.$ac_ext >&5
41111
41112 ac_cv_func_pthread_mutex_timedlock=no
41113 fi
41114
41115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41116 conftest$ac_exeext conftest.$ac_ext
41117 fi
41118 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41119 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41120 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41121 cat >>confdefs.h <<\_ACEOF
41122 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41123 _ACEOF
41124
41125 else
41126 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41127 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41128 fi
41129
41130
41131 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41132 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41133 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41134 echo $ECHO_N "(cached) $ECHO_C" >&6
41135 else
41136 cat >conftest.$ac_ext <<_ACEOF
41137 /* confdefs.h. */
41138 _ACEOF
41139 cat confdefs.h >>conftest.$ac_ext
41140 cat >>conftest.$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41144 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41145
41146 /* System header to define __stub macros and hopefully few prototypes,
41147 which can conflict with char pthread_attr_setstacksize (); below.
41148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41149 <limits.h> exists even on freestanding compilers. */
41150
41151 #ifdef __STDC__
41152 # include <limits.h>
41153 #else
41154 # include <assert.h>
41155 #endif
41156
41157 #undef pthread_attr_setstacksize
41158
41159 /* Override any GCC internal prototype to avoid an error.
41160 Use char because int might match the return type of a GCC
41161 builtin and then its argument prototype would still apply. */
41162 #ifdef __cplusplus
41163 extern "C"
41164 #endif
41165 char pthread_attr_setstacksize ();
41166 /* The GNU C library defines this for functions which it implements
41167 to always fail with ENOSYS. Some functions are actually named
41168 something starting with __ and the normal name is an alias. */
41169 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41170 choke me
41171 #endif
41172
41173 int
41174 main ()
41175 {
41176 return pthread_attr_setstacksize ();
41177 ;
41178 return 0;
41179 }
41180 _ACEOF
41181 rm -f conftest.$ac_objext conftest$ac_exeext
41182 if { (ac_try="$ac_link"
41183 case "(($ac_try" in
41184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41185 *) ac_try_echo=$ac_try;;
41186 esac
41187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41188 (eval "$ac_link") 2>conftest.er1
41189 ac_status=$?
41190 grep -v '^ *+' conftest.er1 >conftest.err
41191 rm -f conftest.er1
41192 cat conftest.err >&5
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); } && {
41195 test -z "$ac_c_werror_flag" ||
41196 test ! -s conftest.err
41197 } && test -s conftest$ac_exeext &&
41198 $as_test_x conftest$ac_exeext; then
41199 ac_cv_func_pthread_attr_setstacksize=yes
41200 else
41201 echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.$ac_ext >&5
41203
41204 ac_cv_func_pthread_attr_setstacksize=no
41205 fi
41206
41207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41208 conftest$ac_exeext conftest.$ac_ext
41209 fi
41210 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41211 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41212 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41213 cat >>confdefs.h <<\_ACEOF
41214 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41215 _ACEOF
41216
41217 fi
41218
41219
41220
41221 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41222 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41223 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41224 echo $ECHO_N "(cached) $ECHO_C" >&6
41225 else
41226
41227 cat >conftest.$ac_ext <<_ACEOF
41228 /* confdefs.h. */
41229 _ACEOF
41230 cat confdefs.h >>conftest.$ac_ext
41231 cat >>conftest.$ac_ext <<_ACEOF
41232 /* end confdefs.h. */
41233 #include <pthread.h>
41234 int
41235 main ()
41236 {
41237
41238 pthread_mutexattr_t attr;
41239 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41240
41241 ;
41242 return 0;
41243 }
41244 _ACEOF
41245 rm -f conftest.$ac_objext
41246 if { (ac_try="$ac_compile"
41247 case "(($ac_try" in
41248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41249 *) ac_try_echo=$ac_try;;
41250 esac
41251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41252 (eval "$ac_compile") 2>conftest.er1
41253 ac_status=$?
41254 grep -v '^ *+' conftest.er1 >conftest.err
41255 rm -f conftest.er1
41256 cat conftest.err >&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); } && {
41259 test -z "$ac_c_werror_flag" ||
41260 test ! -s conftest.err
41261 } && test -s conftest.$ac_objext; then
41262 wx_cv_type_pthread_mutexattr_t=yes
41263 else
41264 echo "$as_me: failed program was:" >&5
41265 sed 's/^/| /' conftest.$ac_ext >&5
41266
41267 wx_cv_type_pthread_mutexattr_t=no
41268
41269 fi
41270
41271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41272
41273 fi
41274 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41275 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41276
41277 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41278 cat >>confdefs.h <<\_ACEOF
41279 #define HAVE_PTHREAD_MUTEXATTR_T 1
41280 _ACEOF
41281
41282
41283 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41284 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41285 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41286 echo $ECHO_N "(cached) $ECHO_C" >&6
41287 else
41288
41289 cat >conftest.$ac_ext <<_ACEOF
41290 /* confdefs.h. */
41291 _ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h. */
41295 #include <pthread.h>
41296 int
41297 main ()
41298 {
41299
41300 pthread_mutexattr_t attr;
41301 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41302
41303 ;
41304 return 0;
41305 }
41306 _ACEOF
41307 rm -f conftest.$ac_objext
41308 if { (ac_try="$ac_compile"
41309 case "(($ac_try" in
41310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41311 *) ac_try_echo=$ac_try;;
41312 esac
41313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41314 (eval "$ac_compile") 2>conftest.er1
41315 ac_status=$?
41316 grep -v '^ *+' conftest.er1 >conftest.err
41317 rm -f conftest.er1
41318 cat conftest.err >&5
41319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320 (exit $ac_status); } && {
41321 test -z "$ac_c_werror_flag" ||
41322 test ! -s conftest.err
41323 } && test -s conftest.$ac_objext; then
41324 wx_cv_func_pthread_mutexattr_settype_decl=yes
41325 else
41326 echo "$as_me: failed program was:" >&5
41327 sed 's/^/| /' conftest.$ac_ext >&5
41328
41329 wx_cv_func_pthread_mutexattr_settype_decl=no
41330
41331 fi
41332
41333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41334
41335 fi
41336 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41337 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41338 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41339 cat >>confdefs.h <<\_ACEOF
41340 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41341 _ACEOF
41342
41343 fi
41344 else
41345 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41346 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41347 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 else
41350
41351 cat >conftest.$ac_ext <<_ACEOF
41352 /* confdefs.h. */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41357 #include <pthread.h>
41358 int
41359 main ()
41360 {
41361
41362 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41363
41364 ;
41365 return 0;
41366 }
41367 _ACEOF
41368 rm -f conftest.$ac_objext
41369 if { (ac_try="$ac_compile"
41370 case "(($ac_try" in
41371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41372 *) ac_try_echo=$ac_try;;
41373 esac
41374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41375 (eval "$ac_compile") 2>conftest.er1
41376 ac_status=$?
41377 grep -v '^ *+' conftest.er1 >conftest.err
41378 rm -f conftest.er1
41379 cat conftest.err >&5
41380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381 (exit $ac_status); } && {
41382 test -z "$ac_c_werror_flag" ||
41383 test ! -s conftest.err
41384 } && test -s conftest.$ac_objext; then
41385
41386 wx_cv_type_pthread_rec_mutex_init=yes
41387
41388 else
41389 echo "$as_me: failed program was:" >&5
41390 sed 's/^/| /' conftest.$ac_ext >&5
41391
41392
41393 wx_cv_type_pthread_rec_mutex_init=no
41394
41395
41396 fi
41397
41398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41399
41400 fi
41401 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41402 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41403 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41404 cat >>confdefs.h <<\_ACEOF
41405 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41406 _ACEOF
41407
41408 else
41409 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41410 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41411 fi
41412 fi
41413
41414 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41415 if test "$USE_NETBSD" = 1; then
41416 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41417 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41418 wxUSE_COMPILER_TLS=no
41419 else
41420 wxUSE_COMPILER_TLS=yes
41421 fi
41422 fi
41423
41424 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41425 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41426 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41427 if test "${wx_cv_cc___thread+set}" = set; then
41428 echo $ECHO_N "(cached) $ECHO_C" >&6
41429 else
41430
41431 cat >conftest.$ac_ext <<_ACEOF
41432 /* confdefs.h. */
41433 _ACEOF
41434 cat confdefs.h >>conftest.$ac_ext
41435 cat >>conftest.$ac_ext <<_ACEOF
41436 /* end confdefs.h. */
41437 #include <pthread.h>
41438 int
41439 main ()
41440 {
41441
41442 static __thread int n = 0;
41443 static __thread int *p = 0;
41444
41445 ;
41446 return 0;
41447 }
41448 _ACEOF
41449 rm -f conftest.$ac_objext
41450 if { (ac_try="$ac_compile"
41451 case "(($ac_try" in
41452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41453 *) ac_try_echo=$ac_try;;
41454 esac
41455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41456 (eval "$ac_compile") 2>conftest.er1
41457 ac_status=$?
41458 grep -v '^ *+' conftest.er1 >conftest.err
41459 rm -f conftest.er1
41460 cat conftest.err >&5
41461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41462 (exit $ac_status); } && {
41463 test -z "$ac_c_werror_flag" ||
41464 test ! -s conftest.err
41465 } && test -s conftest.$ac_objext; then
41466 wx_cv_cc___thread=yes
41467 else
41468 echo "$as_me: failed program was:" >&5
41469 sed 's/^/| /' conftest.$ac_ext >&5
41470
41471 wx_cv_cc___thread=no
41472
41473 fi
41474
41475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41476
41477
41478 fi
41479 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41480 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41481
41482 if test "$wx_cv_cc___thread" = "yes"; then
41483
41484 GXX_VERSION=""
41485
41486
41487
41488 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41489 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41490
41491 if test "x$GCC" = "xyes" ; then
41492
41493 if test -z "" ; then
41494
41495 ax_gcc_option_test="int main()
41496 {
41497 return 0;
41498 }"
41499
41500 else
41501
41502 ax_gcc_option_test=""
41503
41504 fi
41505
41506
41507 # Dump the test program to file
41508 cat <<EOF > conftest.c
41509 $ax_gcc_option_test
41510 EOF
41511
41512 # Dump back the file to the log, useful for debugging purposes
41513 { ac_try='cat conftest.c 1>&5'
41514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41515 (eval $ac_try) 2>&5
41516 ac_status=$?
41517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518 (exit $ac_status); }; }
41519
41520 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41522 (eval $ac_try) 2>&5
41523 ac_status=$?
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); }; } ; then
41526
41527 { echo "$as_me:$LINENO: result: yes" >&5
41528 echo "${ECHO_T}yes" >&6; }
41529
41530 ax_gcc_version_option=yes
41531
41532
41533 else
41534
41535 { echo "$as_me:$LINENO: result: no" >&5
41536 echo "${ECHO_T}no" >&6; }
41537
41538 ax_gcc_version_option=no
41539
41540
41541 fi
41542
41543
41544 else
41545
41546 { echo "$as_me:$LINENO: result: no gcc available" >&5
41547 echo "${ECHO_T}no gcc available" >&6; }
41548
41549 fi
41550
41551
41552 if test "x$GXX" = "xyes"; then
41553
41554 if test "x$ax_gxx_version_option" != "no"; then
41555
41556 { echo "$as_me:$LINENO: checking gxx version" >&5
41557 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41558 if test "${ax_cv_gxx_version+set}" = set; then
41559 echo $ECHO_N "(cached) $ECHO_C" >&6
41560 else
41561
41562 ax_cv_gxx_version="`$CXX -dumpversion`"
41563 if test "x$ax_cv_gxx_version" = "x"; then
41564
41565 ax_cv_gxx_version=""
41566
41567 fi
41568
41569
41570 fi
41571 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41572 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41573 GXX_VERSION=$ax_cv_gxx_version
41574
41575 fi
41576
41577
41578 fi
41579
41580
41581
41582 if test -n "$ax_cv_gxx_version"; then
41583 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41584 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41585 case "$ax_cv_gxx_version" in
41586 1.* | 2.* | 3.* )
41587 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41588 echo "${ECHO_T}no, it's broken" >&6; }
41589 wx_cv_cc___thread=no
41590 ;;
41591 *)
41592 { echo "$as_me:$LINENO: result: yes, it works" >&5
41593 echo "${ECHO_T}yes, it works" >&6; }
41594 ;;
41595 esac
41596 fi
41597 fi
41598
41599 if test "$wx_cv_cc___thread" = "yes"; then
41600 cat >>confdefs.h <<\_ACEOF
41601 #define HAVE___THREAD_KEYWORD 1
41602 _ACEOF
41603
41604 fi
41605 fi
41606 fi
41607
41608 else
41609 if test "$wxUSE_THREADS" = "yes" ; then
41610 case "${host}" in
41611 x86_64-*-mingw32* )
41612 ;;
41613 *-*-mingw32* )
41614 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41615 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41616 if test "${wx_cv_cflags_mthread+set}" = set; then
41617 echo $ECHO_N "(cached) $ECHO_C" >&6
41618 else
41619
41620 CFLAGS_OLD="$CFLAGS"
41621 CFLAGS="-mthreads $CFLAGS"
41622 cat >conftest.$ac_ext <<_ACEOF
41623 /* confdefs.h. */
41624 _ACEOF
41625 cat confdefs.h >>conftest.$ac_ext
41626 cat >>conftest.$ac_ext <<_ACEOF
41627 /* end confdefs.h. */
41628
41629 int
41630 main ()
41631 {
41632
41633 ;
41634 return 0;
41635 }
41636 _ACEOF
41637 rm -f conftest.$ac_objext
41638 if { (ac_try="$ac_compile"
41639 case "(($ac_try" in
41640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41641 *) ac_try_echo=$ac_try;;
41642 esac
41643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41644 (eval "$ac_compile") 2>conftest.er1
41645 ac_status=$?
41646 grep -v '^ *+' conftest.er1 >conftest.err
41647 rm -f conftest.er1
41648 cat conftest.err >&5
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); } && {
41651 test -z "$ac_c_werror_flag" ||
41652 test ! -s conftest.err
41653 } && test -s conftest.$ac_objext; then
41654 wx_cv_cflags_mthread=yes
41655 else
41656 echo "$as_me: failed program was:" >&5
41657 sed 's/^/| /' conftest.$ac_ext >&5
41658
41659 wx_cv_cflags_mthread=no
41660
41661 fi
41662
41663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41664
41665
41666 fi
41667 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41668 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41669
41670 if test "$wx_cv_cflags_mthread" = "yes"; then
41671 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41672 LDFLAGS="$LDFLAGS -mthreads"
41673 else
41674 CFLAGS="$CFLAGS_OLD"
41675 fi
41676 ;;
41677 *-pc-os2*emx )
41678 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41679 LDFLAGS="$LDFLAGS -Zmt"
41680 ;;
41681 esac
41682 fi
41683 fi
41684
41685 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41686 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41687 if test "${ac_cv_func_localtime_r+set}" = set; then
41688 echo $ECHO_N "(cached) $ECHO_C" >&6
41689 else
41690 cat >conftest.$ac_ext <<_ACEOF
41691 /* confdefs.h. */
41692 _ACEOF
41693 cat confdefs.h >>conftest.$ac_ext
41694 cat >>conftest.$ac_ext <<_ACEOF
41695 /* end confdefs.h. */
41696 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41698 #define localtime_r innocuous_localtime_r
41699
41700 /* System header to define __stub macros and hopefully few prototypes,
41701 which can conflict with char localtime_r (); below.
41702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41703 <limits.h> exists even on freestanding compilers. */
41704
41705 #ifdef __STDC__
41706 # include <limits.h>
41707 #else
41708 # include <assert.h>
41709 #endif
41710
41711 #undef localtime_r
41712
41713 /* Override any GCC internal prototype to avoid an error.
41714 Use char because int might match the return type of a GCC
41715 builtin and then its argument prototype would still apply. */
41716 #ifdef __cplusplus
41717 extern "C"
41718 #endif
41719 char localtime_r ();
41720 /* The GNU C library defines this for functions which it implements
41721 to always fail with ENOSYS. Some functions are actually named
41722 something starting with __ and the normal name is an alias. */
41723 #if defined __stub_localtime_r || defined __stub___localtime_r
41724 choke me
41725 #endif
41726
41727 int
41728 main ()
41729 {
41730 return localtime_r ();
41731 ;
41732 return 0;
41733 }
41734 _ACEOF
41735 rm -f conftest.$ac_objext conftest$ac_exeext
41736 if { (ac_try="$ac_link"
41737 case "(($ac_try" in
41738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41739 *) ac_try_echo=$ac_try;;
41740 esac
41741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41742 (eval "$ac_link") 2>conftest.er1
41743 ac_status=$?
41744 grep -v '^ *+' conftest.er1 >conftest.err
41745 rm -f conftest.er1
41746 cat conftest.err >&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); } && {
41749 test -z "$ac_c_werror_flag" ||
41750 test ! -s conftest.err
41751 } && test -s conftest$ac_exeext &&
41752 $as_test_x conftest$ac_exeext; then
41753 ac_cv_func_localtime_r=yes
41754 else
41755 echo "$as_me: failed program was:" >&5
41756 sed 's/^/| /' conftest.$ac_ext >&5
41757
41758 ac_cv_func_localtime_r=no
41759 fi
41760
41761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41762 conftest$ac_exeext conftest.$ac_ext
41763 fi
41764 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41765 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41766 if test $ac_cv_func_localtime_r = yes; then
41767 cat >>confdefs.h <<\_ACEOF
41768 #define HAVE_LOCALTIME_R 1
41769 _ACEOF
41770
41771 fi
41772
41773 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41774 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41775 if test "${ac_cv_func_gmtime_r+set}" = set; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41777 else
41778 cat >conftest.$ac_ext <<_ACEOF
41779 /* confdefs.h. */
41780 _ACEOF
41781 cat confdefs.h >>conftest.$ac_ext
41782 cat >>conftest.$ac_ext <<_ACEOF
41783 /* end confdefs.h. */
41784 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41786 #define gmtime_r innocuous_gmtime_r
41787
41788 /* System header to define __stub macros and hopefully few prototypes,
41789 which can conflict with char gmtime_r (); below.
41790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41791 <limits.h> exists even on freestanding compilers. */
41792
41793 #ifdef __STDC__
41794 # include <limits.h>
41795 #else
41796 # include <assert.h>
41797 #endif
41798
41799 #undef gmtime_r
41800
41801 /* Override any GCC internal prototype to avoid an error.
41802 Use char because int might match the return type of a GCC
41803 builtin and then its argument prototype would still apply. */
41804 #ifdef __cplusplus
41805 extern "C"
41806 #endif
41807 char gmtime_r ();
41808 /* The GNU C library defines this for functions which it implements
41809 to always fail with ENOSYS. Some functions are actually named
41810 something starting with __ and the normal name is an alias. */
41811 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41812 choke me
41813 #endif
41814
41815 int
41816 main ()
41817 {
41818 return gmtime_r ();
41819 ;
41820 return 0;
41821 }
41822 _ACEOF
41823 rm -f conftest.$ac_objext conftest$ac_exeext
41824 if { (ac_try="$ac_link"
41825 case "(($ac_try" in
41826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41827 *) ac_try_echo=$ac_try;;
41828 esac
41829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41830 (eval "$ac_link") 2>conftest.er1
41831 ac_status=$?
41832 grep -v '^ *+' conftest.er1 >conftest.err
41833 rm -f conftest.er1
41834 cat conftest.err >&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); } && {
41837 test -z "$ac_c_werror_flag" ||
41838 test ! -s conftest.err
41839 } && test -s conftest$ac_exeext &&
41840 $as_test_x conftest$ac_exeext; then
41841 ac_cv_func_gmtime_r=yes
41842 else
41843 echo "$as_me: failed program was:" >&5
41844 sed 's/^/| /' conftest.$ac_ext >&5
41845
41846 ac_cv_func_gmtime_r=no
41847 fi
41848
41849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41850 conftest$ac_exeext conftest.$ac_ext
41851 fi
41852 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41853 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41854 if test $ac_cv_func_gmtime_r = yes; then
41855 cat >>confdefs.h <<\_ACEOF
41856 #define HAVE_GMTIME_R 1
41857 _ACEOF
41858
41859 fi
41860
41861
41862
41863
41864 ac_ext=c
41865 ac_cpp='$CPP $CPPFLAGS'
41866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41869
41870 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41871 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41872
41873 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41874 echo $ECHO_N "(cached) $ECHO_C" >&6
41875 else
41876
41877
41878 ################################################################
41879
41880 ac_cv_func_which_gethostbyname_r=unknown
41881
41882 #
41883 # ONE ARGUMENT (sanity check)
41884 #
41885
41886 # This should fail, as there is no variant of gethostbyname_r() that takes
41887 # a single argument. If it actually compiles, then we can assume that
41888 # netdb.h is not declaring the function, and the compiler is thereby
41889 # assuming an implicit prototype. In which case, we're out of luck.
41890 #
41891 cat >conftest.$ac_ext <<_ACEOF
41892 /* confdefs.h. */
41893 _ACEOF
41894 cat confdefs.h >>conftest.$ac_ext
41895 cat >>conftest.$ac_ext <<_ACEOF
41896 /* end confdefs.h. */
41897 #include <netdb.h>
41898 int
41899 main ()
41900 {
41901
41902 char *name = "www.gnu.org";
41903 (void)gethostbyname_r(name) /* ; */
41904
41905 ;
41906 return 0;
41907 }
41908 _ACEOF
41909 rm -f conftest.$ac_objext
41910 if { (ac_try="$ac_compile"
41911 case "(($ac_try" in
41912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41913 *) ac_try_echo=$ac_try;;
41914 esac
41915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41916 (eval "$ac_compile") 2>conftest.er1
41917 ac_status=$?
41918 grep -v '^ *+' conftest.er1 >conftest.err
41919 rm -f conftest.er1
41920 cat conftest.err >&5
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); } && {
41923 test -z "$ac_c_werror_flag" ||
41924 test ! -s conftest.err
41925 } && test -s conftest.$ac_objext; then
41926 ac_cv_func_which_gethostbyname_r=no
41927 else
41928 echo "$as_me: failed program was:" >&5
41929 sed 's/^/| /' conftest.$ac_ext >&5
41930
41931
41932 fi
41933
41934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41935
41936 #
41937 # SIX ARGUMENTS
41938 # (e.g. Linux)
41939 #
41940
41941 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41942
41943 cat >conftest.$ac_ext <<_ACEOF
41944 /* confdefs.h. */
41945 _ACEOF
41946 cat confdefs.h >>conftest.$ac_ext
41947 cat >>conftest.$ac_ext <<_ACEOF
41948 /* end confdefs.h. */
41949 #include <netdb.h>
41950 int
41951 main ()
41952 {
41953
41954 char *name = "www.gnu.org";
41955 struct hostent ret, *retp;
41956 char buf[1024];
41957 int buflen = 1024;
41958 int my_h_errno;
41959 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41960
41961 ;
41962 return 0;
41963 }
41964 _ACEOF
41965 rm -f conftest.$ac_objext
41966 if { (ac_try="$ac_compile"
41967 case "(($ac_try" in
41968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41969 *) ac_try_echo=$ac_try;;
41970 esac
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_compile") 2>conftest.er1
41973 ac_status=$?
41974 grep -v '^ *+' conftest.er1 >conftest.err
41975 rm -f conftest.er1
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest.$ac_objext; then
41982 ac_cv_func_which_gethostbyname_r=six
41983 else
41984 echo "$as_me: failed program was:" >&5
41985 sed 's/^/| /' conftest.$ac_ext >&5
41986
41987
41988 fi
41989
41990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41991
41992 fi
41993
41994 #
41995 # FIVE ARGUMENTS
41996 # (e.g. Solaris)
41997 #
41998
41999 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42000
42001 cat >conftest.$ac_ext <<_ACEOF
42002 /* confdefs.h. */
42003 _ACEOF
42004 cat confdefs.h >>conftest.$ac_ext
42005 cat >>conftest.$ac_ext <<_ACEOF
42006 /* end confdefs.h. */
42007 #include <netdb.h>
42008 int
42009 main ()
42010 {
42011
42012 char *name = "www.gnu.org";
42013 struct hostent ret;
42014 char buf[1024];
42015 int buflen = 1024;
42016 int my_h_errno;
42017 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42018
42019 ;
42020 return 0;
42021 }
42022 _ACEOF
42023 rm -f conftest.$ac_objext
42024 if { (ac_try="$ac_compile"
42025 case "(($ac_try" in
42026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42027 *) ac_try_echo=$ac_try;;
42028 esac
42029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42030 (eval "$ac_compile") 2>conftest.er1
42031 ac_status=$?
42032 grep -v '^ *+' conftest.er1 >conftest.err
42033 rm -f conftest.er1
42034 cat conftest.err >&5
42035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42036 (exit $ac_status); } && {
42037 test -z "$ac_c_werror_flag" ||
42038 test ! -s conftest.err
42039 } && test -s conftest.$ac_objext; then
42040 ac_cv_func_which_gethostbyname_r=five
42041 else
42042 echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.$ac_ext >&5
42044
42045
42046 fi
42047
42048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42049
42050 fi
42051
42052 #
42053 # THREE ARGUMENTS
42054 # (e.g. AIX, HP-UX, Tru64)
42055 #
42056
42057 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42058
42059 cat >conftest.$ac_ext <<_ACEOF
42060 /* confdefs.h. */
42061 _ACEOF
42062 cat confdefs.h >>conftest.$ac_ext
42063 cat >>conftest.$ac_ext <<_ACEOF
42064 /* end confdefs.h. */
42065 #include <netdb.h>
42066 int
42067 main ()
42068 {
42069
42070 char *name = "www.gnu.org";
42071 struct hostent ret;
42072 struct hostent_data data;
42073 (void)gethostbyname_r(name, &ret, &data) /* ; */
42074
42075 ;
42076 return 0;
42077 }
42078 _ACEOF
42079 rm -f conftest.$ac_objext
42080 if { (ac_try="$ac_compile"
42081 case "(($ac_try" in
42082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42083 *) ac_try_echo=$ac_try;;
42084 esac
42085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42086 (eval "$ac_compile") 2>conftest.er1
42087 ac_status=$?
42088 grep -v '^ *+' conftest.er1 >conftest.err
42089 rm -f conftest.er1
42090 cat conftest.err >&5
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); } && {
42093 test -z "$ac_c_werror_flag" ||
42094 test ! -s conftest.err
42095 } && test -s conftest.$ac_objext; then
42096 ac_cv_func_which_gethostbyname_r=three
42097 else
42098 echo "$as_me: failed program was:" >&5
42099 sed 's/^/| /' conftest.$ac_ext >&5
42100
42101
42102 fi
42103
42104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42105
42106 fi
42107
42108 ################################################################
42109
42110
42111 fi
42112
42113 case "$ac_cv_func_which_gethostbyname_r" in
42114 three)
42115 { echo "$as_me:$LINENO: result: three" >&5
42116 echo "${ECHO_T}three" >&6; }
42117 cat >>confdefs.h <<\_ACEOF
42118 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42119 _ACEOF
42120
42121 ;;
42122
42123 five)
42124 { echo "$as_me:$LINENO: result: five" >&5
42125 echo "${ECHO_T}five" >&6; }
42126 cat >>confdefs.h <<\_ACEOF
42127 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42128 _ACEOF
42129
42130 ;;
42131
42132 six)
42133 { echo "$as_me:$LINENO: result: six" >&5
42134 echo "${ECHO_T}six" >&6; }
42135 cat >>confdefs.h <<\_ACEOF
42136 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42137 _ACEOF
42138
42139 ;;
42140
42141 no)
42142 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42143 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42144 ;;
42145
42146 unknown)
42147 { echo "$as_me:$LINENO: result: can't tell" >&5
42148 echo "${ECHO_T}can't tell" >&6; }
42149 ;;
42150
42151 *)
42152 { { echo "$as_me:$LINENO: error: internal error" >&5
42153 echo "$as_me: error: internal error" >&2;}
42154 { (exit 1); exit 1; }; }
42155 ;;
42156 esac
42157
42158 ac_ext=c
42159 ac_cpp='$CPP $CPPFLAGS'
42160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42163
42164
42165
42166 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42167 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42168 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42169 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42170 if test "${ac_cv_func_gethostbyname+set}" = set; then
42171 echo $ECHO_N "(cached) $ECHO_C" >&6
42172 else
42173 cat >conftest.$ac_ext <<_ACEOF
42174 /* confdefs.h. */
42175 _ACEOF
42176 cat confdefs.h >>conftest.$ac_ext
42177 cat >>conftest.$ac_ext <<_ACEOF
42178 /* end confdefs.h. */
42179 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42181 #define gethostbyname innocuous_gethostbyname
42182
42183 /* System header to define __stub macros and hopefully few prototypes,
42184 which can conflict with char gethostbyname (); below.
42185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42186 <limits.h> exists even on freestanding compilers. */
42187
42188 #ifdef __STDC__
42189 # include <limits.h>
42190 #else
42191 # include <assert.h>
42192 #endif
42193
42194 #undef gethostbyname
42195
42196 /* Override any GCC internal prototype to avoid an error.
42197 Use char because int might match the return type of a GCC
42198 builtin and then its argument prototype would still apply. */
42199 #ifdef __cplusplus
42200 extern "C"
42201 #endif
42202 char gethostbyname ();
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42207 choke me
42208 #endif
42209
42210 int
42211 main ()
42212 {
42213 return gethostbyname ();
42214 ;
42215 return 0;
42216 }
42217 _ACEOF
42218 rm -f conftest.$ac_objext conftest$ac_exeext
42219 if { (ac_try="$ac_link"
42220 case "(($ac_try" in
42221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42222 *) ac_try_echo=$ac_try;;
42223 esac
42224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42225 (eval "$ac_link") 2>conftest.er1
42226 ac_status=$?
42227 grep -v '^ *+' conftest.er1 >conftest.err
42228 rm -f conftest.er1
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } && {
42232 test -z "$ac_c_werror_flag" ||
42233 test ! -s conftest.err
42234 } && test -s conftest$ac_exeext &&
42235 $as_test_x conftest$ac_exeext; then
42236 ac_cv_func_gethostbyname=yes
42237 else
42238 echo "$as_me: failed program was:" >&5
42239 sed 's/^/| /' conftest.$ac_ext >&5
42240
42241 ac_cv_func_gethostbyname=no
42242 fi
42243
42244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42245 conftest$ac_exeext conftest.$ac_ext
42246 fi
42247 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42248 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42249 if test $ac_cv_func_gethostbyname = yes; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define HAVE_GETHOSTBYNAME 1
42252 _ACEOF
42253
42254 fi
42255
42256 fi
42257
42258 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42259 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42260 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 else
42263
42264 ac_ext=cpp
42265 ac_cpp='$CXXCPP $CPPFLAGS'
42266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42269
42270
42271 cat >conftest.$ac_ext <<_ACEOF
42272 /* confdefs.h. */
42273 _ACEOF
42274 cat confdefs.h >>conftest.$ac_ext
42275 cat >>conftest.$ac_ext <<_ACEOF
42276 /* end confdefs.h. */
42277 #include <netdb.h>
42278 int
42279 main ()
42280 {
42281
42282 char *name;
42283 char *proto;
42284 struct servent *se, *res;
42285 char buffer[2048];
42286 int buflen = 2048;
42287 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42288
42289 ;
42290 return 0;
42291 }
42292 _ACEOF
42293 rm -f conftest.$ac_objext
42294 if { (ac_try="$ac_compile"
42295 case "(($ac_try" in
42296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42297 *) ac_try_echo=$ac_try;;
42298 esac
42299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42300 (eval "$ac_compile") 2>conftest.er1
42301 ac_status=$?
42302 grep -v '^ *+' conftest.er1 >conftest.err
42303 rm -f conftest.er1
42304 cat conftest.err >&5
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); } && {
42307 test -z "$ac_cxx_werror_flag" ||
42308 test ! -s conftest.err
42309 } && test -s conftest.$ac_objext; then
42310 ac_cv_func_which_getservbyname_r=six
42311 else
42312 echo "$as_me: failed program was:" >&5
42313 sed 's/^/| /' conftest.$ac_ext >&5
42314
42315
42316 cat >conftest.$ac_ext <<_ACEOF
42317 /* confdefs.h. */
42318 _ACEOF
42319 cat confdefs.h >>conftest.$ac_ext
42320 cat >>conftest.$ac_ext <<_ACEOF
42321 /* end confdefs.h. */
42322 #include <netdb.h>
42323 int
42324 main ()
42325 {
42326
42327 char *name;
42328 char *proto;
42329 struct servent *se;
42330 char buffer[2048];
42331 int buflen = 2048;
42332 (void) getservbyname_r(name, proto, se, buffer, buflen)
42333
42334 ;
42335 return 0;
42336 }
42337 _ACEOF
42338 rm -f conftest.$ac_objext
42339 if { (ac_try="$ac_compile"
42340 case "(($ac_try" in
42341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42342 *) ac_try_echo=$ac_try;;
42343 esac
42344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42345 (eval "$ac_compile") 2>conftest.er1
42346 ac_status=$?
42347 grep -v '^ *+' conftest.er1 >conftest.err
42348 rm -f conftest.er1
42349 cat conftest.err >&5
42350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42351 (exit $ac_status); } && {
42352 test -z "$ac_cxx_werror_flag" ||
42353 test ! -s conftest.err
42354 } && test -s conftest.$ac_objext; then
42355 ac_cv_func_which_getservbyname_r=five
42356 else
42357 echo "$as_me: failed program was:" >&5
42358 sed 's/^/| /' conftest.$ac_ext >&5
42359
42360
42361 cat >conftest.$ac_ext <<_ACEOF
42362 /* confdefs.h. */
42363 _ACEOF
42364 cat confdefs.h >>conftest.$ac_ext
42365 cat >>conftest.$ac_ext <<_ACEOF
42366 /* end confdefs.h. */
42367 #include <netdb.h>
42368 int
42369 main ()
42370 {
42371
42372 char *name;
42373 char *proto;
42374 struct servent *se;
42375 struct servent_data data;
42376 (void) getservbyname_r(name, proto, se, &data);
42377
42378 ;
42379 return 0;
42380 }
42381 _ACEOF
42382 rm -f conftest.$ac_objext
42383 if { (ac_try="$ac_compile"
42384 case "(($ac_try" in
42385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42386 *) ac_try_echo=$ac_try;;
42387 esac
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_compile") 2>conftest.er1
42390 ac_status=$?
42391 grep -v '^ *+' conftest.er1 >conftest.err
42392 rm -f conftest.er1
42393 cat conftest.err >&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } && {
42396 test -z "$ac_cxx_werror_flag" ||
42397 test ! -s conftest.err
42398 } && test -s conftest.$ac_objext; then
42399 ac_cv_func_which_getservbyname_r=four
42400 else
42401 echo "$as_me: failed program was:" >&5
42402 sed 's/^/| /' conftest.$ac_ext >&5
42403
42404 ac_cv_func_which_getservbyname_r=no
42405
42406 fi
42407
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409
42410
42411 fi
42412
42413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42414
42415
42416 fi
42417
42418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42419 ac_ext=c
42420 ac_cpp='$CPP $CPPFLAGS'
42421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42424
42425
42426
42427 fi
42428 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42429 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42430
42431 if test $ac_cv_func_which_getservbyname_r = six; then
42432 cat >>confdefs.h <<\_ACEOF
42433 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42434 _ACEOF
42435
42436 elif test $ac_cv_func_which_getservbyname_r = five; then
42437 cat >>confdefs.h <<\_ACEOF
42438 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42439 _ACEOF
42440
42441 elif test $ac_cv_func_which_getservbyname_r = four; then
42442 cat >>confdefs.h <<\_ACEOF
42443 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42444 _ACEOF
42445
42446 fi
42447
42448
42449 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42450 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42451
42452 for ac_func in getservbyname
42453 do
42454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42458 echo $ECHO_N "(cached) $ECHO_C" >&6
42459 else
42460 cat >conftest.$ac_ext <<_ACEOF
42461 /* confdefs.h. */
42462 _ACEOF
42463 cat confdefs.h >>conftest.$ac_ext
42464 cat >>conftest.$ac_ext <<_ACEOF
42465 /* end confdefs.h. */
42466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42468 #define $ac_func innocuous_$ac_func
42469
42470 /* System header to define __stub macros and hopefully few prototypes,
42471 which can conflict with char $ac_func (); below.
42472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42473 <limits.h> exists even on freestanding compilers. */
42474
42475 #ifdef __STDC__
42476 # include <limits.h>
42477 #else
42478 # include <assert.h>
42479 #endif
42480
42481 #undef $ac_func
42482
42483 /* Override any GCC internal prototype to avoid an error.
42484 Use char because int might match the return type of a GCC
42485 builtin and then its argument prototype would still apply. */
42486 #ifdef __cplusplus
42487 extern "C"
42488 #endif
42489 char $ac_func ();
42490 /* The GNU C library defines this for functions which it implements
42491 to always fail with ENOSYS. Some functions are actually named
42492 something starting with __ and the normal name is an alias. */
42493 #if defined __stub_$ac_func || defined __stub___$ac_func
42494 choke me
42495 #endif
42496
42497 int
42498 main ()
42499 {
42500 return $ac_func ();
42501 ;
42502 return 0;
42503 }
42504 _ACEOF
42505 rm -f conftest.$ac_objext conftest$ac_exeext
42506 if { (ac_try="$ac_link"
42507 case "(($ac_try" in
42508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42509 *) ac_try_echo=$ac_try;;
42510 esac
42511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42512 (eval "$ac_link") 2>conftest.er1
42513 ac_status=$?
42514 grep -v '^ *+' conftest.er1 >conftest.err
42515 rm -f conftest.er1
42516 cat conftest.err >&5
42517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518 (exit $ac_status); } && {
42519 test -z "$ac_c_werror_flag" ||
42520 test ! -s conftest.err
42521 } && test -s conftest$ac_exeext &&
42522 $as_test_x conftest$ac_exeext; then
42523 eval "$as_ac_var=yes"
42524 else
42525 echo "$as_me: failed program was:" >&5
42526 sed 's/^/| /' conftest.$ac_ext >&5
42527
42528 eval "$as_ac_var=no"
42529 fi
42530
42531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42532 conftest$ac_exeext conftest.$ac_ext
42533 fi
42534 ac_res=`eval echo '${'$as_ac_var'}'`
42535 { echo "$as_me:$LINENO: result: $ac_res" >&5
42536 echo "${ECHO_T}$ac_res" >&6; }
42537 if test `eval echo '${'$as_ac_var'}'` = yes; then
42538 cat >>confdefs.h <<_ACEOF
42539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42540 _ACEOF
42541 cat >>confdefs.h <<\_ACEOF
42542 #define HAVE_GETSERVBYNAME 1
42543 _ACEOF
42544
42545 fi
42546 done
42547
42548 fi
42549
42550 if test "$wxUSE_THREADS" = "yes"; then
42551 cat >>confdefs.h <<\_ACEOF
42552 #define wxUSE_THREADS 1
42553 _ACEOF
42554
42555
42556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42557 else
42558 if test "$wx_cv_func_strtok_r" = "yes"; then
42559 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42560 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42561 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42562 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42563 { echo "$as_me:$LINENO: result: yes" >&5
42564 echo "${ECHO_T}yes" >&6; }
42565 else
42566 { echo "$as_me:$LINENO: result: no" >&5
42567 echo "${ECHO_T}no" >&6; }
42568 fi
42569 fi
42570 fi
42571
42572 if test "$WXGTK2" = 1 ; then
42573 cat >>confdefs.h <<_ACEOF
42574 #define __WXGTK20__ $WXGTK2
42575 _ACEOF
42576
42577 WXGTK12=1
42578 fi
42579
42580 if test "$WXGTK12" = 1 ; then
42581 cat >>confdefs.h <<_ACEOF
42582 #define __WXGTK12__ $WXGTK12
42583 _ACEOF
42584
42585 fi
42586
42587 if test "$WXGTK127" = 1 ; then
42588 cat >>confdefs.h <<_ACEOF
42589 #define __WXGTK127__ $WXGTK127
42590 _ACEOF
42591
42592 fi
42593
42594 if test "$WXGPE" = 1 ; then
42595 cat >>confdefs.h <<_ACEOF
42596 #define __WXGPE__ $WXGPE
42597 _ACEOF
42598
42599 fi
42600
42601 DEBUG_CFLAGS=
42602 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42603 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42604 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42605 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42606 DEBUG_CFLAGS="-g"
42607 fi
42608
42609 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42610 wxUSE_DEBUG_INFO=yes
42611 if test "$GCC" = yes; then
42612 DEBUG_CFLAGS="-ggdb"
42613 fi
42614 fi
42615
42616 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42617 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42618
42619 if test "$wxUSE_GTK" = 1 ; then
42620 if test "x$wxGTK_VERSION" = "x1" ; then
42621 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42622 fi
42623 fi
42624 fi
42625
42626 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_MEMORY_TRACING 1
42629 _ACEOF
42630
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42633 _ACEOF
42634
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_DEBUG_NEW_ALWAYS 1
42637 _ACEOF
42638
42639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42640 fi
42641
42642 if test "$wxUSE_DMALLOC" = "yes" ; then
42643 DMALLOC_LIBS="-ldmallocthcxx"
42644 fi
42645
42646 PROFILE_FLAGS=
42647 if test "$wxUSE_PROFILE" = "yes" ; then
42648 PROFILE_FLAGS=" -pg"
42649 fi
42650
42651 if test "$GCC" = "yes" ; then
42652 if test "$wxUSE_NO_RTTI" = "yes" ; then
42653 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42654 fi
42655 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42656 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42657 fi
42658 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42659 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42660 fi
42661
42662 case "${host}" in
42663 powerpc*-*-aix* )
42664 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42665 ;;
42666 *-hppa* )
42667 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42668 ;;
42669 esac
42670 fi
42671
42672 OPTIMISE_CFLAGS=
42673 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42674 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42675 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42676 else
42677 if test "$wxUSE_OPTIMISE" = "no" ; then
42678 if test "$GCC" = yes ; then
42679 OPTIMISE_CFLAGS="-O0"
42680 fi
42681 else
42682 if test "$GCC" = yes ; then
42683 case "${host}" in
42684 *-pc-os2_emx | *-pc-os2-emx )
42685 OPTIMISE_CFLAGS="-O2"
42686 ;;
42687 *)
42688 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42689 ;;
42690 esac
42691 else
42692 OPTIMISE_CFLAGS="-O"
42693 fi
42694 fi
42695 fi
42696
42697
42698 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42699 cat >>confdefs.h <<\_ACEOF
42700 #define WXWIN_COMPATIBILITY_2_6 1
42701 _ACEOF
42702
42703
42704 WXWIN_COMPATIBILITY_2_8="yes"
42705 fi
42706
42707 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42708 cat >>confdefs.h <<\_ACEOF
42709 #define WXWIN_COMPATIBILITY_2_8 1
42710 _ACEOF
42711
42712 fi
42713
42714
42715 if test "$wxUSE_GUI" = "yes"; then
42716 cat >>confdefs.h <<\_ACEOF
42717 #define wxUSE_GUI 1
42718 _ACEOF
42719
42720
42721 fi
42722
42723
42724 if test "$wxUSE_UNIX" = "yes"; then
42725 cat >>confdefs.h <<\_ACEOF
42726 #define wxUSE_UNIX 1
42727 _ACEOF
42728
42729 fi
42730
42731
42732 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42733
42734 HAVE_DL_FUNCS=0
42735 HAVE_SHL_FUNCS=0
42736 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42737 if test "$USE_DOS" = 1; then
42738 HAVE_DL_FUNCS=0
42739 else
42740
42741 for ac_func in dlopen
42742 do
42743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 else
42749 cat >conftest.$ac_ext <<_ACEOF
42750 /* confdefs.h. */
42751 _ACEOF
42752 cat confdefs.h >>conftest.$ac_ext
42753 cat >>conftest.$ac_ext <<_ACEOF
42754 /* end confdefs.h. */
42755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42757 #define $ac_func innocuous_$ac_func
42758
42759 /* System header to define __stub macros and hopefully few prototypes,
42760 which can conflict with char $ac_func (); below.
42761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42762 <limits.h> exists even on freestanding compilers. */
42763
42764 #ifdef __STDC__
42765 # include <limits.h>
42766 #else
42767 # include <assert.h>
42768 #endif
42769
42770 #undef $ac_func
42771
42772 /* Override any GCC internal prototype to avoid an error.
42773 Use char because int might match the return type of a GCC
42774 builtin and then its argument prototype would still apply. */
42775 #ifdef __cplusplus
42776 extern "C"
42777 #endif
42778 char $ac_func ();
42779 /* The GNU C library defines this for functions which it implements
42780 to always fail with ENOSYS. Some functions are actually named
42781 something starting with __ and the normal name is an alias. */
42782 #if defined __stub_$ac_func || defined __stub___$ac_func
42783 choke me
42784 #endif
42785
42786 int
42787 main ()
42788 {
42789 return $ac_func ();
42790 ;
42791 return 0;
42792 }
42793 _ACEOF
42794 rm -f conftest.$ac_objext conftest$ac_exeext
42795 if { (ac_try="$ac_link"
42796 case "(($ac_try" in
42797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42798 *) ac_try_echo=$ac_try;;
42799 esac
42800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42801 (eval "$ac_link") 2>conftest.er1
42802 ac_status=$?
42803 grep -v '^ *+' conftest.er1 >conftest.err
42804 rm -f conftest.er1
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } && {
42808 test -z "$ac_c_werror_flag" ||
42809 test ! -s conftest.err
42810 } && test -s conftest$ac_exeext &&
42811 $as_test_x conftest$ac_exeext; then
42812 eval "$as_ac_var=yes"
42813 else
42814 echo "$as_me: failed program was:" >&5
42815 sed 's/^/| /' conftest.$ac_ext >&5
42816
42817 eval "$as_ac_var=no"
42818 fi
42819
42820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42821 conftest$ac_exeext conftest.$ac_ext
42822 fi
42823 ac_res=`eval echo '${'$as_ac_var'}'`
42824 { echo "$as_me:$LINENO: result: $ac_res" >&5
42825 echo "${ECHO_T}$ac_res" >&6; }
42826 if test `eval echo '${'$as_ac_var'}'` = yes; then
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42829 _ACEOF
42830
42831 cat >>confdefs.h <<\_ACEOF
42832 #define HAVE_DLOPEN 1
42833 _ACEOF
42834
42835 HAVE_DL_FUNCS=1
42836
42837 else
42838
42839 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42840 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42841 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844 ac_check_lib_save_LIBS=$LIBS
42845 LIBS="-ldl $LIBS"
42846 cat >conftest.$ac_ext <<_ACEOF
42847 /* confdefs.h. */
42848 _ACEOF
42849 cat confdefs.h >>conftest.$ac_ext
42850 cat >>conftest.$ac_ext <<_ACEOF
42851 /* end confdefs.h. */
42852
42853 /* Override any GCC internal prototype to avoid an error.
42854 Use char because int might match the return type of a GCC
42855 builtin and then its argument prototype would still apply. */
42856 #ifdef __cplusplus
42857 extern "C"
42858 #endif
42859 char dlopen ();
42860 int
42861 main ()
42862 {
42863 return dlopen ();
42864 ;
42865 return 0;
42866 }
42867 _ACEOF
42868 rm -f conftest.$ac_objext conftest$ac_exeext
42869 if { (ac_try="$ac_link"
42870 case "(($ac_try" in
42871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42872 *) ac_try_echo=$ac_try;;
42873 esac
42874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42875 (eval "$ac_link") 2>conftest.er1
42876 ac_status=$?
42877 grep -v '^ *+' conftest.er1 >conftest.err
42878 rm -f conftest.er1
42879 cat conftest.err >&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); } && {
42882 test -z "$ac_c_werror_flag" ||
42883 test ! -s conftest.err
42884 } && test -s conftest$ac_exeext &&
42885 $as_test_x conftest$ac_exeext; then
42886 ac_cv_lib_dl_dlopen=yes
42887 else
42888 echo "$as_me: failed program was:" >&5
42889 sed 's/^/| /' conftest.$ac_ext >&5
42890
42891 ac_cv_lib_dl_dlopen=no
42892 fi
42893
42894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42895 conftest$ac_exeext conftest.$ac_ext
42896 LIBS=$ac_check_lib_save_LIBS
42897 fi
42898 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42899 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42900 if test $ac_cv_lib_dl_dlopen = yes; then
42901
42902 cat >>confdefs.h <<\_ACEOF
42903 #define HAVE_DLOPEN 1
42904 _ACEOF
42905
42906 HAVE_DL_FUNCS=1
42907 DL_LINK=" -ldl$DL_LINK"
42908
42909 else
42910
42911
42912 for ac_func in shl_load
42913 do
42914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42918 echo $ECHO_N "(cached) $ECHO_C" >&6
42919 else
42920 cat >conftest.$ac_ext <<_ACEOF
42921 /* confdefs.h. */
42922 _ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h. */
42926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42928 #define $ac_func innocuous_$ac_func
42929
42930 /* System header to define __stub macros and hopefully few prototypes,
42931 which can conflict with char $ac_func (); below.
42932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42933 <limits.h> exists even on freestanding compilers. */
42934
42935 #ifdef __STDC__
42936 # include <limits.h>
42937 #else
42938 # include <assert.h>
42939 #endif
42940
42941 #undef $ac_func
42942
42943 /* Override any GCC internal prototype to avoid an error.
42944 Use char because int might match the return type of a GCC
42945 builtin and then its argument prototype would still apply. */
42946 #ifdef __cplusplus
42947 extern "C"
42948 #endif
42949 char $ac_func ();
42950 /* The GNU C library defines this for functions which it implements
42951 to always fail with ENOSYS. Some functions are actually named
42952 something starting with __ and the normal name is an alias. */
42953 #if defined __stub_$ac_func || defined __stub___$ac_func
42954 choke me
42955 #endif
42956
42957 int
42958 main ()
42959 {
42960 return $ac_func ();
42961 ;
42962 return 0;
42963 }
42964 _ACEOF
42965 rm -f conftest.$ac_objext conftest$ac_exeext
42966 if { (ac_try="$ac_link"
42967 case "(($ac_try" in
42968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42969 *) ac_try_echo=$ac_try;;
42970 esac
42971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42972 (eval "$ac_link") 2>conftest.er1
42973 ac_status=$?
42974 grep -v '^ *+' conftest.er1 >conftest.err
42975 rm -f conftest.er1
42976 cat conftest.err >&5
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } && {
42979 test -z "$ac_c_werror_flag" ||
42980 test ! -s conftest.err
42981 } && test -s conftest$ac_exeext &&
42982 $as_test_x conftest$ac_exeext; then
42983 eval "$as_ac_var=yes"
42984 else
42985 echo "$as_me: failed program was:" >&5
42986 sed 's/^/| /' conftest.$ac_ext >&5
42987
42988 eval "$as_ac_var=no"
42989 fi
42990
42991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42992 conftest$ac_exeext conftest.$ac_ext
42993 fi
42994 ac_res=`eval echo '${'$as_ac_var'}'`
42995 { echo "$as_me:$LINENO: result: $ac_res" >&5
42996 echo "${ECHO_T}$ac_res" >&6; }
42997 if test `eval echo '${'$as_ac_var'}'` = yes; then
42998 cat >>confdefs.h <<_ACEOF
42999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43000 _ACEOF
43001
43002 cat >>confdefs.h <<\_ACEOF
43003 #define HAVE_SHL_LOAD 1
43004 _ACEOF
43005
43006 HAVE_SHL_FUNCS=1
43007
43008 else
43009
43010 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43011 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43012 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43013 echo $ECHO_N "(cached) $ECHO_C" >&6
43014 else
43015 ac_check_lib_save_LIBS=$LIBS
43016 LIBS="-lshl_load $LIBS"
43017 cat >conftest.$ac_ext <<_ACEOF
43018 /* confdefs.h. */
43019 _ACEOF
43020 cat confdefs.h >>conftest.$ac_ext
43021 cat >>conftest.$ac_ext <<_ACEOF
43022 /* end confdefs.h. */
43023
43024 /* Override any GCC internal prototype to avoid an error.
43025 Use char because int might match the return type of a GCC
43026 builtin and then its argument prototype would still apply. */
43027 #ifdef __cplusplus
43028 extern "C"
43029 #endif
43030 char dld ();
43031 int
43032 main ()
43033 {
43034 return dld ();
43035 ;
43036 return 0;
43037 }
43038 _ACEOF
43039 rm -f conftest.$ac_objext conftest$ac_exeext
43040 if { (ac_try="$ac_link"
43041 case "(($ac_try" in
43042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43043 *) ac_try_echo=$ac_try;;
43044 esac
43045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43046 (eval "$ac_link") 2>conftest.er1
43047 ac_status=$?
43048 grep -v '^ *+' conftest.er1 >conftest.err
43049 rm -f conftest.er1
43050 cat conftest.err >&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } && {
43053 test -z "$ac_c_werror_flag" ||
43054 test ! -s conftest.err
43055 } && test -s conftest$ac_exeext &&
43056 $as_test_x conftest$ac_exeext; then
43057 ac_cv_lib_shl_load_dld=yes
43058 else
43059 echo "$as_me: failed program was:" >&5
43060 sed 's/^/| /' conftest.$ac_ext >&5
43061
43062 ac_cv_lib_shl_load_dld=no
43063 fi
43064
43065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43066 conftest$ac_exeext conftest.$ac_ext
43067 LIBS=$ac_check_lib_save_LIBS
43068 fi
43069 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43070 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43071 if test $ac_cv_lib_shl_load_dld = yes; then
43072
43073 HAVE_SHL_FUNCS=1
43074 DL_LINK=" -ldld$DL_LINK"
43075
43076 fi
43077
43078
43079 fi
43080 done
43081
43082
43083 fi
43084
43085
43086 fi
43087 done
43088
43089
43090 if test "$HAVE_DL_FUNCS" = 1; then
43091
43092 for ac_func in dlerror
43093 do
43094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43095 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43097 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43098 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 else
43100 cat >conftest.$ac_ext <<_ACEOF
43101 /* confdefs.h. */
43102 _ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43108 #define $ac_func innocuous_$ac_func
43109
43110 /* System header to define __stub macros and hopefully few prototypes,
43111 which can conflict with char $ac_func (); below.
43112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43113 <limits.h> exists even on freestanding compilers. */
43114
43115 #ifdef __STDC__
43116 # include <limits.h>
43117 #else
43118 # include <assert.h>
43119 #endif
43120
43121 #undef $ac_func
43122
43123 /* Override any GCC internal prototype to avoid an error.
43124 Use char because int might match the return type of a GCC
43125 builtin and then its argument prototype would still apply. */
43126 #ifdef __cplusplus
43127 extern "C"
43128 #endif
43129 char $ac_func ();
43130 /* The GNU C library defines this for functions which it implements
43131 to always fail with ENOSYS. Some functions are actually named
43132 something starting with __ and the normal name is an alias. */
43133 #if defined __stub_$ac_func || defined __stub___$ac_func
43134 choke me
43135 #endif
43136
43137 int
43138 main ()
43139 {
43140 return $ac_func ();
43141 ;
43142 return 0;
43143 }
43144 _ACEOF
43145 rm -f conftest.$ac_objext conftest$ac_exeext
43146 if { (ac_try="$ac_link"
43147 case "(($ac_try" in
43148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43149 *) ac_try_echo=$ac_try;;
43150 esac
43151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43152 (eval "$ac_link") 2>conftest.er1
43153 ac_status=$?
43154 grep -v '^ *+' conftest.er1 >conftest.err
43155 rm -f conftest.er1
43156 cat conftest.err >&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); } && {
43159 test -z "$ac_c_werror_flag" ||
43160 test ! -s conftest.err
43161 } && test -s conftest$ac_exeext &&
43162 $as_test_x conftest$ac_exeext; then
43163 eval "$as_ac_var=yes"
43164 else
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43167
43168 eval "$as_ac_var=no"
43169 fi
43170
43171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43172 conftest$ac_exeext conftest.$ac_ext
43173 fi
43174 ac_res=`eval echo '${'$as_ac_var'}'`
43175 { echo "$as_me:$LINENO: result: $ac_res" >&5
43176 echo "${ECHO_T}$ac_res" >&6; }
43177 if test `eval echo '${'$as_ac_var'}'` = yes; then
43178 cat >>confdefs.h <<_ACEOF
43179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43180 _ACEOF
43181 cat >>confdefs.h <<\_ACEOF
43182 #define HAVE_DLERROR 1
43183 _ACEOF
43184
43185 else
43186
43187 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43188 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43189 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43190 echo $ECHO_N "(cached) $ECHO_C" >&6
43191 else
43192 ac_check_lib_save_LIBS=$LIBS
43193 LIBS="-ldl $LIBS"
43194 cat >conftest.$ac_ext <<_ACEOF
43195 /* confdefs.h. */
43196 _ACEOF
43197 cat confdefs.h >>conftest.$ac_ext
43198 cat >>conftest.$ac_ext <<_ACEOF
43199 /* end confdefs.h. */
43200
43201 /* Override any GCC internal prototype to avoid an error.
43202 Use char because int might match the return type of a GCC
43203 builtin and then its argument prototype would still apply. */
43204 #ifdef __cplusplus
43205 extern "C"
43206 #endif
43207 char dlerror ();
43208 int
43209 main ()
43210 {
43211 return dlerror ();
43212 ;
43213 return 0;
43214 }
43215 _ACEOF
43216 rm -f conftest.$ac_objext conftest$ac_exeext
43217 if { (ac_try="$ac_link"
43218 case "(($ac_try" in
43219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43220 *) ac_try_echo=$ac_try;;
43221 esac
43222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43223 (eval "$ac_link") 2>conftest.er1
43224 ac_status=$?
43225 grep -v '^ *+' conftest.er1 >conftest.err
43226 rm -f conftest.er1
43227 cat conftest.err >&5
43228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43229 (exit $ac_status); } && {
43230 test -z "$ac_c_werror_flag" ||
43231 test ! -s conftest.err
43232 } && test -s conftest$ac_exeext &&
43233 $as_test_x conftest$ac_exeext; then
43234 ac_cv_lib_dl_dlerror=yes
43235 else
43236 echo "$as_me: failed program was:" >&5
43237 sed 's/^/| /' conftest.$ac_ext >&5
43238
43239 ac_cv_lib_dl_dlerror=no
43240 fi
43241
43242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43243 conftest$ac_exeext conftest.$ac_ext
43244 LIBS=$ac_check_lib_save_LIBS
43245 fi
43246 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43247 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43248 if test $ac_cv_lib_dl_dlerror = yes; then
43249 cat >>confdefs.h <<\_ACEOF
43250 #define HAVE_DLERROR 1
43251 _ACEOF
43252
43253 fi
43254
43255
43256
43257 fi
43258 done
43259
43260 fi
43261 fi
43262
43263 if test "$USE_DARWIN" = 1; then
43264 HAVE_DL_FUNCS=1
43265 fi
43266
43267 if test "$HAVE_DL_FUNCS" = 0; then
43268 if test "$HAVE_SHL_FUNCS" = 0; then
43269 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43270 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43271 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43272 wxUSE_DYNAMIC_LOADER=no
43273 wxUSE_DYNLIB_CLASS=no
43274 else
43275 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43276 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43277 fi
43278 fi
43279 fi
43280 fi
43281 fi
43282
43283 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43284 cat >>confdefs.h <<\_ACEOF
43285 #define wxUSE_DYNAMIC_LOADER 1
43286 _ACEOF
43287
43288 fi
43289 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43290 cat >>confdefs.h <<\_ACEOF
43291 #define wxUSE_DYNLIB_CLASS 1
43292 _ACEOF
43293
43294 fi
43295
43296
43297
43298 if test "$wxUSE_PLUGINS" = "yes" ; then
43299 if test "$wxUSE_SHARED" = "no" ; then
43300 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43301 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43302 wxUSE_PLUGINS=no
43303 fi
43304 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43305 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43306 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43307 wxUSE_PLUGINS=no
43308 fi
43309 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43310 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43311 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43312 wxUSE_PLUGINS=no
43313 fi
43314 if test "$wxUSE_PLUGINS" = "yes" ; then
43315 cat >>confdefs.h <<\_ACEOF
43316 #define wxUSE_PLUGINS 1
43317 _ACEOF
43318
43319 fi
43320 fi
43321
43322
43323 if test "$wxUSE_FSWATCHER" = "yes"; then
43324 if test "$wxUSE_MSW" != "1"; then
43325 if test "$wxUSE_UNIX" = "yes"; then
43326
43327 for ac_header in sys/inotify.h
43328 do
43329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43333 echo $ECHO_N "(cached) $ECHO_C" >&6
43334 else
43335 cat >conftest.$ac_ext <<_ACEOF
43336 /* confdefs.h. */
43337 _ACEOF
43338 cat confdefs.h >>conftest.$ac_ext
43339 cat >>conftest.$ac_ext <<_ACEOF
43340 /* end confdefs.h. */
43341 $ac_includes_default
43342
43343 #include <$ac_header>
43344 _ACEOF
43345 rm -f conftest.$ac_objext
43346 if { (ac_try="$ac_compile"
43347 case "(($ac_try" in
43348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43349 *) ac_try_echo=$ac_try;;
43350 esac
43351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43352 (eval "$ac_compile") 2>conftest.er1
43353 ac_status=$?
43354 grep -v '^ *+' conftest.er1 >conftest.err
43355 rm -f conftest.er1
43356 cat conftest.err >&5
43357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43358 (exit $ac_status); } && {
43359 test -z "$ac_c_werror_flag" ||
43360 test ! -s conftest.err
43361 } && test -s conftest.$ac_objext; then
43362 eval "$as_ac_Header=yes"
43363 else
43364 echo "$as_me: failed program was:" >&5
43365 sed 's/^/| /' conftest.$ac_ext >&5
43366
43367 eval "$as_ac_Header=no"
43368 fi
43369
43370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43371 fi
43372 ac_res=`eval echo '${'$as_ac_Header'}'`
43373 { echo "$as_me:$LINENO: result: $ac_res" >&5
43374 echo "${ECHO_T}$ac_res" >&6; }
43375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43376 cat >>confdefs.h <<_ACEOF
43377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43378 _ACEOF
43379
43380 fi
43381
43382 done
43383
43384 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43385 cat >>confdefs.h <<\_ACEOF
43386 #define wxHAS_INOTIFY 1
43387 _ACEOF
43388
43389 else
43390
43391 for ac_header in sys/event.h
43392 do
43393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43397 echo $ECHO_N "(cached) $ECHO_C" >&6
43398 else
43399 cat >conftest.$ac_ext <<_ACEOF
43400 /* confdefs.h. */
43401 _ACEOF
43402 cat confdefs.h >>conftest.$ac_ext
43403 cat >>conftest.$ac_ext <<_ACEOF
43404 /* end confdefs.h. */
43405 $ac_includes_default
43406
43407 #include <$ac_header>
43408 _ACEOF
43409 rm -f conftest.$ac_objext
43410 if { (ac_try="$ac_compile"
43411 case "(($ac_try" in
43412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43413 *) ac_try_echo=$ac_try;;
43414 esac
43415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43416 (eval "$ac_compile") 2>conftest.er1
43417 ac_status=$?
43418 grep -v '^ *+' conftest.er1 >conftest.err
43419 rm -f conftest.er1
43420 cat conftest.err >&5
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); } && {
43423 test -z "$ac_c_werror_flag" ||
43424 test ! -s conftest.err
43425 } && test -s conftest.$ac_objext; then
43426 eval "$as_ac_Header=yes"
43427 else
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43430
43431 eval "$as_ac_Header=no"
43432 fi
43433
43434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43435 fi
43436 ac_res=`eval echo '${'$as_ac_Header'}'`
43437 { echo "$as_me:$LINENO: result: $ac_res" >&5
43438 echo "${ECHO_T}$ac_res" >&6; }
43439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43440 cat >>confdefs.h <<_ACEOF
43441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43442 _ACEOF
43443
43444 fi
43445
43446 done
43447
43448 if test "$ac_cv_header_sys_event_h" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxHAS_KQUEUE 1
43451 _ACEOF
43452
43453 else
43454 wxUSE_FSWATCHER=no
43455 fi
43456 fi
43457 else
43458 wxUSE_FSWATCHER=no
43459 fi
43460 fi
43461
43462 if test "$wxUSE_FSWATCHER" = "yes"; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_FSWATCHER 1
43465 _ACEOF
43466
43467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43468 else
43469 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43470 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43471 fi
43472 fi
43473
43474
43475 if test "$wxUSE_STL" = "yes"; then
43476 cat >>confdefs.h <<\_ACEOF
43477 #define wxUSE_STL 1
43478 _ACEOF
43479
43480 fi
43481
43482 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define wxUSE_EXTENDED_RTTI 1
43485 _ACEOF
43486
43487 fi
43488
43489 if test "$wxUSE_ANY" = "yes"; then
43490 cat >>confdefs.h <<\_ACEOF
43491 #define wxUSE_ANY 1
43492 _ACEOF
43493
43494 fi
43495
43496 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_APPLE_IEEE 1
43499 _ACEOF
43500
43501 fi
43502
43503 if test "$wxUSE_TIMER" = "yes"; then
43504 cat >>confdefs.h <<\_ACEOF
43505 #define wxUSE_TIMER 1
43506 _ACEOF
43507
43508 fi
43509
43510 if test "$USE_UNIX" = 1 ; then
43511 if test "$wxUSE_MGL" != 1; then
43512 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43513 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43514 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43515 echo $ECHO_N "(cached) $ECHO_C" >&6
43516 else
43517
43518 cat >conftest.$ac_ext <<_ACEOF
43519 /* confdefs.h. */
43520 _ACEOF
43521 cat confdefs.h >>conftest.$ac_ext
43522 cat >>conftest.$ac_ext <<_ACEOF
43523 /* end confdefs.h. */
43524
43525 #include <sys/ioctl.h>
43526 #include <sys/soundcard.h>
43527
43528 int
43529 main ()
43530 {
43531
43532 ioctl(0, SNDCTL_DSP_SPEED, 0);
43533
43534 ;
43535 return 0;
43536 }
43537 _ACEOF
43538 rm -f conftest.$ac_objext conftest$ac_exeext
43539 if { (ac_try="$ac_link"
43540 case "(($ac_try" in
43541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43542 *) ac_try_echo=$ac_try;;
43543 esac
43544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43545 (eval "$ac_link") 2>conftest.er1
43546 ac_status=$?
43547 grep -v '^ *+' conftest.er1 >conftest.err
43548 rm -f conftest.er1
43549 cat conftest.err >&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); } && {
43552 test -z "$ac_c_werror_flag" ||
43553 test ! -s conftest.err
43554 } && test -s conftest$ac_exeext &&
43555 $as_test_x conftest$ac_exeext; then
43556 ac_cv_header_sys_soundcard=yes
43557 else
43558 echo "$as_me: failed program was:" >&5
43559 sed 's/^/| /' conftest.$ac_ext >&5
43560
43561
43562 saveLibs="$LIBS"
43563 LIBS="$saveLibs -lossaudio"
43564 cat >conftest.$ac_ext <<_ACEOF
43565 /* confdefs.h. */
43566 _ACEOF
43567 cat confdefs.h >>conftest.$ac_ext
43568 cat >>conftest.$ac_ext <<_ACEOF
43569 /* end confdefs.h. */
43570
43571 #include <sys/ioctl.h>
43572 #include <sys/soundcard.h>
43573
43574 int
43575 main ()
43576 {
43577
43578 ioctl(0, SNDCTL_DSP_SPEED, 0);
43579
43580 ;
43581 return 0;
43582 }
43583 _ACEOF
43584 rm -f conftest.$ac_objext conftest$ac_exeext
43585 if { (ac_try="$ac_link"
43586 case "(($ac_try" in
43587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43588 *) ac_try_echo=$ac_try;;
43589 esac
43590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43591 (eval "$ac_link") 2>conftest.er1
43592 ac_status=$?
43593 grep -v '^ *+' conftest.er1 >conftest.err
43594 rm -f conftest.er1
43595 cat conftest.err >&5
43596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597 (exit $ac_status); } && {
43598 test -z "$ac_c_werror_flag" ||
43599 test ! -s conftest.err
43600 } && test -s conftest$ac_exeext &&
43601 $as_test_x conftest$ac_exeext; then
43602 ac_cv_header_sys_soundcard=yes
43603 else
43604 echo "$as_me: failed program was:" >&5
43605 sed 's/^/| /' conftest.$ac_ext >&5
43606
43607
43608 LIBS="$saveLibs"
43609 ac_cv_header_sys_soundcard=no
43610
43611
43612 fi
43613
43614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43615 conftest$ac_exeext conftest.$ac_ext
43616
43617
43618 fi
43619
43620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43621 conftest$ac_exeext conftest.$ac_ext
43622
43623 fi
43624 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43625 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43626 fi
43627
43628 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43629 cat >>confdefs.h <<\_ACEOF
43630 #define HAVE_SYS_SOUNDCARD_H 1
43631 _ACEOF
43632
43633 fi
43634 fi
43635
43636 WITH_PLUGIN_SDL=0
43637 if test "$wxUSE_SOUND" = "yes"; then
43638 if test "$USE_UNIX" = 1 ; then
43639 if test "$wxUSE_LIBSDL" != "no"; then
43640
43641 # Check whether --with-sdl-prefix was given.
43642 if test "${with_sdl_prefix+set}" = set; then
43643 withval=$with_sdl_prefix; sdl_prefix="$withval"
43644 else
43645 sdl_prefix=""
43646 fi
43647
43648
43649 # Check whether --with-sdl-exec-prefix was given.
43650 if test "${with_sdl_exec_prefix+set}" = set; then
43651 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43652 else
43653 sdl_exec_prefix=""
43654 fi
43655
43656 # Check whether --enable-sdltest was given.
43657 if test "${enable_sdltest+set}" = set; then
43658 enableval=$enable_sdltest;
43659 else
43660 enable_sdltest=yes
43661 fi
43662
43663
43664 if test x$sdl_exec_prefix != x ; then
43665 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43666 if test x${SDL_CONFIG+set} != xset ; then
43667 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43668 fi
43669 fi
43670 if test x$sdl_prefix != x ; then
43671 sdl_args="$sdl_args --prefix=$sdl_prefix"
43672 if test x${SDL_CONFIG+set} != xset ; then
43673 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43674 fi
43675 fi
43676
43677 if test "x$prefix" != xNONE; then
43678 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43679 fi
43680 # Extract the first word of "sdl-config", so it can be a program name with args.
43681 set dummy sdl-config; ac_word=$2
43682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43684 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43685 echo $ECHO_N "(cached) $ECHO_C" >&6
43686 else
43687 case $SDL_CONFIG in
43688 [\\/]* | ?:[\\/]*)
43689 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43690 ;;
43691 *)
43692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43693 for as_dir in $PATH
43694 do
43695 IFS=$as_save_IFS
43696 test -z "$as_dir" && as_dir=.
43697 for ac_exec_ext in '' $ac_executable_extensions; do
43698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43699 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43701 break 2
43702 fi
43703 done
43704 done
43705 IFS=$as_save_IFS
43706
43707 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43708 ;;
43709 esac
43710 fi
43711 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43712 if test -n "$SDL_CONFIG"; then
43713 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43714 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43715 else
43716 { echo "$as_me:$LINENO: result: no" >&5
43717 echo "${ECHO_T}no" >&6; }
43718 fi
43719
43720
43721 min_sdl_version=1.2.0
43722 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43723 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43724 no_sdl=""
43725 if test "$SDL_CONFIG" = "no" ; then
43726 no_sdl=yes
43727 else
43728 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43729 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43730
43731 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43733 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43735 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43737 if test "x$enable_sdltest" = "xyes" ; then
43738 ac_save_CFLAGS="$CFLAGS"
43739 ac_save_CXXFLAGS="$CXXFLAGS"
43740 ac_save_LIBS="$LIBS"
43741 CFLAGS="$CFLAGS $SDL_CFLAGS"
43742 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43743 LIBS="$LIBS $SDL_LIBS"
43744 rm -f conf.sdltest
43745 if test "$cross_compiling" = yes; then
43746 echo $ac_n "cross compiling; assumed OK... $ac_c"
43747 else
43748 cat >conftest.$ac_ext <<_ACEOF
43749 /* confdefs.h. */
43750 _ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43754
43755 #include <stdio.h>
43756 #include <stdlib.h>
43757 #include <string.h>
43758 #include "SDL.h"
43759
43760 char*
43761 my_strdup (char *str)
43762 {
43763 char *new_str;
43764
43765 if (str)
43766 {
43767 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43768 strcpy (new_str, str);
43769 }
43770 else
43771 new_str = NULL;
43772
43773 return new_str;
43774 }
43775
43776 int main (int argc, char *argv[])
43777 {
43778 int major, minor, micro;
43779 char *tmp_version;
43780
43781 /* This hangs on some systems (?)
43782 system ("touch conf.sdltest");
43783 */
43784 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43785
43786 /* HP/UX 9 (%@#!) writes to sscanf strings */
43787 tmp_version = my_strdup("$min_sdl_version");
43788 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43789 printf("%s, bad version string\n", "$min_sdl_version");
43790 exit(1);
43791 }
43792
43793 if (($sdl_major_version > major) ||
43794 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43795 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43796 {
43797 return 0;
43798 }
43799 else
43800 {
43801 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43802 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43803 printf("*** best to upgrade to the required version.\n");
43804 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43805 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43806 printf("*** config.cache before re-running configure\n");
43807 return 1;
43808 }
43809 }
43810
43811
43812 _ACEOF
43813 rm -f conftest$ac_exeext
43814 if { (ac_try="$ac_link"
43815 case "(($ac_try" in
43816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43817 *) ac_try_echo=$ac_try;;
43818 esac
43819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43820 (eval "$ac_link") 2>&5
43821 ac_status=$?
43822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43823 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43824 { (case "(($ac_try" in
43825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43826 *) ac_try_echo=$ac_try;;
43827 esac
43828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43829 (eval "$ac_try") 2>&5
43830 ac_status=$?
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; }; then
43833 :
43834 else
43835 echo "$as_me: program exited with status $ac_status" >&5
43836 echo "$as_me: failed program was:" >&5
43837 sed 's/^/| /' conftest.$ac_ext >&5
43838
43839 ( exit $ac_status )
43840 no_sdl=yes
43841 fi
43842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43843 fi
43844
43845
43846 CFLAGS="$ac_save_CFLAGS"
43847 CXXFLAGS="$ac_save_CXXFLAGS"
43848 LIBS="$ac_save_LIBS"
43849 fi
43850 fi
43851 if test "x$no_sdl" = x ; then
43852 { echo "$as_me:$LINENO: result: yes" >&5
43853 echo "${ECHO_T}yes" >&6; }
43854
43855 EXTRALIBS_SDL="$SDL_LIBS"
43856 CFLAGS="$SDL_CFLAGS $CFLAGS"
43857 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43858 cat >>confdefs.h <<\_ACEOF
43859 #define wxUSE_LIBSDL 1
43860 _ACEOF
43861
43862
43863 else
43864 { echo "$as_me:$LINENO: result: no" >&5
43865 echo "${ECHO_T}no" >&6; }
43866 if test "$SDL_CONFIG" = "no" ; then
43867 echo "*** The sdl-config script installed by SDL could not be found"
43868 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43869 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43870 echo "*** full path to sdl-config."
43871 else
43872 if test -f conf.sdltest ; then
43873 :
43874 else
43875 echo "*** Could not run SDL test program, checking why..."
43876 CFLAGS="$CFLAGS $SDL_CFLAGS"
43877 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43878 LIBS="$LIBS $SDL_LIBS"
43879 cat >conftest.$ac_ext <<_ACEOF
43880 /* confdefs.h. */
43881 _ACEOF
43882 cat confdefs.h >>conftest.$ac_ext
43883 cat >>conftest.$ac_ext <<_ACEOF
43884 /* end confdefs.h. */
43885
43886 #include <stdio.h>
43887 #include "SDL.h"
43888
43889 int main(int argc, char *argv[])
43890 { return 0; }
43891 #undef main
43892 #define main K_and_R_C_main
43893
43894 int
43895 main ()
43896 {
43897 return 0;
43898 ;
43899 return 0;
43900 }
43901 _ACEOF
43902 rm -f conftest.$ac_objext conftest$ac_exeext
43903 if { (ac_try="$ac_link"
43904 case "(($ac_try" in
43905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43906 *) ac_try_echo=$ac_try;;
43907 esac
43908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43909 (eval "$ac_link") 2>conftest.er1
43910 ac_status=$?
43911 grep -v '^ *+' conftest.er1 >conftest.err
43912 rm -f conftest.er1
43913 cat conftest.err >&5
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); } && {
43916 test -z "$ac_c_werror_flag" ||
43917 test ! -s conftest.err
43918 } && test -s conftest$ac_exeext &&
43919 $as_test_x conftest$ac_exeext; then
43920 echo "*** The test program compiled, but did not run. This usually means"
43921 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43922 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43923 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43924 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43925 echo "*** is required on your system"
43926 echo "***"
43927 echo "*** If you have an old version installed, it is best to remove it, although"
43928 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43929 else
43930 echo "$as_me: failed program was:" >&5
43931 sed 's/^/| /' conftest.$ac_ext >&5
43932
43933 echo "*** The test program failed to compile or link. See the file config.log for the"
43934 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43935 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43936 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43937 fi
43938
43939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43940 conftest$ac_exeext conftest.$ac_ext
43941 CFLAGS="$ac_save_CFLAGS"
43942 CXXFLAGS="$ac_save_CXXFLAGS"
43943 LIBS="$ac_save_LIBS"
43944 fi
43945 fi
43946 SDL_CFLAGS=""
43947 SDL_LIBS=""
43948 wxUSE_LIBSDL="no"
43949 fi
43950
43951
43952 rm -f conf.sdltest
43953
43954 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43955 WITH_PLUGIN_SDL=1
43956 fi
43957 fi
43958 else
43959 if test "$wxUSE_MGL" = 1; then
43960 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43961 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43962 wxUSE_SOUND="no"
43963 fi
43964 fi
43965 fi
43966
43967 if test "$wxUSE_SOUND" = "yes"; then
43968 cat >>confdefs.h <<\_ACEOF
43969 #define wxUSE_SOUND 1
43970 _ACEOF
43971
43972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43973 fi
43974
43975 if test "$WXGTK2" = 1; then
43976
43977
43978 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43979 if test -n "$ac_tool_prefix"; then
43980 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43981 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43984 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43985 echo $ECHO_N "(cached) $ECHO_C" >&6
43986 else
43987 case $PKG_CONFIG in
43988 [\\/]* | ?:[\\/]*)
43989 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43990 ;;
43991 *)
43992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43993 for as_dir in $PATH
43994 do
43995 IFS=$as_save_IFS
43996 test -z "$as_dir" && as_dir=.
43997 for ac_exec_ext in '' $ac_executable_extensions; do
43998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43999 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44001 break 2
44002 fi
44003 done
44004 done
44005 IFS=$as_save_IFS
44006
44007 ;;
44008 esac
44009 fi
44010 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44011 if test -n "$PKG_CONFIG"; then
44012 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44013 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44014 else
44015 { echo "$as_me:$LINENO: result: no" >&5
44016 echo "${ECHO_T}no" >&6; }
44017 fi
44018
44019
44020 fi
44021 if test -z "$ac_cv_path_PKG_CONFIG"; then
44022 ac_pt_PKG_CONFIG=$PKG_CONFIG
44023 # Extract the first word of "pkg-config", so it can be a program name with args.
44024 set dummy pkg-config; ac_word=$2
44025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44027 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44028 echo $ECHO_N "(cached) $ECHO_C" >&6
44029 else
44030 case $ac_pt_PKG_CONFIG in
44031 [\\/]* | ?:[\\/]*)
44032 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44033 ;;
44034 *)
44035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44036 for as_dir in $PATH
44037 do
44038 IFS=$as_save_IFS
44039 test -z "$as_dir" && as_dir=.
44040 for ac_exec_ext in '' $ac_executable_extensions; do
44041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44042 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44044 break 2
44045 fi
44046 done
44047 done
44048 IFS=$as_save_IFS
44049
44050 ;;
44051 esac
44052 fi
44053 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44054 if test -n "$ac_pt_PKG_CONFIG"; then
44055 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44056 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44057 else
44058 { echo "$as_me:$LINENO: result: no" >&5
44059 echo "${ECHO_T}no" >&6; }
44060 fi
44061
44062 if test "x$ac_pt_PKG_CONFIG" = x; then
44063 PKG_CONFIG=""
44064 else
44065 case $cross_compiling:$ac_tool_warned in
44066 yes:)
44067 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44068 whose name does not start with the host triplet. If you think this
44069 configuration is useful to you, please write to autoconf@gnu.org." >&5
44070 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44071 whose name does not start with the host triplet. If you think this
44072 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44073 ac_tool_warned=yes ;;
44074 esac
44075 PKG_CONFIG=$ac_pt_PKG_CONFIG
44076 fi
44077 else
44078 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44079 fi
44080
44081 fi
44082 if test -n "$PKG_CONFIG"; then
44083 _pkg_min_version=0.9.0
44084 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44085 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44086 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44087 { echo "$as_me:$LINENO: result: yes" >&5
44088 echo "${ECHO_T}yes" >&6; }
44089 else
44090 { echo "$as_me:$LINENO: result: no" >&5
44091 echo "${ECHO_T}no" >&6; }
44092 PKG_CONFIG=""
44093 fi
44094
44095 fi
44096
44097 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44098
44099 if test "$wxUSE_GTKPRINT" = "yes" ; then
44100
44101
44102 pkg_failed=no
44103 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44104 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44105
44106 if test -n "$PKG_CONFIG"; then
44107 if test -n "$GTKPRINT_CFLAGS"; then
44108 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44109 else
44110 if test -n "$PKG_CONFIG" && \
44111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44112 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44113 ac_status=$?
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; then
44116 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44117 else
44118 pkg_failed=yes
44119 fi
44120 fi
44121 else
44122 pkg_failed=untried
44123 fi
44124 if test -n "$PKG_CONFIG"; then
44125 if test -n "$GTKPRINT_LIBS"; then
44126 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44127 else
44128 if test -n "$PKG_CONFIG" && \
44129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44130 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44131 ac_status=$?
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; then
44134 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44135 else
44136 pkg_failed=yes
44137 fi
44138 fi
44139 else
44140 pkg_failed=untried
44141 fi
44142
44143
44144
44145 if test $pkg_failed = yes; then
44146
44147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44148 _pkg_short_errors_supported=yes
44149 else
44150 _pkg_short_errors_supported=no
44151 fi
44152 if test $_pkg_short_errors_supported = yes; then
44153 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44154 else
44155 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44156 fi
44157 # Put the nasty error message in config.log where it belongs
44158 echo "$GTKPRINT_PKG_ERRORS" >&5
44159
44160
44161 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44162 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44163 wxUSE_GTKPRINT="no"
44164
44165
44166 elif test $pkg_failed = untried; then
44167
44168 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44169 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44170 wxUSE_GTKPRINT="no"
44171
44172
44173 else
44174 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44175 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44176 { echo "$as_me:$LINENO: result: yes" >&5
44177 echo "${ECHO_T}yes" >&6; }
44178
44179 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44180 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44181 cat >>confdefs.h <<\_ACEOF
44182 #define wxUSE_GTKPRINT 1
44183 _ACEOF
44184
44185
44186 fi
44187 fi
44188
44189 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44190
44191
44192 pkg_failed=no
44193 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44194 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44195
44196 if test -n "$PKG_CONFIG"; then
44197 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44198 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44199 else
44200 if test -n "$PKG_CONFIG" && \
44201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44202 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44203 ac_status=$?
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); }; then
44206 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44207 else
44208 pkg_failed=yes
44209 fi
44210 fi
44211 else
44212 pkg_failed=untried
44213 fi
44214 if test -n "$PKG_CONFIG"; then
44215 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44216 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44217 else
44218 if test -n "$PKG_CONFIG" && \
44219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44220 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; then
44224 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44225 else
44226 pkg_failed=yes
44227 fi
44228 fi
44229 else
44230 pkg_failed=untried
44231 fi
44232
44233
44234
44235 if test $pkg_failed = yes; then
44236
44237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44238 _pkg_short_errors_supported=yes
44239 else
44240 _pkg_short_errors_supported=no
44241 fi
44242 if test $_pkg_short_errors_supported = yes; then
44243 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44244 else
44245 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44246 fi
44247 # Put the nasty error message in config.log where it belongs
44248 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44249
44250
44251 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44252 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44253 wxUSE_LIBGNOMEPRINT="no"
44254
44255
44256 elif test $pkg_failed = untried; then
44257
44258 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44259 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44260 wxUSE_LIBGNOMEPRINT="no"
44261
44262
44263 else
44264 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44265 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44266 { echo "$as_me:$LINENO: result: yes" >&5
44267 echo "${ECHO_T}yes" >&6; }
44268
44269 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44270 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_LIBGNOMEPRINT 1
44273 _ACEOF
44274
44275
44276 fi
44277 fi
44278 fi
44279
44280 if test "$wxUSE_MIMETYPE" = "yes" ; then
44281 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44282
44283
44284 pkg_failed=no
44285 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44286 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44287
44288 if test -n "$PKG_CONFIG"; then
44289 if test -n "$GNOMEVFS_CFLAGS"; then
44290 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44291 else
44292 if test -n "$PKG_CONFIG" && \
44293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44294 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44295 ac_status=$?
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); }; then
44298 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44299 else
44300 pkg_failed=yes
44301 fi
44302 fi
44303 else
44304 pkg_failed=untried
44305 fi
44306 if test -n "$PKG_CONFIG"; then
44307 if test -n "$GNOMEVFS_LIBS"; then
44308 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44309 else
44310 if test -n "$PKG_CONFIG" && \
44311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44312 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44313 ac_status=$?
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); }; then
44316 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44317 else
44318 pkg_failed=yes
44319 fi
44320 fi
44321 else
44322 pkg_failed=untried
44323 fi
44324
44325
44326
44327 if test $pkg_failed = yes; then
44328
44329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44330 _pkg_short_errors_supported=yes
44331 else
44332 _pkg_short_errors_supported=no
44333 fi
44334 if test $_pkg_short_errors_supported = yes; then
44335 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44336 else
44337 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44338 fi
44339 # Put the nasty error message in config.log where it belongs
44340 echo "$GNOMEVFS_PKG_ERRORS" >&5
44341
44342
44343 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44344 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44345 wxUSE_LIBGNOMEVFS="no"
44346
44347
44348 elif test $pkg_failed = untried; then
44349
44350 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44351 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44352 wxUSE_LIBGNOMEVFS="no"
44353
44354
44355 else
44356 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44357 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44358 { echo "$as_me:$LINENO: result: yes" >&5
44359 echo "${ECHO_T}yes" >&6; }
44360
44361 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44362 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_LIBGNOMEVFS 1
44365 _ACEOF
44366
44367
44368 fi
44369 fi
44370 fi
44371
44372 if test "$wxUSE_LIBHILDON" = "yes" ; then
44373
44374 pkg_failed=no
44375 { echo "$as_me:$LINENO: checking for HILDON" >&5
44376 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44377
44378 if test -n "$PKG_CONFIG"; then
44379 if test -n "$HILDON_CFLAGS"; then
44380 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44381 else
44382 if test -n "$PKG_CONFIG" && \
44383 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44384 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44385 ac_status=$?
44386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44387 (exit $ac_status); }; then
44388 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44389 else
44390 pkg_failed=yes
44391 fi
44392 fi
44393 else
44394 pkg_failed=untried
44395 fi
44396 if test -n "$PKG_CONFIG"; then
44397 if test -n "$HILDON_LIBS"; then
44398 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44399 else
44400 if test -n "$PKG_CONFIG" && \
44401 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44402 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44403 ac_status=$?
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); }; then
44406 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44407 else
44408 pkg_failed=yes
44409 fi
44410 fi
44411 else
44412 pkg_failed=untried
44413 fi
44414
44415
44416
44417 if test $pkg_failed = yes; then
44418
44419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44420 _pkg_short_errors_supported=yes
44421 else
44422 _pkg_short_errors_supported=no
44423 fi
44424 if test $_pkg_short_errors_supported = yes; then
44425 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44426 else
44427 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44428 fi
44429 # Put the nasty error message in config.log where it belongs
44430 echo "$HILDON_PKG_ERRORS" >&5
44431
44432
44433 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44434 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44435 wxUSE_LIBHILDON="no"
44436 ac_hildon_lgpl=0
44437
44438
44439 elif test $pkg_failed = untried; then
44440
44441 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44442 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44443 wxUSE_LIBHILDON="no"
44444 ac_hildon_lgpl=0
44445
44446
44447 else
44448 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44449 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44450 { echo "$as_me:$LINENO: result: yes" >&5
44451 echo "${ECHO_T}yes" >&6; }
44452
44453 EXTRALIBS_HILDON="$HILDON_LIBS"
44454 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44455 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44456 cat >>confdefs.h <<\_ACEOF
44457 #define wxUSE_LIBHILDON 1
44458 _ACEOF
44459
44460 ac_hildon_lgpl=1
44461
44462 fi
44463
44464 if test "$ac_hildon_lgpl" = 0 ; then
44465
44466 pkg_failed=no
44467 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44468 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44469
44470 if test -n "$PKG_CONFIG"; then
44471 if test -n "$HILDON2_CFLAGS"; then
44472 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44473 else
44474 if test -n "$PKG_CONFIG" && \
44475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44476 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44477 ac_status=$?
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); }; then
44480 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44481 else
44482 pkg_failed=yes
44483 fi
44484 fi
44485 else
44486 pkg_failed=untried
44487 fi
44488 if test -n "$PKG_CONFIG"; then
44489 if test -n "$HILDON2_LIBS"; then
44490 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44491 else
44492 if test -n "$PKG_CONFIG" && \
44493 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44494 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44495 ac_status=$?
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); }; then
44498 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44499 else
44500 pkg_failed=yes
44501 fi
44502 fi
44503 else
44504 pkg_failed=untried
44505 fi
44506
44507
44508
44509 if test $pkg_failed = yes; then
44510
44511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44512 _pkg_short_errors_supported=yes
44513 else
44514 _pkg_short_errors_supported=no
44515 fi
44516 if test $_pkg_short_errors_supported = yes; then
44517 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44518 else
44519 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44520 fi
44521 # Put the nasty error message in config.log where it belongs
44522 echo "$HILDON2_PKG_ERRORS" >&5
44523
44524
44525 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44526 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44527 wxUSE_LIBHILDON2="no"
44528
44529
44530 elif test $pkg_failed = untried; then
44531
44532 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44533 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44534 wxUSE_LIBHILDON2="no"
44535
44536
44537 else
44538 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44539 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44540 { echo "$as_me:$LINENO: result: yes" >&5
44541 echo "${ECHO_T}yes" >&6; }
44542
44543 EXTRALIBS_HILDON="$HILDON2_LIBS"
44544 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44545 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44546 cat >>confdefs.h <<\_ACEOF
44547 #define wxUSE_LIBHILDON2 1
44548 _ACEOF
44549
44550
44551 fi
44552 fi
44553 fi
44554 fi
44555
44556 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_CMDLINE_PARSER 1
44559 _ACEOF
44560
44561 fi
44562
44563 if test "$wxUSE_STOPWATCH" = "yes"; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_STOPWATCH 1
44566 _ACEOF
44567
44568 fi
44569
44570 if test "$wxUSE_DATETIME" = "yes"; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_DATETIME 1
44573 _ACEOF
44574
44575 fi
44576
44577 if test "$wxUSE_FILE" = "yes"; then
44578 cat >>confdefs.h <<\_ACEOF
44579 #define wxUSE_FILE 1
44580 _ACEOF
44581
44582 fi
44583
44584 if test "$wxUSE_FFILE" = "yes"; then
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_FFILE 1
44587 _ACEOF
44588
44589 fi
44590
44591 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44592 if test "$wxUSE_STREAMS" != yes; then
44593 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44594 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44595 wxUSE_ARCHIVE_STREAMS=no
44596 else
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_ARCHIVE_STREAMS 1
44599 _ACEOF
44600
44601 fi
44602 fi
44603
44604 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44605 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44606 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44607 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44608 elif test "$wxUSE_ZLIB" = "no"; then
44609 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44610 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44611 else
44612 cat >>confdefs.h <<\_ACEOF
44613 #define wxUSE_ZIPSTREAM 1
44614 _ACEOF
44615
44616 fi
44617 fi
44618
44619 if test "$wxUSE_TARSTREAM" = "yes"; then
44620 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44621 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44622 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44623 else
44624 cat >>confdefs.h <<\_ACEOF
44625 #define wxUSE_TARSTREAM 1
44626 _ACEOF
44627
44628 fi
44629 fi
44630
44631 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_FILE_HISTORY 1
44634 _ACEOF
44635
44636 fi
44637
44638 if test "$wxUSE_FILESYSTEM" = "yes"; then
44639 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44640 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44641 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44642 wxUSE_FILESYSTEM=no
44643 else
44644 cat >>confdefs.h <<\_ACEOF
44645 #define wxUSE_FILESYSTEM 1
44646 _ACEOF
44647
44648 fi
44649 fi
44650
44651 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44652 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44653 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44654 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44655 else
44656 cat >>confdefs.h <<\_ACEOF
44657 #define wxUSE_FS_ARCHIVE 1
44658 _ACEOF
44659
44660 fi
44661 fi
44662
44663 if test "$wxUSE_FS_ZIP" = "yes"; then
44664 if test "$wxUSE_FS_ARCHIVE" != yes; then
44665 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44666 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44667 else
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_FS_ZIP 1
44670 _ACEOF
44671
44672 fi
44673 fi
44674
44675 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44676 if test "$USE_UNIX" != 1; then
44677 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44678 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44679 wxUSE_ON_FATAL_EXCEPTION=no
44680 else
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_ON_FATAL_EXCEPTION 1
44683 _ACEOF
44684
44685 fi
44686 fi
44687
44688 if test "$wxUSE_STACKWALKER" = "yes"; then
44689 cat >>confdefs.h <<\_ACEOF
44690 #define wxUSE_STACKWALKER 1
44691 _ACEOF
44692
44693 fi
44694
44695 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44696 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44697 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44698 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44699 wxUSE_DEBUGREPORT=no
44700 else
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_DEBUGREPORT 1
44703 _ACEOF
44704
44705 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44707 fi
44708 fi
44709 fi
44710
44711 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_SNGLINST_CHECKER 1
44714 _ACEOF
44715
44716 fi
44717
44718 if test "$wxUSE_BUSYINFO" = "yes"; then
44719 cat >>confdefs.h <<\_ACEOF
44720 #define wxUSE_BUSYINFO 1
44721 _ACEOF
44722
44723 fi
44724
44725 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44726 cat >>confdefs.h <<\_ACEOF
44727 #define wxUSE_STD_IOSTREAM 1
44728 _ACEOF
44729
44730 fi
44731
44732 if test "$wxUSE_STD_STRING" = "yes"; then
44733 cat >>confdefs.h <<\_ACEOF
44734 #define wxUSE_STD_STRING 1
44735 _ACEOF
44736
44737 fi
44738
44739 if test "$wxUSE_STDPATHS" = "yes"; then
44740 cat >>confdefs.h <<\_ACEOF
44741 #define wxUSE_STDPATHS 1
44742 _ACEOF
44743
44744 fi
44745
44746 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44747 cat >>confdefs.h <<\_ACEOF
44748 #define wxUSE_TEXTBUFFER 1
44749 _ACEOF
44750
44751 fi
44752
44753 if test "$wxUSE_TEXTFILE" = "yes"; then
44754 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44755 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44756 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44757 else
44758 cat >>confdefs.h <<\_ACEOF
44759 #define wxUSE_TEXTFILE 1
44760 _ACEOF
44761
44762 fi
44763 fi
44764
44765 if test "$wxUSE_CONFIG" = "yes" ; then
44766 if test "$wxUSE_TEXTFILE" != "yes"; then
44767 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44768 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44769 else
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_CONFIG 1
44772 _ACEOF
44773
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_CONFIG_NATIVE 1
44776 _ACEOF
44777
44778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44779 fi
44780 fi
44781
44782 if test "$wxUSE_INTL" = "yes" ; then
44783 if test "$wxUSE_FILE" != "yes"; then
44784 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44785 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44786 else
44787 cat >>confdefs.h <<\_ACEOF
44788 #define wxUSE_INTL 1
44789 _ACEOF
44790
44791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44792 GUIDIST="$GUIDIST INTL_DIST"
44793 fi
44794 fi
44795
44796 if test "$wxUSE_XLOCALE" = "yes" ; then
44797 cat >>confdefs.h <<\_ACEOF
44798 #define wxUSE_XLOCALE 1
44799 _ACEOF
44800
44801 { echo "$as_me:$LINENO: checking for locale_t" >&5
44802 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44803 if test "${ac_cv_type_locale_t+set}" = set; then
44804 echo $ECHO_N "(cached) $ECHO_C" >&6
44805 else
44806 cat >conftest.$ac_ext <<_ACEOF
44807 /* confdefs.h. */
44808 _ACEOF
44809 cat confdefs.h >>conftest.$ac_ext
44810 cat >>conftest.$ac_ext <<_ACEOF
44811 /* end confdefs.h. */
44812 #include <xlocale.h>
44813 #include <locale.h>
44814
44815 typedef locale_t ac__type_new_;
44816 int
44817 main ()
44818 {
44819 if ((ac__type_new_ *) 0)
44820 return 0;
44821 if (sizeof (ac__type_new_))
44822 return 0;
44823 ;
44824 return 0;
44825 }
44826 _ACEOF
44827 rm -f conftest.$ac_objext
44828 if { (ac_try="$ac_compile"
44829 case "(($ac_try" in
44830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44831 *) ac_try_echo=$ac_try;;
44832 esac
44833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44834 (eval "$ac_compile") 2>conftest.er1
44835 ac_status=$?
44836 grep -v '^ *+' conftest.er1 >conftest.err
44837 rm -f conftest.er1
44838 cat conftest.err >&5
44839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44840 (exit $ac_status); } && {
44841 test -z "$ac_c_werror_flag" ||
44842 test ! -s conftest.err
44843 } && test -s conftest.$ac_objext; then
44844 ac_cv_type_locale_t=yes
44845 else
44846 echo "$as_me: failed program was:" >&5
44847 sed 's/^/| /' conftest.$ac_ext >&5
44848
44849 ac_cv_type_locale_t=no
44850 fi
44851
44852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44853 fi
44854 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44855 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44856 if test $ac_cv_type_locale_t = yes; then
44857
44858 cat >>confdefs.h <<_ACEOF
44859 #define HAVE_LOCALE_T 1
44860 _ACEOF
44861
44862
44863 fi
44864
44865 fi
44866
44867 if test "$wxUSE_LOG" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_LOG 1
44870 _ACEOF
44871
44872
44873 if test "$wxUSE_LOGGUI" = "yes"; then
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_LOGGUI 1
44876 _ACEOF
44877
44878 fi
44879
44880 if test "$wxUSE_LOGWINDOW" = "yes"; then
44881 cat >>confdefs.h <<\_ACEOF
44882 #define wxUSE_LOGWINDOW 1
44883 _ACEOF
44884
44885 fi
44886
44887 if test "$wxUSE_LOGDIALOG" = "yes"; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_LOG_DIALOG 1
44890 _ACEOF
44891
44892 fi
44893
44894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44895 fi
44896
44897 if test "$wxUSE_LONGLONG" = "yes"; then
44898 cat >>confdefs.h <<\_ACEOF
44899 #define wxUSE_LONGLONG 1
44900 _ACEOF
44901
44902 fi
44903
44904 if test "$wxUSE_GEOMETRY" = "yes"; then
44905 cat >>confdefs.h <<\_ACEOF
44906 #define wxUSE_GEOMETRY 1
44907 _ACEOF
44908
44909 fi
44910
44911 if test "$wxUSE_BASE64" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_BASE64 1
44914 _ACEOF
44915
44916 fi
44917
44918 if test "$wxUSE_STREAMS" = "yes" ; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_STREAMS 1
44921 _ACEOF
44922
44923 fi
44924
44925 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_PRINTF_POS_PARAMS 1
44928 _ACEOF
44929
44930 fi
44931
44932 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_OBJC_UNIQUIFYING 1
44935 _ACEOF
44936
44937 fi
44938
44939
44940 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_CONSOLE_EVENTLOOP 1
44943 _ACEOF
44944
44945
44946 if test "$wxUSE_UNIX" = "yes"; then
44947 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_SELECT_DISPATCHER 1
44950 _ACEOF
44951
44952 fi
44953
44954 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44955
44956 for ac_header in sys/epoll.h
44957 do
44958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44962 echo $ECHO_N "(cached) $ECHO_C" >&6
44963 else
44964 cat >conftest.$ac_ext <<_ACEOF
44965 /* confdefs.h. */
44966 _ACEOF
44967 cat confdefs.h >>conftest.$ac_ext
44968 cat >>conftest.$ac_ext <<_ACEOF
44969 /* end confdefs.h. */
44970 $ac_includes_default
44971
44972 #include <$ac_header>
44973 _ACEOF
44974 rm -f conftest.$ac_objext
44975 if { (ac_try="$ac_compile"
44976 case "(($ac_try" in
44977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44978 *) ac_try_echo=$ac_try;;
44979 esac
44980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44981 (eval "$ac_compile") 2>conftest.er1
44982 ac_status=$?
44983 grep -v '^ *+' conftest.er1 >conftest.err
44984 rm -f conftest.er1
44985 cat conftest.err >&5
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); } && {
44988 test -z "$ac_c_werror_flag" ||
44989 test ! -s conftest.err
44990 } && test -s conftest.$ac_objext; then
44991 eval "$as_ac_Header=yes"
44992 else
44993 echo "$as_me: failed program was:" >&5
44994 sed 's/^/| /' conftest.$ac_ext >&5
44995
44996 eval "$as_ac_Header=no"
44997 fi
44998
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45000 fi
45001 ac_res=`eval echo '${'$as_ac_Header'}'`
45002 { echo "$as_me:$LINENO: result: $ac_res" >&5
45003 echo "${ECHO_T}$ac_res" >&6; }
45004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45005 cat >>confdefs.h <<_ACEOF
45006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45007 _ACEOF
45008
45009 fi
45010
45011 done
45012
45013 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45014 cat >>confdefs.h <<\_ACEOF
45015 #define wxUSE_EPOLL_DISPATCHER 1
45016 _ACEOF
45017
45018 else
45019 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45020 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45021 fi
45022 fi
45023 fi
45024 fi
45025
45026
45027
45028
45029 for ac_func in gettimeofday ftime
45030 do
45031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45035 echo $ECHO_N "(cached) $ECHO_C" >&6
45036 else
45037 cat >conftest.$ac_ext <<_ACEOF
45038 /* confdefs.h. */
45039 _ACEOF
45040 cat confdefs.h >>conftest.$ac_ext
45041 cat >>conftest.$ac_ext <<_ACEOF
45042 /* end confdefs.h. */
45043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45045 #define $ac_func innocuous_$ac_func
45046
45047 /* System header to define __stub macros and hopefully few prototypes,
45048 which can conflict with char $ac_func (); below.
45049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45050 <limits.h> exists even on freestanding compilers. */
45051
45052 #ifdef __STDC__
45053 # include <limits.h>
45054 #else
45055 # include <assert.h>
45056 #endif
45057
45058 #undef $ac_func
45059
45060 /* Override any GCC internal prototype to avoid an error.
45061 Use char because int might match the return type of a GCC
45062 builtin and then its argument prototype would still apply. */
45063 #ifdef __cplusplus
45064 extern "C"
45065 #endif
45066 char $ac_func ();
45067 /* The GNU C library defines this for functions which it implements
45068 to always fail with ENOSYS. Some functions are actually named
45069 something starting with __ and the normal name is an alias. */
45070 #if defined __stub_$ac_func || defined __stub___$ac_func
45071 choke me
45072 #endif
45073
45074 int
45075 main ()
45076 {
45077 return $ac_func ();
45078 ;
45079 return 0;
45080 }
45081 _ACEOF
45082 rm -f conftest.$ac_objext conftest$ac_exeext
45083 if { (ac_try="$ac_link"
45084 case "(($ac_try" in
45085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45086 *) ac_try_echo=$ac_try;;
45087 esac
45088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45089 (eval "$ac_link") 2>conftest.er1
45090 ac_status=$?
45091 grep -v '^ *+' conftest.er1 >conftest.err
45092 rm -f conftest.er1
45093 cat conftest.err >&5
45094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095 (exit $ac_status); } && {
45096 test -z "$ac_c_werror_flag" ||
45097 test ! -s conftest.err
45098 } && test -s conftest$ac_exeext &&
45099 $as_test_x conftest$ac_exeext; then
45100 eval "$as_ac_var=yes"
45101 else
45102 echo "$as_me: failed program was:" >&5
45103 sed 's/^/| /' conftest.$ac_ext >&5
45104
45105 eval "$as_ac_var=no"
45106 fi
45107
45108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45109 conftest$ac_exeext conftest.$ac_ext
45110 fi
45111 ac_res=`eval echo '${'$as_ac_var'}'`
45112 { echo "$as_me:$LINENO: result: $ac_res" >&5
45113 echo "${ECHO_T}$ac_res" >&6; }
45114 if test `eval echo '${'$as_ac_var'}'` = yes; then
45115 cat >>confdefs.h <<_ACEOF
45116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45117 _ACEOF
45118 break
45119 fi
45120 done
45121
45122
45123 if test "$ac_cv_func_gettimeofday" = "yes"; then
45124 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45125 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45126 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45127 echo $ECHO_N "(cached) $ECHO_C" >&6
45128 else
45129
45130 cat >conftest.$ac_ext <<_ACEOF
45131 /* confdefs.h. */
45132 _ACEOF
45133 cat confdefs.h >>conftest.$ac_ext
45134 cat >>conftest.$ac_ext <<_ACEOF
45135 /* end confdefs.h. */
45136
45137 #include <sys/time.h>
45138 #include <unistd.h>
45139
45140 int
45141 main ()
45142 {
45143
45144 struct timeval tv;
45145 gettimeofday(&tv, NULL);
45146
45147 ;
45148 return 0;
45149 }
45150 _ACEOF
45151 rm -f conftest.$ac_objext
45152 if { (ac_try="$ac_compile"
45153 case "(($ac_try" in
45154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45155 *) ac_try_echo=$ac_try;;
45156 esac
45157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45158 (eval "$ac_compile") 2>conftest.er1
45159 ac_status=$?
45160 grep -v '^ *+' conftest.er1 >conftest.err
45161 rm -f conftest.er1
45162 cat conftest.err >&5
45163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45164 (exit $ac_status); } && {
45165 test -z "$ac_c_werror_flag" ||
45166 test ! -s conftest.err
45167 } && test -s conftest.$ac_objext; then
45168 wx_cv_func_gettimeofday_has_2_args=yes
45169 else
45170 echo "$as_me: failed program was:" >&5
45171 sed 's/^/| /' conftest.$ac_ext >&5
45172
45173 cat >conftest.$ac_ext <<_ACEOF
45174 /* confdefs.h. */
45175 _ACEOF
45176 cat confdefs.h >>conftest.$ac_ext
45177 cat >>conftest.$ac_ext <<_ACEOF
45178 /* end confdefs.h. */
45179
45180 #include <sys/time.h>
45181 #include <unistd.h>
45182
45183 int
45184 main ()
45185 {
45186
45187 struct timeval tv;
45188 gettimeofday(&tv);
45189
45190 ;
45191 return 0;
45192 }
45193 _ACEOF
45194 rm -f conftest.$ac_objext
45195 if { (ac_try="$ac_compile"
45196 case "(($ac_try" in
45197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45198 *) ac_try_echo=$ac_try;;
45199 esac
45200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45201 (eval "$ac_compile") 2>conftest.er1
45202 ac_status=$?
45203 grep -v '^ *+' conftest.er1 >conftest.err
45204 rm -f conftest.er1
45205 cat conftest.err >&5
45206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45207 (exit $ac_status); } && {
45208 test -z "$ac_c_werror_flag" ||
45209 test ! -s conftest.err
45210 } && test -s conftest.$ac_objext; then
45211 wx_cv_func_gettimeofday_has_2_args=no
45212 else
45213 echo "$as_me: failed program was:" >&5
45214 sed 's/^/| /' conftest.$ac_ext >&5
45215
45216
45217 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45218 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45219 wx_cv_func_gettimeofday_has_2_args=unknown
45220
45221
45222 fi
45223
45224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45225
45226 fi
45227
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45229
45230 fi
45231 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45232 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45233
45234 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define WX_GETTIMEOFDAY_NO_TZ 1
45237 _ACEOF
45238
45239 fi
45240 fi
45241
45242 if test "$wxUSE_DATETIME" = "yes"; then
45243 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45244 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45245 if test "${wx_cv_var_timezone+set}" = set; then
45246 echo $ECHO_N "(cached) $ECHO_C" >&6
45247 else
45248
45249 ac_ext=cpp
45250 ac_cpp='$CXXCPP $CPPFLAGS'
45251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45254
45255 cat >conftest.$ac_ext <<_ACEOF
45256 /* confdefs.h. */
45257 _ACEOF
45258 cat confdefs.h >>conftest.$ac_ext
45259 cat >>conftest.$ac_ext <<_ACEOF
45260 /* end confdefs.h. */
45261
45262 #include <time.h>
45263
45264 int
45265 main ()
45266 {
45267
45268 int tz;
45269 tz = timezone;
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
45293 wx_cv_var_timezone=timezone
45294
45295 else
45296 echo "$as_me: failed program was:" >&5
45297 sed 's/^/| /' conftest.$ac_ext >&5
45298
45299
45300 cat >conftest.$ac_ext <<_ACEOF
45301 /* confdefs.h. */
45302 _ACEOF
45303 cat confdefs.h >>conftest.$ac_ext
45304 cat >>conftest.$ac_ext <<_ACEOF
45305 /* end confdefs.h. */
45306
45307 #include <time.h>
45308
45309 int
45310 main ()
45311 {
45312
45313 int tz;
45314 tz = _timezone;
45315
45316 ;
45317 return 0;
45318 }
45319 _ACEOF
45320 rm -f conftest.$ac_objext
45321 if { (ac_try="$ac_compile"
45322 case "(($ac_try" in
45323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45324 *) ac_try_echo=$ac_try;;
45325 esac
45326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45327 (eval "$ac_compile") 2>conftest.er1
45328 ac_status=$?
45329 grep -v '^ *+' conftest.er1 >conftest.err
45330 rm -f conftest.er1
45331 cat conftest.err >&5
45332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45333 (exit $ac_status); } && {
45334 test -z "$ac_cxx_werror_flag" ||
45335 test ! -s conftest.err
45336 } && test -s conftest.$ac_objext; then
45337
45338 wx_cv_var_timezone=_timezone
45339
45340 else
45341 echo "$as_me: failed program was:" >&5
45342 sed 's/^/| /' conftest.$ac_ext >&5
45343
45344
45345 cat >conftest.$ac_ext <<_ACEOF
45346 /* confdefs.h. */
45347 _ACEOF
45348 cat confdefs.h >>conftest.$ac_ext
45349 cat >>conftest.$ac_ext <<_ACEOF
45350 /* end confdefs.h. */
45351
45352 #include <time.h>
45353
45354 int
45355 main ()
45356 {
45357
45358 int tz;
45359 tz = __timezone;
45360
45361 ;
45362 return 0;
45363 }
45364 _ACEOF
45365 rm -f conftest.$ac_objext
45366 if { (ac_try="$ac_compile"
45367 case "(($ac_try" in
45368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45369 *) ac_try_echo=$ac_try;;
45370 esac
45371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45372 (eval "$ac_compile") 2>conftest.er1
45373 ac_status=$?
45374 grep -v '^ *+' conftest.er1 >conftest.err
45375 rm -f conftest.er1
45376 cat conftest.err >&5
45377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45378 (exit $ac_status); } && {
45379 test -z "$ac_cxx_werror_flag" ||
45380 test ! -s conftest.err
45381 } && test -s conftest.$ac_objext; then
45382
45383 wx_cv_var_timezone=__timezone
45384
45385 else
45386 echo "$as_me: failed program was:" >&5
45387 sed 's/^/| /' conftest.$ac_ext >&5
45388
45389
45390 if test "$USE_DOS" = 0 ; then
45391 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45392 echo "$as_me: WARNING: no timezone variable" >&2;}
45393 fi
45394
45395
45396 fi
45397
45398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45399
45400
45401 fi
45402
45403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45404
45405
45406 fi
45407
45408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45409 ac_ext=c
45410 ac_cpp='$CPP $CPPFLAGS'
45411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45414
45415
45416
45417 fi
45418 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45419 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45420
45421 if test "x$wx_cv_var_timezone" != x ; then
45422 cat >>confdefs.h <<_ACEOF
45423 #define WX_TIMEZONE $wx_cv_var_timezone
45424 _ACEOF
45425
45426 fi
45427
45428
45429 for ac_func in localtime
45430 do
45431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45435 echo $ECHO_N "(cached) $ECHO_C" >&6
45436 else
45437 cat >conftest.$ac_ext <<_ACEOF
45438 /* confdefs.h. */
45439 _ACEOF
45440 cat confdefs.h >>conftest.$ac_ext
45441 cat >>conftest.$ac_ext <<_ACEOF
45442 /* end confdefs.h. */
45443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45445 #define $ac_func innocuous_$ac_func
45446
45447 /* System header to define __stub macros and hopefully few prototypes,
45448 which can conflict with char $ac_func (); below.
45449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45450 <limits.h> exists even on freestanding compilers. */
45451
45452 #ifdef __STDC__
45453 # include <limits.h>
45454 #else
45455 # include <assert.h>
45456 #endif
45457
45458 #undef $ac_func
45459
45460 /* Override any GCC internal prototype to avoid an error.
45461 Use char because int might match the return type of a GCC
45462 builtin and then its argument prototype would still apply. */
45463 #ifdef __cplusplus
45464 extern "C"
45465 #endif
45466 char $ac_func ();
45467 /* The GNU C library defines this for functions which it implements
45468 to always fail with ENOSYS. Some functions are actually named
45469 something starting with __ and the normal name is an alias. */
45470 #if defined __stub_$ac_func || defined __stub___$ac_func
45471 choke me
45472 #endif
45473
45474 int
45475 main ()
45476 {
45477 return $ac_func ();
45478 ;
45479 return 0;
45480 }
45481 _ACEOF
45482 rm -f conftest.$ac_objext conftest$ac_exeext
45483 if { (ac_try="$ac_link"
45484 case "(($ac_try" in
45485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45486 *) ac_try_echo=$ac_try;;
45487 esac
45488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45489 (eval "$ac_link") 2>conftest.er1
45490 ac_status=$?
45491 grep -v '^ *+' conftest.er1 >conftest.err
45492 rm -f conftest.er1
45493 cat conftest.err >&5
45494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45495 (exit $ac_status); } && {
45496 test -z "$ac_c_werror_flag" ||
45497 test ! -s conftest.err
45498 } && test -s conftest$ac_exeext &&
45499 $as_test_x conftest$ac_exeext; then
45500 eval "$as_ac_var=yes"
45501 else
45502 echo "$as_me: failed program was:" >&5
45503 sed 's/^/| /' conftest.$ac_ext >&5
45504
45505 eval "$as_ac_var=no"
45506 fi
45507
45508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45509 conftest$ac_exeext conftest.$ac_ext
45510 fi
45511 ac_res=`eval echo '${'$as_ac_var'}'`
45512 { echo "$as_me:$LINENO: result: $ac_res" >&5
45513 echo "${ECHO_T}$ac_res" >&6; }
45514 if test `eval echo '${'$as_ac_var'}'` = yes; then
45515 cat >>confdefs.h <<_ACEOF
45516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45517 _ACEOF
45518
45519 fi
45520 done
45521
45522
45523 if test "$ac_cv_func_localtime" = "yes"; then
45524 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45525 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45526 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45527 echo $ECHO_N "(cached) $ECHO_C" >&6
45528 else
45529
45530 cat >conftest.$ac_ext <<_ACEOF
45531 /* confdefs.h. */
45532 _ACEOF
45533 cat confdefs.h >>conftest.$ac_ext
45534 cat >>conftest.$ac_ext <<_ACEOF
45535 /* end confdefs.h. */
45536
45537 #include <time.h>
45538
45539 int
45540 main ()
45541 {
45542
45543 struct tm tm;
45544 tm.tm_gmtoff++;
45545
45546 ;
45547 return 0;
45548 }
45549 _ACEOF
45550 rm -f conftest.$ac_objext
45551 if { (ac_try="$ac_compile"
45552 case "(($ac_try" in
45553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45554 *) ac_try_echo=$ac_try;;
45555 esac
45556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45557 (eval "$ac_compile") 2>conftest.er1
45558 ac_status=$?
45559 grep -v '^ *+' conftest.er1 >conftest.err
45560 rm -f conftest.er1
45561 cat conftest.err >&5
45562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45563 (exit $ac_status); } && {
45564 test -z "$ac_c_werror_flag" ||
45565 test ! -s conftest.err
45566 } && test -s conftest.$ac_objext; then
45567
45568 wx_cv_struct_tm_has_gmtoff=yes
45569
45570 else
45571 echo "$as_me: failed program was:" >&5
45572 sed 's/^/| /' conftest.$ac_ext >&5
45573
45574 wx_cv_struct_tm_has_gmtoff=no
45575
45576 fi
45577
45578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45579
45580 fi
45581 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45582 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45583 fi
45584
45585 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45586 cat >>confdefs.h <<\_ACEOF
45587 #define WX_GMTOFF_IN_TM 1
45588 _ACEOF
45589
45590 fi
45591
45592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45593 fi
45594
45595
45596 if test "$wxUSE_SOCKETS" = "yes"; then
45597 if test "$wxUSE_MGL" = 1; then
45598 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45599 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45600 wxUSE_SOCKETS="no"
45601 fi
45602 fi
45603
45604 if test "$wxUSE_SOCKETS" = "yes"; then
45605 if test "$TOOLKIT" != "MSW"; then
45606 { echo "$as_me:$LINENO: checking for socket" >&5
45607 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45608 if test "${ac_cv_func_socket+set}" = set; then
45609 echo $ECHO_N "(cached) $ECHO_C" >&6
45610 else
45611 cat >conftest.$ac_ext <<_ACEOF
45612 /* confdefs.h. */
45613 _ACEOF
45614 cat confdefs.h >>conftest.$ac_ext
45615 cat >>conftest.$ac_ext <<_ACEOF
45616 /* end confdefs.h. */
45617 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45619 #define socket innocuous_socket
45620
45621 /* System header to define __stub macros and hopefully few prototypes,
45622 which can conflict with char socket (); below.
45623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45624 <limits.h> exists even on freestanding compilers. */
45625
45626 #ifdef __STDC__
45627 # include <limits.h>
45628 #else
45629 # include <assert.h>
45630 #endif
45631
45632 #undef socket
45633
45634 /* Override any GCC internal prototype to avoid an error.
45635 Use char because int might match the return type of a GCC
45636 builtin and then its argument prototype would still apply. */
45637 #ifdef __cplusplus
45638 extern "C"
45639 #endif
45640 char socket ();
45641 /* The GNU C library defines this for functions which it implements
45642 to always fail with ENOSYS. Some functions are actually named
45643 something starting with __ and the normal name is an alias. */
45644 #if defined __stub_socket || defined __stub___socket
45645 choke me
45646 #endif
45647
45648 int
45649 main ()
45650 {
45651 return socket ();
45652 ;
45653 return 0;
45654 }
45655 _ACEOF
45656 rm -f conftest.$ac_objext conftest$ac_exeext
45657 if { (ac_try="$ac_link"
45658 case "(($ac_try" in
45659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45660 *) ac_try_echo=$ac_try;;
45661 esac
45662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45663 (eval "$ac_link") 2>conftest.er1
45664 ac_status=$?
45665 grep -v '^ *+' conftest.er1 >conftest.err
45666 rm -f conftest.er1
45667 cat conftest.err >&5
45668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45669 (exit $ac_status); } && {
45670 test -z "$ac_c_werror_flag" ||
45671 test ! -s conftest.err
45672 } && test -s conftest$ac_exeext &&
45673 $as_test_x conftest$ac_exeext; then
45674 ac_cv_func_socket=yes
45675 else
45676 echo "$as_me: failed program was:" >&5
45677 sed 's/^/| /' conftest.$ac_ext >&5
45678
45679 ac_cv_func_socket=no
45680 fi
45681
45682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45683 conftest$ac_exeext conftest.$ac_ext
45684 fi
45685 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45686 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45687 if test $ac_cv_func_socket = yes; then
45688 :
45689 else
45690
45691 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45692 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45693 if test "${ac_cv_lib_socket_socket+set}" = set; then
45694 echo $ECHO_N "(cached) $ECHO_C" >&6
45695 else
45696 ac_check_lib_save_LIBS=$LIBS
45697 LIBS="-lsocket $LIBS"
45698 cat >conftest.$ac_ext <<_ACEOF
45699 /* confdefs.h. */
45700 _ACEOF
45701 cat confdefs.h >>conftest.$ac_ext
45702 cat >>conftest.$ac_ext <<_ACEOF
45703 /* end confdefs.h. */
45704
45705 /* Override any GCC internal prototype to avoid an error.
45706 Use char because int might match the return type of a GCC
45707 builtin and then its argument prototype would still apply. */
45708 #ifdef __cplusplus
45709 extern "C"
45710 #endif
45711 char socket ();
45712 int
45713 main ()
45714 {
45715 return socket ();
45716 ;
45717 return 0;
45718 }
45719 _ACEOF
45720 rm -f conftest.$ac_objext conftest$ac_exeext
45721 if { (ac_try="$ac_link"
45722 case "(($ac_try" in
45723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45724 *) ac_try_echo=$ac_try;;
45725 esac
45726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45727 (eval "$ac_link") 2>conftest.er1
45728 ac_status=$?
45729 grep -v '^ *+' conftest.er1 >conftest.err
45730 rm -f conftest.er1
45731 cat conftest.err >&5
45732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45733 (exit $ac_status); } && {
45734 test -z "$ac_c_werror_flag" ||
45735 test ! -s conftest.err
45736 } && test -s conftest$ac_exeext &&
45737 $as_test_x conftest$ac_exeext; then
45738 ac_cv_lib_socket_socket=yes
45739 else
45740 echo "$as_me: failed program was:" >&5
45741 sed 's/^/| /' conftest.$ac_ext >&5
45742
45743 ac_cv_lib_socket_socket=no
45744 fi
45745
45746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45747 conftest$ac_exeext conftest.$ac_ext
45748 LIBS=$ac_check_lib_save_LIBS
45749 fi
45750 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45751 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45752 if test $ac_cv_lib_socket_socket = yes; then
45753 if test "$INET_LINK" != " -lsocket"; then
45754 INET_LINK="$INET_LINK -lsocket"
45755 fi
45756 else
45757
45758 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45759 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45760 wxUSE_SOCKETS=no
45761
45762
45763 fi
45764
45765
45766
45767 fi
45768
45769 fi
45770 fi
45771
45772 if test "$wxUSE_SOCKETS" = "yes" ; then
45773 if test "$TOOLKIT" != "MSW"; then
45774 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45775 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45776 if test "${wx_cv_type_getsockname3+set}" = set; then
45777 echo $ECHO_N "(cached) $ECHO_C" >&6
45778 else
45779
45780 ac_ext=cpp
45781 ac_cpp='$CXXCPP $CPPFLAGS'
45782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45785
45786 cat >conftest.$ac_ext <<_ACEOF
45787 /* confdefs.h. */
45788 _ACEOF
45789 cat confdefs.h >>conftest.$ac_ext
45790 cat >>conftest.$ac_ext <<_ACEOF
45791 /* end confdefs.h. */
45792
45793 #include <sys/types.h>
45794 #include <sys/socket.h>
45795
45796 int
45797 main ()
45798 {
45799
45800 socklen_t len;
45801 getsockname(0, 0, &len);
45802
45803 ;
45804 return 0;
45805 }
45806 _ACEOF
45807 rm -f conftest.$ac_objext
45808 if { (ac_try="$ac_compile"
45809 case "(($ac_try" in
45810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45811 *) ac_try_echo=$ac_try;;
45812 esac
45813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45814 (eval "$ac_compile") 2>conftest.er1
45815 ac_status=$?
45816 grep -v '^ *+' conftest.er1 >conftest.err
45817 rm -f conftest.er1
45818 cat conftest.err >&5
45819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45820 (exit $ac_status); } && {
45821 test -z "$ac_cxx_werror_flag" ||
45822 test ! -s conftest.err
45823 } && test -s conftest.$ac_objext; then
45824 wx_cv_type_getsockname3=socklen_t
45825 else
45826 echo "$as_me: failed program was:" >&5
45827 sed 's/^/| /' conftest.$ac_ext >&5
45828
45829
45830 CFLAGS_OLD="$CFLAGS"
45831 if test "$GCC" = yes ; then
45832 CFLAGS="-Werror $CFLAGS"
45833 fi
45834
45835 cat >conftest.$ac_ext <<_ACEOF
45836 /* confdefs.h. */
45837 _ACEOF
45838 cat confdefs.h >>conftest.$ac_ext
45839 cat >>conftest.$ac_ext <<_ACEOF
45840 /* end confdefs.h. */
45841
45842 #include <sys/types.h>
45843 #include <sys/socket.h>
45844
45845 int
45846 main ()
45847 {
45848
45849 size_t len;
45850 getsockname(0, 0, &len);
45851
45852 ;
45853 return 0;
45854 }
45855 _ACEOF
45856 rm -f conftest.$ac_objext
45857 if { (ac_try="$ac_compile"
45858 case "(($ac_try" in
45859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45860 *) ac_try_echo=$ac_try;;
45861 esac
45862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45863 (eval "$ac_compile") 2>conftest.er1
45864 ac_status=$?
45865 grep -v '^ *+' conftest.er1 >conftest.err
45866 rm -f conftest.er1
45867 cat conftest.err >&5
45868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45869 (exit $ac_status); } && {
45870 test -z "$ac_cxx_werror_flag" ||
45871 test ! -s conftest.err
45872 } && test -s conftest.$ac_objext; then
45873 wx_cv_type_getsockname3=size_t
45874 else
45875 echo "$as_me: failed program was:" >&5
45876 sed 's/^/| /' conftest.$ac_ext >&5
45877
45878 cat >conftest.$ac_ext <<_ACEOF
45879 /* confdefs.h. */
45880 _ACEOF
45881 cat confdefs.h >>conftest.$ac_ext
45882 cat >>conftest.$ac_ext <<_ACEOF
45883 /* end confdefs.h. */
45884
45885 #include <sys/types.h>
45886 #include <sys/socket.h>
45887
45888 int
45889 main ()
45890 {
45891
45892 int len;
45893 getsockname(0, 0, &len);
45894
45895 ;
45896 return 0;
45897 }
45898 _ACEOF
45899 rm -f conftest.$ac_objext
45900 if { (ac_try="$ac_compile"
45901 case "(($ac_try" in
45902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45903 *) ac_try_echo=$ac_try;;
45904 esac
45905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45906 (eval "$ac_compile") 2>conftest.er1
45907 ac_status=$?
45908 grep -v '^ *+' conftest.er1 >conftest.err
45909 rm -f conftest.er1
45910 cat conftest.err >&5
45911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912 (exit $ac_status); } && {
45913 test -z "$ac_cxx_werror_flag" ||
45914 test ! -s conftest.err
45915 } && test -s conftest.$ac_objext; then
45916 wx_cv_type_getsockname3=int
45917 else
45918 echo "$as_me: failed program was:" >&5
45919 sed 's/^/| /' conftest.$ac_ext >&5
45920
45921 wx_cv_type_getsockname3=unknown
45922
45923 fi
45924
45925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45926
45927 fi
45928
45929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45930
45931 CFLAGS="$CFLAGS_OLD"
45932
45933
45934 fi
45935
45936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45937 ac_ext=c
45938 ac_cpp='$CPP $CPPFLAGS'
45939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45942
45943
45944 fi
45945 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45946 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45947
45948 if test "$wx_cv_type_getsockname3" = "unknown"; then
45949 wxUSE_SOCKETS=no
45950 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45951 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45952 else
45953 cat >>confdefs.h <<_ACEOF
45954 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45955 _ACEOF
45956
45957 fi
45958 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45959 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45960 if test "${wx_cv_type_getsockopt5+set}" = set; then
45961 echo $ECHO_N "(cached) $ECHO_C" >&6
45962 else
45963
45964 ac_ext=cpp
45965 ac_cpp='$CXXCPP $CPPFLAGS'
45966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45969
45970 cat >conftest.$ac_ext <<_ACEOF
45971 /* confdefs.h. */
45972 _ACEOF
45973 cat confdefs.h >>conftest.$ac_ext
45974 cat >>conftest.$ac_ext <<_ACEOF
45975 /* end confdefs.h. */
45976
45977 #include <sys/types.h>
45978 #include <sys/socket.h>
45979
45980 int
45981 main ()
45982 {
45983
45984 socklen_t len;
45985 getsockopt(0, 0, 0, 0, &len);
45986
45987 ;
45988 return 0;
45989 }
45990 _ACEOF
45991 rm -f conftest.$ac_objext
45992 if { (ac_try="$ac_compile"
45993 case "(($ac_try" in
45994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45995 *) ac_try_echo=$ac_try;;
45996 esac
45997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45998 (eval "$ac_compile") 2>conftest.er1
45999 ac_status=$?
46000 grep -v '^ *+' conftest.er1 >conftest.err
46001 rm -f conftest.er1
46002 cat conftest.err >&5
46003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46004 (exit $ac_status); } && {
46005 test -z "$ac_cxx_werror_flag" ||
46006 test ! -s conftest.err
46007 } && test -s conftest.$ac_objext; then
46008 wx_cv_type_getsockopt5=socklen_t
46009 else
46010 echo "$as_me: failed program was:" >&5
46011 sed 's/^/| /' conftest.$ac_ext >&5
46012
46013
46014 cat >conftest.$ac_ext <<_ACEOF
46015 /* confdefs.h. */
46016 _ACEOF
46017 cat confdefs.h >>conftest.$ac_ext
46018 cat >>conftest.$ac_ext <<_ACEOF
46019 /* end confdefs.h. */
46020
46021 #include <sys/types.h>
46022 #include <sys/socket.h>
46023
46024 int
46025 main ()
46026 {
46027
46028 size_t len;
46029 getsockopt(0, 0, 0, 0, &len);
46030
46031 ;
46032 return 0;
46033 }
46034 _ACEOF
46035 rm -f conftest.$ac_objext
46036 if { (ac_try="$ac_compile"
46037 case "(($ac_try" in
46038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46039 *) ac_try_echo=$ac_try;;
46040 esac
46041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46042 (eval "$ac_compile") 2>conftest.er1
46043 ac_status=$?
46044 grep -v '^ *+' conftest.er1 >conftest.err
46045 rm -f conftest.er1
46046 cat conftest.err >&5
46047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46048 (exit $ac_status); } && {
46049 test -z "$ac_cxx_werror_flag" ||
46050 test ! -s conftest.err
46051 } && test -s conftest.$ac_objext; then
46052 wx_cv_type_getsockopt5=size_t
46053 else
46054 echo "$as_me: failed program was:" >&5
46055 sed 's/^/| /' conftest.$ac_ext >&5
46056
46057 cat >conftest.$ac_ext <<_ACEOF
46058 /* confdefs.h. */
46059 _ACEOF
46060 cat confdefs.h >>conftest.$ac_ext
46061 cat >>conftest.$ac_ext <<_ACEOF
46062 /* end confdefs.h. */
46063
46064 #include <sys/types.h>
46065 #include <sys/socket.h>
46066
46067 int
46068 main ()
46069 {
46070
46071 int len;
46072 getsockopt(0, 0, 0, 0, &len);
46073
46074 ;
46075 return 0;
46076 }
46077 _ACEOF
46078 rm -f conftest.$ac_objext
46079 if { (ac_try="$ac_compile"
46080 case "(($ac_try" in
46081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46082 *) ac_try_echo=$ac_try;;
46083 esac
46084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46085 (eval "$ac_compile") 2>conftest.er1
46086 ac_status=$?
46087 grep -v '^ *+' conftest.er1 >conftest.err
46088 rm -f conftest.er1
46089 cat conftest.err >&5
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); } && {
46092 test -z "$ac_cxx_werror_flag" ||
46093 test ! -s conftest.err
46094 } && test -s conftest.$ac_objext; then
46095 wx_cv_type_getsockopt5=int
46096 else
46097 echo "$as_me: failed program was:" >&5
46098 sed 's/^/| /' conftest.$ac_ext >&5
46099
46100 wx_cv_type_getsockopt5=unknown
46101
46102 fi
46103
46104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46105
46106 fi
46107
46108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46109
46110
46111 fi
46112
46113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46114 ac_ext=c
46115 ac_cpp='$CPP $CPPFLAGS'
46116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46119
46120
46121 fi
46122 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46123 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46124
46125 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46126 wxUSE_SOCKETS=no
46127 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46128 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46129 else
46130 cat >>confdefs.h <<_ACEOF
46131 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46132 _ACEOF
46133
46134 fi
46135 fi
46136 fi
46137
46138 if test "$wxUSE_SOCKETS" = "yes" ; then
46139 if test "$wxUSE_IPV6" = "yes"; then
46140 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46141 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46142 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46143 echo $ECHO_N "(cached) $ECHO_C" >&6
46144 else
46145
46146 cat >conftest.$ac_ext <<_ACEOF
46147 /* confdefs.h. */
46148 _ACEOF
46149 cat confdefs.h >>conftest.$ac_ext
46150 cat >>conftest.$ac_ext <<_ACEOF
46151 /* end confdefs.h. */
46152
46153 #include <sys/types.h>
46154 #include <sys/socket.h>
46155 #include <netinet/in.h>
46156
46157 int
46158 main ()
46159 {
46160
46161 struct sockaddr_in6 sa6;
46162
46163 ;
46164 return 0;
46165 }
46166 _ACEOF
46167 rm -f conftest.$ac_objext
46168 if { (ac_try="$ac_compile"
46169 case "(($ac_try" in
46170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46171 *) ac_try_echo=$ac_try;;
46172 esac
46173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46174 (eval "$ac_compile") 2>conftest.er1
46175 ac_status=$?
46176 grep -v '^ *+' conftest.er1 >conftest.err
46177 rm -f conftest.er1
46178 cat conftest.err >&5
46179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46180 (exit $ac_status); } && {
46181 test -z "$ac_c_werror_flag" ||
46182 test ! -s conftest.err
46183 } && test -s conftest.$ac_objext; then
46184 wx_cv_type_sockaddr_in6=yes
46185 else
46186 echo "$as_me: failed program was:" >&5
46187 sed 's/^/| /' conftest.$ac_ext >&5
46188
46189 wx_cv_type_sockaddr_in6=no
46190
46191 fi
46192
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194
46195
46196 fi
46197 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46198 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46199
46200 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_IPV6 1
46203 _ACEOF
46204
46205 else
46206 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46207 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46208 fi
46209 fi
46210
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_SOCKETS 1
46213 _ACEOF
46214
46215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46216 fi
46217
46218 if test "$wxUSE_PROTOCOL" = "yes"; then
46219 if test "$wxUSE_SOCKETS" != "yes"; then
46220 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46221 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46222 wxUSE_PROTOCOL=no
46223 fi
46224 fi
46225
46226 if test "$wxUSE_PROTOCOL" = "yes"; then
46227 cat >>confdefs.h <<\_ACEOF
46228 #define wxUSE_PROTOCOL 1
46229 _ACEOF
46230
46231
46232 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_PROTOCOL_HTTP 1
46235 _ACEOF
46236
46237 fi
46238 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_PROTOCOL_FTP 1
46241 _ACEOF
46242
46243 fi
46244 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_PROTOCOL_FILE 1
46247 _ACEOF
46248
46249 fi
46250 else
46251 if test "$wxUSE_FS_INET" = "yes"; then
46252 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46253 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46254 wxUSE_FS_INET="no"
46255 fi
46256 fi
46257
46258 if test "$wxUSE_URL" = "yes"; then
46259 if test "$wxUSE_PROTOCOL" != "yes"; then
46260 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46261 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46262 wxUSE_URL=no
46263 fi
46264 if test "$wxUSE_URL" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_URL 1
46267 _ACEOF
46268
46269 fi
46270 fi
46271
46272 if test "$wxUSE_VARIANT" = "yes"; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_VARIANT 1
46275 _ACEOF
46276
46277 fi
46278
46279 if test "$wxUSE_FS_INET" = "yes"; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_FS_INET 1
46282 _ACEOF
46283
46284 fi
46285
46286
46287 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46288 wxUSE_JOYSTICK=no
46289
46290 if test "$TOOLKIT" = "MSW"; then
46291 wxUSE_JOYSTICK=yes
46292
46293 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46294 if test "$USE_DARWIN" = 1; then
46295 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46296 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46297 ac_ext=cpp
46298 ac_cpp='$CXXCPP $CPPFLAGS'
46299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46302
46303 cat >conftest.$ac_ext <<_ACEOF
46304 /* confdefs.h. */
46305 _ACEOF
46306 cat confdefs.h >>conftest.$ac_ext
46307 cat >>conftest.$ac_ext <<_ACEOF
46308 /* end confdefs.h. */
46309 #include <IOKit/hid/IOHIDLib.h>
46310 int
46311 main ()
46312 {
46313 IOHIDQueueInterface *qi = NULL;
46314 IOHIDCallbackFunction cb = NULL;
46315 qi->setEventCallout(NULL, cb, NULL, NULL);
46316 ;
46317 return 0;
46318 }
46319 _ACEOF
46320 rm -f conftest.$ac_objext
46321 if { (ac_try="$ac_compile"
46322 case "(($ac_try" in
46323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46324 *) ac_try_echo=$ac_try;;
46325 esac
46326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46327 (eval "$ac_compile") 2>conftest.er1
46328 ac_status=$?
46329 grep -v '^ *+' conftest.er1 >conftest.err
46330 rm -f conftest.er1
46331 cat conftest.err >&5
46332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46333 (exit $ac_status); } && {
46334 test -z "$ac_cxx_werror_flag" ||
46335 test ! -s conftest.err
46336 } && test -s conftest.$ac_objext; then
46337 wxUSE_JOYSTICK=yes
46338
46339 else
46340 echo "$as_me: failed program was:" >&5
46341 sed 's/^/| /' conftest.$ac_ext >&5
46342
46343
46344 fi
46345
46346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46347 ac_ext=c
46348 ac_cpp='$CPP $CPPFLAGS'
46349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46352
46353 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46354 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46355 fi
46356
46357 else
46358 if test "$wxUSE_MGL" != 1; then
46359
46360 for ac_header in linux/joystick.h
46361 do
46362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46366 echo $ECHO_N "(cached) $ECHO_C" >&6
46367 else
46368 cat >conftest.$ac_ext <<_ACEOF
46369 /* confdefs.h. */
46370 _ACEOF
46371 cat confdefs.h >>conftest.$ac_ext
46372 cat >>conftest.$ac_ext <<_ACEOF
46373 /* end confdefs.h. */
46374 $ac_includes_default
46375
46376 #include <$ac_header>
46377 _ACEOF
46378 rm -f conftest.$ac_objext
46379 if { (ac_try="$ac_compile"
46380 case "(($ac_try" in
46381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46382 *) ac_try_echo=$ac_try;;
46383 esac
46384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46385 (eval "$ac_compile") 2>conftest.er1
46386 ac_status=$?
46387 grep -v '^ *+' conftest.er1 >conftest.err
46388 rm -f conftest.er1
46389 cat conftest.err >&5
46390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46391 (exit $ac_status); } && {
46392 test -z "$ac_c_werror_flag" ||
46393 test ! -s conftest.err
46394 } && test -s conftest.$ac_objext; then
46395 eval "$as_ac_Header=yes"
46396 else
46397 echo "$as_me: failed program was:" >&5
46398 sed 's/^/| /' conftest.$ac_ext >&5
46399
46400 eval "$as_ac_Header=no"
46401 fi
46402
46403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46404 fi
46405 ac_res=`eval echo '${'$as_ac_Header'}'`
46406 { echo "$as_me:$LINENO: result: $ac_res" >&5
46407 echo "${ECHO_T}$ac_res" >&6; }
46408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46409 cat >>confdefs.h <<_ACEOF
46410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46411 _ACEOF
46412 wxUSE_JOYSTICK=yes
46413 fi
46414
46415 done
46416
46417 fi
46418 fi
46419
46420 if test "$wxUSE_JOYSTICK" = "yes"; then
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_JOYSTICK 1
46423 _ACEOF
46424
46425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46426 else
46427 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46428 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46429 fi
46430 fi
46431
46432
46433
46434 if test "$wxUSE_FONTENUM" = "yes" ; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_FONTENUM 1
46437 _ACEOF
46438
46439 fi
46440
46441 if test "$wxUSE_FONTMAP" = "yes" ; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_FONTMAP 1
46444 _ACEOF
46445
46446 fi
46447
46448 if test "$wxUSE_UNICODE" = "yes" ; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_UNICODE 1
46451 _ACEOF
46452
46453
46454 if test "$USE_WIN32" != 1; then
46455 wxUSE_UNICODE_MSLU=no
46456 fi
46457
46458 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46459 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46460 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46461 if test "${ac_cv_lib_unicows_main+set}" = set; then
46462 echo $ECHO_N "(cached) $ECHO_C" >&6
46463 else
46464 ac_check_lib_save_LIBS=$LIBS
46465 LIBS="-lunicows $LIBS"
46466 cat >conftest.$ac_ext <<_ACEOF
46467 /* confdefs.h. */
46468 _ACEOF
46469 cat confdefs.h >>conftest.$ac_ext
46470 cat >>conftest.$ac_ext <<_ACEOF
46471 /* end confdefs.h. */
46472
46473
46474 int
46475 main ()
46476 {
46477 return main ();
46478 ;
46479 return 0;
46480 }
46481 _ACEOF
46482 rm -f conftest.$ac_objext conftest$ac_exeext
46483 if { (ac_try="$ac_link"
46484 case "(($ac_try" in
46485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46486 *) ac_try_echo=$ac_try;;
46487 esac
46488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46489 (eval "$ac_link") 2>conftest.er1
46490 ac_status=$?
46491 grep -v '^ *+' conftest.er1 >conftest.err
46492 rm -f conftest.er1
46493 cat conftest.err >&5
46494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495 (exit $ac_status); } && {
46496 test -z "$ac_c_werror_flag" ||
46497 test ! -s conftest.err
46498 } && test -s conftest$ac_exeext &&
46499 $as_test_x conftest$ac_exeext; then
46500 ac_cv_lib_unicows_main=yes
46501 else
46502 echo "$as_me: failed program was:" >&5
46503 sed 's/^/| /' conftest.$ac_ext >&5
46504
46505 ac_cv_lib_unicows_main=no
46506 fi
46507
46508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46509 conftest$ac_exeext conftest.$ac_ext
46510 LIBS=$ac_check_lib_save_LIBS
46511 fi
46512 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46513 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46514 if test $ac_cv_lib_unicows_main = yes; then
46515
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_UNICODE_MSLU 1
46518 _ACEOF
46519
46520
46521 else
46522
46523 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46524 Applications will only run on Windows NT/2000/XP!" >&5
46525 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46526 Applications will only run on Windows NT/2000/XP!" >&2;}
46527 wxUSE_UNICODE_MSLU=no
46528
46529 fi
46530
46531 fi
46532 fi
46533
46534 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_UNICODE_UTF8 1
46537 _ACEOF
46538
46539
46540 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46541 cat >>confdefs.h <<\_ACEOF
46542 #define wxUSE_UTF8_LOCALE_ONLY 1
46543 _ACEOF
46544
46545 fi
46546 fi
46547
46548
46549 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_CONSTRAINTS 1
46552 _ACEOF
46553
46554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46555 fi
46556
46557 if test "$wxUSE_MDI" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_MDI 1
46560 _ACEOF
46561
46562
46563 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46564 cat >>confdefs.h <<\_ACEOF
46565 #define wxUSE_MDI_ARCHITECTURE 1
46566 _ACEOF
46567
46568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46569 fi
46570 fi
46571
46572 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46575 _ACEOF
46576
46577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46578 fi
46579
46580 if test "$wxUSE_HELP" = "yes"; then
46581 cat >>confdefs.h <<\_ACEOF
46582 #define wxUSE_HELP 1
46583 _ACEOF
46584
46585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46586
46587 if test "$wxUSE_MSW" = 1; then
46588 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_MS_HTML_HELP 1
46591 _ACEOF
46592
46593 fi
46594 fi
46595
46596 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46597 if test "$wxUSE_HTML" = "yes"; then
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_WXHTML_HELP 1
46600 _ACEOF
46601
46602 else
46603 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46604 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46605 wxUSE_WXHTML_HELP=no
46606 fi
46607 fi
46608 fi
46609
46610 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_PRINTING_ARCHITECTURE 1
46613 _ACEOF
46614
46615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46616 fi
46617
46618 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_POSTSCRIPT 1
46621 _ACEOF
46622
46623 fi
46624
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46627 _ACEOF
46628
46629
46630 if test "$wxUSE_SVG" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_SVG 1
46633 _ACEOF
46634
46635 fi
46636
46637
46638 if test "$wxUSE_METAFILE" = "yes"; then
46639 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46640 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46641 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46642 wxUSE_METAFILE=no
46643 fi
46644 fi
46645
46646
46647 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46648 -o "$wxUSE_CLIPBOARD" = "yes" \
46649 -o "$wxUSE_OLE" = "yes" \
46650 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46651 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46652 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46653 if test "${ac_cv_header_ole2_h+set}" = set; then
46654 echo $ECHO_N "(cached) $ECHO_C" >&6
46655 else
46656 cat >conftest.$ac_ext <<_ACEOF
46657 /* confdefs.h. */
46658 _ACEOF
46659 cat confdefs.h >>conftest.$ac_ext
46660 cat >>conftest.$ac_ext <<_ACEOF
46661 /* end confdefs.h. */
46662
46663
46664 #include <ole2.h>
46665 _ACEOF
46666 rm -f conftest.$ac_objext
46667 if { (ac_try="$ac_compile"
46668 case "(($ac_try" in
46669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46670 *) ac_try_echo=$ac_try;;
46671 esac
46672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46673 (eval "$ac_compile") 2>conftest.er1
46674 ac_status=$?
46675 grep -v '^ *+' conftest.er1 >conftest.err
46676 rm -f conftest.er1
46677 cat conftest.err >&5
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); } && {
46680 test -z "$ac_c_werror_flag" ||
46681 test ! -s conftest.err
46682 } && test -s conftest.$ac_objext; then
46683 ac_cv_header_ole2_h=yes
46684 else
46685 echo "$as_me: failed program was:" >&5
46686 sed 's/^/| /' conftest.$ac_ext >&5
46687
46688 ac_cv_header_ole2_h=no
46689 fi
46690
46691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46692 fi
46693 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46694 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46695
46696
46697
46698 if test "$ac_cv_header_ole2_h" = "yes" ; then
46699 if test "$GCC" = yes ; then
46700 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46701 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46702 cat >conftest.$ac_ext <<_ACEOF
46703 /* confdefs.h. */
46704 _ACEOF
46705 cat confdefs.h >>conftest.$ac_ext
46706 cat >>conftest.$ac_ext <<_ACEOF
46707 /* end confdefs.h. */
46708 #include <windows.h>
46709 #include <ole2.h>
46710 int
46711 main ()
46712 {
46713
46714 ;
46715 return 0;
46716 }
46717 _ACEOF
46718 rm -f conftest.$ac_objext
46719 if { (ac_try="$ac_compile"
46720 case "(($ac_try" in
46721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46722 *) ac_try_echo=$ac_try;;
46723 esac
46724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46725 (eval "$ac_compile") 2>conftest.er1
46726 ac_status=$?
46727 grep -v '^ *+' conftest.er1 >conftest.err
46728 rm -f conftest.er1
46729 cat conftest.err >&5
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); } && {
46732 test -z "$ac_c_werror_flag" ||
46733 test ! -s conftest.err
46734 } && test -s conftest.$ac_objext; then
46735 { echo "$as_me:$LINENO: result: no" >&5
46736 echo "${ECHO_T}no" >&6; }
46737 else
46738 echo "$as_me: failed program was:" >&5
46739 sed 's/^/| /' conftest.$ac_ext >&5
46740
46741 { echo "$as_me:$LINENO: result: yes" >&5
46742 echo "${ECHO_T}yes" >&6; }
46743 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46744 fi
46745
46746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46747 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46748 if test "$wxUSE_OLE" = "yes" ; then
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_OLE 1
46751 _ACEOF
46752
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_OLE_AUTOMATION 1
46755 _ACEOF
46756
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_ACTIVEX 1
46759 _ACEOF
46760
46761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46762 fi
46763 fi
46764
46765 if test "$wxUSE_DATAOBJ" = "yes" ; then
46766 cat >>confdefs.h <<\_ACEOF
46767 #define wxUSE_DATAOBJ 1
46768 _ACEOF
46769
46770 fi
46771 else
46772 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46773 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46774
46775 wxUSE_CLIPBOARD=no
46776 wxUSE_DRAG_AND_DROP=no
46777 wxUSE_DATAOBJ=no
46778 wxUSE_OLE=no
46779 fi
46780
46781 if test "$wxUSE_METAFILE" = "yes"; then
46782 cat >>confdefs.h <<\_ACEOF
46783 #define wxUSE_METAFILE 1
46784 _ACEOF
46785
46786
46787 cat >>confdefs.h <<\_ACEOF
46788 #define wxUSE_ENH_METAFILE 1
46789 _ACEOF
46790
46791 fi
46792 fi
46793
46794 if test "$wxUSE_IPC" = "yes"; then
46795 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46796 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46797 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46798 wxUSE_IPC=no
46799 fi
46800
46801 if test "$wxUSE_IPC" = "yes"; then
46802 cat >>confdefs.h <<\_ACEOF
46803 #define wxUSE_IPC 1
46804 _ACEOF
46805
46806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46807 fi
46808 fi
46809
46810 if test "$wxUSE_DATAOBJ" = "yes"; then
46811 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46812 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46813 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46814 wxUSE_DATAOBJ=no
46815 else
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_DATAOBJ 1
46818 _ACEOF
46819
46820 fi
46821 else
46822 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46823 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46824 wxUSE_CLIPBOARD=no
46825 wxUSE_DRAG_AND_DROP=no
46826 fi
46827
46828 if test "$wxUSE_CLIPBOARD" = "yes"; then
46829 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46830 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46831 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46832 wxUSE_CLIPBOARD=no
46833 fi
46834
46835 if test "$wxUSE_CLIPBOARD" = "yes"; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_CLIPBOARD 1
46838 _ACEOF
46839
46840 fi
46841 fi
46842
46843 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46844 if test "$wxUSE_GTK" = 1; then
46845 if test "$WXGTK12" != 1; then
46846 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46847 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46848 wxUSE_DRAG_AND_DROP=no
46849 fi
46850 fi
46851
46852 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46853 "$wxUSE_DFB" = 1; then
46854 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46855 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46856 wxUSE_DRAG_AND_DROP=no
46857 fi
46858
46859 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46860 cat >>confdefs.h <<\_ACEOF
46861 #define wxUSE_DRAG_AND_DROP 1
46862 _ACEOF
46863
46864 fi
46865
46866 fi
46867
46868 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46870 fi
46871
46872 if test "$wxUSE_CLIPBOARD" = "yes"; then
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46874 fi
46875
46876 if test "$wxUSE_SPLINES" = "yes" ; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_SPLINES 1
46879 _ACEOF
46880
46881 fi
46882
46883 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_MOUSEWHEEL 1
46886 _ACEOF
46887
46888 fi
46889
46890 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46891 cat >>confdefs.h <<\_ACEOF
46892 #define wxUSE_UIACTIONSIMULATOR 1
46893 _ACEOF
46894
46895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46896 fi
46897
46898
46899 USES_CONTROLS=0
46900 if test "$wxUSE_CONTROLS" = "yes"; then
46901 USES_CONTROLS=1
46902 fi
46903
46904 if test "$wxUSE_ACCEL" = "yes"; then
46905 cat >>confdefs.h <<\_ACEOF
46906 #define wxUSE_ACCEL 1
46907 _ACEOF
46908
46909 USES_CONTROLS=1
46910 fi
46911
46912 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46913 cat >>confdefs.h <<\_ACEOF
46914 #define wxUSE_ANIMATIONCTRL 1
46915 _ACEOF
46916
46917 USES_CONTROLS=1
46918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46919 fi
46920
46921 if test "$wxUSE_BUTTON" = "yes"; then
46922 cat >>confdefs.h <<\_ACEOF
46923 #define wxUSE_BUTTON 1
46924 _ACEOF
46925
46926 USES_CONTROLS=1
46927 fi
46928
46929 if test "$wxUSE_BMPBUTTON" = "yes"; then
46930 cat >>confdefs.h <<\_ACEOF
46931 #define wxUSE_BMPBUTTON 1
46932 _ACEOF
46933
46934 USES_CONTROLS=1
46935 fi
46936
46937 if test "$wxUSE_CALCTRL" = "yes"; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_CALENDARCTRL 1
46940 _ACEOF
46941
46942 USES_CONTROLS=1
46943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46944 fi
46945
46946 if test "$wxUSE_CARET" = "yes"; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_CARET 1
46949 _ACEOF
46950
46951 USES_CONTROLS=1
46952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46953 fi
46954
46955 if test "$wxUSE_COLLPANE" = "yes"; then
46956 cat >>confdefs.h <<\_ACEOF
46957 #define wxUSE_COLLPANE 1
46958 _ACEOF
46959
46960 USES_CONTROLS=1
46961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46962 fi
46963
46964 if test "$wxUSE_COMBOBOX" = "yes"; then
46965 cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_COMBOBOX 1
46967 _ACEOF
46968
46969 USES_CONTROLS=1
46970 fi
46971
46972 if test "$wxUSE_COMBOCTRL" = "yes"; then
46973 cat >>confdefs.h <<\_ACEOF
46974 #define wxUSE_COMBOCTRL 1
46975 _ACEOF
46976
46977 USES_CONTROLS=1
46978 fi
46979
46980 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
46981 cat >>confdefs.h <<\_ACEOF
46982 #define wxUSE_COMMANDLINKBUTTON 1
46983 _ACEOF
46984
46985 USES_CONTROLS=1
46986 fi
46987
46988 if test "$wxUSE_CHOICE" = "yes"; then
46989 cat >>confdefs.h <<\_ACEOF
46990 #define wxUSE_CHOICE 1
46991 _ACEOF
46992
46993 USES_CONTROLS=1
46994 fi
46995
46996 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_CHOICEBOOK 1
46999 _ACEOF
47000
47001 USES_CONTROLS=1
47002 fi
47003
47004 if test "$wxUSE_CHECKBOX" = "yes"; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_CHECKBOX 1
47007 _ACEOF
47008
47009 USES_CONTROLS=1
47010 fi
47011
47012 if test "$wxUSE_CHECKLST" = "yes"; then
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_CHECKLISTBOX 1
47015 _ACEOF
47016
47017 USES_CONTROLS=1
47018 fi
47019
47020 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47021 cat >>confdefs.h <<\_ACEOF
47022 #define wxUSE_COLOURPICKERCTRL 1
47023 _ACEOF
47024
47025 USES_CONTROLS=1
47026 fi
47027
47028 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_DATEPICKCTRL 1
47031 _ACEOF
47032
47033 USES_CONTROLS=1
47034 fi
47035
47036 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_DIRPICKERCTRL 1
47039 _ACEOF
47040
47041 USES_CONTROLS=1
47042 fi
47043
47044 if test "$wxUSE_FILECTRL" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_FILECTRL 1
47047 _ACEOF
47048
47049 USES_CONTROLS=1
47050 fi
47051
47052 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_FILEPICKERCTRL 1
47055 _ACEOF
47056
47057 USES_CONTROLS=1
47058 fi
47059
47060 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_FONTPICKERCTRL 1
47063 _ACEOF
47064
47065 USES_CONTROLS=1
47066 fi
47067
47068 if test "$wxUSE_DISPLAY" = "yes"; then
47069 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47070 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47071 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47072 wxUSE_DISPLAY=no
47073 else
47074 cat >>confdefs.h <<\_ACEOF
47075 #define wxUSE_DISPLAY 1
47076 _ACEOF
47077
47078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47079 fi
47080 fi
47081
47082 if test "$wxUSE_DETECT_SM" = "yes"; then
47083 cat >>confdefs.h <<\_ACEOF
47084 #define wxUSE_DETECT_SM 1
47085 _ACEOF
47086
47087 fi
47088
47089 if test "$wxUSE_GAUGE" = "yes"; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_GAUGE 1
47092 _ACEOF
47093
47094 USES_CONTROLS=1
47095 fi
47096
47097 if test "$wxUSE_GRID" = "yes"; then
47098 cat >>confdefs.h <<\_ACEOF
47099 #define wxUSE_GRID 1
47100 _ACEOF
47101
47102 USES_CONTROLS=1
47103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47104 fi
47105
47106 if test "$wxUSE_HEADERCTRL" = "yes"; then
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_HEADERCTRL 1
47109 _ACEOF
47110
47111 USES_CONTROLS=1
47112 fi
47113
47114 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47115 cat >>confdefs.h <<\_ACEOF
47116 #define wxUSE_HYPERLINKCTRL 1
47117 _ACEOF
47118
47119 USES_CONTROLS=1
47120 fi
47121
47122 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47123 cat >>confdefs.h <<\_ACEOF
47124 #define wxUSE_BITMAPCOMBOBOX 1
47125 _ACEOF
47126
47127 USES_CONTROLS=1
47128 fi
47129
47130 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_DATAVIEWCTRL 1
47133 _ACEOF
47134
47135 USES_CONTROLS=1
47136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47137 fi
47138
47139 if test "$wxUSE_IMAGLIST" = "yes"; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_IMAGLIST 1
47142 _ACEOF
47143
47144 fi
47145
47146 if test "$wxUSE_INFOBAR" = "yes"; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_INFOBAR 1
47149 _ACEOF
47150
47151 fi
47152
47153 if test "$wxUSE_LISTBOOK" = "yes"; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_LISTBOOK 1
47156 _ACEOF
47157
47158 USES_CONTROLS=1
47159 fi
47160
47161 if test "$wxUSE_LISTBOX" = "yes"; then
47162 cat >>confdefs.h <<\_ACEOF
47163 #define wxUSE_LISTBOX 1
47164 _ACEOF
47165
47166 USES_CONTROLS=1
47167 fi
47168
47169 if test "$wxUSE_LISTCTRL" = "yes"; then
47170 if test "$wxUSE_IMAGLIST" = "yes"; then
47171 cat >>confdefs.h <<\_ACEOF
47172 #define wxUSE_LISTCTRL 1
47173 _ACEOF
47174
47175 USES_CONTROLS=1
47176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47177 else
47178 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47179 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47180 fi
47181 fi
47182
47183 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_EDITABLELISTBOX 1
47186 _ACEOF
47187
47188 USES_CONTROLS=1
47189 fi
47190
47191 if test "$wxUSE_NOTEBOOK" = "yes"; then
47192 cat >>confdefs.h <<\_ACEOF
47193 #define wxUSE_NOTEBOOK 1
47194 _ACEOF
47195
47196 USES_CONTROLS=1
47197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47198 fi
47199
47200 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47201 cat >>confdefs.h <<\_ACEOF
47202 #define wxUSE_NOTIFICATION_MESSAGE 1
47203 _ACEOF
47204
47205 fi
47206
47207 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47208 cat >>confdefs.h <<\_ACEOF
47209 #define wxUSE_ODCOMBOBOX 1
47210 _ACEOF
47211
47212 USES_CONTROLS=1
47213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47214 fi
47215
47216 if test "$wxUSE_RADIOBOX" = "yes"; then
47217 cat >>confdefs.h <<\_ACEOF
47218 #define wxUSE_RADIOBOX 1
47219 _ACEOF
47220
47221 USES_CONTROLS=1
47222 fi
47223
47224 if test "$wxUSE_RADIOBTN" = "yes"; then
47225 cat >>confdefs.h <<\_ACEOF
47226 #define wxUSE_RADIOBTN 1
47227 _ACEOF
47228
47229 USES_CONTROLS=1
47230 fi
47231
47232 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47233 cat >>confdefs.h <<\_ACEOF
47234 #define wxUSE_REARRANGECTRL 1
47235 _ACEOF
47236
47237 fi
47238
47239 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_RICHMSGDLG 1
47242 _ACEOF
47243
47244 fi
47245
47246 if test "$wxUSE_SASH" = "yes"; then
47247 cat >>confdefs.h <<\_ACEOF
47248 #define wxUSE_SASH 1
47249 _ACEOF
47250
47251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47252 fi
47253
47254 if test "$wxUSE_SCROLLBAR" = "yes"; then
47255 cat >>confdefs.h <<\_ACEOF
47256 #define wxUSE_SCROLLBAR 1
47257 _ACEOF
47258
47259 USES_CONTROLS=1
47260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47261 fi
47262
47263 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47264 cat >>confdefs.h <<\_ACEOF
47265 #define wxUSE_SEARCHCTRL 1
47266 _ACEOF
47267
47268 USES_CONTROLS=1
47269 fi
47270
47271 if test "$wxUSE_SLIDER" = "yes"; then
47272 cat >>confdefs.h <<\_ACEOF
47273 #define wxUSE_SLIDER 1
47274 _ACEOF
47275
47276 USES_CONTROLS=1
47277 fi
47278
47279 if test "$wxUSE_SPINBTN" = "yes"; then
47280 cat >>confdefs.h <<\_ACEOF
47281 #define wxUSE_SPINBTN 1
47282 _ACEOF
47283
47284 USES_CONTROLS=1
47285 fi
47286
47287 if test "$wxUSE_SPINCTRL" = "yes"; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_SPINCTRL 1
47290 _ACEOF
47291
47292 USES_CONTROLS=1
47293 fi
47294
47295 if test "$wxUSE_SPLITTER" = "yes"; then
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_SPLITTER 1
47298 _ACEOF
47299
47300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47301 fi
47302
47303 if test "$wxUSE_STATBMP" = "yes"; then
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_STATBMP 1
47306 _ACEOF
47307
47308 USES_CONTROLS=1
47309 fi
47310
47311 if test "$wxUSE_STATBOX" = "yes"; then
47312 cat >>confdefs.h <<\_ACEOF
47313 #define wxUSE_STATBOX 1
47314 _ACEOF
47315
47316 USES_CONTROLS=1
47317 fi
47318
47319 if test "$wxUSE_STATTEXT" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_STATTEXT 1
47322 _ACEOF
47323
47324 USES_CONTROLS=1
47325 fi
47326
47327 if test "$wxUSE_STATLINE" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_STATLINE 1
47330 _ACEOF
47331
47332 USES_CONTROLS=1
47333 fi
47334
47335 if test "$wxUSE_STATUSBAR" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_NATIVE_STATUSBAR 1
47338 _ACEOF
47339
47340 cat >>confdefs.h <<\_ACEOF
47341 #define wxUSE_STATUSBAR 1
47342 _ACEOF
47343
47344 USES_CONTROLS=1
47345
47346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47347 fi
47348
47349 if test "$wxUSE_TEXTCTRL" = "yes"; then
47350 cat >>confdefs.h <<\_ACEOF
47351 #define wxUSE_TEXTCTRL 1
47352 _ACEOF
47353
47354 USES_CONTROLS=1
47355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47356
47357 cat >>confdefs.h <<\_ACEOF
47358 #define wxUSE_RICHEDIT 1
47359 _ACEOF
47360
47361 cat >>confdefs.h <<\_ACEOF
47362 #define wxUSE_RICHEDIT2 1
47363 _ACEOF
47364
47365 fi
47366
47367 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47368 if test "$wxUSE_OLD_COCOA" = 1 ; then
47369 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47370 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47371 wxUSE_TOGGLEBTN=no
47372 fi
47373
47374 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47375 cat >>confdefs.h <<\_ACEOF
47376 #define wxUSE_TOGGLEBTN 1
47377 _ACEOF
47378
47379 USES_CONTROLS=1
47380 fi
47381 fi
47382
47383 if test "$wxUSE_TOOLBAR" = "yes"; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_TOOLBAR 1
47386 _ACEOF
47387
47388 USES_CONTROLS=1
47389
47390 if test "$wxUSE_UNIVERSAL" = "yes"; then
47391 wxUSE_TOOLBAR_NATIVE="no"
47392 else
47393 wxUSE_TOOLBAR_NATIVE="yes"
47394 cat >>confdefs.h <<\_ACEOF
47395 #define wxUSE_TOOLBAR_NATIVE 1
47396 _ACEOF
47397
47398 fi
47399
47400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47401 fi
47402
47403 if test "$wxUSE_TOOLTIPS" = "yes"; then
47404 if test "$wxUSE_MOTIF" = 1; then
47405 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47406 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47407 else
47408 if test "$wxUSE_UNIVERSAL" = "yes"; then
47409 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47410 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47411 else
47412 cat >>confdefs.h <<\_ACEOF
47413 #define wxUSE_TOOLTIPS 1
47414 _ACEOF
47415
47416 fi
47417 fi
47418 fi
47419
47420 if test "$wxUSE_TREEBOOK" = "yes"; then
47421 cat >>confdefs.h <<\_ACEOF
47422 #define wxUSE_TREEBOOK 1
47423 _ACEOF
47424
47425 USES_CONTROLS=1
47426 fi
47427
47428 if test "$wxUSE_TOOLBOOK" = "yes"; then
47429 cat >>confdefs.h <<\_ACEOF
47430 #define wxUSE_TOOLBOOK 1
47431 _ACEOF
47432
47433 USES_CONTROLS=1
47434 fi
47435
47436 if test "$wxUSE_TREECTRL" = "yes"; then
47437 if test "$wxUSE_IMAGLIST" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_TREECTRL 1
47440 _ACEOF
47441
47442 USES_CONTROLS=1
47443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47444 else
47445 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47446 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47447 fi
47448 fi
47449
47450 if test "$wxUSE_POPUPWIN" = "yes"; then
47451 if test "$wxUSE_OLD_COCOA" = 1 ; then
47452 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47453 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47454 else
47455 if test "$wxUSE_PM" = 1; then
47456 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47457 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47458 else
47459 cat >>confdefs.h <<\_ACEOF
47460 #define wxUSE_POPUPWIN 1
47461 _ACEOF
47462
47463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47464
47465 USES_CONTROLS=1
47466 fi
47467 fi
47468 fi
47469
47470 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47471 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47472 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47473 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47474 else
47475 cat >>confdefs.h <<\_ACEOF
47476 #define wxUSE_DIALUP_MANAGER 1
47477 _ACEOF
47478
47479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47480 fi
47481 fi
47482
47483 if test "$wxUSE_TIPWINDOW" = "yes"; then
47484 if test "$wxUSE_PM" = 1; then
47485 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47486 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47487 else
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_TIPWINDOW 1
47490 _ACEOF
47491
47492 fi
47493 fi
47494
47495 if test "$USES_CONTROLS" = 1; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_CONTROLS 1
47498 _ACEOF
47499
47500 fi
47501
47502
47503 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_ACCESSIBILITY 1
47506 _ACEOF
47507
47508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47509 fi
47510
47511 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_DRAGIMAGE 1
47514 _ACEOF
47515
47516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47517 fi
47518
47519 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47520 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47521 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47522 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47523 else
47524 cat >>confdefs.h <<\_ACEOF
47525 #define wxUSE_EXCEPTIONS 1
47526 _ACEOF
47527
47528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47529 fi
47530 fi
47531
47532 USE_HTML=0
47533 if test "$wxUSE_HTML" = "yes"; then
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_HTML 1
47536 _ACEOF
47537
47538 USE_HTML=1
47539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47540 fi
47541 if test "$wxUSE_WEBKIT" = "yes"; then
47542 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47543 old_CPPFLAGS="$CPPFLAGS"
47544 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47545 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47546 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47547 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47548 echo $ECHO_N "(cached) $ECHO_C" >&6
47549 else
47550 cat >conftest.$ac_ext <<_ACEOF
47551 /* confdefs.h. */
47552 _ACEOF
47553 cat confdefs.h >>conftest.$ac_ext
47554 cat >>conftest.$ac_ext <<_ACEOF
47555 /* end confdefs.h. */
47556
47557 #include <Carbon/Carbon.h>
47558 #include <WebKit/WebKit.h>
47559
47560
47561 #include <WebKit/HIWebView.h>
47562 _ACEOF
47563 rm -f conftest.$ac_objext
47564 if { (ac_try="$ac_compile"
47565 case "(($ac_try" in
47566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47567 *) ac_try_echo=$ac_try;;
47568 esac
47569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47570 (eval "$ac_compile") 2>conftest.er1
47571 ac_status=$?
47572 grep -v '^ *+' conftest.er1 >conftest.err
47573 rm -f conftest.er1
47574 cat conftest.err >&5
47575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47576 (exit $ac_status); } && {
47577 test -z "$ac_c_werror_flag" ||
47578 test ! -s conftest.err
47579 } && test -s conftest.$ac_objext; then
47580 ac_cv_header_WebKit_HIWebView_h=yes
47581 else
47582 echo "$as_me: failed program was:" >&5
47583 sed 's/^/| /' conftest.$ac_ext >&5
47584
47585 ac_cv_header_WebKit_HIWebView_h=no
47586 fi
47587
47588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47589 fi
47590 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47591 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47592 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47593
47594 cat >>confdefs.h <<\_ACEOF
47595 #define wxUSE_WEBKIT 1
47596 _ACEOF
47597
47598 WEBKIT_LINK="-framework WebKit"
47599
47600 else
47601
47602 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47603 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47604 wxUSE_WEBKIT=no
47605
47606 fi
47607
47608
47609 CPPFLAGS="$old_CPPFLAGS"
47610 elif test "$wxUSE_OLD_COCOA" = 1; then
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_WEBKIT 1
47613 _ACEOF
47614
47615 else
47616 wxUSE_WEBKIT=no
47617 fi
47618 if test "$wxUSE_WEBKIT" = "yes"; then
47619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47620 fi
47621 fi
47622
47623 USE_XRC=0
47624 if test "$wxUSE_XRC" = "yes"; then
47625 if test "$wxUSE_XML" != "yes"; then
47626 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47627 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47628 wxUSE_XRC=no
47629 else
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_XRC 1
47632 _ACEOF
47633
47634 USE_XRC=1
47635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47636 fi
47637 fi
47638
47639 USE_AUI=0
47640 if test "$wxUSE_AUI" = "yes"; then
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_AUI 1
47643 _ACEOF
47644
47645 USE_AUI=1
47646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47647 fi
47648
47649 USE_PROPGRID=0
47650 if test "$wxUSE_PROPGRID" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_PROPGRID 1
47653 _ACEOF
47654
47655 USE_PROPGRID=1
47656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47657 fi
47658
47659 USE_RIBBON=0
47660 if test "$wxUSE_RIBBON" = "yes"; then
47661 cat >>confdefs.h <<\_ACEOF
47662 #define wxUSE_RIBBON 1
47663 _ACEOF
47664
47665 USE_RIBBON=1
47666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47667 fi
47668
47669 USE_STC=0
47670 if test "$wxUSE_STC" = "yes"; then
47671 cat >>confdefs.h <<\_ACEOF
47672 #define wxUSE_STC 1
47673 _ACEOF
47674
47675 USE_STC=1
47676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47677
47678 # Extract the first word of "python", so it can be a program name with args.
47679 set dummy python; ac_word=$2
47680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47682 if test "${ac_cv_path_PYTHON+set}" = set; then
47683 echo $ECHO_N "(cached) $ECHO_C" >&6
47684 else
47685 case $PYTHON in
47686 [\\/]* | ?:[\\/]*)
47687 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47688 ;;
47689 *)
47690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47691 for as_dir in $PATH
47692 do
47693 IFS=$as_save_IFS
47694 test -z "$as_dir" && as_dir=.
47695 for ac_exec_ext in '' $ac_executable_extensions; do
47696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47697 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47699 break 2
47700 fi
47701 done
47702 done
47703 IFS=$as_save_IFS
47704
47705 ;;
47706 esac
47707 fi
47708 PYTHON=$ac_cv_path_PYTHON
47709 if test -n "$PYTHON"; then
47710 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47711 echo "${ECHO_T}$PYTHON" >&6; }
47712 else
47713 { echo "$as_me:$LINENO: result: no" >&5
47714 echo "${ECHO_T}no" >&6; }
47715 fi
47716
47717
47718 if test "x$PYTHON" = "x"; then
47719 COND_PYTHON="#"
47720 fi
47721
47722 fi
47723
47724 if test "$wxUSE_MENUS" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_MENUS 1
47727 _ACEOF
47728
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47730 fi
47731
47732 if test "$wxUSE_METAFILE" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_METAFILE 1
47735 _ACEOF
47736
47737 fi
47738
47739 if test "$wxUSE_MIMETYPE" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_MIMETYPE 1
47742 _ACEOF
47743
47744 fi
47745
47746 if test "$wxUSE_MINIFRAME" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_MINIFRAME 1
47749 _ACEOF
47750
47751 fi
47752
47753 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_SYSTEM_OPTIONS 1
47756 _ACEOF
47757
47758 fi
47759
47760 if test "$wxUSE_TASKBARICON" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_TASKBARICON 1
47763 _ACEOF
47764
47765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47766 fi
47767
47768
47769 if test "$wxUSE_VALIDATORS" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_VALIDATORS 1
47772 _ACEOF
47773
47774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47775 fi
47776
47777 if test "$wxUSE_PALETTE" = "yes" ; then
47778 if test "$wxUSE_DFB" = 1; then
47779 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47780 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47781 wxUSE_PALETTE=no
47782 else
47783 cat >>confdefs.h <<\_ACEOF
47784 #define wxUSE_PALETTE 1
47785 _ACEOF
47786
47787 fi
47788 fi
47789
47790 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47791 LIBS=" -lunicows $LIBS"
47792 fi
47793
47794 USE_RICHTEXT=0
47795 if test "$wxUSE_RICHTEXT" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_RICHTEXT 1
47798 _ACEOF
47799
47800 USE_RICHTEXT=1
47801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47802 fi
47803
47804
47805 if test "$wxUSE_IMAGE" = "yes" ; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_IMAGE 1
47808 _ACEOF
47809
47810
47811 if test "$wxUSE_GIF" = "yes" ; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_GIF 1
47814 _ACEOF
47815
47816 fi
47817
47818 if test "$wxUSE_PCX" = "yes" ; then
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_PCX 1
47821 _ACEOF
47822
47823 fi
47824
47825 if test "$wxUSE_TGA" = "yes" ; then
47826 cat >>confdefs.h <<\_ACEOF
47827 #define wxUSE_TGA 1
47828 _ACEOF
47829
47830 fi
47831
47832 if test "$wxUSE_IFF" = "yes" ; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_IFF 1
47835 _ACEOF
47836
47837 fi
47838
47839 if test "$wxUSE_PNM" = "yes" ; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_PNM 1
47842 _ACEOF
47843
47844 fi
47845
47846 if test "$wxUSE_XPM" = "yes" ; then
47847 cat >>confdefs.h <<\_ACEOF
47848 #define wxUSE_XPM 1
47849 _ACEOF
47850
47851 fi
47852
47853 if test "$wxUSE_ICO_CUR" = "yes" ; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_ICO_CUR 1
47856 _ACEOF
47857
47858 fi
47859 fi
47860
47861
47862 if test "$wxUSE_ABOUTDLG" = "yes"; then
47863 cat >>confdefs.h <<\_ACEOF
47864 #define wxUSE_ABOUTDLG 1
47865 _ACEOF
47866
47867 fi
47868
47869 if test "$wxUSE_CHOICEDLG" = "yes"; then
47870 cat >>confdefs.h <<\_ACEOF
47871 #define wxUSE_CHOICEDLG 1
47872 _ACEOF
47873
47874 fi
47875
47876 if test "$wxUSE_COLOURDLG" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_COLOURDLG 1
47879 _ACEOF
47880
47881 fi
47882
47883 if test "$wxUSE_FILEDLG" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_FILEDLG 1
47886 _ACEOF
47887
47888 fi
47889
47890 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_FINDREPLDLG 1
47893 _ACEOF
47894
47895 fi
47896
47897 if test "$wxUSE_FONTDLG" = "yes"; then
47898 cat >>confdefs.h <<\_ACEOF
47899 #define wxUSE_FONTDLG 1
47900 _ACEOF
47901
47902 fi
47903
47904 if test "$wxUSE_DIRDLG" = "yes"; then
47905 if test "$wxUSE_TREECTRL" != "yes"; then
47906 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47907 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47908 else
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_DIRDLG 1
47911 _ACEOF
47912
47913 fi
47914 fi
47915
47916 if test "$wxUSE_MSGDLG" = "yes"; then
47917 cat >>confdefs.h <<\_ACEOF
47918 #define wxUSE_MSGDLG 1
47919 _ACEOF
47920
47921 fi
47922
47923 if test "$wxUSE_NUMBERDLG" = "yes"; then
47924 cat >>confdefs.h <<\_ACEOF
47925 #define wxUSE_NUMBERDLG 1
47926 _ACEOF
47927
47928 fi
47929
47930 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_PROGRESSDLG 1
47933 _ACEOF
47934
47935 fi
47936
47937 if test "$wxUSE_SPLASH" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_SPLASH 1
47940 _ACEOF
47941
47942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47943 fi
47944
47945 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_STARTUP_TIPS 1
47948 _ACEOF
47949
47950 fi
47951
47952 if test "$wxUSE_TEXTDLG" = "yes"; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_TEXTDLG 1
47955 _ACEOF
47956
47957 fi
47958
47959 if test "$wxUSE_WIZARDDLG" = "yes"; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_WIZARDDLG 1
47962 _ACEOF
47963
47964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47965 fi
47966
47967
47968 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47969 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47970 cat >>confdefs.h <<\_ACEOF
47971 #define wxUSE_OWNER_DRAWN 1
47972 _ACEOF
47973
47974 fi
47975 fi
47976
47977
47978 if test "$wxUSE_MSW" = 1 ; then
47979
47980 if test "$wxUSE_DC_CACHEING" = "yes"; then
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_DC_CACHEING 1
47983 _ACEOF
47984
47985 fi
47986
47987 if test "$wxUSE_DIB" = "yes"; then
47988 cat >>confdefs.h <<\_ACEOF
47989 #define wxUSE_WXDIB 1
47990 _ACEOF
47991
47992 fi
47993
47994 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47995 cat >>confdefs.h <<\_ACEOF
47996 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47997 _ACEOF
47998
47999 fi
48000
48001 if test "$wxUSE_UXTHEME" = "yes"; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_UXTHEME 1
48004 _ACEOF
48005
48006 fi
48007
48008 fi
48009
48010 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48011 cat >>confdefs.h <<\_ACEOF
48012 #define wxUSE_AUTOID_MANAGEMENT 1
48013 _ACEOF
48014
48015 fi
48016
48017 if test "$USE_WIN32" = 1 ; then
48018 if test "$wxUSE_INICONF" = "yes"; then
48019 cat >>confdefs.h <<\_ACEOF
48020 #define wxUSE_INICONF 1
48021 _ACEOF
48022
48023 fi
48024
48025 if test "$wxUSE_REGKEY" = "yes"; then
48026 cat >>confdefs.h <<\_ACEOF
48027 #define wxUSE_REGKEY 1
48028 _ACEOF
48029
48030 fi
48031 fi
48032
48033
48034 if test "$wxUSE_MAC" = 1; then
48035 wxUSE_GRAPHICS_CONTEXT="yes"
48036 fi
48037
48038 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48039 wx_has_graphics=0
48040 if test "$wxUSE_MSW" = 1; then
48041 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48042 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48043 if test "${wx_cv_lib_gdiplus+set}" = set; then
48044 echo $ECHO_N "(cached) $ECHO_C" >&6
48045 else
48046
48047 ac_ext=cpp
48048 ac_cpp='$CXXCPP $CPPFLAGS'
48049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48052
48053 cat >conftest.$ac_ext <<_ACEOF
48054 /* confdefs.h. */
48055 _ACEOF
48056 cat confdefs.h >>conftest.$ac_ext
48057 cat >>conftest.$ac_ext <<_ACEOF
48058 /* end confdefs.h. */
48059 #include <windows.h>
48060 #include <gdiplus.h>
48061 int
48062 main ()
48063 {
48064
48065 using namespace Gdiplus;
48066
48067 ;
48068 return 0;
48069 }
48070 _ACEOF
48071 rm -f conftest.$ac_objext
48072 if { (ac_try="$ac_compile"
48073 case "(($ac_try" in
48074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48075 *) ac_try_echo=$ac_try;;
48076 esac
48077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48078 (eval "$ac_compile") 2>conftest.er1
48079 ac_status=$?
48080 grep -v '^ *+' conftest.er1 >conftest.err
48081 rm -f conftest.er1
48082 cat conftest.err >&5
48083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48084 (exit $ac_status); } && {
48085 test -z "$ac_cxx_werror_flag" ||
48086 test ! -s conftest.err
48087 } && test -s conftest.$ac_objext; then
48088 wx_cv_lib_gdiplus=yes
48089 else
48090 echo "$as_me: failed program was:" >&5
48091 sed 's/^/| /' conftest.$ac_ext >&5
48092
48093 wx_cv_lib_gdiplus=no
48094
48095 fi
48096
48097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48098 ac_ext=c
48099 ac_cpp='$CPP $CPPFLAGS'
48100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48103
48104
48105
48106 fi
48107 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48108 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48109 if test "$wx_cv_lib_gdiplus" = "yes"; then
48110 wx_has_graphics=1
48111 fi
48112 elif test "$wxUSE_GTK" = 1; then
48113
48114 pkg_failed=no
48115 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48116 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48117
48118 if test -n "$PKG_CONFIG"; then
48119 if test -n "$CAIRO_CFLAGS"; then
48120 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48121 else
48122 if test -n "$PKG_CONFIG" && \
48123 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48124 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48125 ac_status=$?
48126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48127 (exit $ac_status); }; then
48128 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48129 else
48130 pkg_failed=yes
48131 fi
48132 fi
48133 else
48134 pkg_failed=untried
48135 fi
48136 if test -n "$PKG_CONFIG"; then
48137 if test -n "$CAIRO_LIBS"; then
48138 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48139 else
48140 if test -n "$PKG_CONFIG" && \
48141 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48142 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48143 ac_status=$?
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); }; then
48146 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48147 else
48148 pkg_failed=yes
48149 fi
48150 fi
48151 else
48152 pkg_failed=untried
48153 fi
48154
48155
48156
48157 if test $pkg_failed = yes; then
48158
48159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48160 _pkg_short_errors_supported=yes
48161 else
48162 _pkg_short_errors_supported=no
48163 fi
48164 if test $_pkg_short_errors_supported = yes; then
48165 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48166 else
48167 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48168 fi
48169 # Put the nasty error message in config.log where it belongs
48170 echo "$CAIRO_PKG_ERRORS" >&5
48171
48172 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48173 echo "$as_me: WARNING: Cairo library not found" >&2;}
48174
48175 elif test $pkg_failed = untried; then
48176 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48177 echo "$as_me: WARNING: Cairo library not found" >&2;}
48178
48179 else
48180 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48181 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48182 { echo "$as_me:$LINENO: result: yes" >&5
48183 echo "${ECHO_T}yes" >&6; }
48184 wx_has_graphics=1
48185 fi
48186 else
48187 wx_has_graphics=1
48188 fi
48189
48190 if test "$wx_has_graphics" = 1; then
48191 cat >>confdefs.h <<\_ACEOF
48192 #define wxUSE_GRAPHICS_CONTEXT 1
48193 _ACEOF
48194
48195 else
48196 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48197 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48198 fi
48199 fi
48200
48201
48202 USE_MEDIA=0
48203
48204 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48205 USE_MEDIA=1
48206
48207 if test "$wxUSE_GTK" = 1; then
48208 wxUSE_GSTREAMER="no"
48209
48210 GST_VERSION_MAJOR=0
48211 GST_VERSION_MINOR=10
48212 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48213
48214 if test "$wxUSE_GSTREAMER8" = "no"; then
48215
48216 pkg_failed=no
48217 { echo "$as_me:$LINENO: checking for GST" >&5
48218 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48219
48220 if test -n "$PKG_CONFIG"; then
48221 if test -n "$GST_CFLAGS"; then
48222 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48223 else
48224 if test -n "$PKG_CONFIG" && \
48225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48226 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48227 ac_status=$?
48228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48229 (exit $ac_status); }; then
48230 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48231 else
48232 pkg_failed=yes
48233 fi
48234 fi
48235 else
48236 pkg_failed=untried
48237 fi
48238 if test -n "$PKG_CONFIG"; then
48239 if test -n "$GST_LIBS"; then
48240 pkg_cv_GST_LIBS="$GST_LIBS"
48241 else
48242 if test -n "$PKG_CONFIG" && \
48243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48244 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48245 ac_status=$?
48246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247 (exit $ac_status); }; then
48248 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48249 else
48250 pkg_failed=yes
48251 fi
48252 fi
48253 else
48254 pkg_failed=untried
48255 fi
48256
48257
48258
48259 if test $pkg_failed = yes; then
48260
48261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48262 _pkg_short_errors_supported=yes
48263 else
48264 _pkg_short_errors_supported=no
48265 fi
48266 if test $_pkg_short_errors_supported = yes; then
48267 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48268 else
48269 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48270 fi
48271 # Put the nasty error message in config.log where it belongs
48272 echo "$GST_PKG_ERRORS" >&5
48273
48274
48275 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48276 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48277 GST_VERSION_MINOR=8
48278
48279
48280 elif test $pkg_failed = untried; then
48281
48282 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48283 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48284 GST_VERSION_MINOR=8
48285
48286
48287 else
48288 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48289 GST_LIBS=$pkg_cv_GST_LIBS
48290 { echo "$as_me:$LINENO: result: yes" >&5
48291 echo "${ECHO_T}yes" >&6; }
48292
48293 wxUSE_GSTREAMER="yes"
48294 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48295
48296 fi
48297 else
48298 GST_VERSION_MINOR=8
48299 fi
48300
48301 if test $GST_VERSION_MINOR = "8"; then
48302 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48303
48304 pkg_failed=no
48305 { echo "$as_me:$LINENO: checking for GST" >&5
48306 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48307
48308 if test -n "$PKG_CONFIG"; then
48309 if test -n "$GST_CFLAGS"; then
48310 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48311 else
48312 if test -n "$PKG_CONFIG" && \
48313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48314 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48315 ac_status=$?
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; then
48318 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48319 else
48320 pkg_failed=yes
48321 fi
48322 fi
48323 else
48324 pkg_failed=untried
48325 fi
48326 if test -n "$PKG_CONFIG"; then
48327 if test -n "$GST_LIBS"; then
48328 pkg_cv_GST_LIBS="$GST_LIBS"
48329 else
48330 if test -n "$PKG_CONFIG" && \
48331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48332 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48333 ac_status=$?
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); }; then
48336 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48337 else
48338 pkg_failed=yes
48339 fi
48340 fi
48341 else
48342 pkg_failed=untried
48343 fi
48344
48345
48346
48347 if test $pkg_failed = yes; then
48348
48349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48350 _pkg_short_errors_supported=yes
48351 else
48352 _pkg_short_errors_supported=no
48353 fi
48354 if test $_pkg_short_errors_supported = yes; then
48355 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48356 else
48357 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48358 fi
48359 # Put the nasty error message in config.log where it belongs
48360 echo "$GST_PKG_ERRORS" >&5
48361
48362
48363 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48364 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48365
48366 elif test $pkg_failed = untried; then
48367
48368 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48369 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48370
48371 else
48372 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48373 GST_LIBS=$pkg_cv_GST_LIBS
48374 { echo "$as_me:$LINENO: result: yes" >&5
48375 echo "${ECHO_T}yes" >&6; }
48376 wxUSE_GSTREAMER="yes"
48377 fi
48378 fi
48379
48380
48381 if test "$wxUSE_GSTREAMER" = "yes"; then
48382 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48383 EXTRALIBS_MEDIA="$GST_LIBS"
48384
48385 cat >>confdefs.h <<\_ACEOF
48386 #define wxUSE_GSTREAMER 1
48387 _ACEOF
48388
48389 else
48390 USE_MEDIA=0
48391 fi
48392 fi
48393
48394 if test $USE_MEDIA = 1; then
48395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48396 cat >>confdefs.h <<\_ACEOF
48397 #define wxUSE_MEDIACTRL 1
48398 _ACEOF
48399
48400 else
48401 if test "$wxUSE_MEDIACTRL" = "yes"; then
48402 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48403 echo "$as_me: error: GStreamer not available" >&2;}
48404 { (exit 1); exit 1; }; }
48405 else
48406 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48407 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48408 fi
48409 fi
48410 fi
48411
48412
48413 if test "$cross_compiling" != "no"; then
48414 OSINFO="\"$host\""
48415 else
48416 OSINFO=`uname -s -r -m`
48417 OSINFO="\"$OSINFO\""
48418 fi
48419
48420 cat >>confdefs.h <<_ACEOF
48421 #define WXWIN_OS_DESCRIPTION $OSINFO
48422 _ACEOF
48423
48424
48425
48426 if test "x$prefix" != "xNONE"; then
48427 wxPREFIX=$prefix
48428 else
48429 wxPREFIX=$ac_default_prefix
48430 fi
48431
48432 cat >>confdefs.h <<_ACEOF
48433 #define wxINSTALL_PREFIX "$wxPREFIX"
48434 _ACEOF
48435
48436
48437
48438
48439 STD_BASE_LIBS="base"
48440 STD_GUI_LIBS=""
48441 BUILT_WX_LIBS="base"
48442 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48443
48444 if test "$wxUSE_SOCKETS" = "yes" ; then
48445 STD_BASE_LIBS="net $STD_BASE_LIBS"
48446 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48447 fi
48448 if test "$wxUSE_XML" = "yes" ; then
48449 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48450 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48451 fi
48452
48453 if test "$wxUSE_GUI" = "yes"; then
48454 STD_GUI_LIBS="adv core"
48455 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48456
48457 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48458 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48459 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48460 fi
48461 if test "$wxUSE_HTML" = "yes" ; then
48462 STD_GUI_LIBS="html $STD_GUI_LIBS"
48463 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48464 fi
48465 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48466 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48467 fi
48468 if test "$wxUSE_OPENGL" = "yes" ; then
48469 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48470 fi
48471 if test "$wxUSE_AUI" = "yes" ; then
48472 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48473 fi
48474 if test "$wxUSE_PROPGRID" = "yes" ; then
48475 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48476 fi
48477 if test "$wxUSE_RIBBON" = "yes" ; then
48478 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48479 fi
48480 if test "$wxUSE_RICHTEXT" = "yes" ; then
48481 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48482 fi
48483 if test "$wxUSE_STC" = "yes" ; then
48484 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48485 fi
48486 if test "$wxUSE_XRC" = "yes" ; then
48487 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48488 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48489 fi
48490 fi
48491
48492
48493
48494
48495
48496
48497
48498 EXTRA_FRAMEWORKS=
48499 if test "$wxUSE_MAC" = 1 ; then
48500 if test "$USE_DARWIN" = 1; then
48501 if test "$wxUSE_OSX_IPHONE" = 1; then
48502 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48503 else
48504 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48505 fi
48506 fi
48507 fi
48508 if test "$wxUSE_OLD_COCOA" = 1 ; then
48509 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48510 if test "$wxUSE_MEDIACTRL" = "yes"; then
48511 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48512 fi
48513 fi
48514 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48515 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48516 fi
48517
48518 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48519 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48520
48521 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48522
48523 if test "$wxUSE_GUI" = "yes"; then
48524
48525
48526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48527 erase event exec font image minimal render \
48528 shaped svg taborder vscroll widgets wrapsizer"
48529
48530 if test "$wxUSE_MONOLITHIC" != "yes"; then
48531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48532 fi
48533 if test "$TOOLKIT" = "MSW"; then
48534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48535 if test "$wxUSE_UNIVERSAL" != "yes"; then
48536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48537 fi
48538 fi
48539 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48541 fi
48542 else
48543 SAMPLES_SUBDIRS="console"
48544 if test "$wxUSE_SOCKETS" = "yes" ; then
48545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48546 fi
48547 if test "$wxUSE_IPC" = "yes" ; then
48548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48549 fi
48550 fi
48551
48552
48553 if test "x$INTELCC" = "xyes" ; then
48554 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48555 elif test "$GCC" = yes ; then
48556 CWARNINGS="-Wall -Wundef"
48557 fi
48558
48559 if test "x$INTELCXX" = "xyes" ; then
48560 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48561 elif test "$GXX" = yes ; then
48562 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48563 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48564 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48565 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48566 echo $ECHO_N "(cached) $ECHO_C" >&6
48567 else
48568 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48569
48570 ac_ext=cpp
48571 ac_cpp='$CXXCPP $CPPFLAGS'
48572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48575
48576 ac_save_CXXFLAGS="$CXXFLAGS"
48577 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48578 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48579 cat >conftest.$ac_ext <<_ACEOF
48580 /* confdefs.h. */
48581 _ACEOF
48582 cat confdefs.h >>conftest.$ac_ext
48583 cat >>conftest.$ac_ext <<_ACEOF
48584 /* end confdefs.h. */
48585
48586 int
48587 main ()
48588 {
48589 return 0;
48590 ;
48591 return 0;
48592 }
48593 _ACEOF
48594 rm -f conftest.$ac_objext
48595 if { (ac_try="$ac_compile"
48596 case "(($ac_try" in
48597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48598 *) ac_try_echo=$ac_try;;
48599 esac
48600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48601 (eval "$ac_compile") 2>conftest.er1
48602 ac_status=$?
48603 grep -v '^ *+' conftest.er1 >conftest.err
48604 rm -f conftest.er1
48605 cat conftest.err >&5
48606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607 (exit $ac_status); } && {
48608 test -z "$ac_cxx_werror_flag" ||
48609 test ! -s conftest.err
48610 } && test -s conftest.$ac_objext; then
48611 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48612 else
48613 echo "$as_me: failed program was:" >&5
48614 sed 's/^/| /' conftest.$ac_ext >&5
48615
48616
48617 fi
48618
48619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48620 done
48621 CXXFLAGS="$ac_save_CXXFLAGS"
48622 ac_ext=c
48623 ac_cpp='$CPP $CPPFLAGS'
48624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48627
48628
48629 fi
48630 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48631 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48632 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48633 .ok|.ok,*) ;;
48634 .|.no|.no,*) ;;
48635 *)
48636 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48637 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48638 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48639 ac_status=$?
48640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48641 (exit $ac_status); }
48642 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48643 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48644 ac_status=$?
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); }
48647 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48648 fi
48649 ;;
48650 esac
48651
48652
48653 if test "$wxUSE_MAC" = 1 ; then
48654 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48655 fi
48656 fi
48657
48658
48659 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48660 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48661
48662
48663 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48664 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48665 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48666 $CPPFLAGS `
48667
48668 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48669 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48670 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48671 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48672 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48673
48674 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48675
48676
48677 if test "x$MWCC" = "xyes"; then
48678
48679 CC="$CC -cwd source -I-"
48680 CXX="$CXX -cwd source -I-"
48681 fi
48682
48683
48684 LIBS=`echo $LIBS`
48685 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48686 EXTRALIBS_XML="$EXPAT_LINK"
48687 EXTRALIBS_HTML="$MSPACK_LINK"
48688 EXTRALIBS_MEDIA="$GST_LIBS"
48689 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48690 if test "$wxUSE_GUI" = "yes"; then
48691 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48692 fi
48693 if test "$wxUSE_OPENGL" = "yes"; then
48694 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48695 fi
48696
48697 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48698
48699 WXCONFIG_LIBS="$LIBS"
48700
48701 if test "$wxUSE_REGEX" = "builtin" ; then
48702 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48703 fi
48704 if test "$wxUSE_EXPAT" = "builtin" ; then
48705 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48706 fi
48707 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48708 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48709 fi
48710 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48711 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48712 fi
48713 if test "$wxUSE_LIBPNG" = "builtin" ; then
48714 wxconfig_3rdparty="png $wxconfig_3rdparty"
48715 fi
48716 if test "$wxUSE_ZLIB" = "builtin" ; then
48717 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48718 fi
48719
48720 for i in $wxconfig_3rdparty ; do
48721 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48722 done
48723
48724
48725 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48726 WXUNIV=1
48727
48728 case "$wxUNIV_THEMES" in
48729 ''|all)
48730 cat >>confdefs.h <<\_ACEOF
48731 #define wxUSE_ALL_THEMES 1
48732 _ACEOF
48733
48734 ;;
48735
48736 *)
48737 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48738 cat >>confdefs.h <<_ACEOF
48739 #define wxUSE_THEME_$t 1
48740 _ACEOF
48741
48742 done
48743 esac
48744 else
48745 WXUNIV=0
48746 fi
48747
48748
48749
48750
48751
48752
48753
48754
48755 if test $wxUSE_MONOLITHIC = "yes" ; then
48756 MONOLITHIC=1
48757 else
48758 MONOLITHIC=0
48759 fi
48760
48761 if test $wxUSE_PLUGINS = "yes" ; then
48762 USE_PLUGINS=1
48763 else
48764 USE_PLUGINS=0
48765 fi
48766
48767 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48768 USE_QA=1
48769 else
48770 USE_QA=0
48771 fi
48772
48773 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48774 OFFICIAL_BUILD=1
48775 else
48776 OFFICIAL_BUILD=0
48777 fi
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816 case "$TOOLKIT" in
48817 GTK)
48818 TOOLKIT_DESC="GTK+"
48819 if test "$WXGTK2" = 1; then
48820 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48821 if test "$wxUSE_GTKPRINT" = "yes" ; then
48822 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48823 fi
48824 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48825 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48826 fi
48827 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48828 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48829 fi
48830 if test "$wxUSE_LIBHILDON" = "yes"; then
48831 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48832 fi
48833 if test "$wxUSE_LIBHILDON2" = "yes"; then
48834 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48835 fi
48836
48837 if test "$TOOLKIT_EXTRA" != ""; then
48838 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48839 fi
48840 fi
48841 ;;
48842
48843 ?*)
48844 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48845 ;;
48846
48847 *)
48848 TOOLKIT_DESC="base only"
48849 ;;
48850 esac
48851
48852 if test "$wxUSE_WINE" = "yes"; then
48853 BAKEFILE_FORCE_PLATFORM=win32
48854 fi
48855
48856 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48857 then
48858 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48859 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48860 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48861 echo $ECHO_N "(cached) $ECHO_C" >&6
48862 else
48863
48864 echo '#include <stdio.h>
48865 const wchar_t test_var[] = L"awidetest";' > conftest.h
48866
48867 echo '#include "conftest.h"
48868 int main()
48869 {
48870 printf("%ls", test_var);
48871 return 0;
48872 }' > conftest.cpp
48873
48874 wx_cv_gcc_pch_bug="pch not supported"
48875
48876 if $CXX conftest.h >/dev/null 2>&1
48877 then
48878 wx_cv_gcc_pch_bug=
48879
48880 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48881 then
48882 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48883 grep awidetest >/dev/null
48884 then
48885 wx_cv_gcc_pch_bug=no
48886 else
48887 wx_cv_gcc_pch_bug=yes
48888 fi
48889 fi
48890 fi
48891
48892 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48893
48894 fi
48895 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48896 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48897
48898 if test "$wx_cv_gcc_pch_bug" = yes; then
48899 bk_use_pch=no
48900 fi
48901 fi
48902
48903
48904
48905
48906
48907
48908
48909 if test "x$BAKEFILE_HOST" = "x"; then
48910 if test "x${host}" = "x" ; then
48911 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48912 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48913 { (exit 1); exit 1; }; }
48914 fi
48915
48916 BAKEFILE_HOST="${host}"
48917 fi
48918
48919 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48920
48921 if test -n "$ac_tool_prefix"; then
48922 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48923 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48926 if test "${ac_cv_prog_RANLIB+set}" = set; then
48927 echo $ECHO_N "(cached) $ECHO_C" >&6
48928 else
48929 if test -n "$RANLIB"; then
48930 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48931 else
48932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48933 for as_dir in $PATH
48934 do
48935 IFS=$as_save_IFS
48936 test -z "$as_dir" && as_dir=.
48937 for ac_exec_ext in '' $ac_executable_extensions; do
48938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48939 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48941 break 2
48942 fi
48943 done
48944 done
48945 IFS=$as_save_IFS
48946
48947 fi
48948 fi
48949 RANLIB=$ac_cv_prog_RANLIB
48950 if test -n "$RANLIB"; then
48951 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48952 echo "${ECHO_T}$RANLIB" >&6; }
48953 else
48954 { echo "$as_me:$LINENO: result: no" >&5
48955 echo "${ECHO_T}no" >&6; }
48956 fi
48957
48958
48959 fi
48960 if test -z "$ac_cv_prog_RANLIB"; then
48961 ac_ct_RANLIB=$RANLIB
48962 # Extract the first word of "ranlib", so it can be a program name with args.
48963 set dummy ranlib; ac_word=$2
48964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48966 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48967 echo $ECHO_N "(cached) $ECHO_C" >&6
48968 else
48969 if test -n "$ac_ct_RANLIB"; then
48970 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48971 else
48972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48973 for as_dir in $PATH
48974 do
48975 IFS=$as_save_IFS
48976 test -z "$as_dir" && as_dir=.
48977 for ac_exec_ext in '' $ac_executable_extensions; do
48978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48979 ac_cv_prog_ac_ct_RANLIB="ranlib"
48980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48981 break 2
48982 fi
48983 done
48984 done
48985 IFS=$as_save_IFS
48986
48987 fi
48988 fi
48989 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48990 if test -n "$ac_ct_RANLIB"; then
48991 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48992 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48993 else
48994 { echo "$as_me:$LINENO: result: no" >&5
48995 echo "${ECHO_T}no" >&6; }
48996 fi
48997
48998 if test "x$ac_ct_RANLIB" = x; then
48999 RANLIB=":"
49000 else
49001 case $cross_compiling:$ac_tool_warned in
49002 yes:)
49003 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49004 whose name does not start with the host triplet. If you think this
49005 configuration is useful to you, please write to autoconf@gnu.org." >&5
49006 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49007 whose name does not start with the host triplet. If you think this
49008 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49009 ac_tool_warned=yes ;;
49010 esac
49011 RANLIB=$ac_ct_RANLIB
49012 fi
49013 else
49014 RANLIB="$ac_cv_prog_RANLIB"
49015 fi
49016
49017 # Find a good install program. We prefer a C program (faster),
49018 # so one script is as good as another. But avoid the broken or
49019 # incompatible versions:
49020 # SysV /etc/install, /usr/sbin/install
49021 # SunOS /usr/etc/install
49022 # IRIX /sbin/install
49023 # AIX /bin/install
49024 # AmigaOS /C/install, which installs bootblocks on floppy discs
49025 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49026 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49027 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49028 # OS/2's system install, which has a completely different semantic
49029 # ./install, which can be erroneously created by make from ./install.sh.
49030 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49031 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49032 if test -z "$INSTALL"; then
49033 if test "${ac_cv_path_install+set}" = set; then
49034 echo $ECHO_N "(cached) $ECHO_C" >&6
49035 else
49036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49037 for as_dir in $PATH
49038 do
49039 IFS=$as_save_IFS
49040 test -z "$as_dir" && as_dir=.
49041 # Account for people who put trailing slashes in PATH elements.
49042 case $as_dir/ in
49043 ./ | .// | /cC/* | \
49044 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49045 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49046 /usr/ucb/* ) ;;
49047 *)
49048 # OSF1 and SCO ODT 3.0 have their own names for install.
49049 # Don't use installbsd from OSF since it installs stuff as root
49050 # by default.
49051 for ac_prog in ginstall scoinst install; do
49052 for ac_exec_ext in '' $ac_executable_extensions; do
49053 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49054 if test $ac_prog = install &&
49055 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49056 # AIX install. It has an incompatible calling convention.
49057 :
49058 elif test $ac_prog = install &&
49059 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49060 # program-specific install script used by HP pwplus--don't use.
49061 :
49062 else
49063 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49064 break 3
49065 fi
49066 fi
49067 done
49068 done
49069 ;;
49070 esac
49071 done
49072 IFS=$as_save_IFS
49073
49074
49075 fi
49076 if test "${ac_cv_path_install+set}" = set; then
49077 INSTALL=$ac_cv_path_install
49078 else
49079 # As a last resort, use the slow shell script. Don't cache a
49080 # value for INSTALL within a source directory, because that will
49081 # break other packages using the cache if that directory is
49082 # removed, or if the value is a relative name.
49083 INSTALL=$ac_install_sh
49084 fi
49085 fi
49086 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49087 echo "${ECHO_T}$INSTALL" >&6; }
49088
49089 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49090 # It thinks the first close brace ends the variable substitution.
49091 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49092
49093 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49094
49095 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49096
49097 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49098 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49099 LN_S=$as_ln_s
49100 if test "$LN_S" = "ln -s"; then
49101 { echo "$as_me:$LINENO: result: yes" >&5
49102 echo "${ECHO_T}yes" >&6; }
49103 else
49104 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49105 echo "${ECHO_T}no, using $LN_S" >&6; }
49106 fi
49107
49108
49109 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49110 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49111 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49112 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49113 echo $ECHO_N "(cached) $ECHO_C" >&6
49114 else
49115 cat >conftest.make <<\_ACEOF
49116 SHELL = /bin/sh
49117 all:
49118 @echo '@@@%%%=$(MAKE)=@@@%%%'
49119 _ACEOF
49120 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49121 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49122 *@@@%%%=?*=@@@%%%*)
49123 eval ac_cv_prog_make_${ac_make}_set=yes;;
49124 *)
49125 eval ac_cv_prog_make_${ac_make}_set=no;;
49126 esac
49127 rm -f conftest.make
49128 fi
49129 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49130 { echo "$as_me:$LINENO: result: yes" >&5
49131 echo "${ECHO_T}yes" >&6; }
49132 SET_MAKE=
49133 else
49134 { echo "$as_me:$LINENO: result: no" >&5
49135 echo "${ECHO_T}no" >&6; }
49136 SET_MAKE="MAKE=${MAKE-make}"
49137 fi
49138
49139
49140
49141 if test "x$SUNCXX" = "xyes"; then
49142 AR=$CXX
49143 AROPTIONS="-xar -o"
49144
49145 elif test "x$SGICC" = "xyes"; then
49146 AR=$CXX
49147 AROPTIONS="-ar -o"
49148
49149 else
49150 if test -n "$ac_tool_prefix"; then
49151 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49152 set dummy ${ac_tool_prefix}ar; ac_word=$2
49153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49155 if test "${ac_cv_prog_AR+set}" = set; then
49156 echo $ECHO_N "(cached) $ECHO_C" >&6
49157 else
49158 if test -n "$AR"; then
49159 ac_cv_prog_AR="$AR" # Let the user override the test.
49160 else
49161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49162 for as_dir in $PATH
49163 do
49164 IFS=$as_save_IFS
49165 test -z "$as_dir" && as_dir=.
49166 for ac_exec_ext in '' $ac_executable_extensions; do
49167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49168 ac_cv_prog_AR="${ac_tool_prefix}ar"
49169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49170 break 2
49171 fi
49172 done
49173 done
49174 IFS=$as_save_IFS
49175
49176 fi
49177 fi
49178 AR=$ac_cv_prog_AR
49179 if test -n "$AR"; then
49180 { echo "$as_me:$LINENO: result: $AR" >&5
49181 echo "${ECHO_T}$AR" >&6; }
49182 else
49183 { echo "$as_me:$LINENO: result: no" >&5
49184 echo "${ECHO_T}no" >&6; }
49185 fi
49186
49187
49188 fi
49189 if test -z "$ac_cv_prog_AR"; then
49190 ac_ct_AR=$AR
49191 # Extract the first word of "ar", so it can be a program name with args.
49192 set dummy ar; ac_word=$2
49193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49195 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49196 echo $ECHO_N "(cached) $ECHO_C" >&6
49197 else
49198 if test -n "$ac_ct_AR"; then
49199 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49200 else
49201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49202 for as_dir in $PATH
49203 do
49204 IFS=$as_save_IFS
49205 test -z "$as_dir" && as_dir=.
49206 for ac_exec_ext in '' $ac_executable_extensions; do
49207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49208 ac_cv_prog_ac_ct_AR="ar"
49209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49210 break 2
49211 fi
49212 done
49213 done
49214 IFS=$as_save_IFS
49215
49216 fi
49217 fi
49218 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49219 if test -n "$ac_ct_AR"; then
49220 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49221 echo "${ECHO_T}$ac_ct_AR" >&6; }
49222 else
49223 { echo "$as_me:$LINENO: result: no" >&5
49224 echo "${ECHO_T}no" >&6; }
49225 fi
49226
49227 if test "x$ac_ct_AR" = x; then
49228 AR="ar"
49229 else
49230 case $cross_compiling:$ac_tool_warned in
49231 yes:)
49232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49233 whose name does not start with the host triplet. If you think this
49234 configuration is useful to you, please write to autoconf@gnu.org." >&5
49235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49236 whose name does not start with the host triplet. If you think this
49237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49238 ac_tool_warned=yes ;;
49239 esac
49240 AR=$ac_ct_AR
49241 fi
49242 else
49243 AR="$ac_cv_prog_AR"
49244 fi
49245
49246 AROPTIONS=rcu
49247 fi
49248
49249
49250 if test -n "$ac_tool_prefix"; then
49251 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49252 set dummy ${ac_tool_prefix}strip; ac_word=$2
49253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49255 if test "${ac_cv_prog_STRIP+set}" = set; then
49256 echo $ECHO_N "(cached) $ECHO_C" >&6
49257 else
49258 if test -n "$STRIP"; then
49259 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49260 else
49261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49262 for as_dir in $PATH
49263 do
49264 IFS=$as_save_IFS
49265 test -z "$as_dir" && as_dir=.
49266 for ac_exec_ext in '' $ac_executable_extensions; do
49267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49268 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49270 break 2
49271 fi
49272 done
49273 done
49274 IFS=$as_save_IFS
49275
49276 fi
49277 fi
49278 STRIP=$ac_cv_prog_STRIP
49279 if test -n "$STRIP"; then
49280 { echo "$as_me:$LINENO: result: $STRIP" >&5
49281 echo "${ECHO_T}$STRIP" >&6; }
49282 else
49283 { echo "$as_me:$LINENO: result: no" >&5
49284 echo "${ECHO_T}no" >&6; }
49285 fi
49286
49287
49288 fi
49289 if test -z "$ac_cv_prog_STRIP"; then
49290 ac_ct_STRIP=$STRIP
49291 # Extract the first word of "strip", so it can be a program name with args.
49292 set dummy strip; ac_word=$2
49293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49295 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49296 echo $ECHO_N "(cached) $ECHO_C" >&6
49297 else
49298 if test -n "$ac_ct_STRIP"; then
49299 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49300 else
49301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49302 for as_dir in $PATH
49303 do
49304 IFS=$as_save_IFS
49305 test -z "$as_dir" && as_dir=.
49306 for ac_exec_ext in '' $ac_executable_extensions; do
49307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49308 ac_cv_prog_ac_ct_STRIP="strip"
49309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49310 break 2
49311 fi
49312 done
49313 done
49314 IFS=$as_save_IFS
49315
49316 fi
49317 fi
49318 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49319 if test -n "$ac_ct_STRIP"; then
49320 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49321 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49322 else
49323 { echo "$as_me:$LINENO: result: no" >&5
49324 echo "${ECHO_T}no" >&6; }
49325 fi
49326
49327 if test "x$ac_ct_STRIP" = x; then
49328 STRIP=":"
49329 else
49330 case $cross_compiling:$ac_tool_warned in
49331 yes:)
49332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49333 whose name does not start with the host triplet. If you think this
49334 configuration is useful to you, please write to autoconf@gnu.org." >&5
49335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49336 whose name does not start with the host triplet. If you think this
49337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49338 ac_tool_warned=yes ;;
49339 esac
49340 STRIP=$ac_ct_STRIP
49341 fi
49342 else
49343 STRIP="$ac_cv_prog_STRIP"
49344 fi
49345
49346 if test -n "$ac_tool_prefix"; then
49347 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49348 set dummy ${ac_tool_prefix}nm; ac_word=$2
49349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49351 if test "${ac_cv_prog_NM+set}" = set; then
49352 echo $ECHO_N "(cached) $ECHO_C" >&6
49353 else
49354 if test -n "$NM"; then
49355 ac_cv_prog_NM="$NM" # Let the user override the test.
49356 else
49357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49358 for as_dir in $PATH
49359 do
49360 IFS=$as_save_IFS
49361 test -z "$as_dir" && as_dir=.
49362 for ac_exec_ext in '' $ac_executable_extensions; do
49363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49364 ac_cv_prog_NM="${ac_tool_prefix}nm"
49365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49366 break 2
49367 fi
49368 done
49369 done
49370 IFS=$as_save_IFS
49371
49372 fi
49373 fi
49374 NM=$ac_cv_prog_NM
49375 if test -n "$NM"; then
49376 { echo "$as_me:$LINENO: result: $NM" >&5
49377 echo "${ECHO_T}$NM" >&6; }
49378 else
49379 { echo "$as_me:$LINENO: result: no" >&5
49380 echo "${ECHO_T}no" >&6; }
49381 fi
49382
49383
49384 fi
49385 if test -z "$ac_cv_prog_NM"; then
49386 ac_ct_NM=$NM
49387 # Extract the first word of "nm", so it can be a program name with args.
49388 set dummy nm; ac_word=$2
49389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49391 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49392 echo $ECHO_N "(cached) $ECHO_C" >&6
49393 else
49394 if test -n "$ac_ct_NM"; then
49395 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49396 else
49397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49398 for as_dir in $PATH
49399 do
49400 IFS=$as_save_IFS
49401 test -z "$as_dir" && as_dir=.
49402 for ac_exec_ext in '' $ac_executable_extensions; do
49403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49404 ac_cv_prog_ac_ct_NM="nm"
49405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49406 break 2
49407 fi
49408 done
49409 done
49410 IFS=$as_save_IFS
49411
49412 fi
49413 fi
49414 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49415 if test -n "$ac_ct_NM"; then
49416 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49417 echo "${ECHO_T}$ac_ct_NM" >&6; }
49418 else
49419 { echo "$as_me:$LINENO: result: no" >&5
49420 echo "${ECHO_T}no" >&6; }
49421 fi
49422
49423 if test "x$ac_ct_NM" = x; then
49424 NM=":"
49425 else
49426 case $cross_compiling:$ac_tool_warned in
49427 yes:)
49428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49429 whose name does not start with the host triplet. If you think this
49430 configuration is useful to you, please write to autoconf@gnu.org." >&5
49431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49432 whose name does not start with the host triplet. If you think this
49433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49434 ac_tool_warned=yes ;;
49435 esac
49436 NM=$ac_ct_NM
49437 fi
49438 else
49439 NM="$ac_cv_prog_NM"
49440 fi
49441
49442
49443 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49444 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49445 INSTALL_TEST_DIR=acbftest$$
49446 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49447 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49448 rmdir $INSTALL_TEST_DIR
49449 INSTALL_DIR='$(INSTALL) -d'
49450 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49451 echo "${ECHO_T}$INSTALL -d" >&6; }
49452 else
49453 INSTALL_DIR="mkdir -p"
49454 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49455 echo "${ECHO_T}mkdir -p" >&6; }
49456 fi
49457
49458
49459 LDFLAGS_GUI=
49460 case ${BAKEFILE_HOST} in
49461 *-*-cygwin* | *-*-mingw32* )
49462 LDFLAGS_GUI="-mwindows"
49463 esac
49464
49465
49466 fi
49467
49468 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49469 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49470 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49471 echo $ECHO_N "(cached) $ECHO_C" >&6
49472 else
49473
49474 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49475 egrep -s GNU > /dev/null); then
49476 bakefile_cv_prog_makeisgnu="yes"
49477 else
49478 bakefile_cv_prog_makeisgnu="no"
49479 fi
49480
49481 fi
49482 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49483 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49484
49485 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49486 IF_GNU_MAKE=""
49487 else
49488 IF_GNU_MAKE="#"
49489 fi
49490
49491
49492
49493 PLATFORM_UNIX=0
49494 PLATFORM_WIN32=0
49495 PLATFORM_MSDOS=0
49496 PLATFORM_MAC=0
49497 PLATFORM_MACOS=0
49498 PLATFORM_MACOSX=0
49499 PLATFORM_OS2=0
49500 PLATFORM_BEOS=0
49501
49502 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49503 case "${BAKEFILE_HOST}" in
49504 *-*-mingw32* )
49505 PLATFORM_WIN32=1
49506 ;;
49507 *-pc-msdosdjgpp )
49508 PLATFORM_MSDOS=1
49509 ;;
49510 *-pc-os2_emx | *-pc-os2-emx )
49511 PLATFORM_OS2=1
49512 ;;
49513 *-*-darwin* )
49514 PLATFORM_MAC=1
49515 PLATFORM_MACOSX=1
49516 ;;
49517 *-*-beos* )
49518 PLATFORM_BEOS=1
49519 ;;
49520 powerpc-apple-macos* )
49521 PLATFORM_MAC=1
49522 PLATFORM_MACOS=1
49523 ;;
49524 * )
49525 PLATFORM_UNIX=1
49526 ;;
49527 esac
49528 else
49529 case "$BAKEFILE_FORCE_PLATFORM" in
49530 win32 )
49531 PLATFORM_WIN32=1
49532 ;;
49533 msdos )
49534 PLATFORM_MSDOS=1
49535 ;;
49536 os2 )
49537 PLATFORM_OS2=1
49538 ;;
49539 darwin )
49540 PLATFORM_MAC=1
49541 PLATFORM_MACOSX=1
49542 ;;
49543 unix )
49544 PLATFORM_UNIX=1
49545 ;;
49546 beos )
49547 PLATFORM_BEOS=1
49548 ;;
49549 * )
49550 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49551 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49552 { (exit 1); exit 1; }; }
49553 ;;
49554 esac
49555 fi
49556
49557
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567 # Check whether --enable-omf was given.
49568 if test "${enable_omf+set}" = set; then
49569 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49570 fi
49571
49572
49573 case "${BAKEFILE_HOST}" in
49574 *-*-darwin* )
49575 if test "x$GCC" = "xyes"; then
49576 CFLAGS="$CFLAGS -fno-common"
49577 CXXFLAGS="$CXXFLAGS -fno-common"
49578 fi
49579 if test "x$XLCC" = "xyes"; then
49580 CFLAGS="$CFLAGS -qnocommon"
49581 CXXFLAGS="$CXXFLAGS -qnocommon"
49582 fi
49583 ;;
49584
49585 *-pc-os2_emx | *-pc-os2-emx )
49586 if test "x$bk_os2_use_omf" = "xyes" ; then
49587 AR=emxomfar
49588 RANLIB=:
49589 LDFLAGS="-Zomf $LDFLAGS"
49590 CFLAGS="-Zomf $CFLAGS"
49591 CXXFLAGS="-Zomf $CXXFLAGS"
49592 OS2_LIBEXT="lib"
49593 else
49594 OS2_LIBEXT="a"
49595 fi
49596 ;;
49597
49598 i*86-*-beos* )
49599 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49600 ;;
49601 esac
49602
49603
49604 SO_SUFFIX="so"
49605 SO_SUFFIX_MODULE="so"
49606 EXEEXT=""
49607 LIBPREFIX="lib"
49608 LIBEXT=".a"
49609 DLLPREFIX="lib"
49610 DLLPREFIX_MODULE=""
49611 DLLIMP_SUFFIX=""
49612 dlldir="$libdir"
49613
49614 case "${BAKEFILE_HOST}" in
49615 ia64-hp-hpux* )
49616 ;;
49617 *-hp-hpux* )
49618 SO_SUFFIX="sl"
49619 SO_SUFFIX_MODULE="sl"
49620 ;;
49621 *-*-aix* )
49622 SO_SUFFIX="a"
49623 SO_SUFFIX_MODULE="a"
49624 ;;
49625 *-*-cygwin* )
49626 SO_SUFFIX="dll"
49627 SO_SUFFIX_MODULE="dll"
49628 DLLIMP_SUFFIX="dll.a"
49629 EXEEXT=".exe"
49630 DLLPREFIX="cyg"
49631 dlldir="$bindir"
49632 ;;
49633 *-*-mingw32* )
49634 SO_SUFFIX="dll"
49635 SO_SUFFIX_MODULE="dll"
49636 DLLIMP_SUFFIX="dll.a"
49637 EXEEXT=".exe"
49638 DLLPREFIX=""
49639 dlldir="$bindir"
49640 ;;
49641 *-pc-msdosdjgpp )
49642 EXEEXT=".exe"
49643 DLLPREFIX=""
49644 dlldir="$bindir"
49645 ;;
49646 *-pc-os2_emx | *-pc-os2-emx )
49647 SO_SUFFIX="dll"
49648 SO_SUFFIX_MODULE="dll"
49649 DLLIMP_SUFFIX=$OS2_LIBEXT
49650 EXEEXT=".exe"
49651 DLLPREFIX=""
49652 LIBPREFIX=""
49653 LIBEXT=".$OS2_LIBEXT"
49654 dlldir="$bindir"
49655 ;;
49656 *-*-darwin* )
49657 SO_SUFFIX="dylib"
49658 SO_SUFFIX_MODULE="bundle"
49659 ;;
49660 esac
49661
49662 if test "x$DLLIMP_SUFFIX" = "x" ; then
49663 DLLIMP_SUFFIX="$SO_SUFFIX"
49664 fi
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677 PIC_FLAG=""
49678 if test "x$GCC" = "xyes"; then
49679 PIC_FLAG="-fPIC"
49680 fi
49681
49682 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49683 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49684 WINDOWS_IMPLIB=0
49685
49686 case "${BAKEFILE_HOST}" in
49687 *-hp-hpux* )
49688 if test "x$GCC" != "xyes"; then
49689 LDFLAGS="$LDFLAGS -L/usr/lib"
49690
49691 SHARED_LD_CC="${CC} -b -o"
49692 SHARED_LD_CXX="${CXX} -b -o"
49693 PIC_FLAG="+Z"
49694 fi
49695 ;;
49696
49697 *-*-linux* )
49698 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49699 PIC_FLAG="-KPIC"
49700 elif test "x$SUNCXX" = "xyes"; then
49701 SHARED_LD_CC="${CC} -G -o"
49702 SHARED_LD_CXX="${CXX} -G -o"
49703 PIC_FLAG="-KPIC"
49704 fi
49705 ;;
49706
49707 *-*-solaris2* )
49708 if test "x$SUNCXX" = xyes ; then
49709 SHARED_LD_CC="${CC} -G -o"
49710 SHARED_LD_CXX="${CXX} -G -o"
49711 PIC_FLAG="-KPIC"
49712 fi
49713 ;;
49714
49715 *-*-darwin* )
49716
49717 D='$'
49718 cat <<EOF >shared-ld-sh
49719 #!/bin/sh
49720 #-----------------------------------------------------------------------------
49721 #-- Name: distrib/mac/shared-ld-sh
49722 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49723 #-- Author: Gilles Depeyrot
49724 #-- Copyright: (c) 2002 Gilles Depeyrot
49725 #-- Licence: any use permitted
49726 #-----------------------------------------------------------------------------
49727
49728 verbose=0
49729 args=""
49730 objects=""
49731 linking_flag="-dynamiclib"
49732 ldargs="-r -keep_private_externs -nostdlib"
49733
49734 if test "x${D}CXX" = "x"; then
49735 CXX="c++"
49736 fi
49737
49738 while test ${D}# -gt 0; do
49739 case ${D}1 in
49740
49741 -v)
49742 verbose=1
49743 ;;
49744
49745 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49746 # collect these options and values
49747 args="${D}{args} ${D}1 ${D}2"
49748 shift
49749 ;;
49750
49751 -arch|-isysroot)
49752 # collect these options and values
49753 ldargs="${D}{ldargs} ${D}1 ${D}2"
49754 shift
49755 ;;
49756
49757 -s|-Wl,*)
49758 # collect these load args
49759 ldargs="${D}{ldargs} ${D}1"
49760 ;;
49761
49762 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49763 # collect these options
49764 args="${D}{args} ${D}1"
49765 ;;
49766
49767 -dynamiclib|-bundle)
49768 linking_flag="${D}1"
49769 ;;
49770
49771 -*)
49772 echo "shared-ld: unhandled option '${D}1'"
49773 exit 1
49774 ;;
49775
49776 *.o | *.a | *.dylib)
49777 # collect object files
49778 objects="${D}{objects} ${D}1"
49779 ;;
49780
49781 *)
49782 echo "shared-ld: unhandled argument '${D}1'"
49783 exit 1
49784 ;;
49785
49786 esac
49787 shift
49788 done
49789
49790 status=0
49791
49792 #
49793 # Link one module containing all the others
49794 #
49795 if test ${D}{verbose} = 1; then
49796 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49797 fi
49798 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49799 status=${D}?
49800
49801 #
49802 # Link the shared library from the single module created, but only if the
49803 # previous command didn't fail:
49804 #
49805 if test ${D}{status} = 0; then
49806 if test ${D}{verbose} = 1; then
49807 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49808 fi
49809 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49810 status=${D}?
49811 fi
49812
49813 #
49814 # Remove intermediate module
49815 #
49816 rm -f master.${D}${D}.o
49817
49818 exit ${D}status
49819 EOF
49820
49821 chmod +x shared-ld-sh
49822
49823 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49824 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49825
49826
49827 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49828 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49829 if test "${bakefile_cv_gcc31+set}" = set; then
49830 echo $ECHO_N "(cached) $ECHO_C" >&6
49831 else
49832
49833 cat >conftest.$ac_ext <<_ACEOF
49834 /* confdefs.h. */
49835 _ACEOF
49836 cat confdefs.h >>conftest.$ac_ext
49837 cat >>conftest.$ac_ext <<_ACEOF
49838 /* end confdefs.h. */
49839
49840 int
49841 main ()
49842 {
49843
49844 #if (__GNUC__ < 3) || \
49845 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49846 This is old gcc
49847 #endif
49848
49849 ;
49850 return 0;
49851 }
49852 _ACEOF
49853 rm -f conftest.$ac_objext
49854 if { (ac_try="$ac_compile"
49855 case "(($ac_try" in
49856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49857 *) ac_try_echo=$ac_try;;
49858 esac
49859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49860 (eval "$ac_compile") 2>conftest.er1
49861 ac_status=$?
49862 grep -v '^ *+' conftest.er1 >conftest.err
49863 rm -f conftest.er1
49864 cat conftest.err >&5
49865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49866 (exit $ac_status); } && {
49867 test -z "$ac_c_werror_flag" ||
49868 test ! -s conftest.err
49869 } && test -s conftest.$ac_objext; then
49870
49871 bakefile_cv_gcc31=yes
49872
49873 else
49874 echo "$as_me: failed program was:" >&5
49875 sed 's/^/| /' conftest.$ac_ext >&5
49876
49877
49878 bakefile_cv_gcc31=no
49879
49880
49881 fi
49882
49883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49884
49885 fi
49886 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49887 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49888 if test "$bakefile_cv_gcc31" = "no"; then
49889 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49890 SHARED_LD_CXX="$SHARED_LD_CC"
49891 else
49892 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49893 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49894 fi
49895
49896 if test "x$GCC" == "xyes"; then
49897 PIC_FLAG="-dynamic -fPIC"
49898 fi
49899 if test "x$XLCC" = "xyes"; then
49900 PIC_FLAG="-dynamic -DPIC"
49901 fi
49902 ;;
49903
49904 *-*-aix* )
49905 if test "x$GCC" = "xyes"; then
49906 PIC_FLAG=""
49907
49908 case "${BAKEFILE_HOST}" in
49909 *-*-aix5* )
49910 LD_EXPFULL="-Wl,-bexpfull"
49911 ;;
49912 esac
49913
49914 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49915 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49916 else
49917 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49918 set dummy makeC++SharedLib; ac_word=$2
49919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49921 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49922 echo $ECHO_N "(cached) $ECHO_C" >&6
49923 else
49924 if test -n "$AIX_CXX_LD"; then
49925 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49926 else
49927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49928 for as_dir in $PATH
49929 do
49930 IFS=$as_save_IFS
49931 test -z "$as_dir" && as_dir=.
49932 for ac_exec_ext in '' $ac_executable_extensions; do
49933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49934 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49936 break 2
49937 fi
49938 done
49939 done
49940 IFS=$as_save_IFS
49941
49942 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49943 fi
49944 fi
49945 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49946 if test -n "$AIX_CXX_LD"; then
49947 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49948 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49949 else
49950 { echo "$as_me:$LINENO: result: no" >&5
49951 echo "${ECHO_T}no" >&6; }
49952 fi
49953
49954
49955 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49956 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49957 fi
49958 ;;
49959
49960 *-*-beos* )
49961 SHARED_LD_CC="${LD} -nostart -o"
49962 SHARED_LD_CXX="${LD} -nostart -o"
49963 ;;
49964
49965 *-*-irix* )
49966 if test "x$GCC" != "xyes"; then
49967 PIC_FLAG="-KPIC"
49968 fi
49969 ;;
49970
49971 *-*-cygwin* | *-*-mingw32* )
49972 PIC_FLAG=""
49973 SHARED_LD_CC="\$(CC) -shared -o"
49974 SHARED_LD_CXX="\$(CXX) -shared -o"
49975 WINDOWS_IMPLIB=1
49976 ;;
49977
49978 *-pc-os2_emx | *-pc-os2-emx )
49979 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49980 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49981 PIC_FLAG=""
49982
49983 D='$'
49984 cat <<EOF >dllar.sh
49985 #!/bin/sh
49986 #
49987 # dllar - a tool to build both a .dll and an .a file
49988 # from a set of object (.o) files for EMX/OS2.
49989 #
49990 # Written by Andrew Zabolotny, bit@freya.etu.ru
49991 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49992 #
49993 # This script will accept a set of files on the command line.
49994 # All the public symbols from the .o files will be exported into
49995 # a .DEF file, then linker will be run (through gcc) against them to
49996 # build a shared library consisting of all given .o files. All libraries
49997 # (.a) will be first decompressed into component .o files then act as
49998 # described above. You can optionally give a description (-d "description")
49999 # which will be put into .DLL. To see the list of accepted options (as well
50000 # as command-line format) simply run this program without options. The .DLL
50001 # is built to be imported by name (there is no guarantee that new versions
50002 # of the library you build will have same ordinals for same symbols).
50003 #
50004 # dllar is free software; you can redistribute it and/or modify
50005 # it under the terms of the GNU General Public License as published by
50006 # the Free Software Foundation; either version 2, or (at your option)
50007 # any later version.
50008 #
50009 # dllar is distributed in the hope that it will be useful,
50010 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50011 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50012 # GNU General Public License for more details.
50013 #
50014 # You should have received a copy of the GNU General Public License
50015 # along with dllar; see the file COPYING. If not, write to the Free
50016 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50017 # 02111-1307, USA.
50018
50019 # To successfuly run this program you will need:
50020 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50021 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50022 # - gcc
50023 # (used to build the .dll)
50024 # - emxexp
50025 # (used to create .def file from .o files)
50026 # - emximp
50027 # (used to create .a file from .def file)
50028 # - GNU text utilites (cat, sort, uniq)
50029 # used to process emxexp output
50030 # - GNU file utilities (mv, rm)
50031 # - GNU sed
50032 # - lxlite (optional, see flag below)
50033 # (used for general .dll cleanup)
50034 #
50035
50036 flag_USE_LXLITE=1;
50037
50038 #
50039 # helper functions
50040 # basnam, variant of basename, which does _not_ remove the path, _iff_
50041 # second argument (suffix to remove) is given
50042 basnam(){
50043 case ${D}# in
50044 1)
50045 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50046 ;;
50047 2)
50048 echo ${D}1 | sed 's/'${D}2'${D}//'
50049 ;;
50050 *)
50051 echo "error in basnam ${D}*"
50052 exit 8
50053 ;;
50054 esac
50055 }
50056
50057 # Cleanup temporary files and output
50058 CleanUp() {
50059 cd ${D}curDir
50060 for i in ${D}inputFiles ; do
50061 case ${D}i in
50062 *!)
50063 rm -rf \`basnam ${D}i !\`
50064 ;;
50065 *)
50066 ;;
50067 esac
50068 done
50069
50070 # Kill result in case of failure as there is just to many stupid make/nmake
50071 # things out there which doesn't do this.
50072 if [ ${D}# -eq 0 ]; then
50073 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50074 fi
50075 }
50076
50077 # Print usage and exit script with rc=1.
50078 PrintHelp() {
50079 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50080 echo ' [-name-mangler-script script.sh]'
50081 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50082 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50083 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50084 echo ' [*.o] [*.a]'
50085 echo '*> "output_file" should have no extension.'
50086 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50087 echo ' The import library name is derived from this and is set to "name".a,'
50088 echo ' unless overridden by -import'
50089 echo '*> "importlib_name" should have no extension.'
50090 echo ' If it has the .o, or .a extension, it is automatically removed.'
50091 echo ' This name is used as the import library name and may be longer and'
50092 echo ' more descriptive than the DLL name which has to follow the old '
50093 echo ' 8.3 convention of FAT.'
50094 echo '*> "script.sh may be given to override the output_file name by a'
50095 echo ' different name. It is mainly useful if the regular make process'
50096 echo ' of some package does not take into account OS/2 restriction of'
50097 echo ' DLL name lengths. It takes the importlib name as input and is'
50098 echo ' supposed to procude a shorter name as output. The script should'
50099 echo ' expect to get importlib_name without extension and should produce'
50100 echo ' a (max.) 8 letter name without extension.'
50101 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50102 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50103 echo ' These flags will be put at the start of GCC command line.'
50104 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50105 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50106 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50107 echo ' If the last character of a symbol is "*", all symbols beginning'
50108 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50109 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50110 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50111 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50112 echo ' C runtime DLLs.'
50113 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50114 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50115 echo ' unchanged to GCC at the end of command line.'
50116 echo '*> If you create a DLL from a library and you do not specify -o,'
50117 echo ' the basename for DLL and import library will be set to library name,'
50118 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50119 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50120 echo ' library will be renamed into gcc_s.a.'
50121 echo '--------'
50122 echo 'Example:'
50123 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50124 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50125 CleanUp
50126 exit 1
50127 }
50128
50129 # Execute a command.
50130 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50131 # @Uses Whatever CleanUp() uses.
50132 doCommand() {
50133 echo "${D}*"
50134 eval ${D}*
50135 rcCmd=${D}?
50136
50137 if [ ${D}rcCmd -ne 0 ]; then
50138 echo "command failed, exit code="${D}rcCmd
50139 CleanUp
50140 exit ${D}rcCmd
50141 fi
50142 }
50143
50144 # main routine
50145 # setup globals
50146 cmdLine=${D}*
50147 outFile=""
50148 outimpFile=""
50149 inputFiles=""
50150 renameScript=""
50151 description=""
50152 CC=gcc.exe
50153 CFLAGS="-s -Zcrtdll"
50154 EXTRA_CFLAGS=""
50155 EXPORT_BY_ORDINALS=0
50156 exclude_symbols=""
50157 library_flags=""
50158 curDir=\`pwd\`
50159 curDirS=curDir
50160 case ${D}curDirS in
50161 */)
50162 ;;
50163 *)
50164 curDirS=${D}{curDirS}"/"
50165 ;;
50166 esac
50167 # Parse commandline
50168 libsToLink=0
50169 omfLinking=0
50170 while [ ${D}1 ]; do
50171 case ${D}1 in
50172 -ord*)
50173 EXPORT_BY_ORDINALS=1;
50174 ;;
50175 -o*)
50176 shift
50177 outFile=${D}1
50178 ;;
50179 -i*)
50180 shift
50181 outimpFile=${D}1
50182 ;;
50183 -name-mangler-script)
50184 shift
50185 renameScript=${D}1
50186 ;;
50187 -d*)
50188 shift
50189 description=${D}1
50190 ;;
50191 -f*)
50192 shift
50193 CFLAGS=${D}1
50194 ;;
50195 -c*)
50196 shift
50197 CC=${D}1
50198 ;;
50199 -h*)
50200 PrintHelp
50201 ;;
50202 -ex*)
50203 shift
50204 exclude_symbols=${D}{exclude_symbols}${D}1" "
50205 ;;
50206 -libf*)
50207 shift
50208 library_flags=${D}{library_flags}${D}1" "
50209 ;;
50210 -nocrt*)
50211 CFLAGS="-s"
50212 ;;
50213 -nolxl*)
50214 flag_USE_LXLITE=0
50215 ;;
50216 -* | /*)
50217 case ${D}1 in
50218 -L* | -l*)
50219 libsToLink=1
50220 ;;
50221 -Zomf)
50222 omfLinking=1
50223 ;;
50224 *)
50225 ;;
50226 esac
50227 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50228 ;;
50229 *.dll)
50230 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50231 if [ ${D}omfLinking -eq 1 ]; then
50232 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50233 else
50234 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50235 fi
50236 ;;
50237 *)
50238 found=0;
50239 if [ ${D}libsToLink -ne 0 ]; then
50240 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50241 else
50242 for file in ${D}1 ; do
50243 if [ -f ${D}file ]; then
50244 inputFiles="${D}{inputFiles} ${D}file"
50245 found=1
50246 fi
50247 done
50248 if [ ${D}found -eq 0 ]; then
50249 echo "ERROR: No file(s) found: "${D}1
50250 exit 8
50251 fi
50252 fi
50253 ;;
50254 esac
50255 shift
50256 done # iterate cmdline words
50257
50258 #
50259 if [ -z "${D}inputFiles" ]; then
50260 echo "dllar: no input files"
50261 PrintHelp
50262 fi
50263
50264 # Now extract all .o files from .a files
50265 newInputFiles=""
50266 for file in ${D}inputFiles ; do
50267 case ${D}file in
50268 *.a | *.lib)
50269 case ${D}file in
50270 *.a)
50271 suffix=".a"
50272 AR="ar"
50273 ;;
50274 *.lib)
50275 suffix=".lib"
50276 AR="emxomfar"
50277 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50278 ;;
50279 *)
50280 ;;
50281 esac
50282 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50283 mkdir ${D}dirname
50284 if [ ${D}? -ne 0 ]; then
50285 echo "Failed to create subdirectory ./${D}dirname"
50286 CleanUp
50287 exit 8;
50288 fi
50289 # Append '!' to indicate archive
50290 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50291 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50292 cd ${D}curDir
50293 found=0;
50294 for subfile in ${D}dirname/*.o* ; do
50295 if [ -f ${D}subfile ]; then
50296 found=1
50297 if [ -s ${D}subfile ]; then
50298 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50299 newInputFiles="${D}newInputFiles ${D}subfile"
50300 fi
50301 fi
50302 done
50303 if [ ${D}found -eq 0 ]; then
50304 echo "WARNING: there are no files in archive \\'${D}file\\'"
50305 fi
50306 ;;
50307 *)
50308 newInputFiles="${D}{newInputFiles} ${D}file"
50309 ;;
50310 esac
50311 done
50312 inputFiles="${D}newInputFiles"
50313
50314 # Output filename(s).
50315 do_backup=0;
50316 if [ -z ${D}outFile ]; then
50317 do_backup=1;
50318 set outFile ${D}inputFiles; outFile=${D}2
50319 fi
50320
50321 # If it is an archive, remove the '!' and the '_%' suffixes
50322 case ${D}outFile in
50323 *_%!)
50324 outFile=\`basnam ${D}outFile _%!\`
50325 ;;
50326 *)
50327 ;;
50328 esac
50329 case ${D}outFile in
50330 *.dll)
50331 outFile=\`basnam ${D}outFile .dll\`
50332 ;;
50333 *.DLL)
50334 outFile=\`basnam ${D}outFile .DLL\`
50335 ;;
50336 *.o)
50337 outFile=\`basnam ${D}outFile .o\`
50338 ;;
50339 *.obj)
50340 outFile=\`basnam ${D}outFile .obj\`
50341 ;;
50342 *.a)
50343 outFile=\`basnam ${D}outFile .a\`
50344 ;;
50345 *.lib)
50346 outFile=\`basnam ${D}outFile .lib\`
50347 ;;
50348 *)
50349 ;;
50350 esac
50351 case ${D}outimpFile in
50352 *.a)
50353 outimpFile=\`basnam ${D}outimpFile .a\`
50354 ;;
50355 *.lib)
50356 outimpFile=\`basnam ${D}outimpFile .lib\`
50357 ;;
50358 *)
50359 ;;
50360 esac
50361 if [ -z ${D}outimpFile ]; then
50362 outimpFile=${D}outFile
50363 fi
50364 defFile="${D}{outFile}.def"
50365 arcFile="${D}{outimpFile}.a"
50366 arcFile2="${D}{outimpFile}.lib"
50367
50368 #create ${D}dllFile as something matching 8.3 restrictions,
50369 if [ -z ${D}renameScript ] ; then
50370 dllFile="${D}outFile"
50371 else
50372 dllFile=\`${D}renameScript ${D}outimpFile\`
50373 fi
50374
50375 if [ ${D}do_backup -ne 0 ] ; then
50376 if [ -f ${D}arcFile ] ; then
50377 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50378 fi
50379 if [ -f ${D}arcFile2 ] ; then
50380 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50381 fi
50382 fi
50383
50384 # Extract public symbols from all the object files.
50385 tmpdefFile=${D}{defFile}_%
50386 rm -f ${D}tmpdefFile
50387 for file in ${D}inputFiles ; do
50388 case ${D}file in
50389 *!)
50390 ;;
50391 *)
50392 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50393 ;;
50394 esac
50395 done
50396
50397 # Create the def file.
50398 rm -f ${D}defFile
50399 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50400 dllFile="${D}{dllFile}.dll"
50401 if [ ! -z ${D}description ]; then
50402 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50403 fi
50404 echo "EXPORTS" >> ${D}defFile
50405
50406 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50407 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50408
50409 # Checks if the export is ok or not.
50410 for word in ${D}exclude_symbols; do
50411 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50412 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50413 done
50414
50415
50416 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50417 sed "=" < ${D}tmpdefFile | \\
50418 sed '
50419 N
50420 : loop
50421 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50422 t loop
50423 ' > ${D}{tmpdefFile}%
50424 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50425 else
50426 rm -f ${D}{tmpdefFile}%
50427 fi
50428 cat ${D}tmpdefFile >> ${D}defFile
50429 rm -f ${D}tmpdefFile
50430
50431 # Do linking, create implib, and apply lxlite.
50432 gccCmdl="";
50433 for file in ${D}inputFiles ; do
50434 case ${D}file in
50435 *!)
50436 ;;
50437 *)
50438 gccCmdl="${D}gccCmdl ${D}file"
50439 ;;
50440 esac
50441 done
50442 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50443 touch "${D}{outFile}.dll"
50444
50445 doCommand "emximp -o ${D}arcFile ${D}defFile"
50446 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50447 add_flags="";
50448 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50449 add_flags="-ynd"
50450 fi
50451 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50452 fi
50453 doCommand "emxomf -s -l ${D}arcFile"
50454
50455 # Successful exit.
50456 CleanUp 1
50457 exit 0
50458 EOF
50459
50460 chmod +x dllar.sh
50461 ;;
50462
50463 powerpc-apple-macos* | \
50464 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50465 *-*-mirbsd* | \
50466 *-*-sunos4* | \
50467 *-*-osf* | \
50468 *-*-dgux5* | \
50469 *-*-sysv5* | \
50470 *-pc-msdosdjgpp )
50471 ;;
50472
50473 *)
50474 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50475 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50476 { (exit 1); exit 1; }; }
50477 esac
50478
50479 if test "x$PIC_FLAG" != "x" ; then
50480 PIC_FLAG="$PIC_FLAG -DPIC"
50481 fi
50482
50483 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50484 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50485 fi
50486 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50487 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50488 fi
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498 USE_SOVERSION=0
50499 USE_SOVERLINUX=0
50500 USE_SOVERSOLARIS=0
50501 USE_SOVERCYGWIN=0
50502 USE_SOTWOSYMLINKS=0
50503 USE_MACVERSION=0
50504 SONAME_FLAG=
50505
50506 case "${BAKEFILE_HOST}" in
50507 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50508 *-*-k*bsd*-gnu | *-*-mirbsd* )
50509 if test "x$SUNCXX" = "xyes"; then
50510 SONAME_FLAG="-h "
50511 else
50512 SONAME_FLAG="-Wl,-soname,"
50513 fi
50514 USE_SOVERSION=1
50515 USE_SOVERLINUX=1
50516 USE_SOTWOSYMLINKS=1
50517 ;;
50518
50519 *-*-solaris2* )
50520 SONAME_FLAG="-h "
50521 USE_SOVERSION=1
50522 USE_SOVERSOLARIS=1
50523 ;;
50524
50525 *-*-darwin* )
50526 USE_MACVERSION=1
50527 USE_SOVERSION=1
50528 USE_SOTWOSYMLINKS=1
50529 ;;
50530
50531 *-*-cygwin* )
50532 USE_SOVERSION=1
50533 USE_SOVERCYGWIN=1
50534 ;;
50535 esac
50536
50537
50538
50539
50540
50541
50542
50543
50544
50545
50546 # Check whether --enable-dependency-tracking was given.
50547 if test "${enable_dependency_tracking+set}" = set; then
50548 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50549 fi
50550
50551
50552 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50553 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50554
50555 BK_DEPS=""
50556 if test "x$bk_use_trackdeps" = "xno" ; then
50557 DEPS_TRACKING=0
50558 { echo "$as_me:$LINENO: result: disabled" >&5
50559 echo "${ECHO_T}disabled" >&6; }
50560 else
50561 DEPS_TRACKING=1
50562
50563 if test "x$GCC" = "xyes"; then
50564 DEPSMODE=gcc
50565 case "${BAKEFILE_HOST}" in
50566 *-*-darwin* )
50567 DEPSFLAG="-no-cpp-precomp -MMD"
50568 ;;
50569 * )
50570 DEPSFLAG="-MMD"
50571 ;;
50572 esac
50573 { echo "$as_me:$LINENO: result: gcc" >&5
50574 echo "${ECHO_T}gcc" >&6; }
50575 elif test "x$MWCC" = "xyes"; then
50576 DEPSMODE=mwcc
50577 DEPSFLAG="-MM"
50578 { echo "$as_me:$LINENO: result: mwcc" >&5
50579 echo "${ECHO_T}mwcc" >&6; }
50580 elif test "x$SUNCC" = "xyes"; then
50581 DEPSMODE=unixcc
50582 DEPSFLAG="-xM1"
50583 { echo "$as_me:$LINENO: result: Sun cc" >&5
50584 echo "${ECHO_T}Sun cc" >&6; }
50585 elif test "x$SGICC" = "xyes"; then
50586 DEPSMODE=unixcc
50587 DEPSFLAG="-M"
50588 { echo "$as_me:$LINENO: result: SGI cc" >&5
50589 echo "${ECHO_T}SGI cc" >&6; }
50590 elif test "x$HPCC" = "xyes"; then
50591 DEPSMODE=unixcc
50592 DEPSFLAG="+make"
50593 { echo "$as_me:$LINENO: result: HP cc" >&5
50594 echo "${ECHO_T}HP cc" >&6; }
50595 elif test "x$COMPAQCC" = "xyes"; then
50596 DEPSMODE=gcc
50597 DEPSFLAG="-MD"
50598 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50599 echo "${ECHO_T}Compaq cc" >&6; }
50600 else
50601 DEPS_TRACKING=0
50602 { echo "$as_me:$LINENO: result: none" >&5
50603 echo "${ECHO_T}none" >&6; }
50604 fi
50605
50606 if test $DEPS_TRACKING = 1 ; then
50607
50608 D='$'
50609 cat <<EOF >bk-deps
50610 #!/bin/sh
50611
50612 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50613 # script. It is used to track C/C++ files dependencies in portable way.
50614 #
50615 # Permission is given to use this file in any way.
50616
50617 DEPSMODE=${DEPSMODE}
50618 DEPSFLAG="${DEPSFLAG}"
50619 DEPSDIRBASE=.deps
50620
50621 if test ${D}DEPSMODE = gcc ; then
50622 ${D}* ${D}{DEPSFLAG}
50623 status=${D}?
50624
50625 # determine location of created files:
50626 while test ${D}# -gt 0; do
50627 case "${D}1" in
50628 -o )
50629 shift
50630 objfile=${D}1
50631 ;;
50632 -* )
50633 ;;
50634 * )
50635 srcfile=${D}1
50636 ;;
50637 esac
50638 shift
50639 done
50640 objfilebase=\`basename ${D}objfile\`
50641 builddir=\`dirname ${D}objfile\`
50642 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50643 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50644 depsdir=${D}builddir/${D}DEPSDIRBASE
50645 mkdir -p ${D}depsdir
50646
50647 # if the compiler failed, we're done:
50648 if test ${D}{status} != 0 ; then
50649 rm -f ${D}depfile
50650 exit ${D}{status}
50651 fi
50652
50653 # move created file to the location we want it in:
50654 if test -f ${D}depfile ; then
50655 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50656 rm -f ${D}depfile
50657 else
50658 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50659 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50660 if test ! -f ${D}depfile ; then
50661 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50662 depfile="${D}objfile.d"
50663 fi
50664 if test -f ${D}depfile ; then
50665 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50666 rm -f ${D}depfile
50667 fi
50668 fi
50669 exit 0
50670
50671 elif test ${D}DEPSMODE = mwcc ; then
50672 ${D}* || exit ${D}?
50673 # Run mwcc again with -MM and redirect into the dep file we want
50674 # NOTE: We can't use shift here because we need ${D}* to be valid
50675 prevarg=
50676 for arg in ${D}* ; do
50677 if test "${D}prevarg" = "-o"; then
50678 objfile=${D}arg
50679 else
50680 case "${D}arg" in
50681 -* )
50682 ;;
50683 * )
50684 srcfile=${D}arg
50685 ;;
50686 esac
50687 fi
50688 prevarg="${D}arg"
50689 done
50690
50691 objfilebase=\`basename ${D}objfile\`
50692 builddir=\`dirname ${D}objfile\`
50693 depsdir=${D}builddir/${D}DEPSDIRBASE
50694 mkdir -p ${D}depsdir
50695
50696 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50697 exit 0
50698
50699 elif test ${D}DEPSMODE = unixcc; then
50700 ${D}* || exit ${D}?
50701 # Run compiler again with deps flag and redirect into the dep file.
50702 # It doesn't work if the '-o FILE' option is used, but without it the
50703 # dependency file will contain the wrong name for the object. So it is
50704 # removed from the command line, and the dep file is fixed with sed.
50705 cmd=""
50706 while test ${D}# -gt 0; do
50707 case "${D}1" in
50708 -o )
50709 shift
50710 objfile=${D}1
50711 ;;
50712 * )
50713 eval arg${D}#=\\${D}1
50714 cmd="${D}cmd \\${D}arg${D}#"
50715 ;;
50716 esac
50717 shift
50718 done
50719
50720 objfilebase=\`basename ${D}objfile\`
50721 builddir=\`dirname ${D}objfile\`
50722 depsdir=${D}builddir/${D}DEPSDIRBASE
50723 mkdir -p ${D}depsdir
50724
50725 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50726 exit 0
50727
50728 else
50729 ${D}*
50730 exit ${D}?
50731 fi
50732 EOF
50733
50734 chmod +x bk-deps
50735 BK_DEPS="`pwd`/bk-deps"
50736 fi
50737 fi
50738
50739
50740
50741
50742
50743 case ${BAKEFILE_HOST} in
50744 *-*-cygwin* | *-*-mingw32* )
50745 if test -n "$ac_tool_prefix"; then
50746 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50747 set dummy ${ac_tool_prefix}windres; ac_word=$2
50748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50750 if test "${ac_cv_prog_WINDRES+set}" = set; then
50751 echo $ECHO_N "(cached) $ECHO_C" >&6
50752 else
50753 if test -n "$WINDRES"; then
50754 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50755 else
50756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50757 for as_dir in $PATH
50758 do
50759 IFS=$as_save_IFS
50760 test -z "$as_dir" && as_dir=.
50761 for ac_exec_ext in '' $ac_executable_extensions; do
50762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50763 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50765 break 2
50766 fi
50767 done
50768 done
50769 IFS=$as_save_IFS
50770
50771 fi
50772 fi
50773 WINDRES=$ac_cv_prog_WINDRES
50774 if test -n "$WINDRES"; then
50775 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50776 echo "${ECHO_T}$WINDRES" >&6; }
50777 else
50778 { echo "$as_me:$LINENO: result: no" >&5
50779 echo "${ECHO_T}no" >&6; }
50780 fi
50781
50782
50783 fi
50784 if test -z "$ac_cv_prog_WINDRES"; then
50785 ac_ct_WINDRES=$WINDRES
50786 # Extract the first word of "windres", so it can be a program name with args.
50787 set dummy windres; ac_word=$2
50788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50790 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50791 echo $ECHO_N "(cached) $ECHO_C" >&6
50792 else
50793 if test -n "$ac_ct_WINDRES"; then
50794 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50795 else
50796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50797 for as_dir in $PATH
50798 do
50799 IFS=$as_save_IFS
50800 test -z "$as_dir" && as_dir=.
50801 for ac_exec_ext in '' $ac_executable_extensions; do
50802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50803 ac_cv_prog_ac_ct_WINDRES="windres"
50804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50805 break 2
50806 fi
50807 done
50808 done
50809 IFS=$as_save_IFS
50810
50811 fi
50812 fi
50813 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50814 if test -n "$ac_ct_WINDRES"; then
50815 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50816 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50817 else
50818 { echo "$as_me:$LINENO: result: no" >&5
50819 echo "${ECHO_T}no" >&6; }
50820 fi
50821
50822 if test "x$ac_ct_WINDRES" = x; then
50823 WINDRES=""
50824 else
50825 case $cross_compiling:$ac_tool_warned in
50826 yes:)
50827 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50828 whose name does not start with the host triplet. If you think this
50829 configuration is useful to you, please write to autoconf@gnu.org." >&5
50830 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50831 whose name does not start with the host triplet. If you think this
50832 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50833 ac_tool_warned=yes ;;
50834 esac
50835 WINDRES=$ac_ct_WINDRES
50836 fi
50837 else
50838 WINDRES="$ac_cv_prog_WINDRES"
50839 fi
50840
50841 ;;
50842
50843 *-*-darwin* | powerpc-apple-macos* )
50844 # Extract the first word of "Rez", so it can be a program name with args.
50845 set dummy Rez; ac_word=$2
50846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50848 if test "${ac_cv_prog_REZ+set}" = set; then
50849 echo $ECHO_N "(cached) $ECHO_C" >&6
50850 else
50851 if test -n "$REZ"; then
50852 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50853 else
50854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50855 for as_dir in $PATH
50856 do
50857 IFS=$as_save_IFS
50858 test -z "$as_dir" && as_dir=.
50859 for ac_exec_ext in '' $ac_executable_extensions; do
50860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50861 ac_cv_prog_REZ="Rez"
50862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50863 break 2
50864 fi
50865 done
50866 done
50867 IFS=$as_save_IFS
50868
50869 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50870 fi
50871 fi
50872 REZ=$ac_cv_prog_REZ
50873 if test -n "$REZ"; then
50874 { echo "$as_me:$LINENO: result: $REZ" >&5
50875 echo "${ECHO_T}$REZ" >&6; }
50876 else
50877 { echo "$as_me:$LINENO: result: no" >&5
50878 echo "${ECHO_T}no" >&6; }
50879 fi
50880
50881
50882 # Extract the first word of "SetFile", so it can be a program name with args.
50883 set dummy SetFile; ac_word=$2
50884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50886 if test "${ac_cv_prog_SETFILE+set}" = set; then
50887 echo $ECHO_N "(cached) $ECHO_C" >&6
50888 else
50889 if test -n "$SETFILE"; then
50890 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50891 else
50892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50893 for as_dir in $PATH
50894 do
50895 IFS=$as_save_IFS
50896 test -z "$as_dir" && as_dir=.
50897 for ac_exec_ext in '' $ac_executable_extensions; do
50898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50899 ac_cv_prog_SETFILE="SetFile"
50900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50901 break 2
50902 fi
50903 done
50904 done
50905 IFS=$as_save_IFS
50906
50907 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50908 fi
50909 fi
50910 SETFILE=$ac_cv_prog_SETFILE
50911 if test -n "$SETFILE"; then
50912 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50913 echo "${ECHO_T}$SETFILE" >&6; }
50914 else
50915 { echo "$as_me:$LINENO: result: no" >&5
50916 echo "${ECHO_T}no" >&6; }
50917 fi
50918
50919
50920 ;;
50921 esac
50922
50923
50924
50925
50926
50927
50928
50929
50930
50931 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50932
50933
50934 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50935
50936
50937
50938 # Check whether --enable-precomp-headers was given.
50939 if test "${enable_precomp_headers+set}" = set; then
50940 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50941 fi
50942
50943
50944 GCC_PCH=0
50945 ICC_PCH=0
50946 USE_PCH=0
50947 BK_MAKE_PCH=""
50948
50949 case ${BAKEFILE_HOST} in
50950 *-*-cygwin* )
50951 bk_use_pch="no"
50952 ;;
50953 esac
50954
50955 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50956 if test "x$GCC" = "xyes"; then
50957 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50958 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50959 cat >conftest.$ac_ext <<_ACEOF
50960 /* confdefs.h. */
50961 _ACEOF
50962 cat confdefs.h >>conftest.$ac_ext
50963 cat >>conftest.$ac_ext <<_ACEOF
50964 /* end confdefs.h. */
50965
50966 int
50967 main ()
50968 {
50969
50970 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50971 There is no PCH support
50972 #endif
50973 #if (__GNUC__ < 3)
50974 There is no PCH support
50975 #endif
50976 #if (__GNUC__ == 3) && \
50977 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50978 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50979 ( defined(__INTEL_COMPILER) )
50980 There is no PCH support
50981 #endif
50982
50983 ;
50984 return 0;
50985 }
50986 _ACEOF
50987 rm -f conftest.$ac_objext
50988 if { (ac_try="$ac_compile"
50989 case "(($ac_try" in
50990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50991 *) ac_try_echo=$ac_try;;
50992 esac
50993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50994 (eval "$ac_compile") 2>conftest.er1
50995 ac_status=$?
50996 grep -v '^ *+' conftest.er1 >conftest.err
50997 rm -f conftest.er1
50998 cat conftest.err >&5
50999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51000 (exit $ac_status); } && {
51001 test -z "$ac_c_werror_flag" ||
51002 test ! -s conftest.err
51003 } && test -s conftest.$ac_objext; then
51004
51005 { echo "$as_me:$LINENO: result: yes" >&5
51006 echo "${ECHO_T}yes" >&6; }
51007 GCC_PCH=1
51008
51009 else
51010 echo "$as_me: failed program was:" >&5
51011 sed 's/^/| /' conftest.$ac_ext >&5
51012
51013
51014 if test "$INTELCXX8" = "yes"; then
51015 { echo "$as_me:$LINENO: result: yes" >&5
51016 echo "${ECHO_T}yes" >&6; }
51017 ICC_PCH=1
51018 if test "$INTELCXX10" = "yes"; then
51019 ICC_PCH_CREATE_SWITCH="-pch-create"
51020 ICC_PCH_USE_SWITCH="-pch-use"
51021 else
51022 ICC_PCH_CREATE_SWITCH="-create-pch"
51023 ICC_PCH_USE_SWITCH="-use-pch"
51024 fi
51025 else
51026 { echo "$as_me:$LINENO: result: no" >&5
51027 echo "${ECHO_T}no" >&6; }
51028 fi
51029
51030 fi
51031
51032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51033 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51034 USE_PCH=1
51035
51036 D='$'
51037 cat <<EOF >bk-make-pch
51038 #!/bin/sh
51039
51040 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51041 # script. It is used to generated precompiled headers.
51042 #
51043 # Permission is given to use this file in any way.
51044
51045 outfile="${D}{1}"
51046 header="${D}{2}"
51047 shift
51048 shift
51049
51050 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51051
51052 compiler=""
51053 headerfile=""
51054
51055 while test ${D}{#} -gt 0; do
51056 add_to_cmdline=1
51057 case "${D}{1}" in
51058 -I* )
51059 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51060 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51061 headerfile="${D}{incdir}/${D}{header}"
51062 fi
51063 ;;
51064 -use-pch|-use_pch|-pch-use )
51065 shift
51066 add_to_cmdline=0
51067 ;;
51068 esac
51069 if test ${D}add_to_cmdline = 1 ; then
51070 compiler="${D}{compiler} ${D}{1}"
51071 fi
51072 shift
51073 done
51074
51075 if test "x${D}{headerfile}" = "x" ; then
51076 echo "error: can't find header ${D}{header} in include paths" >&2
51077 else
51078 if test -f ${D}{outfile} ; then
51079 rm -f ${D}{outfile}
51080 else
51081 mkdir -p \`dirname ${D}{outfile}\`
51082 fi
51083 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51084 mkdir -p ${D}{builddir}/.deps
51085 if test "x${GCC_PCH}" = "x1" ; then
51086 # can do this because gcc is >= 3.4:
51087 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51088 elif test "x${ICC_PCH}" = "x1" ; then
51089 filename=pch_gen-${D}${D}
51090 file=${D}{filename}.c
51091 dfile=${D}{filename}.d
51092 cat > ${D}file <<EOT
51093 #include "${D}header"
51094 EOT
51095 # using -MF icc complains about differing command lines in creation/use
51096 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51097 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51098 rm -f ${D}file ${D}dfile ${D}{filename}.o
51099 fi
51100 exit ${D}{?}
51101 fi
51102 EOF
51103
51104 chmod +x bk-make-pch
51105 BK_MAKE_PCH="`pwd`/bk-make-pch"
51106 fi
51107 fi
51108 fi
51109
51110
51111
51112
51113
51114
51115
51116 COND_BUILD_DEBUG="#"
51117 if test "x$BUILD" = "xdebug" ; then
51118 COND_BUILD_DEBUG=""
51119 fi
51120
51121 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51122 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51123 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51124 fi
51125
51126 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51127 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51128 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51129 fi
51130
51131 COND_BUILD_DEBUG_UNICODE_0="#"
51132 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51133 COND_BUILD_DEBUG_UNICODE_0=""
51134 fi
51135
51136 COND_BUILD_DEBUG_UNICODE_1="#"
51137 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51138 COND_BUILD_DEBUG_UNICODE_1=""
51139 fi
51140
51141 COND_BUILD_RELEASE="#"
51142 if test "x$BUILD" = "xrelease" ; then
51143 COND_BUILD_RELEASE=""
51144 fi
51145
51146 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51147 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51148 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51149 fi
51150
51151 COND_BUILD_RELEASE_UNICODE_0="#"
51152 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51153 COND_BUILD_RELEASE_UNICODE_0=""
51154 fi
51155
51156 COND_BUILD_RELEASE_UNICODE_1="#"
51157 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51158 COND_BUILD_RELEASE_UNICODE_1=""
51159 fi
51160
51161 COND_BUILD_debug="#"
51162 if test "x$BUILD" = "xdebug" ; then
51163 COND_BUILD_debug=""
51164 fi
51165
51166 COND_BUILD_debug_DEBUG_FLAG_default="#"
51167 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51168 COND_BUILD_debug_DEBUG_FLAG_default=""
51169 fi
51170
51171 COND_BUILD_debug_DEBUG_INFO_default="#"
51172 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51173 COND_BUILD_debug_DEBUG_INFO_default=""
51174 fi
51175
51176 COND_BUILD_debug_UNICODE_0="#"
51177 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51178 COND_BUILD_debug_UNICODE_0=""
51179 fi
51180
51181 COND_BUILD_debug_UNICODE_1="#"
51182 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51183 COND_BUILD_debug_UNICODE_1=""
51184 fi
51185
51186 COND_BUILD_release="#"
51187 if test "x$BUILD" = "xrelease" ; then
51188 COND_BUILD_release=""
51189 fi
51190
51191 COND_BUILD_release_DEBUG_INFO_default="#"
51192 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51193 COND_BUILD_release_DEBUG_INFO_default=""
51194 fi
51195
51196 COND_BUILD_release_UNICODE_0="#"
51197 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51198 COND_BUILD_release_UNICODE_0=""
51199 fi
51200
51201 COND_BUILD_release_UNICODE_1="#"
51202 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51203 COND_BUILD_release_UNICODE_1=""
51204 fi
51205
51206 COND_DEBUG_FLAG_0="#"
51207 if test "x$DEBUG_FLAG" = "x0" ; then
51208 COND_DEBUG_FLAG_0=""
51209 fi
51210
51211 COND_DEBUG_FLAG_1="#"
51212 if test "x$DEBUG_FLAG" = "x1" ; then
51213 COND_DEBUG_FLAG_1=""
51214 fi
51215
51216 COND_DEBUG_INFO_0="#"
51217 if test "x$DEBUG_INFO" = "x0" ; then
51218 COND_DEBUG_INFO_0=""
51219 fi
51220
51221 COND_DEBUG_INFO_1="#"
51222 if test "x$DEBUG_INFO" = "x1" ; then
51223 COND_DEBUG_INFO_1=""
51224 fi
51225
51226 COND_DEPS_TRACKING_0="#"
51227 if test "x$DEPS_TRACKING" = "x0" ; then
51228 COND_DEPS_TRACKING_0=""
51229 fi
51230
51231 COND_DEPS_TRACKING_1="#"
51232 if test "x$DEPS_TRACKING" = "x1" ; then
51233 COND_DEPS_TRACKING_1=""
51234 fi
51235
51236 COND_GCC_PCH_1="#"
51237 if test "x$GCC_PCH" = "x1" ; then
51238 COND_GCC_PCH_1=""
51239 fi
51240
51241 COND_ICC_PCH_1="#"
51242 if test "x$ICC_PCH" = "x1" ; then
51243 COND_ICC_PCH_1=""
51244 fi
51245
51246 COND_MONOLITHIC_0="#"
51247 if test "x$MONOLITHIC" = "x0" ; then
51248 COND_MONOLITHIC_0=""
51249 fi
51250
51251 COND_MONOLITHIC_0_SHARED_0="#"
51252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51253 COND_MONOLITHIC_0_SHARED_0=""
51254 fi
51255
51256 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51258 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51259 fi
51260
51261 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51263 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51264 fi
51265
51266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51268 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51269 fi
51270
51271 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51274 fi
51275
51276 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51278 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51279 fi
51280
51281 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51283 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51284 fi
51285
51286 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51288 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51289 fi
51290
51291 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51293 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51294 fi
51295
51296 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51297 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51298 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51299 fi
51300
51301 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51302 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51303 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51304 fi
51305
51306 COND_MONOLITHIC_0_SHARED_1="#"
51307 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51308 COND_MONOLITHIC_0_SHARED_1=""
51309 fi
51310
51311 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51312 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51313 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51314 fi
51315
51316 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51317 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51318 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51319 fi
51320
51321 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51323 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51324 fi
51325
51326 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51328 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51329 fi
51330
51331 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51333 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51334 fi
51335
51336 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51338 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51339 fi
51340
51341 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51343 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51344 fi
51345
51346 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51348 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51349 fi
51350
51351 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51353 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51354 fi
51355
51356 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51358 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51359 fi
51360
51361 COND_MONOLITHIC_0_USE_AUI_1="#"
51362 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51363 COND_MONOLITHIC_0_USE_AUI_1=""
51364 fi
51365
51366 COND_MONOLITHIC_0_USE_GUI_1="#"
51367 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51368 COND_MONOLITHIC_0_USE_GUI_1=""
51369 fi
51370
51371 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51372 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51373 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51374 fi
51375
51376 COND_MONOLITHIC_0_USE_HTML_1="#"
51377 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51378 COND_MONOLITHIC_0_USE_HTML_1=""
51379 fi
51380
51381 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51382 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51383 COND_MONOLITHIC_0_USE_MEDIA_1=""
51384 fi
51385
51386 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51387 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51388 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51389 fi
51390
51391 COND_MONOLITHIC_0_USE_QA_1="#"
51392 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51393 COND_MONOLITHIC_0_USE_QA_1=""
51394 fi
51395
51396 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51397 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51398 COND_MONOLITHIC_0_USE_RIBBON_1=""
51399 fi
51400
51401 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51402 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51403 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51404 fi
51405
51406 COND_MONOLITHIC_0_USE_STC_1="#"
51407 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51408 COND_MONOLITHIC_0_USE_STC_1=""
51409 fi
51410
51411 COND_MONOLITHIC_0_USE_XRC_1="#"
51412 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51413 COND_MONOLITHIC_0_USE_XRC_1=""
51414 fi
51415
51416 COND_MONOLITHIC_1="#"
51417 if test "x$MONOLITHIC" = "x1" ; then
51418 COND_MONOLITHIC_1=""
51419 fi
51420
51421 COND_MONOLITHIC_1_SHARED_0="#"
51422 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51423 COND_MONOLITHIC_1_SHARED_0=""
51424 fi
51425
51426 COND_MONOLITHIC_1_SHARED_1="#"
51427 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51428 COND_MONOLITHIC_1_SHARED_1=""
51429 fi
51430
51431 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51432 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51433 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51434 fi
51435
51436 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51437 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51438 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51439 fi
51440
51441 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51442 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51443 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51444 fi
51445
51446 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51447 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51448 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51449 fi
51450
51451 COND_PLATFORM_MACOSX_1="#"
51452 if test "x$PLATFORM_MACOSX" = "x1" ; then
51453 COND_PLATFORM_MACOSX_1=""
51454 fi
51455
51456 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51457 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51458 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51459 fi
51460
51461 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51462 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51463 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51464 fi
51465
51466 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51468 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51469 fi
51470
51471 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51473 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51474 fi
51475
51476 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51478 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51479 fi
51480
51481 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51483 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51484 fi
51485
51486 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51488 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51489 fi
51490
51491 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51493 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51494 fi
51495
51496 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51498 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51499 fi
51500
51501 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51503 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51504 fi
51505
51506 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51508 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51509 fi
51510
51511 COND_PLATFORM_MACOS_1="#"
51512 if test "x$PLATFORM_MACOS" = "x1" ; then
51513 COND_PLATFORM_MACOS_1=""
51514 fi
51515
51516 COND_PLATFORM_MAC_0="#"
51517 if test "x$PLATFORM_MAC" = "x0" ; then
51518 COND_PLATFORM_MAC_0=""
51519 fi
51520
51521 COND_PLATFORM_MAC_1="#"
51522 if test "x$PLATFORM_MAC" = "x1" ; then
51523 COND_PLATFORM_MAC_1=""
51524 fi
51525
51526 COND_PLATFORM_MSDOS_0="#"
51527 if test "x$PLATFORM_MSDOS" = "x0" ; then
51528 COND_PLATFORM_MSDOS_0=""
51529 fi
51530
51531 COND_PLATFORM_MSDOS_1="#"
51532 if test "x$PLATFORM_MSDOS" = "x1" ; then
51533 COND_PLATFORM_MSDOS_1=""
51534 fi
51535
51536 COND_PLATFORM_OS2_1="#"
51537 if test "x$PLATFORM_OS2" = "x1" ; then
51538 COND_PLATFORM_OS2_1=""
51539 fi
51540
51541 COND_PLATFORM_UNIX_0="#"
51542 if test "x$PLATFORM_UNIX" = "x0" ; then
51543 COND_PLATFORM_UNIX_0=""
51544 fi
51545
51546 COND_PLATFORM_UNIX_1="#"
51547 if test "x$PLATFORM_UNIX" = "x1" ; then
51548 COND_PLATFORM_UNIX_1=""
51549 fi
51550
51551 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51552 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51553 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51554 fi
51555
51556 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51557 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51558 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51559 fi
51560
51561 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51562 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51563 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51564 fi
51565
51566 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51567 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51568 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51569 fi
51570
51571 COND_PLATFORM_WIN32_0="#"
51572 if test "x$PLATFORM_WIN32" = "x0" ; then
51573 COND_PLATFORM_WIN32_0=""
51574 fi
51575
51576 COND_PLATFORM_WIN32_1="#"
51577 if test "x$PLATFORM_WIN32" = "x1" ; then
51578 COND_PLATFORM_WIN32_1=""
51579 fi
51580
51581 COND_PLATFORM_WIN32_1_SHARED_0="#"
51582 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51583 COND_PLATFORM_WIN32_1_SHARED_0=""
51584 fi
51585
51586 COND_SHARED_0="#"
51587 if test "x$SHARED" = "x0" ; then
51588 COND_SHARED_0=""
51589 fi
51590
51591 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51592 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51593 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51594 fi
51595
51596 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51597 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51598 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51599 fi
51600
51601 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51602 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51603 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51604 fi
51605
51606 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51607 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51608 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51609 fi
51610
51611 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51613 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51614 fi
51615
51616 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51617 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51618 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51619 fi
51620
51621 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51622 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51623 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51624 fi
51625
51626 COND_SHARED_0_USE_STC_1="#"
51627 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51628 COND_SHARED_0_USE_STC_1=""
51629 fi
51630
51631 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51632 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51633 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51634 fi
51635
51636 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51637 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51638 COND_SHARED_0_wxUSE_REGEX_builtin=""
51639 fi
51640
51641 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51642 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51643 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51644 fi
51645
51646 COND_SHARED_1="#"
51647 if test "x$SHARED" = "x1" ; then
51648 COND_SHARED_1=""
51649 fi
51650
51651 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51652 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51653 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51654 fi
51655
51656 COND_TOOLKIT_="#"
51657 if test "x$TOOLKIT" = "x" ; then
51658 COND_TOOLKIT_=""
51659 fi
51660
51661 COND_TOOLKIT_COCOA="#"
51662 if test "x$TOOLKIT" = "xCOCOA" ; then
51663 COND_TOOLKIT_COCOA=""
51664 fi
51665
51666 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51667 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51668 COND_TOOLKIT_COCOA_USE_GUI_1=""
51669 fi
51670
51671 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51672 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51673 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51674 fi
51675
51676 COND_TOOLKIT_DFB="#"
51677 if test "x$TOOLKIT" = "xDFB" ; then
51678 COND_TOOLKIT_DFB=""
51679 fi
51680
51681 COND_TOOLKIT_DFB_USE_GUI_1="#"
51682 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51683 COND_TOOLKIT_DFB_USE_GUI_1=""
51684 fi
51685
51686 COND_TOOLKIT_GTK="#"
51687 if test "x$TOOLKIT" = "xGTK" ; then
51688 COND_TOOLKIT_GTK=""
51689 fi
51690
51691 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51692 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51693 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51694 fi
51695
51696 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51697 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51699 fi
51700
51701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51702 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51704 fi
51705
51706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51707 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51709 fi
51710
51711 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51712 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51713 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51714 fi
51715
51716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51717 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51718 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51719 fi
51720
51721 COND_TOOLKIT_GTK_USE_GUI_1="#"
51722 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51723 COND_TOOLKIT_GTK_USE_GUI_1=""
51724 fi
51725
51726 COND_TOOLKIT_MAC="#"
51727 if test "x$TOOLKIT" = "xMAC" ; then
51728 COND_TOOLKIT_MAC=""
51729 fi
51730
51731 COND_TOOLKIT_MGL="#"
51732 if test "x$TOOLKIT" = "xMGL" ; then
51733 COND_TOOLKIT_MGL=""
51734 fi
51735
51736 COND_TOOLKIT_MGL_USE_GUI_1="#"
51737 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51738 COND_TOOLKIT_MGL_USE_GUI_1=""
51739 fi
51740
51741 COND_TOOLKIT_MOTIF="#"
51742 if test "x$TOOLKIT" = "xMOTIF" ; then
51743 COND_TOOLKIT_MOTIF=""
51744 fi
51745
51746 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51747 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51748 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51749 fi
51750
51751 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51752 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51753 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51754 fi
51755
51756 COND_TOOLKIT_MSW="#"
51757 if test "x$TOOLKIT" = "xMSW" ; then
51758 COND_TOOLKIT_MSW=""
51759 fi
51760
51761 COND_TOOLKIT_MSW_USE_GUI_1="#"
51762 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51763 COND_TOOLKIT_MSW_USE_GUI_1=""
51764 fi
51765
51766 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51767 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51768 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51769 fi
51770
51771 COND_TOOLKIT_MSW_WXUNIV_0="#"
51772 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51773 COND_TOOLKIT_MSW_WXUNIV_0=""
51774 fi
51775
51776 COND_TOOLKIT_OSX_CARBON="#"
51777 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51778 COND_TOOLKIT_OSX_CARBON=""
51779 fi
51780
51781 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51782 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51783 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51784 fi
51785
51786 COND_TOOLKIT_OSX_COCOA="#"
51787 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51788 COND_TOOLKIT_OSX_COCOA=""
51789 fi
51790
51791 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51792 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51793 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51794 fi
51795
51796 COND_TOOLKIT_OSX_IPHONE="#"
51797 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51798 COND_TOOLKIT_OSX_IPHONE=""
51799 fi
51800
51801 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51802 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51803 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51804 fi
51805
51806 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51807 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51808 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51809 fi
51810
51811 COND_TOOLKIT_PM="#"
51812 if test "x$TOOLKIT" = "xPM" ; then
51813 COND_TOOLKIT_PM=""
51814 fi
51815
51816 COND_TOOLKIT_PM_USE_GUI_1="#"
51817 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51818 COND_TOOLKIT_PM_USE_GUI_1=""
51819 fi
51820
51821 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51822 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51823 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51824 fi
51825
51826 COND_TOOLKIT_WINCE="#"
51827 if test "x$TOOLKIT" = "xWINCE" ; then
51828 COND_TOOLKIT_WINCE=""
51829 fi
51830
51831 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51832 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51833 COND_TOOLKIT_WINCE_USE_GUI_1=""
51834 fi
51835
51836 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51837 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51838 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51839 fi
51840
51841 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51842 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51843 COND_TOOLKIT_WINCE_WXUNIV_0=""
51844 fi
51845
51846 COND_TOOLKIT_X11="#"
51847 if test "x$TOOLKIT" = "xX11" ; then
51848 COND_TOOLKIT_X11=""
51849 fi
51850
51851 COND_TOOLKIT_X11_USE_GUI_1="#"
51852 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51853 COND_TOOLKIT_X11_USE_GUI_1=""
51854 fi
51855
51856 COND_UNICODE_1="#"
51857 if test "x$UNICODE" = "x1" ; then
51858 COND_UNICODE_1=""
51859 fi
51860
51861 COND_USE_CAIRO_1="#"
51862 if test "x$USE_CAIRO" = "x1" ; then
51863 COND_USE_CAIRO_1=""
51864 fi
51865
51866 COND_USE_EXCEPTIONS_0="#"
51867 if test "x$USE_EXCEPTIONS" = "x0" ; then
51868 COND_USE_EXCEPTIONS_0=""
51869 fi
51870
51871 COND_USE_EXCEPTIONS_1="#"
51872 if test "x$USE_EXCEPTIONS" = "x1" ; then
51873 COND_USE_EXCEPTIONS_1=""
51874 fi
51875
51876 COND_USE_GUI_0="#"
51877 if test "x$USE_GUI" = "x0" ; then
51878 COND_USE_GUI_0=""
51879 fi
51880
51881 COND_USE_GUI_1="#"
51882 if test "x$USE_GUI" = "x1" ; then
51883 COND_USE_GUI_1=""
51884 fi
51885
51886 COND_USE_GUI_1_USE_OPENGL_1="#"
51887 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51888 COND_USE_GUI_1_USE_OPENGL_1=""
51889 fi
51890
51891 COND_USE_GUI_1_WXUNIV_0="#"
51892 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51893 COND_USE_GUI_1_WXUNIV_0=""
51894 fi
51895
51896 COND_USE_GUI_1_WXUNIV_1="#"
51897 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51898 COND_USE_GUI_1_WXUNIV_1=""
51899 fi
51900
51901 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51902 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51903 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51904 fi
51905
51906 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51907 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51908 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51909 fi
51910
51911 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51912 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51913 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51914 fi
51915
51916 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51917 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51918 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51919 fi
51920
51921 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51922 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51923 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51924 fi
51925
51926 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51927 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51928 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51929 fi
51930
51931 COND_USE_OPENGL_1="#"
51932 if test "x$USE_OPENGL" = "x1" ; then
51933 COND_USE_OPENGL_1=""
51934 fi
51935
51936 COND_USE_PCH_1="#"
51937 if test "x$USE_PCH" = "x1" ; then
51938 COND_USE_PCH_1=""
51939 fi
51940
51941 COND_USE_PLUGINS_0="#"
51942 if test "x$USE_PLUGINS" = "x0" ; then
51943 COND_USE_PLUGINS_0=""
51944 fi
51945
51946 COND_USE_RTTI_0="#"
51947 if test "x$USE_RTTI" = "x0" ; then
51948 COND_USE_RTTI_0=""
51949 fi
51950
51951 COND_USE_RTTI_1="#"
51952 if test "x$USE_RTTI" = "x1" ; then
51953 COND_USE_RTTI_1=""
51954 fi
51955
51956 COND_USE_SOTWOSYMLINKS_1="#"
51957 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51958 COND_USE_SOTWOSYMLINKS_1=""
51959 fi
51960
51961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51962 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51963 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51964 fi
51965
51966 COND_USE_SOVERLINUX_1="#"
51967 if test "x$USE_SOVERLINUX" = "x1" ; then
51968 COND_USE_SOVERLINUX_1=""
51969 fi
51970
51971 COND_USE_SOVERSION_0="#"
51972 if test "x$USE_SOVERSION" = "x0" ; then
51973 COND_USE_SOVERSION_0=""
51974 fi
51975
51976 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51977 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51978 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51979 fi
51980
51981 COND_USE_SOVERSOLARIS_1="#"
51982 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51983 COND_USE_SOVERSOLARIS_1=""
51984 fi
51985
51986 COND_USE_STC_1="#"
51987 if test "x$USE_STC" = "x1" ; then
51988 COND_USE_STC_1=""
51989 fi
51990
51991 COND_USE_THREADS_0="#"
51992 if test "x$USE_THREADS" = "x0" ; then
51993 COND_USE_THREADS_0=""
51994 fi
51995
51996 COND_USE_THREADS_1="#"
51997 if test "x$USE_THREADS" = "x1" ; then
51998 COND_USE_THREADS_1=""
51999 fi
52000
52001 COND_USE_XRC_1="#"
52002 if test "x$USE_XRC" = "x1" ; then
52003 COND_USE_XRC_1=""
52004 fi
52005
52006 COND_WINDOWS_IMPLIB_1="#"
52007 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52008 COND_WINDOWS_IMPLIB_1=""
52009 fi
52010
52011 COND_WITH_PLUGIN_SDL_1="#"
52012 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52013 COND_WITH_PLUGIN_SDL_1=""
52014 fi
52015
52016 COND_WXUNIV_0="#"
52017 if test "x$WXUNIV" = "x0" ; then
52018 COND_WXUNIV_0=""
52019 fi
52020
52021 COND_WXUNIV_1="#"
52022 if test "x$WXUNIV" = "x1" ; then
52023 COND_WXUNIV_1=""
52024 fi
52025
52026 COND_WXUSE_EXPAT_BUILTIN="#"
52027 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52028 COND_WXUSE_EXPAT_BUILTIN=""
52029 fi
52030
52031 COND_WXUSE_LIBJPEG_BUILTIN="#"
52032 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52033 COND_WXUSE_LIBJPEG_BUILTIN=""
52034 fi
52035
52036 COND_WXUSE_LIBPNG_BUILTIN="#"
52037 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52038 COND_WXUSE_LIBPNG_BUILTIN=""
52039 fi
52040
52041 COND_WXUSE_LIBTIFF_BUILTIN="#"
52042 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52043 COND_WXUSE_LIBTIFF_BUILTIN=""
52044 fi
52045
52046 COND_WXUSE_REGEX_BUILTIN="#"
52047 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52048 COND_WXUSE_REGEX_BUILTIN=""
52049 fi
52050
52051 COND_WXUSE_ZLIB_BUILTIN="#"
52052 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52053 COND_WXUSE_ZLIB_BUILTIN=""
52054 fi
52055
52056 COND_wxUSE_EXPAT_builtin="#"
52057 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52058 COND_wxUSE_EXPAT_builtin=""
52059 fi
52060
52061 COND_wxUSE_LIBJPEG_builtin="#"
52062 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52063 COND_wxUSE_LIBJPEG_builtin=""
52064 fi
52065
52066 COND_wxUSE_LIBPNG_builtin="#"
52067 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52068 COND_wxUSE_LIBPNG_builtin=""
52069 fi
52070
52071 COND_wxUSE_LIBTIFF_builtin="#"
52072 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52073 COND_wxUSE_LIBTIFF_builtin=""
52074 fi
52075
52076 COND_wxUSE_REGEX_builtin="#"
52077 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52078 COND_wxUSE_REGEX_builtin=""
52079 fi
52080
52081 COND_wxUSE_ZLIB_builtin="#"
52082 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52083 COND_wxUSE_ZLIB_builtin=""
52084 fi
52085
52086
52087
52088 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52089 { { 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
52090 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;}
52091 { (exit 1); exit 1; }; }
52092 fi
52093
52094 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52095 { { 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
52096 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;}
52097 { (exit 1); exit 1; }; }
52098 fi
52099
52100
52101 case ${INSTALL} in
52102 /* ) # Absolute
52103 ;;
52104 ?:* ) # Drive letter, considered as absolute.
52105 ;;
52106 *)
52107 INSTALL=`pwd`/${INSTALL} ;;
52108 esac
52109
52110 if test "$wxUSE_GUI" = "yes"; then
52111
52112 if test "$wxUSE_MSW" = 1 ; then
52113 if test "x$WINDRES" = "x"; then
52114 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52115 echo "$as_me: error: Required windres program not found" >&2;}
52116 { (exit 1); exit 1; }; }
52117 fi
52118
52119 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52120 fi
52121
52122 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52123 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52124 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52125
52126 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52127
52128 # Extract the first word of "DeRez", so it can be a program name with args.
52129 set dummy DeRez; ac_word=$2
52130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52132 if test "${ac_cv_prog_DEREZ+set}" = set; then
52133 echo $ECHO_N "(cached) $ECHO_C" >&6
52134 else
52135 if test -n "$DEREZ"; then
52136 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52137 else
52138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52139 for as_dir in $PATH
52140 do
52141 IFS=$as_save_IFS
52142 test -z "$as_dir" && as_dir=.
52143 for ac_exec_ext in '' $ac_executable_extensions; do
52144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52145 ac_cv_prog_DEREZ="DeRez"
52146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52147 break 2
52148 fi
52149 done
52150 done
52151 IFS=$as_save_IFS
52152
52153 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52154 fi
52155 fi
52156 DEREZ=$ac_cv_prog_DEREZ
52157 if test -n "$DEREZ"; then
52158 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52159 echo "${ECHO_T}$DEREZ" >&6; }
52160 else
52161 { echo "$as_me:$LINENO: result: no" >&5
52162 echo "${ECHO_T}no" >&6; }
52163 fi
52164
52165
52166
52167 MACSETFILE="\$(SETFILE)"
52168
52169 if test "$wxUSE_OSX_CARBON" = 1; then
52170 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52171 RESCOMP="$REZ"
52172 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52173 else
52174 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52175 RESCOMP="cat /dev/null \| $REZ"
52176 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52177 fi
52178
52179 else
52180 MACSETFILE="@true"
52181
52182 if test "$wxUSE_PM" = 1; then
52183 RESCOMP="emxbind"
52184 WXCONFIG_RESFLAGS="-ep"
52185
52186 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52187 else
52188 POSTLINK_COMMAND="@true"
52189 fi
52190 fi
52191
52192 fi
52193
52194
52195 if test $GCC_PCH = 1
52196 then
52197 if test "$wx_cv_gcc_pch_bug" = yes; then
52198 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52199 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52200 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52201 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52202 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52203 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52204 fi
52205
52206 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52207 # the headers that benefit from precompilation are mostly C++ headers.
52208 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52209 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52210 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52211 fi
52212
52213
52214 if test "$wxUSE_MAC" = 1 ; then
52215 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52216 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52217 mv temp bk-deps
52218 chmod +x bk-deps
52219 fi
52220 fi
52221
52222 if test "$wxUSE_SHARED" = "yes"; then
52223 case "${host}" in
52224 *-pc-os2_emx | *-pc-os2-emx )
52225 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52226 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52227 cp -p ${srcdir}/src/os2/dllnames.sh .
52228 cp -p ${srcdir}/src/os2/dllar.sh .
52229 ;;
52230 esac
52231 fi
52232 if test "$wxUSE_OMF" = "yes"; then
52233 case "${host}" in
52234 *-pc-os2_emx | *-pc-os2-emx )
52235 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52236 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52237 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52238 ;;
52239 esac
52240 fi
52241
52242 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52243
52244
52245 case "${host}" in
52246 *-*-solaris2* )
52247 if test "$GCC" = yes; then
52248 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52249 LIBS=`echo $LIBS | sed 's/-mt//'`
52250 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52251 fi
52252 ;;
52253
52254 *-*-linux* )
52255 if test "x$SUNCXX" = xyes; then
52256 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52257 LIBS=`echo $LIBS | sed 's/-pthread//'`
52258 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52259 fi
52260 ;;
52261 esac
52262
52263 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52264 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52265 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52266 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52267
52268 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52269
52270
52271
52272
52273
52274
52275
52276
52277
52278
52279
52280
52281
52282
52283
52284
52285
52286
52287
52288
52289
52290
52291
52292
52293
52294
52295
52296
52297
52298
52299
52300
52301
52302
52303
52304
52305
52306
52307
52308
52309
52310
52311
52312
52313
52314
52315
52316
52317
52318
52319
52320
52321
52322
52323
52324
52325
52326
52327
52328
52329 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52330 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52331 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52332 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52333 echo $ECHO_N "(cached) $ECHO_C" >&6
52334 else
52335 cat >conftest.make <<\_ACEOF
52336 SHELL = /bin/sh
52337 all:
52338 @echo '@@@%%%=$(MAKE)=@@@%%%'
52339 _ACEOF
52340 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52341 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52342 *@@@%%%=?*=@@@%%%*)
52343 eval ac_cv_prog_make_${ac_make}_set=yes;;
52344 *)
52345 eval ac_cv_prog_make_${ac_make}_set=no;;
52346 esac
52347 rm -f conftest.make
52348 fi
52349 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52350 { echo "$as_me:$LINENO: result: yes" >&5
52351 echo "${ECHO_T}yes" >&6; }
52352 SET_MAKE=
52353 else
52354 { echo "$as_me:$LINENO: result: no" >&5
52355 echo "${ECHO_T}no" >&6; }
52356 SET_MAKE="MAKE=${MAKE-make}"
52357 fi
52358
52359
52360
52361 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52362
52363
52364 if test "$USE_WIN32" = 1; then
52365 ac_config_commands="$ac_config_commands rcdefs.h"
52366
52367 fi
52368
52369 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52370
52371
52372 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52373
52374
52375 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52376
52377
52378 if test "$wx_cv_version_script" = "yes"; then
52379 ac_config_files="$ac_config_files version-script"
52380
52381 fi
52382 ac_config_files="$ac_config_files Makefile"
52383
52384
52385 ac_config_commands="$ac_config_commands wx-config"
52386
52387
52388
52389 if test "$wxWITH_SUBDIRS" != "no"; then
52390 if test "$wxUSE_GUI" = "yes"; then
52391 SUBDIRS="samples demos utils"
52392 else
52393 SUBDIRS="samples utils"
52394 fi
52395
52396
52397
52398 # Check whether --with-cppunit-prefix was given.
52399 if test "${with_cppunit_prefix+set}" = set; then
52400 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52401 else
52402 cppunit_config_prefix=""
52403 fi
52404
52405
52406 # Check whether --with-cppunit-exec-prefix was given.
52407 if test "${with_cppunit_exec_prefix+set}" = set; then
52408 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52409 else
52410 cppunit_config_exec_prefix=""
52411 fi
52412
52413
52414 if test x$cppunit_config_exec_prefix != x ; then
52415 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52416 if test x${CPPUNIT_CONFIG+set} != xset ; then
52417 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52418 fi
52419 fi
52420 if test x$cppunit_config_prefix != x ; then
52421 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52422 if test x${CPPUNIT_CONFIG+set} != xset ; then
52423 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52424 fi
52425 fi
52426
52427 # Extract the first word of "cppunit-config", so it can be a program name with args.
52428 set dummy cppunit-config; ac_word=$2
52429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52431 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52432 echo $ECHO_N "(cached) $ECHO_C" >&6
52433 else
52434 case $CPPUNIT_CONFIG in
52435 [\\/]* | ?:[\\/]*)
52436 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52437 ;;
52438 *)
52439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52440 for as_dir in $PATH
52441 do
52442 IFS=$as_save_IFS
52443 test -z "$as_dir" && as_dir=.
52444 for ac_exec_ext in '' $ac_executable_extensions; do
52445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52446 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52448 break 2
52449 fi
52450 done
52451 done
52452 IFS=$as_save_IFS
52453
52454 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52455 ;;
52456 esac
52457 fi
52458 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52459 if test -n "$CPPUNIT_CONFIG"; then
52460 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52461 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52462 else
52463 { echo "$as_me:$LINENO: result: no" >&5
52464 echo "${ECHO_T}no" >&6; }
52465 fi
52466
52467
52468 cppunit_version_min=1.8.0
52469
52470 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52471 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52472 no_cppunit=""
52473 if test "$CPPUNIT_CONFIG" = "no" ; then
52474 { echo "$as_me:$LINENO: result: no" >&5
52475 echo "${ECHO_T}no" >&6; }
52476 no_cppunit=yes
52477 else
52478 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52479 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52480 cppunit_version=`$CPPUNIT_CONFIG --version`
52481
52482 cppunit_major_version=`echo $cppunit_version | \
52483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52484 cppunit_minor_version=`echo $cppunit_version | \
52485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52486 cppunit_micro_version=`echo $cppunit_version | \
52487 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52488
52489 cppunit_major_min=`echo $cppunit_version_min | \
52490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52491 cppunit_minor_min=`echo $cppunit_version_min | \
52492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52493 cppunit_micro_min=`echo $cppunit_version_min | \
52494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52495
52496 cppunit_version_proper=`expr \
52497 $cppunit_major_version \> $cppunit_major_min \| \
52498 $cppunit_major_version \= $cppunit_major_min \& \
52499 $cppunit_minor_version \> $cppunit_minor_min \| \
52500 $cppunit_major_version \= $cppunit_major_min \& \
52501 $cppunit_minor_version \= $cppunit_minor_min \& \
52502 $cppunit_micro_version \>= $cppunit_micro_min `
52503
52504 if test "$cppunit_version_proper" = "1" ; then
52505 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52506 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52507 else
52508 { echo "$as_me:$LINENO: result: no" >&5
52509 echo "${ECHO_T}no" >&6; }
52510 no_cppunit=yes
52511 fi
52512 fi
52513
52514 if test "x$no_cppunit" = x ; then
52515 SUBDIRS="$SUBDIRS tests"
52516 else
52517 CPPUNIT_CFLAGS=""
52518 CPPUNIT_LIBS=""
52519 :
52520 fi
52521
52522
52523
52524
52525
52526 for subdir in $SUBDIRS; do
52527 if test -d ${srcdir}/${subdir} ; then
52528 if test "$wxUSE_GUI" = "yes"; then
52529 if test ${subdir} = "samples"; then
52530 makefiles="samples/Makefile.in $makefiles"
52531 for sample in $SAMPLES_SUBDIRS; do
52532 if test -d $srcdir/samples/$sample; then
52533 makefiles="samples/$sample/Makefile.in $makefiles"
52534 fi
52535 done
52536 else
52537 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52538 eval "disabled=\$$disabled_var"
52539 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52540 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52541 fi
52542 else
52543 if test ${subdir} = "samples"; then
52544 makefiles="samples/Makefile.in $makefiles"
52545 for sample in `echo $SAMPLES_SUBDIRS`; do
52546 if test -d $srcdir/samples/$sample; then
52547 makefiles="samples/$sample/Makefile.in $makefiles"
52548 fi
52549 done
52550 elif test ${subdir} = "utils"; then
52551 makefiles=""
52552 for util in ifacecheck ; do
52553 if test -d $srcdir/utils/$util ; then
52554 makefiles="utils/$util/src/Makefile.in \
52555 $makefiles"
52556 fi
52557 done
52558 else
52559 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52560 fi
52561 fi
52562
52563 for mkin in $makefiles ; do
52564 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52565 ac_config_files="$ac_config_files $mk"
52566
52567 done
52568 fi
52569 done
52570 fi
52571 cat >confcache <<\_ACEOF
52572 # This file is a shell script that caches the results of configure
52573 # tests run on this system so they can be shared between configure
52574 # scripts and configure runs, see configure's option --config-cache.
52575 # It is not useful on other systems. If it contains results you don't
52576 # want to keep, you may remove or edit it.
52577 #
52578 # config.status only pays attention to the cache file if you give it
52579 # the --recheck option to rerun configure.
52580 #
52581 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52582 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52583 # following values.
52584
52585 _ACEOF
52586
52587 # The following way of writing the cache mishandles newlines in values,
52588 # but we know of no workaround that is simple, portable, and efficient.
52589 # So, we kill variables containing newlines.
52590 # Ultrix sh set writes to stderr and can't be redirected directly,
52591 # and sets the high bit in the cache file unless we assign to the vars.
52592 (
52593 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52594 eval ac_val=\$$ac_var
52595 case $ac_val in #(
52596 *${as_nl}*)
52597 case $ac_var in #(
52598 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52599 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52600 esac
52601 case $ac_var in #(
52602 _ | IFS | as_nl) ;; #(
52603 *) $as_unset $ac_var ;;
52604 esac ;;
52605 esac
52606 done
52607
52608 (set) 2>&1 |
52609 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52610 *${as_nl}ac_space=\ *)
52611 # `set' does not quote correctly, so add quotes (double-quote
52612 # substitution turns \\\\ into \\, and sed turns \\ into \).
52613 sed -n \
52614 "s/'/'\\\\''/g;
52615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52616 ;; #(
52617 *)
52618 # `set' quotes correctly as required by POSIX, so do not add quotes.
52619 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52620 ;;
52621 esac |
52622 sort
52623 ) |
52624 sed '
52625 /^ac_cv_env_/b end
52626 t clear
52627 :clear
52628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52629 t end
52630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52631 :end' >>confcache
52632 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52633 if test -w "$cache_file"; then
52634 test "x$cache_file" != "x/dev/null" &&
52635 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52636 echo "$as_me: updating cache $cache_file" >&6;}
52637 cat confcache >$cache_file
52638 else
52639 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52640 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52641 fi
52642 fi
52643 rm -f confcache
52644
52645 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52646 # Let make expand exec_prefix.
52647 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52648
52649 DEFS=-DHAVE_CONFIG_H
52650
52651 ac_libobjs=
52652 ac_ltlibobjs=
52653 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52654 # 1. Remove the extension, and $U if already installed.
52655 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52656 ac_i=`echo "$ac_i" | sed "$ac_script"`
52657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52658 # will be set to the directory where LIBOBJS objects are built.
52659 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52660 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52661 done
52662 LIBOBJS=$ac_libobjs
52663
52664 LTLIBOBJS=$ac_ltlibobjs
52665
52666
52667
52668 : ${CONFIG_STATUS=./config.status}
52669 ac_clean_files_save=$ac_clean_files
52670 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52671 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52672 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52673 cat >$CONFIG_STATUS <<_ACEOF
52674 #! $SHELL
52675 # Generated by $as_me.
52676 # Run this file to recreate the current configuration.
52677 # Compiler output produced by configure, useful for debugging
52678 # configure, is in config.log if it exists.
52679
52680 debug=false
52681 ac_cs_recheck=false
52682 ac_cs_silent=false
52683 SHELL=\${CONFIG_SHELL-$SHELL}
52684 _ACEOF
52685
52686 cat >>$CONFIG_STATUS <<\_ACEOF
52687 ## --------------------- ##
52688 ## M4sh Initialization. ##
52689 ## --------------------- ##
52690
52691 # Be more Bourne compatible
52692 DUALCASE=1; export DUALCASE # for MKS sh
52693 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52694 emulate sh
52695 NULLCMD=:
52696 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52697 # is contrary to our usage. Disable this feature.
52698 alias -g '${1+"$@"}'='"$@"'
52699 setopt NO_GLOB_SUBST
52700 else
52701 case `(set -o) 2>/dev/null` in
52702 *posix*) set -o posix ;;
52703 esac
52704
52705 fi
52706
52707
52708
52709
52710 # PATH needs CR
52711 # Avoid depending upon Character Ranges.
52712 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52713 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52714 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52715 as_cr_digits='0123456789'
52716 as_cr_alnum=$as_cr_Letters$as_cr_digits
52717
52718 # The user is always right.
52719 if test "${PATH_SEPARATOR+set}" != set; then
52720 echo "#! /bin/sh" >conf$$.sh
52721 echo "exit 0" >>conf$$.sh
52722 chmod +x conf$$.sh
52723 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52724 PATH_SEPARATOR=';'
52725 else
52726 PATH_SEPARATOR=:
52727 fi
52728 rm -f conf$$.sh
52729 fi
52730
52731 # Support unset when possible.
52732 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52733 as_unset=unset
52734 else
52735 as_unset=false
52736 fi
52737
52738
52739 # IFS
52740 # We need space, tab and new line, in precisely that order. Quoting is
52741 # there to prevent editors from complaining about space-tab.
52742 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52743 # splitting by setting IFS to empty value.)
52744 as_nl='
52745 '
52746 IFS=" "" $as_nl"
52747
52748 # Find who we are. Look in the path if we contain no directory separator.
52749 case $0 in
52750 *[\\/]* ) as_myself=$0 ;;
52751 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52752 for as_dir in $PATH
52753 do
52754 IFS=$as_save_IFS
52755 test -z "$as_dir" && as_dir=.
52756 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52757 done
52758 IFS=$as_save_IFS
52759
52760 ;;
52761 esac
52762 # We did not find ourselves, most probably we were run as `sh COMMAND'
52763 # in which case we are not to be found in the path.
52764 if test "x$as_myself" = x; then
52765 as_myself=$0
52766 fi
52767 if test ! -f "$as_myself"; then
52768 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52769 { (exit 1); exit 1; }
52770 fi
52771
52772 # Work around bugs in pre-3.0 UWIN ksh.
52773 for as_var in ENV MAIL MAILPATH
52774 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52775 done
52776 PS1='$ '
52777 PS2='> '
52778 PS4='+ '
52779
52780 # NLS nuisances.
52781 for as_var in \
52782 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52783 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52784 LC_TELEPHONE LC_TIME
52785 do
52786 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52787 eval $as_var=C; export $as_var
52788 else
52789 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52790 fi
52791 done
52792
52793 # Required to use basename.
52794 if expr a : '\(a\)' >/dev/null 2>&1 &&
52795 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52796 as_expr=expr
52797 else
52798 as_expr=false
52799 fi
52800
52801 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52802 as_basename=basename
52803 else
52804 as_basename=false
52805 fi
52806
52807
52808 # Name of the executable.
52809 as_me=`$as_basename -- "$0" ||
52810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52811 X"$0" : 'X\(//\)$' \| \
52812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52813 echo X/"$0" |
52814 sed '/^.*\/\([^/][^/]*\)\/*$/{
52815 s//\1/
52816 q
52817 }
52818 /^X\/\(\/\/\)$/{
52819 s//\1/
52820 q
52821 }
52822 /^X\/\(\/\).*/{
52823 s//\1/
52824 q
52825 }
52826 s/.*/./; q'`
52827
52828 # CDPATH.
52829 $as_unset CDPATH
52830
52831
52832
52833 as_lineno_1=$LINENO
52834 as_lineno_2=$LINENO
52835 test "x$as_lineno_1" != "x$as_lineno_2" &&
52836 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52837
52838 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52839 # uniformly replaced by the line number. The first 'sed' inserts a
52840 # line-number line after each line using $LINENO; the second 'sed'
52841 # does the real work. The second script uses 'N' to pair each
52842 # line-number line with the line containing $LINENO, and appends
52843 # trailing '-' during substitution so that $LINENO is not a special
52844 # case at line end.
52845 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52846 # scripts with optimization help from Paolo Bonzini. Blame Lee
52847 # E. McMahon (1931-1989) for sed's syntax. :-)
52848 sed -n '
52849 p
52850 /[$]LINENO/=
52851 ' <$as_myself |
52852 sed '
52853 s/[$]LINENO.*/&-/
52854 t lineno
52855 b
52856 :lineno
52857 N
52858 :loop
52859 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52860 t loop
52861 s/-\n.*//
52862 ' >$as_me.lineno &&
52863 chmod +x "$as_me.lineno" ||
52864 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52865 { (exit 1); exit 1; }; }
52866
52867 # Don't try to exec as it changes $[0], causing all sort of problems
52868 # (the dirname of $[0] is not the place where we might find the
52869 # original and so on. Autoconf is especially sensitive to this).
52870 . "./$as_me.lineno"
52871 # Exit status is that of the last command.
52872 exit
52873 }
52874
52875
52876 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52877 as_dirname=dirname
52878 else
52879 as_dirname=false
52880 fi
52881
52882 ECHO_C= ECHO_N= ECHO_T=
52883 case `echo -n x` in
52884 -n*)
52885 case `echo 'x\c'` in
52886 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52887 *) ECHO_C='\c';;
52888 esac;;
52889 *)
52890 ECHO_N='-n';;
52891 esac
52892
52893 if expr a : '\(a\)' >/dev/null 2>&1 &&
52894 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52895 as_expr=expr
52896 else
52897 as_expr=false
52898 fi
52899
52900 rm -f conf$$ conf$$.exe conf$$.file
52901 if test -d conf$$.dir; then
52902 rm -f conf$$.dir/conf$$.file
52903 else
52904 rm -f conf$$.dir
52905 mkdir conf$$.dir
52906 fi
52907 echo >conf$$.file
52908 if ln -s conf$$.file conf$$ 2>/dev/null; then
52909 as_ln_s='ln -s'
52910 # ... but there are two gotchas:
52911 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52912 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52913 # In both cases, we have to default to `cp -p'.
52914 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52915 as_ln_s='cp -p'
52916 elif ln conf$$.file conf$$ 2>/dev/null; then
52917 as_ln_s=ln
52918 else
52919 as_ln_s='cp -p'
52920 fi
52921 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52922 rmdir conf$$.dir 2>/dev/null
52923
52924 if mkdir -p . 2>/dev/null; then
52925 as_mkdir_p=:
52926 else
52927 test -d ./-p && rmdir ./-p
52928 as_mkdir_p=false
52929 fi
52930
52931 if test -x / >/dev/null 2>&1; then
52932 as_test_x='test -x'
52933 else
52934 if ls -dL / >/dev/null 2>&1; then
52935 as_ls_L_option=L
52936 else
52937 as_ls_L_option=
52938 fi
52939 as_test_x='
52940 eval sh -c '\''
52941 if test -d "$1"; then
52942 test -d "$1/.";
52943 else
52944 case $1 in
52945 -*)set "./$1";;
52946 esac;
52947 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52948 ???[sx]*):;;*)false;;esac;fi
52949 '\'' sh
52950 '
52951 fi
52952 as_executable_p=$as_test_x
52953
52954 # Sed expression to map a string onto a valid CPP name.
52955 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52956
52957 # Sed expression to map a string onto a valid variable name.
52958 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52959
52960
52961 exec 6>&1
52962
52963 # Save the log message, to keep $[0] and so on meaningful, and to
52964 # report actual input values of CONFIG_FILES etc. instead of their
52965 # values after options handling.
52966 ac_log="
52967 This file was extended by wxWidgets $as_me 2.9.2, which was
52968 generated by GNU Autoconf 2.61. Invocation command line was
52969
52970 CONFIG_FILES = $CONFIG_FILES
52971 CONFIG_HEADERS = $CONFIG_HEADERS
52972 CONFIG_LINKS = $CONFIG_LINKS
52973 CONFIG_COMMANDS = $CONFIG_COMMANDS
52974 $ $0 $@
52975
52976 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52977 "
52978
52979 _ACEOF
52980
52981 cat >>$CONFIG_STATUS <<_ACEOF
52982 # Files that config.status was made for.
52983 config_files="$ac_config_files"
52984 config_headers="$ac_config_headers"
52985 config_commands="$ac_config_commands"
52986
52987 _ACEOF
52988
52989 cat >>$CONFIG_STATUS <<\_ACEOF
52990 ac_cs_usage="\
52991 \`$as_me' instantiates files from templates according to the
52992 current configuration.
52993
52994 Usage: $0 [OPTIONS] [FILE]...
52995
52996 -h, --help print this help, then exit
52997 -V, --version print version number and configuration settings, then exit
52998 -q, --quiet do not print progress messages
52999 -d, --debug don't remove temporary files
53000 --recheck update $as_me by reconfiguring in the same conditions
53001 --file=FILE[:TEMPLATE]
53002 instantiate the configuration file FILE
53003 --header=FILE[:TEMPLATE]
53004 instantiate the configuration header FILE
53005
53006 Configuration files:
53007 $config_files
53008
53009 Configuration headers:
53010 $config_headers
53011
53012 Configuration commands:
53013 $config_commands
53014
53015 Report bugs to <bug-autoconf@gnu.org>."
53016
53017 _ACEOF
53018 cat >>$CONFIG_STATUS <<_ACEOF
53019 ac_cs_version="\\
53020 wxWidgets config.status 2.9.2
53021 configured by $0, generated by GNU Autoconf 2.61,
53022 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53023
53024 Copyright (C) 2006 Free Software Foundation, Inc.
53025 This config.status script is free software; the Free Software Foundation
53026 gives unlimited permission to copy, distribute and modify it."
53027
53028 ac_pwd='$ac_pwd'
53029 srcdir='$srcdir'
53030 INSTALL='$INSTALL'
53031 _ACEOF
53032
53033 cat >>$CONFIG_STATUS <<\_ACEOF
53034 # If no file are specified by the user, then we need to provide default
53035 # value. By we need to know if files were specified by the user.
53036 ac_need_defaults=:
53037 while test $# != 0
53038 do
53039 case $1 in
53040 --*=*)
53041 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53042 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53043 ac_shift=:
53044 ;;
53045 *)
53046 ac_option=$1
53047 ac_optarg=$2
53048 ac_shift=shift
53049 ;;
53050 esac
53051
53052 case $ac_option in
53053 # Handling of the options.
53054 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53055 ac_cs_recheck=: ;;
53056 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53057 echo "$ac_cs_version"; exit ;;
53058 --debug | --debu | --deb | --de | --d | -d )
53059 debug=: ;;
53060 --file | --fil | --fi | --f )
53061 $ac_shift
53062 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53063 ac_need_defaults=false;;
53064 --header | --heade | --head | --hea )
53065 $ac_shift
53066 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53067 ac_need_defaults=false;;
53068 --he | --h)
53069 # Conflict between --help and --header
53070 { echo "$as_me: error: ambiguous option: $1
53071 Try \`$0 --help' for more information." >&2
53072 { (exit 1); exit 1; }; };;
53073 --help | --hel | -h )
53074 echo "$ac_cs_usage"; exit ;;
53075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53076 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53077 ac_cs_silent=: ;;
53078
53079 # This is an error.
53080 -*) { echo "$as_me: error: unrecognized option: $1
53081 Try \`$0 --help' for more information." >&2
53082 { (exit 1); exit 1; }; } ;;
53083
53084 *) ac_config_targets="$ac_config_targets $1"
53085 ac_need_defaults=false ;;
53086
53087 esac
53088 shift
53089 done
53090
53091 ac_configure_extra_args=
53092
53093 if $ac_cs_silent; then
53094 exec 6>/dev/null
53095 ac_configure_extra_args="$ac_configure_extra_args --silent"
53096 fi
53097
53098 _ACEOF
53099 cat >>$CONFIG_STATUS <<_ACEOF
53100 if \$ac_cs_recheck; then
53101 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53102 CONFIG_SHELL=$SHELL
53103 export CONFIG_SHELL
53104 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53105 fi
53106
53107 _ACEOF
53108 cat >>$CONFIG_STATUS <<\_ACEOF
53109 exec 5>>config.log
53110 {
53111 echo
53112 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53113 ## Running $as_me. ##
53114 _ASBOX
53115 echo "$ac_log"
53116 } >&5
53117
53118 _ACEOF
53119 cat >>$CONFIG_STATUS <<_ACEOF
53120 #
53121 # INIT-COMMANDS
53122 #
53123
53124 CPP="$CPP"
53125 infile="$srcdir/include/wx/msw/genrcdefs.h"
53126 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53127
53128
53129 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53130 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53131 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53132 LN_S="${LN_S}"
53133
53134
53135 _ACEOF
53136
53137 cat >>$CONFIG_STATUS <<\_ACEOF
53138
53139 # Handling of arguments.
53140 for ac_config_target in $ac_config_targets
53141 do
53142 case $ac_config_target in
53143 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53144 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53145 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53146 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53147 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53148 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53149 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53150 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53151 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53152
53153 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53154 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53155 { (exit 1); exit 1; }; };;
53156 esac
53157 done
53158
53159
53160 # If the user did not use the arguments to specify the items to instantiate,
53161 # then the envvar interface is used. Set only those that are not.
53162 # We use the long form for the default assignment because of an extremely
53163 # bizarre bug on SunOS 4.1.3.
53164 if $ac_need_defaults; then
53165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53168 fi
53169
53170 # Have a temporary directory for convenience. Make it in the build tree
53171 # simply because there is no reason against having it here, and in addition,
53172 # creating and moving files from /tmp can sometimes cause problems.
53173 # Hook for its removal unless debugging.
53174 # Note that there is a small window in which the directory will not be cleaned:
53175 # after its creation but before its name has been assigned to `$tmp'.
53176 $debug ||
53177 {
53178 tmp=
53179 trap 'exit_status=$?
53180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53181 ' 0
53182 trap '{ (exit 1); exit 1; }' 1 2 13 15
53183 }
53184 # Create a (secure) tmp directory for tmp files.
53185
53186 {
53187 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53188 test -n "$tmp" && test -d "$tmp"
53189 } ||
53190 {
53191 tmp=./conf$$-$RANDOM
53192 (umask 077 && mkdir "$tmp")
53193 } ||
53194 {
53195 echo "$me: cannot create a temporary directory in ." >&2
53196 { (exit 1); exit 1; }
53197 }
53198
53199 #
53200 # Set up the sed scripts for CONFIG_FILES section.
53201 #
53202
53203 # No need to generate the scripts if there are no CONFIG_FILES.
53204 # This happens for instance when ./config.status config.h
53205 if test -n "$CONFIG_FILES"; then
53206
53207 _ACEOF
53208
53209
53210
53211 ac_delim='%!_!# '
53212 for ac_last_try in false false false false false :; do
53213 cat >conf$$subs.sed <<_ACEOF
53214 SHELL!$SHELL$ac_delim
53215 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53216 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53217 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53218 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53219 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53220 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53221 exec_prefix!$exec_prefix$ac_delim
53222 prefix!$prefix$ac_delim
53223 program_transform_name!$program_transform_name$ac_delim
53224 bindir!$bindir$ac_delim
53225 sbindir!$sbindir$ac_delim
53226 libexecdir!$libexecdir$ac_delim
53227 datarootdir!$datarootdir$ac_delim
53228 datadir!$datadir$ac_delim
53229 sysconfdir!$sysconfdir$ac_delim
53230 sharedstatedir!$sharedstatedir$ac_delim
53231 localstatedir!$localstatedir$ac_delim
53232 includedir!$includedir$ac_delim
53233 oldincludedir!$oldincludedir$ac_delim
53234 docdir!$docdir$ac_delim
53235 infodir!$infodir$ac_delim
53236 htmldir!$htmldir$ac_delim
53237 dvidir!$dvidir$ac_delim
53238 pdfdir!$pdfdir$ac_delim
53239 psdir!$psdir$ac_delim
53240 libdir!$libdir$ac_delim
53241 localedir!$localedir$ac_delim
53242 mandir!$mandir$ac_delim
53243 DEFS!$DEFS$ac_delim
53244 ECHO_C!$ECHO_C$ac_delim
53245 ECHO_N!$ECHO_N$ac_delim
53246 ECHO_T!$ECHO_T$ac_delim
53247 LIBS!$LIBS$ac_delim
53248 build_alias!$build_alias$ac_delim
53249 host_alias!$host_alias$ac_delim
53250 target_alias!$target_alias$ac_delim
53251 build!$build$ac_delim
53252 build_cpu!$build_cpu$ac_delim
53253 build_vendor!$build_vendor$ac_delim
53254 build_os!$build_os$ac_delim
53255 host!$host$ac_delim
53256 host_cpu!$host_cpu$ac_delim
53257 host_vendor!$host_vendor$ac_delim
53258 host_os!$host_os$ac_delim
53259 wx_top_builddir!$wx_top_builddir$ac_delim
53260 CC!$CC$ac_delim
53261 CFLAGS!$CFLAGS$ac_delim
53262 LDFLAGS!$LDFLAGS$ac_delim
53263 CPPFLAGS!$CPPFLAGS$ac_delim
53264 ac_ct_CC!$ac_ct_CC$ac_delim
53265 EXEEXT!$EXEEXT$ac_delim
53266 OBJEXT!$OBJEXT$ac_delim
53267 CPP!$CPP$ac_delim
53268 GREP!$GREP$ac_delim
53269 EGREP!$EGREP$ac_delim
53270 CXX!$CXX$ac_delim
53271 CXXFLAGS!$CXXFLAGS$ac_delim
53272 ac_ct_CXX!$ac_ct_CXX$ac_delim
53273 AR!$AR$ac_delim
53274 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53275 CXXCPP!$CXXCPP$ac_delim
53276 subdirs!$subdirs$ac_delim
53277 PKG_CONFIG!$PKG_CONFIG$ac_delim
53278 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53279 GTK_LIBS!$GTK_LIBS$ac_delim
53280 GTK_CONFIG!$GTK_CONFIG$ac_delim
53281 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53282 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53283 XMKMF!$XMKMF$ac_delim
53284 X_CFLAGS!$X_CFLAGS$ac_delim
53285 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53286 X_LIBS!$X_LIBS$ac_delim
53287 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53288 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53289 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53290 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53291 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53292 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53293 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53294 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53295 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53296 LIBICONV!$LIBICONV$ac_delim
53297 GXX_VERSION!$GXX_VERSION$ac_delim
53298 SDL_CONFIG!$SDL_CONFIG$ac_delim
53299 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53300 SDL_LIBS!$SDL_LIBS$ac_delim
53301 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53302 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53303 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53304 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53305 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53306 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53307 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53308 HILDON_LIBS!$HILDON_LIBS$ac_delim
53309 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53310 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53311 _ACEOF
53312
53313 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53314 break
53315 elif $ac_last_try; then
53316 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53317 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53318 { (exit 1); exit 1; }; }
53319 else
53320 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53321 fi
53322 done
53323
53324 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53325 if test -n "$ac_eof"; then
53326 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53327 ac_eof=`expr $ac_eof + 1`
53328 fi
53329
53330 cat >>$CONFIG_STATUS <<_ACEOF
53331 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53333 _ACEOF
53334 sed '
53335 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53336 s/^/s,@/; s/!/@,|#_!!_#|/
53337 :n
53338 t n
53339 s/'"$ac_delim"'$/,g/; t
53340 s/$/\\/; p
53341 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53342 ' >>$CONFIG_STATUS <conf$$subs.sed
53343 rm -f conf$$subs.sed
53344 cat >>$CONFIG_STATUS <<_ACEOF
53345 CEOF$ac_eof
53346 _ACEOF
53347
53348
53349 ac_delim='%!_!# '
53350 for ac_last_try in false false false false false :; do
53351 cat >conf$$subs.sed <<_ACEOF
53352 PYTHON!$PYTHON$ac_delim
53353 COND_PYTHON!$COND_PYTHON$ac_delim
53354 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53355 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53356 GST_CFLAGS!$GST_CFLAGS$ac_delim
53357 GST_LIBS!$GST_LIBS$ac_delim
53358 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53359 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53360 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53361 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53362 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53363 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53364 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53365 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53366 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53367 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53368 VENDOR!$VENDOR$ac_delim
53369 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53370 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53371 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53372 WXUNIV!$WXUNIV$ac_delim
53373 MONOLITHIC!$MONOLITHIC$ac_delim
53374 USE_PLUGINS!$USE_PLUGINS$ac_delim
53375 CXXWARNINGS!$CXXWARNINGS$ac_delim
53376 EXTRALIBS!$EXTRALIBS$ac_delim
53377 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53378 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53379 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53380 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53381 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53382 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53383 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53384 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53385 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53386 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53387 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53388 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53389 UNICODE!$UNICODE$ac_delim
53390 DEBUG_INFO!$DEBUG_INFO$ac_delim
53391 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53392 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53393 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53394 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53395 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53396 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53397 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53398 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53399 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53400 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53401 RANLIB!$RANLIB$ac_delim
53402 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53403 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53404 INSTALL_DATA!$INSTALL_DATA$ac_delim
53405 LN_S!$LN_S$ac_delim
53406 SET_MAKE!$SET_MAKE$ac_delim
53407 MAKE_SET!$MAKE_SET$ac_delim
53408 AROPTIONS!$AROPTIONS$ac_delim
53409 STRIP!$STRIP$ac_delim
53410 NM!$NM$ac_delim
53411 INSTALL_DIR!$INSTALL_DIR$ac_delim
53412 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53413 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53414 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53415 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53416 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53417 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53418 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53419 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53420 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53421 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53422 SO_SUFFIX!$SO_SUFFIX$ac_delim
53423 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53424 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53425 LIBPREFIX!$LIBPREFIX$ac_delim
53426 LIBEXT!$LIBEXT$ac_delim
53427 DLLPREFIX!$DLLPREFIX$ac_delim
53428 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53429 dlldir!$dlldir$ac_delim
53430 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53431 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53432 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53433 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53434 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53435 PIC_FLAG!$PIC_FLAG$ac_delim
53436 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53437 USE_SOVERSION!$USE_SOVERSION$ac_delim
53438 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53439 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53440 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53441 USE_MACVERSION!$USE_MACVERSION$ac_delim
53442 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53443 SONAME_FLAG!$SONAME_FLAG$ac_delim
53444 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53445 BK_DEPS!$BK_DEPS$ac_delim
53446 WINDRES!$WINDRES$ac_delim
53447 REZ!$REZ$ac_delim
53448 SETFILE!$SETFILE$ac_delim
53449 _ACEOF
53450
53451 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53452 break
53453 elif $ac_last_try; then
53454 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53455 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53456 { (exit 1); exit 1; }; }
53457 else
53458 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53459 fi
53460 done
53461
53462 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53463 if test -n "$ac_eof"; then
53464 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53465 ac_eof=`expr $ac_eof + 1`
53466 fi
53467
53468 cat >>$CONFIG_STATUS <<_ACEOF
53469 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53471 _ACEOF
53472 sed '
53473 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53474 s/^/s,@/; s/!/@,|#_!!_#|/
53475 :n
53476 t n
53477 s/'"$ac_delim"'$/,g/; t
53478 s/$/\\/; p
53479 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53480 ' >>$CONFIG_STATUS <conf$$subs.sed
53481 rm -f conf$$subs.sed
53482 cat >>$CONFIG_STATUS <<_ACEOF
53483 CEOF$ac_eof
53484 _ACEOF
53485
53486
53487 ac_delim='%!_!# '
53488 for ac_last_try in false false false false false :; do
53489 cat >conf$$subs.sed <<_ACEOF
53490 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53491 GCC_PCH!$GCC_PCH$ac_delim
53492 ICC_PCH!$ICC_PCH$ac_delim
53493 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53494 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53495 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53496 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53497 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53498 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53499 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53500 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53501 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53502 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53503 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53504 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53505 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53506 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53507 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53508 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53509 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53510 COND_BUILD_release!$COND_BUILD_release$ac_delim
53511 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53512 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53513 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53514 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53515 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53516 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53517 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53518 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53519 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53520 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53521 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53522 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53523 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53524 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53525 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53526 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53527 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53528 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53529 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53530 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53531 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53532 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53533 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53534 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53535 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53536 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53537 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53538 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53539 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53540 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53541 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53542 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53543 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53544 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53545 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53546 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53547 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53548 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53549 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53550 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53551 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53552 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53553 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53554 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53555 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53556 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53557 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53558 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53559 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53560 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53561 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53562 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53563 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53564 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53565 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53566 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53567 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
53568 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53569 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
53570 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53571 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53572 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53573 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53574 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53575 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53576 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53577 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53578 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53579 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53580 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53581 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53582 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53583 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53584 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53585 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53586 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53587 _ACEOF
53588
53589 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53590 break
53591 elif $ac_last_try; then
53592 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53593 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53594 { (exit 1); exit 1; }; }
53595 else
53596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53597 fi
53598 done
53599
53600 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53601 if test -n "$ac_eof"; then
53602 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53603 ac_eof=`expr $ac_eof + 1`
53604 fi
53605
53606 cat >>$CONFIG_STATUS <<_ACEOF
53607 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53609 _ACEOF
53610 sed '
53611 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53612 s/^/s,@/; s/!/@,|#_!!_#|/
53613 :n
53614 t n
53615 s/'"$ac_delim"'$/,g/; t
53616 s/$/\\/; p
53617 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53618 ' >>$CONFIG_STATUS <conf$$subs.sed
53619 rm -f conf$$subs.sed
53620 cat >>$CONFIG_STATUS <<_ACEOF
53621 CEOF$ac_eof
53622 _ACEOF
53623
53624
53625 ac_delim='%!_!# '
53626 for ac_last_try in false false false false false :; do
53627 cat >conf$$subs.sed <<_ACEOF
53628 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53629 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53630 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53631 COND_SHARED_0!$COND_SHARED_0$ac_delim
53632 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53633 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53634 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53635 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53636 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53637 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53638 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53639 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53640 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53641 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53642 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53643 COND_SHARED_1!$COND_SHARED_1$ac_delim
53644 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53645 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53646 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53647 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53648 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53649 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53650 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53651 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53652 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53653 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53654 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53655 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53656 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53657 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53658 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53659 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53660 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53661 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53662 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53663 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53664 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53665 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53666 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53667 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53668 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53669 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53670 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53671 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53672 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53673 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53674 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53675 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53676 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53677 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53678 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53679 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53680 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53681 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53682 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53683 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53684 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53685 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53686 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53687 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53688 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53689 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53690 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53691 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53692 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53693 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53694 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53695 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53696 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53697 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53698 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53699 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53700 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53701 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53702 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53703 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53704 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53705 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53706 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53707 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53708 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53709 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53710 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53711 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53712 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53713 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53714 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53715 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53716 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53717 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53718 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53719 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53720 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53721 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53722 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53723 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53724 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53725 _ACEOF
53726
53727 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53728 break
53729 elif $ac_last_try; then
53730 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53731 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53732 { (exit 1); exit 1; }; }
53733 else
53734 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53735 fi
53736 done
53737
53738 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53739 if test -n "$ac_eof"; then
53740 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53741 ac_eof=`expr $ac_eof + 1`
53742 fi
53743
53744 cat >>$CONFIG_STATUS <<_ACEOF
53745 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53747 _ACEOF
53748 sed '
53749 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53750 s/^/s,@/; s/!/@,|#_!!_#|/
53751 :n
53752 t n
53753 s/'"$ac_delim"'$/,g/; t
53754 s/$/\\/; p
53755 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53756 ' >>$CONFIG_STATUS <conf$$subs.sed
53757 rm -f conf$$subs.sed
53758 cat >>$CONFIG_STATUS <<_ACEOF
53759 CEOF$ac_eof
53760 _ACEOF
53761
53762
53763 ac_delim='%!_!# '
53764 for ac_last_try in false false false false false :; do
53765 cat >conf$$subs.sed <<_ACEOF
53766 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53767 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53768 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53769 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53770 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53771 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53772 DEREZ!$DEREZ$ac_delim
53773 SHARED!$SHARED$ac_delim
53774 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53775 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53776 USE_GUI!$USE_GUI$ac_delim
53777 AFMINSTALL!$AFMINSTALL$ac_delim
53778 WIN32INSTALL!$WIN32INSTALL$ac_delim
53779 TOOLKIT!$TOOLKIT$ac_delim
53780 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53781 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53782 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53783 cross_compiling!$cross_compiling$ac_delim
53784 WIDGET_SET!$WIDGET_SET$ac_delim
53785 WX_RELEASE!$WX_RELEASE$ac_delim
53786 WX_VERSION!$WX_VERSION$ac_delim
53787 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53788 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53789 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53790 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53791 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53792 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53793 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53794 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53795 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53796 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53797 GUIDIST!$GUIDIST$ac_delim
53798 DISTDIR!$DISTDIR$ac_delim
53799 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53800 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53801 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53802 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53803 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53804 RESCOMP!$RESCOMP$ac_delim
53805 RESFLAGS!$RESFLAGS$ac_delim
53806 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53807 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53808 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53809 LIBWXMACRES!$LIBWXMACRES$ac_delim
53810 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53811 MACSETFILE!$MACSETFILE$ac_delim
53812 GCC!$GCC$ac_delim
53813 DLLTOOL!$DLLTOOL$ac_delim
53814 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53815 LIBOBJS!$LIBOBJS$ac_delim
53816 LTLIBOBJS!$LTLIBOBJS$ac_delim
53817 _ACEOF
53818
53819 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53820 break
53821 elif $ac_last_try; then
53822 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53823 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53824 { (exit 1); exit 1; }; }
53825 else
53826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53827 fi
53828 done
53829
53830 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53831 if test -n "$ac_eof"; then
53832 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53833 ac_eof=`expr $ac_eof + 1`
53834 fi
53835
53836 cat >>$CONFIG_STATUS <<_ACEOF
53837 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53839 _ACEOF
53840 sed '
53841 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53842 s/^/s,@/; s/!/@,|#_!!_#|/
53843 :n
53844 t n
53845 s/'"$ac_delim"'$/,g/; t
53846 s/$/\\/; p
53847 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53848 ' >>$CONFIG_STATUS <conf$$subs.sed
53849 rm -f conf$$subs.sed
53850 cat >>$CONFIG_STATUS <<_ACEOF
53851 :end
53852 s/|#_!!_#|//g
53853 CEOF$ac_eof
53854 _ACEOF
53855
53856
53857 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53858 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53859 # trailing colons and then remove the whole line if VPATH becomes empty
53860 # (actually we leave an empty line to preserve line numbers).
53861 if test "x$srcdir" = x.; then
53862 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53863 s/:*\$(srcdir):*/:/
53864 s/:*\${srcdir}:*/:/
53865 s/:*@srcdir@:*/:/
53866 s/^\([^=]*=[ ]*\):*/\1/
53867 s/:*$//
53868 s/^[^=]*=[ ]*$//
53869 }'
53870 fi
53871
53872 cat >>$CONFIG_STATUS <<\_ACEOF
53873 fi # test -n "$CONFIG_FILES"
53874
53875
53876 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53877 do
53878 case $ac_tag in
53879 :[FHLC]) ac_mode=$ac_tag; continue;;
53880 esac
53881 case $ac_mode$ac_tag in
53882 :[FHL]*:*);;
53883 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53884 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53885 { (exit 1); exit 1; }; };;
53886 :[FH]-) ac_tag=-:-;;
53887 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53888 esac
53889 ac_save_IFS=$IFS
53890 IFS=:
53891 set x $ac_tag
53892 IFS=$ac_save_IFS
53893 shift
53894 ac_file=$1
53895 shift
53896
53897 case $ac_mode in
53898 :L) ac_source=$1;;
53899 :[FH])
53900 ac_file_inputs=
53901 for ac_f
53902 do
53903 case $ac_f in
53904 -) ac_f="$tmp/stdin";;
53905 *) # Look for the file first in the build tree, then in the source tree
53906 # (if the path is not absolute). The absolute path cannot be DOS-style,
53907 # because $ac_f cannot contain `:'.
53908 test -f "$ac_f" ||
53909 case $ac_f in
53910 [\\/$]*) false;;
53911 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53912 esac ||
53913 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53914 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53915 { (exit 1); exit 1; }; };;
53916 esac
53917 ac_file_inputs="$ac_file_inputs $ac_f"
53918 done
53919
53920 # Let's still pretend it is `configure' which instantiates (i.e., don't
53921 # use $as_me), people would be surprised to read:
53922 # /* config.h. Generated by config.status. */
53923 configure_input="Generated from "`IFS=:
53924 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53925 if test x"$ac_file" != x-; then
53926 configure_input="$ac_file. $configure_input"
53927 { echo "$as_me:$LINENO: creating $ac_file" >&5
53928 echo "$as_me: creating $ac_file" >&6;}
53929 fi
53930
53931 case $ac_tag in
53932 *:-:* | *:-) cat >"$tmp/stdin";;
53933 esac
53934 ;;
53935 esac
53936
53937 ac_dir=`$as_dirname -- "$ac_file" ||
53938 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53939 X"$ac_file" : 'X\(//\)[^/]' \| \
53940 X"$ac_file" : 'X\(//\)$' \| \
53941 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53942 echo X"$ac_file" |
53943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53944 s//\1/
53945 q
53946 }
53947 /^X\(\/\/\)[^/].*/{
53948 s//\1/
53949 q
53950 }
53951 /^X\(\/\/\)$/{
53952 s//\1/
53953 q
53954 }
53955 /^X\(\/\).*/{
53956 s//\1/
53957 q
53958 }
53959 s/.*/./; q'`
53960 { as_dir="$ac_dir"
53961 case $as_dir in #(
53962 -*) as_dir=./$as_dir;;
53963 esac
53964 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53965 as_dirs=
53966 while :; do
53967 case $as_dir in #(
53968 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53969 *) as_qdir=$as_dir;;
53970 esac
53971 as_dirs="'$as_qdir' $as_dirs"
53972 as_dir=`$as_dirname -- "$as_dir" ||
53973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53974 X"$as_dir" : 'X\(//\)[^/]' \| \
53975 X"$as_dir" : 'X\(//\)$' \| \
53976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53977 echo X"$as_dir" |
53978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53979 s//\1/
53980 q
53981 }
53982 /^X\(\/\/\)[^/].*/{
53983 s//\1/
53984 q
53985 }
53986 /^X\(\/\/\)$/{
53987 s//\1/
53988 q
53989 }
53990 /^X\(\/\).*/{
53991 s//\1/
53992 q
53993 }
53994 s/.*/./; q'`
53995 test -d "$as_dir" && break
53996 done
53997 test -z "$as_dirs" || eval "mkdir $as_dirs"
53998 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53999 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54000 { (exit 1); exit 1; }; }; }
54001 ac_builddir=.
54002
54003 case "$ac_dir" in
54004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54005 *)
54006 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54007 # A ".." for each directory in $ac_dir_suffix.
54008 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54009 case $ac_top_builddir_sub in
54010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54012 esac ;;
54013 esac
54014 ac_abs_top_builddir=$ac_pwd
54015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54016 # for backward compatibility:
54017 ac_top_builddir=$ac_top_build_prefix
54018
54019 case $srcdir in
54020 .) # We are building in place.
54021 ac_srcdir=.
54022 ac_top_srcdir=$ac_top_builddir_sub
54023 ac_abs_top_srcdir=$ac_pwd ;;
54024 [\\/]* | ?:[\\/]* ) # Absolute name.
54025 ac_srcdir=$srcdir$ac_dir_suffix;
54026 ac_top_srcdir=$srcdir
54027 ac_abs_top_srcdir=$srcdir ;;
54028 *) # Relative name.
54029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54030 ac_top_srcdir=$ac_top_build_prefix$srcdir
54031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54032 esac
54033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54034
54035
54036 case $ac_mode in
54037 :F)
54038 #
54039 # CONFIG_FILE
54040 #
54041
54042 case $INSTALL in
54043 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54044 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54045 esac
54046 _ACEOF
54047
54048 cat >>$CONFIG_STATUS <<\_ACEOF
54049 # If the template does not know about datarootdir, expand it.
54050 # FIXME: This hack should be removed a few years after 2.60.
54051 ac_datarootdir_hack=; ac_datarootdir_seen=
54052
54053 case `sed -n '/datarootdir/ {
54054 p
54055 q
54056 }
54057 /@datadir@/p
54058 /@docdir@/p
54059 /@infodir@/p
54060 /@localedir@/p
54061 /@mandir@/p
54062 ' $ac_file_inputs` in
54063 *datarootdir*) ac_datarootdir_seen=yes;;
54064 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54065 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54066 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54067 _ACEOF
54068 cat >>$CONFIG_STATUS <<_ACEOF
54069 ac_datarootdir_hack='
54070 s&@datadir@&$datadir&g
54071 s&@docdir@&$docdir&g
54072 s&@infodir@&$infodir&g
54073 s&@localedir@&$localedir&g
54074 s&@mandir@&$mandir&g
54075 s&\\\${datarootdir}&$datarootdir&g' ;;
54076 esac
54077 _ACEOF
54078
54079 # Neutralize VPATH when `$srcdir' = `.'.
54080 # Shell code in configure.ac might set extrasub.
54081 # FIXME: do we really want to maintain this feature?
54082 cat >>$CONFIG_STATUS <<_ACEOF
54083 sed "$ac_vpsub
54084 $extrasub
54085 _ACEOF
54086 cat >>$CONFIG_STATUS <<\_ACEOF
54087 :t
54088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54089 s&@configure_input@&$configure_input&;t t
54090 s&@top_builddir@&$ac_top_builddir_sub&;t t
54091 s&@srcdir@&$ac_srcdir&;t t
54092 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54093 s&@top_srcdir@&$ac_top_srcdir&;t t
54094 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54095 s&@builddir@&$ac_builddir&;t t
54096 s&@abs_builddir@&$ac_abs_builddir&;t t
54097 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54098 s&@INSTALL@&$ac_INSTALL&;t t
54099 $ac_datarootdir_hack
54100 " $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
54101
54102 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54103 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54104 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54105 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54106 which seems to be undefined. Please make sure it is defined." >&5
54107 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54108 which seems to be undefined. Please make sure it is defined." >&2;}
54109
54110 rm -f "$tmp/stdin"
54111 case $ac_file in
54112 -) cat "$tmp/out"; rm -f "$tmp/out";;
54113 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54114 esac
54115 ;;
54116 :H)
54117 #
54118 # CONFIG_HEADER
54119 #
54120 _ACEOF
54121
54122 # Transform confdefs.h into a sed script `conftest.defines', that
54123 # substitutes the proper values into config.h.in to produce config.h.
54124 rm -f conftest.defines conftest.tail
54125 # First, append a space to every undef/define line, to ease matching.
54126 echo 's/$/ /' >conftest.defines
54127 # Then, protect against being on the right side of a sed subst, or in
54128 # an unquoted here document, in config.status. If some macros were
54129 # called several times there might be several #defines for the same
54130 # symbol, which is useless. But do not sort them, since the last
54131 # AC_DEFINE must be honored.
54132 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54133 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54134 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54135 # PARAMS is the parameter list in the macro definition--in most cases, it's
54136 # just an empty string.
54137 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54138 ac_dB='\\)[ (].*,\\1define\\2'
54139 ac_dC=' '
54140 ac_dD=' ,'
54141
54142 uniq confdefs.h |
54143 sed -n '
54144 t rset
54145 :rset
54146 s/^[ ]*#[ ]*define[ ][ ]*//
54147 t ok
54148 d
54149 :ok
54150 s/[\\&,]/\\&/g
54151 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54152 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54153 ' >>conftest.defines
54154
54155 # Remove the space that was appended to ease matching.
54156 # Then replace #undef with comments. This is necessary, for
54157 # example, in the case of _POSIX_SOURCE, which is predefined and required
54158 # on some systems where configure will not decide to define it.
54159 # (The regexp can be short, since the line contains either #define or #undef.)
54160 echo 's/ $//
54161 s,^[ #]*u.*,/* & */,' >>conftest.defines
54162
54163 # Break up conftest.defines:
54164 ac_max_sed_lines=50
54165
54166 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54167 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54168 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54169 # et cetera.
54170 ac_in='$ac_file_inputs'
54171 ac_out='"$tmp/out1"'
54172 ac_nxt='"$tmp/out2"'
54173
54174 while :
54175 do
54176 # Write a here document:
54177 cat >>$CONFIG_STATUS <<_ACEOF
54178 # First, check the format of the line:
54179 cat >"\$tmp/defines.sed" <<\\CEOF
54180 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54181 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54182 b
54183 :def
54184 _ACEOF
54185 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54186 echo 'CEOF
54187 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54188 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54189 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54190 grep . conftest.tail >/dev/null || break
54191 rm -f conftest.defines
54192 mv conftest.tail conftest.defines
54193 done
54194 rm -f conftest.defines conftest.tail
54195
54196 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54197 cat >>$CONFIG_STATUS <<\_ACEOF
54198 if test x"$ac_file" != x-; then
54199 echo "/* $configure_input */" >"$tmp/config.h"
54200 cat "$ac_result" >>"$tmp/config.h"
54201 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54202 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54203 echo "$as_me: $ac_file is unchanged" >&6;}
54204 else
54205 rm -f $ac_file
54206 mv "$tmp/config.h" $ac_file
54207 fi
54208 else
54209 echo "/* $configure_input */"
54210 cat "$ac_result"
54211 fi
54212 rm -f "$tmp/out12"
54213 ;;
54214
54215 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54216 echo "$as_me: executing $ac_file commands" >&6;}
54217 ;;
54218 esac
54219
54220
54221 case $ac_file$ac_mode in
54222 "rcdefs.h":C)
54223 mkdir -p $outdir &&
54224 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54225 ;;
54226 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54227 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54228 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54229 "wx-config":C) rm -f wx-config
54230 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54231 ;;
54232
54233 esac
54234 done # for ac_tag
54235
54236
54237 { (exit 0); exit 0; }
54238 _ACEOF
54239 chmod +x $CONFIG_STATUS
54240 ac_clean_files=$ac_clean_files_save
54241
54242
54243 # configure is writing to config.log, and then calls config.status.
54244 # config.status does its own redirection, appending to config.log.
54245 # Unfortunately, on DOS this fails, as config.log is still kept open
54246 # by configure, so config.status won't be able to write to it; its
54247 # output is simply discarded. So we exec the FD to /dev/null,
54248 # effectively closing config.log, so it can be properly (re)opened and
54249 # appended to by config.status. When coming back to configure, we
54250 # need to make the FD available again.
54251 if test "$no_create" != yes; then
54252 ac_cs_success=:
54253 ac_config_status_args=
54254 test "$silent" = yes &&
54255 ac_config_status_args="$ac_config_status_args --quiet"
54256 exec 5>/dev/null
54257 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54258 exec 5>>config.log
54259 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54260 # would make configure fail if this is the last instruction.
54261 $ac_cs_success || { (exit 1); exit 1; }
54262 fi
54263
54264 #
54265 # CONFIG_SUBDIRS section.
54266 #
54267 if test "$no_recursion" != yes; then
54268
54269 # Remove --cache-file and --srcdir arguments so they do not pile up.
54270 ac_sub_configure_args=
54271 ac_prev=
54272 eval "set x $ac_configure_args"
54273 shift
54274 for ac_arg
54275 do
54276 if test -n "$ac_prev"; then
54277 ac_prev=
54278 continue
54279 fi
54280 case $ac_arg in
54281 -cache-file | --cache-file | --cache-fil | --cache-fi \
54282 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54283 ac_prev=cache_file ;;
54284 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54285 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54286 | --c=*)
54287 ;;
54288 --config-cache | -C)
54289 ;;
54290 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54291 ac_prev=srcdir ;;
54292 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54293 ;;
54294 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54295 ac_prev=prefix ;;
54296 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54297 ;;
54298 *)
54299 case $ac_arg in
54300 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54301 esac
54302 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54303 esac
54304 done
54305
54306 # Always prepend --prefix to ensure using the same prefix
54307 # in subdir configurations.
54308 ac_arg="--prefix=$prefix"
54309 case $ac_arg in
54310 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54311 esac
54312 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54313
54314 # Pass --silent
54315 if test "$silent" = yes; then
54316 ac_sub_configure_args="--silent $ac_sub_configure_args"
54317 fi
54318
54319 ac_popdir=`pwd`
54320 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54321
54322 # Do not complain, so a configure script can configure whichever
54323 # parts of a large source tree are present.
54324 test -d "$srcdir/$ac_dir" || continue
54325
54326 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54327 echo "$as_me:$LINENO: $ac_msg" >&5
54328 echo "$ac_msg" >&6
54329 { as_dir="$ac_dir"
54330 case $as_dir in #(
54331 -*) as_dir=./$as_dir;;
54332 esac
54333 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54334 as_dirs=
54335 while :; do
54336 case $as_dir in #(
54337 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54338 *) as_qdir=$as_dir;;
54339 esac
54340 as_dirs="'$as_qdir' $as_dirs"
54341 as_dir=`$as_dirname -- "$as_dir" ||
54342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54343 X"$as_dir" : 'X\(//\)[^/]' \| \
54344 X"$as_dir" : 'X\(//\)$' \| \
54345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54346 echo X"$as_dir" |
54347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54348 s//\1/
54349 q
54350 }
54351 /^X\(\/\/\)[^/].*/{
54352 s//\1/
54353 q
54354 }
54355 /^X\(\/\/\)$/{
54356 s//\1/
54357 q
54358 }
54359 /^X\(\/\).*/{
54360 s//\1/
54361 q
54362 }
54363 s/.*/./; q'`
54364 test -d "$as_dir" && break
54365 done
54366 test -z "$as_dirs" || eval "mkdir $as_dirs"
54367 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54368 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54369 { (exit 1); exit 1; }; }; }
54370 ac_builddir=.
54371
54372 case "$ac_dir" in
54373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54374 *)
54375 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54376 # A ".." for each directory in $ac_dir_suffix.
54377 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54378 case $ac_top_builddir_sub in
54379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54381 esac ;;
54382 esac
54383 ac_abs_top_builddir=$ac_pwd
54384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54385 # for backward compatibility:
54386 ac_top_builddir=$ac_top_build_prefix
54387
54388 case $srcdir in
54389 .) # We are building in place.
54390 ac_srcdir=.
54391 ac_top_srcdir=$ac_top_builddir_sub
54392 ac_abs_top_srcdir=$ac_pwd ;;
54393 [\\/]* | ?:[\\/]* ) # Absolute name.
54394 ac_srcdir=$srcdir$ac_dir_suffix;
54395 ac_top_srcdir=$srcdir
54396 ac_abs_top_srcdir=$srcdir ;;
54397 *) # Relative name.
54398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54399 ac_top_srcdir=$ac_top_build_prefix$srcdir
54400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54401 esac
54402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54403
54404
54405 cd "$ac_dir"
54406
54407 # Check for guested configure; otherwise get Cygnus style configure.
54408 if test -f "$ac_srcdir/configure.gnu"; then
54409 ac_sub_configure=$ac_srcdir/configure.gnu
54410 elif test -f "$ac_srcdir/configure"; then
54411 ac_sub_configure=$ac_srcdir/configure
54412 elif test -f "$ac_srcdir/configure.in"; then
54413 # This should be Cygnus configure.
54414 ac_sub_configure=$ac_aux_dir/configure
54415 else
54416 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54417 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54418 ac_sub_configure=
54419 fi
54420
54421 # The recursion is here.
54422 if test -n "$ac_sub_configure"; then
54423 # Make the cache file name correct relative to the subdirectory.
54424 case $cache_file in
54425 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54426 *) # Relative name.
54427 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54428 esac
54429
54430 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54431 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54432 # The eval makes quoting arguments work.
54433 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54434 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54435 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54436 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54437 { (exit 1); exit 1; }; }
54438 fi
54439
54440 cd "$ac_popdir"
54441 done
54442 fi
54443
54444
54445 echo
54446 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54447 echo ""
54448 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54449 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54450 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54451 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54452 if test "$wxUSE_UNICODE" = "yes"; then
54453 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54454 echo " (using UTF-8)"
54455 else
54456 echo " (using wchar_t)"
54457 fi
54458 else
54459 echo
54460 fi
54461
54462 echo " What level of wxWidgets compatibility should be enabled?"
54463 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54464 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54465
54466 echo " Which libraries should wxWidgets use?"
54467 echo " STL ${wxUSE_STL}"
54468 echo " jpeg ${wxUSE_LIBJPEG-none}"
54469 echo " png ${wxUSE_LIBPNG-none}"
54470 echo " regex ${wxUSE_REGEX}"
54471 echo " tiff ${wxUSE_LIBTIFF-none}"
54472 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54473 echo " xpm ${wxUSE_LIBXPM-none}"
54474 fi
54475 echo " zlib ${wxUSE_ZLIB}"
54476 echo " expat ${wxUSE_EXPAT}"
54477 echo " libmspack ${wxUSE_LIBMSPACK}"
54478 echo " sdl ${wxUSE_LIBSDL}"
54479
54480 echo ""
54481