]> git.saurik.com Git - wxWidgets.git/blob - configure
removed the inexistent (at least in 10.4 SDK) and unneeded carbon/carbon.h header...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 60978 2009-06-10 14:55:04Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 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 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 PYTHON
713 COND_PYTHON
714 CAIRO_CFLAGS
715 CAIRO_LIBS
716 GST_CFLAGS
717 GST_LIBS
718 ALL_WX_LIBS
719 BUILT_WX_LIBS
720 STD_BASE_LIBS
721 STD_GUI_LIBS
722 wxUSE_ZLIB
723 wxUSE_REGEX
724 wxUSE_EXPAT
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_MEDIA
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 EXTRALIBS_STC
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 DYLIB_RPATH_INSTALL
756 DYLIB_RPATH_POSTLINK
757 SAMPLES_RPATH_FLAG
758 HEADER_PAD_OPTION
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11
953 COND_TOOLKIT_X11_USE_GUI_1
954 COND_UNICODE_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
957 COND_USE_GUI_0
958 COND_USE_GUI_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
968 COND_USE_OPENGL_1
969 COND_USE_PCH_1
970 COND_USE_PLUGINS_0
971 COND_USE_RTTI_0
972 COND_USE_RTTI_1
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSION_0
977 COND_USE_SOVERSOLARIS_1
978 COND_USE_STC_1
979 COND_USE_THREADS_0
980 COND_USE_THREADS_1
981 COND_USE_XRC_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
984 COND_WXUNIV_0
985 COND_WXUNIV_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
998 DEREZ
999 SHARED
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1002 USE_GUI
1003 AFMINSTALL
1004 WIN32INSTALL
1005 TOOLKIT
1006 TOOLKIT_DIR
1007 TOOLCHAIN_NAME
1008 TOOLCHAIN_FULLNAME
1009 cross_compiling
1010 WIDGET_SET
1011 WX_RELEASE
1012 WX_VERSION
1013 WX_SUBVERSION
1014 WX_CHARTYPE
1015 WX_DEBUGTYPE
1016 WXCONFIG_CPPFLAGS
1017 WXCONFIG_CFLAGS
1018 WXCONFIG_CXXFLAGS
1019 WXCONFIG_LIBS
1020 WXCONFIG_RPATH
1021 WXCONFIG_LDFLAGS_GUI
1022 WXCONFIG_RESFLAGS
1023 GUIDIST
1024 DISTDIR
1025 SAMPLES_SUBDIRS
1026 LDFLAGS_GL
1027 OPENGL_LIBS
1028 DMALLOC_LIBS
1029 WX_VERSION_TAG
1030 RESCOMP
1031 RESFLAGS
1032 RESPROGRAMOBJ
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1035 LIBWXMACRES
1036 POSTLINK_COMMAND
1037 MACSETFILE
1038 GCC
1039 DLLTOOL
1040 CPPUNIT_CONFIG
1041 LIBOBJS
1042 LTLIBOBJS'
1043 ac_subst_files=''
1044 ac_precious_vars='build_alias
1045 host_alias
1046 target_alias
1047 CC
1048 CFLAGS
1049 LDFLAGS
1050 LIBS
1051 CPPFLAGS
1052 CPP
1053 CXX
1054 CXXFLAGS
1055 CCC
1056 PKG_CONFIG
1057 DIRECTFB_CFLAGS
1058 DIRECTFB_LIBS
1059 XMKMF
1060 PANGOX_CFLAGS
1061 PANGOX_LIBS
1062 PANGOFT2_CFLAGS
1063 PANGOFT2_LIBS
1064 PANGOXFT_CFLAGS
1065 PANGOXFT_LIBS
1066 GTKPRINT_CFLAGS
1067 GTKPRINT_LIBS
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1070 GNOMEVFS_CFLAGS
1071 GNOMEVFS_LIBS
1072 HILDON_CFLAGS
1073 HILDON_LIBS
1074 CAIRO_CFLAGS
1075 CAIRO_LIBS
1076 GST_CFLAGS
1077 GST_LIBS'
1078 ac_subdirs_all='src/tiff
1079 src/expat'
1080
1081 # Initialize some variables set by options.
1082 ac_init_help=
1083 ac_init_version=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file=/dev/null
1087 exec_prefix=NONE
1088 no_create=
1089 no_recursion=
1090 prefix=NONE
1091 program_prefix=NONE
1092 program_suffix=NONE
1093 program_transform_name=s,x,x,
1094 silent=
1095 site=
1096 srcdir=
1097 verbose=
1098 x_includes=NONE
1099 x_libraries=NONE
1100
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir='${exec_prefix}/bin'
1108 sbindir='${exec_prefix}/sbin'
1109 libexecdir='${exec_prefix}/libexec'
1110 datarootdir='${prefix}/share'
1111 datadir='${datarootdir}'
1112 sysconfdir='${prefix}/etc'
1113 sharedstatedir='${prefix}/com'
1114 localstatedir='${prefix}/var'
1115 includedir='${prefix}/include'
1116 oldincludedir='/usr/include'
1117 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir='${datarootdir}/info'
1119 htmldir='${docdir}'
1120 dvidir='${docdir}'
1121 pdfdir='${docdir}'
1122 psdir='${docdir}'
1123 libdir='${exec_prefix}/lib'
1124 localedir='${datarootdir}/locale'
1125 mandir='${datarootdir}/man'
1126
1127 ac_prev=
1128 ac_dashdash=
1129 for ac_option
1130 do
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\$ac_option
1134 ac_prev=
1135 continue
1136 fi
1137
1138 case $ac_option in
1139 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1140 *) ac_optarg=yes ;;
1141 esac
1142
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1144
1145 case $ac_dashdash$ac_option in
1146 --)
1147 ac_dashdash=yes ;;
1148
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 ac_prev=bindir ;;
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir=$ac_optarg ;;
1153
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev=build_alias ;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias=$ac_optarg ;;
1158
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev=cache_file ;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file=$ac_optarg ;;
1165
1166 --config-cache | -C)
1167 cache_file=config.cache ;;
1168
1169 -datadir | --datadir | --datadi | --datad)
1170 ac_prev=datadir ;;
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir=$ac_optarg ;;
1173
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev=datarootdir ;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir=$ac_optarg ;;
1180
1181 -disable-* | --disable-*)
1182 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_$ac_feature=no ;;
1189
1190 -docdir | --docdir | --docdi | --doc | --do)
1191 ac_prev=docdir ;;
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir=$ac_optarg ;;
1194
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 ac_prev=dvidir ;;
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir=$ac_optarg ;;
1199
1200 -enable-* | --enable-*)
1201 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_$ac_feature=\$ac_optarg ;;
1208
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev=exec_prefix ;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix=$ac_optarg ;;
1217
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1220 with_gas=yes ;;
1221
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help=long ;;
1224 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1225 ac_init_help=recursive ;;
1226 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1227 ac_init_help=short ;;
1228
1229 -host | --host | --hos | --ho)
1230 ac_prev=host_alias ;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias=$ac_optarg ;;
1233
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 ac_prev=htmldir ;;
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 | --ht=*)
1238 htmldir=$ac_optarg ;;
1239
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev=includedir ;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir=$ac_optarg ;;
1246
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 ac_prev=infodir ;;
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir=$ac_optarg ;;
1251
1252 -libdir | --libdir | --libdi | --libd)
1253 ac_prev=libdir ;;
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir=$ac_optarg ;;
1256
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev=libexecdir ;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir=$ac_optarg ;;
1263
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev=localedir ;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir=$ac_optarg ;;
1268
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev=localstatedir ;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir=$ac_optarg ;;
1275
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 ac_prev=mandir ;;
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir=$ac_optarg ;;
1280
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1283 with_fp=no ;;
1284
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1287 no_create=yes ;;
1288
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1291 no_recursion=yes ;;
1292
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev=oldincludedir ;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir=$ac_optarg ;;
1301
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 ac_prev=prefix ;;
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix=$ac_optarg ;;
1306
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev=program_prefix ;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix=$ac_optarg ;;
1313
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev=program_suffix ;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix=$ac_optarg ;;
1320
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev=program_transform_name ;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name=$ac_optarg ;;
1337
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 ac_prev=pdfdir ;;
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir=$ac_optarg ;;
1342
1343 -psdir | --psdir | --psdi | --psd | --ps)
1344 ac_prev=psdir ;;
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1346 psdir=$ac_optarg ;;
1347
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1350 silent=yes ;;
1351
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 ac_prev=sbindir ;;
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 | --sbi=* | --sb=*)
1356 sbindir=$ac_optarg ;;
1357
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1361 | --sha | --sh)
1362 ac_prev=sharedstatedir ;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 | --sha=* | --sh=*)
1367 sharedstatedir=$ac_optarg ;;
1368
1369 -site | --site | --sit)
1370 ac_prev=site ;;
1371 -site=* | --site=* | --sit=*)
1372 site=$ac_optarg ;;
1373
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 ac_prev=srcdir ;;
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir=$ac_optarg ;;
1378
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev=sysconfdir ;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir=$ac_optarg ;;
1385
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev=target_alias ;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias=$ac_optarg ;;
1390
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1392 verbose=yes ;;
1393
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version=: ;;
1396
1397 -with-* | --with-*)
1398 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_$ac_package=\$ac_optarg ;;
1405
1406 -without-* | --without-*)
1407 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_$ac_package=no ;;
1414
1415 --x)
1416 # Obsolete; use --with-x.
1417 with_x=yes ;;
1418
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev=x_includes ;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes=$ac_optarg ;;
1425
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev=x_libraries ;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries=$ac_optarg ;;
1432
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1436 ;;
1437
1438 *=*)
1439 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\$ac_optarg
1445 export $ac_envvar ;;
1446
1447 *)
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1453 ;;
1454
1455 esac
1456 done
1457
1458 if test -n "$ac_prev"; then
1459 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1462 fi
1463
1464 # Be sure to have absolute directory names.
1465 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1469 do
1470 eval ac_val=\$$ac_var
1471 case $ac_val in
1472 [\\/$]* | ?:[\\/]* ) continue;;
1473 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1474 esac
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1477 done
1478
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1482 build=$build_alias
1483 host=$host_alias
1484 target=$target_alias
1485
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x; then
1488 if test "x$build_alias" = x; then
1489 cross_compiling=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1493 cross_compiling=yes
1494 fi
1495 fi
1496
1497 ac_tool_prefix=
1498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1499
1500 test "$silent" = yes && exec 6>/dev/null
1501
1502
1503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di=`ls -di .` &&
1505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1511
1512
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 echo X"$0" |
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 s//\1/
1525 q
1526 }
1527 /^X\(\/\/\)[^/].*/{
1528 s//\1/
1529 q
1530 }
1531 /^X\(\/\/\)$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\).*/{
1536 s//\1/
1537 q
1538 }
1539 s/.*/./; q'`
1540 srcdir=$ac_confdir
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1542 srcdir=..
1543 fi
1544 else
1545 ac_srcdir_defaulted=no
1546 fi
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1551 fi
1552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 ac_abs_confdir=`(
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1556 pwd)`
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1559 srcdir=.
1560 fi
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1564 case $srcdir in
1565 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 esac
1567 for ac_var in $ac_precious_vars; do
1568 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1569 eval ac_env_${ac_var}_value=\$${ac_var}
1570 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1572 done
1573
1574 #
1575 # Report the --help message.
1576 #
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1580 cat <<_ACEOF
1581 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1582
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1584
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1587
1588 Defaults for the options are specified in brackets.
1589
1590 Configuration:
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1605 [PREFIX]
1606
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1611
1612 For better control, use the options below.
1613
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1634 _ACEOF
1635
1636 cat <<\_ACEOF
1637
1638 X features:
1639 --x-includes=DIR X include files are in DIR
1640 --x-libraries=DIR X library files are in DIR
1641
1642 System types:
1643 --build=BUILD configure for building on BUILD [guessed]
1644 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1645 _ACEOF
1646 fi
1647
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1651 esac
1652 cat <<\_ACEOF
1653
1654 Optional Features:
1655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1657 --disable-gui don't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros, even if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets 2.6 compatibility
1692 --disable-compat28 disable wxWidgets 2.8 compatibility
1693 --disable-rpath disable use of rpath for uninstalled builds
1694 --enable-objc_uniquifying enable Objective-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even if supported
1696 --disable-tls disable use of compiler TLS support
1697 --enable-intl use internationalization system
1698 --enable-xlocale use x-locale support (requires wxLocale)
1699 --enable-config use wxConfig (and derived) classes
1700 --enable-protocols use wxProtocol and derived classes
1701 --enable-ftp use wxFTP (requires wxProtocol
1702 --enable-http use wxHTTP (requires wxProtocol
1703 --enable-fileproto use wxFileProto class (requires wxProtocol
1704 --enable-sockets use socket/network classes
1705 --enable-ipv6 enable IPv6 support in wxSocket
1706 --enable-ole use OLE classes (Win32 only)
1707 --enable-dataobj use data object classes
1708 --enable-ipc use interprocess communication (wxSocket etc.)
1709 --enable-baseevtloop use event loop in console programs too
1710 --enable-epollloop use wxEpollDispatcher class (Linux only)
1711 --enable-selectloop use wxSelectDispatcher class
1712 --enable-apple_ieee use the Apple IEEE codec
1713 --enable-arcstream use wxArchive streams
1714 --enable-base64 use base64 encoding/decoding functions
1715 --enable-backtrace use wxStackWalker class for getting backtraces
1716 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1717 --enable-cmdline use wxCmdLineParser class
1718 --enable-datetime use wxDateTime class
1719 --enable-debugreport use wxDebugReport class
1720 --enable-dialupman use dialup network classes
1721 --enable-dynlib use wxLibrary class for DLL loading
1722 --enable-dynamicloader use (new) wxDynamicLibrary class
1723 --enable-exceptions build exception-safe library
1724 --enable-ffile use wxFFile class
1725 --enable-file use wxFile class
1726 --enable-filesystem use virtual file systems classes
1727 --enable-fontenum use wxFontEnumerator class
1728 --enable-fontmap use font encodings conversion classes
1729 --enable-fs_archive use virtual archive filesystems
1730 --enable-fs_inet use virtual HTTP/FTP filesystems
1731 --enable-fs_zip now replaced by fs_archive
1732 --enable-geometry use geometry class
1733 --enable-log use logging system
1734 --enable-longlong use wxLongLong class
1735 --enable-mimetype use wxMimeTypesManager
1736 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1737 --enable-snglinst use wxSingleInstanceChecker class
1738 --enable-sound use wxSound class
1739 --enable-stdpaths use wxStandardPaths class
1740 --enable-stopwatch use wxStopWatch class
1741 --enable-streams use wxStream etc classes
1742 --enable-sysoptions use wxSystemOptions
1743 --enable-tarstream use wxTar streams
1744 --enable-textbuf use wxTextBuffer class
1745 --enable-textfile use wxTextFile class
1746 --enable-timer use wxTimer class
1747 --enable-variant use wxVariant class
1748 --enable-zipstream use wxZip streams
1749 --enable-url use wxURL class
1750 --enable-protocol use wxProtocol class
1751 --enable-protocol-http HTTP support in wxProtocol
1752 --enable-protocol-ftp FTP support in wxProtocol
1753 --enable-protocol-file FILE support in wxProtocol
1754 --enable-threads use threads
1755 --enable-iniconf use wxIniConfig (Win32 only)
1756 --enable-regkey use wxRegKey class (Win32 only)
1757 --enable-docview use document view architecture
1758 --enable-help use help subsystem
1759 --enable-mshtmlhelp use MS HTML Help (win32)
1760 --enable-html use wxHTML sub-library
1761 --enable-htmlhelp use wxHTML-based help
1762 --enable-xrc use XRC resources sub-library
1763 --enable-aui use AUI docking library
1764 --enable-propgrid use wxPropertyGrid library
1765 --enable-stc use wxStyledTextCtrl library
1766 --enable-constraints use layout-constraints system
1767 --enable-loggui use standard GUI logger
1768 --enable-logwin use wxLogWindow
1769 --enable-logdialog use wxLogDialog
1770 --enable-mdi use multiple document interface architecture
1771 --enable-mdidoc use docview architecture with MDI
1772 --enable-mediactrl use wxMediaCtrl class
1773 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1774 --enable-webkit use wxWebKitCtrl (Mac)
1775 --enable-richtext use wxRichTextCtrl
1776 --enable-graphics_ctx use graphics context 2D drawing API
1777 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1778 --enable-printarch use printing architecture
1779 --enable-svg use wxSVGFileDC device context
1780 --enable-clipboard use wxClipboard class
1781 --enable-dnd use Drag'n'Drop classes
1782 --enable-metafile use win32 metafiles
1783 --disable-controls disable compilation of all standard controls
1784 --enable-accel use accelerators
1785 --enable-animatectrl use wxAnimationCtrl class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-button use wxButton class
1789 --enable-calendar use wxCalendarCtrl class
1790 --enable-caret use wxCaret class
1791 --enable-checkbox use wxCheckBox class
1792 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1793 --enable-choice use wxChoice class
1794 --enable-choicebook use wxChoicebook class
1795 --enable-collpane use wxCollapsiblePane class
1796 --enable-colourpicker use wxColourPickerCtrl class
1797 --enable-combobox use wxComboBox class
1798 --enable-comboctrl use wxComboCtrl class
1799 --enable-dataviewctrl use wxDataViewCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filectrl use wxFileCtrl class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-headerctrl use wxHeaderCtrl class
1811 --enable-hyperlink use wxHyperlinkCtrl class
1812 --enable-imaglist use wxImageList class
1813 --enable-listbook use wxListbook class
1814 --enable-listbox use wxListBox class
1815 --enable-listctrl use wxListCtrl class
1816 --enable-notebook use wxNotebook class
1817 --enable-notifmsg use wxNotificationMessage class
1818 --enable-odcombobox use wxOwnerDrawnComboBox class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-textctrl use wxTextCtrl class
1838 --enable-tipwindow use wxTipWindow class
1839 --enable-togglebtn use wxToggleButton class
1840 --enable-toolbar use wxToolBar class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treebook use wxTreebook class
1843 --enable-treectrl use wxTreeCtrl class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile (Win32 only)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images (GIF file format)
1873 --enable-pcx use pcx images (PCX file format)
1874 --enable-tga use tga images (TGA file format)
1875 --enable-iff use iff images (IFF file format)
1876 --enable-pnm use pnm images (PNM file format)
1877 --enable-xpm use xpm images (XPM file format)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects (Win32 only)
1880 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1881 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1882 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1883 --enable-wxdib use wxDIB class (Win32 only)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support for large files
1886 --disable-gtktest do not try to compile and run a test GTK+ program
1887 --disable-gtktest Do not try to compile and run a test GTK program
1888 --disable-sdltest Do not try to compile and run a test SDL program
1889 --enable-omf use OMF object format (OS/2)
1890 --disable-dependency-tracking
1891 don't use dependency tracking even if the compiler
1892 can
1893 --disable-precomp-headers
1894 don't use precompiled headers even if compiler can
1895
1896 Optional Packages:
1897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1899 --without-subdirs don't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1914 --with-x11 use X11
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1941
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1950 CPP C preprocessor
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1954 DIRECTFB_CFLAGS
1955 C compiler flags for DIRECTFB, overriding pkg-config
1956 DIRECTFB_LIBS
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1959 PANGOX_CFLAGS
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1962 PANGOFT2_CFLAGS
1963 C compiler flags for PANGOFT2, overriding pkg-config
1964 PANGOFT2_LIBS
1965 linker flags for PANGOFT2, overriding pkg-config
1966 PANGOXFT_CFLAGS
1967 C compiler flags for PANGOXFT, overriding pkg-config
1968 PANGOXFT_LIBS
1969 linker flags for PANGOXFT, overriding pkg-config
1970 GTKPRINT_CFLAGS
1971 C compiler flags for GTKPRINT, overriding pkg-config
1972 GTKPRINT_LIBS
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1978 GNOMEVFS_CFLAGS
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1980 GNOMEVFS_LIBS
1981 linker flags for GNOMEVFS, overriding pkg-config
1982 HILDON_CFLAGS
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1985 CAIRO_CFLAGS
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1990
1991 Use these variables to override the choices made by `configure' or to help
1992 it to find libraries and programs with nonstandard names/locations.
1993
1994 Report bugs to <wx-dev@lists.wxwidgets.org>.
1995 _ACEOF
1996 ac_status=$?
1997 fi
1998
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2002 test -d "$ac_dir" || continue
2003 ac_builddir=.
2004
2005 case "$ac_dir" in
2006 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2007 *)
2008 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2013 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2014 esac ;;
2015 esac
2016 ac_abs_top_builddir=$ac_pwd
2017 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir=$ac_top_build_prefix
2020
2021 case $srcdir in
2022 .) # We are building in place.
2023 ac_srcdir=.
2024 ac_top_srcdir=$ac_top_builddir_sub
2025 ac_abs_top_srcdir=$ac_pwd ;;
2026 [\\/]* | ?:[\\/]* ) # Absolute name.
2027 ac_srcdir=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir=$srcdir
2029 ac_abs_top_srcdir=$srcdir ;;
2030 *) # Relative name.
2031 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2034 esac
2035 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2036
2037 cd "$ac_dir" || { ac_status=$?; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2043 echo &&
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2045 else
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2047 fi || ac_status=$?
2048 cd "$ac_pwd" || { ac_status=$?; break; }
2049 done
2050 fi
2051
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2054 cat <<\_ACEOF
2055 wxWidgets configure 2.9.0
2056 generated by GNU Autoconf 2.61
2057
2058 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2060 This configure script is free software; the Free Software Foundation
2061 gives unlimited permission to copy, distribute and modify it.
2062 _ACEOF
2063 exit
2064 fi
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by wxWidgets $as_me 2.9.0, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2071
2072 $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 echo "PATH: $as_dir"
2107 done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133 for ac_arg
2134 do
2135 case $ac_arg in
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 continue ;;
2140 *\'*)
2141 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 esac
2143 case $ac_pass in
2144 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2145 2)
2146 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2149 else
2150 case $ac_arg in
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 esac
2158 ;;
2159 -* ) ac_must_keep_next=true ;;
2160 esac
2161 fi
2162 ac_configure_args="$ac_configure_args '$ac_arg'"
2163 ;;
2164 esac
2165 done
2166 done
2167 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2168 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2177 {
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2184 _ASBOX
2185 echo
2186 # The following way of writing the cache mishandles newlines in values,
2187 (
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in #(
2191 *${as_nl}*)
2192 case $ac_var in #(
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 esac
2196 case $ac_var in #(
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2199 esac ;;
2200 esac
2201 done
2202 (set) 2>&1 |
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2205 sed -n \
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 ;; #(
2209 *)
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 ;;
2212 esac |
2213 sort
2214 )
2215 echo
2216
2217 cat <<\_ASBOX
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2221 _ASBOX
2222 echo
2223 for ac_var in $ac_subst_vars
2224 do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in
2227 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 esac
2229 echo "$ac_var='\''$ac_val'\''"
2230 done | sort
2231 echo
2232
2233 if test -n "$ac_subst_files"; then
2234 cat <<\_ASBOX
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2238 _ASBOX
2239 echo
2240 for ac_var in $ac_subst_files
2241 do
2242 eval ac_val=\$$ac_var
2243 case $ac_val in
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 esac
2246 echo "$ac_var='\''$ac_val'\''"
2247 done | sort
2248 echo
2249 fi
2250
2251 if test -s confdefs.h; then
2252 cat <<\_ASBOX
2253 ## ----------- ##
2254 ## confdefs.h. ##
2255 ## ----------- ##
2256 _ASBOX
2257 echo
2258 cat confdefs.h
2259 echo
2260 fi
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2264 } >&5
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 exit $exit_status
2268 ' 0
2269 for ac_signal in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2271 done
2272 ac_signal=0
2273
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest* confdefs.h
2276
2277 # Predefined preprocessor variables.
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2281 _ACEOF
2282
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 _ACEOF
2287
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2291 _ACEOF
2292
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 _ACEOF
2297
2298
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2301 _ACEOF
2302
2303
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x "$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE; then
2309 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2310 else
2311 set x "$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2313 fi
2314 shift
2315 for ac_site_file
2316 do
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2321 . "$ac_site_file"
2322 fi
2323 done
2324
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2331 case $cache_file in
2332 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2333 *) . "./$cache_file";;
2334 esac
2335 fi
2336 else
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2339 >$cache_file
2340 fi
2341
2342 # Check that the precious variables saved in the cache have kept the same
2343 # value.
2344 ac_cache_corrupted=false
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2347 eval ac_new_set=\$ac_env_${ac_var}_set
2348 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2349 eval ac_new_val=\$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2351 set,)
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted=: ;;
2355 ,set)
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2359 ,);;
2360 *)
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted=:
2369 fi;;
2370 esac
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2373 case $ac_new_val in
2374 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg=$ac_var=$ac_new_val ;;
2376 esac
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2380 esac
2381 fi
2382 done
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2389 fi
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415 ac_ext=c
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420
2421
2422
2423
2424
2425 ac_aux_dir=
2426 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2428 ac_aux_dir=$ac_dir
2429 ac_install_sh="$ac_aux_dir/install-sh -c"
2430 break
2431 elif test -f "$ac_dir/install.sh"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/install.sh -c"
2434 break
2435 elif test -f "$ac_dir/shtool"; then
2436 ac_aux_dir=$ac_dir
2437 ac_install_sh="$ac_aux_dir/shtool install -c"
2438 break
2439 fi
2440 done
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2445 fi
2446
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454
2455
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2461
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 ac_build_alias=$build_alias
2468 test "x$ac_build_alias" = x &&
2469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x &&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 build=$ac_cv_build
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_build
2491 shift
2492 build_cpu=$1
2493 build_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 build_os=$*
2498 IFS=$ac_save_IFS
2499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$host_alias" = x; then
2508 ac_cv_host=$ac_cv_build
2509 else
2510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 case $ac_cv_host in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 host=$ac_cv_host
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_host
2528 shift
2529 host_cpu=$1
2530 host_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 host_os=$*
2535 IFS=$ac_save_IFS
2536 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2537
2538
2539
2540 if test "$cross_compiling" != "no"; then
2541 HOST_PREFIX="${host_alias}-"
2542 HOST_SUFFIX="-$host_alias"
2543 else
2544 HOST_PREFIX=
2545 HOST_SUFFIX=
2546 fi
2547
2548
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2551 wx_release_number=0
2552 wx_subrelease_number=0
2553
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559
2560
2561 wx_top_builddir="`pwd`"
2562
2563
2564
2565
2566 USE_UNIX=1
2567 USE_OS2=0
2568 USE_WIN32=0
2569 USE_DOS=0
2570 USE_BEOS=0
2571 USE_MAC=0
2572
2573 USE_AIX=
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_GNU= USE_HPUX=
2576 USE_LINUX=
2577 USE_NETBSD=
2578 USE_OPENBSD=
2579 USE_OSF= USE_SGI=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 USE_ULTRIX=
2582 USE_UNIXWARE=
2583
2584 USE_ALPHA=
2585
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587
2588 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2589
2590 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_GTK=0
2592 DEFAULT_wxUSE_OSX_CARBON=0
2593 DEFAULT_wxUSE_OSX_COCOA=0
2594 DEFAULT_wxUSE_MGL=0
2595 DEFAULT_wxUSE_MICROWIN=0
2596 DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_wxUSE_MSW=0
2598 DEFAULT_wxUSE_PM=0
2599 DEFAULT_wxUSE_X11=0
2600 DEFAULT_wxUSE_DFB=0
2601
2602 DEFAULT_DEFAULT_wxUSE_COCOA=0
2603 DEFAULT_DEFAULT_wxUSE_GTK=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2605 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2606 DEFAULT_DEFAULT_wxUSE_MGL=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2609 DEFAULT_DEFAULT_wxUSE_MSW=0
2610 DEFAULT_DEFAULT_wxUSE_PM=0
2611 DEFAULT_DEFAULT_wxUSE_X11=0
2612 DEFAULT_DEFAULT_wxUSE_DFB=0
2613
2614 PROGRAM_EXT=
2615 SAMPLES_RPATH_FLAG=
2616 DYLIB_RPATH_INSTALL=
2617 DYLIB_RPATH_POSTLINK=
2618
2619 DEFAULT_STD_FLAG=yes
2620
2621 case "${host}" in
2622 *-hp-hpux* )
2623 USE_HPUX=1
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __HPUX__ 1
2628 _ACEOF
2629
2630
2631 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2632 ;;
2633 *-*-linux* )
2634 USE_LINUX=1
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __LINUX__ 1
2637 _ACEOF
2638
2639 TMP=`uname -m`
2640 if test "x$TMP" = "xalpha"; then
2641 USE_ALPHA=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __ALPHA__ 1
2644 _ACEOF
2645
2646 fi
2647 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 ;;
2649 *-*-gnu* | *-*-k*bsd*-gnu )
2650 USE_GNU=1
2651 TMP=`uname -m`
2652 if test "x$TMP" = "xalpha"; then
2653 USE_ALPHA=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __ALPHA__ 1
2656 _ACEOF
2657
2658 fi
2659 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 ;;
2661 *-*-irix5* | *-*-irix6* )
2662 USE_SGI=1
2663 USE_SVR4=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SGI__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SVR4__ 1
2670 _ACEOF
2671
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 ;;
2674 *-*-solaris2* )
2675 USE_SUN=1
2676 USE_SOLARIS=1
2677 USE_SVR4=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUN__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SOLARIS__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SVR4__ 1
2688 _ACEOF
2689
2690 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2692 ;;
2693 *-*-sunos4* )
2694 USE_SUN=1
2695 USE_SUNOS=1
2696 USE_BSD=1
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUN__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SUNOS__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __BSD__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 ;;
2711 *-*-freebsd*)
2712 USE_BSD=1
2713 USE_FREEBSD=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __FREEBSD__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 ;;
2724 *-*-openbsd*|*-*-mirbsd*)
2725 USE_BSD=1
2726 USE_OPENBSD=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __OPENBSD__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __BSD__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 ;;
2737 *-*-netbsd*)
2738 USE_BSD=1
2739 USE_NETBSD=1
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __NETBSD__ 1
2742 _ACEOF
2743
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __BSD__ 1
2746 _ACEOF
2747
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750
2751 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 ;;
2753 *-*-osf* )
2754 USE_ALPHA=1
2755 USE_OSF=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __ALPHA__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __OSF__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 ;;
2767 *-*-dgux5* )
2768 USE_ALPHA=1
2769 USE_SVR4=1
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __ALPHA__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SVR4__ 1
2776 _ACEOF
2777
2778 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 ;;
2780 *-*-sysv5* )
2781 USE_SYSV=1
2782 USE_SVR4=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SYSV__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SVR4__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 ;;
2793 *-*-aix* )
2794 USE_AIX=1
2795 USE_SYSV=1
2796 USE_SVR4=1
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __AIX__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SYSV__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SVR4__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 ;;
2811
2812 *-*-*UnixWare*)
2813 USE_SYSV=1
2814 USE_SVR4=1
2815 USE_UNIXWARE=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2818 _ACEOF
2819
2820 ;;
2821
2822 *-*-cygwin* | *-*-mingw32* )
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 ;;
2826
2827 *-pc-msdosdjgpp )
2828 USE_UNIX=0
2829 USE_DOS=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __DOS__ 1
2832 _ACEOF
2833
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 ;;
2837
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __EMX__ 1
2841 _ACEOF
2842
2843 USE_OS2=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __OS2__ 1
2846 _ACEOF
2847
2848 PROGRAM_EXT=".exe"
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2850 CXX=gcc
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2854 ac_save_IFS="$IFS"
2855 IFS='\\'
2856 ac_TEMP_PATH=
2857 for ac_dir in $PATH; do
2858 IFS=$ac_save_IFS
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2861 else
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 fi
2864 done
2865 export PATH="$ac_TEMP_PATH"
2866 unset ac_TEMP_PATH
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-darwin* )
2871 USE_BSD=1
2872 USE_DARWIN=1
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BSD__ 1
2875 _ACEOF
2876
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __DARWIN__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define TARGET_CARBON 1
2883 _ACEOF
2884
2885 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2886 DEFAULT_STD_FLAG=no
2887 ;;
2888
2889 *-*-beos* )
2890 USE_BEOS=1
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __BEOS__ 1
2893 _ACEOF
2894
2895 ;;
2896
2897 *)
2898 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2899 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2900 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2901 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2902
2903 DEFAULT_DEFAULT_wxUSE_X11=1
2904 DEFAULT_wxUSE_SHARED=no
2905 esac
2906
2907
2908
2909 DEFAULT_wxUSE_ALL_FEATURES=yes
2910
2911 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2912 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2913
2914 DEFAULT_wxUSE_DMALLOC=no
2915 DEFAULT_wxUSE_LIBGNOMEVFS=no
2916 DEFAULT_wxUSE_LIBHILDON=no
2917 DEFAULT_wxUSE_LIBMSPACK=no
2918 DEFAULT_wxUSE_LIBSDL=no
2919
2920 DEFAULT_wxUSE_ACCESSIBILITY=no
2921 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2922 DEFAULT_wxUSE_IPV6=no
2923 DEFAULT_wxUSE_GSTREAMER8=no
2924
2925 DEFAULT_wxUSE_UNICODE_UTF8=auto
2926 DEFAULT_wxUSE_OPENGL=auto
2927 DEFAULT_wxUSE_MEDIACTRL=auto
2928 DEFAULT_wxUSE_COMPILER_TLS=auto
2929
2930 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2931
2932 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2933
2934 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2935
2936 DEFAULT_wxUSE_GTK2=yes
2937
2938 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2939
2940
2941
2942
2943
2944 enablestring=disable
2945 defaultval=
2946 if test -z "$defaultval"; then
2947 if test x"$enablestring" = xdisable; then
2948 defaultval=yes
2949 else
2950 defaultval=no
2951 fi
2952 fi
2953
2954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2955 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2956 # Check whether --enable-gui was given.
2957 if test "${enable_gui+set}" = set; then
2958 enableval=$enable_gui;
2959 if test "$enableval" = yes; then
2960 wx_cv_use_gui='wxUSE_GUI=yes'
2961 else
2962 wx_cv_use_gui='wxUSE_GUI=no'
2963 fi
2964
2965 else
2966
2967 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2968
2969 fi
2970
2971
2972 eval "$wx_cv_use_gui"
2973
2974 if test x"$enablestring" = xdisable; then
2975 if test $wxUSE_GUI = yes; then
2976 result=no
2977 else
2978 result=yes
2979 fi
2980 else
2981 result=$wxUSE_GUI
2982 fi
2983
2984 { echo "$as_me:$LINENO: result: $result" >&5
2985 echo "${ECHO_T}$result" >&6; }
2986
2987
2988 enablestring=
2989 defaultval=
2990 if test -z "$defaultval"; then
2991 if test x"$enablestring" = xdisable; then
2992 defaultval=yes
2993 else
2994 defaultval=no
2995 fi
2996 fi
2997
2998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2999 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3000 # Check whether --enable-monolithic was given.
3001 if test "${enable_monolithic+set}" = set; then
3002 enableval=$enable_monolithic;
3003 if test "$enableval" = yes; then
3004 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3005 else
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3007 fi
3008
3009 else
3010
3011 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3012
3013 fi
3014
3015
3016 eval "$wx_cv_use_monolithic"
3017
3018 if test x"$enablestring" = xdisable; then
3019 if test $wxUSE_MONOLITHIC = yes; then
3020 result=no
3021 else
3022 result=yes
3023 fi
3024 else
3025 result=$wxUSE_MONOLITHIC
3026 fi
3027
3028 { echo "$as_me:$LINENO: result: $result" >&5
3029 echo "${ECHO_T}$result" >&6; }
3030
3031
3032 enablestring=
3033 defaultval=
3034 if test -z "$defaultval"; then
3035 if test x"$enablestring" = xdisable; then
3036 defaultval=yes
3037 else
3038 defaultval=no
3039 fi
3040 fi
3041
3042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3043 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3044 # Check whether --enable-plugins was given.
3045 if test "${enable_plugins+set}" = set; then
3046 enableval=$enable_plugins;
3047 if test "$enableval" = yes; then
3048 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3049 else
3050 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3051 fi
3052
3053 else
3054
3055 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3056
3057 fi
3058
3059
3060 eval "$wx_cv_use_plugins"
3061
3062 if test x"$enablestring" = xdisable; then
3063 if test $wxUSE_PLUGINS = yes; then
3064 result=no
3065 else
3066 result=yes
3067 fi
3068 else
3069 result=$wxUSE_PLUGINS
3070 fi
3071
3072 { echo "$as_me:$LINENO: result: $result" >&5
3073 echo "${ECHO_T}$result" >&6; }
3074
3075
3076 withstring=without
3077 defaultval=$wxUSE_ALL_FEATURES
3078 if test -z "$defaultval"; then
3079 if test x"$withstring" = xwithout; then
3080 defaultval=yes
3081 else
3082 defaultval=no
3083 fi
3084 fi
3085 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3086 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3087
3088 # Check whether --with-subdirs was given.
3089 if test "${with_subdirs+set}" = set; then
3090 withval=$with_subdirs;
3091 if test "$withval" = yes; then
3092 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3093 else
3094 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3095 fi
3096
3097 else
3098
3099 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3100
3101 fi
3102
3103
3104 eval "$wx_cv_use_subdirs"
3105
3106 if test x"$withstring" = xwithout; then
3107 if test $wxWITH_SUBDIRS = yes; then
3108 result=no
3109 else
3110 result=yes
3111 fi
3112 else
3113 result=$wxWITH_SUBDIRS
3114 fi
3115
3116 { echo "$as_me:$LINENO: result: $result" >&5
3117 echo "${ECHO_T}$result" >&6; }
3118
3119
3120 # Check whether --with-flavour was given.
3121 if test "${with_flavour+set}" = set; then
3122 withval=$with_flavour; WX_FLAVOUR="$withval"
3123 fi
3124
3125
3126 enablestring=
3127 defaultval=
3128 if test -z "$defaultval"; then
3129 if test x"$enablestring" = xdisable; then
3130 defaultval=yes
3131 else
3132 defaultval=no
3133 fi
3134 fi
3135
3136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3137 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3138 # Check whether --enable-official_build was given.
3139 if test "${enable_official_build+set}" = set; then
3140 enableval=$enable_official_build;
3141 if test "$enableval" = yes; then
3142 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3143 else
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3145 fi
3146
3147 else
3148
3149 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3150
3151 fi
3152
3153
3154 eval "$wx_cv_use_official_build"
3155
3156 if test x"$enablestring" = xdisable; then
3157 if test $wxUSE_OFFICIAL_BUILD = yes; then
3158 result=no
3159 else
3160 result=yes
3161 fi
3162 else
3163 result=$wxUSE_OFFICIAL_BUILD
3164 fi
3165
3166 { echo "$as_me:$LINENO: result: $result" >&5
3167 echo "${ECHO_T}$result" >&6; }
3168
3169 # Check whether --enable-vendor was given.
3170 if test "${enable_vendor+set}" = set; then
3171 enableval=$enable_vendor; VENDOR="$enableval"
3172 fi
3173
3174 if test "x$VENDOR" = "x"; then
3175 VENDOR="custom"
3176 fi
3177
3178
3179 enablestring=disable
3180 defaultval=
3181 if test -z "$defaultval"; then
3182 if test x"$enablestring" = xdisable; then
3183 defaultval=yes
3184 else
3185 defaultval=no
3186 fi
3187 fi
3188
3189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3190 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3191 # Check whether --enable-all-features was given.
3192 if test "${enable_all_features+set}" = set; then
3193 enableval=$enable_all_features;
3194 if test "$enableval" = yes; then
3195 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3196 else
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3198 fi
3199
3200 else
3201
3202 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3203
3204 fi
3205
3206
3207 eval "$wx_cv_use_all_features"
3208
3209 if test x"$enablestring" = xdisable; then
3210 if test $wxUSE_ALL_FEATURES = yes; then
3211 result=no
3212 else
3213 result=yes
3214 fi
3215 else
3216 result=$wxUSE_ALL_FEATURES
3217 fi
3218
3219 { echo "$as_me:$LINENO: result: $result" >&5
3220 echo "${ECHO_T}$result" >&6; }
3221
3222
3223 if test "$wxUSE_ALL_FEATURES" = "no"; then
3224 DEFAULT_wxUSE_MEDIACTRL=no
3225 fi
3226
3227
3228 if test "$wxUSE_GUI" = "yes"; then
3229
3230
3231 enablestring=
3232 defaultval=
3233 if test -z "$defaultval"; then
3234 if test x"$enablestring" = xdisable; then
3235 defaultval=yes
3236 else
3237 defaultval=no
3238 fi
3239 fi
3240
3241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3242 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3243 # Check whether --enable-universal was given.
3244 if test "${enable_universal+set}" = set; then
3245 enableval=$enable_universal;
3246 if test "$enableval" = yes; then
3247 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3248 else
3249 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3250 fi
3251
3252 else
3253
3254 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3255
3256 fi
3257
3258
3259 eval "$wx_cv_use_universal"
3260
3261 if test x"$enablestring" = xdisable; then
3262 if test $wxUSE_UNIVERSAL = yes; then
3263 result=no
3264 else
3265 result=yes
3266 fi
3267 else
3268 result=$wxUSE_UNIVERSAL
3269 fi
3270
3271 { echo "$as_me:$LINENO: result: $result" >&5
3272 echo "${ECHO_T}$result" >&6; }
3273
3274 if test "$wxUSE_UNIVERSAL" = "yes"; then
3275
3276 # Check whether --with-themes was given.
3277 if test "${with_themes+set}" = set; then
3278 withval=$with_themes; wxUNIV_THEMES="$withval"
3279 fi
3280
3281 fi
3282
3283
3284 # Check whether --with-gtk was given.
3285 if test "${with_gtk+set}" = set; then
3286 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3287 fi
3288
3289
3290 # Check whether --with-motif was given.
3291 if test "${with_motif+set}" = set; then
3292 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3293 fi
3294
3295
3296 # Check whether --with-osx_carbon was given.
3297 if test "${with_osx_carbon+set}" = set; then
3298 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3299 fi
3300
3301
3302 # Check whether --with-osx_cocoa was given.
3303 if test "${with_osx_cocoa+set}" = set; then
3304 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3305 fi
3306
3307
3308 # Check whether --with-mac was given.
3309 if test "${with_mac+set}" = set; then
3310 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3311 fi
3312
3313
3314 # Check whether --with-cocoa was given.
3315 if test "${with_cocoa+set}" = set; then
3316 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3317 fi
3318
3319
3320 # Check whether --with-wine was given.
3321 if test "${with_wine+set}" = set; then
3322 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3323 fi
3324
3325
3326 # Check whether --with-msw was given.
3327 if test "${with_msw+set}" = set; then
3328 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-pm was given.
3333 if test "${with_pm+set}" = set; then
3334 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-mgl was given.
3339 if test "${with_mgl+set}" = set; then
3340 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-directfb was given.
3345 if test "${with_directfb+set}" = set; then
3346 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-microwin was given.
3351 if test "${with_microwin+set}" = set; then
3352 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-x11 was given.
3357 if test "${with_x11+set}" = set; then
3358 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 enablestring=
3363 defaultval=
3364 if test -z "$defaultval"; then
3365 if test x"$enablestring" = xdisable; then
3366 defaultval=yes
3367 else
3368 defaultval=no
3369 fi
3370 fi
3371
3372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3374 # Check whether --enable-nanox was given.
3375 if test "${enable_nanox+set}" = set; then
3376 enableval=$enable_nanox;
3377 if test "$enableval" = yes; then
3378 wx_cv_use_nanox='wxUSE_NANOX=yes'
3379 else
3380 wx_cv_use_nanox='wxUSE_NANOX=no'
3381 fi
3382
3383 else
3384
3385 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3386
3387 fi
3388
3389
3390 eval "$wx_cv_use_nanox"
3391
3392 if test x"$enablestring" = xdisable; then
3393 if test $wxUSE_NANOX = yes; then
3394 result=no
3395 else
3396 result=yes
3397 fi
3398 else
3399 result=$wxUSE_NANOX
3400 fi
3401
3402 { echo "$as_me:$LINENO: result: $result" >&5
3403 echo "${ECHO_T}$result" >&6; }
3404
3405
3406 # Check whether --enable-gtk2 was given.
3407 if test "${enable_gtk2+set}" = set; then
3408 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3409 fi
3410
3411
3412 enablestring=
3413 defaultval=
3414 if test -z "$defaultval"; then
3415 if test x"$enablestring" = xdisable; then
3416 defaultval=yes
3417 else
3418 defaultval=no
3419 fi
3420 fi
3421
3422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3423 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3424 # Check whether --enable-gpe was given.
3425 if test "${enable_gpe+set}" = set; then
3426 enableval=$enable_gpe;
3427 if test "$enableval" = yes; then
3428 wx_cv_use_gpe='wxUSE_GPE=yes'
3429 else
3430 wx_cv_use_gpe='wxUSE_GPE=no'
3431 fi
3432
3433 else
3434
3435 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3436
3437 fi
3438
3439
3440 eval "$wx_cv_use_gpe"
3441
3442 if test x"$enablestring" = xdisable; then
3443 if test $wxUSE_GPE = yes; then
3444 result=no
3445 else
3446 result=yes
3447 fi
3448 else
3449 result=$wxUSE_GPE
3450 fi
3451
3452 { echo "$as_me:$LINENO: result: $result" >&5
3453 echo "${ECHO_T}$result" >&6; }
3454
3455
3456
3457 { echo "$as_me:$LINENO: checking for toolkit" >&5
3458 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3459
3460
3461
3462 # In Wine, we need to default to MSW, not GTK or MOTIF
3463 if test "$wxUSE_WINE" = "yes"; then
3464 DEFAULT_DEFAULT_wxUSE_GTK=0
3465 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3466 DEFAULT_DEFAULT_wxUSE_MSW=1
3467 wxUSE_SHARED=no
3468 CC=${CC:-winegcc}
3469 CXX=${CXX:-wineg++}
3470 fi
3471
3472
3473 if test "$wxUSE_GUI" = "yes"; then
3474
3475 if test "$USE_BEOS" = 1; then
3476 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3477 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3478 { (exit 1); exit 1; }; }
3479 fi
3480
3481 if test "$TOOLKIT_GIVEN" = 1; then
3482 for toolkit in $ALL_TOOLKITS; do
3483 var=wxUSE_$toolkit
3484 eval "value=\$${var}"
3485 if test "x$value" = "xno"; then
3486 eval "$var=0"
3487 elif test "x$value" != "x"; then
3488 eval "$var=1"
3489 fi
3490
3491 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3492 eval "wx${toolkit}_VERSION=$value"
3493 fi
3494 done
3495 else
3496 for toolkit in $ALL_TOOLKITS; do
3497 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3498 eval "wxUSE_$toolkit=\$${var}"
3499 done
3500 fi
3501
3502 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3503 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3504 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3505
3506 case "${host}" in
3507 *-pc-os2_emx | *-pc-os2-emx )
3508 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3509 esac
3510
3511 case "$NUM_TOOLKITS" in
3512 1)
3513 ;;
3514 0)
3515 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3516 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3517 { (exit 1); exit 1; }; }
3518 ;;
3519 *)
3520 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3521 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3522 { (exit 1); exit 1; }; }
3523 esac
3524
3525 # to be removed when --disable-gtk2 isn't needed
3526 if test "x$wxUSE_GTK2" = "xyes"; then
3527 wxGTK_VERSION=2
3528 elif test "x$wxUSE_GTK2" = "xno"; then
3529 wxGTK_VERSION=1
3530 fi
3531
3532 for toolkit in $ALL_TOOLKITS; do
3533 var=wxUSE_$toolkit
3534 eval "value=\$${var}"
3535 if test "$value" = 1; then
3536 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3537 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3538 echo "${ECHO_T}$toolkit_echo" >&6; }
3539 fi
3540 done
3541 else
3542 if test "x$host_alias" != "x"; then
3543 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3544 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3545 else
3546 { echo "$as_me:$LINENO: result: base only" >&5
3547 echo "${ECHO_T}base only" >&6; }
3548 fi
3549 fi
3550
3551 wxUSE_MAC=0
3552 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3553 wxUSE_MAC=1
3554 fi
3555
3556
3557
3558 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3559 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3560
3561 # Check whether --with-libpng was given.
3562 if test "${with_libpng+set}" = set; then
3563 withval=$with_libpng;
3564 if test "$withval" = yes; then
3565 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3566 elif test "$withval" = no; then
3567 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3568 elif test "$withval" = sys; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3570 elif test "$withval" = builtin; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3572 else
3573 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3574 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3575 { (exit 1); exit 1; }; }
3576 fi
3577
3578 else
3579
3580 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3581
3582 fi
3583
3584
3585 eval "$wx_cv_use_libpng"
3586
3587 if test "$wxUSE_LIBPNG" = yes; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3590 elif test "$wxUSE_LIBPNG" = no; then
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3593 elif test "$wxUSE_LIBPNG" = sys; then
3594 { echo "$as_me:$LINENO: result: system version" >&5
3595 echo "${ECHO_T}system version" >&6; }
3596 elif test "$wxUSE_LIBPNG" = builtin; then
3597 { echo "$as_me:$LINENO: result: builtin version" >&5
3598 echo "${ECHO_T}builtin version" >&6; }
3599 else
3600 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3601 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3602 { (exit 1); exit 1; }; }
3603 fi
3604
3605
3606 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3607 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3608
3609 # Check whether --with-libjpeg was given.
3610 if test "${with_libjpeg+set}" = set; then
3611 withval=$with_libjpeg;
3612 if test "$withval" = yes; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3614 elif test "$withval" = no; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3616 elif test "$withval" = sys; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3618 elif test "$withval" = builtin; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3620 else
3621 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3622 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3623 { (exit 1); exit 1; }; }
3624 fi
3625
3626 else
3627
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3629
3630 fi
3631
3632
3633 eval "$wx_cv_use_libjpeg"
3634
3635 if test "$wxUSE_LIBJPEG" = yes; then
3636 { echo "$as_me:$LINENO: result: yes" >&5
3637 echo "${ECHO_T}yes" >&6; }
3638 elif test "$wxUSE_LIBJPEG" = no; then
3639 { echo "$as_me:$LINENO: result: no" >&5
3640 echo "${ECHO_T}no" >&6; }
3641 elif test "$wxUSE_LIBJPEG" = sys; then
3642 { echo "$as_me:$LINENO: result: system version" >&5
3643 echo "${ECHO_T}system version" >&6; }
3644 elif test "$wxUSE_LIBJPEG" = builtin; then
3645 { echo "$as_me:$LINENO: result: builtin version" >&5
3646 echo "${ECHO_T}builtin version" >&6; }
3647 else
3648 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3649 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3650 { (exit 1); exit 1; }; }
3651 fi
3652
3653
3654 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3655 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3656
3657 # Check whether --with-libtiff was given.
3658 if test "${with_libtiff+set}" = set; then
3659 withval=$with_libtiff;
3660 if test "$withval" = yes; then
3661 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3662 elif test "$withval" = no; then
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3664 elif test "$withval" = sys; then
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3666 elif test "$withval" = builtin; then
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3668 else
3669 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3670 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3671 { (exit 1); exit 1; }; }
3672 fi
3673
3674 else
3675
3676 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3677
3678 fi
3679
3680
3681 eval "$wx_cv_use_libtiff"
3682
3683 if test "$wxUSE_LIBTIFF" = yes; then
3684 { echo "$as_me:$LINENO: result: yes" >&5
3685 echo "${ECHO_T}yes" >&6; }
3686 elif test "$wxUSE_LIBTIFF" = no; then
3687 { echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6; }
3689 elif test "$wxUSE_LIBTIFF" = sys; then
3690 { echo "$as_me:$LINENO: result: system version" >&5
3691 echo "${ECHO_T}system version" >&6; }
3692 elif test "$wxUSE_LIBTIFF" = builtin; then
3693 { echo "$as_me:$LINENO: result: builtin version" >&5
3694 echo "${ECHO_T}builtin version" >&6; }
3695 else
3696 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3697 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3698 { (exit 1); exit 1; }; }
3699 fi
3700
3701
3702 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3703 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3704
3705 # Check whether --with-libxpm was given.
3706 if test "${with_libxpm+set}" = set; then
3707 withval=$with_libxpm;
3708 if test "$withval" = yes; then
3709 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3710 elif test "$withval" = no; then
3711 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3712 elif test "$withval" = sys; then
3713 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3714 elif test "$withval" = builtin; then
3715 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3716 else
3717 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3718 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3719 { (exit 1); exit 1; }; }
3720 fi
3721
3722 else
3723
3724 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3725
3726 fi
3727
3728
3729 eval "$wx_cv_use_libxpm"
3730
3731 if test "$wxUSE_LIBXPM" = yes; then
3732 { echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6; }
3734 elif test "$wxUSE_LIBXPM" = no; then
3735 { echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6; }
3737 elif test "$wxUSE_LIBXPM" = sys; then
3738 { echo "$as_me:$LINENO: result: system version" >&5
3739 echo "${ECHO_T}system version" >&6; }
3740 elif test "$wxUSE_LIBXPM" = builtin; then
3741 { echo "$as_me:$LINENO: result: builtin version" >&5
3742 echo "${ECHO_T}builtin version" >&6; }
3743 else
3744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3745 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3746 { (exit 1); exit 1; }; }
3747 fi
3748
3749
3750 withstring=
3751 defaultval=$wxUSE_ALL_FEATURES
3752 if test -z "$defaultval"; then
3753 if test x"$withstring" = xwithout; then
3754 defaultval=yes
3755 else
3756 defaultval=no
3757 fi
3758 fi
3759 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3760 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3761
3762 # Check whether --with-libiconv was given.
3763 if test "${with_libiconv+set}" = set; then
3764 withval=$with_libiconv;
3765 if test "$withval" = yes; then
3766 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3767 else
3768 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3769 fi
3770
3771 else
3772
3773 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3774
3775 fi
3776
3777
3778 eval "$wx_cv_use_libiconv"
3779
3780 if test x"$withstring" = xwithout; then
3781 if test $wxUSE_LIBICONV = yes; then
3782 result=no
3783 else
3784 result=yes
3785 fi
3786 else
3787 result=$wxUSE_LIBICONV
3788 fi
3789
3790 { echo "$as_me:$LINENO: result: $result" >&5
3791 echo "${ECHO_T}$result" >&6; }
3792
3793
3794 withstring=
3795 defaultval=$wxUSE_ALL_FEATURES
3796 if test -z "$defaultval"; then
3797 if test x"$withstring" = xwithout; then
3798 defaultval=yes
3799 else
3800 defaultval=no
3801 fi
3802 fi
3803 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3804 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3805
3806 # Check whether --with-libmspack was given.
3807 if test "${with_libmspack+set}" = set; then
3808 withval=$with_libmspack;
3809 if test "$withval" = yes; then
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3811 else
3812 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3813 fi
3814
3815 else
3816
3817 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3818
3819 fi
3820
3821
3822 eval "$wx_cv_use_libmspack"
3823
3824 if test x"$withstring" = xwithout; then
3825 if test $wxUSE_LIBMSPACK = yes; then
3826 result=no
3827 else
3828 result=yes
3829 fi
3830 else
3831 result=$wxUSE_LIBMSPACK
3832 fi
3833
3834 { echo "$as_me:$LINENO: result: $result" >&5
3835 echo "${ECHO_T}$result" >&6; }
3836
3837
3838 withstring=without
3839 defaultval=$wxUSE_ALL_FEATURES
3840 if test -z "$defaultval"; then
3841 if test x"$withstring" = xwithout; then
3842 defaultval=yes
3843 else
3844 defaultval=no
3845 fi
3846 fi
3847 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3848 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3849
3850 # Check whether --with-gtkprint was given.
3851 if test "${with_gtkprint+set}" = set; then
3852 withval=$with_gtkprint;
3853 if test "$withval" = yes; then
3854 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3855 else
3856 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3857 fi
3858
3859 else
3860
3861 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3862
3863 fi
3864
3865
3866 eval "$wx_cv_use_gtkprint"
3867
3868 if test x"$withstring" = xwithout; then
3869 if test $wxUSE_GTKPRINT = yes; then
3870 result=no
3871 else
3872 result=yes
3873 fi
3874 else
3875 result=$wxUSE_GTKPRINT
3876 fi
3877
3878 { echo "$as_me:$LINENO: result: $result" >&5
3879 echo "${ECHO_T}$result" >&6; }
3880
3881
3882 withstring=without
3883 defaultval=$wxUSE_ALL_FEATURES
3884 if test -z "$defaultval"; then
3885 if test x"$withstring" = xwithout; then
3886 defaultval=yes
3887 else
3888 defaultval=no
3889 fi
3890 fi
3891 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3892 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3893
3894 # Check whether --with-gnomeprint was given.
3895 if test "${with_gnomeprint+set}" = set; then
3896 withval=$with_gnomeprint;
3897 if test "$withval" = yes; then
3898 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3899 else
3900 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3901 fi
3902
3903 else
3904
3905 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3906
3907 fi
3908
3909
3910 eval "$wx_cv_use_gnomeprint"
3911
3912 if test x"$withstring" = xwithout; then
3913 if test $wxUSE_LIBGNOMEPRINT = yes; then
3914 result=no
3915 else
3916 result=yes
3917 fi
3918 else
3919 result=$wxUSE_LIBGNOMEPRINT
3920 fi
3921
3922 { echo "$as_me:$LINENO: result: $result" >&5
3923 echo "${ECHO_T}$result" >&6; }
3924
3925
3926 withstring=
3927 defaultval=$wxUSE_ALL_FEATURES
3928 if test -z "$defaultval"; then
3929 if test x"$withstring" = xwithout; then
3930 defaultval=yes
3931 else
3932 defaultval=no
3933 fi
3934 fi
3935 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3936 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3937
3938 # Check whether --with-gnomevfs was given.
3939 if test "${with_gnomevfs+set}" = set; then
3940 withval=$with_gnomevfs;
3941 if test "$withval" = yes; then
3942 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3943 else
3944 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3945 fi
3946
3947 else
3948
3949 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3950
3951 fi
3952
3953
3954 eval "$wx_cv_use_gnomevfs"
3955
3956 if test x"$withstring" = xwithout; then
3957 if test $wxUSE_LIBGNOMEVFS = yes; then
3958 result=no
3959 else
3960 result=yes
3961 fi
3962 else
3963 result=$wxUSE_LIBGNOMEVFS
3964 fi
3965
3966 { echo "$as_me:$LINENO: result: $result" >&5
3967 echo "${ECHO_T}$result" >&6; }
3968
3969
3970 withstring=
3971 defaultval=$wxUSE_ALL_FEATURES
3972 if test -z "$defaultval"; then
3973 if test x"$withstring" = xwithout; then
3974 defaultval=yes
3975 else
3976 defaultval=no
3977 fi
3978 fi
3979 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3980 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3981
3982 # Check whether --with-hildon was given.
3983 if test "${with_hildon+set}" = set; then
3984 withval=$with_hildon;
3985 if test "$withval" = yes; then
3986 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3987 else
3988 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3989 fi
3990
3991 else
3992
3993 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3994
3995 fi
3996
3997
3998 eval "$wx_cv_use_hildon"
3999
4000 if test x"$withstring" = xwithout; then
4001 if test $wxUSE_LIBHILDON = yes; then
4002 result=no
4003 else
4004 result=yes
4005 fi
4006 else
4007 result=$wxUSE_LIBHILDON
4008 fi
4009
4010 { echo "$as_me:$LINENO: result: $result" >&5
4011 echo "${ECHO_T}$result" >&6; }
4012
4013
4014 withstring=
4015 defaultval=$wxUSE_ALL_FEATURES
4016 if test -z "$defaultval"; then
4017 if test x"$withstring" = xwithout; then
4018 defaultval=yes
4019 else
4020 defaultval=no
4021 fi
4022 fi
4023 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4024 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4025
4026 # Check whether --with-opengl was given.
4027 if test "${with_opengl+set}" = set; then
4028 withval=$with_opengl;
4029 if test "$withval" = yes; then
4030 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4031 else
4032 wx_cv_use_opengl='wxUSE_OPENGL=no'
4033 fi
4034
4035 else
4036
4037 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4038
4039 fi
4040
4041
4042 eval "$wx_cv_use_opengl"
4043
4044 if test x"$withstring" = xwithout; then
4045 if test $wxUSE_OPENGL = yes; then
4046 result=no
4047 else
4048 result=yes
4049 fi
4050 else
4051 result=$wxUSE_OPENGL
4052 fi
4053
4054 { echo "$as_me:$LINENO: result: $result" >&5
4055 echo "${ECHO_T}$result" >&6; }
4056
4057
4058 fi
4059
4060
4061 withstring=
4062 defaultval=$wxUSE_ALL_FEATURES
4063 if test -z "$defaultval"; then
4064 if test x"$withstring" = xwithout; then
4065 defaultval=yes
4066 else
4067 defaultval=no
4068 fi
4069 fi
4070 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4071 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4072
4073 # Check whether --with-dmalloc was given.
4074 if test "${with_dmalloc+set}" = set; then
4075 withval=$with_dmalloc;
4076 if test "$withval" = yes; then
4077 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4078 else
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4080 fi
4081
4082 else
4083
4084 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4085
4086 fi
4087
4088
4089 eval "$wx_cv_use_dmalloc"
4090
4091 if test x"$withstring" = xwithout; then
4092 if test $wxUSE_DMALLOC = yes; then
4093 result=no
4094 else
4095 result=yes
4096 fi
4097 else
4098 result=$wxUSE_DMALLOC
4099 fi
4100
4101 { echo "$as_me:$LINENO: result: $result" >&5
4102 echo "${ECHO_T}$result" >&6; }
4103
4104
4105 withstring=
4106 defaultval=$wxUSE_ALL_FEATURES
4107 if test -z "$defaultval"; then
4108 if test x"$withstring" = xwithout; then
4109 defaultval=yes
4110 else
4111 defaultval=no
4112 fi
4113 fi
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4116
4117 # Check whether --with-sdl was given.
4118 if test "${with_sdl+set}" = set; then
4119 withval=$with_sdl;
4120 if test "$withval" = yes; then
4121 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4122 else
4123 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4124 fi
4125
4126 else
4127
4128 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4129
4130 fi
4131
4132
4133 eval "$wx_cv_use_sdl"
4134
4135 if test x"$withstring" = xwithout; then
4136 if test $wxUSE_LIBSDL = yes; then
4137 result=no
4138 else
4139 result=yes
4140 fi
4141 else
4142 result=$wxUSE_LIBSDL
4143 fi
4144
4145 { echo "$as_me:$LINENO: result: $result" >&5
4146 echo "${ECHO_T}$result" >&6; }
4147
4148
4149 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4150 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4151
4152 # Check whether --with-regex was given.
4153 if test "${with_regex+set}" = set; then
4154 withval=$with_regex;
4155 if test "$withval" = yes; then
4156 wx_cv_use_regex='wxUSE_REGEX=yes'
4157 elif test "$withval" = no; then
4158 wx_cv_use_regex='wxUSE_REGEX=no'
4159 elif test "$withval" = sys; then
4160 wx_cv_use_regex='wxUSE_REGEX=sys'
4161 elif test "$withval" = builtin; then
4162 wx_cv_use_regex='wxUSE_REGEX=builtin'
4163 else
4164 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4165 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4166 { (exit 1); exit 1; }; }
4167 fi
4168
4169 else
4170
4171 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4172
4173 fi
4174
4175
4176 eval "$wx_cv_use_regex"
4177
4178 if test "$wxUSE_REGEX" = yes; then
4179 { echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6; }
4181 elif test "$wxUSE_REGEX" = no; then
4182 { echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6; }
4184 elif test "$wxUSE_REGEX" = sys; then
4185 { echo "$as_me:$LINENO: result: system version" >&5
4186 echo "${ECHO_T}system version" >&6; }
4187 elif test "$wxUSE_REGEX" = builtin; then
4188 { echo "$as_me:$LINENO: result: builtin version" >&5
4189 echo "${ECHO_T}builtin version" >&6; }
4190 else
4191 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4192 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4193 { (exit 1); exit 1; }; }
4194 fi
4195
4196
4197 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4198 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4199
4200 # Check whether --with-zlib was given.
4201 if test "${with_zlib+set}" = set; then
4202 withval=$with_zlib;
4203 if test "$withval" = yes; then
4204 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4205 elif test "$withval" = no; then
4206 wx_cv_use_zlib='wxUSE_ZLIB=no'
4207 elif test "$withval" = sys; then
4208 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4209 elif test "$withval" = builtin; then
4210 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4211 else
4212 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4213 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4214 { (exit 1); exit 1; }; }
4215 fi
4216
4217 else
4218
4219 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4220
4221 fi
4222
4223
4224 eval "$wx_cv_use_zlib"
4225
4226 if test "$wxUSE_ZLIB" = yes; then
4227 { echo "$as_me:$LINENO: result: yes" >&5
4228 echo "${ECHO_T}yes" >&6; }
4229 elif test "$wxUSE_ZLIB" = no; then
4230 { echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6; }
4232 elif test "$wxUSE_ZLIB" = sys; then
4233 { echo "$as_me:$LINENO: result: system version" >&5
4234 echo "${ECHO_T}system version" >&6; }
4235 elif test "$wxUSE_ZLIB" = builtin; then
4236 { echo "$as_me:$LINENO: result: builtin version" >&5
4237 echo "${ECHO_T}builtin version" >&6; }
4238 else
4239 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4240 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4241 { (exit 1); exit 1; }; }
4242 fi
4243
4244
4245 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4246 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4247
4248 # Check whether --with-expat was given.
4249 if test "${with_expat+set}" = set; then
4250 withval=$with_expat;
4251 if test "$withval" = yes; then
4252 wx_cv_use_expat='wxUSE_EXPAT=yes'
4253 elif test "$withval" = no; then
4254 wx_cv_use_expat='wxUSE_EXPAT=no'
4255 elif test "$withval" = sys; then
4256 wx_cv_use_expat='wxUSE_EXPAT=sys'
4257 elif test "$withval" = builtin; then
4258 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4259 else
4260 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4261 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4262 { (exit 1); exit 1; }; }
4263 fi
4264
4265 else
4266
4267 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4268
4269 fi
4270
4271
4272 eval "$wx_cv_use_expat"
4273
4274 if test "$wxUSE_EXPAT" = yes; then
4275 { echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6; }
4277 elif test "$wxUSE_EXPAT" = no; then
4278 { echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6; }
4280 elif test "$wxUSE_EXPAT" = sys; then
4281 { echo "$as_me:$LINENO: result: system version" >&5
4282 echo "${ECHO_T}system version" >&6; }
4283 elif test "$wxUSE_EXPAT" = builtin; then
4284 { echo "$as_me:$LINENO: result: builtin version" >&5
4285 echo "${ECHO_T}builtin version" >&6; }
4286 else
4287 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4288 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4289 { (exit 1); exit 1; }; }
4290 fi
4291
4292
4293 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4294 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4295
4296 # Check whether --with-macosx-sdk was given.
4297 if test "${with_macosx_sdk+set}" = set; then
4298 withval=$with_macosx_sdk;
4299 wxUSE_MACOSX_SDK=$withval
4300 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4301
4302 fi
4303
4304 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4305 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4306
4307 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4308 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4309
4310 # Check whether --with-macosx-version-min was given.
4311 if test "${with_macosx_version_min+set}" = set; then
4312 withval=$with_macosx_version_min;
4313 wxUSE_MACOSX_VERSION_MIN=$withval
4314 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4315
4316 fi
4317
4318 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4319 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4320
4321
4322
4323 enablestring=disable
4324 defaultval=
4325 if test -z "$defaultval"; then
4326 if test x"$enablestring" = xdisable; then
4327 defaultval=yes
4328 else
4329 defaultval=no
4330 fi
4331 fi
4332
4333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4334 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4335 # Check whether --enable-shared was given.
4336 if test "${enable_shared+set}" = set; then
4337 enableval=$enable_shared;
4338 if test "$enableval" = yes; then
4339 wx_cv_use_shared='wxUSE_SHARED=yes'
4340 else
4341 wx_cv_use_shared='wxUSE_SHARED=no'
4342 fi
4343
4344 else
4345
4346 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4347
4348 fi
4349
4350
4351 eval "$wx_cv_use_shared"
4352
4353 if test x"$enablestring" = xdisable; then
4354 if test $wxUSE_SHARED = yes; then
4355 result=no
4356 else
4357 result=yes
4358 fi
4359 else
4360 result=$wxUSE_SHARED
4361 fi
4362
4363 { echo "$as_me:$LINENO: result: $result" >&5
4364 echo "${ECHO_T}$result" >&6; }
4365
4366
4367 enablestring=
4368 defaultval=
4369 if test -z "$defaultval"; then
4370 if test x"$enablestring" = xdisable; then
4371 defaultval=yes
4372 else
4373 defaultval=no
4374 fi
4375 fi
4376
4377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4378 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4379 # Check whether --enable-debug was given.
4380 if test "${enable_debug+set}" = set; then
4381 enableval=$enable_debug;
4382 if test "$enableval" = yes; then
4383 wx_cv_use_debug='wxUSE_DEBUG=yes'
4384 else
4385 wx_cv_use_debug='wxUSE_DEBUG=no'
4386 fi
4387
4388 else
4389
4390 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4391
4392 fi
4393
4394
4395 eval "$wx_cv_use_debug"
4396
4397 if test x"$enablestring" = xdisable; then
4398 if test $wxUSE_DEBUG = yes; then
4399 result=no
4400 else
4401 result=yes
4402 fi
4403 else
4404 result=$wxUSE_DEBUG
4405 fi
4406
4407 { echo "$as_me:$LINENO: result: $result" >&5
4408 echo "${ECHO_T}$result" >&6; }
4409
4410
4411 enablestring=
4412 defaultval=
4413 if test -z "$defaultval"; then
4414 if test x"$enablestring" = xdisable; then
4415 defaultval=yes
4416 else
4417 defaultval=no
4418 fi
4419 fi
4420
4421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4422 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4423 # Check whether --enable-stl was given.
4424 if test "${enable_stl+set}" = set; then
4425 enableval=$enable_stl;
4426 if test "$enableval" = yes; then
4427 wx_cv_use_stl='wxUSE_STL=yes'
4428 else
4429 wx_cv_use_stl='wxUSE_STL=no'
4430 fi
4431
4432 else
4433
4434 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4435
4436 fi
4437
4438
4439 eval "$wx_cv_use_stl"
4440
4441 if test x"$enablestring" = xdisable; then
4442 if test $wxUSE_STL = yes; then
4443 result=no
4444 else
4445 result=yes
4446 fi
4447 else
4448 result=$wxUSE_STL
4449 fi
4450
4451 { echo "$as_me:$LINENO: result: $result" >&5
4452 echo "${ECHO_T}$result" >&6; }
4453
4454
4455 enablestring=
4456 defaultval=
4457 if test -z "$defaultval"; then
4458 if test x"$enablestring" = xdisable; then
4459 defaultval=yes
4460 else
4461 defaultval=no
4462 fi
4463 fi
4464
4465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4467 # Check whether --enable-std_iostreams was given.
4468 if test "${enable_std_iostreams+set}" = set; then
4469 enableval=$enable_std_iostreams;
4470 if test "$enableval" = yes; then
4471 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4472 else
4473 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4474 fi
4475
4476 else
4477
4478 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4479
4480 fi
4481
4482
4483 eval "$wx_cv_use_std_iostreams"
4484
4485 if test x"$enablestring" = xdisable; then
4486 if test $wxUSE_STD_IOSTREAM = yes; then
4487 result=no
4488 else
4489 result=yes
4490 fi
4491 else
4492 result=$wxUSE_STD_IOSTREAM
4493 fi
4494
4495 { echo "$as_me:$LINENO: result: $result" >&5
4496 echo "${ECHO_T}$result" >&6; }
4497
4498
4499 enablestring=
4500 defaultval=
4501 if test -z "$defaultval"; then
4502 if test x"$enablestring" = xdisable; then
4503 defaultval=yes
4504 else
4505 defaultval=no
4506 fi
4507 fi
4508
4509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4510 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4511 # Check whether --enable-std_string was given.
4512 if test "${enable_std_string+set}" = set; then
4513 enableval=$enable_std_string;
4514 if test "$enableval" = yes; then
4515 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4516 else
4517 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4518 fi
4519
4520 else
4521
4522 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4523
4524 fi
4525
4526
4527 eval "$wx_cv_use_std_string"
4528
4529 if test x"$enablestring" = xdisable; then
4530 if test $wxUSE_STD_STRING = yes; then
4531 result=no
4532 else
4533 result=yes
4534 fi
4535 else
4536 result=$wxUSE_STD_STRING
4537 fi
4538
4539 { echo "$as_me:$LINENO: result: $result" >&5
4540 echo "${ECHO_T}$result" >&6; }
4541
4542
4543 enablestring=disable
4544 defaultval=
4545 if test -z "$defaultval"; then
4546 if test x"$enablestring" = xdisable; then
4547 defaultval=yes
4548 else
4549 defaultval=no
4550 fi
4551 fi
4552
4553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4555 # Check whether --enable-unicode was given.
4556 if test "${enable_unicode+set}" = set; then
4557 enableval=$enable_unicode;
4558 if test "$enableval" = yes; then
4559 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4560 else
4561 wx_cv_use_unicode='wxUSE_UNICODE=no'
4562 fi
4563
4564 else
4565
4566 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4567
4568 fi
4569
4570
4571 eval "$wx_cv_use_unicode"
4572
4573 if test x"$enablestring" = xdisable; then
4574 if test $wxUSE_UNICODE = yes; then
4575 result=no
4576 else
4577 result=yes
4578 fi
4579 else
4580 result=$wxUSE_UNICODE
4581 fi
4582
4583 { echo "$as_me:$LINENO: result: $result" >&5
4584 echo "${ECHO_T}$result" >&6; }
4585
4586
4587 enablestring=
4588 defaultval=
4589 if test -z "$defaultval"; then
4590 if test x"$enablestring" = xdisable; then
4591 defaultval=yes
4592 else
4593 defaultval=no
4594 fi
4595 fi
4596
4597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4599 # Check whether --enable-mslu was given.
4600 if test "${enable_mslu+set}" = set; then
4601 enableval=$enable_mslu;
4602 if test "$enableval" = yes; then
4603 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4604 else
4605 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4606 fi
4607
4608 else
4609
4610 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4611
4612 fi
4613
4614
4615 eval "$wx_cv_use_mslu"
4616
4617 if test x"$enablestring" = xdisable; then
4618 if test $wxUSE_UNICODE_MSLU = yes; then
4619 result=no
4620 else
4621 result=yes
4622 fi
4623 else
4624 result=$wxUSE_UNICODE_MSLU
4625 fi
4626
4627 { echo "$as_me:$LINENO: result: $result" >&5
4628 echo "${ECHO_T}$result" >&6; }
4629
4630
4631 enablestring=
4632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4634 # Check whether --enable-utf8 was given.
4635 if test "${enable_utf8+set}" = set; then
4636 enableval=$enable_utf8;
4637 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4638
4639 else
4640
4641 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4642
4643 fi
4644
4645
4646 eval "$wx_cv_use_utf8"
4647
4648 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4649 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4664 # Check whether --enable-utf8only was given.
4665 if test "${enable_utf8only+set}" = set; then
4666 enableval=$enable_utf8only;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4669 else
4670 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_utf8only"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4684 result=no
4685 else
4686 result=yes
4687 fi
4688 else
4689 result=$wxUSE_UNICODE_UTF8_LOCALE
4690 fi
4691
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4694
4695
4696 enablestring=
4697 defaultval=
4698 if test -z "$defaultval"; then
4699 if test x"$enablestring" = xdisable; then
4700 defaultval=yes
4701 else
4702 defaultval=no
4703 fi
4704 fi
4705
4706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4708 # Check whether --enable-extended_rtti was given.
4709 if test "${enable_extended_rtti+set}" = set; then
4710 enableval=$enable_extended_rtti;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4713 else
4714 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4715 fi
4716
4717 else
4718
4719 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4720
4721 fi
4722
4723
4724 eval "$wx_cv_use_extended_rtti"
4725
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_EXTENDED_RTTI = yes; then
4728 result=no
4729 else
4730 result=yes
4731 fi
4732 else
4733 result=$wxUSE_EXTENDED_RTTI
4734 fi
4735
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4738
4739 if test "$USE_OS2" = 1; then
4740 DEFAULT_wxUSE_OMF=no
4741
4742 enablestring=
4743 defaultval=
4744 if test -z "$defaultval"; then
4745 if test x"$enablestring" = xdisable; then
4746 defaultval=yes
4747 else
4748 defaultval=no
4749 fi
4750 fi
4751
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4754 # Check whether --enable-omf was given.
4755 if test "${enable_omf+set}" = set; then
4756 enableval=$enable_omf;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_omf='wxUSE_OMF=yes'
4759 else
4760 wx_cv_use_omf='wxUSE_OMF=no'
4761 fi
4762
4763 else
4764
4765 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4766
4767 fi
4768
4769
4770 eval "$wx_cv_use_omf"
4771
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_OMF = yes; then
4774 result=no
4775 else
4776 result=yes
4777 fi
4778 else
4779 result=$wxUSE_OMF
4780 fi
4781
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4784
4785 fi
4786
4787 if test "$wxUSE_DEBUG" = "yes"; then
4788 DEFAULT_wxUSE_DEBUG_FLAG=yes
4789 DEFAULT_wxUSE_DEBUG_INFO=yes
4790 BUILD=debug
4791 elif test "$wxUSE_DEBUG" = "no"; then
4792 DEFAULT_wxUSE_DEBUG_FLAG=no
4793 DEFAULT_wxUSE_DEBUG_INFO=no
4794 BUILD=release
4795 fi
4796
4797
4798 enablestring=
4799 defaultval=
4800 if test -z "$defaultval"; then
4801 if test x"$enablestring" = xdisable; then
4802 defaultval=yes
4803 else
4804 defaultval=no
4805 fi
4806 fi
4807
4808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4810 # Check whether --enable-debug_flag was given.
4811 if test "${enable_debug_flag+set}" = set; then
4812 enableval=$enable_debug_flag;
4813 if test "$enableval" = yes; then
4814 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4815 else
4816 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4817 fi
4818
4819 else
4820
4821 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4822
4823 fi
4824
4825
4826 eval "$wx_cv_use_debug_flag"
4827
4828 if test x"$enablestring" = xdisable; then
4829 if test $wxUSE_DEBUG_FLAG = yes; then
4830 result=no
4831 else
4832 result=yes
4833 fi
4834 else
4835 result=$wxUSE_DEBUG_FLAG
4836 fi
4837
4838 { echo "$as_me:$LINENO: result: $result" >&5
4839 echo "${ECHO_T}$result" >&6; }
4840
4841
4842 enablestring=
4843 defaultval=
4844 if test -z "$defaultval"; then
4845 if test x"$enablestring" = xdisable; then
4846 defaultval=yes
4847 else
4848 defaultval=no
4849 fi
4850 fi
4851
4852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4853 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4854 # Check whether --enable-debug_info was given.
4855 if test "${enable_debug_info+set}" = set; then
4856 enableval=$enable_debug_info;
4857 if test "$enableval" = yes; then
4858 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4859 else
4860 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4861 fi
4862
4863 else
4864
4865 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4866
4867 fi
4868
4869
4870 eval "$wx_cv_use_debug_info"
4871
4872 if test x"$enablestring" = xdisable; then
4873 if test $wxUSE_DEBUG_INFO = yes; then
4874 result=no
4875 else
4876 result=yes
4877 fi
4878 else
4879 result=$wxUSE_DEBUG_INFO
4880 fi
4881
4882 { echo "$as_me:$LINENO: result: $result" >&5
4883 echo "${ECHO_T}$result" >&6; }
4884
4885
4886 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4887 wxUSE_DEBUG=yes
4888 BUILD=debug
4889 fi
4890
4891 if test "$wxUSE_DEBUG" = "yes"; then
4892 DEFAULT_wxUSE_OPTIMISE=no
4893 fi
4894
4895
4896 enablestring=disable
4897 defaultval=
4898 if test -z "$defaultval"; then
4899 if test x"$enablestring" = xdisable; then
4900 defaultval=yes
4901 else
4902 defaultval=no
4903 fi
4904 fi
4905
4906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4908 # Check whether --enable-optimise was given.
4909 if test "${enable_optimise+set}" = set; then
4910 enableval=$enable_optimise;
4911 if test "$enableval" = yes; then
4912 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4913 else
4914 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4915 fi
4916
4917 else
4918
4919 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4920
4921 fi
4922
4923
4924 eval "$wx_cv_use_optimise"
4925
4926 if test x"$enablestring" = xdisable; then
4927 if test $wxUSE_OPTIMISE = yes; then
4928 result=no
4929 else
4930 result=yes
4931 fi
4932 else
4933 result=$wxUSE_OPTIMISE
4934 fi
4935
4936 { echo "$as_me:$LINENO: result: $result" >&5
4937 echo "${ECHO_T}$result" >&6; }
4938
4939
4940
4941 enablestring=
4942 defaultval=
4943 if test -z "$defaultval"; then
4944 if test x"$enablestring" = xdisable; then
4945 defaultval=yes
4946 else
4947 defaultval=no
4948 fi
4949 fi
4950
4951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4952 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4953 # Check whether --enable-debug_gdb was given.
4954 if test "${enable_debug_gdb+set}" = set; then
4955 enableval=$enable_debug_gdb;
4956 if test "$enableval" = yes; then
4957 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4958 else
4959 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4960 fi
4961
4962 else
4963
4964 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4965
4966 fi
4967
4968
4969 eval "$wx_cv_use_debug_gdb"
4970
4971 if test x"$enablestring" = xdisable; then
4972 if test $wxUSE_DEBUG_GDB = yes; then
4973 result=no
4974 else
4975 result=yes
4976 fi
4977 else
4978 result=$wxUSE_DEBUG_GDB
4979 fi
4980
4981 { echo "$as_me:$LINENO: result: $result" >&5
4982 echo "${ECHO_T}$result" >&6; }
4983
4984
4985 enablestring=
4986 defaultval=
4987 if test -z "$defaultval"; then
4988 if test x"$enablestring" = xdisable; then
4989 defaultval=yes
4990 else
4991 defaultval=no
4992 fi
4993 fi
4994
4995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4997 # Check whether --enable-debug_cntxt was given.
4998 if test "${enable_debug_cntxt+set}" = set; then
4999 enableval=$enable_debug_cntxt;
5000 if test "$enableval" = yes; then
5001 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5002 else
5003 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5004 fi
5005
5006 else
5007
5008 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5009
5010 fi
5011
5012
5013 eval "$wx_cv_use_debug_cntxt"
5014
5015 if test x"$enablestring" = xdisable; then
5016 if test $wxUSE_DEBUG_CONTEXT = yes; then
5017 result=no
5018 else
5019 result=yes
5020 fi
5021 else
5022 result=$wxUSE_DEBUG_CONTEXT
5023 fi
5024
5025 { echo "$as_me:$LINENO: result: $result" >&5
5026 echo "${ECHO_T}$result" >&6; }
5027
5028
5029 enablestring=
5030 defaultval=
5031 if test -z "$defaultval"; then
5032 if test x"$enablestring" = xdisable; then
5033 defaultval=yes
5034 else
5035 defaultval=no
5036 fi
5037 fi
5038
5039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5041 # Check whether --enable-mem_tracing was given.
5042 if test "${enable_mem_tracing+set}" = set; then
5043 enableval=$enable_mem_tracing;
5044 if test "$enableval" = yes; then
5045 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5046 else
5047 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5048 fi
5049
5050 else
5051
5052 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5053
5054 fi
5055
5056
5057 eval "$wx_cv_use_mem_tracing"
5058
5059 if test x"$enablestring" = xdisable; then
5060 if test $wxUSE_MEM_TRACING = yes; then
5061 result=no
5062 else
5063 result=yes
5064 fi
5065 else
5066 result=$wxUSE_MEM_TRACING
5067 fi
5068
5069 { echo "$as_me:$LINENO: result: $result" >&5
5070 echo "${ECHO_T}$result" >&6; }
5071
5072
5073 enablestring=
5074 defaultval=
5075 if test -z "$defaultval"; then
5076 if test x"$enablestring" = xdisable; then
5077 defaultval=yes
5078 else
5079 defaultval=no
5080 fi
5081 fi
5082
5083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5085 # Check whether --enable-profile was given.
5086 if test "${enable_profile+set}" = set; then
5087 enableval=$enable_profile;
5088 if test "$enableval" = yes; then
5089 wx_cv_use_profile='wxUSE_PROFILE=yes'
5090 else
5091 wx_cv_use_profile='wxUSE_PROFILE=no'
5092 fi
5093
5094 else
5095
5096 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5097
5098 fi
5099
5100
5101 eval "$wx_cv_use_profile"
5102
5103 if test x"$enablestring" = xdisable; then
5104 if test $wxUSE_PROFILE = yes; then
5105 result=no
5106 else
5107 result=yes
5108 fi
5109 else
5110 result=$wxUSE_PROFILE
5111 fi
5112
5113 { echo "$as_me:$LINENO: result: $result" >&5
5114 echo "${ECHO_T}$result" >&6; }
5115
5116
5117 enablestring=
5118 defaultval=
5119 if test -z "$defaultval"; then
5120 if test x"$enablestring" = xdisable; then
5121 defaultval=yes
5122 else
5123 defaultval=no
5124 fi
5125 fi
5126
5127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5129 # Check whether --enable-no_rtti was given.
5130 if test "${enable_no_rtti+set}" = set; then
5131 enableval=$enable_no_rtti;
5132 if test "$enableval" = yes; then
5133 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5134 else
5135 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5136 fi
5137
5138 else
5139
5140 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5141
5142 fi
5143
5144
5145 eval "$wx_cv_use_no_rtti"
5146
5147 if test x"$enablestring" = xdisable; then
5148 if test $wxUSE_NO_RTTI = yes; then
5149 result=no
5150 else
5151 result=yes
5152 fi
5153 else
5154 result=$wxUSE_NO_RTTI
5155 fi
5156
5157 { echo "$as_me:$LINENO: result: $result" >&5
5158 echo "${ECHO_T}$result" >&6; }
5159
5160
5161 enablestring=
5162 defaultval=
5163 if test -z "$defaultval"; then
5164 if test x"$enablestring" = xdisable; then
5165 defaultval=yes
5166 else
5167 defaultval=no
5168 fi
5169 fi
5170
5171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5173 # Check whether --enable-no_exceptions was given.
5174 if test "${enable_no_exceptions+set}" = set; then
5175 enableval=$enable_no_exceptions;
5176 if test "$enableval" = yes; then
5177 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5178 else
5179 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5180 fi
5181
5182 else
5183
5184 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5185
5186 fi
5187
5188
5189 eval "$wx_cv_use_no_exceptions"
5190
5191 if test x"$enablestring" = xdisable; then
5192 if test $wxUSE_NO_EXCEPTIONS = yes; then
5193 result=no
5194 else
5195 result=yes
5196 fi
5197 else
5198 result=$wxUSE_NO_EXCEPTIONS
5199 fi
5200
5201 { echo "$as_me:$LINENO: result: $result" >&5
5202 echo "${ECHO_T}$result" >&6; }
5203
5204
5205 enablestring=
5206 defaultval=
5207 if test -z "$defaultval"; then
5208 if test x"$enablestring" = xdisable; then
5209 defaultval=yes
5210 else
5211 defaultval=no
5212 fi
5213 fi
5214
5215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5217 # Check whether --enable-permissive was given.
5218 if test "${enable_permissive+set}" = set; then
5219 enableval=$enable_permissive;
5220 if test "$enableval" = yes; then
5221 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5222 else
5223 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5224 fi
5225
5226 else
5227
5228 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5229
5230 fi
5231
5232
5233 eval "$wx_cv_use_permissive"
5234
5235 if test x"$enablestring" = xdisable; then
5236 if test $wxUSE_PERMISSIVE = yes; then
5237 result=no
5238 else
5239 result=yes
5240 fi
5241 else
5242 result=$wxUSE_PERMISSIVE
5243 fi
5244
5245 { echo "$as_me:$LINENO: result: $result" >&5
5246 echo "${ECHO_T}$result" >&6; }
5247
5248
5249 enablestring=
5250 defaultval=
5251 if test -z "$defaultval"; then
5252 if test x"$enablestring" = xdisable; then
5253 defaultval=yes
5254 else
5255 defaultval=no
5256 fi
5257 fi
5258
5259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5261 # Check whether --enable-no_deps was given.
5262 if test "${enable_no_deps+set}" = set; then
5263 enableval=$enable_no_deps;
5264 if test "$enableval" = yes; then
5265 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5266 else
5267 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5268 fi
5269
5270 else
5271
5272 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5273
5274 fi
5275
5276
5277 eval "$wx_cv_use_no_deps"
5278
5279 if test x"$enablestring" = xdisable; then
5280 if test $wxUSE_NO_DEPS = yes; then
5281 result=no
5282 else
5283 result=yes
5284 fi
5285 else
5286 result=$wxUSE_NO_DEPS
5287 fi
5288
5289 { echo "$as_me:$LINENO: result: $result" >&5
5290 echo "${ECHO_T}$result" >&6; }
5291
5292
5293 enablestring=disable
5294 defaultval=
5295 if test -z "$defaultval"; then
5296 if test x"$enablestring" = xdisable; then
5297 defaultval=yes
5298 else
5299 defaultval=no
5300 fi
5301 fi
5302
5303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5304 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5305 # Check whether --enable-vararg_macros was given.
5306 if test "${enable_vararg_macros+set}" = set; then
5307 enableval=$enable_vararg_macros;
5308 if test "$enableval" = yes; then
5309 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5310 else
5311 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5312 fi
5313
5314 else
5315
5316 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5317
5318 fi
5319
5320
5321 eval "$wx_cv_use_vararg_macros"
5322
5323 if test x"$enablestring" = xdisable; then
5324 if test $wxUSE_VARARG_MACROS = yes; then
5325 result=no
5326 else
5327 result=yes
5328 fi
5329 else
5330 result=$wxUSE_VARARG_MACROS
5331 fi
5332
5333 { echo "$as_me:$LINENO: result: $result" >&5
5334 echo "${ECHO_T}$result" >&6; }
5335
5336
5337 enablestring=
5338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5340 # Check whether --enable-universal_binary was given.
5341 if test "${enable_universal_binary+set}" = set; then
5342 enableval=$enable_universal_binary;
5343 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5344
5345 else
5346
5347 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5348
5349 fi
5350
5351
5352 eval "$wx_cv_use_universal_binary"
5353
5354 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5355 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5356
5357
5358
5359 enablestring=
5360 defaultval=
5361 if test -z "$defaultval"; then
5362 if test x"$enablestring" = xdisable; then
5363 defaultval=yes
5364 else
5365 defaultval=no
5366 fi
5367 fi
5368
5369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5371 # Check whether --enable-compat26 was given.
5372 if test "${enable_compat26+set}" = set; then
5373 enableval=$enable_compat26;
5374 if test "$enableval" = yes; then
5375 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5376 else
5377 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5378 fi
5379
5380 else
5381
5382 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5383
5384 fi
5385
5386
5387 eval "$wx_cv_use_compat26"
5388
5389 if test x"$enablestring" = xdisable; then
5390 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5391 result=no
5392 else
5393 result=yes
5394 fi
5395 else
5396 result=$WXWIN_COMPATIBILITY_2_6
5397 fi
5398
5399 { echo "$as_me:$LINENO: result: $result" >&5
5400 echo "${ECHO_T}$result" >&6; }
5401
5402
5403 enablestring=disable
5404 defaultval=
5405 if test -z "$defaultval"; then
5406 if test x"$enablestring" = xdisable; then
5407 defaultval=yes
5408 else
5409 defaultval=no
5410 fi
5411 fi
5412
5413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5415 # Check whether --enable-compat28 was given.
5416 if test "${enable_compat28+set}" = set; then
5417 enableval=$enable_compat28;
5418 if test "$enableval" = yes; then
5419 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5420 else
5421 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5422 fi
5423
5424 else
5425
5426 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5427
5428 fi
5429
5430
5431 eval "$wx_cv_use_compat28"
5432
5433 if test x"$enablestring" = xdisable; then
5434 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5435 result=no
5436 else
5437 result=yes
5438 fi
5439 else
5440 result=$WXWIN_COMPATIBILITY_2_8
5441 fi
5442
5443 { echo "$as_me:$LINENO: result: $result" >&5
5444 echo "${ECHO_T}$result" >&6; }
5445
5446
5447
5448 enablestring=disable
5449 defaultval=
5450 if test -z "$defaultval"; then
5451 if test x"$enablestring" = xdisable; then
5452 defaultval=yes
5453 else
5454 defaultval=no
5455 fi
5456 fi
5457
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5460 # Check whether --enable-rpath was given.
5461 if test "${enable_rpath+set}" = set; then
5462 enableval=$enable_rpath;
5463 if test "$enableval" = yes; then
5464 wx_cv_use_rpath='wxUSE_RPATH=yes'
5465 else
5466 wx_cv_use_rpath='wxUSE_RPATH=no'
5467 fi
5468
5469 else
5470
5471 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5472
5473 fi
5474
5475
5476 eval "$wx_cv_use_rpath"
5477
5478 if test x"$enablestring" = xdisable; then
5479 if test $wxUSE_RPATH = yes; then
5480 result=no
5481 else
5482 result=yes
5483 fi
5484 else
5485 result=$wxUSE_RPATH
5486 fi
5487
5488 { echo "$as_me:$LINENO: result: $result" >&5
5489 echo "${ECHO_T}$result" >&6; }
5490
5491
5492
5493 enablestring=
5494 defaultval=
5495 if test -z "$defaultval"; then
5496 if test x"$enablestring" = xdisable; then
5497 defaultval=yes
5498 else
5499 defaultval=no
5500 fi
5501 fi
5502
5503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5505 # Check whether --enable-objc_uniquifying was given.
5506 if test "${enable_objc_uniquifying+set}" = set; then
5507 enableval=$enable_objc_uniquifying;
5508 if test "$enableval" = yes; then
5509 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5510 else
5511 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5512 fi
5513
5514 else
5515
5516 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5517
5518 fi
5519
5520
5521 eval "$wx_cv_use_objc_uniquifying"
5522
5523 if test x"$enablestring" = xdisable; then
5524 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5525 result=no
5526 else
5527 result=yes
5528 fi
5529 else
5530 result=$wxUSE_OBJC_UNIQUIFYING
5531 fi
5532
5533 { echo "$as_me:$LINENO: result: $result" >&5
5534 echo "${ECHO_T}$result" >&6; }
5535
5536
5537
5538 enablestring=disable
5539 defaultval=
5540 if test -z "$defaultval"; then
5541 if test x"$enablestring" = xdisable; then
5542 defaultval=yes
5543 else
5544 defaultval=no
5545 fi
5546 fi
5547
5548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5549 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5550 # Check whether --enable-visibility was given.
5551 if test "${enable_visibility+set}" = set; then
5552 enableval=$enable_visibility;
5553 if test "$enableval" = yes; then
5554 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5555 else
5556 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5557 fi
5558
5559 else
5560
5561 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5562
5563 fi
5564
5565
5566 eval "$wx_cv_use_visibility"
5567
5568 if test x"$enablestring" = xdisable; then
5569 if test $wxUSE_VISIBILITY = yes; then
5570 result=no
5571 else
5572 result=yes
5573 fi
5574 else
5575 result=$wxUSE_VISIBILITY
5576 fi
5577
5578 { echo "$as_me:$LINENO: result: $result" >&5
5579 echo "${ECHO_T}$result" >&6; }
5580
5581
5582 enablestring=disable
5583 defaultval=
5584 if test -z "$defaultval"; then
5585 if test x"$enablestring" = xdisable; then
5586 defaultval=yes
5587 else
5588 defaultval=no
5589 fi
5590 fi
5591
5592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5593 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5594 # Check whether --enable-tls was given.
5595 if test "${enable_tls+set}" = set; then
5596 enableval=$enable_tls;
5597 if test "$enableval" = yes; then
5598 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5599 else
5600 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5601 fi
5602
5603 else
5604
5605 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5606
5607 fi
5608
5609
5610 eval "$wx_cv_use_tls"
5611
5612 if test x"$enablestring" = xdisable; then
5613 if test $wxUSE_COMPILER_TLS = yes; then
5614 result=no
5615 else
5616 result=yes
5617 fi
5618 else
5619 result=$wxUSE_COMPILER_TLS
5620 fi
5621
5622 { echo "$as_me:$LINENO: result: $result" >&5
5623 echo "${ECHO_T}$result" >&6; }
5624
5625
5626
5627
5628 enablestring=
5629 defaultval=$wxUSE_ALL_FEATURES
5630 if test -z "$defaultval"; then
5631 if test x"$enablestring" = xdisable; then
5632 defaultval=yes
5633 else
5634 defaultval=no
5635 fi
5636 fi
5637
5638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5639 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5640 # Check whether --enable-intl was given.
5641 if test "${enable_intl+set}" = set; then
5642 enableval=$enable_intl;
5643 if test "$enableval" = yes; then
5644 wx_cv_use_intl='wxUSE_INTL=yes'
5645 else
5646 wx_cv_use_intl='wxUSE_INTL=no'
5647 fi
5648
5649 else
5650
5651 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5652
5653 fi
5654
5655
5656 eval "$wx_cv_use_intl"
5657
5658 if test x"$enablestring" = xdisable; then
5659 if test $wxUSE_INTL = yes; then
5660 result=no
5661 else
5662 result=yes
5663 fi
5664 else
5665 result=$wxUSE_INTL
5666 fi
5667
5668 { echo "$as_me:$LINENO: result: $result" >&5
5669 echo "${ECHO_T}$result" >&6; }
5670
5671
5672 enablestring=
5673 defaultval=$wxUSE_ALL_FEATURES
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5676 defaultval=yes
5677 else
5678 defaultval=no
5679 fi
5680 fi
5681
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5684 # Check whether --enable-xlocale was given.
5685 if test "${enable_xlocale+set}" = set; then
5686 enableval=$enable_xlocale;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5689 else
5690 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5691 fi
5692
5693 else
5694
5695 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5696
5697 fi
5698
5699
5700 eval "$wx_cv_use_xlocale"
5701
5702 if test x"$enablestring" = xdisable; then
5703 if test $wxUSE_XLOCALE = yes; then
5704 result=no
5705 else
5706 result=yes
5707 fi
5708 else
5709 result=$wxUSE_XLOCALE
5710 fi
5711
5712 { echo "$as_me:$LINENO: result: $result" >&5
5713 echo "${ECHO_T}$result" >&6; }
5714
5715
5716 enablestring=
5717 defaultval=$wxUSE_ALL_FEATURES
5718 if test -z "$defaultval"; then
5719 if test x"$enablestring" = xdisable; then
5720 defaultval=yes
5721 else
5722 defaultval=no
5723 fi
5724 fi
5725
5726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5727 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5728 # Check whether --enable-config was given.
5729 if test "${enable_config+set}" = set; then
5730 enableval=$enable_config;
5731 if test "$enableval" = yes; then
5732 wx_cv_use_config='wxUSE_CONFIG=yes'
5733 else
5734 wx_cv_use_config='wxUSE_CONFIG=no'
5735 fi
5736
5737 else
5738
5739 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5740
5741 fi
5742
5743
5744 eval "$wx_cv_use_config"
5745
5746 if test x"$enablestring" = xdisable; then
5747 if test $wxUSE_CONFIG = yes; then
5748 result=no
5749 else
5750 result=yes
5751 fi
5752 else
5753 result=$wxUSE_CONFIG
5754 fi
5755
5756 { echo "$as_me:$LINENO: result: $result" >&5
5757 echo "${ECHO_T}$result" >&6; }
5758
5759
5760
5761 enablestring=
5762 defaultval=$wxUSE_ALL_FEATURES
5763 if test -z "$defaultval"; then
5764 if test x"$enablestring" = xdisable; then
5765 defaultval=yes
5766 else
5767 defaultval=no
5768 fi
5769 fi
5770
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5773 # Check whether --enable-protocols was given.
5774 if test "${enable_protocols+set}" = set; then
5775 enableval=$enable_protocols;
5776 if test "$enableval" = yes; then
5777 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5778 else
5779 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5780 fi
5781
5782 else
5783
5784 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5785
5786 fi
5787
5788
5789 eval "$wx_cv_use_protocols"
5790
5791 if test x"$enablestring" = xdisable; then
5792 if test $wxUSE_PROTOCOL = yes; then
5793 result=no
5794 else
5795 result=yes
5796 fi
5797 else
5798 result=$wxUSE_PROTOCOL
5799 fi
5800
5801 { echo "$as_me:$LINENO: result: $result" >&5
5802 echo "${ECHO_T}$result" >&6; }
5803
5804
5805 enablestring=
5806 defaultval=$wxUSE_ALL_FEATURES
5807 if test -z "$defaultval"; then
5808 if test x"$enablestring" = xdisable; then
5809 defaultval=yes
5810 else
5811 defaultval=no
5812 fi
5813 fi
5814
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5817 # Check whether --enable-ftp was given.
5818 if test "${enable_ftp+set}" = set; then
5819 enableval=$enable_ftp;
5820 if test "$enableval" = yes; then
5821 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5822 else
5823 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5824 fi
5825
5826 else
5827
5828 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5829
5830 fi
5831
5832
5833 eval "$wx_cv_use_ftp"
5834
5835 if test x"$enablestring" = xdisable; then
5836 if test $wxUSE_PROTOCOL_FTP = yes; then
5837 result=no
5838 else
5839 result=yes
5840 fi
5841 else
5842 result=$wxUSE_PROTOCOL_FTP
5843 fi
5844
5845 { echo "$as_me:$LINENO: result: $result" >&5
5846 echo "${ECHO_T}$result" >&6; }
5847
5848
5849 enablestring=
5850 defaultval=$wxUSE_ALL_FEATURES
5851 if test -z "$defaultval"; then
5852 if test x"$enablestring" = xdisable; then
5853 defaultval=yes
5854 else
5855 defaultval=no
5856 fi
5857 fi
5858
5859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5861 # Check whether --enable-http was given.
5862 if test "${enable_http+set}" = set; then
5863 enableval=$enable_http;
5864 if test "$enableval" = yes; then
5865 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5866 else
5867 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5868 fi
5869
5870 else
5871
5872 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5873
5874 fi
5875
5876
5877 eval "$wx_cv_use_http"
5878
5879 if test x"$enablestring" = xdisable; then
5880 if test $wxUSE_PROTOCOL_HTTP = yes; then
5881 result=no
5882 else
5883 result=yes
5884 fi
5885 else
5886 result=$wxUSE_PROTOCOL_HTTP
5887 fi
5888
5889 { echo "$as_me:$LINENO: result: $result" >&5
5890 echo "${ECHO_T}$result" >&6; }
5891
5892
5893 enablestring=
5894 defaultval=$wxUSE_ALL_FEATURES
5895 if test -z "$defaultval"; then
5896 if test x"$enablestring" = xdisable; then
5897 defaultval=yes
5898 else
5899 defaultval=no
5900 fi
5901 fi
5902
5903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5905 # Check whether --enable-fileproto was given.
5906 if test "${enable_fileproto+set}" = set; then
5907 enableval=$enable_fileproto;
5908 if test "$enableval" = yes; then
5909 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5910 else
5911 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5912 fi
5913
5914 else
5915
5916 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5917
5918 fi
5919
5920
5921 eval "$wx_cv_use_fileproto"
5922
5923 if test x"$enablestring" = xdisable; then
5924 if test $wxUSE_PROTOCOL_FILE = yes; then
5925 result=no
5926 else
5927 result=yes
5928 fi
5929 else
5930 result=$wxUSE_PROTOCOL_FILE
5931 fi
5932
5933 { echo "$as_me:$LINENO: result: $result" >&5
5934 echo "${ECHO_T}$result" >&6; }
5935
5936
5937 enablestring=
5938 defaultval=$wxUSE_ALL_FEATURES
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5941 defaultval=yes
5942 else
5943 defaultval=no
5944 fi
5945 fi
5946
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5949 # Check whether --enable-sockets was given.
5950 if test "${enable_sockets+set}" = set; then
5951 enableval=$enable_sockets;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5954 else
5955 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5956 fi
5957
5958 else
5959
5960 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5961
5962 fi
5963
5964
5965 eval "$wx_cv_use_sockets"
5966
5967 if test x"$enablestring" = xdisable; then
5968 if test $wxUSE_SOCKETS = yes; then
5969 result=no
5970 else
5971 result=yes
5972 fi
5973 else
5974 result=$wxUSE_SOCKETS
5975 fi
5976
5977 { echo "$as_me:$LINENO: result: $result" >&5
5978 echo "${ECHO_T}$result" >&6; }
5979
5980
5981 enablestring=
5982 defaultval=$wxUSE_ALL_FEATURES
5983 if test -z "$defaultval"; then
5984 if test x"$enablestring" = xdisable; then
5985 defaultval=yes
5986 else
5987 defaultval=no
5988 fi
5989 fi
5990
5991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5993 # Check whether --enable-ipv6 was given.
5994 if test "${enable_ipv6+set}" = set; then
5995 enableval=$enable_ipv6;
5996 if test "$enableval" = yes; then
5997 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5998 else
5999 wx_cv_use_ipv6='wxUSE_IPV6=no'
6000 fi
6001
6002 else
6003
6004 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6005
6006 fi
6007
6008
6009 eval "$wx_cv_use_ipv6"
6010
6011 if test x"$enablestring" = xdisable; then
6012 if test $wxUSE_IPV6 = yes; then
6013 result=no
6014 else
6015 result=yes
6016 fi
6017 else
6018 result=$wxUSE_IPV6
6019 fi
6020
6021 { echo "$as_me:$LINENO: result: $result" >&5
6022 echo "${ECHO_T}$result" >&6; }
6023
6024
6025 enablestring=
6026 defaultval=$wxUSE_ALL_FEATURES
6027 if test -z "$defaultval"; then
6028 if test x"$enablestring" = xdisable; then
6029 defaultval=yes
6030 else
6031 defaultval=no
6032 fi
6033 fi
6034
6035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6036 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6037 # Check whether --enable-ole was given.
6038 if test "${enable_ole+set}" = set; then
6039 enableval=$enable_ole;
6040 if test "$enableval" = yes; then
6041 wx_cv_use_ole='wxUSE_OLE=yes'
6042 else
6043 wx_cv_use_ole='wxUSE_OLE=no'
6044 fi
6045
6046 else
6047
6048 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6049
6050 fi
6051
6052
6053 eval "$wx_cv_use_ole"
6054
6055 if test x"$enablestring" = xdisable; then
6056 if test $wxUSE_OLE = yes; then
6057 result=no
6058 else
6059 result=yes
6060 fi
6061 else
6062 result=$wxUSE_OLE
6063 fi
6064
6065 { echo "$as_me:$LINENO: result: $result" >&5
6066 echo "${ECHO_T}$result" >&6; }
6067
6068
6069 enablestring=
6070 defaultval=$wxUSE_ALL_FEATURES
6071 if test -z "$defaultval"; then
6072 if test x"$enablestring" = xdisable; then
6073 defaultval=yes
6074 else
6075 defaultval=no
6076 fi
6077 fi
6078
6079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6080 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6081 # Check whether --enable-dataobj was given.
6082 if test "${enable_dataobj+set}" = set; then
6083 enableval=$enable_dataobj;
6084 if test "$enableval" = yes; then
6085 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6086 else
6087 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6088 fi
6089
6090 else
6091
6092 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6093
6094 fi
6095
6096
6097 eval "$wx_cv_use_dataobj"
6098
6099 if test x"$enablestring" = xdisable; then
6100 if test $wxUSE_DATAOBJ = yes; then
6101 result=no
6102 else
6103 result=yes
6104 fi
6105 else
6106 result=$wxUSE_DATAOBJ
6107 fi
6108
6109 { echo "$as_me:$LINENO: result: $result" >&5
6110 echo "${ECHO_T}$result" >&6; }
6111
6112
6113
6114 enablestring=
6115 defaultval=$wxUSE_ALL_FEATURES
6116 if test -z "$defaultval"; then
6117 if test x"$enablestring" = xdisable; then
6118 defaultval=yes
6119 else
6120 defaultval=no
6121 fi
6122 fi
6123
6124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6126 # Check whether --enable-ipc was given.
6127 if test "${enable_ipc+set}" = set; then
6128 enableval=$enable_ipc;
6129 if test "$enableval" = yes; then
6130 wx_cv_use_ipc='wxUSE_IPC=yes'
6131 else
6132 wx_cv_use_ipc='wxUSE_IPC=no'
6133 fi
6134
6135 else
6136
6137 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6138
6139 fi
6140
6141
6142 eval "$wx_cv_use_ipc"
6143
6144 if test x"$enablestring" = xdisable; then
6145 if test $wxUSE_IPC = yes; then
6146 result=no
6147 else
6148 result=yes
6149 fi
6150 else
6151 result=$wxUSE_IPC
6152 fi
6153
6154 { echo "$as_me:$LINENO: result: $result" >&5
6155 echo "${ECHO_T}$result" >&6; }
6156
6157
6158
6159 enablestring=
6160 defaultval=$wxUSE_ALL_FEATURES
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6163 defaultval=yes
6164 else
6165 defaultval=no
6166 fi
6167 fi
6168
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6171 # Check whether --enable-baseevtloop was given.
6172 if test "${enable_baseevtloop+set}" = set; then
6173 enableval=$enable_baseevtloop;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6176 else
6177 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6178 fi
6179
6180 else
6181
6182 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6183
6184 fi
6185
6186
6187 eval "$wx_cv_use_baseevtloop"
6188
6189 if test x"$enablestring" = xdisable; then
6190 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6191 result=no
6192 else
6193 result=yes
6194 fi
6195 else
6196 result=$wxUSE_CONSOLE_EVENTLOOP
6197 fi
6198
6199 { echo "$as_me:$LINENO: result: $result" >&5
6200 echo "${ECHO_T}$result" >&6; }
6201
6202
6203 enablestring=
6204 defaultval=$wxUSE_ALL_FEATURES
6205 if test -z "$defaultval"; then
6206 if test x"$enablestring" = xdisable; then
6207 defaultval=yes
6208 else
6209 defaultval=no
6210 fi
6211 fi
6212
6213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6215 # Check whether --enable-epollloop was given.
6216 if test "${enable_epollloop+set}" = set; then
6217 enableval=$enable_epollloop;
6218 if test "$enableval" = yes; then
6219 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6220 else
6221 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6222 fi
6223
6224 else
6225
6226 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6227
6228 fi
6229
6230
6231 eval "$wx_cv_use_epollloop"
6232
6233 if test x"$enablestring" = xdisable; then
6234 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6235 result=no
6236 else
6237 result=yes
6238 fi
6239 else
6240 result=$wxUSE_EPOLL_DISPATCHER
6241 fi
6242
6243 { echo "$as_me:$LINENO: result: $result" >&5
6244 echo "${ECHO_T}$result" >&6; }
6245
6246
6247 enablestring=
6248 defaultval=$wxUSE_ALL_FEATURES
6249 if test -z "$defaultval"; then
6250 if test x"$enablestring" = xdisable; then
6251 defaultval=yes
6252 else
6253 defaultval=no
6254 fi
6255 fi
6256
6257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6259 # Check whether --enable-selectloop was given.
6260 if test "${enable_selectloop+set}" = set; then
6261 enableval=$enable_selectloop;
6262 if test "$enableval" = yes; then
6263 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6264 else
6265 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6266 fi
6267
6268 else
6269
6270 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6271
6272 fi
6273
6274
6275 eval "$wx_cv_use_selectloop"
6276
6277 if test x"$enablestring" = xdisable; then
6278 if test $wxUSE_SELECT_DISPATCHER = yes; then
6279 result=no
6280 else
6281 result=yes
6282 fi
6283 else
6284 result=$wxUSE_SELECT_DISPATCHER
6285 fi
6286
6287 { echo "$as_me:$LINENO: result: $result" >&5
6288 echo "${ECHO_T}$result" >&6; }
6289
6290
6291
6292 enablestring=
6293 defaultval=$wxUSE_ALL_FEATURES
6294 if test -z "$defaultval"; then
6295 if test x"$enablestring" = xdisable; then
6296 defaultval=yes
6297 else
6298 defaultval=no
6299 fi
6300 fi
6301
6302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6304 # Check whether --enable-apple_ieee was given.
6305 if test "${enable_apple_ieee+set}" = set; then
6306 enableval=$enable_apple_ieee;
6307 if test "$enableval" = yes; then
6308 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6309 else
6310 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6311 fi
6312
6313 else
6314
6315 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6316
6317 fi
6318
6319
6320 eval "$wx_cv_use_apple_ieee"
6321
6322 if test x"$enablestring" = xdisable; then
6323 if test $wxUSE_APPLE_IEEE = yes; then
6324 result=no
6325 else
6326 result=yes
6327 fi
6328 else
6329 result=$wxUSE_APPLE_IEEE
6330 fi
6331
6332 { echo "$as_me:$LINENO: result: $result" >&5
6333 echo "${ECHO_T}$result" >&6; }
6334
6335
6336 enablestring=
6337 defaultval=$wxUSE_ALL_FEATURES
6338 if test -z "$defaultval"; then
6339 if test x"$enablestring" = xdisable; then
6340 defaultval=yes
6341 else
6342 defaultval=no
6343 fi
6344 fi
6345
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6348 # Check whether --enable-arcstream was given.
6349 if test "${enable_arcstream+set}" = set; then
6350 enableval=$enable_arcstream;
6351 if test "$enableval" = yes; then
6352 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6353 else
6354 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6355 fi
6356
6357 else
6358
6359 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6360
6361 fi
6362
6363
6364 eval "$wx_cv_use_arcstream"
6365
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6368 result=no
6369 else
6370 result=yes
6371 fi
6372 else
6373 result=$wxUSE_ARCHIVE_STREAMS
6374 fi
6375
6376 { echo "$as_me:$LINENO: result: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6378
6379
6380 enablestring=
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6384 defaultval=yes
6385 else
6386 defaultval=no
6387 fi
6388 fi
6389
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6392 # Check whether --enable-base64 was given.
6393 if test "${enable_base64+set}" = set; then
6394 enableval=$enable_base64;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_base64='wxUSE_BASE64=yes'
6397 else
6398 wx_cv_use_base64='wxUSE_BASE64=no'
6399 fi
6400
6401 else
6402
6403 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6404
6405 fi
6406
6407
6408 eval "$wx_cv_use_base64"
6409
6410 if test x"$enablestring" = xdisable; then
6411 if test $wxUSE_BASE64 = yes; then
6412 result=no
6413 else
6414 result=yes
6415 fi
6416 else
6417 result=$wxUSE_BASE64
6418 fi
6419
6420 { echo "$as_me:$LINENO: result: $result" >&5
6421 echo "${ECHO_T}$result" >&6; }
6422
6423
6424 enablestring=
6425 defaultval=$wxUSE_ALL_FEATURES
6426 if test -z "$defaultval"; then
6427 if test x"$enablestring" = xdisable; then
6428 defaultval=yes
6429 else
6430 defaultval=no
6431 fi
6432 fi
6433
6434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6435 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6436 # Check whether --enable-backtrace was given.
6437 if test "${enable_backtrace+set}" = set; then
6438 enableval=$enable_backtrace;
6439 if test "$enableval" = yes; then
6440 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6441 else
6442 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6443 fi
6444
6445 else
6446
6447 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6448
6449 fi
6450
6451
6452 eval "$wx_cv_use_backtrace"
6453
6454 if test x"$enablestring" = xdisable; then
6455 if test $wxUSE_STACKWALKER = yes; then
6456 result=no
6457 else
6458 result=yes
6459 fi
6460 else
6461 result=$wxUSE_STACKWALKER
6462 fi
6463
6464 { echo "$as_me:$LINENO: result: $result" >&5
6465 echo "${ECHO_T}$result" >&6; }
6466
6467
6468 enablestring=
6469 defaultval=$wxUSE_ALL_FEATURES
6470 if test -z "$defaultval"; then
6471 if test x"$enablestring" = xdisable; then
6472 defaultval=yes
6473 else
6474 defaultval=no
6475 fi
6476 fi
6477
6478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6479 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6480 # Check whether --enable-catch_segvs was given.
6481 if test "${enable_catch_segvs+set}" = set; then
6482 enableval=$enable_catch_segvs;
6483 if test "$enableval" = yes; then
6484 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6485 else
6486 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6487 fi
6488
6489 else
6490
6491 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6492
6493 fi
6494
6495
6496 eval "$wx_cv_use_catch_segvs"
6497
6498 if test x"$enablestring" = xdisable; then
6499 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6500 result=no
6501 else
6502 result=yes
6503 fi
6504 else
6505 result=$wxUSE_ON_FATAL_EXCEPTION
6506 fi
6507
6508 { echo "$as_me:$LINENO: result: $result" >&5
6509 echo "${ECHO_T}$result" >&6; }
6510
6511
6512 enablestring=
6513 defaultval=$wxUSE_ALL_FEATURES
6514 if test -z "$defaultval"; then
6515 if test x"$enablestring" = xdisable; then
6516 defaultval=yes
6517 else
6518 defaultval=no
6519 fi
6520 fi
6521
6522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6524 # Check whether --enable-cmdline was given.
6525 if test "${enable_cmdline+set}" = set; then
6526 enableval=$enable_cmdline;
6527 if test "$enableval" = yes; then
6528 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6529 else
6530 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6531 fi
6532
6533 else
6534
6535 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6536
6537 fi
6538
6539
6540 eval "$wx_cv_use_cmdline"
6541
6542 if test x"$enablestring" = xdisable; then
6543 if test $wxUSE_CMDLINE_PARSER = yes; then
6544 result=no
6545 else
6546 result=yes
6547 fi
6548 else
6549 result=$wxUSE_CMDLINE_PARSER
6550 fi
6551
6552 { echo "$as_me:$LINENO: result: $result" >&5
6553 echo "${ECHO_T}$result" >&6; }
6554
6555
6556 enablestring=
6557 defaultval=$wxUSE_ALL_FEATURES
6558 if test -z "$defaultval"; then
6559 if test x"$enablestring" = xdisable; then
6560 defaultval=yes
6561 else
6562 defaultval=no
6563 fi
6564 fi
6565
6566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6568 # Check whether --enable-datetime was given.
6569 if test "${enable_datetime+set}" = set; then
6570 enableval=$enable_datetime;
6571 if test "$enableval" = yes; then
6572 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6573 else
6574 wx_cv_use_datetime='wxUSE_DATETIME=no'
6575 fi
6576
6577 else
6578
6579 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6580
6581 fi
6582
6583
6584 eval "$wx_cv_use_datetime"
6585
6586 if test x"$enablestring" = xdisable; then
6587 if test $wxUSE_DATETIME = yes; then
6588 result=no
6589 else
6590 result=yes
6591 fi
6592 else
6593 result=$wxUSE_DATETIME
6594 fi
6595
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6598
6599
6600 enablestring=
6601 defaultval=$wxUSE_ALL_FEATURES
6602 if test -z "$defaultval"; then
6603 if test x"$enablestring" = xdisable; then
6604 defaultval=yes
6605 else
6606 defaultval=no
6607 fi
6608 fi
6609
6610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6612 # Check whether --enable-debugreport was given.
6613 if test "${enable_debugreport+set}" = set; then
6614 enableval=$enable_debugreport;
6615 if test "$enableval" = yes; then
6616 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6617 else
6618 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6619 fi
6620
6621 else
6622
6623 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6624
6625 fi
6626
6627
6628 eval "$wx_cv_use_debugreport"
6629
6630 if test x"$enablestring" = xdisable; then
6631 if test $wxUSE_DEBUGREPORT = yes; then
6632 result=no
6633 else
6634 result=yes
6635 fi
6636 else
6637 result=$wxUSE_DEBUGREPORT
6638 fi
6639
6640 { echo "$as_me:$LINENO: result: $result" >&5
6641 echo "${ECHO_T}$result" >&6; }
6642
6643
6644 enablestring=
6645 defaultval=$wxUSE_ALL_FEATURES
6646 if test -z "$defaultval"; then
6647 if test x"$enablestring" = xdisable; then
6648 defaultval=yes
6649 else
6650 defaultval=no
6651 fi
6652 fi
6653
6654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6656 # Check whether --enable-dialupman was given.
6657 if test "${enable_dialupman+set}" = set; then
6658 enableval=$enable_dialupman;
6659 if test "$enableval" = yes; then
6660 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6661 else
6662 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6663 fi
6664
6665 else
6666
6667 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6668
6669 fi
6670
6671
6672 eval "$wx_cv_use_dialupman"
6673
6674 if test x"$enablestring" = xdisable; then
6675 if test $wxUSE_DIALUP_MANAGER = yes; then
6676 result=no
6677 else
6678 result=yes
6679 fi
6680 else
6681 result=$wxUSE_DIALUP_MANAGER
6682 fi
6683
6684 { echo "$as_me:$LINENO: result: $result" >&5
6685 echo "${ECHO_T}$result" >&6; }
6686
6687
6688 enablestring=
6689 defaultval=$wxUSE_ALL_FEATURES
6690 if test -z "$defaultval"; then
6691 if test x"$enablestring" = xdisable; then
6692 defaultval=yes
6693 else
6694 defaultval=no
6695 fi
6696 fi
6697
6698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6699 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6700 # Check whether --enable-dynlib was given.
6701 if test "${enable_dynlib+set}" = set; then
6702 enableval=$enable_dynlib;
6703 if test "$enableval" = yes; then
6704 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6705 else
6706 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6707 fi
6708
6709 else
6710
6711 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6712
6713 fi
6714
6715
6716 eval "$wx_cv_use_dynlib"
6717
6718 if test x"$enablestring" = xdisable; then
6719 if test $wxUSE_DYNLIB_CLASS = yes; then
6720 result=no
6721 else
6722 result=yes
6723 fi
6724 else
6725 result=$wxUSE_DYNLIB_CLASS
6726 fi
6727
6728 { echo "$as_me:$LINENO: result: $result" >&5
6729 echo "${ECHO_T}$result" >&6; }
6730
6731
6732 enablestring=
6733 defaultval=$wxUSE_ALL_FEATURES
6734 if test -z "$defaultval"; then
6735 if test x"$enablestring" = xdisable; then
6736 defaultval=yes
6737 else
6738 defaultval=no
6739 fi
6740 fi
6741
6742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6743 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6744 # Check whether --enable-dynamicloader was given.
6745 if test "${enable_dynamicloader+set}" = set; then
6746 enableval=$enable_dynamicloader;
6747 if test "$enableval" = yes; then
6748 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6749 else
6750 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6751 fi
6752
6753 else
6754
6755 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6756
6757 fi
6758
6759
6760 eval "$wx_cv_use_dynamicloader"
6761
6762 if test x"$enablestring" = xdisable; then
6763 if test $wxUSE_DYNAMIC_LOADER = yes; then
6764 result=no
6765 else
6766 result=yes
6767 fi
6768 else
6769 result=$wxUSE_DYNAMIC_LOADER
6770 fi
6771
6772 { echo "$as_me:$LINENO: result: $result" >&5
6773 echo "${ECHO_T}$result" >&6; }
6774
6775
6776 enablestring=
6777 defaultval=$wxUSE_ALL_FEATURES
6778 if test -z "$defaultval"; then
6779 if test x"$enablestring" = xdisable; then
6780 defaultval=yes
6781 else
6782 defaultval=no
6783 fi
6784 fi
6785
6786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6788 # Check whether --enable-exceptions was given.
6789 if test "${enable_exceptions+set}" = set; then
6790 enableval=$enable_exceptions;
6791 if test "$enableval" = yes; then
6792 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6793 else
6794 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6795 fi
6796
6797 else
6798
6799 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6800
6801 fi
6802
6803
6804 eval "$wx_cv_use_exceptions"
6805
6806 if test x"$enablestring" = xdisable; then
6807 if test $wxUSE_EXCEPTIONS = yes; then
6808 result=no
6809 else
6810 result=yes
6811 fi
6812 else
6813 result=$wxUSE_EXCEPTIONS
6814 fi
6815
6816 { echo "$as_me:$LINENO: result: $result" >&5
6817 echo "${ECHO_T}$result" >&6; }
6818
6819
6820 enablestring=
6821 defaultval=$wxUSE_ALL_FEATURES
6822 if test -z "$defaultval"; then
6823 if test x"$enablestring" = xdisable; then
6824 defaultval=yes
6825 else
6826 defaultval=no
6827 fi
6828 fi
6829
6830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6831 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6832 # Check whether --enable-ffile was given.
6833 if test "${enable_ffile+set}" = set; then
6834 enableval=$enable_ffile;
6835 if test "$enableval" = yes; then
6836 wx_cv_use_ffile='wxUSE_FFILE=yes'
6837 else
6838 wx_cv_use_ffile='wxUSE_FFILE=no'
6839 fi
6840
6841 else
6842
6843 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6844
6845 fi
6846
6847
6848 eval "$wx_cv_use_ffile"
6849
6850 if test x"$enablestring" = xdisable; then
6851 if test $wxUSE_FFILE = yes; then
6852 result=no
6853 else
6854 result=yes
6855 fi
6856 else
6857 result=$wxUSE_FFILE
6858 fi
6859
6860 { echo "$as_me:$LINENO: result: $result" >&5
6861 echo "${ECHO_T}$result" >&6; }
6862
6863
6864 enablestring=
6865 defaultval=$wxUSE_ALL_FEATURES
6866 if test -z "$defaultval"; then
6867 if test x"$enablestring" = xdisable; then
6868 defaultval=yes
6869 else
6870 defaultval=no
6871 fi
6872 fi
6873
6874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6875 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6876 # Check whether --enable-file was given.
6877 if test "${enable_file+set}" = set; then
6878 enableval=$enable_file;
6879 if test "$enableval" = yes; then
6880 wx_cv_use_file='wxUSE_FILE=yes'
6881 else
6882 wx_cv_use_file='wxUSE_FILE=no'
6883 fi
6884
6885 else
6886
6887 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6888
6889 fi
6890
6891
6892 eval "$wx_cv_use_file"
6893
6894 if test x"$enablestring" = xdisable; then
6895 if test $wxUSE_FILE = yes; then
6896 result=no
6897 else
6898 result=yes
6899 fi
6900 else
6901 result=$wxUSE_FILE
6902 fi
6903
6904 { echo "$as_me:$LINENO: result: $result" >&5
6905 echo "${ECHO_T}$result" >&6; }
6906
6907
6908 enablestring=
6909 defaultval=$wxUSE_ALL_FEATURES
6910 if test -z "$defaultval"; then
6911 if test x"$enablestring" = xdisable; then
6912 defaultval=yes
6913 else
6914 defaultval=no
6915 fi
6916 fi
6917
6918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6920 # Check whether --enable-filesystem was given.
6921 if test "${enable_filesystem+set}" = set; then
6922 enableval=$enable_filesystem;
6923 if test "$enableval" = yes; then
6924 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6925 else
6926 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6927 fi
6928
6929 else
6930
6931 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6932
6933 fi
6934
6935
6936 eval "$wx_cv_use_filesystem"
6937
6938 if test x"$enablestring" = xdisable; then
6939 if test $wxUSE_FILESYSTEM = yes; then
6940 result=no
6941 else
6942 result=yes
6943 fi
6944 else
6945 result=$wxUSE_FILESYSTEM
6946 fi
6947
6948 { echo "$as_me:$LINENO: result: $result" >&5
6949 echo "${ECHO_T}$result" >&6; }
6950
6951
6952 enablestring=
6953 defaultval=$wxUSE_ALL_FEATURES
6954 if test -z "$defaultval"; then
6955 if test x"$enablestring" = xdisable; then
6956 defaultval=yes
6957 else
6958 defaultval=no
6959 fi
6960 fi
6961
6962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6964 # Check whether --enable-fontenum was given.
6965 if test "${enable_fontenum+set}" = set; then
6966 enableval=$enable_fontenum;
6967 if test "$enableval" = yes; then
6968 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6969 else
6970 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6971 fi
6972
6973 else
6974
6975 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6976
6977 fi
6978
6979
6980 eval "$wx_cv_use_fontenum"
6981
6982 if test x"$enablestring" = xdisable; then
6983 if test $wxUSE_FONTENUM = yes; then
6984 result=no
6985 else
6986 result=yes
6987 fi
6988 else
6989 result=$wxUSE_FONTENUM
6990 fi
6991
6992 { echo "$as_me:$LINENO: result: $result" >&5
6993 echo "${ECHO_T}$result" >&6; }
6994
6995
6996 enablestring=
6997 defaultval=$wxUSE_ALL_FEATURES
6998 if test -z "$defaultval"; then
6999 if test x"$enablestring" = xdisable; then
7000 defaultval=yes
7001 else
7002 defaultval=no
7003 fi
7004 fi
7005
7006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7008 # Check whether --enable-fontmap was given.
7009 if test "${enable_fontmap+set}" = set; then
7010 enableval=$enable_fontmap;
7011 if test "$enableval" = yes; then
7012 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7013 else
7014 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7015 fi
7016
7017 else
7018
7019 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7020
7021 fi
7022
7023
7024 eval "$wx_cv_use_fontmap"
7025
7026 if test x"$enablestring" = xdisable; then
7027 if test $wxUSE_FONTMAP = yes; then
7028 result=no
7029 else
7030 result=yes
7031 fi
7032 else
7033 result=$wxUSE_FONTMAP
7034 fi
7035
7036 { echo "$as_me:$LINENO: result: $result" >&5
7037 echo "${ECHO_T}$result" >&6; }
7038
7039
7040 enablestring=
7041 defaultval=$wxUSE_ALL_FEATURES
7042 if test -z "$defaultval"; then
7043 if test x"$enablestring" = xdisable; then
7044 defaultval=yes
7045 else
7046 defaultval=no
7047 fi
7048 fi
7049
7050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7052 # Check whether --enable-fs_archive was given.
7053 if test "${enable_fs_archive+set}" = set; then
7054 enableval=$enable_fs_archive;
7055 if test "$enableval" = yes; then
7056 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7057 else
7058 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7059 fi
7060
7061 else
7062
7063 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7064
7065 fi
7066
7067
7068 eval "$wx_cv_use_fs_archive"
7069
7070 if test x"$enablestring" = xdisable; then
7071 if test $wxUSE_FS_ARCHIVE = yes; then
7072 result=no
7073 else
7074 result=yes
7075 fi
7076 else
7077 result=$wxUSE_FS_ARCHIVE
7078 fi
7079
7080 { echo "$as_me:$LINENO: result: $result" >&5
7081 echo "${ECHO_T}$result" >&6; }
7082
7083
7084 enablestring=
7085 defaultval=$wxUSE_ALL_FEATURES
7086 if test -z "$defaultval"; then
7087 if test x"$enablestring" = xdisable; then
7088 defaultval=yes
7089 else
7090 defaultval=no
7091 fi
7092 fi
7093
7094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7096 # Check whether --enable-fs_inet was given.
7097 if test "${enable_fs_inet+set}" = set; then
7098 enableval=$enable_fs_inet;
7099 if test "$enableval" = yes; then
7100 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7101 else
7102 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7103 fi
7104
7105 else
7106
7107 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7108
7109 fi
7110
7111
7112 eval "$wx_cv_use_fs_inet"
7113
7114 if test x"$enablestring" = xdisable; then
7115 if test $wxUSE_FS_INET = yes; then
7116 result=no
7117 else
7118 result=yes
7119 fi
7120 else
7121 result=$wxUSE_FS_INET
7122 fi
7123
7124 { echo "$as_me:$LINENO: result: $result" >&5
7125 echo "${ECHO_T}$result" >&6; }
7126
7127
7128 enablestring=
7129 defaultval=$wxUSE_ALL_FEATURES
7130 if test -z "$defaultval"; then
7131 if test x"$enablestring" = xdisable; then
7132 defaultval=yes
7133 else
7134 defaultval=no
7135 fi
7136 fi
7137
7138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7140 # Check whether --enable-fs_zip was given.
7141 if test "${enable_fs_zip+set}" = set; then
7142 enableval=$enable_fs_zip;
7143 if test "$enableval" = yes; then
7144 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7145 else
7146 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7147 fi
7148
7149 else
7150
7151 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7152
7153 fi
7154
7155
7156 eval "$wx_cv_use_fs_zip"
7157
7158 if test x"$enablestring" = xdisable; then
7159 if test $wxUSE_FS_ZIP = yes; then
7160 result=no
7161 else
7162 result=yes
7163 fi
7164 else
7165 result=$wxUSE_FS_ZIP
7166 fi
7167
7168 { echo "$as_me:$LINENO: result: $result" >&5
7169 echo "${ECHO_T}$result" >&6; }
7170
7171
7172 enablestring=
7173 defaultval=$wxUSE_ALL_FEATURES
7174 if test -z "$defaultval"; then
7175 if test x"$enablestring" = xdisable; then
7176 defaultval=yes
7177 else
7178 defaultval=no
7179 fi
7180 fi
7181
7182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7184 # Check whether --enable-geometry was given.
7185 if test "${enable_geometry+set}" = set; then
7186 enableval=$enable_geometry;
7187 if test "$enableval" = yes; then
7188 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7189 else
7190 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7191 fi
7192
7193 else
7194
7195 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7196
7197 fi
7198
7199
7200 eval "$wx_cv_use_geometry"
7201
7202 if test x"$enablestring" = xdisable; then
7203 if test $wxUSE_GEOMETRY = yes; then
7204 result=no
7205 else
7206 result=yes
7207 fi
7208 else
7209 result=$wxUSE_GEOMETRY
7210 fi
7211
7212 { echo "$as_me:$LINENO: result: $result" >&5
7213 echo "${ECHO_T}$result" >&6; }
7214
7215
7216 enablestring=
7217 defaultval=$wxUSE_ALL_FEATURES
7218 if test -z "$defaultval"; then
7219 if test x"$enablestring" = xdisable; then
7220 defaultval=yes
7221 else
7222 defaultval=no
7223 fi
7224 fi
7225
7226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7228 # Check whether --enable-log was given.
7229 if test "${enable_log+set}" = set; then
7230 enableval=$enable_log;
7231 if test "$enableval" = yes; then
7232 wx_cv_use_log='wxUSE_LOG=yes'
7233 else
7234 wx_cv_use_log='wxUSE_LOG=no'
7235 fi
7236
7237 else
7238
7239 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7240
7241 fi
7242
7243
7244 eval "$wx_cv_use_log"
7245
7246 if test x"$enablestring" = xdisable; then
7247 if test $wxUSE_LOG = yes; then
7248 result=no
7249 else
7250 result=yes
7251 fi
7252 else
7253 result=$wxUSE_LOG
7254 fi
7255
7256 { echo "$as_me:$LINENO: result: $result" >&5
7257 echo "${ECHO_T}$result" >&6; }
7258
7259
7260 enablestring=
7261 defaultval=$wxUSE_ALL_FEATURES
7262 if test -z "$defaultval"; then
7263 if test x"$enablestring" = xdisable; then
7264 defaultval=yes
7265 else
7266 defaultval=no
7267 fi
7268 fi
7269
7270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7272 # Check whether --enable-longlong was given.
7273 if test "${enable_longlong+set}" = set; then
7274 enableval=$enable_longlong;
7275 if test "$enableval" = yes; then
7276 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7277 else
7278 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7279 fi
7280
7281 else
7282
7283 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7284
7285 fi
7286
7287
7288 eval "$wx_cv_use_longlong"
7289
7290 if test x"$enablestring" = xdisable; then
7291 if test $wxUSE_LONGLONG = yes; then
7292 result=no
7293 else
7294 result=yes
7295 fi
7296 else
7297 result=$wxUSE_LONGLONG
7298 fi
7299
7300 { echo "$as_me:$LINENO: result: $result" >&5
7301 echo "${ECHO_T}$result" >&6; }
7302
7303
7304 enablestring=
7305 defaultval=$wxUSE_ALL_FEATURES
7306 if test -z "$defaultval"; then
7307 if test x"$enablestring" = xdisable; then
7308 defaultval=yes
7309 else
7310 defaultval=no
7311 fi
7312 fi
7313
7314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7316 # Check whether --enable-mimetype was given.
7317 if test "${enable_mimetype+set}" = set; then
7318 enableval=$enable_mimetype;
7319 if test "$enableval" = yes; then
7320 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7321 else
7322 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7323 fi
7324
7325 else
7326
7327 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7328
7329 fi
7330
7331
7332 eval "$wx_cv_use_mimetype"
7333
7334 if test x"$enablestring" = xdisable; then
7335 if test $wxUSE_MIMETYPE = yes; then
7336 result=no
7337 else
7338 result=yes
7339 fi
7340 else
7341 result=$wxUSE_MIMETYPE
7342 fi
7343
7344 { echo "$as_me:$LINENO: result: $result" >&5
7345 echo "${ECHO_T}$result" >&6; }
7346
7347
7348 enablestring=
7349 defaultval=$wxUSE_ALL_FEATURES
7350 if test -z "$defaultval"; then
7351 if test x"$enablestring" = xdisable; then
7352 defaultval=yes
7353 else
7354 defaultval=no
7355 fi
7356 fi
7357
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7360 # Check whether --enable-printfposparam was given.
7361 if test "${enable_printfposparam+set}" = set; then
7362 enableval=$enable_printfposparam;
7363 if test "$enableval" = yes; then
7364 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7365 else
7366 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7367 fi
7368
7369 else
7370
7371 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7372
7373 fi
7374
7375
7376 eval "$wx_cv_use_printfposparam"
7377
7378 if test x"$enablestring" = xdisable; then
7379 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7380 result=no
7381 else
7382 result=yes
7383 fi
7384 else
7385 result=$wxUSE_PRINTF_POS_PARAMS
7386 fi
7387
7388 { echo "$as_me:$LINENO: result: $result" >&5
7389 echo "${ECHO_T}$result" >&6; }
7390
7391
7392 enablestring=
7393 defaultval=$wxUSE_ALL_FEATURES
7394 if test -z "$defaultval"; then
7395 if test x"$enablestring" = xdisable; then
7396 defaultval=yes
7397 else
7398 defaultval=no
7399 fi
7400 fi
7401
7402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7404 # Check whether --enable-snglinst was given.
7405 if test "${enable_snglinst+set}" = set; then
7406 enableval=$enable_snglinst;
7407 if test "$enableval" = yes; then
7408 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7409 else
7410 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7411 fi
7412
7413 else
7414
7415 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7416
7417 fi
7418
7419
7420 eval "$wx_cv_use_snglinst"
7421
7422 if test x"$enablestring" = xdisable; then
7423 if test $wxUSE_SNGLINST_CHECKER = yes; then
7424 result=no
7425 else
7426 result=yes
7427 fi
7428 else
7429 result=$wxUSE_SNGLINST_CHECKER
7430 fi
7431
7432 { echo "$as_me:$LINENO: result: $result" >&5
7433 echo "${ECHO_T}$result" >&6; }
7434
7435
7436 enablestring=
7437 defaultval=$wxUSE_ALL_FEATURES
7438 if test -z "$defaultval"; then
7439 if test x"$enablestring" = xdisable; then
7440 defaultval=yes
7441 else
7442 defaultval=no
7443 fi
7444 fi
7445
7446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7447 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7448 # Check whether --enable-sound was given.
7449 if test "${enable_sound+set}" = set; then
7450 enableval=$enable_sound;
7451 if test "$enableval" = yes; then
7452 wx_cv_use_sound='wxUSE_SOUND=yes'
7453 else
7454 wx_cv_use_sound='wxUSE_SOUND=no'
7455 fi
7456
7457 else
7458
7459 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7460
7461 fi
7462
7463
7464 eval "$wx_cv_use_sound"
7465
7466 if test x"$enablestring" = xdisable; then
7467 if test $wxUSE_SOUND = yes; then
7468 result=no
7469 else
7470 result=yes
7471 fi
7472 else
7473 result=$wxUSE_SOUND
7474 fi
7475
7476 { echo "$as_me:$LINENO: result: $result" >&5
7477 echo "${ECHO_T}$result" >&6; }
7478
7479
7480 enablestring=
7481 defaultval=$wxUSE_ALL_FEATURES
7482 if test -z "$defaultval"; then
7483 if test x"$enablestring" = xdisable; then
7484 defaultval=yes
7485 else
7486 defaultval=no
7487 fi
7488 fi
7489
7490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7491 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7492 # Check whether --enable-stdpaths was given.
7493 if test "${enable_stdpaths+set}" = set; then
7494 enableval=$enable_stdpaths;
7495 if test "$enableval" = yes; then
7496 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7497 else
7498 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7499 fi
7500
7501 else
7502
7503 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7504
7505 fi
7506
7507
7508 eval "$wx_cv_use_stdpaths"
7509
7510 if test x"$enablestring" = xdisable; then
7511 if test $wxUSE_STDPATHS = yes; then
7512 result=no
7513 else
7514 result=yes
7515 fi
7516 else
7517 result=$wxUSE_STDPATHS
7518 fi
7519
7520 { echo "$as_me:$LINENO: result: $result" >&5
7521 echo "${ECHO_T}$result" >&6; }
7522
7523
7524 enablestring=
7525 defaultval=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x"$enablestring" = xdisable; then
7528 defaultval=yes
7529 else
7530 defaultval=no
7531 fi
7532 fi
7533
7534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7536 # Check whether --enable-stopwatch was given.
7537 if test "${enable_stopwatch+set}" = set; then
7538 enableval=$enable_stopwatch;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7541 else
7542 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7543 fi
7544
7545 else
7546
7547 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7548
7549 fi
7550
7551
7552 eval "$wx_cv_use_stopwatch"
7553
7554 if test x"$enablestring" = xdisable; then
7555 if test $wxUSE_STOPWATCH = yes; then
7556 result=no
7557 else
7558 result=yes
7559 fi
7560 else
7561 result=$wxUSE_STOPWATCH
7562 fi
7563
7564 { echo "$as_me:$LINENO: result: $result" >&5
7565 echo "${ECHO_T}$result" >&6; }
7566
7567
7568 enablestring=
7569 defaultval=$wxUSE_ALL_FEATURES
7570 if test -z "$defaultval"; then
7571 if test x"$enablestring" = xdisable; then
7572 defaultval=yes
7573 else
7574 defaultval=no
7575 fi
7576 fi
7577
7578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7580 # Check whether --enable-streams was given.
7581 if test "${enable_streams+set}" = set; then
7582 enableval=$enable_streams;
7583 if test "$enableval" = yes; then
7584 wx_cv_use_streams='wxUSE_STREAMS=yes'
7585 else
7586 wx_cv_use_streams='wxUSE_STREAMS=no'
7587 fi
7588
7589 else
7590
7591 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7592
7593 fi
7594
7595
7596 eval "$wx_cv_use_streams"
7597
7598 if test x"$enablestring" = xdisable; then
7599 if test $wxUSE_STREAMS = yes; then
7600 result=no
7601 else
7602 result=yes
7603 fi
7604 else
7605 result=$wxUSE_STREAMS
7606 fi
7607
7608 { echo "$as_me:$LINENO: result: $result" >&5
7609 echo "${ECHO_T}$result" >&6; }
7610
7611
7612 enablestring=
7613 defaultval=$wxUSE_ALL_FEATURES
7614 if test -z "$defaultval"; then
7615 if test x"$enablestring" = xdisable; then
7616 defaultval=yes
7617 else
7618 defaultval=no
7619 fi
7620 fi
7621
7622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7624 # Check whether --enable-system_options was given.
7625 if test "${enable_system_options+set}" = set; then
7626 enableval=$enable_system_options;
7627 if test "$enableval" = yes; then
7628 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7629 else
7630 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7631 fi
7632
7633 else
7634
7635 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7636
7637 fi
7638
7639
7640 eval "$wx_cv_use_system_options"
7641
7642 if test x"$enablestring" = xdisable; then
7643 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7644 result=no
7645 else
7646 result=yes
7647 fi
7648 else
7649 result=$wxUSE_SYSTEM_OPTIONS
7650 fi
7651
7652 { echo "$as_me:$LINENO: result: $result" >&5
7653 echo "${ECHO_T}$result" >&6; }
7654
7655
7656 enablestring=
7657 defaultval=$wxUSE_ALL_FEATURES
7658 if test -z "$defaultval"; then
7659 if test x"$enablestring" = xdisable; then
7660 defaultval=yes
7661 else
7662 defaultval=no
7663 fi
7664 fi
7665
7666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7668 # Check whether --enable-tarstream was given.
7669 if test "${enable_tarstream+set}" = set; then
7670 enableval=$enable_tarstream;
7671 if test "$enableval" = yes; then
7672 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7673 else
7674 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7675 fi
7676
7677 else
7678
7679 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7680
7681 fi
7682
7683
7684 eval "$wx_cv_use_tarstream"
7685
7686 if test x"$enablestring" = xdisable; then
7687 if test $wxUSE_TARSTREAM = yes; then
7688 result=no
7689 else
7690 result=yes
7691 fi
7692 else
7693 result=$wxUSE_TARSTREAM
7694 fi
7695
7696 { echo "$as_me:$LINENO: result: $result" >&5
7697 echo "${ECHO_T}$result" >&6; }
7698
7699
7700 enablestring=
7701 defaultval=$wxUSE_ALL_FEATURES
7702 if test -z "$defaultval"; then
7703 if test x"$enablestring" = xdisable; then
7704 defaultval=yes
7705 else
7706 defaultval=no
7707 fi
7708 fi
7709
7710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7712 # Check whether --enable-textbuf was given.
7713 if test "${enable_textbuf+set}" = set; then
7714 enableval=$enable_textbuf;
7715 if test "$enableval" = yes; then
7716 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7717 else
7718 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7719 fi
7720
7721 else
7722
7723 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7724
7725 fi
7726
7727
7728 eval "$wx_cv_use_textbuf"
7729
7730 if test x"$enablestring" = xdisable; then
7731 if test $wxUSE_TEXTBUFFER = yes; then
7732 result=no
7733 else
7734 result=yes
7735 fi
7736 else
7737 result=$wxUSE_TEXTBUFFER
7738 fi
7739
7740 { echo "$as_me:$LINENO: result: $result" >&5
7741 echo "${ECHO_T}$result" >&6; }
7742
7743
7744 enablestring=
7745 defaultval=$wxUSE_ALL_FEATURES
7746 if test -z "$defaultval"; then
7747 if test x"$enablestring" = xdisable; then
7748 defaultval=yes
7749 else
7750 defaultval=no
7751 fi
7752 fi
7753
7754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7756 # Check whether --enable-textfile was given.
7757 if test "${enable_textfile+set}" = set; then
7758 enableval=$enable_textfile;
7759 if test "$enableval" = yes; then
7760 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7761 else
7762 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7763 fi
7764
7765 else
7766
7767 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7768
7769 fi
7770
7771
7772 eval "$wx_cv_use_textfile"
7773
7774 if test x"$enablestring" = xdisable; then
7775 if test $wxUSE_TEXTFILE = yes; then
7776 result=no
7777 else
7778 result=yes
7779 fi
7780 else
7781 result=$wxUSE_TEXTFILE
7782 fi
7783
7784 { echo "$as_me:$LINENO: result: $result" >&5
7785 echo "${ECHO_T}$result" >&6; }
7786
7787
7788 enablestring=
7789 defaultval=$wxUSE_ALL_FEATURES
7790 if test -z "$defaultval"; then
7791 if test x"$enablestring" = xdisable; then
7792 defaultval=yes
7793 else
7794 defaultval=no
7795 fi
7796 fi
7797
7798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7799 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7800 # Check whether --enable-timer was given.
7801 if test "${enable_timer+set}" = set; then
7802 enableval=$enable_timer;
7803 if test "$enableval" = yes; then
7804 wx_cv_use_timer='wxUSE_TIMER=yes'
7805 else
7806 wx_cv_use_timer='wxUSE_TIMER=no'
7807 fi
7808
7809 else
7810
7811 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7812
7813 fi
7814
7815
7816 eval "$wx_cv_use_timer"
7817
7818 if test x"$enablestring" = xdisable; then
7819 if test $wxUSE_TIMER = yes; then
7820 result=no
7821 else
7822 result=yes
7823 fi
7824 else
7825 result=$wxUSE_TIMER
7826 fi
7827
7828 { echo "$as_me:$LINENO: result: $result" >&5
7829 echo "${ECHO_T}$result" >&6; }
7830
7831
7832 enablestring=
7833 defaultval=$wxUSE_ALL_FEATURES
7834 if test -z "$defaultval"; then
7835 if test x"$enablestring" = xdisable; then
7836 defaultval=yes
7837 else
7838 defaultval=no
7839 fi
7840 fi
7841
7842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7843 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7844 # Check whether --enable-variant was given.
7845 if test "${enable_variant+set}" = set; then
7846 enableval=$enable_variant;
7847 if test "$enableval" = yes; then
7848 wx_cv_use_variant='wxUSE_VARIANT=yes'
7849 else
7850 wx_cv_use_variant='wxUSE_VARIANT=no'
7851 fi
7852
7853 else
7854
7855 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7856
7857 fi
7858
7859
7860 eval "$wx_cv_use_variant"
7861
7862 if test x"$enablestring" = xdisable; then
7863 if test $wxUSE_VARIANT = yes; then
7864 result=no
7865 else
7866 result=yes
7867 fi
7868 else
7869 result=$wxUSE_VARIANT
7870 fi
7871
7872 { echo "$as_me:$LINENO: result: $result" >&5
7873 echo "${ECHO_T}$result" >&6; }
7874
7875
7876 enablestring=
7877 defaultval=$wxUSE_ALL_FEATURES
7878 if test -z "$defaultval"; then
7879 if test x"$enablestring" = xdisable; then
7880 defaultval=yes
7881 else
7882 defaultval=no
7883 fi
7884 fi
7885
7886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7887 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7888 # Check whether --enable-zipstream was given.
7889 if test "${enable_zipstream+set}" = set; then
7890 enableval=$enable_zipstream;
7891 if test "$enableval" = yes; then
7892 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7893 else
7894 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7895 fi
7896
7897 else
7898
7899 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7900
7901 fi
7902
7903
7904 eval "$wx_cv_use_zipstream"
7905
7906 if test x"$enablestring" = xdisable; then
7907 if test $wxUSE_ZIPSTREAM = yes; then
7908 result=no
7909 else
7910 result=yes
7911 fi
7912 else
7913 result=$wxUSE_ZIPSTREAM
7914 fi
7915
7916 { echo "$as_me:$LINENO: result: $result" >&5
7917 echo "${ECHO_T}$result" >&6; }
7918
7919
7920
7921 enablestring=
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7925 defaultval=yes
7926 else
7927 defaultval=no
7928 fi
7929 fi
7930
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7933 # Check whether --enable-url was given.
7934 if test "${enable_url+set}" = set; then
7935 enableval=$enable_url;
7936 if test "$enableval" = yes; then
7937 wx_cv_use_url='wxUSE_URL=yes'
7938 else
7939 wx_cv_use_url='wxUSE_URL=no'
7940 fi
7941
7942 else
7943
7944 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7945
7946 fi
7947
7948
7949 eval "$wx_cv_use_url"
7950
7951 if test x"$enablestring" = xdisable; then
7952 if test $wxUSE_URL = yes; then
7953 result=no
7954 else
7955 result=yes
7956 fi
7957 else
7958 result=$wxUSE_URL
7959 fi
7960
7961 { echo "$as_me:$LINENO: result: $result" >&5
7962 echo "${ECHO_T}$result" >&6; }
7963
7964
7965 enablestring=
7966 defaultval=$wxUSE_ALL_FEATURES
7967 if test -z "$defaultval"; then
7968 if test x"$enablestring" = xdisable; then
7969 defaultval=yes
7970 else
7971 defaultval=no
7972 fi
7973 fi
7974
7975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7977 # Check whether --enable-protocol was given.
7978 if test "${enable_protocol+set}" = set; then
7979 enableval=$enable_protocol;
7980 if test "$enableval" = yes; then
7981 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7982 else
7983 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7984 fi
7985
7986 else
7987
7988 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7989
7990 fi
7991
7992
7993 eval "$wx_cv_use_protocol"
7994
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_PROTOCOL = yes; then
7997 result=no
7998 else
7999 result=yes
8000 fi
8001 else
8002 result=$wxUSE_PROTOCOL
8003 fi
8004
8005 { echo "$as_me:$LINENO: result: $result" >&5
8006 echo "${ECHO_T}$result" >&6; }
8007
8008
8009 enablestring=
8010 defaultval=$wxUSE_ALL_FEATURES
8011 if test -z "$defaultval"; then
8012 if test x"$enablestring" = xdisable; then
8013 defaultval=yes
8014 else
8015 defaultval=no
8016 fi
8017 fi
8018
8019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8021 # Check whether --enable-protocol_http was given.
8022 if test "${enable_protocol_http+set}" = set; then
8023 enableval=$enable_protocol_http;
8024 if test "$enableval" = yes; then
8025 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8026 else
8027 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8028 fi
8029
8030 else
8031
8032 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8033
8034 fi
8035
8036
8037 eval "$wx_cv_use_protocol_http"
8038
8039 if test x"$enablestring" = xdisable; then
8040 if test $wxUSE_PROTOCOL_HTTP = yes; then
8041 result=no
8042 else
8043 result=yes
8044 fi
8045 else
8046 result=$wxUSE_PROTOCOL_HTTP
8047 fi
8048
8049 { echo "$as_me:$LINENO: result: $result" >&5
8050 echo "${ECHO_T}$result" >&6; }
8051
8052
8053 enablestring=
8054 defaultval=$wxUSE_ALL_FEATURES
8055 if test -z "$defaultval"; then
8056 if test x"$enablestring" = xdisable; then
8057 defaultval=yes
8058 else
8059 defaultval=no
8060 fi
8061 fi
8062
8063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8064 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8065 # Check whether --enable-protocol_ftp was given.
8066 if test "${enable_protocol_ftp+set}" = set; then
8067 enableval=$enable_protocol_ftp;
8068 if test "$enableval" = yes; then
8069 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8070 else
8071 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8072 fi
8073
8074 else
8075
8076 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8077
8078 fi
8079
8080
8081 eval "$wx_cv_use_protocol_ftp"
8082
8083 if test x"$enablestring" = xdisable; then
8084 if test $wxUSE_PROTOCOL_FTP = yes; then
8085 result=no
8086 else
8087 result=yes
8088 fi
8089 else
8090 result=$wxUSE_PROTOCOL_FTP
8091 fi
8092
8093 { echo "$as_me:$LINENO: result: $result" >&5
8094 echo "${ECHO_T}$result" >&6; }
8095
8096
8097 enablestring=
8098 defaultval=$wxUSE_ALL_FEATURES
8099 if test -z "$defaultval"; then
8100 if test x"$enablestring" = xdisable; then
8101 defaultval=yes
8102 else
8103 defaultval=no
8104 fi
8105 fi
8106
8107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8108 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8109 # Check whether --enable-protocol_file was given.
8110 if test "${enable_protocol_file+set}" = set; then
8111 enableval=$enable_protocol_file;
8112 if test "$enableval" = yes; then
8113 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8114 else
8115 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8116 fi
8117
8118 else
8119
8120 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8121
8122 fi
8123
8124
8125 eval "$wx_cv_use_protocol_file"
8126
8127 if test x"$enablestring" = xdisable; then
8128 if test $wxUSE_PROTOCOL_FILE = yes; then
8129 result=no
8130 else
8131 result=yes
8132 fi
8133 else
8134 result=$wxUSE_PROTOCOL_FILE
8135 fi
8136
8137 { echo "$as_me:$LINENO: result: $result" >&5
8138 echo "${ECHO_T}$result" >&6; }
8139
8140
8141
8142 enablestring=
8143 defaultval=$wxUSE_ALL_FEATURES
8144 if test -z "$defaultval"; then
8145 if test x"$enablestring" = xdisable; then
8146 defaultval=yes
8147 else
8148 defaultval=no
8149 fi
8150 fi
8151
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8154 # Check whether --enable-threads was given.
8155 if test "${enable_threads+set}" = set; then
8156 enableval=$enable_threads;
8157 if test "$enableval" = yes; then
8158 wx_cv_use_threads='wxUSE_THREADS=yes'
8159 else
8160 wx_cv_use_threads='wxUSE_THREADS=no'
8161 fi
8162
8163 else
8164
8165 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8166
8167 fi
8168
8169
8170 eval "$wx_cv_use_threads"
8171
8172 if test x"$enablestring" = xdisable; then
8173 if test $wxUSE_THREADS = yes; then
8174 result=no
8175 else
8176 result=yes
8177 fi
8178 else
8179 result=$wxUSE_THREADS
8180 fi
8181
8182 { echo "$as_me:$LINENO: result: $result" >&5
8183 echo "${ECHO_T}$result" >&6; }
8184
8185
8186
8187 enablestring=
8188 defaultval=
8189 if test -z "$defaultval"; then
8190 if test x"$enablestring" = xdisable; then
8191 defaultval=yes
8192 else
8193 defaultval=no
8194 fi
8195 fi
8196
8197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8199 # Check whether --enable-iniconf was given.
8200 if test "${enable_iniconf+set}" = set; then
8201 enableval=$enable_iniconf;
8202 if test "$enableval" = yes; then
8203 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8204 else
8205 wx_cv_use_iniconf='wxUSE_INICONF=no'
8206 fi
8207
8208 else
8209
8210 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8211
8212 fi
8213
8214
8215 eval "$wx_cv_use_iniconf"
8216
8217 if test x"$enablestring" = xdisable; then
8218 if test $wxUSE_INICONF = yes; then
8219 result=no
8220 else
8221 result=yes
8222 fi
8223 else
8224 result=$wxUSE_INICONF
8225 fi
8226
8227 { echo "$as_me:$LINENO: result: $result" >&5
8228 echo "${ECHO_T}$result" >&6; }
8229
8230
8231 enablestring=
8232 defaultval=$wxUSE_ALL_FEATURES
8233 if test -z "$defaultval"; then
8234 if test x"$enablestring" = xdisable; then
8235 defaultval=yes
8236 else
8237 defaultval=no
8238 fi
8239 fi
8240
8241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8243 # Check whether --enable-regkey was given.
8244 if test "${enable_regkey+set}" = set; then
8245 enableval=$enable_regkey;
8246 if test "$enableval" = yes; then
8247 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8248 else
8249 wx_cv_use_regkey='wxUSE_REGKEY=no'
8250 fi
8251
8252 else
8253
8254 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8255
8256 fi
8257
8258
8259 eval "$wx_cv_use_regkey"
8260
8261 if test x"$enablestring" = xdisable; then
8262 if test $wxUSE_REGKEY = yes; then
8263 result=no
8264 else
8265 result=yes
8266 fi
8267 else
8268 result=$wxUSE_REGKEY
8269 fi
8270
8271 { echo "$as_me:$LINENO: result: $result" >&5
8272 echo "${ECHO_T}$result" >&6; }
8273
8274
8275 if test "$wxUSE_GUI" = "yes"; then
8276
8277
8278
8279 enablestring=
8280 defaultval=$wxUSE_ALL_FEATURES
8281 if test -z "$defaultval"; then
8282 if test x"$enablestring" = xdisable; then
8283 defaultval=yes
8284 else
8285 defaultval=no
8286 fi
8287 fi
8288
8289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8290 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8291 # Check whether --enable-docview was given.
8292 if test "${enable_docview+set}" = set; then
8293 enableval=$enable_docview;
8294 if test "$enableval" = yes; then
8295 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8296 else
8297 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8298 fi
8299
8300 else
8301
8302 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8303
8304 fi
8305
8306
8307 eval "$wx_cv_use_docview"
8308
8309 if test x"$enablestring" = xdisable; then
8310 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8311 result=no
8312 else
8313 result=yes
8314 fi
8315 else
8316 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8317 fi
8318
8319 { echo "$as_me:$LINENO: result: $result" >&5
8320 echo "${ECHO_T}$result" >&6; }
8321
8322
8323 enablestring=
8324 defaultval=$wxUSE_ALL_FEATURES
8325 if test -z "$defaultval"; then
8326 if test x"$enablestring" = xdisable; then
8327 defaultval=yes
8328 else
8329 defaultval=no
8330 fi
8331 fi
8332
8333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8334 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8335 # Check whether --enable-help was given.
8336 if test "${enable_help+set}" = set; then
8337 enableval=$enable_help;
8338 if test "$enableval" = yes; then
8339 wx_cv_use_help='wxUSE_HELP=yes'
8340 else
8341 wx_cv_use_help='wxUSE_HELP=no'
8342 fi
8343
8344 else
8345
8346 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8347
8348 fi
8349
8350
8351 eval "$wx_cv_use_help"
8352
8353 if test x"$enablestring" = xdisable; then
8354 if test $wxUSE_HELP = yes; then
8355 result=no
8356 else
8357 result=yes
8358 fi
8359 else
8360 result=$wxUSE_HELP
8361 fi
8362
8363 { echo "$as_me:$LINENO: result: $result" >&5
8364 echo "${ECHO_T}$result" >&6; }
8365
8366
8367 enablestring=
8368 defaultval=$wxUSE_ALL_FEATURES
8369 if test -z "$defaultval"; then
8370 if test x"$enablestring" = xdisable; then
8371 defaultval=yes
8372 else
8373 defaultval=no
8374 fi
8375 fi
8376
8377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8378 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8379 # Check whether --enable-mshtmlhelp was given.
8380 if test "${enable_mshtmlhelp+set}" = set; then
8381 enableval=$enable_mshtmlhelp;
8382 if test "$enableval" = yes; then
8383 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8384 else
8385 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8386 fi
8387
8388 else
8389
8390 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8391
8392 fi
8393
8394
8395 eval "$wx_cv_use_mshtmlhelp"
8396
8397 if test x"$enablestring" = xdisable; then
8398 if test $wxUSE_MS_HTML_HELP = yes; then
8399 result=no
8400 else
8401 result=yes
8402 fi
8403 else
8404 result=$wxUSE_MS_HTML_HELP
8405 fi
8406
8407 { echo "$as_me:$LINENO: result: $result" >&5
8408 echo "${ECHO_T}$result" >&6; }
8409
8410
8411 enablestring=
8412 defaultval=$wxUSE_ALL_FEATURES
8413 if test -z "$defaultval"; then
8414 if test x"$enablestring" = xdisable; then
8415 defaultval=yes
8416 else
8417 defaultval=no
8418 fi
8419 fi
8420
8421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8423 # Check whether --enable-html was given.
8424 if test "${enable_html+set}" = set; then
8425 enableval=$enable_html;
8426 if test "$enableval" = yes; then
8427 wx_cv_use_html='wxUSE_HTML=yes'
8428 else
8429 wx_cv_use_html='wxUSE_HTML=no'
8430 fi
8431
8432 else
8433
8434 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8435
8436 fi
8437
8438
8439 eval "$wx_cv_use_html"
8440
8441 if test x"$enablestring" = xdisable; then
8442 if test $wxUSE_HTML = yes; then
8443 result=no
8444 else
8445 result=yes
8446 fi
8447 else
8448 result=$wxUSE_HTML
8449 fi
8450
8451 { echo "$as_me:$LINENO: result: $result" >&5
8452 echo "${ECHO_T}$result" >&6; }
8453
8454
8455 enablestring=
8456 defaultval=$wxUSE_ALL_FEATURES
8457 if test -z "$defaultval"; then
8458 if test x"$enablestring" = xdisable; then
8459 defaultval=yes
8460 else
8461 defaultval=no
8462 fi
8463 fi
8464
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8467 # Check whether --enable-htmlhelp was given.
8468 if test "${enable_htmlhelp+set}" = set; then
8469 enableval=$enable_htmlhelp;
8470 if test "$enableval" = yes; then
8471 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8472 else
8473 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8474 fi
8475
8476 else
8477
8478 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8479
8480 fi
8481
8482
8483 eval "$wx_cv_use_htmlhelp"
8484
8485 if test x"$enablestring" = xdisable; then
8486 if test $wxUSE_WXHTML_HELP = yes; then
8487 result=no
8488 else
8489 result=yes
8490 fi
8491 else
8492 result=$wxUSE_WXHTML_HELP
8493 fi
8494
8495 { echo "$as_me:$LINENO: result: $result" >&5
8496 echo "${ECHO_T}$result" >&6; }
8497
8498
8499 enablestring=
8500 defaultval=$wxUSE_ALL_FEATURES
8501 if test -z "$defaultval"; then
8502 if test x"$enablestring" = xdisable; then
8503 defaultval=yes
8504 else
8505 defaultval=no
8506 fi
8507 fi
8508
8509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8511 # Check whether --enable-xrc was given.
8512 if test "${enable_xrc+set}" = set; then
8513 enableval=$enable_xrc;
8514 if test "$enableval" = yes; then
8515 wx_cv_use_xrc='wxUSE_XRC=yes'
8516 else
8517 wx_cv_use_xrc='wxUSE_XRC=no'
8518 fi
8519
8520 else
8521
8522 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8523
8524 fi
8525
8526
8527 eval "$wx_cv_use_xrc"
8528
8529 if test x"$enablestring" = xdisable; then
8530 if test $wxUSE_XRC = yes; then
8531 result=no
8532 else
8533 result=yes
8534 fi
8535 else
8536 result=$wxUSE_XRC
8537 fi
8538
8539 { echo "$as_me:$LINENO: result: $result" >&5
8540 echo "${ECHO_T}$result" >&6; }
8541
8542
8543 enablestring=
8544 defaultval=$wxUSE_ALL_FEATURES
8545 if test -z "$defaultval"; then
8546 if test x"$enablestring" = xdisable; then
8547 defaultval=yes
8548 else
8549 defaultval=no
8550 fi
8551 fi
8552
8553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8555 # Check whether --enable-aui was given.
8556 if test "${enable_aui+set}" = set; then
8557 enableval=$enable_aui;
8558 if test "$enableval" = yes; then
8559 wx_cv_use_aui='wxUSE_AUI=yes'
8560 else
8561 wx_cv_use_aui='wxUSE_AUI=no'
8562 fi
8563
8564 else
8565
8566 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8567
8568 fi
8569
8570
8571 eval "$wx_cv_use_aui"
8572
8573 if test x"$enablestring" = xdisable; then
8574 if test $wxUSE_AUI = yes; then
8575 result=no
8576 else
8577 result=yes
8578 fi
8579 else
8580 result=$wxUSE_AUI
8581 fi
8582
8583 { echo "$as_me:$LINENO: result: $result" >&5
8584 echo "${ECHO_T}$result" >&6; }
8585
8586
8587 enablestring=
8588 defaultval=$wxUSE_ALL_FEATURES
8589 if test -z "$defaultval"; then
8590 if test x"$enablestring" = xdisable; then
8591 defaultval=yes
8592 else
8593 defaultval=no
8594 fi
8595 fi
8596
8597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8599 # Check whether --enable-propgrid was given.
8600 if test "${enable_propgrid+set}" = set; then
8601 enableval=$enable_propgrid;
8602 if test "$enableval" = yes; then
8603 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8604 else
8605 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8606 fi
8607
8608 else
8609
8610 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8611
8612 fi
8613
8614
8615 eval "$wx_cv_use_propgrid"
8616
8617 if test x"$enablestring" = xdisable; then
8618 if test $wxUSE_PROPGRID = yes; then
8619 result=no
8620 else
8621 result=yes
8622 fi
8623 else
8624 result=$wxUSE_PROPGRID
8625 fi
8626
8627 { echo "$as_me:$LINENO: result: $result" >&5
8628 echo "${ECHO_T}$result" >&6; }
8629
8630
8631 enablestring=
8632 defaultval=$wxUSE_ALL_FEATURES
8633 if test -z "$defaultval"; then
8634 if test x"$enablestring" = xdisable; then
8635 defaultval=yes
8636 else
8637 defaultval=no
8638 fi
8639 fi
8640
8641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8642 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8643 # Check whether --enable-stc was given.
8644 if test "${enable_stc+set}" = set; then
8645 enableval=$enable_stc;
8646 if test "$enableval" = yes; then
8647 wx_cv_use_stc='wxUSE_STC=yes'
8648 else
8649 wx_cv_use_stc='wxUSE_STC=no'
8650 fi
8651
8652 else
8653
8654 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8655
8656 fi
8657
8658
8659 eval "$wx_cv_use_stc"
8660
8661 if test x"$enablestring" = xdisable; then
8662 if test $wxUSE_STC = yes; then
8663 result=no
8664 else
8665 result=yes
8666 fi
8667 else
8668 result=$wxUSE_STC
8669 fi
8670
8671 { echo "$as_me:$LINENO: result: $result" >&5
8672 echo "${ECHO_T}$result" >&6; }
8673
8674
8675 enablestring=
8676 defaultval=$wxUSE_ALL_FEATURES
8677 if test -z "$defaultval"; then
8678 if test x"$enablestring" = xdisable; then
8679 defaultval=yes
8680 else
8681 defaultval=no
8682 fi
8683 fi
8684
8685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8687 # Check whether --enable-constraints was given.
8688 if test "${enable_constraints+set}" = set; then
8689 enableval=$enable_constraints;
8690 if test "$enableval" = yes; then
8691 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8692 else
8693 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8694 fi
8695
8696 else
8697
8698 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8699
8700 fi
8701
8702
8703 eval "$wx_cv_use_constraints"
8704
8705 if test x"$enablestring" = xdisable; then
8706 if test $wxUSE_CONSTRAINTS = yes; then
8707 result=no
8708 else
8709 result=yes
8710 fi
8711 else
8712 result=$wxUSE_CONSTRAINTS
8713 fi
8714
8715 { echo "$as_me:$LINENO: result: $result" >&5
8716 echo "${ECHO_T}$result" >&6; }
8717
8718
8719 enablestring=
8720 defaultval=$wxUSE_ALL_FEATURES
8721 if test -z "$defaultval"; then
8722 if test x"$enablestring" = xdisable; then
8723 defaultval=yes
8724 else
8725 defaultval=no
8726 fi
8727 fi
8728
8729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8730 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8731 # Check whether --enable-loggui was given.
8732 if test "${enable_loggui+set}" = set; then
8733 enableval=$enable_loggui;
8734 if test "$enableval" = yes; then
8735 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8736 else
8737 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8738 fi
8739
8740 else
8741
8742 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8743
8744 fi
8745
8746
8747 eval "$wx_cv_use_loggui"
8748
8749 if test x"$enablestring" = xdisable; then
8750 if test $wxUSE_LOGGUI = yes; then
8751 result=no
8752 else
8753 result=yes
8754 fi
8755 else
8756 result=$wxUSE_LOGGUI
8757 fi
8758
8759 { echo "$as_me:$LINENO: result: $result" >&5
8760 echo "${ECHO_T}$result" >&6; }
8761
8762
8763 enablestring=
8764 defaultval=$wxUSE_ALL_FEATURES
8765 if test -z "$defaultval"; then
8766 if test x"$enablestring" = xdisable; then
8767 defaultval=yes
8768 else
8769 defaultval=no
8770 fi
8771 fi
8772
8773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8775 # Check whether --enable-logwin was given.
8776 if test "${enable_logwin+set}" = set; then
8777 enableval=$enable_logwin;
8778 if test "$enableval" = yes; then
8779 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8780 else
8781 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8782 fi
8783
8784 else
8785
8786 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8787
8788 fi
8789
8790
8791 eval "$wx_cv_use_logwin"
8792
8793 if test x"$enablestring" = xdisable; then
8794 if test $wxUSE_LOGWINDOW = yes; then
8795 result=no
8796 else
8797 result=yes
8798 fi
8799 else
8800 result=$wxUSE_LOGWINDOW
8801 fi
8802
8803 { echo "$as_me:$LINENO: result: $result" >&5
8804 echo "${ECHO_T}$result" >&6; }
8805
8806
8807 enablestring=
8808 defaultval=$wxUSE_ALL_FEATURES
8809 if test -z "$defaultval"; then
8810 if test x"$enablestring" = xdisable; then
8811 defaultval=yes
8812 else
8813 defaultval=no
8814 fi
8815 fi
8816
8817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8819 # Check whether --enable-logdialog was given.
8820 if test "${enable_logdialog+set}" = set; then
8821 enableval=$enable_logdialog;
8822 if test "$enableval" = yes; then
8823 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8824 else
8825 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8826 fi
8827
8828 else
8829
8830 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8831
8832 fi
8833
8834
8835 eval "$wx_cv_use_logdialog"
8836
8837 if test x"$enablestring" = xdisable; then
8838 if test $wxUSE_LOGDIALOG = yes; then
8839 result=no
8840 else
8841 result=yes
8842 fi
8843 else
8844 result=$wxUSE_LOGDIALOG
8845 fi
8846
8847 { echo "$as_me:$LINENO: result: $result" >&5
8848 echo "${ECHO_T}$result" >&6; }
8849
8850
8851 enablestring=
8852 defaultval=$wxUSE_ALL_FEATURES
8853 if test -z "$defaultval"; then
8854 if test x"$enablestring" = xdisable; then
8855 defaultval=yes
8856 else
8857 defaultval=no
8858 fi
8859 fi
8860
8861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8863 # Check whether --enable-mdi was given.
8864 if test "${enable_mdi+set}" = set; then
8865 enableval=$enable_mdi;
8866 if test "$enableval" = yes; then
8867 wx_cv_use_mdi='wxUSE_MDI=yes'
8868 else
8869 wx_cv_use_mdi='wxUSE_MDI=no'
8870 fi
8871
8872 else
8873
8874 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8875
8876 fi
8877
8878
8879 eval "$wx_cv_use_mdi"
8880
8881 if test x"$enablestring" = xdisable; then
8882 if test $wxUSE_MDI = yes; then
8883 result=no
8884 else
8885 result=yes
8886 fi
8887 else
8888 result=$wxUSE_MDI
8889 fi
8890
8891 { echo "$as_me:$LINENO: result: $result" >&5
8892 echo "${ECHO_T}$result" >&6; }
8893
8894
8895 enablestring=
8896 defaultval=$wxUSE_ALL_FEATURES
8897 if test -z "$defaultval"; then
8898 if test x"$enablestring" = xdisable; then
8899 defaultval=yes
8900 else
8901 defaultval=no
8902 fi
8903 fi
8904
8905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8906 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8907 # Check whether --enable-mdidoc was given.
8908 if test "${enable_mdidoc+set}" = set; then
8909 enableval=$enable_mdidoc;
8910 if test "$enableval" = yes; then
8911 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8912 else
8913 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8914 fi
8915
8916 else
8917
8918 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8919
8920 fi
8921
8922
8923 eval "$wx_cv_use_mdidoc"
8924
8925 if test x"$enablestring" = xdisable; then
8926 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8927 result=no
8928 else
8929 result=yes
8930 fi
8931 else
8932 result=$wxUSE_MDI_ARCHITECTURE
8933 fi
8934
8935 { echo "$as_me:$LINENO: result: $result" >&5
8936 echo "${ECHO_T}$result" >&6; }
8937
8938
8939 enablestring=
8940 defaultval=$wxUSE_ALL_FEATURES
8941 if test -z "$defaultval"; then
8942 if test x"$enablestring" = xdisable; then
8943 defaultval=yes
8944 else
8945 defaultval=no
8946 fi
8947 fi
8948
8949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8951 # Check whether --enable-mediactrl was given.
8952 if test "${enable_mediactrl+set}" = set; then
8953 enableval=$enable_mediactrl;
8954 if test "$enableval" = yes; then
8955 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8956 else
8957 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8958 fi
8959
8960 else
8961
8962 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8963
8964 fi
8965
8966
8967 eval "$wx_cv_use_mediactrl"
8968
8969 if test x"$enablestring" = xdisable; then
8970 if test $wxUSE_MEDIACTRL = yes; then
8971 result=no
8972 else
8973 result=yes
8974 fi
8975 else
8976 result=$wxUSE_MEDIACTRL
8977 fi
8978
8979 { echo "$as_me:$LINENO: result: $result" >&5
8980 echo "${ECHO_T}$result" >&6; }
8981
8982
8983 enablestring=
8984 defaultval=$wxUSE_ALL_FEATURES
8985 if test -z "$defaultval"; then
8986 if test x"$enablestring" = xdisable; then
8987 defaultval=yes
8988 else
8989 defaultval=no
8990 fi
8991 fi
8992
8993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8995 # Check whether --enable-gstreamer8 was given.
8996 if test "${enable_gstreamer8+set}" = set; then
8997 enableval=$enable_gstreamer8;
8998 if test "$enableval" = yes; then
8999 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9000 else
9001 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9002 fi
9003
9004 else
9005
9006 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9007
9008 fi
9009
9010
9011 eval "$wx_cv_use_gstreamer8"
9012
9013 if test x"$enablestring" = xdisable; then
9014 if test $wxUSE_GSTREAMER8 = yes; then
9015 result=no
9016 else
9017 result=yes
9018 fi
9019 else
9020 result=$wxUSE_GSTREAMER8
9021 fi
9022
9023 { echo "$as_me:$LINENO: result: $result" >&5
9024 echo "${ECHO_T}$result" >&6; }
9025
9026
9027 enablestring=
9028 defaultval=$wxUSE_ALL_FEATURES
9029 if test -z "$defaultval"; then
9030 if test x"$enablestring" = xdisable; then
9031 defaultval=yes
9032 else
9033 defaultval=no
9034 fi
9035 fi
9036
9037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9038 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9039 # Check whether --enable-webkit was given.
9040 if test "${enable_webkit+set}" = set; then
9041 enableval=$enable_webkit;
9042 if test "$enableval" = yes; then
9043 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9044 else
9045 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9046 fi
9047
9048 else
9049
9050 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9051
9052 fi
9053
9054
9055 eval "$wx_cv_use_webkit"
9056
9057 if test x"$enablestring" = xdisable; then
9058 if test $wxUSE_WEBKIT = yes; then
9059 result=no
9060 else
9061 result=yes
9062 fi
9063 else
9064 result=$wxUSE_WEBKIT
9065 fi
9066
9067 { echo "$as_me:$LINENO: result: $result" >&5
9068 echo "${ECHO_T}$result" >&6; }
9069
9070
9071 enablestring=
9072 defaultval=$wxUSE_ALL_FEATURES
9073 if test -z "$defaultval"; then
9074 if test x"$enablestring" = xdisable; then
9075 defaultval=yes
9076 else
9077 defaultval=no
9078 fi
9079 fi
9080
9081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9083 # Check whether --enable-richtext was given.
9084 if test "${enable_richtext+set}" = set; then
9085 enableval=$enable_richtext;
9086 if test "$enableval" = yes; then
9087 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9088 else
9089 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9090 fi
9091
9092 else
9093
9094 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9095
9096 fi
9097
9098
9099 eval "$wx_cv_use_richtext"
9100
9101 if test x"$enablestring" = xdisable; then
9102 if test $wxUSE_RICHTEXT = yes; then
9103 result=no
9104 else
9105 result=yes
9106 fi
9107 else
9108 result=$wxUSE_RICHTEXT
9109 fi
9110
9111 { echo "$as_me:$LINENO: result: $result" >&5
9112 echo "${ECHO_T}$result" >&6; }
9113
9114
9115 enablestring=
9116 defaultval=$wxUSE_ALL_FEATURES
9117 if test -z "$defaultval"; then
9118 if test x"$enablestring" = xdisable; then
9119 defaultval=yes
9120 else
9121 defaultval=no
9122 fi
9123 fi
9124
9125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9126 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9127 # Check whether --enable-graphics_ctx was given.
9128 if test "${enable_graphics_ctx+set}" = set; then
9129 enableval=$enable_graphics_ctx;
9130 if test "$enableval" = yes; then
9131 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9132 else
9133 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9134 fi
9135
9136 else
9137
9138 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9139
9140 fi
9141
9142
9143 eval "$wx_cv_use_graphics_ctx"
9144
9145 if test x"$enablestring" = xdisable; then
9146 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9147 result=no
9148 else
9149 result=yes
9150 fi
9151 else
9152 result=$wxUSE_GRAPHICS_CONTEXT
9153 fi
9154
9155 { echo "$as_me:$LINENO: result: $result" >&5
9156 echo "${ECHO_T}$result" >&6; }
9157
9158
9159 enablestring=
9160 defaultval=$wxUSE_ALL_FEATURES
9161 if test -z "$defaultval"; then
9162 if test x"$enablestring" = xdisable; then
9163 defaultval=yes
9164 else
9165 defaultval=no
9166 fi
9167 fi
9168
9169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9171 # Check whether --enable-postscript was given.
9172 if test "${enable_postscript+set}" = set; then
9173 enableval=$enable_postscript;
9174 if test "$enableval" = yes; then
9175 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9176 else
9177 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9178 fi
9179
9180 else
9181
9182 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9183
9184 fi
9185
9186
9187 eval "$wx_cv_use_postscript"
9188
9189 if test x"$enablestring" = xdisable; then
9190 if test $wxUSE_POSTSCRIPT = yes; then
9191 result=no
9192 else
9193 result=yes
9194 fi
9195 else
9196 result=$wxUSE_POSTSCRIPT
9197 fi
9198
9199 { echo "$as_me:$LINENO: result: $result" >&5
9200 echo "${ECHO_T}$result" >&6; }
9201
9202
9203 enablestring=
9204 defaultval=$wxUSE_ALL_FEATURES
9205 if test -z "$defaultval"; then
9206 if test x"$enablestring" = xdisable; then
9207 defaultval=yes
9208 else
9209 defaultval=no
9210 fi
9211 fi
9212
9213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9214 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9215 # Check whether --enable-printarch was given.
9216 if test "${enable_printarch+set}" = set; then
9217 enableval=$enable_printarch;
9218 if test "$enableval" = yes; then
9219 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9220 else
9221 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9222 fi
9223
9224 else
9225
9226 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9227
9228 fi
9229
9230
9231 eval "$wx_cv_use_printarch"
9232
9233 if test x"$enablestring" = xdisable; then
9234 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9235 result=no
9236 else
9237 result=yes
9238 fi
9239 else
9240 result=$wxUSE_PRINTING_ARCHITECTURE
9241 fi
9242
9243 { echo "$as_me:$LINENO: result: $result" >&5
9244 echo "${ECHO_T}$result" >&6; }
9245
9246
9247 enablestring=
9248 defaultval=$wxUSE_ALL_FEATURES
9249 if test -z "$defaultval"; then
9250 if test x"$enablestring" = xdisable; then
9251 defaultval=yes
9252 else
9253 defaultval=no
9254 fi
9255 fi
9256
9257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9259 # Check whether --enable-svg was given.
9260 if test "${enable_svg+set}" = set; then
9261 enableval=$enable_svg;
9262 if test "$enableval" = yes; then
9263 wx_cv_use_svg='wxUSE_SVG=yes'
9264 else
9265 wx_cv_use_svg='wxUSE_SVG=no'
9266 fi
9267
9268 else
9269
9270 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9271
9272 fi
9273
9274
9275 eval "$wx_cv_use_svg"
9276
9277 if test x"$enablestring" = xdisable; then
9278 if test $wxUSE_SVG = yes; then
9279 result=no
9280 else
9281 result=yes
9282 fi
9283 else
9284 result=$wxUSE_SVG
9285 fi
9286
9287 { echo "$as_me:$LINENO: result: $result" >&5
9288 echo "${ECHO_T}$result" >&6; }
9289
9290
9291
9292
9293 enablestring=
9294 defaultval=$wxUSE_ALL_FEATURES
9295 if test -z "$defaultval"; then
9296 if test x"$enablestring" = xdisable; then
9297 defaultval=yes
9298 else
9299 defaultval=no
9300 fi
9301 fi
9302
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9305 # Check whether --enable-clipboard was given.
9306 if test "${enable_clipboard+set}" = set; then
9307 enableval=$enable_clipboard;
9308 if test "$enableval" = yes; then
9309 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9310 else
9311 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9312 fi
9313
9314 else
9315
9316 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9317
9318 fi
9319
9320
9321 eval "$wx_cv_use_clipboard"
9322
9323 if test x"$enablestring" = xdisable; then
9324 if test $wxUSE_CLIPBOARD = yes; then
9325 result=no
9326 else
9327 result=yes
9328 fi
9329 else
9330 result=$wxUSE_CLIPBOARD
9331 fi
9332
9333 { echo "$as_me:$LINENO: result: $result" >&5
9334 echo "${ECHO_T}$result" >&6; }
9335
9336
9337 enablestring=
9338 defaultval=$wxUSE_ALL_FEATURES
9339 if test -z "$defaultval"; then
9340 if test x"$enablestring" = xdisable; then
9341 defaultval=yes
9342 else
9343 defaultval=no
9344 fi
9345 fi
9346
9347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9349 # Check whether --enable-dnd was given.
9350 if test "${enable_dnd+set}" = set; then
9351 enableval=$enable_dnd;
9352 if test "$enableval" = yes; then
9353 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9354 else
9355 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9356 fi
9357
9358 else
9359
9360 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9361
9362 fi
9363
9364
9365 eval "$wx_cv_use_dnd"
9366
9367 if test x"$enablestring" = xdisable; then
9368 if test $wxUSE_DRAG_AND_DROP = yes; then
9369 result=no
9370 else
9371 result=yes
9372 fi
9373 else
9374 result=$wxUSE_DRAG_AND_DROP
9375 fi
9376
9377 { echo "$as_me:$LINENO: result: $result" >&5
9378 echo "${ECHO_T}$result" >&6; }
9379
9380
9381 enablestring=
9382 defaultval=$wxUSE_ALL_FEATURES
9383 if test -z "$defaultval"; then
9384 if test x"$enablestring" = xdisable; then
9385 defaultval=yes
9386 else
9387 defaultval=no
9388 fi
9389 fi
9390
9391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9393 # Check whether --enable-metafile was given.
9394 if test "${enable_metafile+set}" = set; then
9395 enableval=$enable_metafile;
9396 if test "$enableval" = yes; then
9397 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9398 else
9399 wx_cv_use_metafile='wxUSE_METAFILE=no'
9400 fi
9401
9402 else
9403
9404 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9405
9406 fi
9407
9408
9409 eval "$wx_cv_use_metafile"
9410
9411 if test x"$enablestring" = xdisable; then
9412 if test $wxUSE_METAFILE = yes; then
9413 result=no
9414 else
9415 result=yes
9416 fi
9417 else
9418 result=$wxUSE_METAFILE
9419 fi
9420
9421 { echo "$as_me:$LINENO: result: $result" >&5
9422 echo "${ECHO_T}$result" >&6; }
9423
9424
9425
9426 DEFAULT_wxUSE_CONTROLS=none
9427
9428 enablestring=disable
9429 defaultval=
9430 if test -z "$defaultval"; then
9431 if test x"$enablestring" = xdisable; then
9432 defaultval=yes
9433 else
9434 defaultval=no
9435 fi
9436 fi
9437
9438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9440 # Check whether --enable-controls was given.
9441 if test "${enable_controls+set}" = set; then
9442 enableval=$enable_controls;
9443 if test "$enableval" = yes; then
9444 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9445 else
9446 wx_cv_use_controls='wxUSE_CONTROLS=no'
9447 fi
9448
9449 else
9450
9451 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9452
9453 fi
9454
9455
9456 eval "$wx_cv_use_controls"
9457
9458 if test x"$enablestring" = xdisable; then
9459 if test $wxUSE_CONTROLS = yes; then
9460 result=no
9461 else
9462 result=yes
9463 fi
9464 else
9465 result=$wxUSE_CONTROLS
9466 fi
9467
9468 { echo "$as_me:$LINENO: result: $result" >&5
9469 echo "${ECHO_T}$result" >&6; }
9470
9471
9472 if test "$wxUSE_CONTROLS" = "no"; then
9473 DEFAULT_wxUSE_ACCEL=no
9474 DEFAULT_wxUSE_ANIMATIONCTRL=no
9475 DEFAULT_wxUSE_BMPBUTTON=no
9476 DEFAULT_wxUSE_BUTTON=no
9477 DEFAULT_wxUSE_CALCTRL=no
9478 DEFAULT_wxUSE_CARET=no
9479 DEFAULT_wxUSE_CHECKBOX=no
9480 DEFAULT_wxUSE_CHECKLISTBOX=no
9481 DEFAULT_wxUSE_CHOICE=no
9482 DEFAULT_wxUSE_CHOICEBOOK=no
9483 DEFAULT_wxUSE_COLLPANE=no
9484 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9485 DEFAULT_wxUSE_COMBOBOX=no
9486 DEFAULT_wxUSE_COMBOBOX=no
9487 DEFAULT_wxUSE_DATAVIEWCTRL=no
9488 DEFAULT_wxUSE_DATEPICKCTRL=no
9489 DEFAULT_wxUSE_DETECT_SM=no
9490 DEFAULT_wxUSE_DIRPICKERCTRL=no
9491 DEFAULT_wxUSE_DISPLAY=no
9492 DEFAULT_wxUSE_FILECTRL=no
9493 DEFAULT_wxUSE_FILEPICKERCTRL=no
9494 DEFAULT_wxUSE_FONTPICKERCTRL=no
9495 DEFAULT_wxUSE_GAUGE=no
9496 DEFAULT_wxUSE_GRID=no
9497 DEFAULT_wxUSE_HEADERCTRL=no
9498 DEFAULT_wxUSE_HYPERLINKCTRL=no
9499 DEFAULT_wxUSE_IMAGLIST=no
9500 DEFAULT_wxUSE_LISTBOOK=no
9501 DEFAULT_wxUSE_LISTBOX=no
9502 DEFAULT_wxUSE_LISTCTRL=no
9503 DEFAULT_wxUSE_NOTEBOOK=no
9504 DEFAULT_wxUSE_POPUPWIN=no
9505 DEFAULT_wxUSE_RADIOBOX=no
9506 DEFAULT_wxUSE_RADIOBTN=no
9507 DEFAULT_wxUSE_REARRANGECTRL=no
9508 DEFAULT_wxUSE_SASH=no
9509 DEFAULT_wxUSE_SCROLLBAR=no
9510 DEFAULT_wxUSE_SEARCHCTRL=no
9511 DEFAULT_wxUSE_SLIDER=no
9512 DEFAULT_wxUSE_SPINBTN=no
9513 DEFAULT_wxUSE_SPINCTRL=no
9514 DEFAULT_wxUSE_SPLITTER=no
9515 DEFAULT_wxUSE_STATBMP=no
9516 DEFAULT_wxUSE_STATBOX=no
9517 DEFAULT_wxUSE_STATLINE=no
9518 DEFAULT_wxUSE_STATUSBAR=no
9519 DEFAULT_wxUSE_TIPWINDOW=no
9520 DEFAULT_wxUSE_TOGGLEBTN=no
9521 DEFAULT_wxUSE_TOOLBAR=no
9522 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9523 DEFAULT_wxUSE_TOOLBOOK=no
9524 DEFAULT_wxUSE_TOOLTIPS=no
9525 DEFAULT_wxUSE_TREEBOOK=no
9526 DEFAULT_wxUSE_TREECTRL=no
9527 fi
9528
9529
9530 enablestring=
9531 defaultval=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x"$enablestring" = xdisable; then
9534 defaultval=yes
9535 else
9536 defaultval=no
9537 fi
9538 fi
9539
9540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9542 # Check whether --enable-accel was given.
9543 if test "${enable_accel+set}" = set; then
9544 enableval=$enable_accel;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_accel='wxUSE_ACCEL=yes'
9547 else
9548 wx_cv_use_accel='wxUSE_ACCEL=no'
9549 fi
9550
9551 else
9552
9553 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9554
9555 fi
9556
9557
9558 eval "$wx_cv_use_accel"
9559
9560 if test x"$enablestring" = xdisable; then
9561 if test $wxUSE_ACCEL = yes; then
9562 result=no
9563 else
9564 result=yes
9565 fi
9566 else
9567 result=$wxUSE_ACCEL
9568 fi
9569
9570 { echo "$as_me:$LINENO: result: $result" >&5
9571 echo "${ECHO_T}$result" >&6; }
9572
9573
9574 enablestring=
9575 defaultval=$wxUSE_ALL_FEATURES
9576 if test -z "$defaultval"; then
9577 if test x"$enablestring" = xdisable; then
9578 defaultval=yes
9579 else
9580 defaultval=no
9581 fi
9582 fi
9583
9584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9585 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9586 # Check whether --enable-animatectrl was given.
9587 if test "${enable_animatectrl+set}" = set; then
9588 enableval=$enable_animatectrl;
9589 if test "$enableval" = yes; then
9590 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9591 else
9592 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9593 fi
9594
9595 else
9596
9597 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9598
9599 fi
9600
9601
9602 eval "$wx_cv_use_animatectrl"
9603
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_ANIMATIONCTRL = yes; then
9606 result=no
9607 else
9608 result=yes
9609 fi
9610 else
9611 result=$wxUSE_ANIMATIONCTRL
9612 fi
9613
9614 { echo "$as_me:$LINENO: result: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9616
9617
9618 enablestring=
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9622 defaultval=yes
9623 else
9624 defaultval=no
9625 fi
9626 fi
9627
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9630 # Check whether --enable-bmpbutton was given.
9631 if test "${enable_bmpbutton+set}" = set; then
9632 enableval=$enable_bmpbutton;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9635 else
9636 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9637 fi
9638
9639 else
9640
9641 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9642
9643 fi
9644
9645
9646 eval "$wx_cv_use_bmpbutton"
9647
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_BMPBUTTON = yes; then
9650 result=no
9651 else
9652 result=yes
9653 fi
9654 else
9655 result=$wxUSE_BMPBUTTON
9656 fi
9657
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9660
9661
9662 enablestring=
9663 defaultval=$wxUSE_ALL_FEATURES
9664 if test -z "$defaultval"; then
9665 if test x"$enablestring" = xdisable; then
9666 defaultval=yes
9667 else
9668 defaultval=no
9669 fi
9670 fi
9671
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9674 # Check whether --enable-bmpcombobox was given.
9675 if test "${enable_bmpcombobox+set}" = set; then
9676 enableval=$enable_bmpcombobox;
9677 if test "$enableval" = yes; then
9678 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9679 else
9680 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9681 fi
9682
9683 else
9684
9685 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9686
9687 fi
9688
9689
9690 eval "$wx_cv_use_bmpcombobox"
9691
9692 if test x"$enablestring" = xdisable; then
9693 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9694 result=no
9695 else
9696 result=yes
9697 fi
9698 else
9699 result=$wxUSE_BITMAPCOMBOBOX
9700 fi
9701
9702 { echo "$as_me:$LINENO: result: $result" >&5
9703 echo "${ECHO_T}$result" >&6; }
9704
9705
9706 enablestring=
9707 defaultval=$wxUSE_ALL_FEATURES
9708 if test -z "$defaultval"; then
9709 if test x"$enablestring" = xdisable; then
9710 defaultval=yes
9711 else
9712 defaultval=no
9713 fi
9714 fi
9715
9716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9718 # Check whether --enable-button was given.
9719 if test "${enable_button+set}" = set; then
9720 enableval=$enable_button;
9721 if test "$enableval" = yes; then
9722 wx_cv_use_button='wxUSE_BUTTON=yes'
9723 else
9724 wx_cv_use_button='wxUSE_BUTTON=no'
9725 fi
9726
9727 else
9728
9729 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9730
9731 fi
9732
9733
9734 eval "$wx_cv_use_button"
9735
9736 if test x"$enablestring" = xdisable; then
9737 if test $wxUSE_BUTTON = yes; then
9738 result=no
9739 else
9740 result=yes
9741 fi
9742 else
9743 result=$wxUSE_BUTTON
9744 fi
9745
9746 { echo "$as_me:$LINENO: result: $result" >&5
9747 echo "${ECHO_T}$result" >&6; }
9748
9749
9750 enablestring=
9751 defaultval=$wxUSE_ALL_FEATURES
9752 if test -z "$defaultval"; then
9753 if test x"$enablestring" = xdisable; then
9754 defaultval=yes
9755 else
9756 defaultval=no
9757 fi
9758 fi
9759
9760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9762 # Check whether --enable-calendar was given.
9763 if test "${enable_calendar+set}" = set; then
9764 enableval=$enable_calendar;
9765 if test "$enableval" = yes; then
9766 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9767 else
9768 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9769 fi
9770
9771 else
9772
9773 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9774
9775 fi
9776
9777
9778 eval "$wx_cv_use_calendar"
9779
9780 if test x"$enablestring" = xdisable; then
9781 if test $wxUSE_CALCTRL = yes; then
9782 result=no
9783 else
9784 result=yes
9785 fi
9786 else
9787 result=$wxUSE_CALCTRL
9788 fi
9789
9790 { echo "$as_me:$LINENO: result: $result" >&5
9791 echo "${ECHO_T}$result" >&6; }
9792
9793
9794 enablestring=
9795 defaultval=$wxUSE_ALL_FEATURES
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9798 defaultval=yes
9799 else
9800 defaultval=no
9801 fi
9802 fi
9803
9804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9805 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9806 # Check whether --enable-caret was given.
9807 if test "${enable_caret+set}" = set; then
9808 enableval=$enable_caret;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_caret='wxUSE_CARET=yes'
9811 else
9812 wx_cv_use_caret='wxUSE_CARET=no'
9813 fi
9814
9815 else
9816
9817 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9818
9819 fi
9820
9821
9822 eval "$wx_cv_use_caret"
9823
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_CARET = yes; then
9826 result=no
9827 else
9828 result=yes
9829 fi
9830 else
9831 result=$wxUSE_CARET
9832 fi
9833
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9836
9837
9838 enablestring=
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9842 defaultval=yes
9843 else
9844 defaultval=no
9845 fi
9846 fi
9847
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9850 # Check whether --enable-checkbox was given.
9851 if test "${enable_checkbox+set}" = set; then
9852 enableval=$enable_checkbox;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9855 else
9856 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9857 fi
9858
9859 else
9860
9861 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9862
9863 fi
9864
9865
9866 eval "$wx_cv_use_checkbox"
9867
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_CHECKBOX = yes; then
9870 result=no
9871 else
9872 result=yes
9873 fi
9874 else
9875 result=$wxUSE_CHECKBOX
9876 fi
9877
9878 { echo "$as_me:$LINENO: result: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9880
9881
9882 enablestring=
9883 defaultval=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x"$enablestring" = xdisable; then
9886 defaultval=yes
9887 else
9888 defaultval=no
9889 fi
9890 fi
9891
9892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9894 # Check whether --enable-checklst was given.
9895 if test "${enable_checklst+set}" = set; then
9896 enableval=$enable_checklst;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9899 else
9900 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9901 fi
9902
9903 else
9904
9905 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9906
9907 fi
9908
9909
9910 eval "$wx_cv_use_checklst"
9911
9912 if test x"$enablestring" = xdisable; then
9913 if test $wxUSE_CHECKLST = yes; then
9914 result=no
9915 else
9916 result=yes
9917 fi
9918 else
9919 result=$wxUSE_CHECKLST
9920 fi
9921
9922 { echo "$as_me:$LINENO: result: $result" >&5
9923 echo "${ECHO_T}$result" >&6; }
9924
9925
9926 enablestring=
9927 defaultval=$wxUSE_ALL_FEATURES
9928 if test -z "$defaultval"; then
9929 if test x"$enablestring" = xdisable; then
9930 defaultval=yes
9931 else
9932 defaultval=no
9933 fi
9934 fi
9935
9936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9937 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9938 # Check whether --enable-choice was given.
9939 if test "${enable_choice+set}" = set; then
9940 enableval=$enable_choice;
9941 if test "$enableval" = yes; then
9942 wx_cv_use_choice='wxUSE_CHOICE=yes'
9943 else
9944 wx_cv_use_choice='wxUSE_CHOICE=no'
9945 fi
9946
9947 else
9948
9949 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9950
9951 fi
9952
9953
9954 eval "$wx_cv_use_choice"
9955
9956 if test x"$enablestring" = xdisable; then
9957 if test $wxUSE_CHOICE = yes; then
9958 result=no
9959 else
9960 result=yes
9961 fi
9962 else
9963 result=$wxUSE_CHOICE
9964 fi
9965
9966 { echo "$as_me:$LINENO: result: $result" >&5
9967 echo "${ECHO_T}$result" >&6; }
9968
9969
9970 enablestring=
9971 defaultval=$wxUSE_ALL_FEATURES
9972 if test -z "$defaultval"; then
9973 if test x"$enablestring" = xdisable; then
9974 defaultval=yes
9975 else
9976 defaultval=no
9977 fi
9978 fi
9979
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9982 # Check whether --enable-choicebook was given.
9983 if test "${enable_choicebook+set}" = set; then
9984 enableval=$enable_choicebook;
9985 if test "$enableval" = yes; then
9986 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9987 else
9988 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9989 fi
9990
9991 else
9992
9993 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9994
9995 fi
9996
9997
9998 eval "$wx_cv_use_choicebook"
9999
10000 if test x"$enablestring" = xdisable; then
10001 if test $wxUSE_CHOICEBOOK = yes; then
10002 result=no
10003 else
10004 result=yes
10005 fi
10006 else
10007 result=$wxUSE_CHOICEBOOK
10008 fi
10009
10010 { echo "$as_me:$LINENO: result: $result" >&5
10011 echo "${ECHO_T}$result" >&6; }
10012
10013
10014 enablestring=
10015 defaultval=$wxUSE_ALL_FEATURES
10016 if test -z "$defaultval"; then
10017 if test x"$enablestring" = xdisable; then
10018 defaultval=yes
10019 else
10020 defaultval=no
10021 fi
10022 fi
10023
10024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10026 # Check whether --enable-collpane was given.
10027 if test "${enable_collpane+set}" = set; then
10028 enableval=$enable_collpane;
10029 if test "$enableval" = yes; then
10030 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10031 else
10032 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10033 fi
10034
10035 else
10036
10037 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10038
10039 fi
10040
10041
10042 eval "$wx_cv_use_collpane"
10043
10044 if test x"$enablestring" = xdisable; then
10045 if test $wxUSE_COLLPANE = yes; then
10046 result=no
10047 else
10048 result=yes
10049 fi
10050 else
10051 result=$wxUSE_COLLPANE
10052 fi
10053
10054 { echo "$as_me:$LINENO: result: $result" >&5
10055 echo "${ECHO_T}$result" >&6; }
10056
10057
10058 enablestring=
10059 defaultval=$wxUSE_ALL_FEATURES
10060 if test -z "$defaultval"; then
10061 if test x"$enablestring" = xdisable; then
10062 defaultval=yes
10063 else
10064 defaultval=no
10065 fi
10066 fi
10067
10068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10070 # Check whether --enable-colourpicker was given.
10071 if test "${enable_colourpicker+set}" = set; then
10072 enableval=$enable_colourpicker;
10073 if test "$enableval" = yes; then
10074 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10075 else
10076 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10077 fi
10078
10079 else
10080
10081 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10082
10083 fi
10084
10085
10086 eval "$wx_cv_use_colourpicker"
10087
10088 if test x"$enablestring" = xdisable; then
10089 if test $wxUSE_COLOURPICKERCTRL = yes; then
10090 result=no
10091 else
10092 result=yes
10093 fi
10094 else
10095 result=$wxUSE_COLOURPICKERCTRL
10096 fi
10097
10098 { echo "$as_me:$LINENO: result: $result" >&5
10099 echo "${ECHO_T}$result" >&6; }
10100
10101
10102 enablestring=
10103 defaultval=$wxUSE_ALL_FEATURES
10104 if test -z "$defaultval"; then
10105 if test x"$enablestring" = xdisable; then
10106 defaultval=yes
10107 else
10108 defaultval=no
10109 fi
10110 fi
10111
10112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10114 # Check whether --enable-combobox was given.
10115 if test "${enable_combobox+set}" = set; then
10116 enableval=$enable_combobox;
10117 if test "$enableval" = yes; then
10118 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10119 else
10120 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10121 fi
10122
10123 else
10124
10125 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10126
10127 fi
10128
10129
10130 eval "$wx_cv_use_combobox"
10131
10132 if test x"$enablestring" = xdisable; then
10133 if test $wxUSE_COMBOBOX = yes; then
10134 result=no
10135 else
10136 result=yes
10137 fi
10138 else
10139 result=$wxUSE_COMBOBOX
10140 fi
10141
10142 { echo "$as_me:$LINENO: result: $result" >&5
10143 echo "${ECHO_T}$result" >&6; }
10144
10145
10146 enablestring=
10147 defaultval=$wxUSE_ALL_FEATURES
10148 if test -z "$defaultval"; then
10149 if test x"$enablestring" = xdisable; then
10150 defaultval=yes
10151 else
10152 defaultval=no
10153 fi
10154 fi
10155
10156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10158 # Check whether --enable-comboctrl was given.
10159 if test "${enable_comboctrl+set}" = set; then
10160 enableval=$enable_comboctrl;
10161 if test "$enableval" = yes; then
10162 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10163 else
10164 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10165 fi
10166
10167 else
10168
10169 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10170
10171 fi
10172
10173
10174 eval "$wx_cv_use_comboctrl"
10175
10176 if test x"$enablestring" = xdisable; then
10177 if test $wxUSE_COMBOCTRL = yes; then
10178 result=no
10179 else
10180 result=yes
10181 fi
10182 else
10183 result=$wxUSE_COMBOCTRL
10184 fi
10185
10186 { echo "$as_me:$LINENO: result: $result" >&5
10187 echo "${ECHO_T}$result" >&6; }
10188
10189
10190 enablestring=
10191 defaultval=$wxUSE_ALL_FEATURES
10192 if test -z "$defaultval"; then
10193 if test x"$enablestring" = xdisable; then
10194 defaultval=yes
10195 else
10196 defaultval=no
10197 fi
10198 fi
10199
10200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10202 # Check whether --enable-dataviewctrl was given.
10203 if test "${enable_dataviewctrl+set}" = set; then
10204 enableval=$enable_dataviewctrl;
10205 if test "$enableval" = yes; then
10206 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10207 else
10208 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10209 fi
10210
10211 else
10212
10213 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10214
10215 fi
10216
10217
10218 eval "$wx_cv_use_dataviewctrl"
10219
10220 if test x"$enablestring" = xdisable; then
10221 if test $wxUSE_DATAVIEWCTRL = yes; then
10222 result=no
10223 else
10224 result=yes
10225 fi
10226 else
10227 result=$wxUSE_DATAVIEWCTRL
10228 fi
10229
10230 { echo "$as_me:$LINENO: result: $result" >&5
10231 echo "${ECHO_T}$result" >&6; }
10232
10233
10234 enablestring=
10235 defaultval=$wxUSE_ALL_FEATURES
10236 if test -z "$defaultval"; then
10237 if test x"$enablestring" = xdisable; then
10238 defaultval=yes
10239 else
10240 defaultval=no
10241 fi
10242 fi
10243
10244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10245 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10246 # Check whether --enable-datepick was given.
10247 if test "${enable_datepick+set}" = set; then
10248 enableval=$enable_datepick;
10249 if test "$enableval" = yes; then
10250 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10251 else
10252 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10253 fi
10254
10255 else
10256
10257 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10258
10259 fi
10260
10261
10262 eval "$wx_cv_use_datepick"
10263
10264 if test x"$enablestring" = xdisable; then
10265 if test $wxUSE_DATEPICKCTRL = yes; then
10266 result=no
10267 else
10268 result=yes
10269 fi
10270 else
10271 result=$wxUSE_DATEPICKCTRL
10272 fi
10273
10274 { echo "$as_me:$LINENO: result: $result" >&5
10275 echo "${ECHO_T}$result" >&6; }
10276
10277
10278 enablestring=
10279 defaultval=$wxUSE_ALL_FEATURES
10280 if test -z "$defaultval"; then
10281 if test x"$enablestring" = xdisable; then
10282 defaultval=yes
10283 else
10284 defaultval=no
10285 fi
10286 fi
10287
10288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10289 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10290 # Check whether --enable-detect_sm was given.
10291 if test "${enable_detect_sm+set}" = set; then
10292 enableval=$enable_detect_sm;
10293 if test "$enableval" = yes; then
10294 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10295 else
10296 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10297 fi
10298
10299 else
10300
10301 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10302
10303 fi
10304
10305
10306 eval "$wx_cv_use_detect_sm"
10307
10308 if test x"$enablestring" = xdisable; then
10309 if test $wxUSE_DETECT_SM = yes; then
10310 result=no
10311 else
10312 result=yes
10313 fi
10314 else
10315 result=$wxUSE_DETECT_SM
10316 fi
10317
10318 { echo "$as_me:$LINENO: result: $result" >&5
10319 echo "${ECHO_T}$result" >&6; }
10320
10321
10322 enablestring=
10323 defaultval=$wxUSE_ALL_FEATURES
10324 if test -z "$defaultval"; then
10325 if test x"$enablestring" = xdisable; then
10326 defaultval=yes
10327 else
10328 defaultval=no
10329 fi
10330 fi
10331
10332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10334 # Check whether --enable-dirpicker was given.
10335 if test "${enable_dirpicker+set}" = set; then
10336 enableval=$enable_dirpicker;
10337 if test "$enableval" = yes; then
10338 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10339 else
10340 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10341 fi
10342
10343 else
10344
10345 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10346
10347 fi
10348
10349
10350 eval "$wx_cv_use_dirpicker"
10351
10352 if test x"$enablestring" = xdisable; then
10353 if test $wxUSE_DIRPICKERCTRL = yes; then
10354 result=no
10355 else
10356 result=yes
10357 fi
10358 else
10359 result=$wxUSE_DIRPICKERCTRL
10360 fi
10361
10362 { echo "$as_me:$LINENO: result: $result" >&5
10363 echo "${ECHO_T}$result" >&6; }
10364
10365
10366 enablestring=
10367 defaultval=$wxUSE_ALL_FEATURES
10368 if test -z "$defaultval"; then
10369 if test x"$enablestring" = xdisable; then
10370 defaultval=yes
10371 else
10372 defaultval=no
10373 fi
10374 fi
10375
10376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10378 # Check whether --enable-display was given.
10379 if test "${enable_display+set}" = set; then
10380 enableval=$enable_display;
10381 if test "$enableval" = yes; then
10382 wx_cv_use_display='wxUSE_DISPLAY=yes'
10383 else
10384 wx_cv_use_display='wxUSE_DISPLAY=no'
10385 fi
10386
10387 else
10388
10389 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10390
10391 fi
10392
10393
10394 eval "$wx_cv_use_display"
10395
10396 if test x"$enablestring" = xdisable; then
10397 if test $wxUSE_DISPLAY = yes; then
10398 result=no
10399 else
10400 result=yes
10401 fi
10402 else
10403 result=$wxUSE_DISPLAY
10404 fi
10405
10406 { echo "$as_me:$LINENO: result: $result" >&5
10407 echo "${ECHO_T}$result" >&6; }
10408
10409
10410 enablestring=
10411 defaultval=$wxUSE_ALL_FEATURES
10412 if test -z "$defaultval"; then
10413 if test x"$enablestring" = xdisable; then
10414 defaultval=yes
10415 else
10416 defaultval=no
10417 fi
10418 fi
10419
10420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10422 # Check whether --enable-editablebox was given.
10423 if test "${enable_editablebox+set}" = set; then
10424 enableval=$enable_editablebox;
10425 if test "$enableval" = yes; then
10426 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10427 else
10428 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10429 fi
10430
10431 else
10432
10433 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10434
10435 fi
10436
10437
10438 eval "$wx_cv_use_editablebox"
10439
10440 if test x"$enablestring" = xdisable; then
10441 if test $wxUSE_EDITABLELISTBOX = yes; then
10442 result=no
10443 else
10444 result=yes
10445 fi
10446 else
10447 result=$wxUSE_EDITABLELISTBOX
10448 fi
10449
10450 { echo "$as_me:$LINENO: result: $result" >&5
10451 echo "${ECHO_T}$result" >&6; }
10452
10453
10454 enablestring=
10455 defaultval=$wxUSE_ALL_FEATURES
10456 if test -z "$defaultval"; then
10457 if test x"$enablestring" = xdisable; then
10458 defaultval=yes
10459 else
10460 defaultval=no
10461 fi
10462 fi
10463
10464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10465 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10466 # Check whether --enable-filectrl was given.
10467 if test "${enable_filectrl+set}" = set; then
10468 enableval=$enable_filectrl;
10469 if test "$enableval" = yes; then
10470 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10471 else
10472 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10473 fi
10474
10475 else
10476
10477 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10478
10479 fi
10480
10481
10482 eval "$wx_cv_use_filectrl"
10483
10484 if test x"$enablestring" = xdisable; then
10485 if test $wxUSE_FILECTRL = yes; then
10486 result=no
10487 else
10488 result=yes
10489 fi
10490 else
10491 result=$wxUSE_FILECTRL
10492 fi
10493
10494 { echo "$as_me:$LINENO: result: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10496
10497
10498 enablestring=
10499 defaultval=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x"$enablestring" = xdisable; then
10502 defaultval=yes
10503 else
10504 defaultval=no
10505 fi
10506 fi
10507
10508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10509 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10510 # Check whether --enable-filepicker was given.
10511 if test "${enable_filepicker+set}" = set; then
10512 enableval=$enable_filepicker;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10515 else
10516 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10517 fi
10518
10519 else
10520
10521 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10522
10523 fi
10524
10525
10526 eval "$wx_cv_use_filepicker"
10527
10528 if test x"$enablestring" = xdisable; then
10529 if test $wxUSE_FILEPICKERCTRL = yes; then
10530 result=no
10531 else
10532 result=yes
10533 fi
10534 else
10535 result=$wxUSE_FILEPICKERCTRL
10536 fi
10537
10538 { echo "$as_me:$LINENO: result: $result" >&5
10539 echo "${ECHO_T}$result" >&6; }
10540
10541
10542 enablestring=
10543 defaultval=$wxUSE_ALL_FEATURES
10544 if test -z "$defaultval"; then
10545 if test x"$enablestring" = xdisable; then
10546 defaultval=yes
10547 else
10548 defaultval=no
10549 fi
10550 fi
10551
10552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10553 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10554 # Check whether --enable-fontpicker was given.
10555 if test "${enable_fontpicker+set}" = set; then
10556 enableval=$enable_fontpicker;
10557 if test "$enableval" = yes; then
10558 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10559 else
10560 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10561 fi
10562
10563 else
10564
10565 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10566
10567 fi
10568
10569
10570 eval "$wx_cv_use_fontpicker"
10571
10572 if test x"$enablestring" = xdisable; then
10573 if test $wxUSE_FONTPICKERCTRL = yes; then
10574 result=no
10575 else
10576 result=yes
10577 fi
10578 else
10579 result=$wxUSE_FONTPICKERCTRL
10580 fi
10581
10582 { echo "$as_me:$LINENO: result: $result" >&5
10583 echo "${ECHO_T}$result" >&6; }
10584
10585
10586 enablestring=
10587 defaultval=$wxUSE_ALL_FEATURES
10588 if test -z "$defaultval"; then
10589 if test x"$enablestring" = xdisable; then
10590 defaultval=yes
10591 else
10592 defaultval=no
10593 fi
10594 fi
10595
10596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10597 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10598 # Check whether --enable-gauge was given.
10599 if test "${enable_gauge+set}" = set; then
10600 enableval=$enable_gauge;
10601 if test "$enableval" = yes; then
10602 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10603 else
10604 wx_cv_use_gauge='wxUSE_GAUGE=no'
10605 fi
10606
10607 else
10608
10609 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10610
10611 fi
10612
10613
10614 eval "$wx_cv_use_gauge"
10615
10616 if test x"$enablestring" = xdisable; then
10617 if test $wxUSE_GAUGE = yes; then
10618 result=no
10619 else
10620 result=yes
10621 fi
10622 else
10623 result=$wxUSE_GAUGE
10624 fi
10625
10626 { echo "$as_me:$LINENO: result: $result" >&5
10627 echo "${ECHO_T}$result" >&6; }
10628
10629
10630 enablestring=
10631 defaultval=$wxUSE_ALL_FEATURES
10632 if test -z "$defaultval"; then
10633 if test x"$enablestring" = xdisable; then
10634 defaultval=yes
10635 else
10636 defaultval=no
10637 fi
10638 fi
10639
10640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10641 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10642 # Check whether --enable-grid was given.
10643 if test "${enable_grid+set}" = set; then
10644 enableval=$enable_grid;
10645 if test "$enableval" = yes; then
10646 wx_cv_use_grid='wxUSE_GRID=yes'
10647 else
10648 wx_cv_use_grid='wxUSE_GRID=no'
10649 fi
10650
10651 else
10652
10653 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10654
10655 fi
10656
10657
10658 eval "$wx_cv_use_grid"
10659
10660 if test x"$enablestring" = xdisable; then
10661 if test $wxUSE_GRID = yes; then
10662 result=no
10663 else
10664 result=yes
10665 fi
10666 else
10667 result=$wxUSE_GRID
10668 fi
10669
10670 { echo "$as_me:$LINENO: result: $result" >&5
10671 echo "${ECHO_T}$result" >&6; }
10672
10673
10674 enablestring=
10675 defaultval=$wxUSE_ALL_FEATURES
10676 if test -z "$defaultval"; then
10677 if test x"$enablestring" = xdisable; then
10678 defaultval=yes
10679 else
10680 defaultval=no
10681 fi
10682 fi
10683
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10686 # Check whether --enable-headerctrl was given.
10687 if test "${enable_headerctrl+set}" = set; then
10688 enableval=$enable_headerctrl;
10689 if test "$enableval" = yes; then
10690 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10691 else
10692 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10693 fi
10694
10695 else
10696
10697 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10698
10699 fi
10700
10701
10702 eval "$wx_cv_use_headerctrl"
10703
10704 if test x"$enablestring" = xdisable; then
10705 if test $wxUSE_HEADERCTRL = yes; then
10706 result=no
10707 else
10708 result=yes
10709 fi
10710 else
10711 result=$wxUSE_HEADERCTRL
10712 fi
10713
10714 { echo "$as_me:$LINENO: result: $result" >&5
10715 echo "${ECHO_T}$result" >&6; }
10716
10717
10718 enablestring=
10719 defaultval=$wxUSE_ALL_FEATURES
10720 if test -z "$defaultval"; then
10721 if test x"$enablestring" = xdisable; then
10722 defaultval=yes
10723 else
10724 defaultval=no
10725 fi
10726 fi
10727
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10730 # Check whether --enable-hyperlink was given.
10731 if test "${enable_hyperlink+set}" = set; then
10732 enableval=$enable_hyperlink;
10733 if test "$enableval" = yes; then
10734 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10735 else
10736 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10737 fi
10738
10739 else
10740
10741 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10742
10743 fi
10744
10745
10746 eval "$wx_cv_use_hyperlink"
10747
10748 if test x"$enablestring" = xdisable; then
10749 if test $wxUSE_HYPERLINKCTRL = yes; then
10750 result=no
10751 else
10752 result=yes
10753 fi
10754 else
10755 result=$wxUSE_HYPERLINKCTRL
10756 fi
10757
10758 { echo "$as_me:$LINENO: result: $result" >&5
10759 echo "${ECHO_T}$result" >&6; }
10760
10761
10762 enablestring=
10763 defaultval=$wxUSE_ALL_FEATURES
10764 if test -z "$defaultval"; then
10765 if test x"$enablestring" = xdisable; then
10766 defaultval=yes
10767 else
10768 defaultval=no
10769 fi
10770 fi
10771
10772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10774 # Check whether --enable-imaglist was given.
10775 if test "${enable_imaglist+set}" = set; then
10776 enableval=$enable_imaglist;
10777 if test "$enableval" = yes; then
10778 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10779 else
10780 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10781 fi
10782
10783 else
10784
10785 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10786
10787 fi
10788
10789
10790 eval "$wx_cv_use_imaglist"
10791
10792 if test x"$enablestring" = xdisable; then
10793 if test $wxUSE_IMAGLIST = yes; then
10794 result=no
10795 else
10796 result=yes
10797 fi
10798 else
10799 result=$wxUSE_IMAGLIST
10800 fi
10801
10802 { echo "$as_me:$LINENO: result: $result" >&5
10803 echo "${ECHO_T}$result" >&6; }
10804
10805
10806 enablestring=
10807 defaultval=$wxUSE_ALL_FEATURES
10808 if test -z "$defaultval"; then
10809 if test x"$enablestring" = xdisable; then
10810 defaultval=yes
10811 else
10812 defaultval=no
10813 fi
10814 fi
10815
10816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10817 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10818 # Check whether --enable-listbook was given.
10819 if test "${enable_listbook+set}" = set; then
10820 enableval=$enable_listbook;
10821 if test "$enableval" = yes; then
10822 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10823 else
10824 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10825 fi
10826
10827 else
10828
10829 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10830
10831 fi
10832
10833
10834 eval "$wx_cv_use_listbook"
10835
10836 if test x"$enablestring" = xdisable; then
10837 if test $wxUSE_LISTBOOK = yes; then
10838 result=no
10839 else
10840 result=yes
10841 fi
10842 else
10843 result=$wxUSE_LISTBOOK
10844 fi
10845
10846 { echo "$as_me:$LINENO: result: $result" >&5
10847 echo "${ECHO_T}$result" >&6; }
10848
10849
10850 enablestring=
10851 defaultval=$wxUSE_ALL_FEATURES
10852 if test -z "$defaultval"; then
10853 if test x"$enablestring" = xdisable; then
10854 defaultval=yes
10855 else
10856 defaultval=no
10857 fi
10858 fi
10859
10860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10862 # Check whether --enable-listbox was given.
10863 if test "${enable_listbox+set}" = set; then
10864 enableval=$enable_listbox;
10865 if test "$enableval" = yes; then
10866 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10867 else
10868 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10869 fi
10870
10871 else
10872
10873 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10874
10875 fi
10876
10877
10878 eval "$wx_cv_use_listbox"
10879
10880 if test x"$enablestring" = xdisable; then
10881 if test $wxUSE_LISTBOX = yes; then
10882 result=no
10883 else
10884 result=yes
10885 fi
10886 else
10887 result=$wxUSE_LISTBOX
10888 fi
10889
10890 { echo "$as_me:$LINENO: result: $result" >&5
10891 echo "${ECHO_T}$result" >&6; }
10892
10893
10894 enablestring=
10895 defaultval=$wxUSE_ALL_FEATURES
10896 if test -z "$defaultval"; then
10897 if test x"$enablestring" = xdisable; then
10898 defaultval=yes
10899 else
10900 defaultval=no
10901 fi
10902 fi
10903
10904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10906 # Check whether --enable-listctrl was given.
10907 if test "${enable_listctrl+set}" = set; then
10908 enableval=$enable_listctrl;
10909 if test "$enableval" = yes; then
10910 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10911 else
10912 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10913 fi
10914
10915 else
10916
10917 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10918
10919 fi
10920
10921
10922 eval "$wx_cv_use_listctrl"
10923
10924 if test x"$enablestring" = xdisable; then
10925 if test $wxUSE_LISTCTRL = yes; then
10926 result=no
10927 else
10928 result=yes
10929 fi
10930 else
10931 result=$wxUSE_LISTCTRL
10932 fi
10933
10934 { echo "$as_me:$LINENO: result: $result" >&5
10935 echo "${ECHO_T}$result" >&6; }
10936
10937
10938 enablestring=
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10942 defaultval=yes
10943 else
10944 defaultval=no
10945 fi
10946 fi
10947
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10950 # Check whether --enable-notebook was given.
10951 if test "${enable_notebook+set}" = set; then
10952 enableval=$enable_notebook;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10955 else
10956 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10957 fi
10958
10959 else
10960
10961 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10962
10963 fi
10964
10965
10966 eval "$wx_cv_use_notebook"
10967
10968 if test x"$enablestring" = xdisable; then
10969 if test $wxUSE_NOTEBOOK = yes; then
10970 result=no
10971 else
10972 result=yes
10973 fi
10974 else
10975 result=$wxUSE_NOTEBOOK
10976 fi
10977
10978 { echo "$as_me:$LINENO: result: $result" >&5
10979 echo "${ECHO_T}$result" >&6; }
10980
10981
10982 enablestring=
10983 defaultval=$wxUSE_ALL_FEATURES
10984 if test -z "$defaultval"; then
10985 if test x"$enablestring" = xdisable; then
10986 defaultval=yes
10987 else
10988 defaultval=no
10989 fi
10990 fi
10991
10992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10993 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10994 # Check whether --enable-notifmsg was given.
10995 if test "${enable_notifmsg+set}" = set; then
10996 enableval=$enable_notifmsg;
10997 if test "$enableval" = yes; then
10998 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10999 else
11000 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11001 fi
11002
11003 else
11004
11005 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11006
11007 fi
11008
11009
11010 eval "$wx_cv_use_notifmsg"
11011
11012 if test x"$enablestring" = xdisable; then
11013 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11014 result=no
11015 else
11016 result=yes
11017 fi
11018 else
11019 result=$wxUSE_NOTIFICATION_MESSAGE
11020 fi
11021
11022 { echo "$as_me:$LINENO: result: $result" >&5
11023 echo "${ECHO_T}$result" >&6; }
11024
11025
11026 enablestring=
11027 defaultval=$wxUSE_ALL_FEATURES
11028 if test -z "$defaultval"; then
11029 if test x"$enablestring" = xdisable; then
11030 defaultval=yes
11031 else
11032 defaultval=no
11033 fi
11034 fi
11035
11036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11038 # Check whether --enable-odcombobox was given.
11039 if test "${enable_odcombobox+set}" = set; then
11040 enableval=$enable_odcombobox;
11041 if test "$enableval" = yes; then
11042 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11043 else
11044 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11045 fi
11046
11047 else
11048
11049 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11050
11051 fi
11052
11053
11054 eval "$wx_cv_use_odcombobox"
11055
11056 if test x"$enablestring" = xdisable; then
11057 if test $wxUSE_ODCOMBOBOX = yes; then
11058 result=no
11059 else
11060 result=yes
11061 fi
11062 else
11063 result=$wxUSE_ODCOMBOBOX
11064 fi
11065
11066 { echo "$as_me:$LINENO: result: $result" >&5
11067 echo "${ECHO_T}$result" >&6; }
11068
11069
11070 enablestring=
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11074 defaultval=yes
11075 else
11076 defaultval=no
11077 fi
11078 fi
11079
11080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11081 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11082 # Check whether --enable-popupwin was given.
11083 if test "${enable_popupwin+set}" = set; then
11084 enableval=$enable_popupwin;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11087 else
11088 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11089 fi
11090
11091 else
11092
11093 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11094
11095 fi
11096
11097
11098 eval "$wx_cv_use_popupwin"
11099
11100 if test x"$enablestring" = xdisable; then
11101 if test $wxUSE_POPUPWIN = yes; then
11102 result=no
11103 else
11104 result=yes
11105 fi
11106 else
11107 result=$wxUSE_POPUPWIN
11108 fi
11109
11110 { echo "$as_me:$LINENO: result: $result" >&5
11111 echo "${ECHO_T}$result" >&6; }
11112
11113
11114 enablestring=
11115 defaultval=$wxUSE_ALL_FEATURES
11116 if test -z "$defaultval"; then
11117 if test x"$enablestring" = xdisable; then
11118 defaultval=yes
11119 else
11120 defaultval=no
11121 fi
11122 fi
11123
11124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11125 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11126 # Check whether --enable-radiobox was given.
11127 if test "${enable_radiobox+set}" = set; then
11128 enableval=$enable_radiobox;
11129 if test "$enableval" = yes; then
11130 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11131 else
11132 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11133 fi
11134
11135 else
11136
11137 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11138
11139 fi
11140
11141
11142 eval "$wx_cv_use_radiobox"
11143
11144 if test x"$enablestring" = xdisable; then
11145 if test $wxUSE_RADIOBOX = yes; then
11146 result=no
11147 else
11148 result=yes
11149 fi
11150 else
11151 result=$wxUSE_RADIOBOX
11152 fi
11153
11154 { echo "$as_me:$LINENO: result: $result" >&5
11155 echo "${ECHO_T}$result" >&6; }
11156
11157
11158 enablestring=
11159 defaultval=$wxUSE_ALL_FEATURES
11160 if test -z "$defaultval"; then
11161 if test x"$enablestring" = xdisable; then
11162 defaultval=yes
11163 else
11164 defaultval=no
11165 fi
11166 fi
11167
11168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11169 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11170 # Check whether --enable-radiobtn was given.
11171 if test "${enable_radiobtn+set}" = set; then
11172 enableval=$enable_radiobtn;
11173 if test "$enableval" = yes; then
11174 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11175 else
11176 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11177 fi
11178
11179 else
11180
11181 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11182
11183 fi
11184
11185
11186 eval "$wx_cv_use_radiobtn"
11187
11188 if test x"$enablestring" = xdisable; then
11189 if test $wxUSE_RADIOBTN = yes; then
11190 result=no
11191 else
11192 result=yes
11193 fi
11194 else
11195 result=$wxUSE_RADIOBTN
11196 fi
11197
11198 { echo "$as_me:$LINENO: result: $result" >&5
11199 echo "${ECHO_T}$result" >&6; }
11200
11201
11202 enablestring=
11203 defaultval=$wxUSE_ALL_FEATURES
11204 if test -z "$defaultval"; then
11205 if test x"$enablestring" = xdisable; then
11206 defaultval=yes
11207 else
11208 defaultval=no
11209 fi
11210 fi
11211
11212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11213 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11214 # Check whether --enable-rearrangectrl was given.
11215 if test "${enable_rearrangectrl+set}" = set; then
11216 enableval=$enable_rearrangectrl;
11217 if test "$enableval" = yes; then
11218 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11219 else
11220 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11221 fi
11222
11223 else
11224
11225 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11226
11227 fi
11228
11229
11230 eval "$wx_cv_use_rearrangectrl"
11231
11232 if test x"$enablestring" = xdisable; then
11233 if test $wxUSE_REARRANGECTRL = yes; then
11234 result=no
11235 else
11236 result=yes
11237 fi
11238 else
11239 result=$wxUSE_REARRANGECTRL
11240 fi
11241
11242 { echo "$as_me:$LINENO: result: $result" >&5
11243 echo "${ECHO_T}$result" >&6; }
11244
11245
11246 enablestring=
11247 defaultval=$wxUSE_ALL_FEATURES
11248 if test -z "$defaultval"; then
11249 if test x"$enablestring" = xdisable; then
11250 defaultval=yes
11251 else
11252 defaultval=no
11253 fi
11254 fi
11255
11256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11257 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11258 # Check whether --enable-sash was given.
11259 if test "${enable_sash+set}" = set; then
11260 enableval=$enable_sash;
11261 if test "$enableval" = yes; then
11262 wx_cv_use_sash='wxUSE_SASH=yes'
11263 else
11264 wx_cv_use_sash='wxUSE_SASH=no'
11265 fi
11266
11267 else
11268
11269 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11270
11271 fi
11272
11273
11274 eval "$wx_cv_use_sash"
11275
11276 if test x"$enablestring" = xdisable; then
11277 if test $wxUSE_SASH = yes; then
11278 result=no
11279 else
11280 result=yes
11281 fi
11282 else
11283 result=$wxUSE_SASH
11284 fi
11285
11286 { echo "$as_me:$LINENO: result: $result" >&5
11287 echo "${ECHO_T}$result" >&6; }
11288
11289
11290 enablestring=
11291 defaultval=$wxUSE_ALL_FEATURES
11292 if test -z "$defaultval"; then
11293 if test x"$enablestring" = xdisable; then
11294 defaultval=yes
11295 else
11296 defaultval=no
11297 fi
11298 fi
11299
11300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11301 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11302 # Check whether --enable-scrollbar was given.
11303 if test "${enable_scrollbar+set}" = set; then
11304 enableval=$enable_scrollbar;
11305 if test "$enableval" = yes; then
11306 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11307 else
11308 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11309 fi
11310
11311 else
11312
11313 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11314
11315 fi
11316
11317
11318 eval "$wx_cv_use_scrollbar"
11319
11320 if test x"$enablestring" = xdisable; then
11321 if test $wxUSE_SCROLLBAR = yes; then
11322 result=no
11323 else
11324 result=yes
11325 fi
11326 else
11327 result=$wxUSE_SCROLLBAR
11328 fi
11329
11330 { echo "$as_me:$LINENO: result: $result" >&5
11331 echo "${ECHO_T}$result" >&6; }
11332
11333
11334 enablestring=
11335 defaultval=$wxUSE_ALL_FEATURES
11336 if test -z "$defaultval"; then
11337 if test x"$enablestring" = xdisable; then
11338 defaultval=yes
11339 else
11340 defaultval=no
11341 fi
11342 fi
11343
11344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11345 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11346 # Check whether --enable-searchctrl was given.
11347 if test "${enable_searchctrl+set}" = set; then
11348 enableval=$enable_searchctrl;
11349 if test "$enableval" = yes; then
11350 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11351 else
11352 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11353 fi
11354
11355 else
11356
11357 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11358
11359 fi
11360
11361
11362 eval "$wx_cv_use_searchctrl"
11363
11364 if test x"$enablestring" = xdisable; then
11365 if test $wxUSE_SEARCHCTRL = yes; then
11366 result=no
11367 else
11368 result=yes
11369 fi
11370 else
11371 result=$wxUSE_SEARCHCTRL
11372 fi
11373
11374 { echo "$as_me:$LINENO: result: $result" >&5
11375 echo "${ECHO_T}$result" >&6; }
11376
11377
11378 enablestring=
11379 defaultval=$wxUSE_ALL_FEATURES
11380 if test -z "$defaultval"; then
11381 if test x"$enablestring" = xdisable; then
11382 defaultval=yes
11383 else
11384 defaultval=no
11385 fi
11386 fi
11387
11388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11390 # Check whether --enable-slider was given.
11391 if test "${enable_slider+set}" = set; then
11392 enableval=$enable_slider;
11393 if test "$enableval" = yes; then
11394 wx_cv_use_slider='wxUSE_SLIDER=yes'
11395 else
11396 wx_cv_use_slider='wxUSE_SLIDER=no'
11397 fi
11398
11399 else
11400
11401 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11402
11403 fi
11404
11405
11406 eval "$wx_cv_use_slider"
11407
11408 if test x"$enablestring" = xdisable; then
11409 if test $wxUSE_SLIDER = yes; then
11410 result=no
11411 else
11412 result=yes
11413 fi
11414 else
11415 result=$wxUSE_SLIDER
11416 fi
11417
11418 { echo "$as_me:$LINENO: result: $result" >&5
11419 echo "${ECHO_T}$result" >&6; }
11420
11421
11422 enablestring=
11423 defaultval=$wxUSE_ALL_FEATURES
11424 if test -z "$defaultval"; then
11425 if test x"$enablestring" = xdisable; then
11426 defaultval=yes
11427 else
11428 defaultval=no
11429 fi
11430 fi
11431
11432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11434 # Check whether --enable-spinbtn was given.
11435 if test "${enable_spinbtn+set}" = set; then
11436 enableval=$enable_spinbtn;
11437 if test "$enableval" = yes; then
11438 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11439 else
11440 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11441 fi
11442
11443 else
11444
11445 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11446
11447 fi
11448
11449
11450 eval "$wx_cv_use_spinbtn"
11451
11452 if test x"$enablestring" = xdisable; then
11453 if test $wxUSE_SPINBTN = yes; then
11454 result=no
11455 else
11456 result=yes
11457 fi
11458 else
11459 result=$wxUSE_SPINBTN
11460 fi
11461
11462 { echo "$as_me:$LINENO: result: $result" >&5
11463 echo "${ECHO_T}$result" >&6; }
11464
11465
11466 enablestring=
11467 defaultval=$wxUSE_ALL_FEATURES
11468 if test -z "$defaultval"; then
11469 if test x"$enablestring" = xdisable; then
11470 defaultval=yes
11471 else
11472 defaultval=no
11473 fi
11474 fi
11475
11476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11478 # Check whether --enable-spinctrl was given.
11479 if test "${enable_spinctrl+set}" = set; then
11480 enableval=$enable_spinctrl;
11481 if test "$enableval" = yes; then
11482 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11483 else
11484 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11485 fi
11486
11487 else
11488
11489 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11490
11491 fi
11492
11493
11494 eval "$wx_cv_use_spinctrl"
11495
11496 if test x"$enablestring" = xdisable; then
11497 if test $wxUSE_SPINCTRL = yes; then
11498 result=no
11499 else
11500 result=yes
11501 fi
11502 else
11503 result=$wxUSE_SPINCTRL
11504 fi
11505
11506 { echo "$as_me:$LINENO: result: $result" >&5
11507 echo "${ECHO_T}$result" >&6; }
11508
11509
11510 enablestring=
11511 defaultval=$wxUSE_ALL_FEATURES
11512 if test -z "$defaultval"; then
11513 if test x"$enablestring" = xdisable; then
11514 defaultval=yes
11515 else
11516 defaultval=no
11517 fi
11518 fi
11519
11520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11522 # Check whether --enable-splitter was given.
11523 if test "${enable_splitter+set}" = set; then
11524 enableval=$enable_splitter;
11525 if test "$enableval" = yes; then
11526 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11527 else
11528 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11529 fi
11530
11531 else
11532
11533 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11534
11535 fi
11536
11537
11538 eval "$wx_cv_use_splitter"
11539
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_SPLITTER = yes; then
11542 result=no
11543 else
11544 result=yes
11545 fi
11546 else
11547 result=$wxUSE_SPLITTER
11548 fi
11549
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11552
11553
11554 enablestring=
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11558 defaultval=yes
11559 else
11560 defaultval=no
11561 fi
11562 fi
11563
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11566 # Check whether --enable-statbmp was given.
11567 if test "${enable_statbmp+set}" = set; then
11568 enableval=$enable_statbmp;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11571 else
11572 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11573 fi
11574
11575 else
11576
11577 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11578
11579 fi
11580
11581
11582 eval "$wx_cv_use_statbmp"
11583
11584 if test x"$enablestring" = xdisable; then
11585 if test $wxUSE_STATBMP = yes; then
11586 result=no
11587 else
11588 result=yes
11589 fi
11590 else
11591 result=$wxUSE_STATBMP
11592 fi
11593
11594 { echo "$as_me:$LINENO: result: $result" >&5
11595 echo "${ECHO_T}$result" >&6; }
11596
11597
11598 enablestring=
11599 defaultval=$wxUSE_ALL_FEATURES
11600 if test -z "$defaultval"; then
11601 if test x"$enablestring" = xdisable; then
11602 defaultval=yes
11603 else
11604 defaultval=no
11605 fi
11606 fi
11607
11608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11609 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11610 # Check whether --enable-statbox was given.
11611 if test "${enable_statbox+set}" = set; then
11612 enableval=$enable_statbox;
11613 if test "$enableval" = yes; then
11614 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11615 else
11616 wx_cv_use_statbox='wxUSE_STATBOX=no'
11617 fi
11618
11619 else
11620
11621 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11622
11623 fi
11624
11625
11626 eval "$wx_cv_use_statbox"
11627
11628 if test x"$enablestring" = xdisable; then
11629 if test $wxUSE_STATBOX = yes; then
11630 result=no
11631 else
11632 result=yes
11633 fi
11634 else
11635 result=$wxUSE_STATBOX
11636 fi
11637
11638 { echo "$as_me:$LINENO: result: $result" >&5
11639 echo "${ECHO_T}$result" >&6; }
11640
11641
11642 enablestring=
11643 defaultval=$wxUSE_ALL_FEATURES
11644 if test -z "$defaultval"; then
11645 if test x"$enablestring" = xdisable; then
11646 defaultval=yes
11647 else
11648 defaultval=no
11649 fi
11650 fi
11651
11652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11653 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11654 # Check whether --enable-statline was given.
11655 if test "${enable_statline+set}" = set; then
11656 enableval=$enable_statline;
11657 if test "$enableval" = yes; then
11658 wx_cv_use_statline='wxUSE_STATLINE=yes'
11659 else
11660 wx_cv_use_statline='wxUSE_STATLINE=no'
11661 fi
11662
11663 else
11664
11665 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11666
11667 fi
11668
11669
11670 eval "$wx_cv_use_statline"
11671
11672 if test x"$enablestring" = xdisable; then
11673 if test $wxUSE_STATLINE = yes; then
11674 result=no
11675 else
11676 result=yes
11677 fi
11678 else
11679 result=$wxUSE_STATLINE
11680 fi
11681
11682 { echo "$as_me:$LINENO: result: $result" >&5
11683 echo "${ECHO_T}$result" >&6; }
11684
11685
11686 enablestring=
11687 defaultval=$wxUSE_ALL_FEATURES
11688 if test -z "$defaultval"; then
11689 if test x"$enablestring" = xdisable; then
11690 defaultval=yes
11691 else
11692 defaultval=no
11693 fi
11694 fi
11695
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11698 # Check whether --enable-stattext was given.
11699 if test "${enable_stattext+set}" = set; then
11700 enableval=$enable_stattext;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11703 else
11704 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11705 fi
11706
11707 else
11708
11709 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11710
11711 fi
11712
11713
11714 eval "$wx_cv_use_stattext"
11715
11716 if test x"$enablestring" = xdisable; then
11717 if test $wxUSE_STATTEXT = yes; then
11718 result=no
11719 else
11720 result=yes
11721 fi
11722 else
11723 result=$wxUSE_STATTEXT
11724 fi
11725
11726 { echo "$as_me:$LINENO: result: $result" >&5
11727 echo "${ECHO_T}$result" >&6; }
11728
11729
11730 enablestring=
11731 defaultval=$wxUSE_ALL_FEATURES
11732 if test -z "$defaultval"; then
11733 if test x"$enablestring" = xdisable; then
11734 defaultval=yes
11735 else
11736 defaultval=no
11737 fi
11738 fi
11739
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11742 # Check whether --enable-statusbar was given.
11743 if test "${enable_statusbar+set}" = set; then
11744 enableval=$enable_statusbar;
11745 if test "$enableval" = yes; then
11746 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11747 else
11748 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11749 fi
11750
11751 else
11752
11753 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11754
11755 fi
11756
11757
11758 eval "$wx_cv_use_statusbar"
11759
11760 if test x"$enablestring" = xdisable; then
11761 if test $wxUSE_STATUSBAR = yes; then
11762 result=no
11763 else
11764 result=yes
11765 fi
11766 else
11767 result=$wxUSE_STATUSBAR
11768 fi
11769
11770 { echo "$as_me:$LINENO: result: $result" >&5
11771 echo "${ECHO_T}$result" >&6; }
11772
11773
11774 enablestring=
11775 defaultval=$wxUSE_ALL_FEATURES
11776 if test -z "$defaultval"; then
11777 if test x"$enablestring" = xdisable; then
11778 defaultval=yes
11779 else
11780 defaultval=no
11781 fi
11782 fi
11783
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11786 # Check whether --enable-taskbaricon was given.
11787 if test "${enable_taskbaricon+set}" = set; then
11788 enableval=$enable_taskbaricon;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11791 else
11792 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11793 fi
11794
11795 else
11796
11797 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11798
11799 fi
11800
11801
11802 eval "$wx_cv_use_taskbaricon"
11803
11804 if test x"$enablestring" = xdisable; then
11805 if test $wxUSE_TASKBARICON = yes; then
11806 result=no
11807 else
11808 result=yes
11809 fi
11810 else
11811 result=$wxUSE_TASKBARICON
11812 fi
11813
11814 { echo "$as_me:$LINENO: result: $result" >&5
11815 echo "${ECHO_T}$result" >&6; }
11816
11817
11818 enablestring=
11819 defaultval=$wxUSE_ALL_FEATURES
11820 if test -z "$defaultval"; then
11821 if test x"$enablestring" = xdisable; then
11822 defaultval=yes
11823 else
11824 defaultval=no
11825 fi
11826 fi
11827
11828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11829 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11830 # Check whether --enable-tbarnative was given.
11831 if test "${enable_tbarnative+set}" = set; then
11832 enableval=$enable_tbarnative;
11833 if test "$enableval" = yes; then
11834 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11835 else
11836 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11837 fi
11838
11839 else
11840
11841 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11842
11843 fi
11844
11845
11846 eval "$wx_cv_use_tbarnative"
11847
11848 if test x"$enablestring" = xdisable; then
11849 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11850 result=no
11851 else
11852 result=yes
11853 fi
11854 else
11855 result=$wxUSE_TOOLBAR_NATIVE
11856 fi
11857
11858 { echo "$as_me:$LINENO: result: $result" >&5
11859 echo "${ECHO_T}$result" >&6; }
11860
11861
11862 enablestring=
11863 defaultval=$wxUSE_ALL_FEATURES
11864 if test -z "$defaultval"; then
11865 if test x"$enablestring" = xdisable; then
11866 defaultval=yes
11867 else
11868 defaultval=no
11869 fi
11870 fi
11871
11872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11873 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11874 # Check whether --enable-textctrl was given.
11875 if test "${enable_textctrl+set}" = set; then
11876 enableval=$enable_textctrl;
11877 if test "$enableval" = yes; then
11878 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11879 else
11880 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11881 fi
11882
11883 else
11884
11885 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11886
11887 fi
11888
11889
11890 eval "$wx_cv_use_textctrl"
11891
11892 if test x"$enablestring" = xdisable; then
11893 if test $wxUSE_TEXTCTRL = yes; then
11894 result=no
11895 else
11896 result=yes
11897 fi
11898 else
11899 result=$wxUSE_TEXTCTRL
11900 fi
11901
11902 { echo "$as_me:$LINENO: result: $result" >&5
11903 echo "${ECHO_T}$result" >&6; }
11904
11905
11906 enablestring=
11907 defaultval=$wxUSE_ALL_FEATURES
11908 if test -z "$defaultval"; then
11909 if test x"$enablestring" = xdisable; then
11910 defaultval=yes
11911 else
11912 defaultval=no
11913 fi
11914 fi
11915
11916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11917 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11918 # Check whether --enable-tipwindow was given.
11919 if test "${enable_tipwindow+set}" = set; then
11920 enableval=$enable_tipwindow;
11921 if test "$enableval" = yes; then
11922 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11923 else
11924 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11925 fi
11926
11927 else
11928
11929 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11930
11931 fi
11932
11933
11934 eval "$wx_cv_use_tipwindow"
11935
11936 if test x"$enablestring" = xdisable; then
11937 if test $wxUSE_TIPWINDOW = yes; then
11938 result=no
11939 else
11940 result=yes
11941 fi
11942 else
11943 result=$wxUSE_TIPWINDOW
11944 fi
11945
11946 { echo "$as_me:$LINENO: result: $result" >&5
11947 echo "${ECHO_T}$result" >&6; }
11948
11949
11950 enablestring=
11951 defaultval=$wxUSE_ALL_FEATURES
11952 if test -z "$defaultval"; then
11953 if test x"$enablestring" = xdisable; then
11954 defaultval=yes
11955 else
11956 defaultval=no
11957 fi
11958 fi
11959
11960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11962 # Check whether --enable-togglebtn was given.
11963 if test "${enable_togglebtn+set}" = set; then
11964 enableval=$enable_togglebtn;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11967 else
11968 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11969 fi
11970
11971 else
11972
11973 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11974
11975 fi
11976
11977
11978 eval "$wx_cv_use_togglebtn"
11979
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_TOGGLEBTN = yes; then
11982 result=no
11983 else
11984 result=yes
11985 fi
11986 else
11987 result=$wxUSE_TOGGLEBTN
11988 fi
11989
11990 { echo "$as_me:$LINENO: result: $result" >&5
11991 echo "${ECHO_T}$result" >&6; }
11992
11993
11994 enablestring=
11995 defaultval=$wxUSE_ALL_FEATURES
11996 if test -z "$defaultval"; then
11997 if test x"$enablestring" = xdisable; then
11998 defaultval=yes
11999 else
12000 defaultval=no
12001 fi
12002 fi
12003
12004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12005 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12006 # Check whether --enable-toolbar was given.
12007 if test "${enable_toolbar+set}" = set; then
12008 enableval=$enable_toolbar;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12011 else
12012 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12013 fi
12014
12015 else
12016
12017 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12018
12019 fi
12020
12021
12022 eval "$wx_cv_use_toolbar"
12023
12024 if test x"$enablestring" = xdisable; then
12025 if test $wxUSE_TOOLBAR = yes; then
12026 result=no
12027 else
12028 result=yes
12029 fi
12030 else
12031 result=$wxUSE_TOOLBAR
12032 fi
12033
12034 { echo "$as_me:$LINENO: result: $result" >&5
12035 echo "${ECHO_T}$result" >&6; }
12036
12037
12038 enablestring=
12039 defaultval=$wxUSE_ALL_FEATURES
12040 if test -z "$defaultval"; then
12041 if test x"$enablestring" = xdisable; then
12042 defaultval=yes
12043 else
12044 defaultval=no
12045 fi
12046 fi
12047
12048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12049 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12050 # Check whether --enable-toolbook was given.
12051 if test "${enable_toolbook+set}" = set; then
12052 enableval=$enable_toolbook;
12053 if test "$enableval" = yes; then
12054 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12055 else
12056 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12057 fi
12058
12059 else
12060
12061 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12062
12063 fi
12064
12065
12066 eval "$wx_cv_use_toolbook"
12067
12068 if test x"$enablestring" = xdisable; then
12069 if test $wxUSE_TOOLBOOK = yes; then
12070 result=no
12071 else
12072 result=yes
12073 fi
12074 else
12075 result=$wxUSE_TOOLBOOK
12076 fi
12077
12078 { echo "$as_me:$LINENO: result: $result" >&5
12079 echo "${ECHO_T}$result" >&6; }
12080
12081
12082 enablestring=
12083 defaultval=$wxUSE_ALL_FEATURES
12084 if test -z "$defaultval"; then
12085 if test x"$enablestring" = xdisable; then
12086 defaultval=yes
12087 else
12088 defaultval=no
12089 fi
12090 fi
12091
12092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12093 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12094 # Check whether --enable-treebook was given.
12095 if test "${enable_treebook+set}" = set; then
12096 enableval=$enable_treebook;
12097 if test "$enableval" = yes; then
12098 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12099 else
12100 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12101 fi
12102
12103 else
12104
12105 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12106
12107 fi
12108
12109
12110 eval "$wx_cv_use_treebook"
12111
12112 if test x"$enablestring" = xdisable; then
12113 if test $wxUSE_TREEBOOK = yes; then
12114 result=no
12115 else
12116 result=yes
12117 fi
12118 else
12119 result=$wxUSE_TREEBOOK
12120 fi
12121
12122 { echo "$as_me:$LINENO: result: $result" >&5
12123 echo "${ECHO_T}$result" >&6; }
12124
12125
12126 enablestring=
12127 defaultval=$wxUSE_ALL_FEATURES
12128 if test -z "$defaultval"; then
12129 if test x"$enablestring" = xdisable; then
12130 defaultval=yes
12131 else
12132 defaultval=no
12133 fi
12134 fi
12135
12136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12137 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12138 # Check whether --enable-treectrl was given.
12139 if test "${enable_treectrl+set}" = set; then
12140 enableval=$enable_treectrl;
12141 if test "$enableval" = yes; then
12142 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12143 else
12144 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12145 fi
12146
12147 else
12148
12149 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12150
12151 fi
12152
12153
12154 eval "$wx_cv_use_treectrl"
12155
12156 if test x"$enablestring" = xdisable; then
12157 if test $wxUSE_TREECTRL = yes; then
12158 result=no
12159 else
12160 result=yes
12161 fi
12162 else
12163 result=$wxUSE_TREECTRL
12164 fi
12165
12166 { echo "$as_me:$LINENO: result: $result" >&5
12167 echo "${ECHO_T}$result" >&6; }
12168
12169
12170
12171
12172 enablestring=
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12176 defaultval=yes
12177 else
12178 defaultval=no
12179 fi
12180 fi
12181
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12184 # Check whether --enable-commondlg was given.
12185 if test "${enable_commondlg+set}" = set; then
12186 enableval=$enable_commondlg;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12189 else
12190 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12191 fi
12192
12193 else
12194
12195 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12196
12197 fi
12198
12199
12200 eval "$wx_cv_use_commondlg"
12201
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_COMMONDLGS = yes; then
12204 result=no
12205 else
12206 result=yes
12207 fi
12208 else
12209 result=$wxUSE_COMMONDLGS
12210 fi
12211
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12214
12215
12216 enablestring=
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12220 defaultval=yes
12221 else
12222 defaultval=no
12223 fi
12224 fi
12225
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12228 # Check whether --enable-aboutdlg was given.
12229 if test "${enable_aboutdlg+set}" = set; then
12230 enableval=$enable_aboutdlg;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12233 else
12234 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12235 fi
12236
12237 else
12238
12239 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12240
12241 fi
12242
12243
12244 eval "$wx_cv_use_aboutdlg"
12245
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_ABOUTDLG = yes; then
12248 result=no
12249 else
12250 result=yes
12251 fi
12252 else
12253 result=$wxUSE_ABOUTDLG
12254 fi
12255
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12258
12259
12260 enablestring=
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12264 defaultval=yes
12265 else
12266 defaultval=no
12267 fi
12268 fi
12269
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12272 # Check whether --enable-choicedlg was given.
12273 if test "${enable_choicedlg+set}" = set; then
12274 enableval=$enable_choicedlg;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12277 else
12278 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12279 fi
12280
12281 else
12282
12283 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12284
12285 fi
12286
12287
12288 eval "$wx_cv_use_choicedlg"
12289
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_CHOICEDLG = yes; then
12292 result=no
12293 else
12294 result=yes
12295 fi
12296 else
12297 result=$wxUSE_CHOICEDLG
12298 fi
12299
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12302
12303
12304 enablestring=
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12308 defaultval=yes
12309 else
12310 defaultval=no
12311 fi
12312 fi
12313
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12316 # Check whether --enable-coldlg was given.
12317 if test "${enable_coldlg+set}" = set; then
12318 enableval=$enable_coldlg;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12321 else
12322 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12323 fi
12324
12325 else
12326
12327 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_coldlg"
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_COLOURDLG = yes; then
12336 result=no
12337 else
12338 result=yes
12339 fi
12340 else
12341 result=$wxUSE_COLOURDLG
12342 fi
12343
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12346
12347
12348 enablestring=
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12352 defaultval=yes
12353 else
12354 defaultval=no
12355 fi
12356 fi
12357
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12360 # Check whether --enable-filedlg was given.
12361 if test "${enable_filedlg+set}" = set; then
12362 enableval=$enable_filedlg;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12365 else
12366 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12367 fi
12368
12369 else
12370
12371 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12372
12373 fi
12374
12375
12376 eval "$wx_cv_use_filedlg"
12377
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_FILEDLG = yes; then
12380 result=no
12381 else
12382 result=yes
12383 fi
12384 else
12385 result=$wxUSE_FILEDLG
12386 fi
12387
12388 { echo "$as_me:$LINENO: result: $result" >&5
12389 echo "${ECHO_T}$result" >&6; }
12390
12391
12392 enablestring=
12393 defaultval=$wxUSE_ALL_FEATURES
12394 if test -z "$defaultval"; then
12395 if test x"$enablestring" = xdisable; then
12396 defaultval=yes
12397 else
12398 defaultval=no
12399 fi
12400 fi
12401
12402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12403 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12404 # Check whether --enable-finddlg was given.
12405 if test "${enable_finddlg+set}" = set; then
12406 enableval=$enable_finddlg;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12409 else
12410 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12411 fi
12412
12413 else
12414
12415 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12416
12417 fi
12418
12419
12420 eval "$wx_cv_use_finddlg"
12421
12422 if test x"$enablestring" = xdisable; then
12423 if test $wxUSE_FINDREPLDLG = yes; then
12424 result=no
12425 else
12426 result=yes
12427 fi
12428 else
12429 result=$wxUSE_FINDREPLDLG
12430 fi
12431
12432 { echo "$as_me:$LINENO: result: $result" >&5
12433 echo "${ECHO_T}$result" >&6; }
12434
12435
12436 enablestring=
12437 defaultval=$wxUSE_ALL_FEATURES
12438 if test -z "$defaultval"; then
12439 if test x"$enablestring" = xdisable; then
12440 defaultval=yes
12441 else
12442 defaultval=no
12443 fi
12444 fi
12445
12446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12448 # Check whether --enable-fontdlg was given.
12449 if test "${enable_fontdlg+set}" = set; then
12450 enableval=$enable_fontdlg;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12453 else
12454 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12455 fi
12456
12457 else
12458
12459 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12460
12461 fi
12462
12463
12464 eval "$wx_cv_use_fontdlg"
12465
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_FONTDLG = yes; then
12468 result=no
12469 else
12470 result=yes
12471 fi
12472 else
12473 result=$wxUSE_FONTDLG
12474 fi
12475
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12478
12479
12480 enablestring=
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12484 defaultval=yes
12485 else
12486 defaultval=no
12487 fi
12488 fi
12489
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12492 # Check whether --enable-dirdlg was given.
12493 if test "${enable_dirdlg+set}" = set; then
12494 enableval=$enable_dirdlg;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12497 else
12498 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12499 fi
12500
12501 else
12502
12503 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12504
12505 fi
12506
12507
12508 eval "$wx_cv_use_dirdlg"
12509
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_DIRDLG = yes; then
12512 result=no
12513 else
12514 result=yes
12515 fi
12516 else
12517 result=$wxUSE_DIRDLG
12518 fi
12519
12520 { echo "$as_me:$LINENO: result: $result" >&5
12521 echo "${ECHO_T}$result" >&6; }
12522
12523
12524 enablestring=
12525 defaultval=$wxUSE_ALL_FEATURES
12526 if test -z "$defaultval"; then
12527 if test x"$enablestring" = xdisable; then
12528 defaultval=yes
12529 else
12530 defaultval=no
12531 fi
12532 fi
12533
12534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12535 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12536 # Check whether --enable-msgdlg was given.
12537 if test "${enable_msgdlg+set}" = set; then
12538 enableval=$enable_msgdlg;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12541 else
12542 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12543 fi
12544
12545 else
12546
12547 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12548
12549 fi
12550
12551
12552 eval "$wx_cv_use_msgdlg"
12553
12554 if test x"$enablestring" = xdisable; then
12555 if test $wxUSE_MSGDLG = yes; then
12556 result=no
12557 else
12558 result=yes
12559 fi
12560 else
12561 result=$wxUSE_MSGDLG
12562 fi
12563
12564 { echo "$as_me:$LINENO: result: $result" >&5
12565 echo "${ECHO_T}$result" >&6; }
12566
12567
12568 enablestring=
12569 defaultval=$wxUSE_ALL_FEATURES
12570 if test -z "$defaultval"; then
12571 if test x"$enablestring" = xdisable; then
12572 defaultval=yes
12573 else
12574 defaultval=no
12575 fi
12576 fi
12577
12578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12580 # Check whether --enable-numberdlg was given.
12581 if test "${enable_numberdlg+set}" = set; then
12582 enableval=$enable_numberdlg;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12585 else
12586 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12587 fi
12588
12589 else
12590
12591 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12592
12593 fi
12594
12595
12596 eval "$wx_cv_use_numberdlg"
12597
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_NUMBERDLG = yes; then
12600 result=no
12601 else
12602 result=yes
12603 fi
12604 else
12605 result=$wxUSE_NUMBERDLG
12606 fi
12607
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12610
12611
12612 enablestring=
12613 defaultval=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x"$enablestring" = xdisable; then
12616 defaultval=yes
12617 else
12618 defaultval=no
12619 fi
12620 fi
12621
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12624 # Check whether --enable-splash was given.
12625 if test "${enable_splash+set}" = set; then
12626 enableval=$enable_splash;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_splash='wxUSE_SPLASH=yes'
12629 else
12630 wx_cv_use_splash='wxUSE_SPLASH=no'
12631 fi
12632
12633 else
12634
12635 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12636
12637 fi
12638
12639
12640 eval "$wx_cv_use_splash"
12641
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_SPLASH = yes; then
12644 result=no
12645 else
12646 result=yes
12647 fi
12648 else
12649 result=$wxUSE_SPLASH
12650 fi
12651
12652 { echo "$as_me:$LINENO: result: $result" >&5
12653 echo "${ECHO_T}$result" >&6; }
12654
12655
12656 enablestring=
12657 defaultval=$wxUSE_ALL_FEATURES
12658 if test -z "$defaultval"; then
12659 if test x"$enablestring" = xdisable; then
12660 defaultval=yes
12661 else
12662 defaultval=no
12663 fi
12664 fi
12665
12666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12668 # Check whether --enable-textdlg was given.
12669 if test "${enable_textdlg+set}" = set; then
12670 enableval=$enable_textdlg;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12673 else
12674 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12675 fi
12676
12677 else
12678
12679 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12680
12681 fi
12682
12683
12684 eval "$wx_cv_use_textdlg"
12685
12686 if test x"$enablestring" = xdisable; then
12687 if test $wxUSE_TEXTDLG = yes; then
12688 result=no
12689 else
12690 result=yes
12691 fi
12692 else
12693 result=$wxUSE_TEXTDLG
12694 fi
12695
12696 { echo "$as_me:$LINENO: result: $result" >&5
12697 echo "${ECHO_T}$result" >&6; }
12698
12699
12700 enablestring=
12701 defaultval=$wxUSE_ALL_FEATURES
12702 if test -z "$defaultval"; then
12703 if test x"$enablestring" = xdisable; then
12704 defaultval=yes
12705 else
12706 defaultval=no
12707 fi
12708 fi
12709
12710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12712 # Check whether --enable-tipdlg was given.
12713 if test "${enable_tipdlg+set}" = set; then
12714 enableval=$enable_tipdlg;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12717 else
12718 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12719 fi
12720
12721 else
12722
12723 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12724
12725 fi
12726
12727
12728 eval "$wx_cv_use_tipdlg"
12729
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_STARTUP_TIPS = yes; then
12732 result=no
12733 else
12734 result=yes
12735 fi
12736 else
12737 result=$wxUSE_STARTUP_TIPS
12738 fi
12739
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12742
12743
12744 enablestring=
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12748 defaultval=yes
12749 else
12750 defaultval=no
12751 fi
12752 fi
12753
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12756 # Check whether --enable-progressdlg was given.
12757 if test "${enable_progressdlg+set}" = set; then
12758 enableval=$enable_progressdlg;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12761 else
12762 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12763 fi
12764
12765 else
12766
12767 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12768
12769 fi
12770
12771
12772 eval "$wx_cv_use_progressdlg"
12773
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_PROGRESSDLG = yes; then
12776 result=no
12777 else
12778 result=yes
12779 fi
12780 else
12781 result=$wxUSE_PROGRESSDLG
12782 fi
12783
12784 { echo "$as_me:$LINENO: result: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12786
12787
12788 enablestring=
12789 defaultval=$wxUSE_ALL_FEATURES
12790 if test -z "$defaultval"; then
12791 if test x"$enablestring" = xdisable; then
12792 defaultval=yes
12793 else
12794 defaultval=no
12795 fi
12796 fi
12797
12798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12799 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12800 # Check whether --enable-wizarddlg was given.
12801 if test "${enable_wizarddlg+set}" = set; then
12802 enableval=$enable_wizarddlg;
12803 if test "$enableval" = yes; then
12804 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12805 else
12806 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12807 fi
12808
12809 else
12810
12811 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12812
12813 fi
12814
12815
12816 eval "$wx_cv_use_wizarddlg"
12817
12818 if test x"$enablestring" = xdisable; then
12819 if test $wxUSE_WIZARDDLG = yes; then
12820 result=no
12821 else
12822 result=yes
12823 fi
12824 else
12825 result=$wxUSE_WIZARDDLG
12826 fi
12827
12828 { echo "$as_me:$LINENO: result: $result" >&5
12829 echo "${ECHO_T}$result" >&6; }
12830
12831
12832
12833
12834 enablestring=
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12838 defaultval=yes
12839 else
12840 defaultval=no
12841 fi
12842 fi
12843
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12846 # Check whether --enable-menus was given.
12847 if test "${enable_menus+set}" = set; then
12848 enableval=$enable_menus;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_menus='wxUSE_MENUS=yes'
12851 else
12852 wx_cv_use_menus='wxUSE_MENUS=no'
12853 fi
12854
12855 else
12856
12857 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_menus"
12863
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_MENUS = yes; then
12866 result=no
12867 else
12868 result=yes
12869 fi
12870 else
12871 result=$wxUSE_MENUS
12872 fi
12873
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12876
12877
12878 enablestring=
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12882 defaultval=yes
12883 else
12884 defaultval=no
12885 fi
12886 fi
12887
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12890 # Check whether --enable-miniframe was given.
12891 if test "${enable_miniframe+set}" = set; then
12892 enableval=$enable_miniframe;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12895 else
12896 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12897 fi
12898
12899 else
12900
12901 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12902
12903 fi
12904
12905
12906 eval "$wx_cv_use_miniframe"
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_MINIFRAME = yes; then
12910 result=no
12911 else
12912 result=yes
12913 fi
12914 else
12915 result=$wxUSE_MINIFRAME
12916 fi
12917
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12920
12921
12922 enablestring=
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12926 defaultval=yes
12927 else
12928 defaultval=no
12929 fi
12930 fi
12931
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12934 # Check whether --enable-tooltips was given.
12935 if test "${enable_tooltips+set}" = set; then
12936 enableval=$enable_tooltips;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12939 else
12940 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12941 fi
12942
12943 else
12944
12945 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12946
12947 fi
12948
12949
12950 eval "$wx_cv_use_tooltips"
12951
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_TOOLTIPS = yes; then
12954 result=no
12955 else
12956 result=yes
12957 fi
12958 else
12959 result=$wxUSE_TOOLTIPS
12960 fi
12961
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12964
12965
12966 enablestring=
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12970 defaultval=yes
12971 else
12972 defaultval=no
12973 fi
12974 fi
12975
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12978 # Check whether --enable-splines was given.
12979 if test "${enable_splines+set}" = set; then
12980 enableval=$enable_splines;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_splines='wxUSE_SPLINES=yes'
12983 else
12984 wx_cv_use_splines='wxUSE_SPLINES=no'
12985 fi
12986
12987 else
12988
12989 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12990
12991 fi
12992
12993
12994 eval "$wx_cv_use_splines"
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_SPLINES = yes; then
12998 result=no
12999 else
13000 result=yes
13001 fi
13002 else
13003 result=$wxUSE_SPLINES
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13022 # Check whether --enable-mousewheel was given.
13023 if test "${enable_mousewheel+set}" = set; then
13024 enableval=$enable_mousewheel;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13027 else
13028 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13029 fi
13030
13031 else
13032
13033 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13034
13035 fi
13036
13037
13038 eval "$wx_cv_use_mousewheel"
13039
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_MOUSEWHEEL = yes; then
13042 result=no
13043 else
13044 result=yes
13045 fi
13046 else
13047 result=$wxUSE_MOUSEWHEEL
13048 fi
13049
13050 { echo "$as_me:$LINENO: result: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13052
13053
13054 enablestring=
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13058 defaultval=yes
13059 else
13060 defaultval=no
13061 fi
13062 fi
13063
13064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13065 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13066 # Check whether --enable-validators was given.
13067 if test "${enable_validators+set}" = set; then
13068 enableval=$enable_validators;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13071 else
13072 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13073 fi
13074
13075 else
13076
13077 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13078
13079 fi
13080
13081
13082 eval "$wx_cv_use_validators"
13083
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_VALIDATORS = yes; then
13086 result=no
13087 else
13088 result=yes
13089 fi
13090 else
13091 result=$wxUSE_VALIDATORS
13092 fi
13093
13094 { echo "$as_me:$LINENO: result: $result" >&5
13095 echo "${ECHO_T}$result" >&6; }
13096
13097
13098 enablestring=
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13102 defaultval=yes
13103 else
13104 defaultval=no
13105 fi
13106 fi
13107
13108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13110 # Check whether --enable-busyinfo was given.
13111 if test "${enable_busyinfo+set}" = set; then
13112 enableval=$enable_busyinfo;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13115 else
13116 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13117 fi
13118
13119 else
13120
13121 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13122
13123 fi
13124
13125
13126 eval "$wx_cv_use_busyinfo"
13127
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_BUSYINFO = yes; then
13130 result=no
13131 else
13132 result=yes
13133 fi
13134 else
13135 result=$wxUSE_BUSYINFO
13136 fi
13137
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13140
13141
13142 enablestring=
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13146 defaultval=yes
13147 else
13148 defaultval=no
13149 fi
13150 fi
13151
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13154 # Check whether --enable-joystick was given.
13155 if test "${enable_joystick+set}" = set; then
13156 enableval=$enable_joystick;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13159 else
13160 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13161 fi
13162
13163 else
13164
13165 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13166
13167 fi
13168
13169
13170 eval "$wx_cv_use_joystick"
13171
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_JOYSTICK = yes; then
13174 result=no
13175 else
13176 result=yes
13177 fi
13178 else
13179 result=$wxUSE_JOYSTICK
13180 fi
13181
13182 { echo "$as_me:$LINENO: result: $result" >&5
13183 echo "${ECHO_T}$result" >&6; }
13184
13185
13186 enablestring=
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13190 defaultval=yes
13191 else
13192 defaultval=no
13193 fi
13194 fi
13195
13196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13197 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13198 # Check whether --enable-metafile was given.
13199 if test "${enable_metafile+set}" = set; then
13200 enableval=$enable_metafile;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13203 else
13204 wx_cv_use_metafile='wxUSE_METAFILE=no'
13205 fi
13206
13207 else
13208
13209 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13210
13211 fi
13212
13213
13214 eval "$wx_cv_use_metafile"
13215
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_METAFILE = yes; then
13218 result=no
13219 else
13220 result=yes
13221 fi
13222 else
13223 result=$wxUSE_METAFILE
13224 fi
13225
13226 { echo "$as_me:$LINENO: result: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13228
13229
13230 enablestring=
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13234 defaultval=yes
13235 else
13236 defaultval=no
13237 fi
13238 fi
13239
13240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13242 # Check whether --enable-dragimage was given.
13243 if test "${enable_dragimage+set}" = set; then
13244 enableval=$enable_dragimage;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13247 else
13248 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13249 fi
13250
13251 else
13252
13253 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13254
13255 fi
13256
13257
13258 eval "$wx_cv_use_dragimage"
13259
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_DRAGIMAGE = yes; then
13262 result=no
13263 else
13264 result=yes
13265 fi
13266 else
13267 result=$wxUSE_DRAGIMAGE
13268 fi
13269
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13272
13273
13274 enablestring=
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13278 defaultval=yes
13279 else
13280 defaultval=no
13281 fi
13282 fi
13283
13284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13285 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13286 # Check whether --enable-accessibility was given.
13287 if test "${enable_accessibility+set}" = set; then
13288 enableval=$enable_accessibility;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13291 else
13292 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13293 fi
13294
13295 else
13296
13297 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13298
13299 fi
13300
13301
13302 eval "$wx_cv_use_accessibility"
13303
13304 if test x"$enablestring" = xdisable; then
13305 if test $wxUSE_ACCESSIBILITY = yes; then
13306 result=no
13307 else
13308 result=yes
13309 fi
13310 else
13311 result=$wxUSE_ACCESSIBILITY
13312 fi
13313
13314 { echo "$as_me:$LINENO: result: $result" >&5
13315 echo "${ECHO_T}$result" >&6; }
13316
13317
13318
13319
13320 enablestring=
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13324 defaultval=yes
13325 else
13326 defaultval=no
13327 fi
13328 fi
13329
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13332 # Check whether --enable-palette was given.
13333 if test "${enable_palette+set}" = set; then
13334 enableval=$enable_palette;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_palette='wxUSE_PALETTE=yes'
13337 else
13338 wx_cv_use_palette='wxUSE_PALETTE=no'
13339 fi
13340
13341 else
13342
13343 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13344
13345 fi
13346
13347
13348 eval "$wx_cv_use_palette"
13349
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_PALETTE = yes; then
13352 result=no
13353 else
13354 result=yes
13355 fi
13356 else
13357 result=$wxUSE_PALETTE
13358 fi
13359
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13362
13363
13364 enablestring=
13365 defaultval=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x"$enablestring" = xdisable; then
13368 defaultval=yes
13369 else
13370 defaultval=no
13371 fi
13372 fi
13373
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13376 # Check whether --enable-image was given.
13377 if test "${enable_image+set}" = set; then
13378 enableval=$enable_image;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_image='wxUSE_IMAGE=yes'
13381 else
13382 wx_cv_use_image='wxUSE_IMAGE=no'
13383 fi
13384
13385 else
13386
13387 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13388
13389 fi
13390
13391
13392 eval "$wx_cv_use_image"
13393
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_IMAGE = yes; then
13396 result=no
13397 else
13398 result=yes
13399 fi
13400 else
13401 result=$wxUSE_IMAGE
13402 fi
13403
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13406
13407
13408 enablestring=
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13412 defaultval=yes
13413 else
13414 defaultval=no
13415 fi
13416 fi
13417
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13420 # Check whether --enable-gif was given.
13421 if test "${enable_gif+set}" = set; then
13422 enableval=$enable_gif;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_gif='wxUSE_GIF=yes'
13425 else
13426 wx_cv_use_gif='wxUSE_GIF=no'
13427 fi
13428
13429 else
13430
13431 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13432
13433 fi
13434
13435
13436 eval "$wx_cv_use_gif"
13437
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_GIF = yes; then
13440 result=no
13441 else
13442 result=yes
13443 fi
13444 else
13445 result=$wxUSE_GIF
13446 fi
13447
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13450
13451
13452 enablestring=
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13456 defaultval=yes
13457 else
13458 defaultval=no
13459 fi
13460 fi
13461
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13464 # Check whether --enable-pcx was given.
13465 if test "${enable_pcx+set}" = set; then
13466 enableval=$enable_pcx;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_pcx='wxUSE_PCX=yes'
13469 else
13470 wx_cv_use_pcx='wxUSE_PCX=no'
13471 fi
13472
13473 else
13474
13475 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13476
13477 fi
13478
13479
13480 eval "$wx_cv_use_pcx"
13481
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_PCX = yes; then
13484 result=no
13485 else
13486 result=yes
13487 fi
13488 else
13489 result=$wxUSE_PCX
13490 fi
13491
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13494
13495
13496 enablestring=
13497 defaultval=$wxUSE_ALL_FEATURES
13498 if test -z "$defaultval"; then
13499 if test x"$enablestring" = xdisable; then
13500 defaultval=yes
13501 else
13502 defaultval=no
13503 fi
13504 fi
13505
13506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13507 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13508 # Check whether --enable-tga was given.
13509 if test "${enable_tga+set}" = set; then
13510 enableval=$enable_tga;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_tga='wxUSE_TGA=yes'
13513 else
13514 wx_cv_use_tga='wxUSE_TGA=no'
13515 fi
13516
13517 else
13518
13519 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13520
13521 fi
13522
13523
13524 eval "$wx_cv_use_tga"
13525
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_TGA = yes; then
13528 result=no
13529 else
13530 result=yes
13531 fi
13532 else
13533 result=$wxUSE_TGA
13534 fi
13535
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13538
13539
13540 enablestring=
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13544 defaultval=yes
13545 else
13546 defaultval=no
13547 fi
13548 fi
13549
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13552 # Check whether --enable-iff was given.
13553 if test "${enable_iff+set}" = set; then
13554 enableval=$enable_iff;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_iff='wxUSE_IFF=yes'
13557 else
13558 wx_cv_use_iff='wxUSE_IFF=no'
13559 fi
13560
13561 else
13562
13563 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13564
13565 fi
13566
13567
13568 eval "$wx_cv_use_iff"
13569
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_IFF = yes; then
13572 result=no
13573 else
13574 result=yes
13575 fi
13576 else
13577 result=$wxUSE_IFF
13578 fi
13579
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13582
13583
13584 enablestring=
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13588 defaultval=yes
13589 else
13590 defaultval=no
13591 fi
13592 fi
13593
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13596 # Check whether --enable-pnm was given.
13597 if test "${enable_pnm+set}" = set; then
13598 enableval=$enable_pnm;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_pnm='wxUSE_PNM=yes'
13601 else
13602 wx_cv_use_pnm='wxUSE_PNM=no'
13603 fi
13604
13605 else
13606
13607 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_pnm"
13613
13614 if test x"$enablestring" = xdisable; then
13615 if test $wxUSE_PNM = yes; then
13616 result=no
13617 else
13618 result=yes
13619 fi
13620 else
13621 result=$wxUSE_PNM
13622 fi
13623
13624 { echo "$as_me:$LINENO: result: $result" >&5
13625 echo "${ECHO_T}$result" >&6; }
13626
13627
13628 enablestring=
13629 defaultval=$wxUSE_ALL_FEATURES
13630 if test -z "$defaultval"; then
13631 if test x"$enablestring" = xdisable; then
13632 defaultval=yes
13633 else
13634 defaultval=no
13635 fi
13636 fi
13637
13638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13639 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13640 # Check whether --enable-xpm was given.
13641 if test "${enable_xpm+set}" = set; then
13642 enableval=$enable_xpm;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_xpm='wxUSE_XPM=yes'
13645 else
13646 wx_cv_use_xpm='wxUSE_XPM=no'
13647 fi
13648
13649 else
13650
13651 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13652
13653 fi
13654
13655
13656 eval "$wx_cv_use_xpm"
13657
13658 if test x"$enablestring" = xdisable; then
13659 if test $wxUSE_XPM = yes; then
13660 result=no
13661 else
13662 result=yes
13663 fi
13664 else
13665 result=$wxUSE_XPM
13666 fi
13667
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13670
13671
13672 enablestring=
13673 defaultval=$wxUSE_ALL_FEATURES
13674 if test -z "$defaultval"; then
13675 if test x"$enablestring" = xdisable; then
13676 defaultval=yes
13677 else
13678 defaultval=no
13679 fi
13680 fi
13681
13682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13683 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13684 # Check whether --enable-ico_cur was given.
13685 if test "${enable_ico_cur+set}" = set; then
13686 enableval=$enable_ico_cur;
13687 if test "$enableval" = yes; then
13688 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13689 else
13690 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13691 fi
13692
13693 else
13694
13695 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13696
13697 fi
13698
13699
13700 eval "$wx_cv_use_ico_cur"
13701
13702 if test x"$enablestring" = xdisable; then
13703 if test $wxUSE_ICO_CUR = yes; then
13704 result=no
13705 else
13706 result=yes
13707 fi
13708 else
13709 result=$wxUSE_ICO_CUR
13710 fi
13711
13712 { echo "$as_me:$LINENO: result: $result" >&5
13713 echo "${ECHO_T}$result" >&6; }
13714
13715
13716
13717
13718 enablestring=
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13722 defaultval=yes
13723 else
13724 defaultval=no
13725 fi
13726 fi
13727
13728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13730 # Check whether --enable-dccache was given.
13731 if test "${enable_dccache+set}" = set; then
13732 enableval=$enable_dccache;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13735 else
13736 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13737 fi
13738
13739 else
13740
13741 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13742
13743 fi
13744
13745
13746 eval "$wx_cv_use_dccache"
13747
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_DC_CACHEING = yes; then
13750 result=no
13751 else
13752 result=yes
13753 fi
13754 else
13755 result=$wxUSE_DC_CACHEING
13756 fi
13757
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13760
13761
13762 enablestring=
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13766 defaultval=yes
13767 else
13768 defaultval=no
13769 fi
13770 fi
13771
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13774 # Check whether --enable-ps-in-msw was given.
13775 if test "${enable_ps_in_msw+set}" = set; then
13776 enableval=$enable_ps_in_msw;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13779 else
13780 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13781 fi
13782
13783 else
13784
13785 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_ps_in_msw"
13791
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13794 result=no
13795 else
13796 result=yes
13797 fi
13798 else
13799 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13800 fi
13801
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13804
13805
13806 enablestring=
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13810 defaultval=yes
13811 else
13812 defaultval=no
13813 fi
13814 fi
13815
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13818 # Check whether --enable-ownerdrawn was given.
13819 if test "${enable_ownerdrawn+set}" = set; then
13820 enableval=$enable_ownerdrawn;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13823 else
13824 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13825 fi
13826
13827 else
13828
13829 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13830
13831 fi
13832
13833
13834 eval "$wx_cv_use_ownerdrawn"
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_OWNER_DRAWN = yes; then
13838 result=no
13839 else
13840 result=yes
13841 fi
13842 else
13843 result=$wxUSE_OWNER_DRAWN
13844 fi
13845
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13862 # Check whether --enable-uxtheme was given.
13863 if test "${enable_uxtheme+set}" = set; then
13864 enableval=$enable_uxtheme;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13867 else
13868 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_uxtheme"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_UXTHEME = yes; then
13882 result=no
13883 else
13884 result=yes
13885 fi
13886 else
13887 result=$wxUSE_UXTHEME
13888 fi
13889
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13892
13893
13894 enablestring=
13895 defaultval=$wxUSE_ALL_FEATURES
13896 if test -z "$defaultval"; then
13897 if test x"$enablestring" = xdisable; then
13898 defaultval=yes
13899 else
13900 defaultval=no
13901 fi
13902 fi
13903
13904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13905 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13906 # Check whether --enable-wxdib was given.
13907 if test "${enable_wxdib+set}" = set; then
13908 enableval=$enable_wxdib;
13909 if test "$enableval" = yes; then
13910 wx_cv_use_wxdib='wxUSE_DIB=yes'
13911 else
13912 wx_cv_use_wxdib='wxUSE_DIB=no'
13913 fi
13914
13915 else
13916
13917 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13918
13919 fi
13920
13921
13922 eval "$wx_cv_use_wxdib"
13923
13924 if test x"$enablestring" = xdisable; then
13925 if test $wxUSE_DIB = yes; then
13926 result=no
13927 else
13928 result=yes
13929 fi
13930 else
13931 result=$wxUSE_DIB
13932 fi
13933
13934 { echo "$as_me:$LINENO: result: $result" >&5
13935 echo "${ECHO_T}$result" >&6; }
13936
13937
13938 if test "$wxUSE_MSW" != 1; then
13939 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13940 fi
13941
13942
13943 enablestring=
13944 defaultval=$wxUSE_ALL_FEATURES
13945 if test -z "$defaultval"; then
13946 if test x"$enablestring" = xdisable; then
13947 defaultval=yes
13948 else
13949 defaultval=no
13950 fi
13951 fi
13952
13953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13954 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13955 # Check whether --enable-autoidman was given.
13956 if test "${enable_autoidman+set}" = set; then
13957 enableval=$enable_autoidman;
13958 if test "$enableval" = yes; then
13959 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13960 else
13961 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13962 fi
13963
13964 else
13965
13966 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13967
13968 fi
13969
13970
13971 eval "$wx_cv_use_autoidman"
13972
13973 if test x"$enablestring" = xdisable; then
13974 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13975 result=no
13976 else
13977 result=yes
13978 fi
13979 else
13980 result=$wxUSE_AUTOID_MANAGEMENT
13981 fi
13982
13983 { echo "$as_me:$LINENO: result: $result" >&5
13984 echo "${ECHO_T}$result" >&6; }
13985
13986
13987 fi
13988
13989
13990 cat >confcache <<\_ACEOF
13991 # This file is a shell script that caches the results of configure
13992 # tests run on this system so they can be shared between configure
13993 # scripts and configure runs, see configure's option --config-cache.
13994 # It is not useful on other systems. If it contains results you don't
13995 # want to keep, you may remove or edit it.
13996 #
13997 # config.status only pays attention to the cache file if you give it
13998 # the --recheck option to rerun configure.
13999 #
14000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14002 # following values.
14003
14004 _ACEOF
14005
14006 # The following way of writing the cache mishandles newlines in values,
14007 # but we know of no workaround that is simple, portable, and efficient.
14008 # So, we kill variables containing newlines.
14009 # Ultrix sh set writes to stderr and can't be redirected directly,
14010 # and sets the high bit in the cache file unless we assign to the vars.
14011 (
14012 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14013 eval ac_val=\$$ac_var
14014 case $ac_val in #(
14015 *${as_nl}*)
14016 case $ac_var in #(
14017 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14018 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14019 esac
14020 case $ac_var in #(
14021 _ | IFS | as_nl) ;; #(
14022 *) $as_unset $ac_var ;;
14023 esac ;;
14024 esac
14025 done
14026
14027 (set) 2>&1 |
14028 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14029 *${as_nl}ac_space=\ *)
14030 # `set' does not quote correctly, so add quotes (double-quote
14031 # substitution turns \\\\ into \\, and sed turns \\ into \).
14032 sed -n \
14033 "s/'/'\\\\''/g;
14034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14035 ;; #(
14036 *)
14037 # `set' quotes correctly as required by POSIX, so do not add quotes.
14038 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14039 ;;
14040 esac |
14041 sort
14042 ) |
14043 sed '
14044 /^ac_cv_env_/b end
14045 t clear
14046 :clear
14047 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14048 t end
14049 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14050 :end' >>confcache
14051 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14052 if test -w "$cache_file"; then
14053 test "x$cache_file" != "x/dev/null" &&
14054 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14055 echo "$as_me: updating cache $cache_file" >&6;}
14056 cat confcache >$cache_file
14057 else
14058 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14059 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14060 fi
14061 fi
14062 rm -f confcache
14063
14064 CFLAGS=${CFLAGS:=}
14065
14066
14067
14068 ac_ext=c
14069 ac_cpp='$CPP $CPPFLAGS'
14070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14073 if test -n "$ac_tool_prefix"; then
14074 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14075 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14078 if test "${ac_cv_prog_CC+set}" = set; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 else
14081 if test -n "$CC"; then
14082 ac_cv_prog_CC="$CC" # Let the user override the test.
14083 else
14084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14085 for as_dir in $PATH
14086 do
14087 IFS=$as_save_IFS
14088 test -z "$as_dir" && as_dir=.
14089 for ac_exec_ext in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14093 break 2
14094 fi
14095 done
14096 done
14097 IFS=$as_save_IFS
14098
14099 fi
14100 fi
14101 CC=$ac_cv_prog_CC
14102 if test -n "$CC"; then
14103 { echo "$as_me:$LINENO: result: $CC" >&5
14104 echo "${ECHO_T}$CC" >&6; }
14105 else
14106 { echo "$as_me:$LINENO: result: no" >&5
14107 echo "${ECHO_T}no" >&6; }
14108 fi
14109
14110
14111 fi
14112 if test -z "$ac_cv_prog_CC"; then
14113 ac_ct_CC=$CC
14114 # Extract the first word of "gcc", so it can be a program name with args.
14115 set dummy gcc; ac_word=$2
14116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14118 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 if test -n "$ac_ct_CC"; then
14122 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14123 else
14124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14125 for as_dir in $PATH
14126 do
14127 IFS=$as_save_IFS
14128 test -z "$as_dir" && as_dir=.
14129 for ac_exec_ext in '' $ac_executable_extensions; do
14130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14131 ac_cv_prog_ac_ct_CC="gcc"
14132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14133 break 2
14134 fi
14135 done
14136 done
14137 IFS=$as_save_IFS
14138
14139 fi
14140 fi
14141 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14142 if test -n "$ac_ct_CC"; then
14143 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14144 echo "${ECHO_T}$ac_ct_CC" >&6; }
14145 else
14146 { echo "$as_me:$LINENO: result: no" >&5
14147 echo "${ECHO_T}no" >&6; }
14148 fi
14149
14150 if test "x$ac_ct_CC" = x; then
14151 CC=""
14152 else
14153 case $cross_compiling:$ac_tool_warned in
14154 yes:)
14155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14156 whose name does not start with the host triplet. If you think this
14157 configuration is useful to you, please write to autoconf@gnu.org." >&5
14158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14159 whose name does not start with the host triplet. If you think this
14160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14161 ac_tool_warned=yes ;;
14162 esac
14163 CC=$ac_ct_CC
14164 fi
14165 else
14166 CC="$ac_cv_prog_CC"
14167 fi
14168
14169 if test -z "$CC"; then
14170 if test -n "$ac_tool_prefix"; then
14171 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14172 set dummy ${ac_tool_prefix}cc; ac_word=$2
14173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14175 if test "${ac_cv_prog_CC+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 if test -n "$CC"; then
14179 ac_cv_prog_CC="$CC" # Let the user override the test.
14180 else
14181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14182 for as_dir in $PATH
14183 do
14184 IFS=$as_save_IFS
14185 test -z "$as_dir" && as_dir=.
14186 for ac_exec_ext in '' $ac_executable_extensions; do
14187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14188 ac_cv_prog_CC="${ac_tool_prefix}cc"
14189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14190 break 2
14191 fi
14192 done
14193 done
14194 IFS=$as_save_IFS
14195
14196 fi
14197 fi
14198 CC=$ac_cv_prog_CC
14199 if test -n "$CC"; then
14200 { echo "$as_me:$LINENO: result: $CC" >&5
14201 echo "${ECHO_T}$CC" >&6; }
14202 else
14203 { echo "$as_me:$LINENO: result: no" >&5
14204 echo "${ECHO_T}no" >&6; }
14205 fi
14206
14207
14208 fi
14209 fi
14210 if test -z "$CC"; then
14211 # Extract the first word of "cc", so it can be a program name with args.
14212 set dummy cc; ac_word=$2
14213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14215 if test "${ac_cv_prog_CC+set}" = set; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 else
14218 if test -n "$CC"; then
14219 ac_cv_prog_CC="$CC" # Let the user override the test.
14220 else
14221 ac_prog_rejected=no
14222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14223 for as_dir in $PATH
14224 do
14225 IFS=$as_save_IFS
14226 test -z "$as_dir" && as_dir=.
14227 for ac_exec_ext in '' $ac_executable_extensions; do
14228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14229 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14230 ac_prog_rejected=yes
14231 continue
14232 fi
14233 ac_cv_prog_CC="cc"
14234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14235 break 2
14236 fi
14237 done
14238 done
14239 IFS=$as_save_IFS
14240
14241 if test $ac_prog_rejected = yes; then
14242 # We found a bogon in the path, so make sure we never use it.
14243 set dummy $ac_cv_prog_CC
14244 shift
14245 if test $# != 0; then
14246 # We chose a different compiler from the bogus one.
14247 # However, it has the same basename, so the bogon will be chosen
14248 # first if we set CC to just the basename; use the full file name.
14249 shift
14250 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14251 fi
14252 fi
14253 fi
14254 fi
14255 CC=$ac_cv_prog_CC
14256 if test -n "$CC"; then
14257 { echo "$as_me:$LINENO: result: $CC" >&5
14258 echo "${ECHO_T}$CC" >&6; }
14259 else
14260 { echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6; }
14262 fi
14263
14264
14265 fi
14266 if test -z "$CC"; then
14267 if test -n "$ac_tool_prefix"; then
14268 for ac_prog in cl.exe
14269 do
14270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14274 if test "${ac_cv_prog_CC+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 else
14277 if test -n "$CC"; then
14278 ac_cv_prog_CC="$CC" # Let the user override the test.
14279 else
14280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14281 for as_dir in $PATH
14282 do
14283 IFS=$as_save_IFS
14284 test -z "$as_dir" && as_dir=.
14285 for ac_exec_ext in '' $ac_executable_extensions; do
14286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14287 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14289 break 2
14290 fi
14291 done
14292 done
14293 IFS=$as_save_IFS
14294
14295 fi
14296 fi
14297 CC=$ac_cv_prog_CC
14298 if test -n "$CC"; then
14299 { echo "$as_me:$LINENO: result: $CC" >&5
14300 echo "${ECHO_T}$CC" >&6; }
14301 else
14302 { echo "$as_me:$LINENO: result: no" >&5
14303 echo "${ECHO_T}no" >&6; }
14304 fi
14305
14306
14307 test -n "$CC" && break
14308 done
14309 fi
14310 if test -z "$CC"; then
14311 ac_ct_CC=$CC
14312 for ac_prog in cl.exe
14313 do
14314 # Extract the first word of "$ac_prog", so it can be a program name with args.
14315 set dummy $ac_prog; ac_word=$2
14316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 else
14321 if test -n "$ac_ct_CC"; then
14322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14323 else
14324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14325 for as_dir in $PATH
14326 do
14327 IFS=$as_save_IFS
14328 test -z "$as_dir" && as_dir=.
14329 for ac_exec_ext in '' $ac_executable_extensions; do
14330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14331 ac_cv_prog_ac_ct_CC="$ac_prog"
14332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14333 break 2
14334 fi
14335 done
14336 done
14337 IFS=$as_save_IFS
14338
14339 fi
14340 fi
14341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14342 if test -n "$ac_ct_CC"; then
14343 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14344 echo "${ECHO_T}$ac_ct_CC" >&6; }
14345 else
14346 { echo "$as_me:$LINENO: result: no" >&5
14347 echo "${ECHO_T}no" >&6; }
14348 fi
14349
14350
14351 test -n "$ac_ct_CC" && break
14352 done
14353
14354 if test "x$ac_ct_CC" = x; then
14355 CC=""
14356 else
14357 case $cross_compiling:$ac_tool_warned in
14358 yes:)
14359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14360 whose name does not start with the host triplet. If you think this
14361 configuration is useful to you, please write to autoconf@gnu.org." >&5
14362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14363 whose name does not start with the host triplet. If you think this
14364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14365 ac_tool_warned=yes ;;
14366 esac
14367 CC=$ac_ct_CC
14368 fi
14369 fi
14370
14371 fi
14372
14373
14374 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14375 See \`config.log' for more details." >&5
14376 echo "$as_me: error: no acceptable C compiler found in \$PATH
14377 See \`config.log' for more details." >&2;}
14378 { (exit 1); exit 1; }; }
14379
14380 # Provide some information about the compiler.
14381 echo "$as_me:$LINENO: checking for C compiler version" >&5
14382 ac_compiler=`set X $ac_compile; echo $2`
14383 { (ac_try="$ac_compiler --version >&5"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compiler --version >&5") 2>&5
14390 ac_status=$?
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }
14393 { (ac_try="$ac_compiler -v >&5"
14394 case "(($ac_try" in
14395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14396 *) ac_try_echo=$ac_try;;
14397 esac
14398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14399 (eval "$ac_compiler -v >&5") 2>&5
14400 ac_status=$?
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }
14403 { (ac_try="$ac_compiler -V >&5"
14404 case "(($ac_try" in
14405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14406 *) ac_try_echo=$ac_try;;
14407 esac
14408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14409 (eval "$ac_compiler -V >&5") 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }
14413
14414 cat >conftest.$ac_ext <<_ACEOF
14415 /* confdefs.h. */
14416 _ACEOF
14417 cat confdefs.h >>conftest.$ac_ext
14418 cat >>conftest.$ac_ext <<_ACEOF
14419 /* end confdefs.h. */
14420
14421 int
14422 main ()
14423 {
14424
14425 ;
14426 return 0;
14427 }
14428 _ACEOF
14429 ac_clean_files_save=$ac_clean_files
14430 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14431 # Try to create an executable without -o first, disregard a.out.
14432 # It will help us diagnose broken compilers, and finding out an intuition
14433 # of exeext.
14434 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14435 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14436 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14437 #
14438 # List of possible output files, starting from the most likely.
14439 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14440 # only as a last resort. b.out is created by i960 compilers.
14441 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14442 #
14443 # The IRIX 6 linker writes into existing files which may not be
14444 # executable, retaining their permissions. Remove them first so a
14445 # subsequent execution test works.
14446 ac_rmfiles=
14447 for ac_file in $ac_files
14448 do
14449 case $ac_file in
14450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14451 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14452 esac
14453 done
14454 rm -f $ac_rmfiles
14455
14456 if { (ac_try="$ac_link_default"
14457 case "(($ac_try" in
14458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14459 *) ac_try_echo=$ac_try;;
14460 esac
14461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14462 (eval "$ac_link_default") 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; then
14466 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14467 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14468 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14469 # so that the user can short-circuit this test for compilers unknown to
14470 # Autoconf.
14471 for ac_file in $ac_files ''
14472 do
14473 test -f "$ac_file" || continue
14474 case $ac_file in
14475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14476 ;;
14477 [ab].out )
14478 # We found the default executable, but exeext='' is most
14479 # certainly right.
14480 break;;
14481 *.* )
14482 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14483 then :; else
14484 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14485 fi
14486 # We set ac_cv_exeext here because the later test for it is not
14487 # safe: cross compilers may not add the suffix if given an `-o'
14488 # argument, so we may need to know it at that point already.
14489 # Even if this section looks crufty: it has the advantage of
14490 # actually working.
14491 break;;
14492 * )
14493 break;;
14494 esac
14495 done
14496 test "$ac_cv_exeext" = no && ac_cv_exeext=
14497
14498 else
14499 ac_file=''
14500 fi
14501
14502 { echo "$as_me:$LINENO: result: $ac_file" >&5
14503 echo "${ECHO_T}$ac_file" >&6; }
14504 if test -z "$ac_file"; then
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14507
14508 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14509 See \`config.log' for more details." >&5
14510 echo "$as_me: error: C compiler cannot create executables
14511 See \`config.log' for more details." >&2;}
14512 { (exit 77); exit 77; }; }
14513 fi
14514
14515 ac_exeext=$ac_cv_exeext
14516
14517 # Check that the compiler produces executables we can run. If not, either
14518 # the compiler is broken, or we cross compile.
14519 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14520 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14521 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14522 # If not cross compiling, check that we can run a simple program.
14523 if test "$cross_compiling" != yes; then
14524 if { ac_try='./$ac_file'
14525 { (case "(($ac_try" in
14526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14527 *) ac_try_echo=$ac_try;;
14528 esac
14529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14530 (eval "$ac_try") 2>&5
14531 ac_status=$?
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; }; then
14534 cross_compiling=no
14535 else
14536 if test "$cross_compiling" = maybe; then
14537 cross_compiling=yes
14538 else
14539 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14540 If you meant to cross compile, use \`--host'.
14541 See \`config.log' for more details." >&5
14542 echo "$as_me: error: cannot run C compiled programs.
14543 If you meant to cross compile, use \`--host'.
14544 See \`config.log' for more details." >&2;}
14545 { (exit 1); exit 1; }; }
14546 fi
14547 fi
14548 fi
14549 { echo "$as_me:$LINENO: result: yes" >&5
14550 echo "${ECHO_T}yes" >&6; }
14551
14552 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14553 ac_clean_files=$ac_clean_files_save
14554 # Check that the compiler produces executables we can run. If not, either
14555 # the compiler is broken, or we cross compile.
14556 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14557 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14558 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14559 echo "${ECHO_T}$cross_compiling" >&6; }
14560
14561 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14562 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14563 if { (ac_try="$ac_link"
14564 case "(($ac_try" in
14565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14567 esac
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_link") 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; then
14573 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14574 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14575 # work properly (i.e., refer to `conftest.exe'), while it won't with
14576 # `rm'.
14577 for ac_file in conftest.exe conftest conftest.*; do
14578 test -f "$ac_file" || continue
14579 case $ac_file in
14580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14581 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14582 break;;
14583 * ) break;;
14584 esac
14585 done
14586 else
14587 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14588 See \`config.log' for more details." >&5
14589 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14590 See \`config.log' for more details." >&2;}
14591 { (exit 1); exit 1; }; }
14592 fi
14593
14594 rm -f conftest$ac_cv_exeext
14595 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14596 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14597
14598 rm -f conftest.$ac_ext
14599 EXEEXT=$ac_cv_exeext
14600 ac_exeext=$EXEEXT
14601 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14602 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14603 if test "${ac_cv_objext+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 else
14606 cat >conftest.$ac_ext <<_ACEOF
14607 /* confdefs.h. */
14608 _ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612
14613 int
14614 main ()
14615 {
14616
14617 ;
14618 return 0;
14619 }
14620 _ACEOF
14621 rm -f conftest.o conftest.obj
14622 if { (ac_try="$ac_compile"
14623 case "(($ac_try" in
14624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14625 *) ac_try_echo=$ac_try;;
14626 esac
14627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14628 (eval "$ac_compile") 2>&5
14629 ac_status=$?
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; then
14632 for ac_file in conftest.o conftest.obj conftest.*; do
14633 test -f "$ac_file" || continue;
14634 case $ac_file in
14635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14636 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14637 break;;
14638 esac
14639 done
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14643
14644 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14645 See \`config.log' for more details." >&5
14646 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14647 See \`config.log' for more details." >&2;}
14648 { (exit 1); exit 1; }; }
14649 fi
14650
14651 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14652 fi
14653 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14654 echo "${ECHO_T}$ac_cv_objext" >&6; }
14655 OBJEXT=$ac_cv_objext
14656 ac_objext=$OBJEXT
14657 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14658 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14659 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14661 else
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668
14669 int
14670 main ()
14671 {
14672 #ifndef __GNUC__
14673 choke me
14674 #endif
14675
14676 ;
14677 return 0;
14678 }
14679 _ACEOF
14680 rm -f conftest.$ac_objext
14681 if { (ac_try="$ac_compile"
14682 case "(($ac_try" in
14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14685 esac
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_compile") 2>conftest.er1
14688 ac_status=$?
14689 grep -v '^ *+' conftest.er1 >conftest.err
14690 rm -f conftest.er1
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } && {
14694 test -z "$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14696 } && test -s conftest.$ac_objext; then
14697 ac_compiler_gnu=yes
14698 else
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14701
14702 ac_compiler_gnu=no
14703 fi
14704
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14707
14708 fi
14709 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14710 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14711 GCC=`test $ac_compiler_gnu = yes && echo yes`
14712 ac_test_CFLAGS=${CFLAGS+set}
14713 ac_save_CFLAGS=$CFLAGS
14714 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14715 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14716 if test "${ac_cv_prog_cc_g+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 ac_save_c_werror_flag=$ac_c_werror_flag
14720 ac_c_werror_flag=yes
14721 ac_cv_prog_cc_g=no
14722 CFLAGS="-g"
14723 cat >conftest.$ac_ext <<_ACEOF
14724 /* confdefs.h. */
14725 _ACEOF
14726 cat confdefs.h >>conftest.$ac_ext
14727 cat >>conftest.$ac_ext <<_ACEOF
14728 /* end confdefs.h. */
14729
14730 int
14731 main ()
14732 {
14733
14734 ;
14735 return 0;
14736 }
14737 _ACEOF
14738 rm -f conftest.$ac_objext
14739 if { (ac_try="$ac_compile"
14740 case "(($ac_try" in
14741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14742 *) ac_try_echo=$ac_try;;
14743 esac
14744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14745 (eval "$ac_compile") 2>conftest.er1
14746 ac_status=$?
14747 grep -v '^ *+' conftest.er1 >conftest.err
14748 rm -f conftest.er1
14749 cat conftest.err >&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } && {
14752 test -z "$ac_c_werror_flag" ||
14753 test ! -s conftest.err
14754 } && test -s conftest.$ac_objext; then
14755 ac_cv_prog_cc_g=yes
14756 else
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14759
14760 CFLAGS=""
14761 cat >conftest.$ac_ext <<_ACEOF
14762 /* confdefs.h. */
14763 _ACEOF
14764 cat confdefs.h >>conftest.$ac_ext
14765 cat >>conftest.$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767
14768 int
14769 main ()
14770 {
14771
14772 ;
14773 return 0;
14774 }
14775 _ACEOF
14776 rm -f conftest.$ac_objext
14777 if { (ac_try="$ac_compile"
14778 case "(($ac_try" in
14779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14780 *) ac_try_echo=$ac_try;;
14781 esac
14782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14783 (eval "$ac_compile") 2>conftest.er1
14784 ac_status=$?
14785 grep -v '^ *+' conftest.er1 >conftest.err
14786 rm -f conftest.er1
14787 cat conftest.err >&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); } && {
14790 test -z "$ac_c_werror_flag" ||
14791 test ! -s conftest.err
14792 } && test -s conftest.$ac_objext; then
14793 :
14794 else
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.$ac_ext >&5
14797
14798 ac_c_werror_flag=$ac_save_c_werror_flag
14799 CFLAGS="-g"
14800 cat >conftest.$ac_ext <<_ACEOF
14801 /* confdefs.h. */
14802 _ACEOF
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806
14807 int
14808 main ()
14809 {
14810
14811 ;
14812 return 0;
14813 }
14814 _ACEOF
14815 rm -f conftest.$ac_objext
14816 if { (ac_try="$ac_compile"
14817 case "(($ac_try" in
14818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14819 *) ac_try_echo=$ac_try;;
14820 esac
14821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14822 (eval "$ac_compile") 2>conftest.er1
14823 ac_status=$?
14824 grep -v '^ *+' conftest.er1 >conftest.err
14825 rm -f conftest.er1
14826 cat conftest.err >&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); } && {
14829 test -z "$ac_c_werror_flag" ||
14830 test ! -s conftest.err
14831 } && test -s conftest.$ac_objext; then
14832 ac_cv_prog_cc_g=yes
14833 else
14834 echo "$as_me: failed program was:" >&5
14835 sed 's/^/| /' conftest.$ac_ext >&5
14836
14837
14838 fi
14839
14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 fi
14842
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844 fi
14845
14846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14847 ac_c_werror_flag=$ac_save_c_werror_flag
14848 fi
14849 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14850 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14851 if test "$ac_test_CFLAGS" = set; then
14852 CFLAGS=$ac_save_CFLAGS
14853 elif test $ac_cv_prog_cc_g = yes; then
14854 if test "$GCC" = yes; then
14855 CFLAGS="-g -O2"
14856 else
14857 CFLAGS="-g"
14858 fi
14859 else
14860 if test "$GCC" = yes; then
14861 CFLAGS="-O2"
14862 else
14863 CFLAGS=
14864 fi
14865 fi
14866 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14867 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14868 if test "${ac_cv_prog_cc_c89+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14870 else
14871 ac_cv_prog_cc_c89=no
14872 ac_save_CC=$CC
14873 cat >conftest.$ac_ext <<_ACEOF
14874 /* confdefs.h. */
14875 _ACEOF
14876 cat confdefs.h >>conftest.$ac_ext
14877 cat >>conftest.$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14879 #include <stdarg.h>
14880 #include <stdio.h>
14881 #include <sys/types.h>
14882 #include <sys/stat.h>
14883 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14884 struct buf { int x; };
14885 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14886 static char *e (p, i)
14887 char **p;
14888 int i;
14889 {
14890 return p[i];
14891 }
14892 static char *f (char * (*g) (char **, int), char **p, ...)
14893 {
14894 char *s;
14895 va_list v;
14896 va_start (v,p);
14897 s = g (p, va_arg (v,int));
14898 va_end (v);
14899 return s;
14900 }
14901
14902 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14903 function prototypes and stuff, but not '\xHH' hex character constants.
14904 These don't provoke an error unfortunately, instead are silently treated
14905 as 'x'. The following induces an error, until -std is added to get
14906 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14907 array size at least. It's necessary to write '\x00'==0 to get something
14908 that's true only with -std. */
14909 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14910
14911 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14912 inside strings and character constants. */
14913 #define FOO(x) 'x'
14914 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14915
14916 int test (int i, double x);
14917 struct s1 {int (*f) (int a);};
14918 struct s2 {int (*f) (double a);};
14919 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14920 int argc;
14921 char **argv;
14922 int
14923 main ()
14924 {
14925 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14926 ;
14927 return 0;
14928 }
14929 _ACEOF
14930 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14931 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14932 do
14933 CC="$ac_save_CC $ac_arg"
14934 rm -f conftest.$ac_objext
14935 if { (ac_try="$ac_compile"
14936 case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;;
14939 esac
14940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14941 (eval "$ac_compile") 2>conftest.er1
14942 ac_status=$?
14943 grep -v '^ *+' conftest.er1 >conftest.err
14944 rm -f conftest.er1
14945 cat conftest.err >&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } && {
14948 test -z "$ac_c_werror_flag" ||
14949 test ! -s conftest.err
14950 } && test -s conftest.$ac_objext; then
14951 ac_cv_prog_cc_c89=$ac_arg
14952 else
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14955
14956
14957 fi
14958
14959 rm -f core conftest.err conftest.$ac_objext
14960 test "x$ac_cv_prog_cc_c89" != "xno" && break
14961 done
14962 rm -f conftest.$ac_ext
14963 CC=$ac_save_CC
14964
14965 fi
14966 # AC_CACHE_VAL
14967 case "x$ac_cv_prog_cc_c89" in
14968 x)
14969 { echo "$as_me:$LINENO: result: none needed" >&5
14970 echo "${ECHO_T}none needed" >&6; } ;;
14971 xno)
14972 { echo "$as_me:$LINENO: result: unsupported" >&5
14973 echo "${ECHO_T}unsupported" >&6; } ;;
14974 *)
14975 CC="$CC $ac_cv_prog_cc_c89"
14976 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14977 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14978 esac
14979
14980
14981 ac_ext=c
14982 ac_cpp='$CPP $CPPFLAGS'
14983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14986
14987
14988
14989
14990 ac_ext=c
14991 ac_cpp='$CPP $CPPFLAGS'
14992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14995
14996 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14997 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14998 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 cat >conftest.$ac_ext <<_ACEOF
15002 /* confdefs.h. */
15003 _ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15007
15008 int
15009 main ()
15010 {
15011
15012 #ifndef __INTEL_COMPILER
15013 choke me
15014 #endif
15015
15016 ;
15017 return 0;
15018 }
15019 _ACEOF
15020 rm -f conftest.$ac_objext
15021 if { (ac_try="$ac_compile"
15022 case "(($ac_try" in
15023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15024 *) ac_try_echo=$ac_try;;
15025 esac
15026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15027 (eval "$ac_compile") 2>conftest.er1
15028 ac_status=$?
15029 grep -v '^ *+' conftest.er1 >conftest.err
15030 rm -f conftest.er1
15031 cat conftest.err >&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } && {
15034 test -z "$ac_c_werror_flag" ||
15035 test ! -s conftest.err
15036 } && test -s conftest.$ac_objext; then
15037 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15038 else
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15041
15042 bakefile_cv_c_compiler___INTEL_COMPILER=no
15043
15044 fi
15045
15046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15047
15048
15049 fi
15050 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15051 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15052 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15053 :; INTELCC=yes
15054 else
15055 :;
15056 fi
15057 ac_ext=c
15058 ac_cpp='$CPP $CPPFLAGS'
15059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15062
15063
15064
15065
15066 if test "$INTELCC" = "yes"; then
15067
15068
15069 ac_ext=c
15070 ac_cpp='$CPP $CPPFLAGS'
15071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074
15075 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15076 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15077 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 else
15080 cat >conftest.$ac_ext <<_ACEOF
15081 /* confdefs.h. */
15082 _ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086
15087 int
15088 main ()
15089 {
15090
15091 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15092 choke me
15093 #endif
15094
15095 ;
15096 return 0;
15097 }
15098 _ACEOF
15099 rm -f conftest.$ac_objext
15100 if { (ac_try="$ac_compile"
15101 case "(($ac_try" in
15102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15104 esac
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_compile") 2>conftest.er1
15107 ac_status=$?
15108 grep -v '^ *+' conftest.er1 >conftest.err
15109 rm -f conftest.er1
15110 cat conftest.err >&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } && {
15113 test -z "$ac_c_werror_flag" ||
15114 test ! -s conftest.err
15115 } && test -s conftest.$ac_objext; then
15116 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15117 else
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15120
15121 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15122
15123 fi
15124
15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15126
15127
15128 fi
15129 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15130 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15131 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15132 :; INTELCC8=yes
15133 else
15134 :;
15135 fi
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15141
15142
15143
15144
15145
15146 ac_ext=c
15147 ac_cpp='$CPP $CPPFLAGS'
15148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15151
15152 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15153 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15154 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15156 else
15157 cat >conftest.$ac_ext <<_ACEOF
15158 /* confdefs.h. */
15159 _ACEOF
15160 cat confdefs.h >>conftest.$ac_ext
15161 cat >>conftest.$ac_ext <<_ACEOF
15162 /* end confdefs.h. */
15163
15164 int
15165 main ()
15166 {
15167
15168 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15169 choke me
15170 #endif
15171
15172 ;
15173 return 0;
15174 }
15175 _ACEOF
15176 rm -f conftest.$ac_objext
15177 if { (ac_try="$ac_compile"
15178 case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15181 esac
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_compile") 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && {
15190 test -z "$ac_c_werror_flag" ||
15191 test ! -s conftest.err
15192 } && test -s conftest.$ac_objext; then
15193 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15197
15198 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15199
15200 fi
15201
15202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15203
15204
15205 fi
15206 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15207 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15208 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15209 :; INTELCC10=yes
15210 else
15211 :;
15212 fi
15213 ac_ext=c
15214 ac_cpp='$CPP $CPPFLAGS'
15215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15218
15219
15220
15221 fi
15222
15223 if test "x$GCC" != "xyes"; then
15224 if test "xCC" = "xC"; then
15225 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15226 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15227 if test "${bakefile_cv_c_exto+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 else
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 conftest.$ac_ext.o
15246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15247 (eval $ac_compile) 2>&5
15248 ac_status=$?
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); }; then
15251 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15252 case $ac_file in
15253 conftest.$ac_ext.o)
15254 bakefile_cv_c_exto="-ext o"
15255 ;;
15256 *)
15257 ;;
15258 esac
15259 done
15260 else
15261 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15262 See \`config.log' for more details." >&5
15263 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15264 See \`config.log' for more details." >&2;}
15265 { (exit 1); exit 1; }; }
15266
15267 fi
15268
15269 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15270
15271 fi
15272 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15273 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15274 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15275 if test "c" = "c"; then
15276 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15277 fi
15278 if test "c" = "cxx"; then
15279 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15280 fi
15281 fi
15282
15283 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15284 unset ac_cv_prog_cc_g
15285 ac_test_CFLAGS=${CFLAGS+set}
15286 ac_save_CFLAGS=$CFLAGS
15287 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15288 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15289 if test "${ac_cv_prog_cc_g+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 else
15292 ac_save_c_werror_flag=$ac_c_werror_flag
15293 ac_c_werror_flag=yes
15294 ac_cv_prog_cc_g=no
15295 CFLAGS="-g"
15296 cat >conftest.$ac_ext <<_ACEOF
15297 /* confdefs.h. */
15298 _ACEOF
15299 cat confdefs.h >>conftest.$ac_ext
15300 cat >>conftest.$ac_ext <<_ACEOF
15301 /* end confdefs.h. */
15302
15303 int
15304 main ()
15305 {
15306
15307 ;
15308 return 0;
15309 }
15310 _ACEOF
15311 rm -f conftest.$ac_objext
15312 if { (ac_try="$ac_compile"
15313 case "(($ac_try" in
15314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15315 *) ac_try_echo=$ac_try;;
15316 esac
15317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15318 (eval "$ac_compile") 2>conftest.er1
15319 ac_status=$?
15320 grep -v '^ *+' conftest.er1 >conftest.err
15321 rm -f conftest.er1
15322 cat conftest.err >&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } && {
15325 test -z "$ac_c_werror_flag" ||
15326 test ! -s conftest.err
15327 } && test -s conftest.$ac_objext; then
15328 ac_cv_prog_cc_g=yes
15329 else
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.$ac_ext >&5
15332
15333 CFLAGS=""
15334 cat >conftest.$ac_ext <<_ACEOF
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340
15341 int
15342 main ()
15343 {
15344
15345 ;
15346 return 0;
15347 }
15348 _ACEOF
15349 rm -f conftest.$ac_objext
15350 if { (ac_try="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15354 esac
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_c_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.$ac_objext; then
15366 :
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 ac_c_werror_flag=$ac_save_c_werror_flag
15372 CFLAGS="-g"
15373 cat >conftest.$ac_ext <<_ACEOF
15374 /* confdefs.h. */
15375 _ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15379
15380 int
15381 main ()
15382 {
15383
15384 ;
15385 return 0;
15386 }
15387 _ACEOF
15388 rm -f conftest.$ac_objext
15389 if { (ac_try="$ac_compile"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compile") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest.$ac_objext; then
15405 ac_cv_prog_cc_g=yes
15406 else
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15409
15410
15411 fi
15412
15413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15414 fi
15415
15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15417 fi
15418
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15420 ac_c_werror_flag=$ac_save_c_werror_flag
15421 fi
15422 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15423 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15424 if test "$ac_test_CFLAGS" = set; then
15425 CFLAGS=$ac_save_CFLAGS
15426 elif test $ac_cv_prog_cc_g = yes; then
15427 if test "$GCC" = yes; then
15428 CFLAGS="-g -O2"
15429 else
15430 CFLAGS="-g"
15431 fi
15432 else
15433 if test "$GCC" = yes; then
15434 CFLAGS="-O2"
15435 else
15436 CFLAGS=
15437 fi
15438 fi
15439 fi
15440 fi
15441
15442 case `uname -s` in
15443 AIX*)
15444
15445
15446 ac_ext=c
15447 ac_cpp='$CPP $CPPFLAGS'
15448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451
15452 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15453 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15454 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 else
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h. */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15463
15464 int
15465 main ()
15466 {
15467
15468 #ifndef __xlC__
15469 choke me
15470 #endif
15471
15472 ;
15473 return 0;
15474 }
15475 _ACEOF
15476 rm -f conftest.$ac_objext
15477 if { (ac_try="$ac_compile"
15478 case "(($ac_try" in
15479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15481 esac
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_compile") 2>conftest.er1
15484 ac_status=$?
15485 grep -v '^ *+' conftest.er1 >conftest.err
15486 rm -f conftest.er1
15487 cat conftest.err >&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } && {
15490 test -z "$ac_c_werror_flag" ||
15491 test ! -s conftest.err
15492 } && test -s conftest.$ac_objext; then
15493 bakefile_cv_c_compiler___xlC__=yes
15494 else
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15497
15498 bakefile_cv_c_compiler___xlC__=no
15499
15500 fi
15501
15502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15503
15504
15505 fi
15506 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15507 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15508 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15509 :; XLCC=yes
15510 else
15511 :;
15512 fi
15513 ac_ext=c
15514 ac_cpp='$CPP $CPPFLAGS'
15515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15518
15519
15520
15521 ;;
15522
15523 Darwin)
15524
15525
15526 ac_ext=c
15527 ac_cpp='$CPP $CPPFLAGS'
15528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15531
15532 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15533 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15534 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537 cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h. */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543
15544 int
15545 main ()
15546 {
15547
15548 #ifndef __MWERKS__
15549 choke me
15550 #endif
15551
15552 ;
15553 return 0;
15554 }
15555 _ACEOF
15556 rm -f conftest.$ac_objext
15557 if { (ac_try="$ac_compile"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15561 esac
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_compile") 2>conftest.er1
15564 ac_status=$?
15565 grep -v '^ *+' conftest.er1 >conftest.err
15566 rm -f conftest.er1
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest.$ac_objext; then
15573 bakefile_cv_c_compiler___MWERKS__=yes
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15577
15578 bakefile_cv_c_compiler___MWERKS__=no
15579
15580 fi
15581
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583
15584
15585 fi
15586 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15587 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15588 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15589 :; MWCC=yes
15590 else
15591 :;
15592 fi
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15598
15599
15600
15601 if test "$MWCC" != "yes"; then
15602
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621
15622 int
15623 main ()
15624 {
15625
15626 #ifndef __xlC__
15627 choke me
15628 #endif
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15639 esac
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___xlC__=yes
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15655
15656 bakefile_cv_c_compiler___xlC__=no
15657
15658 fi
15659
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661
15662
15663 fi
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15666 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15667 :; XLCC=yes
15668 else
15669 :;
15670 fi
15671 ac_ext=c
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676
15677
15678
15679 fi
15680 ;;
15681
15682 IRIX*)
15683
15684
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690
15691 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15692 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15693 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 else
15696 cat >conftest.$ac_ext <<_ACEOF
15697 /* confdefs.h. */
15698 _ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15702
15703 int
15704 main ()
15705 {
15706
15707 #ifndef _SGI_COMPILER_VERSION
15708 choke me
15709 #endif
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (ac_try="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } && {
15729 test -z "$ac_c_werror_flag" ||
15730 test ! -s conftest.err
15731 } && test -s conftest.$ac_objext; then
15732 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15733 else
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15736
15737 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15738
15739 fi
15740
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742
15743
15744 fi
15745 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15746 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15747 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15748 :; SGICC=yes
15749 else
15750 :;
15751 fi
15752 ac_ext=c
15753 ac_cpp='$CPP $CPPFLAGS'
15754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15757
15758
15759
15760 ;;
15761
15762 Linux*)
15763 if test "$INTELCC" != "yes"; then
15764
15765
15766 ac_ext=c
15767 ac_cpp='$CPP $CPPFLAGS'
15768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15771
15772 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15773 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15774 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 else
15777 cat >conftest.$ac_ext <<_ACEOF
15778 /* confdefs.h. */
15779 _ACEOF
15780 cat confdefs.h >>conftest.$ac_ext
15781 cat >>conftest.$ac_ext <<_ACEOF
15782 /* end confdefs.h. */
15783
15784 int
15785 main ()
15786 {
15787
15788 #ifndef __SUNPRO_C
15789 choke me
15790 #endif
15791
15792 ;
15793 return 0;
15794 }
15795 _ACEOF
15796 rm -f conftest.$ac_objext
15797 if { (ac_try="$ac_compile"
15798 case "(($ac_try" in
15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800 *) ac_try_echo=$ac_try;;
15801 esac
15802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15803 (eval "$ac_compile") 2>conftest.er1
15804 ac_status=$?
15805 grep -v '^ *+' conftest.er1 >conftest.err
15806 rm -f conftest.er1
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } && {
15810 test -z "$ac_c_werror_flag" ||
15811 test ! -s conftest.err
15812 } && test -s conftest.$ac_objext; then
15813 bakefile_cv_c_compiler___SUNPRO_C=yes
15814 else
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.$ac_ext >&5
15817
15818 bakefile_cv_c_compiler___SUNPRO_C=no
15819
15820 fi
15821
15822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15823
15824
15825 fi
15826 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15827 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15828 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15829 :; SUNCC=yes
15830 else
15831 :;
15832 fi
15833 ac_ext=c
15834 ac_cpp='$CPP $CPPFLAGS'
15835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15838
15839
15840
15841 fi
15842 ;;
15843
15844 HP-UX*)
15845
15846
15847 ac_ext=c
15848 ac_cpp='$CPP $CPPFLAGS'
15849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852
15853 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15854 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15855 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 else
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864
15865 int
15866 main ()
15867 {
15868
15869 #ifndef __HP_cc
15870 choke me
15871 #endif
15872
15873 ;
15874 return 0;
15875 }
15876 _ACEOF
15877 rm -f conftest.$ac_objext
15878 if { (ac_try="$ac_compile"
15879 case "(($ac_try" in
15880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15881 *) ac_try_echo=$ac_try;;
15882 esac
15883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15884 (eval "$ac_compile") 2>conftest.er1
15885 ac_status=$?
15886 grep -v '^ *+' conftest.er1 >conftest.err
15887 rm -f conftest.er1
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } && {
15891 test -z "$ac_c_werror_flag" ||
15892 test ! -s conftest.err
15893 } && test -s conftest.$ac_objext; then
15894 bakefile_cv_c_compiler___HP_cc=yes
15895 else
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15898
15899 bakefile_cv_c_compiler___HP_cc=no
15900
15901 fi
15902
15903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15904
15905
15906 fi
15907 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15908 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15909 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15910 :; HPCC=yes
15911 else
15912 :;
15913 fi
15914 ac_ext=c
15915 ac_cpp='$CPP $CPPFLAGS'
15916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15919
15920
15921
15922 ;;
15923
15924 OSF1)
15925
15926
15927 ac_ext=c
15928 ac_cpp='$CPP $CPPFLAGS'
15929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932
15933 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15934 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15935 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 else
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944
15945 int
15946 main ()
15947 {
15948
15949 #ifndef __DECC
15950 choke me
15951 #endif
15952
15953 ;
15954 return 0;
15955 }
15956 _ACEOF
15957 rm -f conftest.$ac_objext
15958 if { (ac_try="$ac_compile"
15959 case "(($ac_try" in
15960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15961 *) ac_try_echo=$ac_try;;
15962 esac
15963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15964 (eval "$ac_compile") 2>conftest.er1
15965 ac_status=$?
15966 grep -v '^ *+' conftest.er1 >conftest.err
15967 rm -f conftest.er1
15968 cat conftest.err >&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); } && {
15971 test -z "$ac_c_werror_flag" ||
15972 test ! -s conftest.err
15973 } && test -s conftest.$ac_objext; then
15974 bakefile_cv_c_compiler___DECC=yes
15975 else
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15978
15979 bakefile_cv_c_compiler___DECC=no
15980
15981 fi
15982
15983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15984
15985
15986 fi
15987 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15988 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15989 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15990 :; COMPAQCC=yes
15991 else
15992 :;
15993 fi
15994 ac_ext=c
15995 ac_cpp='$CPP $CPPFLAGS'
15996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15999
16000
16001
16002 ;;
16003
16004 SunOS)
16005
16006
16007 ac_ext=c
16008 ac_cpp='$CPP $CPPFLAGS'
16009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012
16013 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16014 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16015 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 else
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16024
16025 int
16026 main ()
16027 {
16028
16029 #ifndef __SUNPRO_C
16030 choke me
16031 #endif
16032
16033 ;
16034 return 0;
16035 }
16036 _ACEOF
16037 rm -f conftest.$ac_objext
16038 if { (ac_try="$ac_compile"
16039 case "(($ac_try" in
16040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16041 *) ac_try_echo=$ac_try;;
16042 esac
16043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16044 (eval "$ac_compile") 2>conftest.er1
16045 ac_status=$?
16046 grep -v '^ *+' conftest.er1 >conftest.err
16047 rm -f conftest.er1
16048 cat conftest.err >&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } && {
16051 test -z "$ac_c_werror_flag" ||
16052 test ! -s conftest.err
16053 } && test -s conftest.$ac_objext; then
16054 bakefile_cv_c_compiler___SUNPRO_C=yes
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 bakefile_cv_c_compiler___SUNPRO_C=no
16060
16061 fi
16062
16063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16064
16065
16066 fi
16067 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16068 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16069 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16070 :; SUNCC=yes
16071 else
16072 :;
16073 fi
16074 ac_ext=c
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16079
16080
16081
16082 ;;
16083 esac
16084 fi
16085
16086
16087
16088 ac_ext=c
16089 ac_cpp='$CPP $CPPFLAGS'
16090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16093 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16094 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16095 # On Suns, sometimes $CPP names a directory.
16096 if test -n "$CPP" && test -d "$CPP"; then
16097 CPP=
16098 fi
16099 if test -z "$CPP"; then
16100 if test "${ac_cv_prog_CPP+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 else
16103 # Double quotes because CPP needs to be expanded
16104 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16105 do
16106 ac_preproc_ok=false
16107 for ac_c_preproc_warn_flag in '' yes
16108 do
16109 # Use a header file that comes with gcc, so configuring glibc
16110 # with a fresh cross-compiler works.
16111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16112 # <limits.h> exists even on freestanding compilers.
16113 # On the NeXT, cc -E runs the code through the compiler's parser,
16114 # not just through cpp. "Syntax error" is here to catch this case.
16115 cat >conftest.$ac_ext <<_ACEOF
16116 /* confdefs.h. */
16117 _ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 #ifdef __STDC__
16122 # include <limits.h>
16123 #else
16124 # include <assert.h>
16125 #endif
16126 Syntax error
16127 _ACEOF
16128 if { (ac_try="$ac_cpp conftest.$ac_ext"
16129 case "(($ac_try" in
16130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16131 *) ac_try_echo=$ac_try;;
16132 esac
16133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16134 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16135 ac_status=$?
16136 grep -v '^ *+' conftest.er1 >conftest.err
16137 rm -f conftest.er1
16138 cat conftest.err >&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } >/dev/null && {
16141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16142 test ! -s conftest.err
16143 }; then
16144 :
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 # Broken: fails on valid input.
16150 continue
16151 fi
16152
16153 rm -f conftest.err conftest.$ac_ext
16154
16155 # OK, works on sane cases. Now check whether nonexistent headers
16156 # can be detected and how.
16157 cat >conftest.$ac_ext <<_ACEOF
16158 /* confdefs.h. */
16159 _ACEOF
16160 cat confdefs.h >>conftest.$ac_ext
16161 cat >>conftest.$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16163 #include <ac_nonexistent.h>
16164 _ACEOF
16165 if { (ac_try="$ac_cpp conftest.$ac_ext"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16169 esac
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } >/dev/null && {
16178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 }; then
16181 # Broken: success on invalid input.
16182 continue
16183 else
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16186
16187 # Passes both tests.
16188 ac_preproc_ok=:
16189 break
16190 fi
16191
16192 rm -f conftest.err conftest.$ac_ext
16193
16194 done
16195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16196 rm -f conftest.err conftest.$ac_ext
16197 if $ac_preproc_ok; then
16198 break
16199 fi
16200
16201 done
16202 ac_cv_prog_CPP=$CPP
16203
16204 fi
16205 CPP=$ac_cv_prog_CPP
16206 else
16207 ac_cv_prog_CPP=$CPP
16208 fi
16209 { echo "$as_me:$LINENO: result: $CPP" >&5
16210 echo "${ECHO_T}$CPP" >&6; }
16211 ac_preproc_ok=false
16212 for ac_c_preproc_warn_flag in '' yes
16213 do
16214 # Use a header file that comes with gcc, so configuring glibc
16215 # with a fresh cross-compiler works.
16216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16217 # <limits.h> exists even on freestanding compilers.
16218 # On the NeXT, cc -E runs the code through the compiler's parser,
16219 # not just through cpp. "Syntax error" is here to catch this case.
16220 cat >conftest.$ac_ext <<_ACEOF
16221 /* confdefs.h. */
16222 _ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 #ifdef __STDC__
16227 # include <limits.h>
16228 #else
16229 # include <assert.h>
16230 #endif
16231 Syntax error
16232 _ACEOF
16233 if { (ac_try="$ac_cpp conftest.$ac_ext"
16234 case "(($ac_try" in
16235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16236 *) ac_try_echo=$ac_try;;
16237 esac
16238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } >/dev/null && {
16246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16247 test ! -s conftest.err
16248 }; then
16249 :
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16253
16254 # Broken: fails on valid input.
16255 continue
16256 fi
16257
16258 rm -f conftest.err conftest.$ac_ext
16259
16260 # OK, works on sane cases. Now check whether nonexistent headers
16261 # can be detected and how.
16262 cat >conftest.$ac_ext <<_ACEOF
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 #include <ac_nonexistent.h>
16269 _ACEOF
16270 if { (ac_try="$ac_cpp conftest.$ac_ext"
16271 case "(($ac_try" in
16272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16273 *) ac_try_echo=$ac_try;;
16274 esac
16275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16277 ac_status=$?
16278 grep -v '^ *+' conftest.er1 >conftest.err
16279 rm -f conftest.er1
16280 cat conftest.err >&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } >/dev/null && {
16283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16284 test ! -s conftest.err
16285 }; then
16286 # Broken: success on invalid input.
16287 continue
16288 else
16289 echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.$ac_ext >&5
16291
16292 # Passes both tests.
16293 ac_preproc_ok=:
16294 break
16295 fi
16296
16297 rm -f conftest.err conftest.$ac_ext
16298
16299 done
16300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16301 rm -f conftest.err conftest.$ac_ext
16302 if $ac_preproc_ok; then
16303 :
16304 else
16305 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16306 See \`config.log' for more details." >&5
16307 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16308 See \`config.log' for more details." >&2;}
16309 { (exit 1); exit 1; }; }
16310 fi
16311
16312 ac_ext=c
16313 ac_cpp='$CPP $CPPFLAGS'
16314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16317
16318
16319 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16320 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16321 if test "${ac_cv_path_GREP+set}" = set; then
16322 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 else
16324 # Extract the first word of "grep ggrep" to use in msg output
16325 if test -z "$GREP"; then
16326 set dummy grep ggrep; ac_prog_name=$2
16327 if test "${ac_cv_path_GREP+set}" = set; then
16328 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 else
16330 ac_path_GREP_found=false
16331 # Loop through the user's path and test for each of PROGNAME-LIST
16332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16333 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16334 do
16335 IFS=$as_save_IFS
16336 test -z "$as_dir" && as_dir=.
16337 for ac_prog in grep ggrep; do
16338 for ac_exec_ext in '' $ac_executable_extensions; do
16339 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16340 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16341 # Check for GNU ac_path_GREP and select it if it is found.
16342 # Check for GNU $ac_path_GREP
16343 case `"$ac_path_GREP" --version 2>&1` in
16344 *GNU*)
16345 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16346 *)
16347 ac_count=0
16348 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16349 while :
16350 do
16351 cat "conftest.in" "conftest.in" >"conftest.tmp"
16352 mv "conftest.tmp" "conftest.in"
16353 cp "conftest.in" "conftest.nl"
16354 echo 'GREP' >> "conftest.nl"
16355 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16356 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16357 ac_count=`expr $ac_count + 1`
16358 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16359 # Best one so far, save it but keep looking for a better one
16360 ac_cv_path_GREP="$ac_path_GREP"
16361 ac_path_GREP_max=$ac_count
16362 fi
16363 # 10*(2^10) chars as input seems more than enough
16364 test $ac_count -gt 10 && break
16365 done
16366 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16367 esac
16368
16369
16370 $ac_path_GREP_found && break 3
16371 done
16372 done
16373
16374 done
16375 IFS=$as_save_IFS
16376
16377
16378 fi
16379
16380 GREP="$ac_cv_path_GREP"
16381 if test -z "$GREP"; then
16382 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16383 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16384 { (exit 1); exit 1; }; }
16385 fi
16386
16387 else
16388 ac_cv_path_GREP=$GREP
16389 fi
16390
16391
16392 fi
16393 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16394 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16395 GREP="$ac_cv_path_GREP"
16396
16397
16398 { echo "$as_me:$LINENO: checking for egrep" >&5
16399 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16400 if test "${ac_cv_path_EGREP+set}" = set; then
16401 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 else
16403 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16404 then ac_cv_path_EGREP="$GREP -E"
16405 else
16406 # Extract the first word of "egrep" to use in msg output
16407 if test -z "$EGREP"; then
16408 set dummy egrep; ac_prog_name=$2
16409 if test "${ac_cv_path_EGREP+set}" = set; then
16410 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 else
16412 ac_path_EGREP_found=false
16413 # Loop through the user's path and test for each of PROGNAME-LIST
16414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16416 do
16417 IFS=$as_save_IFS
16418 test -z "$as_dir" && as_dir=.
16419 for ac_prog in egrep; do
16420 for ac_exec_ext in '' $ac_executable_extensions; do
16421 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16422 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16423 # Check for GNU ac_path_EGREP and select it if it is found.
16424 # Check for GNU $ac_path_EGREP
16425 case `"$ac_path_EGREP" --version 2>&1` in
16426 *GNU*)
16427 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16428 *)
16429 ac_count=0
16430 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16431 while :
16432 do
16433 cat "conftest.in" "conftest.in" >"conftest.tmp"
16434 mv "conftest.tmp" "conftest.in"
16435 cp "conftest.in" "conftest.nl"
16436 echo 'EGREP' >> "conftest.nl"
16437 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16439 ac_count=`expr $ac_count + 1`
16440 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16441 # Best one so far, save it but keep looking for a better one
16442 ac_cv_path_EGREP="$ac_path_EGREP"
16443 ac_path_EGREP_max=$ac_count
16444 fi
16445 # 10*(2^10) chars as input seems more than enough
16446 test $ac_count -gt 10 && break
16447 done
16448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16449 esac
16450
16451
16452 $ac_path_EGREP_found && break 3
16453 done
16454 done
16455
16456 done
16457 IFS=$as_save_IFS
16458
16459
16460 fi
16461
16462 EGREP="$ac_cv_path_EGREP"
16463 if test -z "$EGREP"; then
16464 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16465 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16466 { (exit 1); exit 1; }; }
16467 fi
16468
16469 else
16470 ac_cv_path_EGREP=$EGREP
16471 fi
16472
16473
16474 fi
16475 fi
16476 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16477 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16478 EGREP="$ac_cv_path_EGREP"
16479
16480
16481 if test $ac_cv_c_compiler_gnu = yes; then
16482 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16483 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16484 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16485 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 else
16487 ac_pattern="Autoconf.*'x'"
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <sgtty.h>
16495 Autoconf TIOCGETP
16496 _ACEOF
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16499 ac_cv_prog_gcc_traditional=yes
16500 else
16501 ac_cv_prog_gcc_traditional=no
16502 fi
16503 rm -f conftest*
16504
16505
16506 if test $ac_cv_prog_gcc_traditional = no; then
16507 cat >conftest.$ac_ext <<_ACEOF
16508 /* confdefs.h. */
16509 _ACEOF
16510 cat confdefs.h >>conftest.$ac_ext
16511 cat >>conftest.$ac_ext <<_ACEOF
16512 /* end confdefs.h. */
16513 #include <termio.h>
16514 Autoconf TCGETA
16515 _ACEOF
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16518 ac_cv_prog_gcc_traditional=yes
16519 fi
16520 rm -f conftest*
16521
16522 fi
16523 fi
16524 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16525 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16526 if test $ac_cv_prog_gcc_traditional = yes; then
16527 CC="$CC -traditional"
16528 fi
16529 fi
16530
16531
16532 CXXFLAGS=${CXXFLAGS:=}
16533
16534
16535
16536 ac_ext=cpp
16537 ac_cpp='$CXXCPP $CPPFLAGS'
16538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16541 if test -z "$CXX"; then
16542 if test -n "$CCC"; then
16543 CXX=$CCC
16544 else
16545 if test -n "$ac_tool_prefix"; then
16546 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16547 do
16548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16552 if test "${ac_cv_prog_CXX+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555 if test -n "$CXX"; then
16556 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16557 else
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16560 do
16561 IFS=$as_save_IFS
16562 test -z "$as_dir" && as_dir=.
16563 for ac_exec_ext in '' $ac_executable_extensions; do
16564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16567 break 2
16568 fi
16569 done
16570 done
16571 IFS=$as_save_IFS
16572
16573 fi
16574 fi
16575 CXX=$ac_cv_prog_CXX
16576 if test -n "$CXX"; then
16577 { echo "$as_me:$LINENO: result: $CXX" >&5
16578 echo "${ECHO_T}$CXX" >&6; }
16579 else
16580 { echo "$as_me:$LINENO: result: no" >&5
16581 echo "${ECHO_T}no" >&6; }
16582 fi
16583
16584
16585 test -n "$CXX" && break
16586 done
16587 fi
16588 if test -z "$CXX"; then
16589 ac_ct_CXX=$CXX
16590 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16591 do
16592 # Extract the first word of "$ac_prog", so it can be a program name with args.
16593 set dummy $ac_prog; ac_word=$2
16594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16596 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 else
16599 if test -n "$ac_ct_CXX"; then
16600 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16601 else
16602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16603 for as_dir in $PATH
16604 do
16605 IFS=$as_save_IFS
16606 test -z "$as_dir" && as_dir=.
16607 for ac_exec_ext in '' $ac_executable_extensions; do
16608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16609 ac_cv_prog_ac_ct_CXX="$ac_prog"
16610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16611 break 2
16612 fi
16613 done
16614 done
16615 IFS=$as_save_IFS
16616
16617 fi
16618 fi
16619 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16620 if test -n "$ac_ct_CXX"; then
16621 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16622 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16623 else
16624 { echo "$as_me:$LINENO: result: no" >&5
16625 echo "${ECHO_T}no" >&6; }
16626 fi
16627
16628
16629 test -n "$ac_ct_CXX" && break
16630 done
16631
16632 if test "x$ac_ct_CXX" = x; then
16633 CXX="g++"
16634 else
16635 case $cross_compiling:$ac_tool_warned in
16636 yes:)
16637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16638 whose name does not start with the host triplet. If you think this
16639 configuration is useful to you, please write to autoconf@gnu.org." >&5
16640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16641 whose name does not start with the host triplet. If you think this
16642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16643 ac_tool_warned=yes ;;
16644 esac
16645 CXX=$ac_ct_CXX
16646 fi
16647 fi
16648
16649 fi
16650 fi
16651 # Provide some information about the compiler.
16652 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16653 ac_compiler=`set X $ac_compile; echo $2`
16654 { (ac_try="$ac_compiler --version >&5"
16655 case "(($ac_try" in
16656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16657 *) ac_try_echo=$ac_try;;
16658 esac
16659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16660 (eval "$ac_compiler --version >&5") 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }
16664 { (ac_try="$ac_compiler -v >&5"
16665 case "(($ac_try" in
16666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16667 *) ac_try_echo=$ac_try;;
16668 esac
16669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16670 (eval "$ac_compiler -v >&5") 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }
16674 { (ac_try="$ac_compiler -V >&5"
16675 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677 *) ac_try_echo=$ac_try;;
16678 esac
16679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16680 (eval "$ac_compiler -V >&5") 2>&5
16681 ac_status=$?
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }
16684
16685 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16686 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16687 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696
16697 int
16698 main ()
16699 {
16700 #ifndef __GNUC__
16701 choke me
16702 #endif
16703
16704 ;
16705 return 0;
16706 }
16707 _ACEOF
16708 rm -f conftest.$ac_objext
16709 if { (ac_try="$ac_compile"
16710 case "(($ac_try" in
16711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16713 esac
16714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_compile") 2>conftest.er1
16716 ac_status=$?
16717 grep -v '^ *+' conftest.er1 >conftest.err
16718 rm -f conftest.er1
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } && {
16722 test -z "$ac_cxx_werror_flag" ||
16723 test ! -s conftest.err
16724 } && test -s conftest.$ac_objext; then
16725 ac_compiler_gnu=yes
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16729
16730 ac_compiler_gnu=no
16731 fi
16732
16733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16734 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16735
16736 fi
16737 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16738 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16739 GXX=`test $ac_compiler_gnu = yes && echo yes`
16740 ac_test_CXXFLAGS=${CXXFLAGS+set}
16741 ac_save_CXXFLAGS=$CXXFLAGS
16742 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16743 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16744 if test "${ac_cv_prog_cxx_g+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 else
16747 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16748 ac_cxx_werror_flag=yes
16749 ac_cv_prog_cxx_g=no
16750 CXXFLAGS="-g"
16751 cat >conftest.$ac_ext <<_ACEOF
16752 /* confdefs.h. */
16753 _ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757
16758 int
16759 main ()
16760 {
16761
16762 ;
16763 return 0;
16764 }
16765 _ACEOF
16766 rm -f conftest.$ac_objext
16767 if { (ac_try="$ac_compile"
16768 case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16771 esac
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_compile") 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && {
16780 test -z "$ac_cxx_werror_flag" ||
16781 test ! -s conftest.err
16782 } && test -s conftest.$ac_objext; then
16783 ac_cv_prog_cxx_g=yes
16784 else
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16787
16788 CXXFLAGS=""
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795
16796 int
16797 main ()
16798 {
16799
16800 ;
16801 return 0;
16802 }
16803 _ACEOF
16804 rm -f conftest.$ac_objext
16805 if { (ac_try="$ac_compile"
16806 case "(($ac_try" in
16807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16808 *) ac_try_echo=$ac_try;;
16809 esac
16810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16811 (eval "$ac_compile") 2>conftest.er1
16812 ac_status=$?
16813 grep -v '^ *+' conftest.er1 >conftest.err
16814 rm -f conftest.er1
16815 cat conftest.err >&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } && {
16818 test -z "$ac_cxx_werror_flag" ||
16819 test ! -s conftest.err
16820 } && test -s conftest.$ac_objext; then
16821 :
16822 else
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.$ac_ext >&5
16825
16826 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16827 CXXFLAGS="-g"
16828 cat >conftest.$ac_ext <<_ACEOF
16829 /* confdefs.h. */
16830 _ACEOF
16831 cat confdefs.h >>conftest.$ac_ext
16832 cat >>conftest.$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834
16835 int
16836 main ()
16837 {
16838
16839 ;
16840 return 0;
16841 }
16842 _ACEOF
16843 rm -f conftest.$ac_objext
16844 if { (ac_try="$ac_compile"
16845 case "(($ac_try" in
16846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16848 esac
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_compile") 2>conftest.er1
16851 ac_status=$?
16852 grep -v '^ *+' conftest.er1 >conftest.err
16853 rm -f conftest.er1
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } && {
16857 test -z "$ac_cxx_werror_flag" ||
16858 test ! -s conftest.err
16859 } && test -s conftest.$ac_objext; then
16860 ac_cv_prog_cxx_g=yes
16861 else
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.$ac_ext >&5
16864
16865
16866 fi
16867
16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16869 fi
16870
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 fi
16873
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16876 fi
16877 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16878 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16879 if test "$ac_test_CXXFLAGS" = set; then
16880 CXXFLAGS=$ac_save_CXXFLAGS
16881 elif test $ac_cv_prog_cxx_g = yes; then
16882 if test "$GXX" = yes; then
16883 CXXFLAGS="-g -O2"
16884 else
16885 CXXFLAGS="-g"
16886 fi
16887 else
16888 if test "$GXX" = yes; then
16889 CXXFLAGS="-O2"
16890 else
16891 CXXFLAGS=
16892 fi
16893 fi
16894 ac_ext=c
16895 ac_cpp='$CPP $CPPFLAGS'
16896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16899
16900
16901
16902
16903 ac_ext=cpp
16904 ac_cpp='$CXXCPP $CPPFLAGS'
16905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908
16909 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16910 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16911 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 else
16914 cat >conftest.$ac_ext <<_ACEOF
16915 /* confdefs.h. */
16916 _ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920
16921 int
16922 main ()
16923 {
16924
16925 #ifndef __INTEL_COMPILER
16926 choke me
16927 #endif
16928
16929 ;
16930 return 0;
16931 }
16932 _ACEOF
16933 rm -f conftest.$ac_objext
16934 if { (ac_try="$ac_compile"
16935 case "(($ac_try" in
16936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16937 *) ac_try_echo=$ac_try;;
16938 esac
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940 (eval "$ac_compile") 2>conftest.er1
16941 ac_status=$?
16942 grep -v '^ *+' conftest.er1 >conftest.err
16943 rm -f conftest.er1
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && {
16947 test -z "$ac_cxx_werror_flag" ||
16948 test ! -s conftest.err
16949 } && test -s conftest.$ac_objext; then
16950 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16951 else
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16954
16955 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16956
16957 fi
16958
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960
16961
16962 fi
16963 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16964 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16965 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16966 :; INTELCXX=yes
16967 else
16968 :;
16969 fi
16970 ac_ext=c
16971 ac_cpp='$CPP $CPPFLAGS'
16972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16975
16976
16977
16978
16979 if test "$INTELCXX" = "yes"; then
16980
16981
16982 ac_ext=cpp
16983 ac_cpp='$CXXCPP $CPPFLAGS'
16984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16987
16988 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16989 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16990 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999
17000 int
17001 main ()
17002 {
17003
17004 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17005 choke me
17006 #endif
17007
17008 ;
17009 return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext
17013 if { (ac_try="$ac_compile"
17014 case "(($ac_try" in
17015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17017 esac
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_compile") 2>conftest.er1
17020 ac_status=$?
17021 grep -v '^ *+' conftest.er1 >conftest.err
17022 rm -f conftest.er1
17023 cat conftest.err >&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && {
17026 test -z "$ac_cxx_werror_flag" ||
17027 test ! -s conftest.err
17028 } && test -s conftest.$ac_objext; then
17029 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17035
17036 fi
17037
17038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17039
17040
17041 fi
17042 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17043 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17044 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17045 :; INTELCXX8=yes
17046 else
17047 :;
17048 fi
17049 ac_ext=c
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17054
17055
17056
17057
17058
17059 ac_ext=cpp
17060 ac_cpp='$CXXCPP $CPPFLAGS'
17061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064
17065 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17066 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17067 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 else
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076
17077 int
17078 main ()
17079 {
17080
17081 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17082 choke me
17083 #endif
17084
17085 ;
17086 return 0;
17087 }
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17097 ac_status=$?
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_cxx_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17112
17113 fi
17114
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116
17117
17118 fi
17119 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17120 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17121 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17122 :; INTELCXX10=yes
17123 else
17124 :;
17125 fi
17126 ac_ext=c
17127 ac_cpp='$CPP $CPPFLAGS'
17128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17131
17132
17133
17134 fi
17135
17136 if test "x$GCXX" != "xyes"; then
17137 if test "xCXX" = "xC"; then
17138 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17139 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17140 if test "${bakefile_cv_c_exto+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 else
17143 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */
17145 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149
17150 int
17151 main ()
17152 {
17153
17154 ;
17155 return 0;
17156 }
17157 _ACEOF
17158 rm -f conftest.$ac_objext conftest.$ac_ext.o
17159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17160 (eval $ac_compile) 2>&5
17161 ac_status=$?
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; then
17164 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17165 case $ac_file in
17166 conftest.$ac_ext.o)
17167 bakefile_cv_c_exto="-ext o"
17168 ;;
17169 *)
17170 ;;
17171 esac
17172 done
17173 else
17174 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17175 See \`config.log' for more details." >&5
17176 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17177 See \`config.log' for more details." >&2;}
17178 { (exit 1); exit 1; }; }
17179
17180 fi
17181
17182 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17183
17184 fi
17185 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17186 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17187 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17188 if test "c" = "c"; then
17189 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17190 fi
17191 if test "c" = "cxx"; then
17192 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17193 fi
17194 fi
17195
17196 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17197 unset ac_cv_prog_cc_g
17198 ac_test_CFLAGS=${CFLAGS+set}
17199 ac_save_CFLAGS=$CFLAGS
17200 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17201 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17202 if test "${ac_cv_prog_cc_g+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 else
17205 ac_save_c_werror_flag=$ac_c_werror_flag
17206 ac_c_werror_flag=yes
17207 ac_cv_prog_cc_g=no
17208 CFLAGS="-g"
17209 cat >conftest.$ac_ext <<_ACEOF
17210 /* confdefs.h. */
17211 _ACEOF
17212 cat confdefs.h >>conftest.$ac_ext
17213 cat >>conftest.$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215
17216 int
17217 main ()
17218 {
17219
17220 ;
17221 return 0;
17222 }
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (ac_try="$ac_compile"
17226 case "(($ac_try" in
17227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17228 *) ac_try_echo=$ac_try;;
17229 esac
17230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 (eval "$ac_compile") 2>conftest.er1
17232 ac_status=$?
17233 grep -v '^ *+' conftest.er1 >conftest.err
17234 rm -f conftest.er1
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } && {
17238 test -z "$ac_c_werror_flag" ||
17239 test ! -s conftest.err
17240 } && test -s conftest.$ac_objext; then
17241 ac_cv_prog_cc_g=yes
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17245
17246 CFLAGS=""
17247 cat >conftest.$ac_ext <<_ACEOF
17248 /* confdefs.h. */
17249 _ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253
17254 int
17255 main ()
17256 {
17257
17258 ;
17259 return 0;
17260 }
17261 _ACEOF
17262 rm -f conftest.$ac_objext
17263 if { (ac_try="$ac_compile"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_compile") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } && {
17276 test -z "$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 } && test -s conftest.$ac_objext; then
17279 :
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17283
17284 ac_c_werror_flag=$ac_save_c_werror_flag
17285 CFLAGS="-g"
17286 cat >conftest.$ac_ext <<_ACEOF
17287 /* confdefs.h. */
17288 _ACEOF
17289 cat confdefs.h >>conftest.$ac_ext
17290 cat >>conftest.$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292
17293 int
17294 main ()
17295 {
17296
17297 ;
17298 return 0;
17299 }
17300 _ACEOF
17301 rm -f conftest.$ac_objext
17302 if { (ac_try="$ac_compile"
17303 case "(($ac_try" in
17304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17305 *) ac_try_echo=$ac_try;;
17306 esac
17307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17308 (eval "$ac_compile") 2>conftest.er1
17309 ac_status=$?
17310 grep -v '^ *+' conftest.er1 >conftest.err
17311 rm -f conftest.er1
17312 cat conftest.err >&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } && {
17315 test -z "$ac_c_werror_flag" ||
17316 test ! -s conftest.err
17317 } && test -s conftest.$ac_objext; then
17318 ac_cv_prog_cc_g=yes
17319 else
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17322
17323
17324 fi
17325
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 ac_c_werror_flag=$ac_save_c_werror_flag
17334 fi
17335 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17336 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17337 if test "$ac_test_CFLAGS" = set; then
17338 CFLAGS=$ac_save_CFLAGS
17339 elif test $ac_cv_prog_cc_g = yes; then
17340 if test "$GCC" = yes; then
17341 CFLAGS="-g -O2"
17342 else
17343 CFLAGS="-g"
17344 fi
17345 else
17346 if test "$GCC" = yes; then
17347 CFLAGS="-O2"
17348 else
17349 CFLAGS=
17350 fi
17351 fi
17352 fi
17353 fi
17354
17355 case `uname -s` in
17356 AIX*)
17357
17358
17359 ac_ext=cpp
17360 ac_cpp='$CXXCPP $CPPFLAGS'
17361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17364
17365 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17366 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17367 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 else
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376
17377 int
17378 main ()
17379 {
17380
17381 #ifndef __xlC__
17382 choke me
17383 #endif
17384
17385 ;
17386 return 0;
17387 }
17388 _ACEOF
17389 rm -f conftest.$ac_objext
17390 if { (ac_try="$ac_compile"
17391 case "(($ac_try" in
17392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17393 *) ac_try_echo=$ac_try;;
17394 esac
17395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17396 (eval "$ac_compile") 2>conftest.er1
17397 ac_status=$?
17398 grep -v '^ *+' conftest.er1 >conftest.err
17399 rm -f conftest.er1
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } && {
17403 test -z "$ac_cxx_werror_flag" ||
17404 test ! -s conftest.err
17405 } && test -s conftest.$ac_objext; then
17406 bakefile_cv_cxx_compiler___xlC__=yes
17407 else
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17410
17411 bakefile_cv_cxx_compiler___xlC__=no
17412
17413 fi
17414
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416
17417
17418 fi
17419 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17420 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17421 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17422 :; XLCXX=yes
17423 else
17424 :;
17425 fi
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434 ;;
17435
17436 Darwin)
17437
17438
17439 ac_ext=cpp
17440 ac_cpp='$CXXCPP $CPPFLAGS'
17441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17444
17445 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17446 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17447 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 else
17450 cat >conftest.$ac_ext <<_ACEOF
17451 /* confdefs.h. */
17452 _ACEOF
17453 cat confdefs.h >>conftest.$ac_ext
17454 cat >>conftest.$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17456
17457 int
17458 main ()
17459 {
17460
17461 #ifndef __MWERKS__
17462 choke me
17463 #endif
17464
17465 ;
17466 return 0;
17467 }
17468 _ACEOF
17469 rm -f conftest.$ac_objext
17470 if { (ac_try="$ac_compile"
17471 case "(($ac_try" in
17472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17473 *) ac_try_echo=$ac_try;;
17474 esac
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_compile") 2>conftest.er1
17477 ac_status=$?
17478 grep -v '^ *+' conftest.er1 >conftest.err
17479 rm -f conftest.er1
17480 cat conftest.err >&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } && {
17483 test -z "$ac_cxx_werror_flag" ||
17484 test ! -s conftest.err
17485 } && test -s conftest.$ac_objext; then
17486 bakefile_cv_cxx_compiler___MWERKS__=yes
17487 else
17488 echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.$ac_ext >&5
17490
17491 bakefile_cv_cxx_compiler___MWERKS__=no
17492
17493 fi
17494
17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17496
17497
17498 fi
17499 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17500 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17501 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17502 :; MWCXX=yes
17503 else
17504 :;
17505 fi
17506 ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17511
17512
17513
17514 if test "$MWCXX" != "yes"; then
17515
17516
17517 ac_ext=cpp
17518 ac_cpp='$CXXCPP $CPPFLAGS'
17519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17522
17523 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17524 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17525 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 else
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534
17535 int
17536 main ()
17537 {
17538
17539 #ifndef __xlC__
17540 choke me
17541 #endif
17542
17543 ;
17544 return 0;
17545 }
17546 _ACEOF
17547 rm -f conftest.$ac_objext
17548 if { (ac_try="$ac_compile"
17549 case "(($ac_try" in
17550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17552 esac
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_compile") 2>conftest.er1
17555 ac_status=$?
17556 grep -v '^ *+' conftest.er1 >conftest.err
17557 rm -f conftest.er1
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && {
17561 test -z "$ac_cxx_werror_flag" ||
17562 test ! -s conftest.err
17563 } && test -s conftest.$ac_objext; then
17564 bakefile_cv_cxx_compiler___xlC__=yes
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 bakefile_cv_cxx_compiler___xlC__=no
17570
17571 fi
17572
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574
17575
17576 fi
17577 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17578 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17579 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17580 :; XLCXX=yes
17581 else
17582 :;
17583 fi
17584 ac_ext=c
17585 ac_cpp='$CPP $CPPFLAGS'
17586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17589
17590
17591
17592 fi
17593 ;;
17594
17595 IRIX*)
17596
17597
17598 ac_ext=cpp
17599 ac_cpp='$CXXCPP $CPPFLAGS'
17600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17603
17604 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17605 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17606 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17607 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 else
17609 cat >conftest.$ac_ext <<_ACEOF
17610 /* confdefs.h. */
17611 _ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615
17616 int
17617 main ()
17618 {
17619
17620 #ifndef _SGI_COMPILER_VERSION
17621 choke me
17622 #endif
17623
17624 ;
17625 return 0;
17626 }
17627 _ACEOF
17628 rm -f conftest.$ac_objext
17629 if { (ac_try="$ac_compile"
17630 case "(($ac_try" in
17631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17632 *) ac_try_echo=$ac_try;;
17633 esac
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_compile") 2>conftest.er1
17636 ac_status=$?
17637 grep -v '^ *+' conftest.er1 >conftest.err
17638 rm -f conftest.er1
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } && {
17642 test -z "$ac_cxx_werror_flag" ||
17643 test ! -s conftest.err
17644 } && test -s conftest.$ac_objext; then
17645 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17646 else
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.$ac_ext >&5
17649
17650 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17651
17652 fi
17653
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655
17656
17657 fi
17658 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17659 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17660 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17661 :; SGICXX=yes
17662 else
17663 :;
17664 fi
17665 ac_ext=c
17666 ac_cpp='$CPP $CPPFLAGS'
17667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17670
17671
17672
17673 ;;
17674
17675 Linux*)
17676 if test "$INTELCXX" != "yes"; then
17677
17678
17679 ac_ext=cpp
17680 ac_cpp='$CXXCPP $CPPFLAGS'
17681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17684
17685 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17686 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17687 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17688 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 else
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696
17697 int
17698 main ()
17699 {
17700
17701 #ifndef __SUNPRO_CC
17702 choke me
17703 #endif
17704
17705 ;
17706 return 0;
17707 }
17708 _ACEOF
17709 rm -f conftest.$ac_objext
17710 if { (ac_try="$ac_compile"
17711 case "(($ac_try" in
17712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17713 *) ac_try_echo=$ac_try;;
17714 esac
17715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17716 (eval "$ac_compile") 2>conftest.er1
17717 ac_status=$?
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } && {
17723 test -z "$ac_cxx_werror_flag" ||
17724 test ! -s conftest.err
17725 } && test -s conftest.$ac_objext; then
17726 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17727 else
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.$ac_ext >&5
17730
17731 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17732
17733 fi
17734
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17736
17737
17738 fi
17739 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17740 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17741 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17742 :; SUNCXX=yes
17743 else
17744 :;
17745 fi
17746 ac_ext=c
17747 ac_cpp='$CPP $CPPFLAGS'
17748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17751
17752
17753
17754 fi
17755 ;;
17756
17757 HP-UX*)
17758
17759
17760 ac_ext=cpp
17761 ac_cpp='$CXXCPP $CPPFLAGS'
17762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17765
17766 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17767 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17768 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17769 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 else
17771 cat >conftest.$ac_ext <<_ACEOF
17772 /* confdefs.h. */
17773 _ACEOF
17774 cat confdefs.h >>conftest.$ac_ext
17775 cat >>conftest.$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17777
17778 int
17779 main ()
17780 {
17781
17782 #ifndef __HP_aCC
17783 choke me
17784 #endif
17785
17786 ;
17787 return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (ac_try="$ac_compile"
17792 case "(($ac_try" in
17793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;;
17795 esac
17796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17797 (eval "$ac_compile") 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } && {
17804 test -z "$ac_cxx_werror_flag" ||
17805 test ! -s conftest.err
17806 } && test -s conftest.$ac_objext; then
17807 bakefile_cv_cxx_compiler___HP_aCC=yes
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 bakefile_cv_cxx_compiler___HP_aCC=no
17813
17814 fi
17815
17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817
17818
17819 fi
17820 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17821 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17822 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17823 :; HPCXX=yes
17824 else
17825 :;
17826 fi
17827 ac_ext=c
17828 ac_cpp='$CPP $CPPFLAGS'
17829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17832
17833
17834
17835 ;;
17836
17837 OSF1)
17838
17839
17840 ac_ext=cpp
17841 ac_cpp='$CXXCPP $CPPFLAGS'
17842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845
17846 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17847 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17848 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857
17858 int
17859 main ()
17860 {
17861
17862 #ifndef __DECCXX
17863 choke me
17864 #endif
17865
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 rm -f conftest.$ac_objext
17871 if { (ac_try="$ac_compile"
17872 case "(($ac_try" in
17873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17874 *) ac_try_echo=$ac_try;;
17875 esac
17876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17877 (eval "$ac_compile") 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } && {
17884 test -z "$ac_cxx_werror_flag" ||
17885 test ! -s conftest.err
17886 } && test -s conftest.$ac_objext; then
17887 bakefile_cv_cxx_compiler___DECCXX=yes
17888 else
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.$ac_ext >&5
17891
17892 bakefile_cv_cxx_compiler___DECCXX=no
17893
17894 fi
17895
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897
17898
17899 fi
17900 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17901 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17902 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17903 :; COMPAQCXX=yes
17904 else
17905 :;
17906 fi
17907 ac_ext=c
17908 ac_cpp='$CPP $CPPFLAGS'
17909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17912
17913
17914
17915 ;;
17916
17917 SunOS)
17918
17919
17920 ac_ext=cpp
17921 ac_cpp='$CXXCPP $CPPFLAGS'
17922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17925
17926 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17927 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17928 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17930 else
17931 cat >conftest.$ac_ext <<_ACEOF
17932 /* confdefs.h. */
17933 _ACEOF
17934 cat confdefs.h >>conftest.$ac_ext
17935 cat >>conftest.$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17937
17938 int
17939 main ()
17940 {
17941
17942 #ifndef __SUNPRO_CC
17943 choke me
17944 #endif
17945
17946 ;
17947 return 0;
17948 }
17949 _ACEOF
17950 rm -f conftest.$ac_objext
17951 if { (ac_try="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17955 esac
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_cxx_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.$ac_objext; then
17967 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17971
17972 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17973
17974 fi
17975
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977
17978
17979 fi
17980 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17981 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17982 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17983 :; SUNCXX=yes
17984 else
17985 :;
17986 fi
17987 ac_ext=c
17988 ac_cpp='$CPP $CPPFLAGS'
17989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17992
17993
17994
17995 ;;
17996 esac
17997 fi
17998
17999
18000
18001 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18002 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18003 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18004 { (exit 1); exit 1; }; }
18005 fi
18006
18007 if test "x$SUNCXX" != xyes; then
18008 if test -n "$ac_tool_prefix"; then
18009 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18010 set dummy ${ac_tool_prefix}ar; ac_word=$2
18011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18013 if test "${ac_cv_prog_AR+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 else
18016 if test -n "$AR"; then
18017 ac_cv_prog_AR="$AR" # Let the user override the test.
18018 else
18019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18020 for as_dir in $PATH
18021 do
18022 IFS=$as_save_IFS
18023 test -z "$as_dir" && as_dir=.
18024 for ac_exec_ext in '' $ac_executable_extensions; do
18025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18026 ac_cv_prog_AR="${ac_tool_prefix}ar"
18027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18028 break 2
18029 fi
18030 done
18031 done
18032 IFS=$as_save_IFS
18033
18034 fi
18035 fi
18036 AR=$ac_cv_prog_AR
18037 if test -n "$AR"; then
18038 { echo "$as_me:$LINENO: result: $AR" >&5
18039 echo "${ECHO_T}$AR" >&6; }
18040 else
18041 { echo "$as_me:$LINENO: result: no" >&5
18042 echo "${ECHO_T}no" >&6; }
18043 fi
18044
18045
18046 fi
18047 if test -z "$ac_cv_prog_AR"; then
18048 ac_ct_AR=$AR
18049 # Extract the first word of "ar", so it can be a program name with args.
18050 set dummy ar; ac_word=$2
18051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18053 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 else
18056 if test -n "$ac_ct_AR"; then
18057 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18058 else
18059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18060 for as_dir in $PATH
18061 do
18062 IFS=$as_save_IFS
18063 test -z "$as_dir" && as_dir=.
18064 for ac_exec_ext in '' $ac_executable_extensions; do
18065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18066 ac_cv_prog_ac_ct_AR="ar"
18067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18068 break 2
18069 fi
18070 done
18071 done
18072 IFS=$as_save_IFS
18073
18074 fi
18075 fi
18076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18077 if test -n "$ac_ct_AR"; then
18078 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18079 echo "${ECHO_T}$ac_ct_AR" >&6; }
18080 else
18081 { echo "$as_me:$LINENO: result: no" >&5
18082 echo "${ECHO_T}no" >&6; }
18083 fi
18084
18085 if test "x$ac_ct_AR" = x; then
18086 AR=""
18087 else
18088 case $cross_compiling:$ac_tool_warned in
18089 yes:)
18090 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18091 whose name does not start with the host triplet. If you think this
18092 configuration is useful to you, please write to autoconf@gnu.org." >&5
18093 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18094 whose name does not start with the host triplet. If you think this
18095 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18096 ac_tool_warned=yes ;;
18097 esac
18098 AR=$ac_ct_AR
18099 fi
18100 else
18101 AR="$ac_cv_prog_AR"
18102 fi
18103
18104 if test "x$AR" = "x" ; then
18105 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18106 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18107 { (exit 1); exit 1; }; }
18108 fi
18109 fi
18110
18111 retest_macosx_linking=no
18112
18113 #if test "$wxUSE_MAC" = 1; then
18114 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18115 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18116 # Implicitly turn on the new --with-macosx-sdk using the default
18117 # SDK which provides the behavior this option has always had.
18118 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18119 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18120 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18121 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18122 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18123 wxUSE_MACOSX_SDK=yes
18124 fi
18125 else
18126 # Complain to user if he specified an argument to --enable-universal_binary
18127 # and also 1) specified --with-macosx-sdk using the default (yes) or
18128 # 2) specified --with-macosx-sdk using a path or 3) specified
18129 # --without-macosx-sdk (no).
18130 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18131 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18132 See \`config.log' for more details." >&5
18133 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18134 See \`config.log' for more details." >&2;}
18135 { (exit 1); exit 1; }; }
18136 else
18137 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18138 # special-case the empty string because the below test simply
18139 # converts "no" to the empty string anyway.
18140 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18141 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18142 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18143 fi
18144 fi
18145 OSX_UNIV_OPTS="-arch ppc -arch i386"
18146 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18147 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18148 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18149 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18150 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18151 retest_macosx_linking=yes
18152
18153 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18154 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18155 bk_use_pch=no
18156 fi
18157 #fi
18158
18159 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18160 wxUSE_MACOSX_SDK=
18161 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18162 # TODO: Search for most recent SDK and use it.
18163 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18164 fi
18165
18166
18167 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18168 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18169 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18170 if ! test -d "$wxUSE_MACOSX_SDK"; then
18171 { { echo "$as_me:$LINENO: error: not found
18172 See \`config.log' for more details." >&5
18173 echo "$as_me: error: not found
18174 See \`config.log' for more details." >&2;}
18175 { (exit 1); exit 1; }; }
18176 else
18177 { echo "$as_me:$LINENO: result: exists" >&5
18178 echo "${ECHO_T}exists" >&6; }
18179 fi
18180 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18181 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18182 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18183 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18184 retest_macosx_linking=yes
18185 fi
18186
18187 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18188 wxUSE_MACOSX_VERSION_MIN=
18189 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18190 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18191 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18192 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18193
18194 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/'`
18195
18196 # If that failed, try again with the new key
18197 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18198
18199 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/'`
18200
18201 fi
18202
18203 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18204 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18205 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18206 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18207 else
18208 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18209 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18210 wxUSE_MACOSX_VERSION_MIN=
18211 fi
18212 else
18213 wxUSE_MACOSX_VERSION_MIN=
18214 fi
18215 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18216 if test "$wxUSE_MAC" = 1; then
18217 # otherwise configure stops on leopard for universal_binary
18218 wxUSE_MACOSX_VERSION_MIN=10.4
18219 fi
18220 fi
18221
18222 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18223 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18224 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18225 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18226 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18227 retest_macosx_linking=yes
18228 fi
18229
18230 if test "x$retest_macosx_linking" = "xyes"; then
18231 ac_ext=c
18232 ac_cpp='$CPP $CPPFLAGS'
18233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18236
18237 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18238 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18239 cat >conftest.$ac_ext <<_ACEOF
18240 /* confdefs.h. */
18241 _ACEOF
18242 cat confdefs.h >>conftest.$ac_ext
18243 cat >>conftest.$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18245
18246 int
18247 main ()
18248 {
18249
18250 ;
18251 return 0;
18252 }
18253 _ACEOF
18254 rm -f conftest.$ac_objext conftest$ac_exeext
18255 if { (ac_try="$ac_link"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18259 esac
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_link") 2>conftest.er1
18262 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest$ac_exeext &&
18271 $as_test_x conftest$ac_exeext; then
18272 { echo "$as_me:$LINENO: result: yes" >&5
18273 echo "${ECHO_T}yes" >&6; }
18274 else
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.$ac_ext >&5
18277
18278 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18279 See \`config.log' for more details." >&5
18280 echo "$as_me: error: no. Try a different SDK
18281 See \`config.log' for more details." >&2;}
18282 { (exit 1); exit 1; }; }; exit 1
18283 fi
18284
18285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18286 conftest$ac_exeext conftest.$ac_ext
18287 ac_ext=c
18288 ac_cpp='$CPP $CPPFLAGS'
18289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18292
18293
18294 ac_ext=cpp
18295 ac_cpp='$CXXCPP $CPPFLAGS'
18296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18299
18300 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18301 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18302 cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h. */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308
18309 int
18310 main ()
18311 {
18312
18313 ;
18314 return 0;
18315 }
18316 _ACEOF
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (ac_try="$ac_link"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_link") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_cxx_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest$ac_exeext &&
18334 $as_test_x conftest$ac_exeext; then
18335 { echo "$as_me:$LINENO: result: yes" >&5
18336 echo "${ECHO_T}yes" >&6; }
18337 else
18338 echo "$as_me: failed program was:" >&5
18339 sed 's/^/| /' conftest.$ac_ext >&5
18340
18341 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18342 See \`config.log' for more details." >&5
18343 echo "$as_me: error: no. Try a different SDK
18344 See \`config.log' for more details." >&2;}
18345 { (exit 1); exit 1; }; }; exit 1
18346 fi
18347
18348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18349 conftest$ac_exeext conftest.$ac_ext
18350 ac_ext=c
18351 ac_cpp='$CPP $CPPFLAGS'
18352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355
18356 fi
18357
18358
18359 case "${host}" in
18360
18361 *-*-darwin* )
18362 INSTALL_PROGRAM="cp -fp"
18363 INSTALL_DATA="cp -fp"
18364 ;;
18365 *)
18366 ;;
18367 esac
18368
18369
18370 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18371 CXXFLAGS="-qunique $CXXFLAGS"
18372 fi
18373
18374 case "${host}" in
18375 powerpc-*-darwin* )
18376 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18377 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18378 cat >conftest.$ac_ext <<_ACEOF
18379 /* confdefs.h. */
18380 _ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384
18385 int
18386 main ()
18387 {
18388 #ifndef __POWERPC__
18389 choke me for lack of PowerPC
18390 #endif
18391
18392 ;
18393 return 0;
18394 }
18395 _ACEOF
18396 rm -f conftest.$ac_objext
18397 if { (ac_try="$ac_compile"
18398 case "(($ac_try" in
18399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18400 *) ac_try_echo=$ac_try;;
18401 esac
18402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18403 (eval "$ac_compile") 2>conftest.er1
18404 ac_status=$?
18405 grep -v '^ *+' conftest.er1 >conftest.err
18406 rm -f conftest.er1
18407 cat conftest.err >&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } && {
18410 test -z "$ac_c_werror_flag" ||
18411 test ! -s conftest.err
18412 } && test -s conftest.$ac_objext; then
18413 { echo "$as_me:$LINENO: result: yes" >&5
18414 echo "${ECHO_T}yes" >&6; }
18415 else
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.$ac_ext >&5
18418
18419 { echo "$as_me:$LINENO: result: no" >&5
18420 echo "${ECHO_T}no" >&6; }
18421 cat >>confdefs.h <<\_ACEOF
18422 #define __POWERPC__ 1
18423 _ACEOF
18424
18425
18426 fi
18427
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 ;;
18430 esac
18431
18432 case "${host}" in
18433 *-*-darwin* )
18434 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18435 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18436 cat >conftest.$ac_ext <<_ACEOF
18437 /* confdefs.h. */
18438 _ACEOF
18439 cat confdefs.h >>conftest.$ac_ext
18440 cat >>conftest.$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18442 #include <CoreFoundation/CFBase.h>
18443
18444 int
18445 main ()
18446 {
18447
18448 ;
18449 return 0;
18450 }
18451 _ACEOF
18452 rm -f conftest.$ac_objext
18453 if { (ac_try="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18457 esac
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18460 ac_status=$?
18461 grep -v '^ *+' conftest.er1 >conftest.err
18462 rm -f conftest.er1
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 { echo "$as_me:$LINENO: result: yes" >&5
18470 echo "${ECHO_T}yes" >&6; }
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 { echo "$as_me:$LINENO: result: no" >&5
18476 echo "${ECHO_T}no" >&6; }
18477 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18478 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18479 cat >conftest.$ac_ext <<_ACEOF
18480 /* confdefs.h. */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 #define __CF_USE_FRAMEWORK_INCLUDES__
18486 #include <CoreFoundation/CFBase.h>
18487
18488 int
18489 main ()
18490 {
18491
18492 ;
18493 return 0;
18494 }
18495 _ACEOF
18496 rm -f conftest.$ac_objext
18497 if { (ac_try="$ac_compile"
18498 case "(($ac_try" in
18499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18500 *) ac_try_echo=$ac_try;;
18501 esac
18502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18503 (eval "$ac_compile") 2>conftest.er1
18504 ac_status=$?
18505 grep -v '^ *+' conftest.er1 >conftest.err
18506 rm -f conftest.er1
18507 cat conftest.err >&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); } && {
18510 test -z "$ac_c_werror_flag" ||
18511 test ! -s conftest.err
18512 } && test -s conftest.$ac_objext; then
18513 { echo "$as_me:$LINENO: result: yes" >&5
18514 echo "${ECHO_T}yes" >&6; }
18515 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18516 else
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.$ac_ext >&5
18519
18520 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18521 See \`config.log' for more details." >&5
18522 echo "$as_me: error: no. CoreFoundation not available.
18523 See \`config.log' for more details." >&2;}
18524 { (exit 1); exit 1; }; }
18525
18526 fi
18527
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529
18530
18531 fi
18532
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 ;;
18535 esac
18536
18537 wants_win32=0
18538 doesnt_want_win32=0
18539 case "${host}" in
18540 *-*-cygwin*)
18541 if test "$wxUSE_MSW" = 1 ; then
18542 wants_win32=1
18543 else
18544 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18545 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18546 if test "${wx_cv_nocygwin+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556
18557 int
18558 main ()
18559 {
18560
18561 #ifdef __MINGW32__
18562 choke me
18563 #endif
18564
18565 ;
18566 return 0;
18567 }
18568 _ACEOF
18569 rm -f conftest.$ac_objext
18570 if { (ac_try="$ac_compile"
18571 case "(($ac_try" in
18572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18573 *) ac_try_echo=$ac_try;;
18574 esac
18575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18576 (eval "$ac_compile") 2>conftest.er1
18577 ac_status=$?
18578 grep -v '^ *+' conftest.er1 >conftest.err
18579 rm -f conftest.er1
18580 cat conftest.err >&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); } && {
18583 test -z "$ac_c_werror_flag" ||
18584 test ! -s conftest.err
18585 } && test -s conftest.$ac_objext; then
18586 wx_cv_nocygwin=no
18587 else
18588 echo "$as_me: failed program was:" >&5
18589 sed 's/^/| /' conftest.$ac_ext >&5
18590
18591 wx_cv_nocygwin=yes
18592
18593 fi
18594
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596
18597
18598 fi
18599 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18600 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18601
18602 if test "$wx_cv_nocygwin" = "yes"; then
18603 wants_win32=1
18604 else
18605 doesnt_want_win32=1
18606 fi
18607 fi
18608 if test "$wants_win32" = 1 ; then
18609 BAKEFILE_FORCE_PLATFORM=win32
18610 fi
18611 ;;
18612 *-*-mingw*)
18613 wants_win32=1
18614 ;;
18615 esac
18616
18617 if test "$wxUSE_WINE" = "yes"; then
18618 wants_win32=1
18619 LDFLAGS_GUI="-mwindows"
18620 fi
18621
18622 if test "$wants_win32" = 1 ; then
18623 USE_UNIX=0
18624 USE_WIN32=1
18625 cat >>confdefs.h <<\_ACEOF
18626 #define __WIN32__ 1
18627 _ACEOF
18628
18629 cat >>confdefs.h <<\_ACEOF
18630 #define __WIN95__ 1
18631 _ACEOF
18632
18633 cat >>confdefs.h <<\_ACEOF
18634 #define __WINDOWS__ 1
18635 _ACEOF
18636
18637 cat >>confdefs.h <<\_ACEOF
18638 #define __GNUWIN32__ 1
18639 _ACEOF
18640
18641 cat >>confdefs.h <<\_ACEOF
18642 #define STRICT 1
18643 _ACEOF
18644
18645 fi
18646 if test "$doesnt_want_win32" = 1 ; then
18647 USE_UNIX=1
18648 USE_WIN32=0
18649 fi
18650
18651 if test "$USE_UNIX" = 1 ; then
18652 wxUSE_UNIX=yes
18653 cat >>confdefs.h <<\_ACEOF
18654 #define __UNIX__ 1
18655 _ACEOF
18656
18657 fi
18658
18659 case "${host}" in
18660 *-pc-os2_emx | *-pc-os2-emx )
18661 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18662 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18663 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18664 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18666 else
18667 ac_check_lib_save_LIBS=$LIBS
18668 LIBS="-lcExt $LIBS"
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675
18676 /* Override any GCC internal prototype to avoid an error.
18677 Use char because int might match the return type of a GCC
18678 builtin and then its argument prototype would still apply. */
18679 #ifdef __cplusplus
18680 extern "C"
18681 #endif
18682 char drand48 ();
18683 int
18684 main ()
18685 {
18686 return drand48 ();
18687 ;
18688 return 0;
18689 }
18690 _ACEOF
18691 rm -f conftest.$ac_objext conftest$ac_exeext
18692 if { (ac_try="$ac_link"
18693 case "(($ac_try" in
18694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18695 *) ac_try_echo=$ac_try;;
18696 esac
18697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18698 (eval "$ac_link") 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } && {
18705 test -z "$ac_c_werror_flag" ||
18706 test ! -s conftest.err
18707 } && test -s conftest$ac_exeext &&
18708 $as_test_x conftest$ac_exeext; then
18709 ac_cv_lib_cExt_drand48=yes
18710 else
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.$ac_ext >&5
18713
18714 ac_cv_lib_cExt_drand48=no
18715 fi
18716
18717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18718 conftest$ac_exeext conftest.$ac_ext
18719 LIBS=$ac_check_lib_save_LIBS
18720 fi
18721 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18722 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18723 if test $ac_cv_lib_cExt_drand48 = yes; then
18724 LIBS="$LIBS -lcExt"
18725 fi
18726
18727 else
18728 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18729 fi
18730 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18731 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18732 if test "${wx_cv_gccversion+set}" = set; then
18733 echo $ECHO_N "(cached) $ECHO_C" >&6
18734 else
18735
18736 if test "$cross_compiling" = yes; then
18737 wx_cv_gccversion="EMX2"
18738
18739 else
18740 cat >conftest.$ac_ext <<_ACEOF
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746
18747 #include <stdio.h>
18748
18749 int main()
18750 {
18751 FILE *f=fopen("conftestval", "w");
18752 if (!f) exit(1);
18753 fprintf(f,
18754 #if (__GNUC__ < 3)
18755 "EMX2"
18756 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18757 "EMX3"
18758 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18759 "Innotek5"
18760 #else
18761 "Innotek6"
18762 #endif
18763 );
18764 exit(0);
18765 }
18766
18767 _ACEOF
18768 rm -f conftest$ac_exeext
18769 if { (ac_try="$ac_link"
18770 case "(($ac_try" in
18771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18773 esac
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_link") 2>&5
18776 ac_status=$?
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18779 { (case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18782 esac
18783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_try") 2>&5
18785 ac_status=$?
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; }; then
18788 wx_cv_gccversion=`cat conftestval`
18789 else
18790 echo "$as_me: program exited with status $ac_status" >&5
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18793
18794 ( exit $ac_status )
18795 wx_cv_gccversion="EMX2"
18796 fi
18797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18798 fi
18799
18800
18801
18802 fi
18803 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18804 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18805 if test "$wx_cv_gccversion" = "EMX2"; then
18806 LIBS="$LIBS -lstdcpp"
18807 LDFLAGS="$LDFLAGS -Zsysv-signals"
18808 else
18809 if test "$wx_cv_gccversion" = "EMX3"; then
18810 LIBS="$LIBS -lstdcxx -lgcc"
18811 LDFLAGS="$LDFLAGS -Zsysv-signals"
18812 else
18813 LIBS="$LIBS -lstdc++"
18814 fi
18815 fi
18816 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18817 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18818 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18819 wxUSE_OMF=yes
18820 enable_omf=yes
18821 fi
18822 ;;
18823 *)
18824
18825 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18826 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18827 if test "${ac_cv_string_strcasecmp+set}" = set; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 else
18830
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837
18838 #include <string.h>
18839
18840 int
18841 main ()
18842 {
18843
18844 strcasecmp("foo", "bar");
18845
18846 ;
18847 return 0;
18848 }
18849 _ACEOF
18850 rm -f conftest.$ac_objext conftest$ac_exeext
18851 if { (ac_try="$ac_link"
18852 case "(($ac_try" in
18853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18854 *) ac_try_echo=$ac_try;;
18855 esac
18856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18857 (eval "$ac_link") 2>conftest.er1
18858 ac_status=$?
18859 grep -v '^ *+' conftest.er1 >conftest.err
18860 rm -f conftest.er1
18861 cat conftest.err >&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } && {
18864 test -z "$ac_c_werror_flag" ||
18865 test ! -s conftest.err
18866 } && test -s conftest$ac_exeext &&
18867 $as_test_x conftest$ac_exeext; then
18868 ac_cv_string_strcasecmp=yes
18869 else
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18872
18873 ac_cv_string_strcasecmp=no
18874
18875 fi
18876
18877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18878 conftest$ac_exeext conftest.$ac_ext
18879
18880 fi
18881 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18882 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18883
18884 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18885 cat >>confdefs.h <<\_ACEOF
18886 #define HAVE_STRCASECMP_IN_STRING_H 1
18887 _ACEOF
18888
18889 else
18890 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18891 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18892 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 else
18895
18896 cat >conftest.$ac_ext <<_ACEOF
18897 /* confdefs.h. */
18898 _ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902
18903 #include <strings.h>
18904
18905 int
18906 main ()
18907 {
18908
18909 strcasecmp("foo", "bar");
18910
18911 ;
18912 return 0;
18913 }
18914 _ACEOF
18915 rm -f conftest.$ac_objext conftest$ac_exeext
18916 if { (ac_try="$ac_link"
18917 case "(($ac_try" in
18918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18919 *) ac_try_echo=$ac_try;;
18920 esac
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_link") 2>conftest.er1
18923 ac_status=$?
18924 grep -v '^ *+' conftest.er1 >conftest.err
18925 rm -f conftest.er1
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } && {
18929 test -z "$ac_c_werror_flag" ||
18930 test ! -s conftest.err
18931 } && test -s conftest$ac_exeext &&
18932 $as_test_x conftest$ac_exeext; then
18933 ac_cv_strings_strcasecmp=yes
18934 else
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.$ac_ext >&5
18937
18938 ac_cv_strings_strcasecmp=no
18939
18940 fi
18941
18942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18943 conftest$ac_exeext conftest.$ac_ext
18944
18945 fi
18946 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18947 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18948
18949 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18950 cat >>confdefs.h <<\_ACEOF
18951 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18952 _ACEOF
18953
18954 else
18955 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18956 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18957 { (exit 1); exit 1; }; }
18958 fi
18959 fi
18960
18961 ;;
18962 esac
18963
18964
18965 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18966 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18967 if test "${ac_cv_header_stdc+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 else
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <stdlib.h>
18977 #include <stdarg.h>
18978 #include <string.h>
18979 #include <float.h>
18980
18981 int
18982 main ()
18983 {
18984
18985 ;
18986 return 0;
18987 }
18988 _ACEOF
18989 rm -f conftest.$ac_objext
18990 if { (ac_try="$ac_compile"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994 esac
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_compile") 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest.$ac_objext; then
19006 ac_cv_header_stdc=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19010
19011 ac_cv_header_stdc=no
19012 fi
19013
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015
19016 if test $ac_cv_header_stdc = yes; then
19017 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 #include <string.h>
19025
19026 _ACEOF
19027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19028 $EGREP "memchr" >/dev/null 2>&1; then
19029 :
19030 else
19031 ac_cv_header_stdc=no
19032 fi
19033 rm -f conftest*
19034
19035 fi
19036
19037 if test $ac_cv_header_stdc = yes; then
19038 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19039 cat >conftest.$ac_ext <<_ACEOF
19040 /* confdefs.h. */
19041 _ACEOF
19042 cat confdefs.h >>conftest.$ac_ext
19043 cat >>conftest.$ac_ext <<_ACEOF
19044 /* end confdefs.h. */
19045 #include <stdlib.h>
19046
19047 _ACEOF
19048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19049 $EGREP "free" >/dev/null 2>&1; then
19050 :
19051 else
19052 ac_cv_header_stdc=no
19053 fi
19054 rm -f conftest*
19055
19056 fi
19057
19058 if test $ac_cv_header_stdc = yes; then
19059 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19060 if test "$cross_compiling" = yes; then
19061 :
19062 else
19063 cat >conftest.$ac_ext <<_ACEOF
19064 /* confdefs.h. */
19065 _ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19069 #include <ctype.h>
19070 #include <stdlib.h>
19071 #if ((' ' & 0x0FF) == 0x020)
19072 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19073 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19074 #else
19075 # define ISLOWER(c) \
19076 (('a' <= (c) && (c) <= 'i') \
19077 || ('j' <= (c) && (c) <= 'r') \
19078 || ('s' <= (c) && (c) <= 'z'))
19079 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19080 #endif
19081
19082 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19083 int
19084 main ()
19085 {
19086 int i;
19087 for (i = 0; i < 256; i++)
19088 if (XOR (islower (i), ISLOWER (i))
19089 || toupper (i) != TOUPPER (i))
19090 return 2;
19091 return 0;
19092 }
19093 _ACEOF
19094 rm -f conftest$ac_exeext
19095 if { (ac_try="$ac_link"
19096 case "(($ac_try" in
19097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19098 *) ac_try_echo=$ac_try;;
19099 esac
19100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19101 (eval "$ac_link") 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19105 { (case "(($ac_try" in
19106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19108 esac
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_try") 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 :
19115 else
19116 echo "$as_me: program exited with status $ac_status" >&5
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.$ac_ext >&5
19119
19120 ( exit $ac_status )
19121 ac_cv_header_stdc=no
19122 fi
19123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19124 fi
19125
19126
19127 fi
19128 fi
19129 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19130 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19131 if test $ac_cv_header_stdc = yes; then
19132
19133 cat >>confdefs.h <<\_ACEOF
19134 #define STDC_HEADERS 1
19135 _ACEOF
19136
19137 fi
19138
19139 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19150 inttypes.h stdint.h unistd.h
19151 do
19152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19158 cat >conftest.$ac_ext <<_ACEOF
19159 /* confdefs.h. */
19160 _ACEOF
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 $ac_includes_default
19165
19166 #include <$ac_header>
19167 _ACEOF
19168 rm -f conftest.$ac_objext
19169 if { (ac_try="$ac_compile"
19170 case "(($ac_try" in
19171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19172 *) ac_try_echo=$ac_try;;
19173 esac
19174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19175 (eval "$ac_compile") 2>conftest.er1
19176 ac_status=$?
19177 grep -v '^ *+' conftest.er1 >conftest.err
19178 rm -f conftest.er1
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } && {
19182 test -z "$ac_c_werror_flag" ||
19183 test ! -s conftest.err
19184 } && test -s conftest.$ac_objext; then
19185 eval "$as_ac_Header=yes"
19186 else
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19189
19190 eval "$as_ac_Header=no"
19191 fi
19192
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 fi
19195 ac_res=`eval echo '${'$as_ac_Header'}'`
19196 { echo "$as_me:$LINENO: result: $ac_res" >&5
19197 echo "${ECHO_T}$ac_res" >&6; }
19198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19199 cat >>confdefs.h <<_ACEOF
19200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19201 _ACEOF
19202
19203 fi
19204
19205 done
19206
19207
19208
19209
19210 for ac_header in langinfo.h wchar.h
19211 do
19212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 else
19218 cat >conftest.$ac_ext <<_ACEOF
19219 /* confdefs.h. */
19220 _ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19225
19226 #include <$ac_header>
19227 _ACEOF
19228 rm -f conftest.$ac_objext
19229 if { (ac_try="$ac_compile"
19230 case "(($ac_try" in
19231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19232 *) ac_try_echo=$ac_try;;
19233 esac
19234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19235 (eval "$ac_compile") 2>conftest.er1
19236 ac_status=$?
19237 grep -v '^ *+' conftest.er1 >conftest.err
19238 rm -f conftest.er1
19239 cat conftest.err >&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } && {
19242 test -z "$ac_c_werror_flag" ||
19243 test ! -s conftest.err
19244 } && test -s conftest.$ac_objext; then
19245 eval "$as_ac_Header=yes"
19246 else
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19249
19250 eval "$as_ac_Header=no"
19251 fi
19252
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 fi
19255 ac_res=`eval echo '${'$as_ac_Header'}'`
19256 { echo "$as_me:$LINENO: result: $ac_res" >&5
19257 echo "${ECHO_T}$ac_res" >&6; }
19258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19259 cat >>confdefs.h <<_ACEOF
19260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19261 _ACEOF
19262
19263 fi
19264
19265 done
19266
19267
19268 if test "$ac_cv_header_wchar_h" != "yes"; then
19269
19270 for ac_header in wcstr.h
19271 do
19272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19277 else
19278 cat >conftest.$ac_ext <<_ACEOF
19279 /* confdefs.h. */
19280 _ACEOF
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 $ac_includes_default
19285
19286 #include <$ac_header>
19287 _ACEOF
19288 rm -f conftest.$ac_objext
19289 if { (ac_try="$ac_compile"
19290 case "(($ac_try" in
19291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19292 *) ac_try_echo=$ac_try;;
19293 esac
19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_compile") 2>conftest.er1
19296 ac_status=$?
19297 grep -v '^ *+' conftest.er1 >conftest.err
19298 rm -f conftest.er1
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } && {
19302 test -z "$ac_c_werror_flag" ||
19303 test ! -s conftest.err
19304 } && test -s conftest.$ac_objext; then
19305 eval "$as_ac_Header=yes"
19306 else
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.$ac_ext >&5
19309
19310 eval "$as_ac_Header=no"
19311 fi
19312
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 fi
19315 ac_res=`eval echo '${'$as_ac_Header'}'`
19316 { echo "$as_me:$LINENO: result: $ac_res" >&5
19317 echo "${ECHO_T}$ac_res" >&6; }
19318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19319 cat >>confdefs.h <<_ACEOF
19320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19321 _ACEOF
19322
19323 fi
19324
19325 done
19326
19327 fi
19328
19329 case "${host}" in
19330 *-pc-os2_emx | *-pc-os2-emx )
19331 if test $ac_cv_header_langinfo_h = "yes" \
19332 -a \( "$wx_cv_gccversion" = "EMX2" \
19333 -o "$wx_cv_gccversion" = "EMX3" \
19334 -o "$wx_cv_gccversion" = "Innotek5" \); then
19335 LIBS="$LIBS -lintl"
19336 fi
19337 ;;
19338 esac
19339
19340 if test "$USE_UNIX" = 1 ; then
19341
19342 for ac_header in sys/select.h
19343 do
19344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19345 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 else
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 $ac_includes_default
19357
19358 #include <$ac_header>
19359 _ACEOF
19360 rm -f conftest.$ac_objext
19361 if { (ac_try="$ac_compile"
19362 case "(($ac_try" in
19363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19364 *) ac_try_echo=$ac_try;;
19365 esac
19366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367 (eval "$ac_compile") 2>conftest.er1
19368 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } && {
19374 test -z "$ac_c_werror_flag" ||
19375 test ! -s conftest.err
19376 } && test -s conftest.$ac_objext; then
19377 eval "$as_ac_Header=yes"
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19381
19382 eval "$as_ac_Header=no"
19383 fi
19384
19385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19386 fi
19387 ac_res=`eval echo '${'$as_ac_Header'}'`
19388 { echo "$as_me:$LINENO: result: $ac_res" >&5
19389 echo "${ECHO_T}$ac_res" >&6; }
19390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19391 cat >>confdefs.h <<_ACEOF
19392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19393 _ACEOF
19394
19395 fi
19396
19397 done
19398
19399 fi
19400
19401
19402 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19403 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19404 if test "${ac_cv_c_const+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 else
19407 cat >conftest.$ac_ext <<_ACEOF
19408 /* confdefs.h. */
19409 _ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413
19414 int
19415 main ()
19416 {
19417 /* FIXME: Include the comments suggested by Paul. */
19418 #ifndef __cplusplus
19419 /* Ultrix mips cc rejects this. */
19420 typedef int charset[2];
19421 const charset cs;
19422 /* SunOS 4.1.1 cc rejects this. */
19423 char const *const *pcpcc;
19424 char **ppc;
19425 /* NEC SVR4.0.2 mips cc rejects this. */
19426 struct point {int x, y;};
19427 static struct point const zero = {0,0};
19428 /* AIX XL C 1.02.0.0 rejects this.
19429 It does not let you subtract one const X* pointer from another in
19430 an arm of an if-expression whose if-part is not a constant
19431 expression */
19432 const char *g = "string";
19433 pcpcc = &g + (g ? g-g : 0);
19434 /* HPUX 7.0 cc rejects these. */
19435 ++pcpcc;
19436 ppc = (char**) pcpcc;
19437 pcpcc = (char const *const *) ppc;
19438 { /* SCO 3.2v4 cc rejects this. */
19439 char *t;
19440 char const *s = 0 ? (char *) 0 : (char const *) 0;
19441
19442 *t++ = 0;
19443 if (s) return 0;
19444 }
19445 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19446 int x[] = {25, 17};
19447 const int *foo = &x[0];
19448 ++foo;
19449 }
19450 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19451 typedef const int *iptr;
19452 iptr p = 0;
19453 ++p;
19454 }
19455 { /* AIX XL C 1.02.0.0 rejects this saying
19456 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19457 struct s { int j; const int *ap[3]; };
19458 struct s *b; b->j = 5;
19459 }
19460 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19461 const int foo = 10;
19462 if (!foo) return 0;
19463 }
19464 return !cs[0] && !zero.x;
19465 #endif
19466
19467 ;
19468 return 0;
19469 }
19470 _ACEOF
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19475 *) ac_try_echo=$ac_try;;
19476 esac
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19479 ac_status=$?
19480 grep -v '^ *+' conftest.er1 >conftest.err
19481 rm -f conftest.er1
19482 cat conftest.err >&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.$ac_objext; then
19488 ac_cv_c_const=yes
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19492
19493 ac_cv_c_const=no
19494 fi
19495
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 fi
19498 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19499 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19500 if test $ac_cv_c_const = no; then
19501
19502 cat >>confdefs.h <<\_ACEOF
19503 #define const
19504 _ACEOF
19505
19506 fi
19507
19508 { echo "$as_me:$LINENO: checking for inline" >&5
19509 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19510 if test "${ac_cv_c_inline+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 else
19513 ac_cv_c_inline=no
19514 for ac_kw in inline __inline__ __inline; do
19515 cat >conftest.$ac_ext <<_ACEOF
19516 /* confdefs.h. */
19517 _ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 #ifndef __cplusplus
19522 typedef int foo_t;
19523 static $ac_kw foo_t static_foo () {return 0; }
19524 $ac_kw foo_t foo () {return 0; }
19525 #endif
19526
19527 _ACEOF
19528 rm -f conftest.$ac_objext
19529 if { (ac_try="$ac_compile"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_compile") 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_c_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest.$ac_objext; then
19545 ac_cv_c_inline=$ac_kw
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19549
19550
19551 fi
19552
19553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 test "$ac_cv_c_inline" != no && break
19555 done
19556
19557 fi
19558 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19559 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19560
19561
19562 case $ac_cv_c_inline in
19563 inline | yes) ;;
19564 *)
19565 case $ac_cv_c_inline in
19566 no) ac_val=;;
19567 *) ac_val=$ac_cv_c_inline;;
19568 esac
19569 cat >>confdefs.h <<_ACEOF
19570 #ifndef __cplusplus
19571 #define inline $ac_val
19572 #endif
19573 _ACEOF
19574 ;;
19575 esac
19576
19577
19578 { echo "$as_me:$LINENO: checking for short" >&5
19579 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19580 if test "${ac_cv_type_short+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 else
19583 cat >conftest.$ac_ext <<_ACEOF
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 typedef short ac__type_new_;
19591 int
19592 main ()
19593 {
19594 if ((ac__type_new_ *) 0)
19595 return 0;
19596 if (sizeof (ac__type_new_))
19597 return 0;
19598 ;
19599 return 0;
19600 }
19601 _ACEOF
19602 rm -f conftest.$ac_objext
19603 if { (ac_try="$ac_compile"
19604 case "(($ac_try" in
19605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19606 *) ac_try_echo=$ac_try;;
19607 esac
19608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19609 (eval "$ac_compile") 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } && {
19616 test -z "$ac_c_werror_flag" ||
19617 test ! -s conftest.err
19618 } && test -s conftest.$ac_objext; then
19619 ac_cv_type_short=yes
19620 else
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.$ac_ext >&5
19623
19624 ac_cv_type_short=no
19625 fi
19626
19627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 fi
19629 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19630 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19631
19632 # The cast to long int works around a bug in the HP C Compiler
19633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19635 # This bug is HP SR number 8606223364.
19636 { echo "$as_me:$LINENO: checking size of short" >&5
19637 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19638 if test "${ac_cv_sizeof_short+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 else
19641 if test "$cross_compiling" = yes; then
19642 # Depending upon the size, compute the lo and hi bounds.
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 typedef short ac__type_sizeof_;
19651 int
19652 main ()
19653 {
19654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19655 test_array [0] = 0
19656
19657 ;
19658 return 0;
19659 }
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (ac_try="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19666 esac
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19669 ac_status=$?
19670 grep -v '^ *+' conftest.er1 >conftest.err
19671 rm -f conftest.er1
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 ac_lo=0 ac_mid=0
19679 while :; do
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19687 typedef short ac__type_sizeof_;
19688 int
19689 main ()
19690 {
19691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19692 test_array [0] = 0
19693
19694 ;
19695 return 0;
19696 }
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 ac_hi=$ac_mid; break
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 ac_lo=`expr $ac_mid + 1`
19721 if test $ac_lo -le $ac_mid; then
19722 ac_lo= ac_hi=
19723 break
19724 fi
19725 ac_mid=`expr 2 '*' $ac_mid + 1`
19726 fi
19727
19728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19729 done
19730 else
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19733
19734 cat >conftest.$ac_ext <<_ACEOF
19735 /* confdefs.h. */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 $ac_includes_default
19741 typedef short ac__type_sizeof_;
19742 int
19743 main ()
19744 {
19745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19746 test_array [0] = 0
19747
19748 ;
19749 return 0;
19750 }
19751 _ACEOF
19752 rm -f conftest.$ac_objext
19753 if { (ac_try="$ac_compile"
19754 case "(($ac_try" in
19755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19756 *) ac_try_echo=$ac_try;;
19757 esac
19758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19759 (eval "$ac_compile") 2>conftest.er1
19760 ac_status=$?
19761 grep -v '^ *+' conftest.er1 >conftest.err
19762 rm -f conftest.er1
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } && {
19766 test -z "$ac_c_werror_flag" ||
19767 test ! -s conftest.err
19768 } && test -s conftest.$ac_objext; then
19769 ac_hi=-1 ac_mid=-1
19770 while :; do
19771 cat >conftest.$ac_ext <<_ACEOF
19772 /* confdefs.h. */
19773 _ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 $ac_includes_default
19778 typedef short ac__type_sizeof_;
19779 int
19780 main ()
19781 {
19782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19783 test_array [0] = 0
19784
19785 ;
19786 return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19806 ac_lo=$ac_mid; break
19807 else
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19810
19811 ac_hi=`expr '(' $ac_mid ')' - 1`
19812 if test $ac_mid -le $ac_hi; then
19813 ac_lo= ac_hi=
19814 break
19815 fi
19816 ac_mid=`expr 2 '*' $ac_mid`
19817 fi
19818
19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 done
19821 else
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19824
19825 ac_lo= ac_hi=
19826 fi
19827
19828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19829 fi
19830
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 # Binary search between lo and hi bounds.
19833 while test "x$ac_lo" != "x$ac_hi"; do
19834 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19835 cat >conftest.$ac_ext <<_ACEOF
19836 /* confdefs.h. */
19837 _ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 $ac_includes_default
19842 typedef short ac__type_sizeof_;
19843 int
19844 main ()
19845 {
19846 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19847 test_array [0] = 0
19848
19849 ;
19850 return 0;
19851 }
19852 _ACEOF
19853 rm -f conftest.$ac_objext
19854 if { (ac_try="$ac_compile"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19858 esac
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_compile") 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest.$ac_objext; then
19870 ac_hi=$ac_mid
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 ac_lo=`expr '(' $ac_mid ')' + 1`
19876 fi
19877
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 done
19880 case $ac_lo in
19881 ?*) ac_cv_sizeof_short=$ac_lo;;
19882 '') if test "$ac_cv_type_short" = yes; then
19883 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19884 See \`config.log' for more details." >&5
19885 echo "$as_me: error: cannot compute sizeof (short)
19886 See \`config.log' for more details." >&2;}
19887 { (exit 77); exit 77; }; }
19888 else
19889 ac_cv_sizeof_short=0
19890 fi ;;
19891 esac
19892 else
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900 typedef short ac__type_sizeof_;
19901 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19902 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19903 #include <stdio.h>
19904 #include <stdlib.h>
19905 int
19906 main ()
19907 {
19908
19909 FILE *f = fopen ("conftest.val", "w");
19910 if (! f)
19911 return 1;
19912 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19913 {
19914 long int i = longval ();
19915 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19916 return 1;
19917 fprintf (f, "%ld\n", i);
19918 }
19919 else
19920 {
19921 unsigned long int i = ulongval ();
19922 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19923 return 1;
19924 fprintf (f, "%lu\n", i);
19925 }
19926 return ferror (f) || fclose (f) != 0;
19927
19928 ;
19929 return 0;
19930 }
19931 _ACEOF
19932 rm -f conftest$ac_exeext
19933 if { (ac_try="$ac_link"
19934 case "(($ac_try" in
19935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19936 *) ac_try_echo=$ac_try;;
19937 esac
19938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_link") 2>&5
19940 ac_status=$?
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19943 { (case "(($ac_try" in
19944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19946 esac
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_try") 2>&5
19949 ac_status=$?
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; }; then
19952 ac_cv_sizeof_short=`cat conftest.val`
19953 else
19954 echo "$as_me: program exited with status $ac_status" >&5
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19957
19958 ( exit $ac_status )
19959 if test "$ac_cv_type_short" = yes; then
19960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19961 See \`config.log' for more details." >&5
19962 echo "$as_me: error: cannot compute sizeof (short)
19963 See \`config.log' for more details." >&2;}
19964 { (exit 77); exit 77; }; }
19965 else
19966 ac_cv_sizeof_short=0
19967 fi
19968 fi
19969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19970 fi
19971 rm -f conftest.val
19972 fi
19973 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19974 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19975
19976
19977
19978 cat >>confdefs.h <<_ACEOF
19979 #define SIZEOF_SHORT $ac_cv_sizeof_short
19980 _ACEOF
19981
19982
19983 { echo "$as_me:$LINENO: checking for void *" >&5
19984 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19985 if test "${ac_cv_type_void_p+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 else
19988 cat >conftest.$ac_ext <<_ACEOF
19989 /* confdefs.h. */
19990 _ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 $ac_includes_default
19995 typedef void * ac__type_new_;
19996 int
19997 main ()
19998 {
19999 if ((ac__type_new_ *) 0)
20000 return 0;
20001 if (sizeof (ac__type_new_))
20002 return 0;
20003 ;
20004 return 0;
20005 }
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_type_void_p=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20028
20029 ac_cv_type_void_p=no
20030 fi
20031
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 fi
20034 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20035 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20036
20037 # The cast to long int works around a bug in the HP C Compiler
20038 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20039 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20040 # This bug is HP SR number 8606223364.
20041 { echo "$as_me:$LINENO: checking size of void *" >&5
20042 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20043 if test "${ac_cv_sizeof_void_p+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 else
20046 if test "$cross_compiling" = yes; then
20047 # Depending upon the size, compute the lo and hi bounds.
20048 cat >conftest.$ac_ext <<_ACEOF
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 $ac_includes_default
20055 typedef void * ac__type_sizeof_;
20056 int
20057 main ()
20058 {
20059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20060 test_array [0] = 0
20061
20062 ;
20063 return 0;
20064 }
20065 _ACEOF
20066 rm -f conftest.$ac_objext
20067 if { (ac_try="$ac_compile"
20068 case "(($ac_try" in
20069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20070 *) ac_try_echo=$ac_try;;
20071 esac
20072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20073 (eval "$ac_compile") 2>conftest.er1
20074 ac_status=$?
20075 grep -v '^ *+' conftest.er1 >conftest.err
20076 rm -f conftest.er1
20077 cat conftest.err >&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } && {
20080 test -z "$ac_c_werror_flag" ||
20081 test ! -s conftest.err
20082 } && test -s conftest.$ac_objext; then
20083 ac_lo=0 ac_mid=0
20084 while :; do
20085 cat >conftest.$ac_ext <<_ACEOF
20086 /* confdefs.h. */
20087 _ACEOF
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 $ac_includes_default
20092 typedef void * ac__type_sizeof_;
20093 int
20094 main ()
20095 {
20096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20097 test_array [0] = 0
20098
20099 ;
20100 return 0;
20101 }
20102 _ACEOF
20103 rm -f conftest.$ac_objext
20104 if { (ac_try="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20108 esac
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_compile") 2>conftest.er1
20111 ac_status=$?
20112 grep -v '^ *+' conftest.er1 >conftest.err
20113 rm -f conftest.er1
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } && {
20117 test -z "$ac_c_werror_flag" ||
20118 test ! -s conftest.err
20119 } && test -s conftest.$ac_objext; then
20120 ac_hi=$ac_mid; break
20121 else
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20124
20125 ac_lo=`expr $ac_mid + 1`
20126 if test $ac_lo -le $ac_mid; then
20127 ac_lo= ac_hi=
20128 break
20129 fi
20130 ac_mid=`expr 2 '*' $ac_mid + 1`
20131 fi
20132
20133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20134 done
20135 else
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.$ac_ext >&5
20138
20139 cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h. */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20146 typedef void * ac__type_sizeof_;
20147 int
20148 main ()
20149 {
20150 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20151 test_array [0] = 0
20152
20153 ;
20154 return 0;
20155 }
20156 _ACEOF
20157 rm -f conftest.$ac_objext
20158 if { (ac_try="$ac_compile"
20159 case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20162 esac
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_compile") 2>conftest.er1
20165 ac_status=$?
20166 grep -v '^ *+' conftest.er1 >conftest.err
20167 rm -f conftest.er1
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } && {
20171 test -z "$ac_c_werror_flag" ||
20172 test ! -s conftest.err
20173 } && test -s conftest.$ac_objext; then
20174 ac_hi=-1 ac_mid=-1
20175 while :; do
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 $ac_includes_default
20183 typedef void * ac__type_sizeof_;
20184 int
20185 main ()
20186 {
20187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20188 test_array [0] = 0
20189
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 rm -f conftest.$ac_objext
20195 if { (ac_try="$ac_compile"
20196 case "(($ac_try" in
20197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20199 esac
20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_compile") 2>conftest.er1
20202 ac_status=$?
20203 grep -v '^ *+' conftest.er1 >conftest.err
20204 rm -f conftest.er1
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } && {
20208 test -z "$ac_c_werror_flag" ||
20209 test ! -s conftest.err
20210 } && test -s conftest.$ac_objext; then
20211 ac_lo=$ac_mid; break
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 ac_hi=`expr '(' $ac_mid ')' - 1`
20217 if test $ac_mid -le $ac_hi; then
20218 ac_lo= ac_hi=
20219 break
20220 fi
20221 ac_mid=`expr 2 '*' $ac_mid`
20222 fi
20223
20224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 done
20226 else
20227 echo "$as_me: failed program was:" >&5
20228 sed 's/^/| /' conftest.$ac_ext >&5
20229
20230 ac_lo= ac_hi=
20231 fi
20232
20233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20234 fi
20235
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 # Binary search between lo and hi bounds.
20238 while test "x$ac_lo" != "x$ac_hi"; do
20239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef void * ac__type_sizeof_;
20248 int
20249 main ()
20250 {
20251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20252 test_array [0] = 0
20253
20254 ;
20255 return 0;
20256 }
20257 _ACEOF
20258 rm -f conftest.$ac_objext
20259 if { (ac_try="$ac_compile"
20260 case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20263 esac
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_compile") 2>conftest.er1
20266 ac_status=$?
20267 grep -v '^ *+' conftest.er1 >conftest.err
20268 rm -f conftest.er1
20269 cat conftest.err >&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); } && {
20272 test -z "$ac_c_werror_flag" ||
20273 test ! -s conftest.err
20274 } && test -s conftest.$ac_objext; then
20275 ac_hi=$ac_mid
20276 else
20277 echo "$as_me: failed program was:" >&5
20278 sed 's/^/| /' conftest.$ac_ext >&5
20279
20280 ac_lo=`expr '(' $ac_mid ')' + 1`
20281 fi
20282
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284 done
20285 case $ac_lo in
20286 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20287 '') if test "$ac_cv_type_void_p" = yes; then
20288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20289 See \`config.log' for more details." >&5
20290 echo "$as_me: error: cannot compute sizeof (void *)
20291 See \`config.log' for more details." >&2;}
20292 { (exit 77); exit 77; }; }
20293 else
20294 ac_cv_sizeof_void_p=0
20295 fi ;;
20296 esac
20297 else
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 $ac_includes_default
20305 typedef void * ac__type_sizeof_;
20306 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20307 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20308 #include <stdio.h>
20309 #include <stdlib.h>
20310 int
20311 main ()
20312 {
20313
20314 FILE *f = fopen ("conftest.val", "w");
20315 if (! f)
20316 return 1;
20317 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20318 {
20319 long int i = longval ();
20320 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20321 return 1;
20322 fprintf (f, "%ld\n", i);
20323 }
20324 else
20325 {
20326 unsigned long int i = ulongval ();
20327 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20328 return 1;
20329 fprintf (f, "%lu\n", i);
20330 }
20331 return ferror (f) || fclose (f) != 0;
20332
20333 ;
20334 return 0;
20335 }
20336 _ACEOF
20337 rm -f conftest$ac_exeext
20338 if { (ac_try="$ac_link"
20339 case "(($ac_try" in
20340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20341 *) ac_try_echo=$ac_try;;
20342 esac
20343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20344 (eval "$ac_link") 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20348 { (case "(($ac_try" in
20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20351 esac
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_try") 2>&5
20354 ac_status=$?
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_cv_sizeof_void_p=`cat conftest.val`
20358 else
20359 echo "$as_me: program exited with status $ac_status" >&5
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.$ac_ext >&5
20362
20363 ( exit $ac_status )
20364 if test "$ac_cv_type_void_p" = yes; then
20365 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20366 See \`config.log' for more details." >&5
20367 echo "$as_me: error: cannot compute sizeof (void *)
20368 See \`config.log' for more details." >&2;}
20369 { (exit 77); exit 77; }; }
20370 else
20371 ac_cv_sizeof_void_p=0
20372 fi
20373 fi
20374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20375 fi
20376 rm -f conftest.val
20377 fi
20378 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20379 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20380
20381
20382
20383 cat >>confdefs.h <<_ACEOF
20384 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20385 _ACEOF
20386
20387
20388 { echo "$as_me:$LINENO: checking for int" >&5
20389 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20390 if test "${ac_cv_type_int+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 else
20393 cat >conftest.$ac_ext <<_ACEOF
20394 /* confdefs.h. */
20395 _ACEOF
20396 cat confdefs.h >>conftest.$ac_ext
20397 cat >>conftest.$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20399 $ac_includes_default
20400 typedef int ac__type_new_;
20401 int
20402 main ()
20403 {
20404 if ((ac__type_new_ *) 0)
20405 return 0;
20406 if (sizeof (ac__type_new_))
20407 return 0;
20408 ;
20409 return 0;
20410 }
20411 _ACEOF
20412 rm -f conftest.$ac_objext
20413 if { (ac_try="$ac_compile"
20414 case "(($ac_try" in
20415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20417 esac
20418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_compile") 2>conftest.er1
20420 ac_status=$?
20421 grep -v '^ *+' conftest.er1 >conftest.err
20422 rm -f conftest.er1
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } && {
20426 test -z "$ac_c_werror_flag" ||
20427 test ! -s conftest.err
20428 } && test -s conftest.$ac_objext; then
20429 ac_cv_type_int=yes
20430 else
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20433
20434 ac_cv_type_int=no
20435 fi
20436
20437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 fi
20439 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20440 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20441
20442 # The cast to long int works around a bug in the HP C Compiler
20443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20445 # This bug is HP SR number 8606223364.
20446 { echo "$as_me:$LINENO: checking size of int" >&5
20447 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20448 if test "${ac_cv_sizeof_int+set}" = set; then
20449 echo $ECHO_N "(cached) $ECHO_C" >&6
20450 else
20451 if test "$cross_compiling" = yes; then
20452 # Depending upon the size, compute the lo and hi bounds.
20453 cat >conftest.$ac_ext <<_ACEOF
20454 /* confdefs.h. */
20455 _ACEOF
20456 cat confdefs.h >>conftest.$ac_ext
20457 cat >>conftest.$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20459 $ac_includes_default
20460 typedef int ac__type_sizeof_;
20461 int
20462 main ()
20463 {
20464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20465 test_array [0] = 0
20466
20467 ;
20468 return 0;
20469 }
20470 _ACEOF
20471 rm -f conftest.$ac_objext
20472 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20479 ac_status=$?
20480 grep -v '^ *+' conftest.er1 >conftest.err
20481 rm -f conftest.er1
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } && {
20485 test -z "$ac_c_werror_flag" ||
20486 test ! -s conftest.err
20487 } && test -s conftest.$ac_objext; then
20488 ac_lo=0 ac_mid=0
20489 while :; do
20490 cat >conftest.$ac_ext <<_ACEOF
20491 /* confdefs.h. */
20492 _ACEOF
20493 cat confdefs.h >>conftest.$ac_ext
20494 cat >>conftest.$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20496 $ac_includes_default
20497 typedef int ac__type_sizeof_;
20498 int
20499 main ()
20500 {
20501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20502 test_array [0] = 0
20503
20504 ;
20505 return 0;
20506 }
20507 _ACEOF
20508 rm -f conftest.$ac_objext
20509 if { (ac_try="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.$ac_objext; then
20525 ac_hi=$ac_mid; break
20526 else
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20529
20530 ac_lo=`expr $ac_mid + 1`
20531 if test $ac_lo -le $ac_mid; then
20532 ac_lo= ac_hi=
20533 break
20534 fi
20535 ac_mid=`expr 2 '*' $ac_mid + 1`
20536 fi
20537
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 done
20540 else
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.$ac_ext >&5
20543
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef int ac__type_sizeof_;
20552 int
20553 main ()
20554 {
20555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20556 test_array [0] = 0
20557
20558 ;
20559 return 0;
20560 }
20561 _ACEOF
20562 rm -f conftest.$ac_objext
20563 if { (ac_try="$ac_compile"
20564 case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20567 esac
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_compile") 2>conftest.er1
20570 ac_status=$?
20571 grep -v '^ *+' conftest.er1 >conftest.err
20572 rm -f conftest.er1
20573 cat conftest.err >&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } && {
20576 test -z "$ac_c_werror_flag" ||
20577 test ! -s conftest.err
20578 } && test -s conftest.$ac_objext; then
20579 ac_hi=-1 ac_mid=-1
20580 while :; do
20581 cat >conftest.$ac_ext <<_ACEOF
20582 /* confdefs.h. */
20583 _ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 $ac_includes_default
20588 typedef int ac__type_sizeof_;
20589 int
20590 main ()
20591 {
20592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20593 test_array [0] = 0
20594
20595 ;
20596 return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext
20600 if { (ac_try="$ac_compile"
20601 case "(($ac_try" in
20602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20603 *) ac_try_echo=$ac_try;;
20604 esac
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_compile") 2>conftest.er1
20607 ac_status=$?
20608 grep -v '^ *+' conftest.er1 >conftest.err
20609 rm -f conftest.er1
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest.$ac_objext; then
20616 ac_lo=$ac_mid; break
20617 else
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20620
20621 ac_hi=`expr '(' $ac_mid ')' - 1`
20622 if test $ac_mid -le $ac_hi; then
20623 ac_lo= ac_hi=
20624 break
20625 fi
20626 ac_mid=`expr 2 '*' $ac_mid`
20627 fi
20628
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 done
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 ac_lo= ac_hi=
20636 fi
20637
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639 fi
20640
20641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20642 # Binary search between lo and hi bounds.
20643 while test "x$ac_lo" != "x$ac_hi"; do
20644 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20645 cat >conftest.$ac_ext <<_ACEOF
20646 /* confdefs.h. */
20647 _ACEOF
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651 $ac_includes_default
20652 typedef int ac__type_sizeof_;
20653 int
20654 main ()
20655 {
20656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20657 test_array [0] = 0
20658
20659 ;
20660 return 0;
20661 }
20662 _ACEOF
20663 rm -f conftest.$ac_objext
20664 if { (ac_try="$ac_compile"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668 esac
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_compile") 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } && {
20677 test -z "$ac_c_werror_flag" ||
20678 test ! -s conftest.err
20679 } && test -s conftest.$ac_objext; then
20680 ac_hi=$ac_mid
20681 else
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20684
20685 ac_lo=`expr '(' $ac_mid ')' + 1`
20686 fi
20687
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 done
20690 case $ac_lo in
20691 ?*) ac_cv_sizeof_int=$ac_lo;;
20692 '') if test "$ac_cv_type_int" = yes; then
20693 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20694 See \`config.log' for more details." >&5
20695 echo "$as_me: error: cannot compute sizeof (int)
20696 See \`config.log' for more details." >&2;}
20697 { (exit 77); exit 77; }; }
20698 else
20699 ac_cv_sizeof_int=0
20700 fi ;;
20701 esac
20702 else
20703 cat >conftest.$ac_ext <<_ACEOF
20704 /* confdefs.h. */
20705 _ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 $ac_includes_default
20710 typedef int ac__type_sizeof_;
20711 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20712 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20713 #include <stdio.h>
20714 #include <stdlib.h>
20715 int
20716 main ()
20717 {
20718
20719 FILE *f = fopen ("conftest.val", "w");
20720 if (! f)
20721 return 1;
20722 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20723 {
20724 long int i = longval ();
20725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20726 return 1;
20727 fprintf (f, "%ld\n", i);
20728 }
20729 else
20730 {
20731 unsigned long int i = ulongval ();
20732 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20733 return 1;
20734 fprintf (f, "%lu\n", i);
20735 }
20736 return ferror (f) || fclose (f) != 0;
20737
20738 ;
20739 return 0;
20740 }
20741 _ACEOF
20742 rm -f conftest$ac_exeext
20743 if { (ac_try="$ac_link"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20747 esac
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_link") 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20753 { (case "(($ac_try" in
20754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20756 esac
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_try") 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; }; then
20762 ac_cv_sizeof_int=`cat conftest.val`
20763 else
20764 echo "$as_me: program exited with status $ac_status" >&5
20765 echo "$as_me: failed program was:" >&5
20766 sed 's/^/| /' conftest.$ac_ext >&5
20767
20768 ( exit $ac_status )
20769 if test "$ac_cv_type_int" = yes; then
20770 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20771 See \`config.log' for more details." >&5
20772 echo "$as_me: error: cannot compute sizeof (int)
20773 See \`config.log' for more details." >&2;}
20774 { (exit 77); exit 77; }; }
20775 else
20776 ac_cv_sizeof_int=0
20777 fi
20778 fi
20779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20780 fi
20781 rm -f conftest.val
20782 fi
20783 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20784 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20785
20786
20787
20788 cat >>confdefs.h <<_ACEOF
20789 #define SIZEOF_INT $ac_cv_sizeof_int
20790 _ACEOF
20791
20792
20793 { echo "$as_me:$LINENO: checking for long" >&5
20794 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20795 if test "${ac_cv_type_long+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 else
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20805 typedef long ac__type_new_;
20806 int
20807 main ()
20808 {
20809 if ((ac__type_new_ *) 0)
20810 return 0;
20811 if (sizeof (ac__type_new_))
20812 return 0;
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 rm -f conftest.$ac_objext
20818 if { (ac_try="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20822 esac
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20825 ac_status=$?
20826 grep -v '^ *+' conftest.er1 >conftest.err
20827 rm -f conftest.er1
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20834 ac_cv_type_long=yes
20835 else
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.$ac_ext >&5
20838
20839 ac_cv_type_long=no
20840 fi
20841
20842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 fi
20844 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20845 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20846
20847 # The cast to long int works around a bug in the HP C Compiler
20848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20850 # This bug is HP SR number 8606223364.
20851 { echo "$as_me:$LINENO: checking size of long" >&5
20852 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20853 if test "${ac_cv_sizeof_long+set}" = set; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 else
20856 if test "$cross_compiling" = yes; then
20857 # Depending upon the size, compute the lo and hi bounds.
20858 cat >conftest.$ac_ext <<_ACEOF
20859 /* confdefs.h. */
20860 _ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 $ac_includes_default
20865 typedef long ac__type_sizeof_;
20866 int
20867 main ()
20868 {
20869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20870 test_array [0] = 0
20871
20872 ;
20873 return 0;
20874 }
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 ac_lo=0 ac_mid=0
20894 while :; do
20895 cat >conftest.$ac_ext <<_ACEOF
20896 /* confdefs.h. */
20897 _ACEOF
20898 cat confdefs.h >>conftest.$ac_ext
20899 cat >>conftest.$ac_ext <<_ACEOF
20900 /* end confdefs.h. */
20901 $ac_includes_default
20902 typedef long ac__type_sizeof_;
20903 int
20904 main ()
20905 {
20906 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20907 test_array [0] = 0
20908
20909 ;
20910 return 0;
20911 }
20912 _ACEOF
20913 rm -f conftest.$ac_objext
20914 if { (ac_try="$ac_compile"
20915 case "(($ac_try" in
20916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20917 *) ac_try_echo=$ac_try;;
20918 esac
20919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20920 (eval "$ac_compile") 2>conftest.er1
20921 ac_status=$?
20922 grep -v '^ *+' conftest.er1 >conftest.err
20923 rm -f conftest.er1
20924 cat conftest.err >&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } && {
20927 test -z "$ac_c_werror_flag" ||
20928 test ! -s conftest.err
20929 } && test -s conftest.$ac_objext; then
20930 ac_hi=$ac_mid; break
20931 else
20932 echo "$as_me: failed program was:" >&5
20933 sed 's/^/| /' conftest.$ac_ext >&5
20934
20935 ac_lo=`expr $ac_mid + 1`
20936 if test $ac_lo -le $ac_mid; then
20937 ac_lo= ac_hi=
20938 break
20939 fi
20940 ac_mid=`expr 2 '*' $ac_mid + 1`
20941 fi
20942
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20944 done
20945 else
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20948
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 $ac_includes_default
20956 typedef long ac__type_sizeof_;
20957 int
20958 main ()
20959 {
20960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20961 test_array [0] = 0
20962
20963 ;
20964 return 0;
20965 }
20966 _ACEOF
20967 rm -f conftest.$ac_objext
20968 if { (ac_try="$ac_compile"
20969 case "(($ac_try" in
20970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20971 *) ac_try_echo=$ac_try;;
20972 esac
20973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20974 (eval "$ac_compile") 2>conftest.er1
20975 ac_status=$?
20976 grep -v '^ *+' conftest.er1 >conftest.err
20977 rm -f conftest.er1
20978 cat conftest.err >&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } && {
20981 test -z "$ac_c_werror_flag" ||
20982 test ! -s conftest.err
20983 } && test -s conftest.$ac_objext; then
20984 ac_hi=-1 ac_mid=-1
20985 while :; do
20986 cat >conftest.$ac_ext <<_ACEOF
20987 /* confdefs.h. */
20988 _ACEOF
20989 cat confdefs.h >>conftest.$ac_ext
20990 cat >>conftest.$ac_ext <<_ACEOF
20991 /* end confdefs.h. */
20992 $ac_includes_default
20993 typedef long ac__type_sizeof_;
20994 int
20995 main ()
20996 {
20997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20998 test_array [0] = 0
20999
21000 ;
21001 return 0;
21002 }
21003 _ACEOF
21004 rm -f conftest.$ac_objext
21005 if { (ac_try="$ac_compile"
21006 case "(($ac_try" in
21007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21008 *) ac_try_echo=$ac_try;;
21009 esac
21010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21011 (eval "$ac_compile") 2>conftest.er1
21012 ac_status=$?
21013 grep -v '^ *+' conftest.er1 >conftest.err
21014 rm -f conftest.er1
21015 cat conftest.err >&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); } && {
21018 test -z "$ac_c_werror_flag" ||
21019 test ! -s conftest.err
21020 } && test -s conftest.$ac_objext; then
21021 ac_lo=$ac_mid; break
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21025
21026 ac_hi=`expr '(' $ac_mid ')' - 1`
21027 if test $ac_mid -le $ac_hi; then
21028 ac_lo= ac_hi=
21029 break
21030 fi
21031 ac_mid=`expr 2 '*' $ac_mid`
21032 fi
21033
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 done
21036 else
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ac_lo= ac_hi=
21041 fi
21042
21043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21044 fi
21045
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 # Binary search between lo and hi bounds.
21048 while test "x$ac_lo" != "x$ac_hi"; do
21049 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21050 cat >conftest.$ac_ext <<_ACEOF
21051 /* confdefs.h. */
21052 _ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 typedef long ac__type_sizeof_;
21058 int
21059 main ()
21060 {
21061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21062 test_array [0] = 0
21063
21064 ;
21065 return 0;
21066 }
21067 _ACEOF
21068 rm -f conftest.$ac_objext
21069 if { (ac_try="$ac_compile"
21070 case "(($ac_try" in
21071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21072 *) ac_try_echo=$ac_try;;
21073 esac
21074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21075 (eval "$ac_compile") 2>conftest.er1
21076 ac_status=$?
21077 grep -v '^ *+' conftest.er1 >conftest.err
21078 rm -f conftest.er1
21079 cat conftest.err >&5
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); } && {
21082 test -z "$ac_c_werror_flag" ||
21083 test ! -s conftest.err
21084 } && test -s conftest.$ac_objext; then
21085 ac_hi=$ac_mid
21086 else
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.$ac_ext >&5
21089
21090 ac_lo=`expr '(' $ac_mid ')' + 1`
21091 fi
21092
21093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21094 done
21095 case $ac_lo in
21096 ?*) ac_cv_sizeof_long=$ac_lo;;
21097 '') if test "$ac_cv_type_long" = yes; then
21098 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21099 See \`config.log' for more details." >&5
21100 echo "$as_me: error: cannot compute sizeof (long)
21101 See \`config.log' for more details." >&2;}
21102 { (exit 77); exit 77; }; }
21103 else
21104 ac_cv_sizeof_long=0
21105 fi ;;
21106 esac
21107 else
21108 cat >conftest.$ac_ext <<_ACEOF
21109 /* confdefs.h. */
21110 _ACEOF
21111 cat confdefs.h >>conftest.$ac_ext
21112 cat >>conftest.$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 $ac_includes_default
21115 typedef long ac__type_sizeof_;
21116 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21117 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21118 #include <stdio.h>
21119 #include <stdlib.h>
21120 int
21121 main ()
21122 {
21123
21124 FILE *f = fopen ("conftest.val", "w");
21125 if (! f)
21126 return 1;
21127 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21128 {
21129 long int i = longval ();
21130 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21131 return 1;
21132 fprintf (f, "%ld\n", i);
21133 }
21134 else
21135 {
21136 unsigned long int i = ulongval ();
21137 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21138 return 1;
21139 fprintf (f, "%lu\n", i);
21140 }
21141 return ferror (f) || fclose (f) != 0;
21142
21143 ;
21144 return 0;
21145 }
21146 _ACEOF
21147 rm -f conftest$ac_exeext
21148 if { (ac_try="$ac_link"
21149 case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21152 esac
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_link") 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21158 { (case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21161 esac
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_try") 2>&5
21164 ac_status=$?
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 ac_cv_sizeof_long=`cat conftest.val`
21168 else
21169 echo "$as_me: program exited with status $ac_status" >&5
21170 echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.$ac_ext >&5
21172
21173 ( exit $ac_status )
21174 if test "$ac_cv_type_long" = yes; then
21175 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21176 See \`config.log' for more details." >&5
21177 echo "$as_me: error: cannot compute sizeof (long)
21178 See \`config.log' for more details." >&2;}
21179 { (exit 77); exit 77; }; }
21180 else
21181 ac_cv_sizeof_long=0
21182 fi
21183 fi
21184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21185 fi
21186 rm -f conftest.val
21187 fi
21188 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21189 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21190
21191
21192
21193 cat >>confdefs.h <<_ACEOF
21194 #define SIZEOF_LONG $ac_cv_sizeof_long
21195 _ACEOF
21196
21197
21198 { echo "$as_me:$LINENO: checking for size_t" >&5
21199 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21200 if test "${ac_cv_type_size_t+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 else
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21210 typedef size_t ac__type_new_;
21211 int
21212 main ()
21213 {
21214 if ((ac__type_new_ *) 0)
21215 return 0;
21216 if (sizeof (ac__type_new_))
21217 return 0;
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (ac_try="$ac_compile"
21224 case "(($ac_try" in
21225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21226 *) ac_try_echo=$ac_try;;
21227 esac
21228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21229 (eval "$ac_compile") 2>conftest.er1
21230 ac_status=$?
21231 grep -v '^ *+' conftest.er1 >conftest.err
21232 rm -f conftest.er1
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest.$ac_objext; then
21239 ac_cv_type_size_t=yes
21240 else
21241 echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21243
21244 ac_cv_type_size_t=no
21245 fi
21246
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 fi
21249 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21250 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21251
21252 # The cast to long int works around a bug in the HP C Compiler
21253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21255 # This bug is HP SR number 8606223364.
21256 { echo "$as_me:$LINENO: checking size of size_t" >&5
21257 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21258 if test "${ac_cv_sizeof_size_t+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 else
21261 if test "$cross_compiling" = yes; then
21262 # Depending upon the size, compute the lo and hi bounds.
21263 cat >conftest.$ac_ext <<_ACEOF
21264 /* confdefs.h. */
21265 _ACEOF
21266 cat confdefs.h >>conftest.$ac_ext
21267 cat >>conftest.$ac_ext <<_ACEOF
21268 /* end confdefs.h. */
21269 $ac_includes_default
21270 typedef size_t ac__type_sizeof_;
21271 int
21272 main ()
21273 {
21274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21275 test_array [0] = 0
21276
21277 ;
21278 return 0;
21279 }
21280 _ACEOF
21281 rm -f conftest.$ac_objext
21282 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21289 ac_status=$?
21290 grep -v '^ *+' conftest.er1 >conftest.err
21291 rm -f conftest.er1
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && {
21295 test -z "$ac_c_werror_flag" ||
21296 test ! -s conftest.err
21297 } && test -s conftest.$ac_objext; then
21298 ac_lo=0 ac_mid=0
21299 while :; do
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef size_t ac__type_sizeof_;
21308 int
21309 main ()
21310 {
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21312 test_array [0] = 0
21313
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21335 ac_hi=$ac_mid; break
21336 else
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21339
21340 ac_lo=`expr $ac_mid + 1`
21341 if test $ac_lo -le $ac_mid; then
21342 ac_lo= ac_hi=
21343 break
21344 fi
21345 ac_mid=`expr 2 '*' $ac_mid + 1`
21346 fi
21347
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 done
21350 else
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21353
21354 cat >conftest.$ac_ext <<_ACEOF
21355 /* confdefs.h. */
21356 _ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef size_t ac__type_sizeof_;
21362 int
21363 main ()
21364 {
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21366 test_array [0] = 0
21367
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21389 ac_hi=-1 ac_mid=-1
21390 while :; do
21391 cat >conftest.$ac_ext <<_ACEOF
21392 /* confdefs.h. */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 typedef size_t ac__type_sizeof_;
21399 int
21400 main ()
21401 {
21402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21403 test_array [0] = 0
21404
21405 ;
21406 return 0;
21407 }
21408 _ACEOF
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21414 esac
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 ac_lo=$ac_mid; break
21427 else
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21430
21431 ac_hi=`expr '(' $ac_mid ')' - 1`
21432 if test $ac_mid -le $ac_hi; then
21433 ac_lo= ac_hi=
21434 break
21435 fi
21436 ac_mid=`expr 2 '*' $ac_mid`
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 done
21441 else
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 ac_lo= ac_hi=
21446 fi
21447
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 fi
21450
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 # Binary search between lo and hi bounds.
21453 while test "x$ac_lo" != "x$ac_hi"; do
21454 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21455 cat >conftest.$ac_ext <<_ACEOF
21456 /* confdefs.h. */
21457 _ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 $ac_includes_default
21462 typedef size_t ac__type_sizeof_;
21463 int
21464 main ()
21465 {
21466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21467 test_array [0] = 0
21468
21469 ;
21470 return 0;
21471 }
21472 _ACEOF
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21478 esac
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 ac_hi=$ac_mid
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 ac_lo=`expr '(' $ac_mid ')' + 1`
21496 fi
21497
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 done
21500 case $ac_lo in
21501 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21502 '') if test "$ac_cv_type_size_t" = yes; then
21503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21504 See \`config.log' for more details." >&5
21505 echo "$as_me: error: cannot compute sizeof (size_t)
21506 See \`config.log' for more details." >&2;}
21507 { (exit 77); exit 77; }; }
21508 else
21509 ac_cv_sizeof_size_t=0
21510 fi ;;
21511 esac
21512 else
21513 cat >conftest.$ac_ext <<_ACEOF
21514 /* confdefs.h. */
21515 _ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 typedef size_t ac__type_sizeof_;
21521 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21522 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 #include <stdio.h>
21524 #include <stdlib.h>
21525 int
21526 main ()
21527 {
21528
21529 FILE *f = fopen ("conftest.val", "w");
21530 if (! f)
21531 return 1;
21532 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21533 {
21534 long int i = longval ();
21535 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21536 return 1;
21537 fprintf (f, "%ld\n", i);
21538 }
21539 else
21540 {
21541 unsigned long int i = ulongval ();
21542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21543 return 1;
21544 fprintf (f, "%lu\n", i);
21545 }
21546 return ferror (f) || fclose (f) != 0;
21547
21548 ;
21549 return 0;
21550 }
21551 _ACEOF
21552 rm -f conftest$ac_exeext
21553 if { (ac_try="$ac_link"
21554 case "(($ac_try" in
21555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21556 *) ac_try_echo=$ac_try;;
21557 esac
21558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21559 (eval "$ac_link") 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21563 { (case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21566 esac
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_try") 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_sizeof_size_t=`cat conftest.val`
21573 else
21574 echo "$as_me: program exited with status $ac_status" >&5
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21577
21578 ( exit $ac_status )
21579 if test "$ac_cv_type_size_t" = yes; then
21580 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21581 See \`config.log' for more details." >&5
21582 echo "$as_me: error: cannot compute sizeof (size_t)
21583 See \`config.log' for more details." >&2;}
21584 { (exit 77); exit 77; }; }
21585 else
21586 ac_cv_sizeof_size_t=0
21587 fi
21588 fi
21589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21590 fi
21591 rm -f conftest.val
21592 fi
21593 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21594 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21595
21596
21597
21598 cat >>confdefs.h <<_ACEOF
21599 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21600 _ACEOF
21601
21602
21603
21604 case "${host}" in
21605 arm-*-linux* )
21606 { echo "$as_me:$LINENO: checking for long long" >&5
21607 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21608 if test "${ac_cv_type_long_long+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 cat >conftest.$ac_ext <<_ACEOF
21612 /* confdefs.h. */
21613 _ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef long long ac__type_new_;
21619 int
21620 main ()
21621 {
21622 if ((ac__type_new_ *) 0)
21623 return 0;
21624 if (sizeof (ac__type_new_))
21625 return 0;
21626 ;
21627 return 0;
21628 }
21629 _ACEOF
21630 rm -f conftest.$ac_objext
21631 if { (ac_try="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21635 esac
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21638 ac_status=$?
21639 grep -v '^ *+' conftest.er1 >conftest.err
21640 rm -f conftest.er1
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && {
21644 test -z "$ac_c_werror_flag" ||
21645 test ! -s conftest.err
21646 } && test -s conftest.$ac_objext; then
21647 ac_cv_type_long_long=yes
21648 else
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21651
21652 ac_cv_type_long_long=no
21653 fi
21654
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 fi
21657 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21658 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21659
21660 # The cast to long int works around a bug in the HP C Compiler
21661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21663 # This bug is HP SR number 8606223364.
21664 { echo "$as_me:$LINENO: checking size of long long" >&5
21665 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21666 if test "${ac_cv_sizeof_long_long+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 else
21669 if test "$cross_compiling" = yes; then
21670 # Depending upon the size, compute the lo and hi bounds.
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef long long ac__type_sizeof_;
21679 int
21680 main ()
21681 {
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21683 test_array [0] = 0
21684
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21694 esac
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21706 ac_lo=0 ac_mid=0
21707 while :; do
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21716 int
21717 main ()
21718 {
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21720 test_array [0] = 0
21721
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21731 esac
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_hi=$ac_mid; break
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_lo=`expr $ac_mid + 1`
21749 if test $ac_lo -le $ac_mid; then
21750 ac_lo= ac_hi=
21751 break
21752 fi
21753 ac_mid=`expr 2 '*' $ac_mid + 1`
21754 fi
21755
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 done
21758 else
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21761
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 $ac_includes_default
21769 typedef long long ac__type_sizeof_;
21770 int
21771 main ()
21772 {
21773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21774 test_array [0] = 0
21775
21776 ;
21777 return 0;
21778 }
21779 _ACEOF
21780 rm -f conftest.$ac_objext
21781 if { (ac_try="$ac_compile"
21782 case "(($ac_try" in
21783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21785 esac
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_compile") 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && {
21794 test -z "$ac_c_werror_flag" ||
21795 test ! -s conftest.err
21796 } && test -s conftest.$ac_objext; then
21797 ac_hi=-1 ac_mid=-1
21798 while :; do
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef long long ac__type_sizeof_;
21807 int
21808 main ()
21809 {
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21811 test_array [0] = 0
21812
21813 ;
21814 return 0;
21815 }
21816 _ACEOF
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21821 *) ac_try_echo=$ac_try;;
21822 esac
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21825 ac_status=$?
21826 grep -v '^ *+' conftest.er1 >conftest.err
21827 rm -f conftest.er1
21828 cat conftest.err >&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.$ac_objext; then
21834 ac_lo=$ac_mid; break
21835 else
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 ac_hi=`expr '(' $ac_mid ')' - 1`
21840 if test $ac_mid -le $ac_hi; then
21841 ac_lo= ac_hi=
21842 break
21843 fi
21844 ac_mid=`expr 2 '*' $ac_mid`
21845 fi
21846
21847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21848 done
21849 else
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.$ac_ext >&5
21852
21853 ac_lo= ac_hi=
21854 fi
21855
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 fi
21858
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 # Binary search between lo and hi bounds.
21861 while test "x$ac_lo" != "x$ac_hi"; do
21862 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef long long ac__type_sizeof_;
21871 int
21872 main ()
21873 {
21874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21875 test_array [0] = 0
21876
21877 ;
21878 return 0;
21879 }
21880 _ACEOF
21881 rm -f conftest.$ac_objext
21882 if { (ac_try="$ac_compile"
21883 case "(($ac_try" in
21884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21885 *) ac_try_echo=$ac_try;;
21886 esac
21887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21888 (eval "$ac_compile") 2>conftest.er1
21889 ac_status=$?
21890 grep -v '^ *+' conftest.er1 >conftest.err
21891 rm -f conftest.er1
21892 cat conftest.err >&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && {
21895 test -z "$ac_c_werror_flag" ||
21896 test ! -s conftest.err
21897 } && test -s conftest.$ac_objext; then
21898 ac_hi=$ac_mid
21899 else
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21902
21903 ac_lo=`expr '(' $ac_mid ')' + 1`
21904 fi
21905
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 done
21908 case $ac_lo in
21909 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21910 '') if test "$ac_cv_type_long_long" = yes; then
21911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21912 See \`config.log' for more details." >&5
21913 echo "$as_me: error: cannot compute sizeof (long long)
21914 See \`config.log' for more details." >&2;}
21915 { (exit 77); exit 77; }; }
21916 else
21917 ac_cv_sizeof_long_long=0
21918 fi ;;
21919 esac
21920 else
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 long long ac__type_sizeof_;
21929 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 #include <stdio.h>
21932 #include <stdlib.h>
21933 int
21934 main ()
21935 {
21936
21937 FILE *f = fopen ("conftest.val", "w");
21938 if (! f)
21939 return 1;
21940 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21941 {
21942 long int i = longval ();
21943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21944 return 1;
21945 fprintf (f, "%ld\n", i);
21946 }
21947 else
21948 {
21949 unsigned long int i = ulongval ();
21950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 return 1;
21952 fprintf (f, "%lu\n", i);
21953 }
21954 return ferror (f) || fclose (f) != 0;
21955
21956 ;
21957 return 0;
21958 }
21959 _ACEOF
21960 rm -f conftest$ac_exeext
21961 if { (ac_try="$ac_link"
21962 case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21965 esac
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_link") 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21971 { (case "(($ac_try" in
21972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21973 *) ac_try_echo=$ac_try;;
21974 esac
21975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_try") 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_sizeof_long_long=`cat conftest.val`
21981 else
21982 echo "$as_me: program exited with status $ac_status" >&5
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21985
21986 ( exit $ac_status )
21987 if test "$ac_cv_type_long_long" = yes; then
21988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21989 See \`config.log' for more details." >&5
21990 echo "$as_me: error: cannot compute sizeof (long long)
21991 See \`config.log' for more details." >&2;}
21992 { (exit 77); exit 77; }; }
21993 else
21994 ac_cv_sizeof_long_long=0
21995 fi
21996 fi
21997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21998 fi
21999 rm -f conftest.val
22000 fi
22001 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22002 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22003
22004
22005
22006 cat >>confdefs.h <<_ACEOF
22007 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22008 _ACEOF
22009
22010
22011 ;;
22012 *-hp-hpux* )
22013 { echo "$as_me:$LINENO: checking for long long" >&5
22014 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22015 if test "${ac_cv_type_long_long+set}" = set; then
22016 echo $ECHO_N "(cached) $ECHO_C" >&6
22017 else
22018 cat >conftest.$ac_ext <<_ACEOF
22019 /* confdefs.h. */
22020 _ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 $ac_includes_default
22025 typedef long long ac__type_new_;
22026 int
22027 main ()
22028 {
22029 if ((ac__type_new_ *) 0)
22030 return 0;
22031 if (sizeof (ac__type_new_))
22032 return 0;
22033 ;
22034 return 0;
22035 }
22036 _ACEOF
22037 rm -f conftest.$ac_objext
22038 if { (ac_try="$ac_compile"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22042 esac
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_compile") 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } && {
22051 test -z "$ac_c_werror_flag" ||
22052 test ! -s conftest.err
22053 } && test -s conftest.$ac_objext; then
22054 ac_cv_type_long_long=yes
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_cv_type_long_long=no
22060 fi
22061
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 fi
22064 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22065 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22066
22067 # The cast to long int works around a bug in the HP C Compiler
22068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22070 # This bug is HP SR number 8606223364.
22071 { echo "$as_me:$LINENO: checking size of long long" >&5
22072 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22073 if test "${ac_cv_sizeof_long_long+set}" = set; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 else
22076 if test "$cross_compiling" = yes; then
22077 # Depending upon the size, compute the lo and hi bounds.
22078 cat >conftest.$ac_ext <<_ACEOF
22079 /* confdefs.h. */
22080 _ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 typedef long long ac__type_sizeof_;
22086 int
22087 main ()
22088 {
22089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22090 test_array [0] = 0
22091
22092 ;
22093 return 0;
22094 }
22095 _ACEOF
22096 rm -f conftest.$ac_objext
22097 if { (ac_try="$ac_compile"
22098 case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22101 esac
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22104 ac_status=$?
22105 grep -v '^ *+' conftest.er1 >conftest.err
22106 rm -f conftest.er1
22107 cat conftest.err >&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22113 ac_lo=0 ac_mid=0
22114 while :; do
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h. */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long long ac__type_sizeof_;
22123 int
22124 main ()
22125 {
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 test_array [0] = 0
22128
22129 ;
22130 return 0;
22131 }
22132 _ACEOF
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22150 ac_hi=$ac_mid; break
22151 else
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22154
22155 ac_lo=`expr $ac_mid + 1`
22156 if test $ac_lo -le $ac_mid; then
22157 ac_lo= ac_hi=
22158 break
22159 fi
22160 ac_mid=`expr 2 '*' $ac_mid + 1`
22161 fi
22162
22163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 done
22165 else
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22168
22169 cat >conftest.$ac_ext <<_ACEOF
22170 /* confdefs.h. */
22171 _ACEOF
22172 cat confdefs.h >>conftest.$ac_ext
22173 cat >>conftest.$ac_ext <<_ACEOF
22174 /* end confdefs.h. */
22175 $ac_includes_default
22176 typedef long long ac__type_sizeof_;
22177 int
22178 main ()
22179 {
22180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22181 test_array [0] = 0
22182
22183 ;
22184 return 0;
22185 }
22186 _ACEOF
22187 rm -f conftest.$ac_objext
22188 if { (ac_try="$ac_compile"
22189 case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22192 esac
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_compile") 2>conftest.er1
22195 ac_status=$?
22196 grep -v '^ *+' conftest.er1 >conftest.err
22197 rm -f conftest.er1
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } && {
22201 test -z "$ac_c_werror_flag" ||
22202 test ! -s conftest.err
22203 } && test -s conftest.$ac_objext; then
22204 ac_hi=-1 ac_mid=-1
22205 while :; do
22206 cat >conftest.$ac_ext <<_ACEOF
22207 /* confdefs.h. */
22208 _ACEOF
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 $ac_includes_default
22213 typedef long long ac__type_sizeof_;
22214 int
22215 main ()
22216 {
22217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22218 test_array [0] = 0
22219
22220 ;
22221 return 0;
22222 }
22223 _ACEOF
22224 rm -f conftest.$ac_objext
22225 if { (ac_try="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22229 esac
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22232 ac_status=$?
22233 grep -v '^ *+' conftest.er1 >conftest.err
22234 rm -f conftest.er1
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22241 ac_lo=$ac_mid; break
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 ac_hi=`expr '(' $ac_mid ')' - 1`
22247 if test $ac_mid -le $ac_hi; then
22248 ac_lo= ac_hi=
22249 break
22250 fi
22251 ac_mid=`expr 2 '*' $ac_mid`
22252 fi
22253
22254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22255 done
22256 else
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 ac_lo= ac_hi=
22261 fi
22262
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 fi
22265
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 # Binary search between lo and hi bounds.
22268 while test "x$ac_lo" != "x$ac_hi"; do
22269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22270 cat >conftest.$ac_ext <<_ACEOF
22271 /* confdefs.h. */
22272 _ACEOF
22273 cat confdefs.h >>conftest.$ac_ext
22274 cat >>conftest.$ac_ext <<_ACEOF
22275 /* end confdefs.h. */
22276 $ac_includes_default
22277 typedef long long ac__type_sizeof_;
22278 int
22279 main ()
22280 {
22281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22282 test_array [0] = 0
22283
22284 ;
22285 return 0;
22286 }
22287 _ACEOF
22288 rm -f conftest.$ac_objext
22289 if { (ac_try="$ac_compile"
22290 case "(($ac_try" in
22291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22292 *) ac_try_echo=$ac_try;;
22293 esac
22294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22295 (eval "$ac_compile") 2>conftest.er1
22296 ac_status=$?
22297 grep -v '^ *+' conftest.er1 >conftest.err
22298 rm -f conftest.er1
22299 cat conftest.err >&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } && {
22302 test -z "$ac_c_werror_flag" ||
22303 test ! -s conftest.err
22304 } && test -s conftest.$ac_objext; then
22305 ac_hi=$ac_mid
22306 else
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.$ac_ext >&5
22309
22310 ac_lo=`expr '(' $ac_mid ')' + 1`
22311 fi
22312
22313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22314 done
22315 case $ac_lo in
22316 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22317 '') if test "$ac_cv_type_long_long" = yes; then
22318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22319 See \`config.log' for more details." >&5
22320 echo "$as_me: error: cannot compute sizeof (long long)
22321 See \`config.log' for more details." >&2;}
22322 { (exit 77); exit 77; }; }
22323 else
22324 ac_cv_sizeof_long_long=0
22325 fi ;;
22326 esac
22327 else
22328 cat >conftest.$ac_ext <<_ACEOF
22329 /* confdefs.h. */
22330 _ACEOF
22331 cat confdefs.h >>conftest.$ac_ext
22332 cat >>conftest.$ac_ext <<_ACEOF
22333 /* end confdefs.h. */
22334 $ac_includes_default
22335 typedef long long ac__type_sizeof_;
22336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22338 #include <stdio.h>
22339 #include <stdlib.h>
22340 int
22341 main ()
22342 {
22343
22344 FILE *f = fopen ("conftest.val", "w");
22345 if (! f)
22346 return 1;
22347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22348 {
22349 long int i = longval ();
22350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22351 return 1;
22352 fprintf (f, "%ld\n", i);
22353 }
22354 else
22355 {
22356 unsigned long int i = ulongval ();
22357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22358 return 1;
22359 fprintf (f, "%lu\n", i);
22360 }
22361 return ferror (f) || fclose (f) != 0;
22362
22363 ;
22364 return 0;
22365 }
22366 _ACEOF
22367 rm -f conftest$ac_exeext
22368 if { (ac_try="$ac_link"
22369 case "(($ac_try" in
22370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22372 esac
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_link") 2>&5
22375 ac_status=$?
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22378 { (case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22381 esac
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_try") 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; }; then
22387 ac_cv_sizeof_long_long=`cat conftest.val`
22388 else
22389 echo "$as_me: program exited with status $ac_status" >&5
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22392
22393 ( exit $ac_status )
22394 if test "$ac_cv_type_long_long" = yes; then
22395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22396 See \`config.log' for more details." >&5
22397 echo "$as_me: error: cannot compute sizeof (long long)
22398 See \`config.log' for more details." >&2;}
22399 { (exit 77); exit 77; }; }
22400 else
22401 ac_cv_sizeof_long_long=0
22402 fi
22403 fi
22404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22405 fi
22406 rm -f conftest.val
22407 fi
22408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22409 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22410
22411
22412
22413 cat >>confdefs.h <<_ACEOF
22414 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22415 _ACEOF
22416
22417
22418 if test "$ac_cv_sizeof_long_long" != 0; then
22419 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22420 fi
22421 ;;
22422 * )
22423 { echo "$as_me:$LINENO: checking for long long" >&5
22424 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22425 if test "${ac_cv_type_long_long+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 else
22428 cat >conftest.$ac_ext <<_ACEOF
22429 /* confdefs.h. */
22430 _ACEOF
22431 cat confdefs.h >>conftest.$ac_ext
22432 cat >>conftest.$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434 $ac_includes_default
22435 typedef long long ac__type_new_;
22436 int
22437 main ()
22438 {
22439 if ((ac__type_new_ *) 0)
22440 return 0;
22441 if (sizeof (ac__type_new_))
22442 return 0;
22443 ;
22444 return 0;
22445 }
22446 _ACEOF
22447 rm -f conftest.$ac_objext
22448 if { (ac_try="$ac_compile"
22449 case "(($ac_try" in
22450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22451 *) ac_try_echo=$ac_try;;
22452 esac
22453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22454 (eval "$ac_compile") 2>conftest.er1
22455 ac_status=$?
22456 grep -v '^ *+' conftest.er1 >conftest.err
22457 rm -f conftest.er1
22458 cat conftest.err >&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); } && {
22461 test -z "$ac_c_werror_flag" ||
22462 test ! -s conftest.err
22463 } && test -s conftest.$ac_objext; then
22464 ac_cv_type_long_long=yes
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 ac_cv_type_long_long=no
22470 fi
22471
22472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 fi
22474 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22475 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22476
22477 # The cast to long int works around a bug in the HP C Compiler
22478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22480 # This bug is HP SR number 8606223364.
22481 { echo "$as_me:$LINENO: checking size of long long" >&5
22482 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22483 if test "${ac_cv_sizeof_long_long+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 else
22486 if test "$cross_compiling" = yes; then
22487 # Depending upon the size, compute the lo and hi bounds.
22488 cat >conftest.$ac_ext <<_ACEOF
22489 /* confdefs.h. */
22490 _ACEOF
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494 $ac_includes_default
22495 typedef long long ac__type_sizeof_;
22496 int
22497 main ()
22498 {
22499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22500 test_array [0] = 0
22501
22502 ;
22503 return 0;
22504 }
22505 _ACEOF
22506 rm -f conftest.$ac_objext
22507 if { (ac_try="$ac_compile"
22508 case "(($ac_try" in
22509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510 *) ac_try_echo=$ac_try;;
22511 esac
22512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22513 (eval "$ac_compile") 2>conftest.er1
22514 ac_status=$?
22515 grep -v '^ *+' conftest.er1 >conftest.err
22516 rm -f conftest.er1
22517 cat conftest.err >&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); } && {
22520 test -z "$ac_c_werror_flag" ||
22521 test ! -s conftest.err
22522 } && test -s conftest.$ac_objext; then
22523 ac_lo=0 ac_mid=0
22524 while :; do
22525 cat >conftest.$ac_ext <<_ACEOF
22526 /* confdefs.h. */
22527 _ACEOF
22528 cat confdefs.h >>conftest.$ac_ext
22529 cat >>conftest.$ac_ext <<_ACEOF
22530 /* end confdefs.h. */
22531 $ac_includes_default
22532 typedef long long ac__type_sizeof_;
22533 int
22534 main ()
22535 {
22536 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22537 test_array [0] = 0
22538
22539 ;
22540 return 0;
22541 }
22542 _ACEOF
22543 rm -f conftest.$ac_objext
22544 if { (ac_try="$ac_compile"
22545 case "(($ac_try" in
22546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22547 *) ac_try_echo=$ac_try;;
22548 esac
22549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22550 (eval "$ac_compile") 2>conftest.er1
22551 ac_status=$?
22552 grep -v '^ *+' conftest.er1 >conftest.err
22553 rm -f conftest.er1
22554 cat conftest.err >&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); } && {
22557 test -z "$ac_c_werror_flag" ||
22558 test ! -s conftest.err
22559 } && test -s conftest.$ac_objext; then
22560 ac_hi=$ac_mid; break
22561 else
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22564
22565 ac_lo=`expr $ac_mid + 1`
22566 if test $ac_lo -le $ac_mid; then
22567 ac_lo= ac_hi=
22568 break
22569 fi
22570 ac_mid=`expr 2 '*' $ac_mid + 1`
22571 fi
22572
22573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22574 done
22575 else
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 cat >conftest.$ac_ext <<_ACEOF
22580 /* confdefs.h. */
22581 _ACEOF
22582 cat confdefs.h >>conftest.$ac_ext
22583 cat >>conftest.$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 $ac_includes_default
22586 typedef long long ac__type_sizeof_;
22587 int
22588 main ()
22589 {
22590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22591 test_array [0] = 0
22592
22593 ;
22594 return 0;
22595 }
22596 _ACEOF
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } && {
22611 test -z "$ac_c_werror_flag" ||
22612 test ! -s conftest.err
22613 } && test -s conftest.$ac_objext; then
22614 ac_hi=-1 ac_mid=-1
22615 while :; do
22616 cat >conftest.$ac_ext <<_ACEOF
22617 /* confdefs.h. */
22618 _ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 $ac_includes_default
22623 typedef long long ac__type_sizeof_;
22624 int
22625 main ()
22626 {
22627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22628 test_array [0] = 0
22629
22630 ;
22631 return 0;
22632 }
22633 _ACEOF
22634 rm -f conftest.$ac_objext
22635 if { (ac_try="$ac_compile"
22636 case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22639 esac
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_compile") 2>conftest.er1
22642 ac_status=$?
22643 grep -v '^ *+' conftest.er1 >conftest.err
22644 rm -f conftest.er1
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } && {
22648 test -z "$ac_c_werror_flag" ||
22649 test ! -s conftest.err
22650 } && test -s conftest.$ac_objext; then
22651 ac_lo=$ac_mid; break
22652 else
22653 echo "$as_me: failed program was:" >&5
22654 sed 's/^/| /' conftest.$ac_ext >&5
22655
22656 ac_hi=`expr '(' $ac_mid ')' - 1`
22657 if test $ac_mid -le $ac_hi; then
22658 ac_lo= ac_hi=
22659 break
22660 fi
22661 ac_mid=`expr 2 '*' $ac_mid`
22662 fi
22663
22664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 done
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22669
22670 ac_lo= ac_hi=
22671 fi
22672
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 fi
22675
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 # Binary search between lo and hi bounds.
22678 while test "x$ac_lo" != "x$ac_hi"; do
22679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22680 cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h. */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 $ac_includes_default
22687 typedef long long ac__type_sizeof_;
22688 int
22689 main ()
22690 {
22691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22692 test_array [0] = 0
22693
22694 ;
22695 return 0;
22696 }
22697 _ACEOF
22698 rm -f conftest.$ac_objext
22699 if { (ac_try="$ac_compile"
22700 case "(($ac_try" in
22701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22702 *) ac_try_echo=$ac_try;;
22703 esac
22704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22705 (eval "$ac_compile") 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } && {
22712 test -z "$ac_c_werror_flag" ||
22713 test ! -s conftest.err
22714 } && test -s conftest.$ac_objext; then
22715 ac_hi=$ac_mid
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22719
22720 ac_lo=`expr '(' $ac_mid ')' + 1`
22721 fi
22722
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 done
22725 case $ac_lo in
22726 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22727 '') if test "$ac_cv_type_long_long" = yes; then
22728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22729 See \`config.log' for more details." >&5
22730 echo "$as_me: error: cannot compute sizeof (long long)
22731 See \`config.log' for more details." >&2;}
22732 { (exit 77); exit 77; }; }
22733 else
22734 ac_cv_sizeof_long_long=0
22735 fi ;;
22736 esac
22737 else
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22745 typedef long long ac__type_sizeof_;
22746 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22747 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22748 #include <stdio.h>
22749 #include <stdlib.h>
22750 int
22751 main ()
22752 {
22753
22754 FILE *f = fopen ("conftest.val", "w");
22755 if (! f)
22756 return 1;
22757 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22758 {
22759 long int i = longval ();
22760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22761 return 1;
22762 fprintf (f, "%ld\n", i);
22763 }
22764 else
22765 {
22766 unsigned long int i = ulongval ();
22767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22768 return 1;
22769 fprintf (f, "%lu\n", i);
22770 }
22771 return ferror (f) || fclose (f) != 0;
22772
22773 ;
22774 return 0;
22775 }
22776 _ACEOF
22777 rm -f conftest$ac_exeext
22778 if { (ac_try="$ac_link"
22779 case "(($ac_try" in
22780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22782 esac
22783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_link") 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22788 { (case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22791 esac
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_try") 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; }; then
22797 ac_cv_sizeof_long_long=`cat conftest.val`
22798 else
22799 echo "$as_me: program exited with status $ac_status" >&5
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.$ac_ext >&5
22802
22803 ( exit $ac_status )
22804 if test "$ac_cv_type_long_long" = yes; then
22805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22806 See \`config.log' for more details." >&5
22807 echo "$as_me: error: cannot compute sizeof (long long)
22808 See \`config.log' for more details." >&2;}
22809 { (exit 77); exit 77; }; }
22810 else
22811 ac_cv_sizeof_long_long=0
22812 fi
22813 fi
22814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22815 fi
22816 rm -f conftest.val
22817 fi
22818 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22819 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22820
22821
22822
22823 cat >>confdefs.h <<_ACEOF
22824 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22825 _ACEOF
22826
22827
22828 esac
22829
22830 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22831 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22832 if test "${ac_cv_type_wchar_t+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 else
22835 cat >conftest.$ac_ext <<_ACEOF
22836 /* confdefs.h. */
22837 _ACEOF
22838 cat confdefs.h >>conftest.$ac_ext
22839 cat >>conftest.$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841
22842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22844 # error "fake wchar_t"
22845 #endif
22846 #ifdef HAVE_WCHAR_H
22847 # ifdef __CYGWIN__
22848 # include <stddef.h>
22849 # endif
22850 # include <wchar.h>
22851 #endif
22852 #ifdef HAVE_STDLIB_H
22853 # include <stdlib.h>
22854 #endif
22855 #include <stdio.h>
22856
22857
22858
22859 typedef wchar_t ac__type_new_;
22860 int
22861 main ()
22862 {
22863 if ((ac__type_new_ *) 0)
22864 return 0;
22865 if (sizeof (ac__type_new_))
22866 return 0;
22867 ;
22868 return 0;
22869 }
22870 _ACEOF
22871 rm -f conftest.$ac_objext
22872 if { (ac_try="$ac_compile"
22873 case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;;
22876 esac
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878 (eval "$ac_compile") 2>conftest.er1
22879 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } && {
22885 test -z "$ac_c_werror_flag" ||
22886 test ! -s conftest.err
22887 } && test -s conftest.$ac_objext; then
22888 ac_cv_type_wchar_t=yes
22889 else
22890 echo "$as_me: failed program was:" >&5
22891 sed 's/^/| /' conftest.$ac_ext >&5
22892
22893 ac_cv_type_wchar_t=no
22894 fi
22895
22896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897 fi
22898 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22899 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22900
22901 # The cast to long int works around a bug in the HP C Compiler
22902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22904 # This bug is HP SR number 8606223364.
22905 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22906 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22907 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 else
22910 if test "$cross_compiling" = yes; then
22911 # Depending upon the size, compute the lo and hi bounds.
22912 cat >conftest.$ac_ext <<_ACEOF
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918
22919 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22920 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22921 # error "fake wchar_t"
22922 #endif
22923 #ifdef HAVE_WCHAR_H
22924 # ifdef __CYGWIN__
22925 # include <stddef.h>
22926 # endif
22927 # include <wchar.h>
22928 #endif
22929 #ifdef HAVE_STDLIB_H
22930 # include <stdlib.h>
22931 #endif
22932 #include <stdio.h>
22933
22934
22935
22936 typedef wchar_t ac__type_sizeof_;
22937 int
22938 main ()
22939 {
22940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22941 test_array [0] = 0
22942
22943 ;
22944 return 0;
22945 }
22946 _ACEOF
22947 rm -f conftest.$ac_objext
22948 if { (ac_try="$ac_compile"
22949 case "(($ac_try" in
22950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22951 *) ac_try_echo=$ac_try;;
22952 esac
22953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22954 (eval "$ac_compile") 2>conftest.er1
22955 ac_status=$?
22956 grep -v '^ *+' conftest.er1 >conftest.err
22957 rm -f conftest.er1
22958 cat conftest.err >&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } && {
22961 test -z "$ac_c_werror_flag" ||
22962 test ! -s conftest.err
22963 } && test -s conftest.$ac_objext; then
22964 ac_lo=0 ac_mid=0
22965 while :; do
22966 cat >conftest.$ac_ext <<_ACEOF
22967 /* confdefs.h. */
22968 _ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972
22973 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22974 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22975 # error "fake wchar_t"
22976 #endif
22977 #ifdef HAVE_WCHAR_H
22978 # ifdef __CYGWIN__
22979 # include <stddef.h>
22980 # endif
22981 # include <wchar.h>
22982 #endif
22983 #ifdef HAVE_STDLIB_H
22984 # include <stdlib.h>
22985 #endif
22986 #include <stdio.h>
22987
22988
22989
22990 typedef wchar_t ac__type_sizeof_;
22991 int
22992 main ()
22993 {
22994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22995 test_array [0] = 0
22996
22997 ;
22998 return 0;
22999 }
23000 _ACEOF
23001 rm -f conftest.$ac_objext
23002 if { (ac_try="$ac_compile"
23003 case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23006 esac
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_compile") 2>conftest.er1
23009 ac_status=$?
23010 grep -v '^ *+' conftest.er1 >conftest.err
23011 rm -f conftest.er1
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } && {
23015 test -z "$ac_c_werror_flag" ||
23016 test ! -s conftest.err
23017 } && test -s conftest.$ac_objext; then
23018 ac_hi=$ac_mid; break
23019 else
23020 echo "$as_me: failed program was:" >&5
23021 sed 's/^/| /' conftest.$ac_ext >&5
23022
23023 ac_lo=`expr $ac_mid + 1`
23024 if test $ac_lo -le $ac_mid; then
23025 ac_lo= ac_hi=
23026 break
23027 fi
23028 ac_mid=`expr 2 '*' $ac_mid + 1`
23029 fi
23030
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032 done
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23036
23037 cat >conftest.$ac_ext <<_ACEOF
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043
23044 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23045 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23046 # error "fake wchar_t"
23047 #endif
23048 #ifdef HAVE_WCHAR_H
23049 # ifdef __CYGWIN__
23050 # include <stddef.h>
23051 # endif
23052 # include <wchar.h>
23053 #endif
23054 #ifdef HAVE_STDLIB_H
23055 # include <stdlib.h>
23056 #endif
23057 #include <stdio.h>
23058
23059
23060
23061 typedef wchar_t ac__type_sizeof_;
23062 int
23063 main ()
23064 {
23065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23066 test_array [0] = 0
23067
23068 ;
23069 return 0;
23070 }
23071 _ACEOF
23072 rm -f conftest.$ac_objext
23073 if { (ac_try="$ac_compile"
23074 case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23077 esac
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_compile") 2>conftest.er1
23080 ac_status=$?
23081 grep -v '^ *+' conftest.er1 >conftest.err
23082 rm -f conftest.er1
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && {
23086 test -z "$ac_c_werror_flag" ||
23087 test ! -s conftest.err
23088 } && test -s conftest.$ac_objext; then
23089 ac_hi=-1 ac_mid=-1
23090 while :; do
23091 cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h. */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097
23098 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23099 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23100 # error "fake wchar_t"
23101 #endif
23102 #ifdef HAVE_WCHAR_H
23103 # ifdef __CYGWIN__
23104 # include <stddef.h>
23105 # endif
23106 # include <wchar.h>
23107 #endif
23108 #ifdef HAVE_STDLIB_H
23109 # include <stdlib.h>
23110 #endif
23111 #include <stdio.h>
23112
23113
23114
23115 typedef wchar_t ac__type_sizeof_;
23116 int
23117 main ()
23118 {
23119 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23120 test_array [0] = 0
23121
23122 ;
23123 return 0;
23124 }
23125 _ACEOF
23126 rm -f conftest.$ac_objext
23127 if { (ac_try="$ac_compile"
23128 case "(($ac_try" in
23129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23130 *) ac_try_echo=$ac_try;;
23131 esac
23132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23133 (eval "$ac_compile") 2>conftest.er1
23134 ac_status=$?
23135 grep -v '^ *+' conftest.er1 >conftest.err
23136 rm -f conftest.er1
23137 cat conftest.err >&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } && {
23140 test -z "$ac_c_werror_flag" ||
23141 test ! -s conftest.err
23142 } && test -s conftest.$ac_objext; then
23143 ac_lo=$ac_mid; break
23144 else
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23147
23148 ac_hi=`expr '(' $ac_mid ')' - 1`
23149 if test $ac_mid -le $ac_hi; then
23150 ac_lo= ac_hi=
23151 break
23152 fi
23153 ac_mid=`expr 2 '*' $ac_mid`
23154 fi
23155
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23157 done
23158 else
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.$ac_ext >&5
23161
23162 ac_lo= ac_hi=
23163 fi
23164
23165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23166 fi
23167
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169 # Binary search between lo and hi bounds.
23170 while test "x$ac_lo" != "x$ac_hi"; do
23171 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23172 cat >conftest.$ac_ext <<_ACEOF
23173 /* confdefs.h. */
23174 _ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23178
23179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23181 # error "fake wchar_t"
23182 #endif
23183 #ifdef HAVE_WCHAR_H
23184 # ifdef __CYGWIN__
23185 # include <stddef.h>
23186 # endif
23187 # include <wchar.h>
23188 #endif
23189 #ifdef HAVE_STDLIB_H
23190 # include <stdlib.h>
23191 #endif
23192 #include <stdio.h>
23193
23194
23195
23196 typedef wchar_t ac__type_sizeof_;
23197 int
23198 main ()
23199 {
23200 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23201 test_array [0] = 0
23202
23203 ;
23204 return 0;
23205 }
23206 _ACEOF
23207 rm -f conftest.$ac_objext
23208 if { (ac_try="$ac_compile"
23209 case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23212 esac
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_compile") 2>conftest.er1
23215 ac_status=$?
23216 grep -v '^ *+' conftest.er1 >conftest.err
23217 rm -f conftest.er1
23218 cat conftest.err >&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && {
23221 test -z "$ac_c_werror_flag" ||
23222 test ! -s conftest.err
23223 } && test -s conftest.$ac_objext; then
23224 ac_hi=$ac_mid
23225 else
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23228
23229 ac_lo=`expr '(' $ac_mid ')' + 1`
23230 fi
23231
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23233 done
23234 case $ac_lo in
23235 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23236 '') if test "$ac_cv_type_wchar_t" = yes; then
23237 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23238 See \`config.log' for more details." >&5
23239 echo "$as_me: error: cannot compute sizeof (wchar_t)
23240 See \`config.log' for more details." >&2;}
23241 { (exit 77); exit 77; }; }
23242 else
23243 ac_cv_sizeof_wchar_t=0
23244 fi ;;
23245 esac
23246 else
23247 cat >conftest.$ac_ext <<_ACEOF
23248 /* confdefs.h. */
23249 _ACEOF
23250 cat confdefs.h >>conftest.$ac_ext
23251 cat >>conftest.$ac_ext <<_ACEOF
23252 /* end confdefs.h. */
23253
23254 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23255 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23256 # error "fake wchar_t"
23257 #endif
23258 #ifdef HAVE_WCHAR_H
23259 # ifdef __CYGWIN__
23260 # include <stddef.h>
23261 # endif
23262 # include <wchar.h>
23263 #endif
23264 #ifdef HAVE_STDLIB_H
23265 # include <stdlib.h>
23266 #endif
23267 #include <stdio.h>
23268
23269
23270
23271 typedef wchar_t ac__type_sizeof_;
23272 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23273 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23274 #include <stdio.h>
23275 #include <stdlib.h>
23276 int
23277 main ()
23278 {
23279
23280 FILE *f = fopen ("conftest.val", "w");
23281 if (! f)
23282 return 1;
23283 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23284 {
23285 long int i = longval ();
23286 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23287 return 1;
23288 fprintf (f, "%ld\n", i);
23289 }
23290 else
23291 {
23292 unsigned long int i = ulongval ();
23293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23294 return 1;
23295 fprintf (f, "%lu\n", i);
23296 }
23297 return ferror (f) || fclose (f) != 0;
23298
23299 ;
23300 return 0;
23301 }
23302 _ACEOF
23303 rm -f conftest$ac_exeext
23304 if { (ac_try="$ac_link"
23305 case "(($ac_try" in
23306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23307 *) ac_try_echo=$ac_try;;
23308 esac
23309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23310 (eval "$ac_link") 2>&5
23311 ac_status=$?
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23314 { (case "(($ac_try" in
23315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23317 esac
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_try") 2>&5
23320 ac_status=$?
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; }; then
23323 ac_cv_sizeof_wchar_t=`cat conftest.val`
23324 else
23325 echo "$as_me: program exited with status $ac_status" >&5
23326 echo "$as_me: failed program was:" >&5
23327 sed 's/^/| /' conftest.$ac_ext >&5
23328
23329 ( exit $ac_status )
23330 if test "$ac_cv_type_wchar_t" = yes; then
23331 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23332 See \`config.log' for more details." >&5
23333 echo "$as_me: error: cannot compute sizeof (wchar_t)
23334 See \`config.log' for more details." >&2;}
23335 { (exit 77); exit 77; }; }
23336 else
23337 ac_cv_sizeof_wchar_t=0
23338 fi
23339 fi
23340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23341 fi
23342 rm -f conftest.val
23343 fi
23344 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23345 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23346
23347
23348
23349 cat >>confdefs.h <<_ACEOF
23350 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23351 _ACEOF
23352
23353
23354 if test "$ac_cv_sizeof_wchar_t" != 0; then
23355 wxUSE_WCHAR_T=yes
23356 else
23357 wxUSE_WCHAR_T=no
23358 fi
23359
23360 { echo "$as_me:$LINENO: checking for va_copy" >&5
23361 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23362 if test "${wx_cv_func_va_copy+set}" = set; then
23363 echo $ECHO_N "(cached) $ECHO_C" >&6
23364 else
23365
23366 ac_ext=cpp
23367 ac_cpp='$CXXCPP $CPPFLAGS'
23368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371
23372 cat >conftest.$ac_ext <<_ACEOF
23373
23374 #include <stdarg.h>
23375 void foo(char *f, ...)
23376 {
23377 va_list ap1, ap2;
23378 va_start(ap1, f);
23379 va_copy(ap2, ap1);
23380 va_end(ap2);
23381 va_end(ap1);
23382 }
23383 int main()
23384 {
23385 foo("hi", 17);
23386 return 0;
23387 }
23388 _ACEOF
23389 rm -f conftest.$ac_objext conftest$ac_exeext
23390 if { (ac_try="$ac_link"
23391 case "(($ac_try" in
23392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23393 *) ac_try_echo=$ac_try;;
23394 esac
23395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23396 (eval "$ac_link") 2>conftest.er1
23397 ac_status=$?
23398 grep -v '^ *+' conftest.er1 >conftest.err
23399 rm -f conftest.er1
23400 cat conftest.err >&5
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); } && {
23403 test -z "$ac_cxx_werror_flag" ||
23404 test ! -s conftest.err
23405 } && test -s conftest$ac_exeext &&
23406 $as_test_x conftest$ac_exeext; then
23407 wx_cv_func_va_copy=yes
23408 else
23409 echo "$as_me: failed program was:" >&5
23410 sed 's/^/| /' conftest.$ac_ext >&5
23411
23412 wx_cv_func_va_copy=no
23413
23414 fi
23415
23416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23417 conftest$ac_exeext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423
23424
23425
23426 fi
23427 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23428 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23429
23430 if test $wx_cv_func_va_copy = "yes"; then
23431 cat >>confdefs.h <<\_ACEOF
23432 #define HAVE_VA_COPY 1
23433 _ACEOF
23434
23435 else
23436 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23437 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23438 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23439 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 else
23441
23442 if test "$cross_compiling" = yes; then
23443 wx_cv_type_va_list_lvalue=yes
23444
23445 else
23446 cat >conftest.$ac_ext <<_ACEOF
23447
23448 #include <stdarg.h>
23449 int foo(char *f, ...)
23450 {
23451 va_list ap1, ap2;
23452 va_start(ap1, f);
23453 ap2 = ap1;
23454 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23455 return 1;
23456 va_end(ap2);
23457 va_end(ap1);
23458 return 0;
23459 }
23460 int main()
23461 {
23462 return foo("hi", 17);
23463 }
23464 _ACEOF
23465 rm -f conftest$ac_exeext
23466 if { (ac_try="$ac_link"
23467 case "(($ac_try" in
23468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469 *) ac_try_echo=$ac_try;;
23470 esac
23471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23472 (eval "$ac_link") 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23476 { (case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23479 esac
23480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23481 (eval "$ac_try") 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 wx_cv_type_va_list_lvalue=yes
23486 else
23487 echo "$as_me: program exited with status $ac_status" >&5
23488 echo "$as_me: failed program was:" >&5
23489 sed 's/^/| /' conftest.$ac_ext >&5
23490
23491 ( exit $ac_status )
23492 wx_cv_type_va_list_lvalue=no
23493 fi
23494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23495 fi
23496
23497
23498
23499
23500 fi
23501 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23502 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23503
23504 if test $wx_cv_type_va_list_lvalue != "yes"; then
23505 cat >>confdefs.h <<\_ACEOF
23506 #define VA_LIST_IS_ARRAY 1
23507 _ACEOF
23508
23509 fi
23510 fi
23511
23512 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23513
23514 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23515 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23516 if test "${wx_cv_have_variadic_macros+set}" = set; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23518 else
23519
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532
23533 #include <stdio.h>
23534 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23535
23536 int
23537 main ()
23538 {
23539
23540 test("%s %d %p", "test", 1, 0);
23541
23542
23543 ;
23544 return 0;
23545 }
23546 _ACEOF
23547 rm -f conftest.$ac_objext
23548 if { (ac_try="$ac_compile"
23549 case "(($ac_try" in
23550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23551 *) ac_try_echo=$ac_try;;
23552 esac
23553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23554 (eval "$ac_compile") 2>conftest.er1
23555 ac_status=$?
23556 grep -v '^ *+' conftest.er1 >conftest.err
23557 rm -f conftest.er1
23558 cat conftest.err >&5
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); } && {
23561 test -z "$ac_cxx_werror_flag" ||
23562 test ! -s conftest.err
23563 } && test -s conftest.$ac_objext; then
23564 wx_cv_have_variadic_macros=yes
23565 else
23566 echo "$as_me: failed program was:" >&5
23567 sed 's/^/| /' conftest.$ac_ext >&5
23568
23569 wx_cv_have_variadic_macros=no
23570
23571 fi
23572
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 ac_ext=c
23575 ac_cpp='$CPP $CPPFLAGS'
23576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23579
23580
23581
23582 fi
23583 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23584 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23585
23586 if test $wx_cv_have_variadic_macros = "yes"; then
23587 cat >>confdefs.h <<\_ACEOF
23588 #define HAVE_VARIADIC_MACROS 1
23589 _ACEOF
23590
23591 fi
23592
23593 fi
23594
23595 LARGEFILE_CPPFLAGS=
23596 # Check whether --enable-largefile was given.
23597 if test "${enable_largefile+set}" = set; then
23598 enableval=$enable_largefile;
23599 fi
23600
23601 if test "$enable_largefile" != no; then
23602 wx_largefile=no
23603
23604 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23605 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23606 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23607 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 else
23609
23610 cat >conftest.$ac_ext <<_ACEOF
23611 /* confdefs.h. */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23616 #define _FILE_OFFSET_BITS 64
23617 #include <sys/types.h>
23618 int
23619 main ()
23620 {
23621 typedef struct {
23622 unsigned int field: sizeof(off_t) == 8;
23623 } wxlf;
23624
23625 ;
23626 return 0;
23627 }
23628 _ACEOF
23629 rm -f conftest.$ac_objext
23630 if { (ac_try="$ac_compile"
23631 case "(($ac_try" in
23632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23633 *) ac_try_echo=$ac_try;;
23634 esac
23635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23636 (eval "$ac_compile") 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } && {
23643 test -z "$ac_c_werror_flag" ||
23644 test ! -s conftest.err
23645 } && test -s conftest.$ac_objext; then
23646 ac_cv_sys_file_offset_bits=64
23647 else
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.$ac_ext >&5
23650
23651 ac_cv_sys_file_offset_bits=no
23652 fi
23653
23654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23655
23656
23657 fi
23658 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23659 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23660
23661 if test "$ac_cv_sys_file_offset_bits" != no; then
23662 wx_largefile=yes
23663 cat >>confdefs.h <<_ACEOF
23664 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23665 _ACEOF
23666
23667 fi
23668
23669 if test "x$wx_largefile" != "xyes"; then
23670
23671 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23672 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23673 if test "${ac_cv_sys_large_files+set}" = set; then
23674 echo $ECHO_N "(cached) $ECHO_C" >&6
23675 else
23676
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h. */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 #define _LARGE_FILES 1
23684 #include <sys/types.h>
23685 int
23686 main ()
23687 {
23688 typedef struct {
23689 unsigned int field: sizeof(off_t) == 8;
23690 } wxlf;
23691
23692 ;
23693 return 0;
23694 }
23695 _ACEOF
23696 rm -f conftest.$ac_objext
23697 if { (ac_try="$ac_compile"
23698 case "(($ac_try" in
23699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23700 *) ac_try_echo=$ac_try;;
23701 esac
23702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23703 (eval "$ac_compile") 2>conftest.er1
23704 ac_status=$?
23705 grep -v '^ *+' conftest.er1 >conftest.err
23706 rm -f conftest.er1
23707 cat conftest.err >&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); } && {
23710 test -z "$ac_c_werror_flag" ||
23711 test ! -s conftest.err
23712 } && test -s conftest.$ac_objext; then
23713 ac_cv_sys_large_files=1
23714 else
23715 echo "$as_me: failed program was:" >&5
23716 sed 's/^/| /' conftest.$ac_ext >&5
23717
23718 ac_cv_sys_large_files=no
23719 fi
23720
23721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23722
23723
23724 fi
23725 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23726 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23727
23728 if test "$ac_cv_sys_large_files" != no; then
23729 wx_largefile=yes
23730 cat >>confdefs.h <<_ACEOF
23731 #define _LARGE_FILES $ac_cv_sys_large_files
23732 _ACEOF
23733
23734 fi
23735
23736 fi
23737
23738 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23739 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23740 if test "x$wx_largefile" = "xyes"; then
23741 cat >>confdefs.h <<\_ACEOF
23742 #define HAVE_LARGEFILE_SUPPORT 1
23743 _ACEOF
23744
23745 fi
23746 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23747 echo "${ECHO_T}$wx_largefile" >&6; }
23748 fi
23749
23750 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23751 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23752 elif test "$ac_cv_sys_large_files" = 1; then
23753 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23754 fi
23755
23756 if test -n "$LARGEFILE_CPPFLAGS"; then
23757 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23758
23759 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23760 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23761 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23762 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23764 else
23765
23766 ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771
23772 cat >conftest.$ac_ext <<_ACEOF
23773 /* confdefs.h. */
23774 _ACEOF
23775 cat confdefs.h >>conftest.$ac_ext
23776 cat >>conftest.$ac_ext <<_ACEOF
23777 /* end confdefs.h. */
23778
23779 int
23780 main ()
23781 {
23782
23783 #ifndef __STDC_EXT__
23784 choke me
23785 #endif
23786
23787 ;
23788 return 0;
23789 }
23790 _ACEOF
23791 rm -f conftest.$ac_objext
23792 if { (ac_try="$ac_compile"
23793 case "(($ac_try" in
23794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23795 *) ac_try_echo=$ac_try;;
23796 esac
23797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23798 (eval "$ac_compile") 2>conftest.er1
23799 ac_status=$?
23800 grep -v '^ *+' conftest.er1 >conftest.err
23801 rm -f conftest.er1
23802 cat conftest.err >&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } && {
23805 test -z "$ac_cxx_werror_flag" ||
23806 test ! -s conftest.err
23807 } && test -s conftest.$ac_objext; then
23808 wx_cv_STDC_EXT_required=no
23809 else
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23812
23813 wx_cv_STDC_EXT_required=yes
23814
23815 fi
23816
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 ac_ext=c
23819 ac_cpp='$CPP $CPPFLAGS'
23820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823
23824
23825
23826 fi
23827 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23828 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23829 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23830 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23831 fi
23832 fi
23833 fi
23834
23835 ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840
23841 old_CPPFLAGS="$CPPFLAGS"
23842 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23843 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23844 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23845 if test "${ac_cv_sys_largefile_source+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 else
23848 while :; do
23849 cat >conftest.$ac_ext <<_ACEOF
23850 /* confdefs.h. */
23851 _ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #include <sys/types.h> /* for off_t */
23856 #include <stdio.h>
23857 int
23858 main ()
23859 {
23860 int (*fp) (FILE *, off_t, int) = fseeko;
23861 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 rm -f conftest.$ac_objext conftest$ac_exeext
23867 if { (ac_try="$ac_link"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_link") 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_cxx_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest$ac_exeext &&
23883 $as_test_x conftest$ac_exeext; then
23884 ac_cv_sys_largefile_source=no; break
23885 else
23886 echo "$as_me: failed program was:" >&5
23887 sed 's/^/| /' conftest.$ac_ext >&5
23888
23889
23890 fi
23891
23892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23893 conftest$ac_exeext conftest.$ac_ext
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h. */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 #define _LARGEFILE_SOURCE 1
23901 #include <sys/types.h> /* for off_t */
23902 #include <stdio.h>
23903 int
23904 main ()
23905 {
23906 int (*fp) (FILE *, off_t, int) = fseeko;
23907 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23908 ;
23909 return 0;
23910 }
23911 _ACEOF
23912 rm -f conftest.$ac_objext conftest$ac_exeext
23913 if { (ac_try="$ac_link"
23914 case "(($ac_try" in
23915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23916 *) ac_try_echo=$ac_try;;
23917 esac
23918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23919 (eval "$ac_link") 2>conftest.er1
23920 ac_status=$?
23921 grep -v '^ *+' conftest.er1 >conftest.err
23922 rm -f conftest.er1
23923 cat conftest.err >&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } && {
23926 test -z "$ac_cxx_werror_flag" ||
23927 test ! -s conftest.err
23928 } && test -s conftest$ac_exeext &&
23929 $as_test_x conftest$ac_exeext; then
23930 ac_cv_sys_largefile_source=1; break
23931 else
23932 echo "$as_me: failed program was:" >&5
23933 sed 's/^/| /' conftest.$ac_ext >&5
23934
23935
23936 fi
23937
23938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23939 conftest$ac_exeext conftest.$ac_ext
23940 ac_cv_sys_largefile_source=unknown
23941 break
23942 done
23943 fi
23944 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23945 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23946 case $ac_cv_sys_largefile_source in #(
23947 no | unknown) ;;
23948 *)
23949 cat >>confdefs.h <<_ACEOF
23950 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23951 _ACEOF
23952 ;;
23953 esac
23954 rm -f conftest*
23955
23956 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23957 # in glibc 2.1.3, but that breaks too many other things.
23958 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23959 if test $ac_cv_sys_largefile_source != unknown; then
23960
23961 cat >>confdefs.h <<\_ACEOF
23962 #define HAVE_FSEEKO 1
23963 _ACEOF
23964
23965 fi
23966
23967 CPPFLAGS="$old_CPPFLAGS"
23968 ac_ext=c
23969 ac_cpp='$CPP $CPPFLAGS'
23970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23973
23974 if test "$ac_cv_sys_largefile_source" != no; then
23975 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23976 fi
23977
23978 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23979 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23980 if test "${ac_cv_c_bigendian+set}" = set; then
23981 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 else
23983 ac_cv_c_bigendian=unknown
23984 # See if sys/param.h defines the BYTE_ORDER macro.
23985 cat >conftest.$ac_ext <<_ACEOF
23986 /* confdefs.h. */
23987 _ACEOF
23988 cat confdefs.h >>conftest.$ac_ext
23989 cat >>conftest.$ac_ext <<_ACEOF
23990 /* end confdefs.h. */
23991 #include <sys/types.h>
23992 #include <sys/param.h>
23993 int
23994 main ()
23995 {
23996
23997 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23998 bogus endian macros
23999 #endif
24000 ;
24001 return 0;
24002 }
24003 _ACEOF
24004 rm -f conftest.$ac_objext
24005 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24012 ac_status=$?
24013 grep -v '^ *+' conftest.er1 >conftest.err
24014 rm -f conftest.er1
24015 cat conftest.err >&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); } && {
24018 test -z "$ac_c_werror_flag" ||
24019 test ! -s conftest.err
24020 } && test -s conftest.$ac_objext; then
24021 # It does; now see whether it defined to BIG_ENDIAN or not.
24022 cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h. */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <sys/types.h>
24029 #include <sys/param.h>
24030 int
24031 main ()
24032 {
24033
24034 #if BYTE_ORDER != BIG_ENDIAN
24035 not big endian
24036 #endif
24037 ;
24038 return 0;
24039 }
24040 _ACEOF
24041 rm -f conftest.$ac_objext
24042 if { (ac_try="$ac_compile"
24043 case "(($ac_try" in
24044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24045 *) ac_try_echo=$ac_try;;
24046 esac
24047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24048 (eval "$ac_compile") 2>conftest.er1
24049 ac_status=$?
24050 grep -v '^ *+' conftest.er1 >conftest.err
24051 rm -f conftest.er1
24052 cat conftest.err >&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } && {
24055 test -z "$ac_c_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.$ac_objext; then
24058 ac_cv_c_bigendian=yes
24059 else
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.$ac_ext >&5
24062
24063 ac_cv_c_bigendian=no
24064 fi
24065
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 else
24068 echo "$as_me: failed program was:" >&5
24069 sed 's/^/| /' conftest.$ac_ext >&5
24070
24071
24072 fi
24073
24074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24075 if test $ac_cv_c_bigendian = unknown; then
24076 if test "$cross_compiling" = yes; then
24077 ac_cv_c_bigendian=unknown
24078 else
24079 cat >conftest.$ac_ext <<_ACEOF
24080 /* confdefs.h. */
24081 _ACEOF
24082 cat confdefs.h >>conftest.$ac_ext
24083 cat >>conftest.$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 main () {
24086 /* Are we little or big endian? From Harbison&Steele. */
24087 union
24088 {
24089 long l;
24090 char c[sizeof (long)];
24091 } u;
24092 u.l = 1;
24093 exit (u.c[sizeof (long) - 1] == 1);
24094 }
24095 _ACEOF
24096 rm -f conftest$ac_exeext
24097 if { (ac_try="$ac_link"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24101 esac
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_link") 2>&5
24104 ac_status=$?
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24107 { (case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24110 esac
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_try") 2>&5
24113 ac_status=$?
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); }; }; then
24116 ac_cv_c_bigendian=no
24117 else
24118 echo "$as_me: program exited with status $ac_status" >&5
24119 echo "$as_me: failed program was:" >&5
24120 sed 's/^/| /' conftest.$ac_ext >&5
24121
24122 ( exit $ac_status )
24123 ac_cv_c_bigendian=yes
24124 fi
24125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24126 fi
24127
24128
24129 fi
24130 fi
24131 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24132 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24133 if test $ac_cv_c_bigendian = unknown; then
24134 { 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
24135 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;}
24136 fi
24137 if test $ac_cv_c_bigendian = yes; then
24138 cat >>confdefs.h <<\_ACEOF
24139 #define WORDS_BIGENDIAN 1
24140 _ACEOF
24141
24142 fi
24143
24144
24145
24146
24147 ac_ext=cpp
24148 ac_cpp='$CXXCPP $CPPFLAGS'
24149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152
24153
24154
24155 for ac_header in iostream
24156 do
24157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24161 echo $ECHO_N "(cached) $ECHO_C" >&6
24162 else
24163 cat >conftest.$ac_ext <<_ACEOF
24164 /* confdefs.h. */
24165 _ACEOF
24166 cat confdefs.h >>conftest.$ac_ext
24167 cat >>conftest.$ac_ext <<_ACEOF
24168 /* end confdefs.h. */
24169
24170
24171 #include <$ac_header>
24172 _ACEOF
24173 rm -f conftest.$ac_objext
24174 if { (ac_try="$ac_compile"
24175 case "(($ac_try" in
24176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24177 *) ac_try_echo=$ac_try;;
24178 esac
24179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24180 (eval "$ac_compile") 2>conftest.er1
24181 ac_status=$?
24182 grep -v '^ *+' conftest.er1 >conftest.err
24183 rm -f conftest.er1
24184 cat conftest.err >&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && {
24187 test -z "$ac_cxx_werror_flag" ||
24188 test ! -s conftest.err
24189 } && test -s conftest.$ac_objext; then
24190 eval "$as_ac_Header=yes"
24191 else
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.$ac_ext >&5
24194
24195 eval "$as_ac_Header=no"
24196 fi
24197
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 fi
24200 ac_res=`eval echo '${'$as_ac_Header'}'`
24201 { echo "$as_me:$LINENO: result: $ac_res" >&5
24202 echo "${ECHO_T}$ac_res" >&6; }
24203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24204 cat >>confdefs.h <<_ACEOF
24205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24206 _ACEOF
24207
24208 fi
24209
24210 done
24211
24212
24213 if test "$ac_cv_header_iostream" = "yes" ; then
24214 :
24215 else
24216 cat >>confdefs.h <<\_ACEOF
24217 #define wxUSE_IOSTREAMH 1
24218 _ACEOF
24219
24220 fi
24221
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24227
24228
24229
24230
24231 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24232 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24233 if test "${wx_cv_explicit+set}" = set; then
24234 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 else
24236
24237
24238 ac_ext=cpp
24239 ac_cpp='$CXXCPP $CPPFLAGS'
24240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24243
24244
24245 cat >conftest.$ac_ext <<_ACEOF
24246 /* confdefs.h. */
24247 _ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251
24252 class Foo { public: explicit Foo(int) {} };
24253
24254 int
24255 main ()
24256 {
24257
24258 return 0;
24259
24260 ;
24261 return 0;
24262 }
24263 _ACEOF
24264 rm -f conftest.$ac_objext
24265 if { (ac_try="$ac_compile"
24266 case "(($ac_try" in
24267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24268 *) ac_try_echo=$ac_try;;
24269 esac
24270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24271 (eval "$ac_compile") 2>conftest.er1
24272 ac_status=$?
24273 grep -v '^ *+' conftest.er1 >conftest.err
24274 rm -f conftest.er1
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && {
24278 test -z "$ac_cxx_werror_flag" ||
24279 test ! -s conftest.err
24280 } && test -s conftest.$ac_objext; then
24281
24282 cat >conftest.$ac_ext <<_ACEOF
24283 /* confdefs.h. */
24284 _ACEOF
24285 cat confdefs.h >>conftest.$ac_ext
24286 cat >>conftest.$ac_ext <<_ACEOF
24287 /* end confdefs.h. */
24288
24289 class Foo { public: explicit Foo(int) {} };
24290 static void TakeFoo(const Foo& foo) { }
24291
24292 int
24293 main ()
24294 {
24295
24296 TakeFoo(17);
24297 return 0;
24298
24299 ;
24300 return 0;
24301 }
24302 _ACEOF
24303 rm -f conftest.$ac_objext
24304 if { (ac_try="$ac_compile"
24305 case "(($ac_try" in
24306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24307 *) ac_try_echo=$ac_try;;
24308 esac
24309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24310 (eval "$ac_compile") 2>conftest.er1
24311 ac_status=$?
24312 grep -v '^ *+' conftest.er1 >conftest.err
24313 rm -f conftest.er1
24314 cat conftest.err >&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } && {
24317 test -z "$ac_cxx_werror_flag" ||
24318 test ! -s conftest.err
24319 } && test -s conftest.$ac_objext; then
24320 wx_cv_explicit=no
24321 else
24322 echo "$as_me: failed program was:" >&5
24323 sed 's/^/| /' conftest.$ac_ext >&5
24324
24325 wx_cv_explicit=yes
24326
24327 fi
24328
24329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24330
24331 else
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24334
24335 wx_cv_explicit=no
24336
24337 fi
24338
24339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24340
24341 ac_ext=c
24342 ac_cpp='$CPP $CPPFLAGS'
24343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24346
24347
24348 fi
24349 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24350 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24351
24352 if test "$wx_cv_explicit" = "yes"; then
24353 cat >>confdefs.h <<\_ACEOF
24354 #define HAVE_EXPLICIT 1
24355 _ACEOF
24356
24357 fi
24358
24359
24360 if test "x$SUNCXX" = xyes; then
24361 CXXFLAGS="-features=tmplife $CXXFLAGS"
24362 fi
24363
24364 if test "x$SUNCC" = xyes; then
24365 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24366 fi
24367
24368 if test "x$SGICC" = "xyes"; then
24369 CFLAGS="-woff 3970 $CFLAGS"
24370 fi
24371 if test "x$SGICXX" = "xyes"; then
24372 CXXFLAGS="-woff 3970 $CXXFLAGS"
24373 fi
24374
24375 if test "x$HPCC" = "xyes"; then
24376 CFLAGS="+W 2011,2450 $CFLAGS"
24377 fi
24378 if test "x$HPCXX" = "xyes"; then
24379 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24380 fi
24381
24382 if test "x$COMPAQCXX" = "xyes"; then
24383 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24384 fi
24385
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24391
24392
24393 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24394 if test "$wxUSE_UNICODE" = "yes"; then
24395 std_string="std::wstring"
24396 char_type="wchar_t"
24397 else
24398 std_string="std::string"
24399 char_type="char"
24400 fi
24401
24402 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24403 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24404 if test "${wx_cv_class_stdstring+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24407
24408 cat >conftest.$ac_ext <<_ACEOF
24409 /* confdefs.h. */
24410 _ACEOF
24411 cat confdefs.h >>conftest.$ac_ext
24412 cat >>conftest.$ac_ext <<_ACEOF
24413 /* end confdefs.h. */
24414 #include <string>
24415 int
24416 main ()
24417 {
24418 $std_string foo;
24419 ;
24420 return 0;
24421 }
24422 _ACEOF
24423 rm -f conftest.$ac_objext
24424 if { (ac_try="$ac_compile"
24425 case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24428 esac
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_compile") 2>conftest.er1
24431 ac_status=$?
24432 grep -v '^ *+' conftest.er1 >conftest.err
24433 rm -f conftest.er1
24434 cat conftest.err >&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } && {
24437 test -z "$ac_cxx_werror_flag" ||
24438 test ! -s conftest.err
24439 } && test -s conftest.$ac_objext; then
24440 wx_cv_class_stdstring=yes
24441 else
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24444
24445 wx_cv_class_stdstring=no
24446
24447 fi
24448
24449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24450
24451
24452 fi
24453 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24454 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24455
24456 if test "$wx_cv_class_stdstring" = yes; then
24457 if test "$wxUSE_UNICODE" = "yes"; then
24458 cat >>confdefs.h <<\_ACEOF
24459 #define HAVE_STD_WSTRING 1
24460 _ACEOF
24461
24462 fi
24463 else
24464 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24465 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24466 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 else
24469
24470 cat >conftest.$ac_ext <<_ACEOF
24471 /* confdefs.h. */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476
24477 #ifdef HAVE_WCHAR_H
24478 # ifdef __CYGWIN__
24479 # include <stddef.h>
24480 # endif
24481 # include <wchar.h>
24482 #endif
24483 #ifdef HAVE_STDLIB_H
24484 # include <stdlib.h>
24485 #endif
24486 #include <stdio.h>
24487 #include <string>
24488
24489 int
24490 main ()
24491 {
24492 std::basic_string<$char_type> foo;
24493 const $char_type* dummy = foo.c_str();
24494 ;
24495 return 0;
24496 }
24497 _ACEOF
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24503 esac
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24506 ac_status=$?
24507 grep -v '^ *+' conftest.er1 >conftest.err
24508 rm -f conftest.er1
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_cxx_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 wx_cv_class_stdbasicstring=yes
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 wx_cv_class_stdbasicstring=no
24521
24522 fi
24523
24524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525
24526
24527 fi
24528 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24529 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24530
24531 if test "$wx_cv_class_stdbasicstring" != yes; then
24532 if test "$wxUSE_STL" = "yes"; then
24533 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24534 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24535 { (exit 1); exit 1; }; }
24536 elif test "$wxUSE_STD_STRING" = "yes"; then
24537 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24538 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24539 { (exit 1); exit 1; }; }
24540 else
24541 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24542 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24543 wxUSE_STD_STRING=no
24544 fi
24545 fi
24546 fi
24547 fi
24548
24549 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24550 { echo "$as_me:$LINENO: checking for std::istream" >&5
24551 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24552 if test "${ac_cv_type_std__istream+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 else
24555 cat >conftest.$ac_ext <<_ACEOF
24556 /* confdefs.h. */
24557 _ACEOF
24558 cat confdefs.h >>conftest.$ac_ext
24559 cat >>conftest.$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24561 #include <iostream>
24562
24563 typedef std::istream ac__type_new_;
24564 int
24565 main ()
24566 {
24567 if ((ac__type_new_ *) 0)
24568 return 0;
24569 if (sizeof (ac__type_new_))
24570 return 0;
24571 ;
24572 return 0;
24573 }
24574 _ACEOF
24575 rm -f conftest.$ac_objext
24576 if { (ac_try="$ac_compile"
24577 case "(($ac_try" in
24578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24579 *) ac_try_echo=$ac_try;;
24580 esac
24581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24582 (eval "$ac_compile") 2>conftest.er1
24583 ac_status=$?
24584 grep -v '^ *+' conftest.er1 >conftest.err
24585 rm -f conftest.er1
24586 cat conftest.err >&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } && {
24589 test -z "$ac_cxx_werror_flag" ||
24590 test ! -s conftest.err
24591 } && test -s conftest.$ac_objext; then
24592 ac_cv_type_std__istream=yes
24593 else
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.$ac_ext >&5
24596
24597 ac_cv_type_std__istream=no
24598 fi
24599
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 fi
24602 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24603 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24604 if test $ac_cv_type_std__istream = yes; then
24605
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE_STD__ISTREAM 1
24608 _ACEOF
24609
24610
24611 else
24612 wxUSE_STD_IOSTREAM=no
24613 fi
24614 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24615 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24616 if test "${ac_cv_type_std__ostream+set}" = set; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 else
24619 cat >conftest.$ac_ext <<_ACEOF
24620 /* confdefs.h. */
24621 _ACEOF
24622 cat confdefs.h >>conftest.$ac_ext
24623 cat >>conftest.$ac_ext <<_ACEOF
24624 /* end confdefs.h. */
24625 #include <iostream>
24626
24627 typedef std::ostream ac__type_new_;
24628 int
24629 main ()
24630 {
24631 if ((ac__type_new_ *) 0)
24632 return 0;
24633 if (sizeof (ac__type_new_))
24634 return 0;
24635 ;
24636 return 0;
24637 }
24638 _ACEOF
24639 rm -f conftest.$ac_objext
24640 if { (ac_try="$ac_compile"
24641 case "(($ac_try" in
24642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24643 *) ac_try_echo=$ac_try;;
24644 esac
24645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24646 (eval "$ac_compile") 2>conftest.er1
24647 ac_status=$?
24648 grep -v '^ *+' conftest.er1 >conftest.err
24649 rm -f conftest.er1
24650 cat conftest.err >&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); } && {
24653 test -z "$ac_cxx_werror_flag" ||
24654 test ! -s conftest.err
24655 } && test -s conftest.$ac_objext; then
24656 ac_cv_type_std__ostream=yes
24657 else
24658 echo "$as_me: failed program was:" >&5
24659 sed 's/^/| /' conftest.$ac_ext >&5
24660
24661 ac_cv_type_std__ostream=no
24662 fi
24663
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 fi
24666 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24667 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24668 if test $ac_cv_type_std__ostream = yes; then
24669
24670 cat >>confdefs.h <<_ACEOF
24671 #define HAVE_STD__OSTREAM 1
24672 _ACEOF
24673
24674
24675 else
24676 wxUSE_STD_IOSTREAM=no
24677 fi
24678
24679
24680 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24681 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24682 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24683 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24684 { (exit 1); exit 1; }; }
24685 else
24686 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24687 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24688 fi
24689 fi
24690 fi
24691
24692 if test "$wxUSE_STL" = "yes"; then
24693 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24694 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24695 if test "${wx_cv_lib_stl+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 else
24698 cat >conftest.$ac_ext <<_ACEOF
24699 /* confdefs.h. */
24700 _ACEOF
24701 cat confdefs.h >>conftest.$ac_ext
24702 cat >>conftest.$ac_ext <<_ACEOF
24703 /* end confdefs.h. */
24704 #include <string>
24705 #include <functional>
24706 #include <algorithm>
24707 #include <vector>
24708 #include <list>
24709 int
24710 main ()
24711 {
24712 std::vector<int> moo;
24713 std::list<int> foo;
24714 std::vector<int>::iterator it =
24715 std::find_if(moo.begin(), moo.end(),
24716 std::bind2nd(std::less<int>(), 3));
24717 ;
24718 return 0;
24719 }
24720 _ACEOF
24721 rm -f conftest.$ac_objext
24722 if { (ac_try="$ac_compile"
24723 case "(($ac_try" in
24724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24725 *) ac_try_echo=$ac_try;;
24726 esac
24727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24728 (eval "$ac_compile") 2>conftest.er1
24729 ac_status=$?
24730 grep -v '^ *+' conftest.er1 >conftest.err
24731 rm -f conftest.er1
24732 cat conftest.err >&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } && {
24735 test -z "$ac_cxx_werror_flag" ||
24736 test ! -s conftest.err
24737 } && test -s conftest.$ac_objext; then
24738 wx_cv_lib_stl=yes
24739 else
24740 echo "$as_me: failed program was:" >&5
24741 sed 's/^/| /' conftest.$ac_ext >&5
24742
24743 wx_cv_lib_stl=no
24744
24745 fi
24746
24747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24748
24749 fi
24750 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24751 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24752
24753 if test "$wx_cv_lib_stl" != yes; then
24754 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24755 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24756 { (exit 1); exit 1; }; }
24757 fi
24758
24759 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24760 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24761 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 cat >conftest.$ac_ext <<_ACEOF
24765 /* confdefs.h. */
24766 _ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #include <string>
24771 int
24772 main ()
24773 {
24774 std::string foo, bar;
24775 foo.compare(bar);
24776 foo.compare(1, 1, bar);
24777 foo.compare(1, 1, bar, 1, 1);
24778 foo.compare("");
24779 foo.compare(1, 1, "");
24780 foo.compare(1, 1, "", 2);
24781 ;
24782 return 0;
24783 }
24784 _ACEOF
24785 rm -f conftest.$ac_objext
24786 if { (ac_try="$ac_compile"
24787 case "(($ac_try" in
24788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24789 *) ac_try_echo=$ac_try;;
24790 esac
24791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24792 (eval "$ac_compile") 2>conftest.er1
24793 ac_status=$?
24794 grep -v '^ *+' conftest.er1 >conftest.err
24795 rm -f conftest.er1
24796 cat conftest.err >&5
24797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798 (exit $ac_status); } && {
24799 test -z "$ac_cxx_werror_flag" ||
24800 test ! -s conftest.err
24801 } && test -s conftest.$ac_objext; then
24802 wx_cv_func_stdstring_compare=yes
24803 else
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24806
24807 wx_cv_func_stdstring_compare=no
24808
24809 fi
24810
24811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812
24813 fi
24814 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24815 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24816
24817 if test "$wx_cv_func_stdstring_compare" = yes; then
24818 cat >>confdefs.h <<\_ACEOF
24819 #define HAVE_STD_STRING_COMPARE 1
24820 _ACEOF
24821
24822 fi
24823
24824 if test "$wx_cv_class_gnuhashmapset" = yes; then
24825 cat >>confdefs.h <<\_ACEOF
24826 #define HAVE_EXT_HASH_MAP 1
24827 _ACEOF
24828
24829 cat >>confdefs.h <<\_ACEOF
24830 #define HAVE_GNU_CXX_HASH_MAP 1
24831 _ACEOF
24832
24833 fi
24834
24835 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24836 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24837 if test "${ac_cv_header_unordered_map+set}" = set; then
24838 echo $ECHO_N "(cached) $ECHO_C" >&6
24839 else
24840 cat >conftest.$ac_ext <<_ACEOF
24841 /* confdefs.h. */
24842 _ACEOF
24843 cat confdefs.h >>conftest.$ac_ext
24844 cat >>conftest.$ac_ext <<_ACEOF
24845 /* end confdefs.h. */
24846
24847
24848
24849 #include <unordered_map>
24850 _ACEOF
24851 rm -f conftest.$ac_objext
24852 if { (ac_try="$ac_compile"
24853 case "(($ac_try" in
24854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24855 *) ac_try_echo=$ac_try;;
24856 esac
24857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24858 (eval "$ac_compile") 2>conftest.er1
24859 ac_status=$?
24860 grep -v '^ *+' conftest.er1 >conftest.err
24861 rm -f conftest.er1
24862 cat conftest.err >&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); } && {
24865 test -z "$ac_cxx_werror_flag" ||
24866 test ! -s conftest.err
24867 } && test -s conftest.$ac_objext; then
24868 ac_cv_header_unordered_map=yes
24869 else
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24872
24873 ac_cv_header_unordered_map=no
24874 fi
24875
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 fi
24878 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24879 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24880 if test $ac_cv_header_unordered_map = yes; then
24881 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24882 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24883 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24884 echo $ECHO_N "(cached) $ECHO_C" >&6
24885 else
24886 cat >conftest.$ac_ext <<_ACEOF
24887 /* confdefs.h. */
24888 _ACEOF
24889 cat confdefs.h >>conftest.$ac_ext
24890 cat >>conftest.$ac_ext <<_ACEOF
24891 /* end confdefs.h. */
24892 #include <unordered_map>
24893 #include <unordered_set>
24894 int
24895 main ()
24896 {
24897 std::unordered_map<double*, char*> test1;
24898 std::unordered_set<char*> test2;
24899 ;
24900 return 0;
24901 }
24902 _ACEOF
24903 rm -f conftest.$ac_objext
24904 if { (ac_try="$ac_compile"
24905 case "(($ac_try" in
24906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24907 *) ac_try_echo=$ac_try;;
24908 esac
24909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24910 (eval "$ac_compile") 2>conftest.er1
24911 ac_status=$?
24912 grep -v '^ *+' conftest.er1 >conftest.err
24913 rm -f conftest.er1
24914 cat conftest.err >&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); } && {
24917 test -z "$ac_cxx_werror_flag" ||
24918 test ! -s conftest.err
24919 } && test -s conftest.$ac_objext; then
24920 wx_cv_class_stdunorderedmapset=yes
24921 else
24922 echo "$as_me: failed program was:" >&5
24923 sed 's/^/| /' conftest.$ac_ext >&5
24924
24925 wx_cv_class_stdunorderedmapset=no
24926 fi
24927
24928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24929
24930
24931 fi
24932 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24933 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24934 fi
24935
24936
24937
24938 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24939 cat >>confdefs.h <<\_ACEOF
24940 #define HAVE_STD_UNORDERED_MAP 1
24941 _ACEOF
24942
24943 cat >>confdefs.h <<\_ACEOF
24944 #define HAVE_STD_UNORDERED_SET 1
24945 _ACEOF
24946
24947 else
24948 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24949 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24950 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24951 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 else
24953 cat >conftest.$ac_ext <<_ACEOF
24954 /* confdefs.h. */
24955 _ACEOF
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24959
24960
24961
24962 #include <tr1/unordered_map>
24963 _ACEOF
24964 rm -f conftest.$ac_objext
24965 if { (ac_try="$ac_compile"
24966 case "(($ac_try" in
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24968 *) ac_try_echo=$ac_try;;
24969 esac
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24971 (eval "$ac_compile") 2>conftest.er1
24972 ac_status=$?
24973 grep -v '^ *+' conftest.er1 >conftest.err
24974 rm -f conftest.er1
24975 cat conftest.err >&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } && {
24978 test -z "$ac_cxx_werror_flag" ||
24979 test ! -s conftest.err
24980 } && test -s conftest.$ac_objext; then
24981 ac_cv_header_tr1_unordered_map=yes
24982 else
24983 echo "$as_me: failed program was:" >&5
24984 sed 's/^/| /' conftest.$ac_ext >&5
24985
24986 ac_cv_header_tr1_unordered_map=no
24987 fi
24988
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 fi
24991 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24992 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24993 if test $ac_cv_header_tr1_unordered_map = yes; then
24994 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24995 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24996 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 else
24999 cat >conftest.$ac_ext <<_ACEOF
25000 /* confdefs.h. */
25001 _ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25005 #include <tr1/unordered_map>
25006 #include <tr1/unordered_set>
25007 int
25008 main ()
25009 {
25010 std::tr1::unordered_map<double*, char*> test1;
25011 std::tr1::unordered_set<char*> test2;
25012 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25013 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25014 #endif
25015 ;
25016 return 0;
25017 }
25018 _ACEOF
25019 rm -f conftest.$ac_objext
25020 if { (ac_try="$ac_compile"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25024 esac
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_compile") 2>conftest.er1
25027 ac_status=$?
25028 grep -v '^ *+' conftest.er1 >conftest.err
25029 rm -f conftest.er1
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_cxx_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest.$ac_objext; then
25036 wx_cv_class_tr1unorderedmapset=yes
25037 else
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25040
25041 wx_cv_class_tr1unorderedmapset=no
25042 fi
25043
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045
25046
25047 fi
25048 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25049 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25050 fi
25051
25052
25053
25054 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25055 cat >>confdefs.h <<\_ACEOF
25056 #define HAVE_TR1_UNORDERED_MAP 1
25057 _ACEOF
25058
25059 cat >>confdefs.h <<\_ACEOF
25060 #define HAVE_TR1_UNORDERED_SET 1
25061 _ACEOF
25062
25063 else
25064 { echo "$as_me:$LINENO: checking for hash_map" >&5
25065 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25066 if test "${ac_cv_header_hash_map+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069 cat >conftest.$ac_ext <<_ACEOF
25070 /* confdefs.h. */
25071 _ACEOF
25072 cat confdefs.h >>conftest.$ac_ext
25073 cat >>conftest.$ac_ext <<_ACEOF
25074 /* end confdefs.h. */
25075
25076
25077
25078 #include <hash_map>
25079 _ACEOF
25080 rm -f conftest.$ac_objext
25081 if { (ac_try="$ac_compile"
25082 case "(($ac_try" in
25083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25084 *) ac_try_echo=$ac_try;;
25085 esac
25086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25087 (eval "$ac_compile") 2>conftest.er1
25088 ac_status=$?
25089 grep -v '^ *+' conftest.er1 >conftest.err
25090 rm -f conftest.er1
25091 cat conftest.err >&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } && {
25094 test -z "$ac_cxx_werror_flag" ||
25095 test ! -s conftest.err
25096 } && test -s conftest.$ac_objext; then
25097 ac_cv_header_hash_map=yes
25098 else
25099 echo "$as_me: failed program was:" >&5
25100 sed 's/^/| /' conftest.$ac_ext >&5
25101
25102 ac_cv_header_hash_map=no
25103 fi
25104
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 fi
25107 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25108 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25109 if test $ac_cv_header_hash_map = yes; then
25110 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25111 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25112 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25113 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 else
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121 #include <hash_map>
25122 #include <hash_set>
25123 int
25124 main ()
25125 {
25126 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25127 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25128 ;
25129 return 0;
25130 }
25131 _ACEOF
25132 rm -f conftest.$ac_objext
25133 if { (ac_try="$ac_compile"
25134 case "(($ac_try" in
25135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25136 *) ac_try_echo=$ac_try;;
25137 esac
25138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25139 (eval "$ac_compile") 2>conftest.er1
25140 ac_status=$?
25141 grep -v '^ *+' conftest.er1 >conftest.err
25142 rm -f conftest.er1
25143 cat conftest.err >&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } && {
25146 test -z "$ac_cxx_werror_flag" ||
25147 test ! -s conftest.err
25148 } && test -s conftest.$ac_objext; then
25149 wx_cv_class_stdhashmapset=yes
25150 else
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.$ac_ext >&5
25153
25154 wx_cv_class_stdhashmapset=no
25155 fi
25156
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158
25159
25160 fi
25161 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25162 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25163 fi
25164
25165
25166
25167 if test "$wx_cv_class_stdhashmapset" = yes; then
25168 cat >>confdefs.h <<\_ACEOF
25169 #define HAVE_HASH_MAP 1
25170 _ACEOF
25171
25172 cat >>confdefs.h <<\_ACEOF
25173 #define HAVE_STD_HASH_MAP 1
25174 _ACEOF
25175
25176 fi
25177
25178 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25179 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25180 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25181 echo $ECHO_N "(cached) $ECHO_C" >&6
25182 else
25183 cat >conftest.$ac_ext <<_ACEOF
25184 /* confdefs.h. */
25185 _ACEOF
25186 cat confdefs.h >>conftest.$ac_ext
25187 cat >>conftest.$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189
25190
25191
25192 #include <ext/hash_map>
25193 _ACEOF
25194 rm -f conftest.$ac_objext
25195 if { (ac_try="$ac_compile"
25196 case "(($ac_try" in
25197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25198 *) ac_try_echo=$ac_try;;
25199 esac
25200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25201 (eval "$ac_compile") 2>conftest.er1
25202 ac_status=$?
25203 grep -v '^ *+' conftest.er1 >conftest.err
25204 rm -f conftest.er1
25205 cat conftest.err >&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); } && {
25208 test -z "$ac_cxx_werror_flag" ||
25209 test ! -s conftest.err
25210 } && test -s conftest.$ac_objext; then
25211 ac_cv_header_ext_hash_map=yes
25212 else
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.$ac_ext >&5
25215
25216 ac_cv_header_ext_hash_map=no
25217 fi
25218
25219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25220 fi
25221 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25222 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25223 if test $ac_cv_header_ext_hash_map = yes; then
25224 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25225 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25226 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25229 cat >conftest.$ac_ext <<_ACEOF
25230 /* confdefs.h. */
25231 _ACEOF
25232 cat confdefs.h >>conftest.$ac_ext
25233 cat >>conftest.$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25235 #include <ext/hash_map>
25236 #include <ext/hash_set>
25237 int
25238 main ()
25239 {
25240 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25241 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25242 ;
25243 return 0;
25244 }
25245 _ACEOF
25246 rm -f conftest.$ac_objext
25247 if { (ac_try="$ac_compile"
25248 case "(($ac_try" in
25249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25250 *) ac_try_echo=$ac_try;;
25251 esac
25252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25253 (eval "$ac_compile") 2>conftest.er1
25254 ac_status=$?
25255 grep -v '^ *+' conftest.er1 >conftest.err
25256 rm -f conftest.er1
25257 cat conftest.err >&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); } && {
25260 test -z "$ac_cxx_werror_flag" ||
25261 test ! -s conftest.err
25262 } && test -s conftest.$ac_objext; then
25263 wx_cv_class_gnuhashmapset=yes
25264 else
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25267
25268 wx_cv_class_gnuhashmapset=no
25269 fi
25270
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272
25273
25274 fi
25275 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25276 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25277 fi
25278
25279
25280
25281 fi
25282 fi
25283 fi
25284
25285
25286
25287 if test -n "$GCC"; then
25288 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25289 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25290 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 else
25293
25294 cat >conftest.$ac_ext <<_ACEOF
25295 /* confdefs.h. */
25296 _ACEOF
25297 cat confdefs.h >>conftest.$ac_ext
25298 cat >>conftest.$ac_ext <<_ACEOF
25299 /* end confdefs.h. */
25300
25301 int
25302 main ()
25303 {
25304
25305 unsigned int value=0;
25306 /* wxAtomicInc doesn't use return value here */
25307 __sync_fetch_and_add(&value, 2);
25308 __sync_sub_and_fetch(&value, 1);
25309 /* but wxAtomicDec does, so mimic that: */
25310 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25311
25312 ;
25313 return 0;
25314 }
25315 _ACEOF
25316 rm -f conftest.$ac_objext conftest$ac_exeext
25317 if { (ac_try="$ac_link"
25318 case "(($ac_try" in
25319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25320 *) ac_try_echo=$ac_try;;
25321 esac
25322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25323 (eval "$ac_link") 2>conftest.er1
25324 ac_status=$?
25325 grep -v '^ *+' conftest.er1 >conftest.err
25326 rm -f conftest.er1
25327 cat conftest.err >&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); } && {
25330 test -z "$ac_cxx_werror_flag" ||
25331 test ! -s conftest.err
25332 } && test -s conftest$ac_exeext &&
25333 $as_test_x conftest$ac_exeext; then
25334 wx_cv_cc_gcc_atomic_builtins=yes
25335 else
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25338
25339 wx_cv_cc_gcc_atomic_builtins=no
25340 fi
25341
25342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25343 conftest$ac_exeext conftest.$ac_ext
25344
25345 fi
25346
25347 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25348 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25349 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25350 cat >>confdefs.h <<\_ACEOF
25351 #define HAVE_GCC_ATOMIC_BUILTINS 1
25352 _ACEOF
25353
25354 fi
25355 fi
25356
25357
25358 ac_ext=c
25359 ac_cpp='$CPP $CPPFLAGS'
25360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363
25364
25365
25366 SEARCH_INCLUDE="\
25367 /usr/local/include \
25368 /usr/local/X11/include \
25369 /usr/local/include/X11 \
25370 /usr/local/X11R6/include \
25371 /usr/local/include/X11R6 \
25372 \
25373 /usr/Motif-2.1/include \
25374 /usr/Motif-1.2/include \
25375 /usr/include/Motif1.2 \
25376 \
25377 /usr/dt/include \
25378 /usr/openwin/include \
25379 \
25380 /usr/include/Xm \
25381 \
25382 /usr/X11R6/include \
25383 /usr/X11R6.4/include \
25384 \
25385 /usr/include/X11R6 \
25386 \
25387 /usr/X11/include \
25388 /usr/include/X11 \
25389 \
25390 /usr/XFree86/include/X11 \
25391 /usr/pkg/include \
25392 \
25393 /usr/local/X1R5/include \
25394 /usr/local/include/X11R5 \
25395 /usr/X11R5/include \
25396 /usr/include/X11R5 \
25397 \
25398 /usr/local/X11R4/include \
25399 /usr/local/include/X11R4 \
25400 /usr/X11R4/include \
25401 /usr/include/X11R4 \
25402 \
25403 /usr/openwin/share/include"
25404
25405 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25406 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25407
25408 case "${host}" in
25409 *-*-irix6* )
25410 if test "${wx_cv_std_libpath+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25412 else
25413
25414 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25415 for e in a so sl dylib dll.a; do
25416 libc="$d/libc.$e"
25417 if test -f $libc; then
25418 save_LIBS="$LIBS"
25419 LIBS="$libc"
25420 cat >conftest.$ac_ext <<_ACEOF
25421 int main() { return 0; }
25422 _ACEOF
25423 rm -f conftest.$ac_objext conftest$ac_exeext
25424 if { (ac_try="$ac_link"
25425 case "(($ac_try" in
25426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25427 *) ac_try_echo=$ac_try;;
25428 esac
25429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25430 (eval "$ac_link") 2>conftest.er1
25431 ac_status=$?
25432 grep -v '^ *+' conftest.er1 >conftest.err
25433 rm -f conftest.er1
25434 cat conftest.err >&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); } && {
25437 test -z "$ac_c_werror_flag" ||
25438 test ! -s conftest.err
25439 } && test -s conftest$ac_exeext &&
25440 $as_test_x conftest$ac_exeext; then
25441 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25442 else
25443 echo "$as_me: failed program was:" >&5
25444 sed 's/^/| /' conftest.$ac_ext >&5
25445
25446
25447 fi
25448
25449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25450 conftest$ac_exeext conftest.$ac_ext
25451 LIBS="$save_LIBS"
25452 if test "x$wx_cv_std_libpath" != "x"; then
25453 break 2
25454 fi
25455 fi
25456 done
25457 done
25458 if test "x$wx_cv_std_libpath" = "x"; then
25459 wx_cv_std_libpath="lib"
25460 fi
25461
25462
25463 fi
25464
25465 ;;
25466
25467 *-*-solaris2* )
25468 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25469 wx_cv_std_libpath="lib/64"
25470 else
25471 wx_cv_std_libpath="lib"
25472 fi
25473 ;;
25474
25475 *-*-linux* )
25476 if test "$ac_cv_sizeof_void_p" = 8 -a \
25477 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25478 wx_cv_std_libpath="lib64"
25479 else
25480 wx_cv_std_libpath="lib"
25481 fi
25482 ;;
25483
25484 *)
25485 wx_cv_std_libpath="lib";
25486 ;;
25487 esac
25488
25489 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25490 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25491
25492 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25493
25494 if test "$build" != "$host" -a "$GCC" = yes; then
25495 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25496 cross_root=`dirname $cross_root`
25497 cross_root=`dirname $cross_root`
25498
25499 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25500 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25501 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25502
25503 if test -z "$PKG_CONFIG_PATH"; then
25504 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25505 export PKG_CONFIG_PATH
25506 fi
25507
25508 if test -z "$x_includes" -o "$x_includes" = NONE; then
25509
25510 ac_find_includes=
25511 for ac_dir in $SEARCH_INCLUDE /usr/include;
25512 do
25513 if test -f "$ac_dir/X11/Intrinsic.h"; then
25514 ac_find_includes=$ac_dir
25515 break
25516 fi
25517 done
25518
25519 x_includes=$ac_find_includes
25520 fi
25521 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25522
25523 ac_find_libraries=
25524 for ac_dir in $SEARCH_LIB;
25525 do
25526 for ac_extension in a so sl dylib dll.a; do
25527 if test -f "$ac_dir/libXt.$ac_extension"; then
25528 ac_find_libraries=$ac_dir
25529 break 2
25530 fi
25531 done
25532 done
25533
25534 x_libraries=$ac_find_libraries
25535 fi
25536 fi
25537 fi
25538
25539
25540 cat >confcache <<\_ACEOF
25541 # This file is a shell script that caches the results of configure
25542 # tests run on this system so they can be shared between configure
25543 # scripts and configure runs, see configure's option --config-cache.
25544 # It is not useful on other systems. If it contains results you don't
25545 # want to keep, you may remove or edit it.
25546 #
25547 # config.status only pays attention to the cache file if you give it
25548 # the --recheck option to rerun configure.
25549 #
25550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25552 # following values.
25553
25554 _ACEOF
25555
25556 # The following way of writing the cache mishandles newlines in values,
25557 # but we know of no workaround that is simple, portable, and efficient.
25558 # So, we kill variables containing newlines.
25559 # Ultrix sh set writes to stderr and can't be redirected directly,
25560 # and sets the high bit in the cache file unless we assign to the vars.
25561 (
25562 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25563 eval ac_val=\$$ac_var
25564 case $ac_val in #(
25565 *${as_nl}*)
25566 case $ac_var in #(
25567 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25568 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25569 esac
25570 case $ac_var in #(
25571 _ | IFS | as_nl) ;; #(
25572 *) $as_unset $ac_var ;;
25573 esac ;;
25574 esac
25575 done
25576
25577 (set) 2>&1 |
25578 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25579 *${as_nl}ac_space=\ *)
25580 # `set' does not quote correctly, so add quotes (double-quote
25581 # substitution turns \\\\ into \\, and sed turns \\ into \).
25582 sed -n \
25583 "s/'/'\\\\''/g;
25584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25585 ;; #(
25586 *)
25587 # `set' quotes correctly as required by POSIX, so do not add quotes.
25588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25589 ;;
25590 esac |
25591 sort
25592 ) |
25593 sed '
25594 /^ac_cv_env_/b end
25595 t clear
25596 :clear
25597 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25598 t end
25599 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25600 :end' >>confcache
25601 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25602 if test -w "$cache_file"; then
25603 test "x$cache_file" != "x/dev/null" &&
25604 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25605 echo "$as_me: updating cache $cache_file" >&6;}
25606 cat confcache >$cache_file
25607 else
25608 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25609 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25610 fi
25611 fi
25612 rm -f confcache
25613
25614 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25615 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25616 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25617 if test "${wx_cv_lib_glibc21+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 else
25620
25621 cat >conftest.$ac_ext <<_ACEOF
25622 /* confdefs.h. */
25623 _ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627 #include <features.h>
25628 int
25629 main ()
25630 {
25631
25632 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25633 not glibc 2.1
25634 #endif
25635
25636 ;
25637 return 0;
25638 }
25639 _ACEOF
25640 rm -f conftest.$ac_objext
25641 if { (ac_try="$ac_compile"
25642 case "(($ac_try" in
25643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25644 *) ac_try_echo=$ac_try;;
25645 esac
25646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25647 (eval "$ac_compile") 2>conftest.er1
25648 ac_status=$?
25649 grep -v '^ *+' conftest.er1 >conftest.err
25650 rm -f conftest.er1
25651 cat conftest.err >&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); } && {
25654 test -z "$ac_c_werror_flag" ||
25655 test ! -s conftest.err
25656 } && test -s conftest.$ac_objext; then
25657
25658 wx_cv_lib_glibc21=yes
25659
25660 else
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25663
25664
25665 wx_cv_lib_glibc21=no
25666
25667
25668 fi
25669
25670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25671
25672 fi
25673 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25674 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25675 if test "$wx_cv_lib_glibc21" = "yes"; then
25676 cat >>confdefs.h <<\_ACEOF
25677 #define wxHAVE_GLIBC2 1
25678 _ACEOF
25679
25680 fi
25681 fi
25682
25683 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25684 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25685 cat >>confdefs.h <<\_ACEOF
25686 #define _GNU_SOURCE 1
25687 _ACEOF
25688
25689 fi
25690 fi
25691
25692 have_cos=0
25693 have_floor=0
25694
25695 for ac_func in cos
25696 do
25697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 else
25703 cat >conftest.$ac_ext <<_ACEOF
25704 /* confdefs.h. */
25705 _ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25711 #define $ac_func innocuous_$ac_func
25712
25713 /* System header to define __stub macros and hopefully few prototypes,
25714 which can conflict with char $ac_func (); below.
25715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25716 <limits.h> exists even on freestanding compilers. */
25717
25718 #ifdef __STDC__
25719 # include <limits.h>
25720 #else
25721 # include <assert.h>
25722 #endif
25723
25724 #undef $ac_func
25725
25726 /* Override any GCC internal prototype to avoid an error.
25727 Use char because int might match the return type of a GCC
25728 builtin and then its argument prototype would still apply. */
25729 #ifdef __cplusplus
25730 extern "C"
25731 #endif
25732 char $ac_func ();
25733 /* The GNU C library defines this for functions which it implements
25734 to always fail with ENOSYS. Some functions are actually named
25735 something starting with __ and the normal name is an alias. */
25736 #if defined __stub_$ac_func || defined __stub___$ac_func
25737 choke me
25738 #endif
25739
25740 int
25741 main ()
25742 {
25743 return $ac_func ();
25744 ;
25745 return 0;
25746 }
25747 _ACEOF
25748 rm -f conftest.$ac_objext conftest$ac_exeext
25749 if { (ac_try="$ac_link"
25750 case "(($ac_try" in
25751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25752 *) ac_try_echo=$ac_try;;
25753 esac
25754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25755 (eval "$ac_link") 2>conftest.er1
25756 ac_status=$?
25757 grep -v '^ *+' conftest.er1 >conftest.err
25758 rm -f conftest.er1
25759 cat conftest.err >&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } && {
25762 test -z "$ac_c_werror_flag" ||
25763 test ! -s conftest.err
25764 } && test -s conftest$ac_exeext &&
25765 $as_test_x conftest$ac_exeext; then
25766 eval "$as_ac_var=yes"
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25770
25771 eval "$as_ac_var=no"
25772 fi
25773
25774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25775 conftest$ac_exeext conftest.$ac_ext
25776 fi
25777 ac_res=`eval echo '${'$as_ac_var'}'`
25778 { echo "$as_me:$LINENO: result: $ac_res" >&5
25779 echo "${ECHO_T}$ac_res" >&6; }
25780 if test `eval echo '${'$as_ac_var'}'` = yes; then
25781 cat >>confdefs.h <<_ACEOF
25782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25783 _ACEOF
25784 have_cos=1
25785 fi
25786 done
25787
25788
25789 for ac_func in floor
25790 do
25791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 else
25797 cat >conftest.$ac_ext <<_ACEOF
25798 /* confdefs.h. */
25799 _ACEOF
25800 cat confdefs.h >>conftest.$ac_ext
25801 cat >>conftest.$ac_ext <<_ACEOF
25802 /* end confdefs.h. */
25803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25805 #define $ac_func innocuous_$ac_func
25806
25807 /* System header to define __stub macros and hopefully few prototypes,
25808 which can conflict with char $ac_func (); below.
25809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25810 <limits.h> exists even on freestanding compilers. */
25811
25812 #ifdef __STDC__
25813 # include <limits.h>
25814 #else
25815 # include <assert.h>
25816 #endif
25817
25818 #undef $ac_func
25819
25820 /* Override any GCC internal prototype to avoid an error.
25821 Use char because int might match the return type of a GCC
25822 builtin and then its argument prototype would still apply. */
25823 #ifdef __cplusplus
25824 extern "C"
25825 #endif
25826 char $ac_func ();
25827 /* The GNU C library defines this for functions which it implements
25828 to always fail with ENOSYS. Some functions are actually named
25829 something starting with __ and the normal name is an alias. */
25830 #if defined __stub_$ac_func || defined __stub___$ac_func
25831 choke me
25832 #endif
25833
25834 int
25835 main ()
25836 {
25837 return $ac_func ();
25838 ;
25839 return 0;
25840 }
25841 _ACEOF
25842 rm -f conftest.$ac_objext conftest$ac_exeext
25843 if { (ac_try="$ac_link"
25844 case "(($ac_try" in
25845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25846 *) ac_try_echo=$ac_try;;
25847 esac
25848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25849 (eval "$ac_link") 2>conftest.er1
25850 ac_status=$?
25851 grep -v '^ *+' conftest.er1 >conftest.err
25852 rm -f conftest.er1
25853 cat conftest.err >&5
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); } && {
25856 test -z "$ac_c_werror_flag" ||
25857 test ! -s conftest.err
25858 } && test -s conftest$ac_exeext &&
25859 $as_test_x conftest$ac_exeext; then
25860 eval "$as_ac_var=yes"
25861 else
25862 echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.$ac_ext >&5
25864
25865 eval "$as_ac_var=no"
25866 fi
25867
25868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25869 conftest$ac_exeext conftest.$ac_ext
25870 fi
25871 ac_res=`eval echo '${'$as_ac_var'}'`
25872 { echo "$as_me:$LINENO: result: $ac_res" >&5
25873 echo "${ECHO_T}$ac_res" >&6; }
25874 if test `eval echo '${'$as_ac_var'}'` = yes; then
25875 cat >>confdefs.h <<_ACEOF
25876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25877 _ACEOF
25878 have_floor=1
25879 fi
25880 done
25881
25882 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25883 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25884 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25885 { echo "$as_me:$LINENO: result: yes" >&5
25886 echo "${ECHO_T}yes" >&6; }
25887 else
25888 { echo "$as_me:$LINENO: result: no" >&5
25889 echo "${ECHO_T}no" >&6; }
25890 LIBS="$LIBS -lm"
25891 # use different functions to avoid configure caching
25892 have_sin=0
25893 have_ceil=0
25894
25895 for ac_func in sin
25896 do
25897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25911 #define $ac_func innocuous_$ac_func
25912
25913 /* System header to define __stub macros and hopefully few prototypes,
25914 which can conflict with char $ac_func (); below.
25915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25916 <limits.h> exists even on freestanding compilers. */
25917
25918 #ifdef __STDC__
25919 # include <limits.h>
25920 #else
25921 # include <assert.h>
25922 #endif
25923
25924 #undef $ac_func
25925
25926 /* Override any GCC internal prototype to avoid an error.
25927 Use char because int might match the return type of a GCC
25928 builtin and then its argument prototype would still apply. */
25929 #ifdef __cplusplus
25930 extern "C"
25931 #endif
25932 char $ac_func ();
25933 /* The GNU C library defines this for functions which it implements
25934 to always fail with ENOSYS. Some functions are actually named
25935 something starting with __ and the normal name is an alias. */
25936 #if defined __stub_$ac_func || defined __stub___$ac_func
25937 choke me
25938 #endif
25939
25940 int
25941 main ()
25942 {
25943 return $ac_func ();
25944 ;
25945 return 0;
25946 }
25947 _ACEOF
25948 rm -f conftest.$ac_objext conftest$ac_exeext
25949 if { (ac_try="$ac_link"
25950 case "(($ac_try" in
25951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25952 *) ac_try_echo=$ac_try;;
25953 esac
25954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25955 (eval "$ac_link") 2>conftest.er1
25956 ac_status=$?
25957 grep -v '^ *+' conftest.er1 >conftest.err
25958 rm -f conftest.er1
25959 cat conftest.err >&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } && {
25962 test -z "$ac_c_werror_flag" ||
25963 test ! -s conftest.err
25964 } && test -s conftest$ac_exeext &&
25965 $as_test_x conftest$ac_exeext; then
25966 eval "$as_ac_var=yes"
25967 else
25968 echo "$as_me: failed program was:" >&5
25969 sed 's/^/| /' conftest.$ac_ext >&5
25970
25971 eval "$as_ac_var=no"
25972 fi
25973
25974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25975 conftest$ac_exeext conftest.$ac_ext
25976 fi
25977 ac_res=`eval echo '${'$as_ac_var'}'`
25978 { echo "$as_me:$LINENO: result: $ac_res" >&5
25979 echo "${ECHO_T}$ac_res" >&6; }
25980 if test `eval echo '${'$as_ac_var'}'` = yes; then
25981 cat >>confdefs.h <<_ACEOF
25982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25983 _ACEOF
25984 have_sin=1
25985 fi
25986 done
25987
25988
25989 for ac_func in ceil
25990 do
25991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25994 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 else
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h. */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26005 #define $ac_func innocuous_$ac_func
26006
26007 /* System header to define __stub macros and hopefully few prototypes,
26008 which can conflict with char $ac_func (); below.
26009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26010 <limits.h> exists even on freestanding compilers. */
26011
26012 #ifdef __STDC__
26013 # include <limits.h>
26014 #else
26015 # include <assert.h>
26016 #endif
26017
26018 #undef $ac_func
26019
26020 /* Override any GCC internal prototype to avoid an error.
26021 Use char because int might match the return type of a GCC
26022 builtin and then its argument prototype would still apply. */
26023 #ifdef __cplusplus
26024 extern "C"
26025 #endif
26026 char $ac_func ();
26027 /* The GNU C library defines this for functions which it implements
26028 to always fail with ENOSYS. Some functions are actually named
26029 something starting with __ and the normal name is an alias. */
26030 #if defined __stub_$ac_func || defined __stub___$ac_func
26031 choke me
26032 #endif
26033
26034 int
26035 main ()
26036 {
26037 return $ac_func ();
26038 ;
26039 return 0;
26040 }
26041 _ACEOF
26042 rm -f conftest.$ac_objext conftest$ac_exeext
26043 if { (ac_try="$ac_link"
26044 case "(($ac_try" in
26045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26047 esac
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_link") 2>conftest.er1
26050 ac_status=$?
26051 grep -v '^ *+' conftest.er1 >conftest.err
26052 rm -f conftest.er1
26053 cat conftest.err >&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } && {
26056 test -z "$ac_c_werror_flag" ||
26057 test ! -s conftest.err
26058 } && test -s conftest$ac_exeext &&
26059 $as_test_x conftest$ac_exeext; then
26060 eval "$as_ac_var=yes"
26061 else
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 eval "$as_ac_var=no"
26066 fi
26067
26068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26069 conftest$ac_exeext conftest.$ac_ext
26070 fi
26071 ac_res=`eval echo '${'$as_ac_var'}'`
26072 { echo "$as_me:$LINENO: result: $ac_res" >&5
26073 echo "${ECHO_T}$ac_res" >&6; }
26074 if test `eval echo '${'$as_ac_var'}'` = yes; then
26075 cat >>confdefs.h <<_ACEOF
26076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26077 _ACEOF
26078 have_ceil=1
26079 fi
26080 done
26081
26082 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26083 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26084 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26085 { echo "$as_me:$LINENO: result: yes" >&5
26086 echo "${ECHO_T}yes" >&6; }
26087 else
26088 { echo "$as_me:$LINENO: result: no" >&5
26089 echo "${ECHO_T}no" >&6; }
26090 # not sure we should warn the user, crash, etc.
26091 fi
26092 fi
26093
26094 ac_ext=cpp
26095 ac_cpp='$CXXCPP $CPPFLAGS'
26096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26099
26100 if test "wxUSE_UNICODE" = "yes"; then
26101
26102 for wx_func in wcstoull
26103 do
26104 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26105 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26106 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26109
26110 cat >conftest.$ac_ext <<_ACEOF
26111
26112 /* confdefs.h. */
26113 _ACEOF
26114 cat confdefs.h >>conftest.$ac_ext
26115 cat >>conftest.$ac_ext <<_ACEOF
26116 /* end confdefs.h. */
26117
26118
26119 $ac_includes_default
26120
26121 int
26122 main ()
26123 {
26124
26125 #ifndef $wx_func
26126 &$wx_func;
26127 #endif
26128
26129
26130 ;
26131 return 0;
26132 }
26133
26134 _ACEOF
26135 rm -f conftest.$ac_objext conftest$ac_exeext
26136 if { (ac_try="$ac_link"
26137 case "(($ac_try" in
26138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26139 *) ac_try_echo=$ac_try;;
26140 esac
26141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26142 (eval "$ac_link") 2>conftest.er1
26143 ac_status=$?
26144 grep -v '^ *+' conftest.er1 >conftest.err
26145 rm -f conftest.er1
26146 cat conftest.err >&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } && {
26149 test -z "$ac_cxx_werror_flag" ||
26150 test ! -s conftest.err
26151 } && test -s conftest$ac_exeext &&
26152 $as_test_x conftest$ac_exeext; then
26153 eval wx_cv_func_$wx_func=yes
26154 else
26155 echo "$as_me: failed program was:" >&5
26156 sed 's/^/| /' conftest.$ac_ext >&5
26157
26158 eval wx_cv_func_$wx_func=no
26159 fi
26160
26161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26162 conftest$ac_exeext conftest.$ac_ext
26163
26164 fi
26165 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26166 { echo "$as_me:$LINENO: result: $ac_res" >&5
26167 echo "${ECHO_T}$ac_res" >&6; }
26168
26169 if eval test \$wx_cv_func_$wx_func = yes
26170 then
26171 cat >>confdefs.h <<_ACEOF
26172 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26173 _ACEOF
26174
26175
26176 else
26177 :
26178
26179 fi
26180 done
26181
26182 else
26183
26184 for wx_func in strtoull
26185 do
26186 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26187 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26188 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26189 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 else
26191
26192 cat >conftest.$ac_ext <<_ACEOF
26193
26194 /* confdefs.h. */
26195 _ACEOF
26196 cat confdefs.h >>conftest.$ac_ext
26197 cat >>conftest.$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199
26200
26201 $ac_includes_default
26202
26203 int
26204 main ()
26205 {
26206
26207 #ifndef $wx_func
26208 &$wx_func;
26209 #endif
26210
26211
26212 ;
26213 return 0;
26214 }
26215
26216 _ACEOF
26217 rm -f conftest.$ac_objext conftest$ac_exeext
26218 if { (ac_try="$ac_link"
26219 case "(($ac_try" in
26220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26221 *) ac_try_echo=$ac_try;;
26222 esac
26223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26224 (eval "$ac_link") 2>conftest.er1
26225 ac_status=$?
26226 grep -v '^ *+' conftest.er1 >conftest.err
26227 rm -f conftest.er1
26228 cat conftest.err >&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } && {
26231 test -z "$ac_cxx_werror_flag" ||
26232 test ! -s conftest.err
26233 } && test -s conftest$ac_exeext &&
26234 $as_test_x conftest$ac_exeext; then
26235 eval wx_cv_func_$wx_func=yes
26236 else
26237 echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.$ac_ext >&5
26239
26240 eval wx_cv_func_$wx_func=no
26241 fi
26242
26243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26244 conftest$ac_exeext conftest.$ac_ext
26245
26246 fi
26247 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26248 { echo "$as_me:$LINENO: result: $ac_res" >&5
26249 echo "${ECHO_T}$ac_res" >&6; }
26250
26251 if eval test \$wx_cv_func_$wx_func = yes
26252 then
26253 cat >>confdefs.h <<_ACEOF
26254 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26255 _ACEOF
26256
26257
26258 else
26259 :
26260
26261 fi
26262 done
26263
26264 fi
26265 ac_ext=c
26266 ac_cpp='$CPP $CPPFLAGS'
26267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26270
26271
26272
26273
26274 if test "$wxUSE_REGEX" != "no"; then
26275 cat >>confdefs.h <<\_ACEOF
26276 #define wxUSE_REGEX 1
26277 _ACEOF
26278
26279
26280 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26281 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26282 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26283 wxUSE_REGEX=builtin
26284 fi
26285
26286 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26287 { echo "$as_me:$LINENO: checking for regex.h" >&5
26288 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26289 if test "${ac_cv_header_regex_h+set}" = set; then
26290 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 else
26292 cat >conftest.$ac_ext <<_ACEOF
26293 /* confdefs.h. */
26294 _ACEOF
26295 cat confdefs.h >>conftest.$ac_ext
26296 cat >>conftest.$ac_ext <<_ACEOF
26297 /* end confdefs.h. */
26298
26299
26300 #include <regex.h>
26301 _ACEOF
26302 rm -f conftest.$ac_objext
26303 if { (ac_try="$ac_compile"
26304 case "(($ac_try" in
26305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26306 *) ac_try_echo=$ac_try;;
26307 esac
26308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26309 (eval "$ac_compile") 2>conftest.er1
26310 ac_status=$?
26311 grep -v '^ *+' conftest.er1 >conftest.err
26312 rm -f conftest.er1
26313 cat conftest.err >&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } && {
26316 test -z "$ac_c_werror_flag" ||
26317 test ! -s conftest.err
26318 } && test -s conftest.$ac_objext; then
26319 ac_cv_header_regex_h=yes
26320 else
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26323
26324 ac_cv_header_regex_h=no
26325 fi
26326
26327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26328 fi
26329 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26330 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26331 if test $ac_cv_header_regex_h = yes; then
26332
26333
26334 for ac_func in regcomp re_search
26335 do
26336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26337 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 else
26342 cat >conftest.$ac_ext <<_ACEOF
26343 /* confdefs.h. */
26344 _ACEOF
26345 cat confdefs.h >>conftest.$ac_ext
26346 cat >>conftest.$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26350 #define $ac_func innocuous_$ac_func
26351
26352 /* System header to define __stub macros and hopefully few prototypes,
26353 which can conflict with char $ac_func (); below.
26354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26355 <limits.h> exists even on freestanding compilers. */
26356
26357 #ifdef __STDC__
26358 # include <limits.h>
26359 #else
26360 # include <assert.h>
26361 #endif
26362
26363 #undef $ac_func
26364
26365 /* Override any GCC internal prototype to avoid an error.
26366 Use char because int might match the return type of a GCC
26367 builtin and then its argument prototype would still apply. */
26368 #ifdef __cplusplus
26369 extern "C"
26370 #endif
26371 char $ac_func ();
26372 /* The GNU C library defines this for functions which it implements
26373 to always fail with ENOSYS. Some functions are actually named
26374 something starting with __ and the normal name is an alias. */
26375 #if defined __stub_$ac_func || defined __stub___$ac_func
26376 choke me
26377 #endif
26378
26379 int
26380 main ()
26381 {
26382 return $ac_func ();
26383 ;
26384 return 0;
26385 }
26386 _ACEOF
26387 rm -f conftest.$ac_objext conftest$ac_exeext
26388 if { (ac_try="$ac_link"
26389 case "(($ac_try" in
26390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26391 *) ac_try_echo=$ac_try;;
26392 esac
26393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26394 (eval "$ac_link") 2>conftest.er1
26395 ac_status=$?
26396 grep -v '^ *+' conftest.er1 >conftest.err
26397 rm -f conftest.er1
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } && {
26401 test -z "$ac_c_werror_flag" ||
26402 test ! -s conftest.err
26403 } && test -s conftest$ac_exeext &&
26404 $as_test_x conftest$ac_exeext; then
26405 eval "$as_ac_var=yes"
26406 else
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26409
26410 eval "$as_ac_var=no"
26411 fi
26412
26413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26414 conftest$ac_exeext conftest.$ac_ext
26415 fi
26416 ac_res=`eval echo '${'$as_ac_var'}'`
26417 { echo "$as_me:$LINENO: result: $ac_res" >&5
26418 echo "${ECHO_T}$ac_res" >&6; }
26419 if test `eval echo '${'$as_ac_var'}'` = yes; then
26420 cat >>confdefs.h <<_ACEOF
26421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26422 _ACEOF
26423
26424 fi
26425 done
26426
26427 fi
26428
26429
26430
26431 if test "x$ac_cv_func_regcomp" != "xyes"; then
26432 if test "$wxUSE_REGEX" = "sys" ; then
26433 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26434 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26435 { (exit 1); exit 1; }; }
26436 else
26437 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26438 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26439 wxUSE_REGEX=builtin
26440 fi
26441 else
26442 wxUSE_REGEX=sys
26443 cat >>confdefs.h <<\_ACEOF
26444 #define WX_NO_REGEX_ADVANCED 1
26445 _ACEOF
26446
26447 fi
26448 fi
26449 fi
26450
26451
26452 ZLIB_LINK=
26453 if test "$wxUSE_ZLIB" != "no" ; then
26454 cat >>confdefs.h <<\_ACEOF
26455 #define wxUSE_ZLIB 1
26456 _ACEOF
26457
26458
26459 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26460 if test "$USE_DARWIN" = 1; then
26461 system_zlib_h_ok="yes"
26462 else
26463 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26464 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26465 if test "${ac_cv_header_zlib_h+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26467 else
26468 if test "$cross_compiling" = yes; then
26469 unset ac_cv_header_zlib_h
26470
26471 else
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h. */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26478
26479 #include <zlib.h>
26480 #include <stdio.h>
26481
26482 int main()
26483 {
26484 FILE *f=fopen("conftestval", "w");
26485 if (!f) exit(1);
26486 fprintf(f, "%s",
26487 ZLIB_VERSION[0] == '1' &&
26488 (ZLIB_VERSION[2] > '1' ||
26489 (ZLIB_VERSION[2] == '1' &&
26490 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26491 exit(0);
26492 }
26493
26494 _ACEOF
26495 rm -f conftest$ac_exeext
26496 if { (ac_try="$ac_link"
26497 case "(($ac_try" in
26498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26500 esac
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_link") 2>&5
26503 ac_status=$?
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26506 { (case "(($ac_try" in
26507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26508 *) ac_try_echo=$ac_try;;
26509 esac
26510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26511 (eval "$ac_try") 2>&5
26512 ac_status=$?
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; }; then
26515 ac_cv_header_zlib_h=`cat conftestval`
26516 else
26517 echo "$as_me: program exited with status $ac_status" >&5
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26520
26521 ( exit $ac_status )
26522 ac_cv_header_zlib_h=no
26523 fi
26524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26525 fi
26526
26527
26528
26529 fi
26530 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26532 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26533 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26534 if test "${ac_cv_header_zlib_h+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26536 else
26537 cat >conftest.$ac_ext <<_ACEOF
26538 /* confdefs.h. */
26539 _ACEOF
26540 cat confdefs.h >>conftest.$ac_ext
26541 cat >>conftest.$ac_ext <<_ACEOF
26542 /* end confdefs.h. */
26543
26544
26545 #include <zlib.h>
26546 _ACEOF
26547 rm -f conftest.$ac_objext
26548 if { (ac_try="$ac_compile"
26549 case "(($ac_try" in
26550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26551 *) ac_try_echo=$ac_try;;
26552 esac
26553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26554 (eval "$ac_compile") 2>conftest.er1
26555 ac_status=$?
26556 grep -v '^ *+' conftest.er1 >conftest.err
26557 rm -f conftest.er1
26558 cat conftest.err >&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); } && {
26561 test -z "$ac_c_werror_flag" ||
26562 test ! -s conftest.err
26563 } && test -s conftest.$ac_objext; then
26564 ac_cv_header_zlib_h=yes
26565 else
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.$ac_ext >&5
26568
26569 ac_cv_header_zlib_h=no
26570 fi
26571
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26573 fi
26574 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26575 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26576
26577
26578
26579 system_zlib_h_ok=$ac_cv_header_zlib_h
26580 fi
26581
26582 if test "$system_zlib_h_ok" = "yes"; then
26583 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26584 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26585 if test "${ac_cv_lib_z_deflate+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26587 else
26588 ac_check_lib_save_LIBS=$LIBS
26589 LIBS="-lz $LIBS"
26590 cat >conftest.$ac_ext <<_ACEOF
26591 /* confdefs.h. */
26592 _ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596
26597 /* Override any GCC internal prototype to avoid an error.
26598 Use char because int might match the return type of a GCC
26599 builtin and then its argument prototype would still apply. */
26600 #ifdef __cplusplus
26601 extern "C"
26602 #endif
26603 char deflate ();
26604 int
26605 main ()
26606 {
26607 return deflate ();
26608 ;
26609 return 0;
26610 }
26611 _ACEOF
26612 rm -f conftest.$ac_objext conftest$ac_exeext
26613 if { (ac_try="$ac_link"
26614 case "(($ac_try" in
26615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26616 *) ac_try_echo=$ac_try;;
26617 esac
26618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26619 (eval "$ac_link") 2>conftest.er1
26620 ac_status=$?
26621 grep -v '^ *+' conftest.er1 >conftest.err
26622 rm -f conftest.er1
26623 cat conftest.err >&5
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); } && {
26626 test -z "$ac_c_werror_flag" ||
26627 test ! -s conftest.err
26628 } && test -s conftest$ac_exeext &&
26629 $as_test_x conftest$ac_exeext; then
26630 ac_cv_lib_z_deflate=yes
26631 else
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.$ac_ext >&5
26634
26635 ac_cv_lib_z_deflate=no
26636 fi
26637
26638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26639 conftest$ac_exeext conftest.$ac_ext
26640 LIBS=$ac_check_lib_save_LIBS
26641 fi
26642 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26643 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26644 if test $ac_cv_lib_z_deflate = yes; then
26645 ZLIB_LINK=" -lz"
26646 fi
26647
26648 fi
26649
26650 if test "x$ZLIB_LINK" = "x" ; then
26651 if test "$wxUSE_ZLIB" = "sys" ; then
26652 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26653 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26654 { (exit 1); exit 1; }; }
26655 else
26656 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26657 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26658 wxUSE_ZLIB=builtin
26659 fi
26660 else
26661 wxUSE_ZLIB=sys
26662 fi
26663 fi
26664 fi
26665
26666
26667 PNG_LINK=
26668 if test "$wxUSE_LIBPNG" != "no" ; then
26669 cat >>confdefs.h <<\_ACEOF
26670 #define wxUSE_LIBPNG 1
26671 _ACEOF
26672
26673
26674 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26675 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26676 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26677 wxUSE_LIBPNG=sys
26678 fi
26679
26680 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26681 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26682 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26683 wxUSE_LIBPNG=builtin
26684 fi
26685
26686 if test "$wxUSE_MGL" != 1 ; then
26687 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26688 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26689 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26690 if test "${ac_cv_header_png_h+set}" = set; then
26691 echo $ECHO_N "(cached) $ECHO_C" >&6
26692 else
26693 if test "$cross_compiling" = yes; then
26694 unset ac_cv_header_png_h
26695
26696 else
26697 cat >conftest.$ac_ext <<_ACEOF
26698 /* confdefs.h. */
26699 _ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703
26704 #include <png.h>
26705 #include <stdio.h>
26706
26707 int main()
26708 {
26709 FILE *f=fopen("conftestval", "w");
26710 if (!f) exit(1);
26711 fprintf(f, "%s",
26712 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26713 exit(0);
26714 }
26715
26716 _ACEOF
26717 rm -f conftest$ac_exeext
26718 if { (ac_try="$ac_link"
26719 case "(($ac_try" in
26720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26721 *) ac_try_echo=$ac_try;;
26722 esac
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724 (eval "$ac_link") 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26728 { (case "(($ac_try" in
26729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26730 *) ac_try_echo=$ac_try;;
26731 esac
26732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26733 (eval "$ac_try") 2>&5
26734 ac_status=$?
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); }; }; then
26737 ac_cv_header_png_h=`cat conftestval`
26738 else
26739 echo "$as_me: program exited with status $ac_status" >&5
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.$ac_ext >&5
26742
26743 ( exit $ac_status )
26744 ac_cv_header_png_h=no
26745 fi
26746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26747 fi
26748
26749
26750
26751 fi
26752 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26753 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26754 { echo "$as_me:$LINENO: checking for png.h" >&5
26755 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26756 if test "${ac_cv_header_png_h+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26758 else
26759 cat >conftest.$ac_ext <<_ACEOF
26760 /* confdefs.h. */
26761 _ACEOF
26762 cat confdefs.h >>conftest.$ac_ext
26763 cat >>conftest.$ac_ext <<_ACEOF
26764 /* end confdefs.h. */
26765
26766
26767 #include <png.h>
26768 _ACEOF
26769 rm -f conftest.$ac_objext
26770 if { (ac_try="$ac_compile"
26771 case "(($ac_try" in
26772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26773 *) ac_try_echo=$ac_try;;
26774 esac
26775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26776 (eval "$ac_compile") 2>conftest.er1
26777 ac_status=$?
26778 grep -v '^ *+' conftest.er1 >conftest.err
26779 rm -f conftest.er1
26780 cat conftest.err >&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } && {
26783 test -z "$ac_c_werror_flag" ||
26784 test ! -s conftest.err
26785 } && test -s conftest.$ac_objext; then
26786 ac_cv_header_png_h=yes
26787 else
26788 echo "$as_me: failed program was:" >&5
26789 sed 's/^/| /' conftest.$ac_ext >&5
26790
26791 ac_cv_header_png_h=no
26792 fi
26793
26794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26795 fi
26796 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26797 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26798
26799
26800
26801 if test "$ac_cv_header_png_h" = "yes"; then
26802 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26803 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26804 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 else
26807 ac_check_lib_save_LIBS=$LIBS
26808 LIBS="-lpng -lz -lm $LIBS"
26809 cat >conftest.$ac_ext <<_ACEOF
26810 /* confdefs.h. */
26811 _ACEOF
26812 cat confdefs.h >>conftest.$ac_ext
26813 cat >>conftest.$ac_ext <<_ACEOF
26814 /* end confdefs.h. */
26815
26816 /* Override any GCC internal prototype to avoid an error.
26817 Use char because int might match the return type of a GCC
26818 builtin and then its argument prototype would still apply. */
26819 #ifdef __cplusplus
26820 extern "C"
26821 #endif
26822 char png_check_sig ();
26823 int
26824 main ()
26825 {
26826 return png_check_sig ();
26827 ;
26828 return 0;
26829 }
26830 _ACEOF
26831 rm -f conftest.$ac_objext conftest$ac_exeext
26832 if { (ac_try="$ac_link"
26833 case "(($ac_try" in
26834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26835 *) ac_try_echo=$ac_try;;
26836 esac
26837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26838 (eval "$ac_link") 2>conftest.er1
26839 ac_status=$?
26840 grep -v '^ *+' conftest.er1 >conftest.err
26841 rm -f conftest.er1
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } && {
26845 test -z "$ac_c_werror_flag" ||
26846 test ! -s conftest.err
26847 } && test -s conftest$ac_exeext &&
26848 $as_test_x conftest$ac_exeext; then
26849 ac_cv_lib_png_png_check_sig=yes
26850 else
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.$ac_ext >&5
26853
26854 ac_cv_lib_png_png_check_sig=no
26855 fi
26856
26857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26858 conftest$ac_exeext conftest.$ac_ext
26859 LIBS=$ac_check_lib_save_LIBS
26860 fi
26861 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26862 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26863 if test $ac_cv_lib_png_png_check_sig = yes; then
26864 PNG_LINK=" -lpng -lz"
26865 fi
26866
26867 fi
26868
26869 if test "x$PNG_LINK" = "x" ; then
26870 if test "$wxUSE_LIBPNG" = "sys" ; then
26871 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26872 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26873 { (exit 1); exit 1; }; }
26874 else
26875 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26876 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26877 wxUSE_LIBPNG=builtin
26878 fi
26879 else
26880 wxUSE_LIBPNG=sys
26881 fi
26882 fi
26883 fi
26884 fi
26885
26886
26887 JPEG_LINK=
26888 if test "$wxUSE_LIBJPEG" != "no" ; then
26889 cat >>confdefs.h <<\_ACEOF
26890 #define wxUSE_LIBJPEG 1
26891 _ACEOF
26892
26893
26894 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26895 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26896 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26897 wxUSE_LIBJPEG=sys
26898 fi
26899
26900 if test "$wxUSE_MGL" != 1 ; then
26901 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26902 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26903 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26904 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26905 echo $ECHO_N "(cached) $ECHO_C" >&6
26906 else
26907 cat >conftest.$ac_ext <<_ACEOF
26908 /* confdefs.h. */
26909 _ACEOF
26910 cat confdefs.h >>conftest.$ac_ext
26911 cat >>conftest.$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26913
26914 #undef HAVE_STDLIB_H
26915 #include <stdio.h>
26916 #include <jpeglib.h>
26917
26918 int
26919 main ()
26920 {
26921
26922
26923 ;
26924 return 0;
26925 }
26926 _ACEOF
26927 rm -f conftest.$ac_objext
26928 if { (ac_try="$ac_compile"
26929 case "(($ac_try" in
26930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26931 *) ac_try_echo=$ac_try;;
26932 esac
26933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26934 (eval "$ac_compile") 2>conftest.er1
26935 ac_status=$?
26936 grep -v '^ *+' conftest.er1 >conftest.err
26937 rm -f conftest.er1
26938 cat conftest.err >&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } && {
26941 test -z "$ac_c_werror_flag" ||
26942 test ! -s conftest.err
26943 } && test -s conftest.$ac_objext; then
26944 ac_cv_header_jpeglib_h=yes
26945 else
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26948
26949 ac_cv_header_jpeglib_h=no
26950
26951 fi
26952
26953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26954
26955 fi
26956
26957 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26958 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26959
26960 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26961 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26962 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26963 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26964 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 else
26966 ac_check_lib_save_LIBS=$LIBS
26967 LIBS="-ljpeg $LIBS"
26968 cat >conftest.$ac_ext <<_ACEOF
26969 /* confdefs.h. */
26970 _ACEOF
26971 cat confdefs.h >>conftest.$ac_ext
26972 cat >>conftest.$ac_ext <<_ACEOF
26973 /* end confdefs.h. */
26974
26975 /* Override any GCC internal prototype to avoid an error.
26976 Use char because int might match the return type of a GCC
26977 builtin and then its argument prototype would still apply. */
26978 #ifdef __cplusplus
26979 extern "C"
26980 #endif
26981 char jpeg_read_header ();
26982 int
26983 main ()
26984 {
26985 return jpeg_read_header ();
26986 ;
26987 return 0;
26988 }
26989 _ACEOF
26990 rm -f conftest.$ac_objext conftest$ac_exeext
26991 if { (ac_try="$ac_link"
26992 case "(($ac_try" in
26993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26994 *) ac_try_echo=$ac_try;;
26995 esac
26996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26997 (eval "$ac_link") 2>conftest.er1
26998 ac_status=$?
26999 grep -v '^ *+' conftest.er1 >conftest.err
27000 rm -f conftest.er1
27001 cat conftest.err >&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); } && {
27004 test -z "$ac_c_werror_flag" ||
27005 test ! -s conftest.err
27006 } && test -s conftest$ac_exeext &&
27007 $as_test_x conftest$ac_exeext; then
27008 ac_cv_lib_jpeg_jpeg_read_header=yes
27009 else
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.$ac_ext >&5
27012
27013 ac_cv_lib_jpeg_jpeg_read_header=no
27014 fi
27015
27016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27017 conftest$ac_exeext conftest.$ac_ext
27018 LIBS=$ac_check_lib_save_LIBS
27019 fi
27020 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27021 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27022 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27023 JPEG_LINK=" -ljpeg"
27024 fi
27025
27026 fi
27027
27028 if test "x$JPEG_LINK" = "x" ; then
27029 if test "$wxUSE_LIBJPEG" = "sys" ; then
27030 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27031 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27032 { (exit 1); exit 1; }; }
27033 else
27034 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27035 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27036 wxUSE_LIBJPEG=builtin
27037 fi
27038 else
27039 wxUSE_LIBJPEG=sys
27040
27041 if test "$wxUSE_MSW" = 1; then
27042 { echo "$as_me:$LINENO: checking for boolean" >&5
27043 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27044 if test "${ac_cv_type_boolean+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 else
27047 cat >conftest.$ac_ext <<_ACEOF
27048 /* confdefs.h. */
27049 _ACEOF
27050 cat confdefs.h >>conftest.$ac_ext
27051 cat >>conftest.$ac_ext <<_ACEOF
27052 /* end confdefs.h. */
27053 #include <windows.h>
27054
27055 typedef boolean ac__type_new_;
27056 int
27057 main ()
27058 {
27059 if ((ac__type_new_ *) 0)
27060 return 0;
27061 if (sizeof (ac__type_new_))
27062 return 0;
27063 ;
27064 return 0;
27065 }
27066 _ACEOF
27067 rm -f conftest.$ac_objext
27068 if { (ac_try="$ac_compile"
27069 case "(($ac_try" in
27070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27071 *) ac_try_echo=$ac_try;;
27072 esac
27073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27074 (eval "$ac_compile") 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } && {
27081 test -z "$ac_c_werror_flag" ||
27082 test ! -s conftest.err
27083 } && test -s conftest.$ac_objext; then
27084 ac_cv_type_boolean=yes
27085 else
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27088
27089 ac_cv_type_boolean=no
27090 fi
27091
27092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27093 fi
27094 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27095 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27096 if test $ac_cv_type_boolean = yes; then
27097
27098 cat >>confdefs.h <<_ACEOF
27099 #define HAVE_BOOLEAN 1
27100 _ACEOF
27101
27102
27103 { echo "$as_me:$LINENO: checking for boolean" >&5
27104 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27105 if test "${ac_cv_type_boolean+set}" = set; then
27106 echo $ECHO_N "(cached) $ECHO_C" >&6
27107 else
27108 cat >conftest.$ac_ext <<_ACEOF
27109 /* confdefs.h. */
27110 _ACEOF
27111 cat confdefs.h >>conftest.$ac_ext
27112 cat >>conftest.$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27114
27115 #undef HAVE_BOOLEAN
27116 #include <stdio.h>
27117 #include <jpeglib.h>
27118
27119
27120 typedef boolean ac__type_new_;
27121 int
27122 main ()
27123 {
27124 if ((ac__type_new_ *) 0)
27125 return 0;
27126 if (sizeof (ac__type_new_))
27127 return 0;
27128 ;
27129 return 0;
27130 }
27131 _ACEOF
27132 rm -f conftest.$ac_objext
27133 if { (ac_try="$ac_compile"
27134 case "(($ac_try" in
27135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27136 *) ac_try_echo=$ac_try;;
27137 esac
27138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27139 (eval "$ac_compile") 2>conftest.er1
27140 ac_status=$?
27141 grep -v '^ *+' conftest.er1 >conftest.err
27142 rm -f conftest.er1
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } && {
27146 test -z "$ac_c_werror_flag" ||
27147 test ! -s conftest.err
27148 } && test -s conftest.$ac_objext; then
27149 ac_cv_type_boolean=yes
27150 else
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27153
27154 ac_cv_type_boolean=no
27155 fi
27156
27157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27158 fi
27159 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27160 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27161
27162 # The cast to long int works around a bug in the HP C Compiler
27163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27165 # This bug is HP SR number 8606223364.
27166 { echo "$as_me:$LINENO: checking size of boolean" >&5
27167 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27168 if test "${ac_cv_sizeof_boolean+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27171 if test "$cross_compiling" = yes; then
27172 # Depending upon the size, compute the lo and hi bounds.
27173 cat >conftest.$ac_ext <<_ACEOF
27174 /* confdefs.h. */
27175 _ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27179
27180 #undef HAVE_BOOLEAN
27181 #include <stdio.h>
27182 #include <jpeglib.h>
27183
27184
27185 typedef boolean ac__type_sizeof_;
27186 int
27187 main ()
27188 {
27189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27190 test_array [0] = 0
27191
27192 ;
27193 return 0;
27194 }
27195 _ACEOF
27196 rm -f conftest.$ac_objext
27197 if { (ac_try="$ac_compile"
27198 case "(($ac_try" in
27199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27200 *) ac_try_echo=$ac_try;;
27201 esac
27202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27203 (eval "$ac_compile") 2>conftest.er1
27204 ac_status=$?
27205 grep -v '^ *+' conftest.er1 >conftest.err
27206 rm -f conftest.er1
27207 cat conftest.err >&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } && {
27210 test -z "$ac_c_werror_flag" ||
27211 test ! -s conftest.err
27212 } && test -s conftest.$ac_objext; then
27213 ac_lo=0 ac_mid=0
27214 while :; do
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h. */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221
27222 #undef HAVE_BOOLEAN
27223 #include <stdio.h>
27224 #include <jpeglib.h>
27225
27226
27227 typedef boolean ac__type_sizeof_;
27228 int
27229 main ()
27230 {
27231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27232 test_array [0] = 0
27233
27234 ;
27235 return 0;
27236 }
27237 _ACEOF
27238 rm -f conftest.$ac_objext
27239 if { (ac_try="$ac_compile"
27240 case "(($ac_try" in
27241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27242 *) ac_try_echo=$ac_try;;
27243 esac
27244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27245 (eval "$ac_compile") 2>conftest.er1
27246 ac_status=$?
27247 grep -v '^ *+' conftest.er1 >conftest.err
27248 rm -f conftest.er1
27249 cat conftest.err >&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } && {
27252 test -z "$ac_c_werror_flag" ||
27253 test ! -s conftest.err
27254 } && test -s conftest.$ac_objext; then
27255 ac_hi=$ac_mid; break
27256 else
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.$ac_ext >&5
27259
27260 ac_lo=`expr $ac_mid + 1`
27261 if test $ac_lo -le $ac_mid; then
27262 ac_lo= ac_hi=
27263 break
27264 fi
27265 ac_mid=`expr 2 '*' $ac_mid + 1`
27266 fi
27267
27268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27269 done
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h. */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280
27281 #undef HAVE_BOOLEAN
27282 #include <stdio.h>
27283 #include <jpeglib.h>
27284
27285
27286 typedef boolean ac__type_sizeof_;
27287 int
27288 main ()
27289 {
27290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27291 test_array [0] = 0
27292
27293 ;
27294 return 0;
27295 }
27296 _ACEOF
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27302 esac
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 ac_hi=-1 ac_mid=-1
27315 while :; do
27316 cat >conftest.$ac_ext <<_ACEOF
27317 /* confdefs.h. */
27318 _ACEOF
27319 cat confdefs.h >>conftest.$ac_ext
27320 cat >>conftest.$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322
27323 #undef HAVE_BOOLEAN
27324 #include <stdio.h>
27325 #include <jpeglib.h>
27326
27327
27328 typedef boolean ac__type_sizeof_;
27329 int
27330 main ()
27331 {
27332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27333 test_array [0] = 0
27334
27335 ;
27336 return 0;
27337 }
27338 _ACEOF
27339 rm -f conftest.$ac_objext
27340 if { (ac_try="$ac_compile"
27341 case "(($ac_try" in
27342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27343 *) ac_try_echo=$ac_try;;
27344 esac
27345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27346 (eval "$ac_compile") 2>conftest.er1
27347 ac_status=$?
27348 grep -v '^ *+' conftest.er1 >conftest.err
27349 rm -f conftest.er1
27350 cat conftest.err >&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); } && {
27353 test -z "$ac_c_werror_flag" ||
27354 test ! -s conftest.err
27355 } && test -s conftest.$ac_objext; then
27356 ac_lo=$ac_mid; break
27357 else
27358 echo "$as_me: failed program was:" >&5
27359 sed 's/^/| /' conftest.$ac_ext >&5
27360
27361 ac_hi=`expr '(' $ac_mid ')' - 1`
27362 if test $ac_mid -le $ac_hi; then
27363 ac_lo= ac_hi=
27364 break
27365 fi
27366 ac_mid=`expr 2 '*' $ac_mid`
27367 fi
27368
27369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27370 done
27371 else
27372 echo "$as_me: failed program was:" >&5
27373 sed 's/^/| /' conftest.$ac_ext >&5
27374
27375 ac_lo= ac_hi=
27376 fi
27377
27378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27379 fi
27380
27381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27382 # Binary search between lo and hi bounds.
27383 while test "x$ac_lo" != "x$ac_hi"; do
27384 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h. */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391
27392 #undef HAVE_BOOLEAN
27393 #include <stdio.h>
27394 #include <jpeglib.h>
27395
27396
27397 typedef boolean ac__type_sizeof_;
27398 int
27399 main ()
27400 {
27401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27402 test_array [0] = 0
27403
27404 ;
27405 return 0;
27406 }
27407 _ACEOF
27408 rm -f conftest.$ac_objext
27409 if { (ac_try="$ac_compile"
27410 case "(($ac_try" in
27411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27412 *) ac_try_echo=$ac_try;;
27413 esac
27414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27415 (eval "$ac_compile") 2>conftest.er1
27416 ac_status=$?
27417 grep -v '^ *+' conftest.er1 >conftest.err
27418 rm -f conftest.er1
27419 cat conftest.err >&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); } && {
27422 test -z "$ac_c_werror_flag" ||
27423 test ! -s conftest.err
27424 } && test -s conftest.$ac_objext; then
27425 ac_hi=$ac_mid
27426 else
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27429
27430 ac_lo=`expr '(' $ac_mid ')' + 1`
27431 fi
27432
27433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27434 done
27435 case $ac_lo in
27436 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27437 '') if test "$ac_cv_type_boolean" = yes; then
27438 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27439 See \`config.log' for more details." >&5
27440 echo "$as_me: error: cannot compute sizeof (boolean)
27441 See \`config.log' for more details." >&2;}
27442 { (exit 77); exit 77; }; }
27443 else
27444 ac_cv_sizeof_boolean=0
27445 fi ;;
27446 esac
27447 else
27448 cat >conftest.$ac_ext <<_ACEOF
27449 /* confdefs.h. */
27450 _ACEOF
27451 cat confdefs.h >>conftest.$ac_ext
27452 cat >>conftest.$ac_ext <<_ACEOF
27453 /* end confdefs.h. */
27454
27455 #undef HAVE_BOOLEAN
27456 #include <stdio.h>
27457 #include <jpeglib.h>
27458
27459
27460 typedef boolean ac__type_sizeof_;
27461 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27462 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27463 #include <stdio.h>
27464 #include <stdlib.h>
27465 int
27466 main ()
27467 {
27468
27469 FILE *f = fopen ("conftest.val", "w");
27470 if (! f)
27471 return 1;
27472 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27473 {
27474 long int i = longval ();
27475 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27476 return 1;
27477 fprintf (f, "%ld\n", i);
27478 }
27479 else
27480 {
27481 unsigned long int i = ulongval ();
27482 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27483 return 1;
27484 fprintf (f, "%lu\n", i);
27485 }
27486 return ferror (f) || fclose (f) != 0;
27487
27488 ;
27489 return 0;
27490 }
27491 _ACEOF
27492 rm -f conftest$ac_exeext
27493 if { (ac_try="$ac_link"
27494 case "(($ac_try" in
27495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27496 *) ac_try_echo=$ac_try;;
27497 esac
27498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27499 (eval "$ac_link") 2>&5
27500 ac_status=$?
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27503 { (case "(($ac_try" in
27504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27505 *) ac_try_echo=$ac_try;;
27506 esac
27507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27508 (eval "$ac_try") 2>&5
27509 ac_status=$?
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); }; }; then
27512 ac_cv_sizeof_boolean=`cat conftest.val`
27513 else
27514 echo "$as_me: program exited with status $ac_status" >&5
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.$ac_ext >&5
27517
27518 ( exit $ac_status )
27519 if test "$ac_cv_type_boolean" = yes; then
27520 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27521 See \`config.log' for more details." >&5
27522 echo "$as_me: error: cannot compute sizeof (boolean)
27523 See \`config.log' for more details." >&2;}
27524 { (exit 77); exit 77; }; }
27525 else
27526 ac_cv_sizeof_boolean=0
27527 fi
27528 fi
27529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27530 fi
27531 rm -f conftest.val
27532 fi
27533 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27534 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27535
27536
27537
27538 cat >>confdefs.h <<_ACEOF
27539 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27540 _ACEOF
27541
27542
27543 cat >>confdefs.h <<_ACEOF
27544 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27545 _ACEOF
27546
27547
27548 fi
27549
27550 fi
27551 fi
27552 fi
27553 fi
27554 fi
27555
27556
27557 TIFF_LINK=
27558 TIFF_PREREQ_LINKS=-lm
27559 if test "$wxUSE_LIBTIFF" != "no" ; then
27560 cat >>confdefs.h <<\_ACEOF
27561 #define wxUSE_LIBTIFF 1
27562 _ACEOF
27563
27564
27565 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27566 if test "$wxUSE_LIBJPEG" = "sys"; then
27567 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27568 fi
27569 if test "$wxUSE_ZLIB" = "sys"; then
27570 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27571 fi
27572 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27573 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27574 if test "${ac_cv_header_tiffio_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
27586 #include <tiffio.h>
27587 _ACEOF
27588 rm -f conftest.$ac_objext
27589 if { (ac_try="$ac_compile"
27590 case "(($ac_try" in
27591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27592 *) ac_try_echo=$ac_try;;
27593 esac
27594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27595 (eval "$ac_compile") 2>conftest.er1
27596 ac_status=$?
27597 grep -v '^ *+' conftest.er1 >conftest.err
27598 rm -f conftest.er1
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } && {
27602 test -z "$ac_c_werror_flag" ||
27603 test ! -s conftest.err
27604 } && test -s conftest.$ac_objext; then
27605 ac_cv_header_tiffio_h=yes
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 ac_cv_header_tiffio_h=no
27611 fi
27612
27613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 fi
27615 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27616 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27617 if test $ac_cv_header_tiffio_h = yes; then
27618
27619 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27620 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27621 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27623 else
27624 ac_check_lib_save_LIBS=$LIBS
27625 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27626 cat >conftest.$ac_ext <<_ACEOF
27627 /* confdefs.h. */
27628 _ACEOF
27629 cat confdefs.h >>conftest.$ac_ext
27630 cat >>conftest.$ac_ext <<_ACEOF
27631 /* end confdefs.h. */
27632
27633 /* Override any GCC internal prototype to avoid an error.
27634 Use char because int might match the return type of a GCC
27635 builtin and then its argument prototype would still apply. */
27636 #ifdef __cplusplus
27637 extern "C"
27638 #endif
27639 char TIFFError ();
27640 int
27641 main ()
27642 {
27643 return TIFFError ();
27644 ;
27645 return 0;
27646 }
27647 _ACEOF
27648 rm -f conftest.$ac_objext conftest$ac_exeext
27649 if { (ac_try="$ac_link"
27650 case "(($ac_try" in
27651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27652 *) ac_try_echo=$ac_try;;
27653 esac
27654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27655 (eval "$ac_link") 2>conftest.er1
27656 ac_status=$?
27657 grep -v '^ *+' conftest.er1 >conftest.err
27658 rm -f conftest.er1
27659 cat conftest.err >&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); } && {
27662 test -z "$ac_c_werror_flag" ||
27663 test ! -s conftest.err
27664 } && test -s conftest$ac_exeext &&
27665 $as_test_x conftest$ac_exeext; then
27666 ac_cv_lib_tiff_TIFFError=yes
27667 else
27668 echo "$as_me: failed program was:" >&5
27669 sed 's/^/| /' conftest.$ac_ext >&5
27670
27671 ac_cv_lib_tiff_TIFFError=no
27672 fi
27673
27674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27675 conftest$ac_exeext conftest.$ac_ext
27676 LIBS=$ac_check_lib_save_LIBS
27677 fi
27678 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27679 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27680 if test $ac_cv_lib_tiff_TIFFError = yes; then
27681 TIFF_LINK=" -ltiff"
27682 fi
27683
27684
27685 fi
27686
27687
27688
27689 if test "x$TIFF_LINK" = "x" ; then
27690 if test "$wxUSE_LIBTIFF" = "sys" ; then
27691 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27692 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27693 { (exit 1); exit 1; }; }
27694 else
27695 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27696 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27697 wxUSE_LIBTIFF=builtin
27698 fi
27699 else
27700 wxUSE_LIBTIFF=sys
27701 fi
27702 fi
27703 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27704 if test "$wxUSE_LIBJPEG" = "no"; then
27705 ac_configure_args="$ac_configure_args --disable-jpeg"
27706 fi
27707 subdirs="$subdirs src/tiff"
27708
27709 fi
27710 fi
27711
27712
27713 if test "$wxUSE_WCHAR_T" != "yes"; then
27714 if test "$wxUSE_EXPAT" != "no"; then
27715 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27716 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27717 wxUSE_EXPAT=no
27718 fi
27719 if test "$wxUSE_XML" != "no"; then
27720 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27721 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27722 wxUSE_XML=no
27723 fi
27724 fi
27725
27726 if test "$wxUSE_EXPAT" != "no"; then
27727 wxUSE_XML=yes
27728 cat >>confdefs.h <<\_ACEOF
27729 #define wxUSE_EXPAT 1
27730 _ACEOF
27731
27732 cat >>confdefs.h <<\_ACEOF
27733 #define wxUSE_XML 1
27734 _ACEOF
27735
27736
27737 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27738 { echo "$as_me:$LINENO: checking for expat.h" >&5
27739 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27740 if test "${ac_cv_header_expat_h+set}" = set; then
27741 echo $ECHO_N "(cached) $ECHO_C" >&6
27742 else
27743 cat >conftest.$ac_ext <<_ACEOF
27744 /* confdefs.h. */
27745 _ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27749
27750
27751 #include <expat.h>
27752 _ACEOF
27753 rm -f conftest.$ac_objext
27754 if { (ac_try="$ac_compile"
27755 case "(($ac_try" in
27756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27757 *) ac_try_echo=$ac_try;;
27758 esac
27759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27760 (eval "$ac_compile") 2>conftest.er1
27761 ac_status=$?
27762 grep -v '^ *+' conftest.er1 >conftest.err
27763 rm -f conftest.er1
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } && {
27767 test -z "$ac_c_werror_flag" ||
27768 test ! -s conftest.err
27769 } && test -s conftest.$ac_objext; then
27770 ac_cv_header_expat_h=yes
27771 else
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.$ac_ext >&5
27774
27775 ac_cv_header_expat_h=no
27776 fi
27777
27778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27779 fi
27780 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27781 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27782 if test $ac_cv_header_expat_h = yes; then
27783 found_expat_h=1
27784 fi
27785
27786
27787 if test "x$found_expat_h" = "x1"; then
27788 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27789 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27790 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27791 echo $ECHO_N "(cached) $ECHO_C" >&6
27792 else
27793
27794 ac_ext=cpp
27795 ac_cpp='$CXXCPP $CPPFLAGS'
27796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27799
27800 cat >conftest.$ac_ext <<_ACEOF
27801 /* confdefs.h. */
27802 _ACEOF
27803 cat confdefs.h >>conftest.$ac_ext
27804 cat >>conftest.$ac_ext <<_ACEOF
27805 /* end confdefs.h. */
27806 #include <expat.h>
27807 int
27808 main ()
27809 {
27810
27811 ;
27812 return 0;
27813 }
27814 _ACEOF
27815 rm -f conftest.$ac_objext
27816 if { (ac_try="$ac_compile"
27817 case "(($ac_try" in
27818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27819 *) ac_try_echo=$ac_try;;
27820 esac
27821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27822 (eval "$ac_compile") 2>conftest.er1
27823 ac_status=$?
27824 grep -v '^ *+' conftest.er1 >conftest.err
27825 rm -f conftest.er1
27826 cat conftest.err >&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); } && {
27829 test -z "$ac_cxx_werror_flag" ||
27830 test ! -s conftest.err
27831 } && test -s conftest.$ac_objext; then
27832 wx_cv_expat_is_not_broken=yes
27833 else
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27836
27837 wx_cv_expat_is_not_broken=no
27838
27839 fi
27840
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 ac_ext=c
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27847
27848
27849
27850 fi
27851 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27852 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27853 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27854 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27855 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27856 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27857 echo $ECHO_N "(cached) $ECHO_C" >&6
27858 else
27859 ac_check_lib_save_LIBS=$LIBS
27860 LIBS="-lexpat $LIBS"
27861 cat >conftest.$ac_ext <<_ACEOF
27862 /* confdefs.h. */
27863 _ACEOF
27864 cat confdefs.h >>conftest.$ac_ext
27865 cat >>conftest.$ac_ext <<_ACEOF
27866 /* end confdefs.h. */
27867
27868 /* Override any GCC internal prototype to avoid an error.
27869 Use char because int might match the return type of a GCC
27870 builtin and then its argument prototype would still apply. */
27871 #ifdef __cplusplus
27872 extern "C"
27873 #endif
27874 char XML_ParserCreate ();
27875 int
27876 main ()
27877 {
27878 return XML_ParserCreate ();
27879 ;
27880 return 0;
27881 }
27882 _ACEOF
27883 rm -f conftest.$ac_objext conftest$ac_exeext
27884 if { (ac_try="$ac_link"
27885 case "(($ac_try" in
27886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27887 *) ac_try_echo=$ac_try;;
27888 esac
27889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27890 (eval "$ac_link") 2>conftest.er1
27891 ac_status=$?
27892 grep -v '^ *+' conftest.er1 >conftest.err
27893 rm -f conftest.er1
27894 cat conftest.err >&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } && {
27897 test -z "$ac_c_werror_flag" ||
27898 test ! -s conftest.err
27899 } && test -s conftest$ac_exeext &&
27900 $as_test_x conftest$ac_exeext; then
27901 ac_cv_lib_expat_XML_ParserCreate=yes
27902 else
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.$ac_ext >&5
27905
27906 ac_cv_lib_expat_XML_ParserCreate=no
27907 fi
27908
27909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27910 conftest$ac_exeext conftest.$ac_ext
27911 LIBS=$ac_check_lib_save_LIBS
27912 fi
27913 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27914 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27915 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27916 EXPAT_LINK=" -lexpat"
27917 fi
27918
27919 fi
27920 fi
27921 if test "x$EXPAT_LINK" = "x" ; then
27922 if test "$wxUSE_EXPAT" = "sys" ; then
27923 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27924 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27925 { (exit 1); exit 1; }; }
27926 else
27927 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27928 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27929 wxUSE_EXPAT=builtin
27930 fi
27931 else
27932 wxUSE_EXPAT=sys
27933 fi
27934 fi
27935 if test "$wxUSE_EXPAT" = "builtin" ; then
27936 subdirs="$subdirs src/expat"
27937
27938 fi
27939 fi
27940
27941
27942
27943 if test "$wxUSE_LIBMSPACK" != "no"; then
27944 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27945 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27946 if test "${ac_cv_header_mspack_h+set}" = set; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 else
27949 cat >conftest.$ac_ext <<_ACEOF
27950 /* confdefs.h. */
27951 _ACEOF
27952 cat confdefs.h >>conftest.$ac_ext
27953 cat >>conftest.$ac_ext <<_ACEOF
27954 /* end confdefs.h. */
27955
27956
27957 #include <mspack.h>
27958 _ACEOF
27959 rm -f conftest.$ac_objext
27960 if { (ac_try="$ac_compile"
27961 case "(($ac_try" in
27962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27963 *) ac_try_echo=$ac_try;;
27964 esac
27965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27966 (eval "$ac_compile") 2>conftest.er1
27967 ac_status=$?
27968 grep -v '^ *+' conftest.er1 >conftest.err
27969 rm -f conftest.er1
27970 cat conftest.err >&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); } && {
27973 test -z "$ac_c_werror_flag" ||
27974 test ! -s conftest.err
27975 } && test -s conftest.$ac_objext; then
27976 ac_cv_header_mspack_h=yes
27977 else
27978 echo "$as_me: failed program was:" >&5
27979 sed 's/^/| /' conftest.$ac_ext >&5
27980
27981 ac_cv_header_mspack_h=no
27982 fi
27983
27984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27985 fi
27986 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27987 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27988 if test $ac_cv_header_mspack_h = yes; then
27989 found_mspack_h=1
27990 fi
27991
27992
27993 if test "x$found_mspack_h" = "x1"; then
27994 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27995 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27996 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 else
27999 ac_check_lib_save_LIBS=$LIBS
28000 LIBS="-lmspack $LIBS"
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28007
28008 /* Override any GCC internal prototype to avoid an error.
28009 Use char because int might match the return type of a GCC
28010 builtin and then its argument prototype would still apply. */
28011 #ifdef __cplusplus
28012 extern "C"
28013 #endif
28014 char mspack_create_chm_decompressor ();
28015 int
28016 main ()
28017 {
28018 return mspack_create_chm_decompressor ();
28019 ;
28020 return 0;
28021 }
28022 _ACEOF
28023 rm -f conftest.$ac_objext conftest$ac_exeext
28024 if { (ac_try="$ac_link"
28025 case "(($ac_try" in
28026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28027 *) ac_try_echo=$ac_try;;
28028 esac
28029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28030 (eval "$ac_link") 2>conftest.er1
28031 ac_status=$?
28032 grep -v '^ *+' conftest.er1 >conftest.err
28033 rm -f conftest.er1
28034 cat conftest.err >&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); } && {
28037 test -z "$ac_c_werror_flag" ||
28038 test ! -s conftest.err
28039 } && test -s conftest$ac_exeext &&
28040 $as_test_x conftest$ac_exeext; then
28041 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28042 else
28043 echo "$as_me: failed program was:" >&5
28044 sed 's/^/| /' conftest.$ac_ext >&5
28045
28046 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28047 fi
28048
28049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28050 conftest$ac_exeext conftest.$ac_ext
28051 LIBS=$ac_check_lib_save_LIBS
28052 fi
28053 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28054 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28055 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28056 MSPACK_LINK=" -lmspack"
28057 fi
28058
28059 fi
28060 if test "x$MSPACK_LINK" = "x" ; then
28061 wxUSE_LIBMSPACK=no
28062 fi
28063 fi
28064
28065 if test "$wxUSE_LIBMSPACK" != "no"; then
28066 cat >>confdefs.h <<\_ACEOF
28067 #define wxUSE_LIBMSPACK 1
28068 _ACEOF
28069
28070 fi
28071
28072
28073
28074 AFMINSTALL=
28075 WIN32INSTALL=
28076
28077 TOOLKIT=
28078 TOOLKIT_INCLUDE=
28079 WIDGET_SET=
28080
28081 if test "$USE_WIN32" = 1 ; then
28082
28083 for ac_header in w32api.h
28084 do
28085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091 cat >conftest.$ac_ext <<_ACEOF
28092 /* confdefs.h. */
28093 _ACEOF
28094 cat confdefs.h >>conftest.$ac_ext
28095 cat >>conftest.$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28097
28098
28099 #include <$ac_header>
28100 _ACEOF
28101 rm -f conftest.$ac_objext
28102 if { (ac_try="$ac_compile"
28103 case "(($ac_try" in
28104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105 *) ac_try_echo=$ac_try;;
28106 esac
28107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108 (eval "$ac_compile") 2>conftest.er1
28109 ac_status=$?
28110 grep -v '^ *+' conftest.er1 >conftest.err
28111 rm -f conftest.er1
28112 cat conftest.err >&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } && {
28115 test -z "$ac_c_werror_flag" ||
28116 test ! -s conftest.err
28117 } && test -s conftest.$ac_objext; then
28118 eval "$as_ac_Header=yes"
28119 else
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.$ac_ext >&5
28122
28123 eval "$as_ac_Header=no"
28124 fi
28125
28126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28127 fi
28128 ac_res=`eval echo '${'$as_ac_Header'}'`
28129 { echo "$as_me:$LINENO: result: $ac_res" >&5
28130 echo "${ECHO_T}$ac_res" >&6; }
28131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28132 cat >>confdefs.h <<_ACEOF
28133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28134 _ACEOF
28135
28136 fi
28137
28138 done
28139
28140 { echo "$as_me:$LINENO: checking for windows.h" >&5
28141 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28142 if test "${ac_cv_header_windows_h+set}" = set; then
28143 echo $ECHO_N "(cached) $ECHO_C" >&6
28144 else
28145 cat >conftest.$ac_ext <<_ACEOF
28146 /* confdefs.h. */
28147 _ACEOF
28148 cat confdefs.h >>conftest.$ac_ext
28149 cat >>conftest.$ac_ext <<_ACEOF
28150 /* end confdefs.h. */
28151
28152
28153 #include <windows.h>
28154 _ACEOF
28155 rm -f conftest.$ac_objext
28156 if { (ac_try="$ac_compile"
28157 case "(($ac_try" in
28158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28159 *) ac_try_echo=$ac_try;;
28160 esac
28161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28162 (eval "$ac_compile") 2>conftest.er1
28163 ac_status=$?
28164 grep -v '^ *+' conftest.er1 >conftest.err
28165 rm -f conftest.er1
28166 cat conftest.err >&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); } && {
28169 test -z "$ac_c_werror_flag" ||
28170 test ! -s conftest.err
28171 } && test -s conftest.$ac_objext; then
28172 ac_cv_header_windows_h=yes
28173 else
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.$ac_ext >&5
28176
28177 ac_cv_header_windows_h=no
28178 fi
28179
28180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28181 fi
28182 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28183 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28184 if test $ac_cv_header_windows_h = yes; then
28185 :
28186 else
28187
28188 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28189 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28190 { (exit 1); exit 1; }; }
28191
28192 fi
28193
28194
28195
28196 case "${host}" in
28197 x86_64-*-mingw32* )
28198 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28199 ;;
28200 * )
28201 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28202 ;;
28203 esac
28204 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28205 LIBS="$LIBS -loleacc"
28206 fi
28207
28208 case "${host}" in
28209 *-*-cygwin* )
28210 LIBS="$LIBS -lkernel32 -luser32"
28211 esac
28212
28213 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28214 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28215
28216 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28217
28218 WIN32INSTALL=win32install
28219
28220 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28221 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28222 if test "${ac_cv_header_pbt_h+set}" = set; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28224 else
28225 cat >conftest.$ac_ext <<_ACEOF
28226 /* confdefs.h. */
28227 _ACEOF
28228 cat confdefs.h >>conftest.$ac_ext
28229 cat >>conftest.$ac_ext <<_ACEOF
28230 /* end confdefs.h. */
28231
28232
28233 #include <pbt.h>
28234 _ACEOF
28235 rm -f conftest.$ac_objext
28236 if { (ac_try="$ac_compile"
28237 case "(($ac_try" in
28238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28239 *) ac_try_echo=$ac_try;;
28240 esac
28241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28242 (eval "$ac_compile") 2>conftest.er1
28243 ac_status=$?
28244 grep -v '^ *+' conftest.er1 >conftest.err
28245 rm -f conftest.er1
28246 cat conftest.err >&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } && {
28249 test -z "$ac_c_werror_flag" ||
28250 test ! -s conftest.err
28251 } && test -s conftest.$ac_objext; then
28252 ac_cv_header_pbt_h=yes
28253 else
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.$ac_ext >&5
28256
28257 ac_cv_header_pbt_h=no
28258 fi
28259
28260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28261 fi
28262 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28263 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28264 if test $ac_cv_header_pbt_h = yes; then
28265 :
28266 else
28267 cat >>confdefs.h <<\_ACEOF
28268 #define NEED_PBT_H 1
28269 _ACEOF
28270
28271 fi
28272
28273
28274 fi
28275
28276 if test "$wxUSE_GUI" = "yes"; then
28277 USE_GUI=1
28278
28279 GUI_TK_LIBRARY=
28280
28281 WXGTK12=
28282 WXGTK127=
28283 WXGTK2=
28284 WXGPE=
28285
28286 if test "$wxUSE_COCOA" = 1 ; then
28287 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28288 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28289 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28290 wxUSE_PRINTING_ARCHITECTURE=no
28291 fi
28292 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28293 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28294 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28295 wxUSE_DRAG_AND_DROP=no
28296 fi
28297 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28298 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28299 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28300 wxUSE_DRAGIMAGE=no
28301 fi
28302 fi
28303
28304 if test "$wxUSE_MSW" = 1 ; then
28305 TOOLKIT=MSW
28306 GUIDIST=MSW_DIST
28307
28308 case "${host}" in
28309 *-*-mingw32* )
28310 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28311 esac
28312 fi
28313
28314 if test "$wxUSE_GTK" = 1; then
28315 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28316 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28317
28318 gtk_version_cached=1
28319 if test "${wx_cv_lib_gtk+set}" = set; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28321 else
28322
28323 gtk_version_cached=0
28324 { echo "$as_me:$LINENO: result: " >&5
28325 echo "${ECHO_T}" >&6; }
28326
28327 GTK_MODULES=
28328 if test "$wxUSE_THREADS" = "yes"; then
28329 GTK_MODULES=gthread
28330 fi
28331
28332 wx_cv_lib_gtk=
28333 if test "x$wxGTK_VERSION" != "x1"
28334 then
28335 case "${host}" in
28336 *-*-solaris2* )
28337 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28338 enable_gtktest=no
28339 fi
28340 esac
28341
28342 # Check whether --enable-gtktest was given.
28343 if test "${enable_gtktest+set}" = set; then
28344 enableval=$enable_gtktest;
28345 else
28346 enable_gtktest=yes
28347 fi
28348
28349
28350 pkg_config_args=gtk+-2.0
28351 for module in . $GTK_MODULES
28352 do
28353 case "$module" in
28354 gthread)
28355 pkg_config_args="$pkg_config_args gthread-2.0"
28356 ;;
28357 esac
28358 done
28359
28360 no_gtk=""
28361
28362 # Extract the first word of "pkg-config", so it can be a program name with args.
28363 set dummy pkg-config; ac_word=$2
28364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28366 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28367 echo $ECHO_N "(cached) $ECHO_C" >&6
28368 else
28369 case $PKG_CONFIG in
28370 [\\/]* | ?:[\\/]*)
28371 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28372 ;;
28373 *)
28374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28375 for as_dir in $PATH
28376 do
28377 IFS=$as_save_IFS
28378 test -z "$as_dir" && as_dir=.
28379 for ac_exec_ext in '' $ac_executable_extensions; do
28380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28381 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28383 break 2
28384 fi
28385 done
28386 done
28387 IFS=$as_save_IFS
28388
28389 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28390 ;;
28391 esac
28392 fi
28393 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28394 if test -n "$PKG_CONFIG"; then
28395 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28396 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28397 else
28398 { echo "$as_me:$LINENO: result: no" >&5
28399 echo "${ECHO_T}no" >&6; }
28400 fi
28401
28402
28403
28404 if test x$PKG_CONFIG != xno ; then
28405 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28406 :
28407 else
28408 echo "*** pkg-config too old; version 0.7 or better required."
28409 no_gtk=yes
28410 PKG_CONFIG=no
28411 fi
28412 else
28413 no_gtk=yes
28414 fi
28415
28416 min_gtk_version=2.4.0
28417 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28418 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28419
28420 if test x$PKG_CONFIG != xno ; then
28421 ## don't try to run the test against uninstalled libtool libs
28422 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28423 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28424 enable_gtktest=no
28425 fi
28426
28427 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28428 :
28429 else
28430 no_gtk=yes
28431 fi
28432 fi
28433
28434 if test x"$no_gtk" = x ; then
28435 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28436 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28437 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28439 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28441 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28443 if test "x$enable_gtktest" = "xyes" ; then
28444 ac_save_CFLAGS="$CFLAGS"
28445 ac_save_LIBS="$LIBS"
28446 CFLAGS="$CFLAGS $GTK_CFLAGS"
28447 LIBS="$GTK_LIBS $LIBS"
28448 rm -f conf.gtktest
28449 if test "$cross_compiling" = yes; then
28450 echo $ac_n "cross compiling; assumed OK... $ac_c"
28451 else
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458
28459 #include <gtk/gtk.h>
28460 #include <stdio.h>
28461 #include <stdlib.h>
28462
28463 int
28464 main ()
28465 {
28466 int major, minor, micro;
28467 char *tmp_version;
28468
28469 system ("touch conf.gtktest");
28470
28471 /* HP/UX 9 (%@#!) writes to sscanf strings */
28472 tmp_version = g_strdup("$min_gtk_version");
28473 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28474 printf("%s, bad version string\n", "$min_gtk_version");
28475 exit(1);
28476 }
28477
28478 if ((gtk_major_version != $gtk_config_major_version) ||
28479 (gtk_minor_version != $gtk_config_minor_version) ||
28480 (gtk_micro_version != $gtk_config_micro_version))
28481 {
28482 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28483 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28484 gtk_major_version, gtk_minor_version, gtk_micro_version);
28485 printf ("*** was found! If pkg-config was correct, then it is best\n");
28486 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28487 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28488 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28489 printf("*** required on your system.\n");
28490 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28491 printf("*** to point to the correct configuration files\n");
28492 }
28493 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28494 (gtk_minor_version != GTK_MINOR_VERSION) ||
28495 (gtk_micro_version != GTK_MICRO_VERSION))
28496 {
28497 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28498 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28499 printf("*** library (version %d.%d.%d)\n",
28500 gtk_major_version, gtk_minor_version, gtk_micro_version);
28501 }
28502 else
28503 {
28504 if ((gtk_major_version > major) ||
28505 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28506 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28507 {
28508 return 0;
28509 }
28510 else
28511 {
28512 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28513 gtk_major_version, gtk_minor_version, gtk_micro_version);
28514 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28515 major, minor, micro);
28516 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28517 printf("***\n");
28518 printf("*** If you have already installed a sufficiently new version, this error\n");
28519 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28520 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28521 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28522 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28523 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28524 printf("*** so that the correct libraries are found at run-time))\n");
28525 }
28526 }
28527 return 1;
28528 }
28529
28530 _ACEOF
28531 rm -f conftest$ac_exeext
28532 if { (ac_try="$ac_link"
28533 case "(($ac_try" in
28534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28535 *) ac_try_echo=$ac_try;;
28536 esac
28537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538 (eval "$ac_link") 2>&5
28539 ac_status=$?
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28542 { (case "(($ac_try" in
28543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28544 *) ac_try_echo=$ac_try;;
28545 esac
28546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28547 (eval "$ac_try") 2>&5
28548 ac_status=$?
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); }; }; then
28551 :
28552 else
28553 echo "$as_me: program exited with status $ac_status" >&5
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.$ac_ext >&5
28556
28557 ( exit $ac_status )
28558 no_gtk=yes
28559 fi
28560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28561 fi
28562
28563
28564 CFLAGS="$ac_save_CFLAGS"
28565 LIBS="$ac_save_LIBS"
28566 fi
28567 fi
28568 if test "x$no_gtk" = x ; then
28569 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28570 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28571 wx_cv_lib_gtk=2.0
28572 else
28573 { echo "$as_me:$LINENO: result: no" >&5
28574 echo "${ECHO_T}no" >&6; }
28575 if test "$PKG_CONFIG" = "no" ; then
28576 echo "*** A new enough version of pkg-config was not found."
28577 echo "*** See http://pkgconfig.sourceforge.net"
28578 else
28579 if test -f conf.gtktest ; then
28580 :
28581 else
28582 echo "*** Could not run GTK+ test program, checking why..."
28583 ac_save_CFLAGS="$CFLAGS"
28584 ac_save_LIBS="$LIBS"
28585 CFLAGS="$CFLAGS $GTK_CFLAGS"
28586 LIBS="$LIBS $GTK_LIBS"
28587 cat >conftest.$ac_ext <<_ACEOF
28588 /* confdefs.h. */
28589 _ACEOF
28590 cat confdefs.h >>conftest.$ac_ext
28591 cat >>conftest.$ac_ext <<_ACEOF
28592 /* end confdefs.h. */
28593
28594 #include <gtk/gtk.h>
28595 #include <stdio.h>
28596
28597 int
28598 main ()
28599 {
28600 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28601 ;
28602 return 0;
28603 }
28604 _ACEOF
28605 rm -f conftest.$ac_objext conftest$ac_exeext
28606 if { (ac_try="$ac_link"
28607 case "(($ac_try" in
28608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28609 *) ac_try_echo=$ac_try;;
28610 esac
28611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28612 (eval "$ac_link") 2>conftest.er1
28613 ac_status=$?
28614 grep -v '^ *+' conftest.er1 >conftest.err
28615 rm -f conftest.er1
28616 cat conftest.err >&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); } && {
28619 test -z "$ac_c_werror_flag" ||
28620 test ! -s conftest.err
28621 } && test -s conftest$ac_exeext &&
28622 $as_test_x conftest$ac_exeext; then
28623 echo "*** The test program compiled, but did not run. This usually means"
28624 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28625 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28626 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28627 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28628 echo "*** is required on your system"
28629 echo "***"
28630 echo "*** If you have an old version installed, it is best to remove it, although"
28631 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28635
28636 echo "*** The test program failed to compile or link. See the file config.log for the"
28637 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28638 fi
28639
28640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28641 conftest$ac_exeext conftest.$ac_ext
28642 CFLAGS="$ac_save_CFLAGS"
28643 LIBS="$ac_save_LIBS"
28644 fi
28645 fi
28646 GTK_CFLAGS=""
28647 GTK_LIBS=""
28648 :
28649 fi
28650
28651
28652 rm -f conf.gtktest
28653
28654
28655 case "${host}" in
28656 *-*-solaris2* )
28657 if test "$wxUSE_SHARED" != "yes"; then
28658 GTK_LIBS="$GTK_LIBS -lX11"
28659 fi
28660 esac
28661 fi
28662
28663 if test -z "$wx_cv_lib_gtk"; then
28664 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28665
28666 # Check whether --with-gtk-prefix was given.
28667 if test "${with_gtk_prefix+set}" = set; then
28668 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28669 else
28670 gtk_config_prefix=""
28671 fi
28672
28673
28674 # Check whether --with-gtk-exec-prefix was given.
28675 if test "${with_gtk_exec_prefix+set}" = set; then
28676 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28677 else
28678 gtk_config_exec_prefix=""
28679 fi
28680
28681 # Check whether --enable-gtktest was given.
28682 if test "${enable_gtktest+set}" = set; then
28683 enableval=$enable_gtktest;
28684 else
28685 enable_gtktest=yes
28686 fi
28687
28688
28689 for module in . $GTK_MODULES
28690 do
28691 case "$module" in
28692 gthread)
28693 gtk_config_args="$gtk_config_args gthread"
28694 ;;
28695 esac
28696 done
28697
28698 if test x$gtk_config_exec_prefix != x ; then
28699 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28700 if test x${GTK_CONFIG+set} != xset ; then
28701 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28702 fi
28703 fi
28704 if test x$gtk_config_prefix != x ; then
28705 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28706 if test x${GTK_CONFIG+set} != xset ; then
28707 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28708 fi
28709 fi
28710
28711 # Extract the first word of "gtk-config", so it can be a program name with args.
28712 set dummy gtk-config; ac_word=$2
28713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28715 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 else
28718 case $GTK_CONFIG in
28719 [\\/]* | ?:[\\/]*)
28720 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28721 ;;
28722 *)
28723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28724 for as_dir in $PATH
28725 do
28726 IFS=$as_save_IFS
28727 test -z "$as_dir" && as_dir=.
28728 for ac_exec_ext in '' $ac_executable_extensions; do
28729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28730 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28732 break 2
28733 fi
28734 done
28735 done
28736 IFS=$as_save_IFS
28737
28738 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28739 ;;
28740 esac
28741 fi
28742 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28743 if test -n "$GTK_CONFIG"; then
28744 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28745 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28746 else
28747 { echo "$as_me:$LINENO: result: no" >&5
28748 echo "${ECHO_T}no" >&6; }
28749 fi
28750
28751
28752 min_gtk_version=1.2.7
28753 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28754 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28755 no_gtk=""
28756 if test "$GTK_CONFIG" = "no" ; then
28757 no_gtk=yes
28758 else
28759 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28760 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28761 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28763 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28765 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28767 if test "x$enable_gtktest" = "xyes" ; then
28768 ac_save_CFLAGS="$CFLAGS"
28769 ac_save_LIBS="$LIBS"
28770 CFLAGS="$CFLAGS $GTK_CFLAGS"
28771 LIBS="$GTK_LIBS $LIBS"
28772 rm -f conf.gtktest
28773 if test "$cross_compiling" = yes; then
28774 echo $ac_n "cross compiling; assumed OK... $ac_c"
28775 else
28776 cat >conftest.$ac_ext <<_ACEOF
28777 /* confdefs.h. */
28778 _ACEOF
28779 cat confdefs.h >>conftest.$ac_ext
28780 cat >>conftest.$ac_ext <<_ACEOF
28781 /* end confdefs.h. */
28782
28783 #include <gtk/gtk.h>
28784 #include <stdio.h>
28785 #include <stdlib.h>
28786
28787 int
28788 main ()
28789 {
28790 int major, minor, micro;
28791 char *tmp_version;
28792
28793 system ("touch conf.gtktest");
28794
28795 /* HP/UX 9 (%@#!) writes to sscanf strings */
28796 tmp_version = g_strdup("$min_gtk_version");
28797 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28798 printf("%s, bad version string\n", "$min_gtk_version");
28799 exit(1);
28800 }
28801
28802 if ((gtk_major_version != $gtk_config_major_version) ||
28803 (gtk_minor_version != $gtk_config_minor_version) ||
28804 (gtk_micro_version != $gtk_config_micro_version))
28805 {
28806 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28807 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28808 gtk_major_version, gtk_minor_version, gtk_micro_version);
28809 printf ("*** was found! If gtk-config was correct, then it is best\n");
28810 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28811 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28812 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28813 printf("*** required on your system.\n");
28814 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28815 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28816 printf("*** before re-running configure\n");
28817 }
28818 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28819 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28820 (gtk_minor_version != GTK_MINOR_VERSION) ||
28821 (gtk_micro_version != GTK_MICRO_VERSION))
28822 {
28823 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28824 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28825 printf("*** library (version %d.%d.%d)\n",
28826 gtk_major_version, gtk_minor_version, gtk_micro_version);
28827 }
28828 #endif /* defined (GTK_MAJOR_VERSION) ... */
28829 else
28830 {
28831 if ((gtk_major_version > major) ||
28832 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28833 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28834 {
28835 return 0;
28836 }
28837 else
28838 {
28839 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28840 gtk_major_version, gtk_minor_version, gtk_micro_version);
28841 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28842 major, minor, micro);
28843 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28844 printf("***\n");
28845 printf("*** If you have already installed a sufficiently new version, this error\n");
28846 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28847 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28848 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28849 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28850 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28851 printf("*** so that the correct libraries are found at run-time))\n");
28852 }
28853 }
28854 return 1;
28855 }
28856
28857 _ACEOF
28858 rm -f conftest$ac_exeext
28859 if { (ac_try="$ac_link"
28860 case "(($ac_try" in
28861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28862 *) ac_try_echo=$ac_try;;
28863 esac
28864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28865 (eval "$ac_link") 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28869 { (case "(($ac_try" in
28870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28871 *) ac_try_echo=$ac_try;;
28872 esac
28873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_try") 2>&5
28875 ac_status=$?
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); }; }; then
28878 :
28879 else
28880 echo "$as_me: program exited with status $ac_status" >&5
28881 echo "$as_me: failed program was:" >&5
28882 sed 's/^/| /' conftest.$ac_ext >&5
28883
28884 ( exit $ac_status )
28885 no_gtk=yes
28886 fi
28887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28888 fi
28889
28890
28891 CFLAGS="$ac_save_CFLAGS"
28892 LIBS="$ac_save_LIBS"
28893 fi
28894 fi
28895 if test "x$no_gtk" = x ; then
28896 { echo "$as_me:$LINENO: result: yes" >&5
28897 echo "${ECHO_T}yes" >&6; }
28898 wx_cv_lib_gtk=1.2.7
28899 else
28900 { echo "$as_me:$LINENO: result: no" >&5
28901 echo "${ECHO_T}no" >&6; }
28902 if test "$GTK_CONFIG" = "no" ; then
28903 echo "*** The gtk-config script installed by GTK could not be found"
28904 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28905 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28906 echo "*** full path to gtk-config."
28907 else
28908 if test -f conf.gtktest ; then
28909 :
28910 else
28911 echo "*** Could not run GTK test program, checking why..."
28912 CFLAGS="$CFLAGS $GTK_CFLAGS"
28913 LIBS="$LIBS $GTK_LIBS"
28914 cat >conftest.$ac_ext <<_ACEOF
28915 /* confdefs.h. */
28916 _ACEOF
28917 cat confdefs.h >>conftest.$ac_ext
28918 cat >>conftest.$ac_ext <<_ACEOF
28919 /* end confdefs.h. */
28920
28921 #include <gtk/gtk.h>
28922 #include <stdio.h>
28923
28924 int
28925 main ()
28926 {
28927 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28928 ;
28929 return 0;
28930 }
28931 _ACEOF
28932 rm -f conftest.$ac_objext conftest$ac_exeext
28933 if { (ac_try="$ac_link"
28934 case "(($ac_try" in
28935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28936 *) ac_try_echo=$ac_try;;
28937 esac
28938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28939 (eval "$ac_link") 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } && {
28946 test -z "$ac_c_werror_flag" ||
28947 test ! -s conftest.err
28948 } && test -s conftest$ac_exeext &&
28949 $as_test_x conftest$ac_exeext; then
28950 echo "*** The test program compiled, but did not run. This usually means"
28951 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28952 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28953 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28954 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28955 echo "*** is required on your system"
28956 echo "***"
28957 echo "*** If you have an old version installed, it is best to remove it, although"
28958 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28959 echo "***"
28960 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28961 echo "*** came with the system with the command"
28962 echo "***"
28963 echo "*** rpm --erase --nodeps gtk gtk-devel"
28964 else
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.$ac_ext >&5
28967
28968 echo "*** The test program failed to compile or link. See the file config.log for the"
28969 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28970 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28971 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28972 fi
28973
28974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28975 conftest$ac_exeext conftest.$ac_ext
28976 CFLAGS="$ac_save_CFLAGS"
28977 LIBS="$ac_save_LIBS"
28978 fi
28979 fi
28980 GTK_CFLAGS=""
28981 GTK_LIBS=""
28982 :
28983 fi
28984
28985
28986 rm -f conf.gtktest
28987
28988
28989 if test -z "$wx_cv_lib_gtk"; then
28990
28991 # Check whether --with-gtk-prefix was given.
28992 if test "${with_gtk_prefix+set}" = set; then
28993 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28994 else
28995 gtk_config_prefix=""
28996 fi
28997
28998
28999 # Check whether --with-gtk-exec-prefix was given.
29000 if test "${with_gtk_exec_prefix+set}" = set; then
29001 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29002 else
29003 gtk_config_exec_prefix=""
29004 fi
29005
29006 # Check whether --enable-gtktest was given.
29007 if test "${enable_gtktest+set}" = set; then
29008 enableval=$enable_gtktest;
29009 else
29010 enable_gtktest=yes
29011 fi
29012
29013
29014 for module in . $GTK_MODULES
29015 do
29016 case "$module" in
29017 gthread)
29018 gtk_config_args="$gtk_config_args gthread"
29019 ;;
29020 esac
29021 done
29022
29023 if test x$gtk_config_exec_prefix != x ; then
29024 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29025 if test x${GTK_CONFIG+set} != xset ; then
29026 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29027 fi
29028 fi
29029 if test x$gtk_config_prefix != x ; then
29030 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29031 if test x${GTK_CONFIG+set} != xset ; then
29032 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29033 fi
29034 fi
29035
29036 # Extract the first word of "gtk-config", so it can be a program name with args.
29037 set dummy gtk-config; ac_word=$2
29038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29040 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29041 echo $ECHO_N "(cached) $ECHO_C" >&6
29042 else
29043 case $GTK_CONFIG in
29044 [\\/]* | ?:[\\/]*)
29045 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29046 ;;
29047 *)
29048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29049 for as_dir in $PATH
29050 do
29051 IFS=$as_save_IFS
29052 test -z "$as_dir" && as_dir=.
29053 for ac_exec_ext in '' $ac_executable_extensions; do
29054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29055 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29057 break 2
29058 fi
29059 done
29060 done
29061 IFS=$as_save_IFS
29062
29063 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29064 ;;
29065 esac
29066 fi
29067 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29068 if test -n "$GTK_CONFIG"; then
29069 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29070 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29071 else
29072 { echo "$as_me:$LINENO: result: no" >&5
29073 echo "${ECHO_T}no" >&6; }
29074 fi
29075
29076
29077 min_gtk_version=1.2.3
29078 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29079 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29080 no_gtk=""
29081 if test "$GTK_CONFIG" = "no" ; then
29082 no_gtk=yes
29083 else
29084 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29085 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29086 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29088 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29090 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29092 if test "x$enable_gtktest" = "xyes" ; then
29093 ac_save_CFLAGS="$CFLAGS"
29094 ac_save_LIBS="$LIBS"
29095 CFLAGS="$CFLAGS $GTK_CFLAGS"
29096 LIBS="$GTK_LIBS $LIBS"
29097 rm -f conf.gtktest
29098 if test "$cross_compiling" = yes; then
29099 echo $ac_n "cross compiling; assumed OK... $ac_c"
29100 else
29101 cat >conftest.$ac_ext <<_ACEOF
29102 /* confdefs.h. */
29103 _ACEOF
29104 cat confdefs.h >>conftest.$ac_ext
29105 cat >>conftest.$ac_ext <<_ACEOF
29106 /* end confdefs.h. */
29107
29108 #include <gtk/gtk.h>
29109 #include <stdio.h>
29110 #include <stdlib.h>
29111
29112 int
29113 main ()
29114 {
29115 int major, minor, micro;
29116 char *tmp_version;
29117
29118 system ("touch conf.gtktest");
29119
29120 /* HP/UX 9 (%@#!) writes to sscanf strings */
29121 tmp_version = g_strdup("$min_gtk_version");
29122 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29123 printf("%s, bad version string\n", "$min_gtk_version");
29124 exit(1);
29125 }
29126
29127 if ((gtk_major_version != $gtk_config_major_version) ||
29128 (gtk_minor_version != $gtk_config_minor_version) ||
29129 (gtk_micro_version != $gtk_config_micro_version))
29130 {
29131 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29132 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29133 gtk_major_version, gtk_minor_version, gtk_micro_version);
29134 printf ("*** was found! If gtk-config was correct, then it is best\n");
29135 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29136 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29137 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29138 printf("*** required on your system.\n");
29139 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29140 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29141 printf("*** before re-running configure\n");
29142 }
29143 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29144 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29145 (gtk_minor_version != GTK_MINOR_VERSION) ||
29146 (gtk_micro_version != GTK_MICRO_VERSION))
29147 {
29148 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29149 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29150 printf("*** library (version %d.%d.%d)\n",
29151 gtk_major_version, gtk_minor_version, gtk_micro_version);
29152 }
29153 #endif /* defined (GTK_MAJOR_VERSION) ... */
29154 else
29155 {
29156 if ((gtk_major_version > major) ||
29157 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29158 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29159 {
29160 return 0;
29161 }
29162 else
29163 {
29164 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29165 gtk_major_version, gtk_minor_version, gtk_micro_version);
29166 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29167 major, minor, micro);
29168 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29169 printf("***\n");
29170 printf("*** If you have already installed a sufficiently new version, this error\n");
29171 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29172 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29173 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29174 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29175 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29176 printf("*** so that the correct libraries are found at run-time))\n");
29177 }
29178 }
29179 return 1;
29180 }
29181
29182 _ACEOF
29183 rm -f conftest$ac_exeext
29184 if { (ac_try="$ac_link"
29185 case "(($ac_try" in
29186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29187 *) ac_try_echo=$ac_try;;
29188 esac
29189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29190 (eval "$ac_link") 2>&5
29191 ac_status=$?
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29194 { (case "(($ac_try" in
29195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29196 *) ac_try_echo=$ac_try;;
29197 esac
29198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29199 (eval "$ac_try") 2>&5
29200 ac_status=$?
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); }; }; then
29203 :
29204 else
29205 echo "$as_me: program exited with status $ac_status" >&5
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29208
29209 ( exit $ac_status )
29210 no_gtk=yes
29211 fi
29212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29213 fi
29214
29215
29216 CFLAGS="$ac_save_CFLAGS"
29217 LIBS="$ac_save_LIBS"
29218 fi
29219 fi
29220 if test "x$no_gtk" = x ; then
29221 { echo "$as_me:$LINENO: result: yes" >&5
29222 echo "${ECHO_T}yes" >&6; }
29223 wx_cv_lib_gtk=1.2.3
29224 else
29225 { echo "$as_me:$LINENO: result: no" >&5
29226 echo "${ECHO_T}no" >&6; }
29227 if test "$GTK_CONFIG" = "no" ; then
29228 echo "*** The gtk-config script installed by GTK could not be found"
29229 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29230 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29231 echo "*** full path to gtk-config."
29232 else
29233 if test -f conf.gtktest ; then
29234 :
29235 else
29236 echo "*** Could not run GTK test program, checking why..."
29237 CFLAGS="$CFLAGS $GTK_CFLAGS"
29238 LIBS="$LIBS $GTK_LIBS"
29239 cat >conftest.$ac_ext <<_ACEOF
29240 /* confdefs.h. */
29241 _ACEOF
29242 cat confdefs.h >>conftest.$ac_ext
29243 cat >>conftest.$ac_ext <<_ACEOF
29244 /* end confdefs.h. */
29245
29246 #include <gtk/gtk.h>
29247 #include <stdio.h>
29248
29249 int
29250 main ()
29251 {
29252 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29253 ;
29254 return 0;
29255 }
29256 _ACEOF
29257 rm -f conftest.$ac_objext conftest$ac_exeext
29258 if { (ac_try="$ac_link"
29259 case "(($ac_try" in
29260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29261 *) ac_try_echo=$ac_try;;
29262 esac
29263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29264 (eval "$ac_link") 2>conftest.er1
29265 ac_status=$?
29266 grep -v '^ *+' conftest.er1 >conftest.err
29267 rm -f conftest.er1
29268 cat conftest.err >&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && {
29271 test -z "$ac_c_werror_flag" ||
29272 test ! -s conftest.err
29273 } && test -s conftest$ac_exeext &&
29274 $as_test_x conftest$ac_exeext; then
29275 echo "*** The test program compiled, but did not run. This usually means"
29276 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29277 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29278 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29279 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29280 echo "*** is required on your system"
29281 echo "***"
29282 echo "*** If you have an old version installed, it is best to remove it, although"
29283 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29284 echo "***"
29285 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29286 echo "*** came with the system with the command"
29287 echo "***"
29288 echo "*** rpm --erase --nodeps gtk gtk-devel"
29289 else
29290 echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29292
29293 echo "*** The test program failed to compile or link. See the file config.log for the"
29294 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29295 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29296 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29297 fi
29298
29299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29300 conftest$ac_exeext conftest.$ac_ext
29301 CFLAGS="$ac_save_CFLAGS"
29302 LIBS="$ac_save_LIBS"
29303 fi
29304 fi
29305 GTK_CFLAGS=""
29306 GTK_LIBS=""
29307 :
29308 fi
29309
29310
29311 rm -f conf.gtktest
29312
29313 fi
29314 fi
29315 fi
29316
29317 if test -z "$wx_cv_lib_gtk"; then
29318 wx_cv_lib_gtk=none
29319 else
29320 wx_cv_cflags_gtk=$GTK_CFLAGS
29321 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29322 fi
29323
29324
29325 fi
29326
29327
29328 if test "$gtk_version_cached" = 1; then
29329 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29330 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29331 fi
29332
29333 case "$wx_cv_lib_gtk" in
29334 2.0) WXGTK2=1
29335 TOOLKIT_VERSION=2
29336 ;;
29337 1.2.7) WXGTK127=1
29338 WXGTK12=1
29339 ;;
29340 1.2.3) WXGTK12=1
29341 ;;
29342 *) { { echo "$as_me:$LINENO: error:
29343 The development files for GTK+ were not found. For GTK+ 2, please
29344 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29345 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29346 and that the version is 1.2.3 or above. Also check that the
29347 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29348 --libs' are in the LD_LIBRARY_PATH or equivalent.
29349 " >&5
29350 echo "$as_me: error:
29351 The development files for GTK+ were not found. For GTK+ 2, please
29352 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29353 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29354 and that the version is 1.2.3 or above. Also check that the
29355 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29356 --libs' are in the LD_LIBRARY_PATH or equivalent.
29357 " >&2;}
29358 { (exit 1); exit 1; }; }
29359 ;;
29360 esac
29361
29362 if test "$WXGTK2" = 1; then
29363 save_CFLAGS="$CFLAGS"
29364 save_LIBS="$LIBS"
29365 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29366 LIBS="$LIBS $wx_cv_libs_gtk"
29367
29368 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29369 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29370 cat >conftest.$ac_ext <<_ACEOF
29371 /* confdefs.h. */
29372 _ACEOF
29373 cat confdefs.h >>conftest.$ac_ext
29374 cat >>conftest.$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29376
29377 #include <gtk/gtk.h>
29378
29379 int
29380 main ()
29381 {
29382
29383 #if !GTK_CHECK_VERSION(2,10,0)
29384 Not GTK+ 2.10
29385 #endif
29386
29387 ;
29388 return 0;
29389 }
29390 _ACEOF
29391 rm -f conftest.$ac_objext
29392 if { (ac_try="$ac_compile"
29393 case "(($ac_try" in
29394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29395 *) ac_try_echo=$ac_try;;
29396 esac
29397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29398 (eval "$ac_compile") 2>conftest.er1
29399 ac_status=$?
29400 grep -v '^ *+' conftest.er1 >conftest.err
29401 rm -f conftest.er1
29402 cat conftest.err >&5
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); } && {
29405 test -z "$ac_c_werror_flag" ||
29406 test ! -s conftest.err
29407 } && test -s conftest.$ac_objext; then
29408
29409 cat >>confdefs.h <<\_ACEOF
29410 #define __WXGTK210__ 1
29411 _ACEOF
29412
29413 cat >>confdefs.h <<\_ACEOF
29414 #define __WXGTK26__ 1
29415 _ACEOF
29416
29417 { echo "$as_me:$LINENO: result: yes" >&5
29418 echo "${ECHO_T}yes" >&6; }
29419 ac_wxgtk210=1
29420
29421 else
29422 echo "$as_me: failed program was:" >&5
29423 sed 's/^/| /' conftest.$ac_ext >&5
29424
29425
29426 { echo "$as_me:$LINENO: result: no" >&5
29427 echo "${ECHO_T}no" >&6; }
29428 ac_wxgtk210=0
29429
29430 fi
29431
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433
29434 if test "$ac_wxgtk210" = 0; then
29435 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29436 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29437 cat >conftest.$ac_ext <<_ACEOF
29438 /* confdefs.h. */
29439 _ACEOF
29440 cat confdefs.h >>conftest.$ac_ext
29441 cat >>conftest.$ac_ext <<_ACEOF
29442 /* end confdefs.h. */
29443
29444 #include <gtk/gtk.h>
29445
29446 int
29447 main ()
29448 {
29449
29450 #if !GTK_CHECK_VERSION(2,6,0)
29451 Not GTK+ 2.6
29452 #endif
29453
29454 ;
29455 return 0;
29456 }
29457 _ACEOF
29458 rm -f conftest.$ac_objext
29459 if { (ac_try="$ac_compile"
29460 case "(($ac_try" in
29461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29463 esac
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_compile") 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } && {
29472 test -z "$ac_c_werror_flag" ||
29473 test ! -s conftest.err
29474 } && test -s conftest.$ac_objext; then
29475
29476 cat >>confdefs.h <<\_ACEOF
29477 #define __WXGTK26__ 1
29478 _ACEOF
29479
29480 { echo "$as_me:$LINENO: result: yes" >&5
29481 echo "${ECHO_T}yes" >&6; }
29482 ac_wxgtk26=1
29483
29484 else
29485 echo "$as_me: failed program was:" >&5
29486 sed 's/^/| /' conftest.$ac_ext >&5
29487
29488
29489 { echo "$as_me:$LINENO: result: no" >&5
29490 echo "${ECHO_T}no" >&6; }
29491 ac_wxgtk26=0
29492
29493 fi
29494
29495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29496 fi
29497
29498 CFLAGS="$save_CFLAGS"
29499 LIBS="$save_LIBS"
29500 else
29501 if test "$wxUSE_UNICODE" = "yes"; then
29502 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29503 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29504 wxUSE_UNICODE=no
29505 fi
29506
29507 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29508 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29509 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 else
29512 ac_check_lib_save_LIBS=$LIBS
29513 LIBS="-lgdk $LIBS"
29514 cat >conftest.$ac_ext <<_ACEOF
29515 /* confdefs.h. */
29516 _ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29520
29521 /* Override any GCC internal prototype to avoid an error.
29522 Use char because int might match the return type of a GCC
29523 builtin and then its argument prototype would still apply. */
29524 #ifdef __cplusplus
29525 extern "C"
29526 #endif
29527 char gdk_im_open ();
29528 int
29529 main ()
29530 {
29531 return gdk_im_open ();
29532 ;
29533 return 0;
29534 }
29535 _ACEOF
29536 rm -f conftest.$ac_objext conftest$ac_exeext
29537 if { (ac_try="$ac_link"
29538 case "(($ac_try" in
29539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29540 *) ac_try_echo=$ac_try;;
29541 esac
29542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29543 (eval "$ac_link") 2>conftest.er1
29544 ac_status=$?
29545 grep -v '^ *+' conftest.er1 >conftest.err
29546 rm -f conftest.er1
29547 cat conftest.err >&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } && {
29550 test -z "$ac_c_werror_flag" ||
29551 test ! -s conftest.err
29552 } && test -s conftest$ac_exeext &&
29553 $as_test_x conftest$ac_exeext; then
29554 ac_cv_lib_gdk_gdk_im_open=yes
29555 else
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29558
29559 ac_cv_lib_gdk_gdk_im_open=no
29560 fi
29561
29562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29563 conftest$ac_exeext conftest.$ac_ext
29564 LIBS=$ac_check_lib_save_LIBS
29565 fi
29566 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29567 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29568 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29569 cat >>confdefs.h <<\_ACEOF
29570 #define HAVE_XIM 1
29571 _ACEOF
29572
29573 fi
29574
29575
29576 if test "$USE_DARWIN" != 1; then
29577
29578 for ac_func in poll
29579 do
29580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 else
29586 cat >conftest.$ac_ext <<_ACEOF
29587 /* confdefs.h. */
29588 _ACEOF
29589 cat confdefs.h >>conftest.$ac_ext
29590 cat >>conftest.$ac_ext <<_ACEOF
29591 /* end confdefs.h. */
29592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29594 #define $ac_func innocuous_$ac_func
29595
29596 /* System header to define __stub macros and hopefully few prototypes,
29597 which can conflict with char $ac_func (); below.
29598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29599 <limits.h> exists even on freestanding compilers. */
29600
29601 #ifdef __STDC__
29602 # include <limits.h>
29603 #else
29604 # include <assert.h>
29605 #endif
29606
29607 #undef $ac_func
29608
29609 /* Override any GCC internal prototype to avoid an error.
29610 Use char because int might match the return type of a GCC
29611 builtin and then its argument prototype would still apply. */
29612 #ifdef __cplusplus
29613 extern "C"
29614 #endif
29615 char $ac_func ();
29616 /* The GNU C library defines this for functions which it implements
29617 to always fail with ENOSYS. Some functions are actually named
29618 something starting with __ and the normal name is an alias. */
29619 #if defined __stub_$ac_func || defined __stub___$ac_func
29620 choke me
29621 #endif
29622
29623 int
29624 main ()
29625 {
29626 return $ac_func ();
29627 ;
29628 return 0;
29629 }
29630 _ACEOF
29631 rm -f conftest.$ac_objext conftest$ac_exeext
29632 if { (ac_try="$ac_link"
29633 case "(($ac_try" in
29634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29635 *) ac_try_echo=$ac_try;;
29636 esac
29637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29638 (eval "$ac_link") 2>conftest.er1
29639 ac_status=$?
29640 grep -v '^ *+' conftest.er1 >conftest.err
29641 rm -f conftest.er1
29642 cat conftest.err >&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); } && {
29645 test -z "$ac_c_werror_flag" ||
29646 test ! -s conftest.err
29647 } && test -s conftest$ac_exeext &&
29648 $as_test_x conftest$ac_exeext; then
29649 eval "$as_ac_var=yes"
29650 else
29651 echo "$as_me: failed program was:" >&5
29652 sed 's/^/| /' conftest.$ac_ext >&5
29653
29654 eval "$as_ac_var=no"
29655 fi
29656
29657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29658 conftest$ac_exeext conftest.$ac_ext
29659 fi
29660 ac_res=`eval echo '${'$as_ac_var'}'`
29661 { echo "$as_me:$LINENO: result: $ac_res" >&5
29662 echo "${ECHO_T}$ac_res" >&6; }
29663 if test `eval echo '${'$as_ac_var'}'` = yes; then
29664 cat >>confdefs.h <<_ACEOF
29665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29666 _ACEOF
29667
29668 fi
29669 done
29670
29671 fi
29672 fi
29673
29674 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29675 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29676
29677 AFMINSTALL=afminstall
29678 TOOLKIT=GTK
29679 GUIDIST=GTK_DIST
29680
29681 if test "$wxUSE_GPE" = "yes"; then
29682 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29683 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29684
29685 ac_find_libraries=
29686 for ac_dir in $SEARCH_LIB;
29687 do
29688 for ac_extension in a so sl dylib dll.a; do
29689 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29690 ac_find_libraries=$ac_dir
29691 break 2
29692 fi
29693 done
29694 done
29695
29696 if test "$ac_find_libraries" != "" ; then
29697
29698 if test "$ac_find_libraries" = "default location"; then
29699 ac_path_to_link=""
29700 else
29701 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29702 result=$?
29703 if test $result = 0; then
29704 ac_path_to_link=""
29705 else
29706 ac_path_to_link=" -L$ac_find_libraries"
29707 fi
29708 fi
29709
29710 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29711 WXGPE=1
29712 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29713 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29714 else
29715 { echo "$as_me:$LINENO: result: not found" >&5
29716 echo "${ECHO_T}not found" >&6; }
29717 fi
29718
29719 fi
29720 fi
29721
29722 if test "$wxUSE_MGL" = 1; then
29723 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29724 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29725 if test "x$MGL_ROOT" = x ; then
29726 { echo "$as_me:$LINENO: result: not found" >&5
29727 echo "${ECHO_T}not found" >&6; }
29728 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29729 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29730 { (exit 1); exit 1; }; }
29731 else
29732 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29733 echo "${ECHO_T}$MGL_ROOT" >&6; }
29734 fi
29735
29736 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29737 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29738 case "${host}" in
29739 *-*-linux* )
29740 if test "x$wxUSE_SHARED" = xyes ; then
29741 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29742 else
29743 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29744 fi
29745 ;;
29746 *-pc-msdosdjgpp )
29747 mgl_os_candidates="dos32/dj2"
29748 ;;
29749 *)
29750 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29751 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29752 { (exit 1); exit 1; }; }
29753 esac
29754
29755 mgl_lib_type=""
29756 mgl_os=""
29757
29758 for mgl_os_i in $mgl_os_candidates ; do
29759 if test "x$mgl_os" = x ; then
29760 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29761 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29762 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29763 mgl_lib_type=debug
29764 mgl_os=$mgl_os_i
29765 fi
29766 fi
29767 if test "x$mgl_lib_type" = x ; then
29768 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29769 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29770 mgl_lib_type=release
29771 mgl_os=$mgl_os_i
29772 fi
29773 fi
29774 fi
29775 done
29776
29777 if test "x$mgl_os" = x ; then
29778 { echo "$as_me:$LINENO: result: not found" >&5
29779 echo "${ECHO_T}not found" >&6; }
29780 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29781 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29782 { (exit 1); exit 1; }; }
29783 fi
29784 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29785 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29786
29787 wxUSE_UNIVERSAL="yes"
29788
29789 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29790 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29791
29792 AFMINSTALL=afminstall
29793 TOOLKIT=MGL
29794 GUIDIST=MGL_DIST
29795 fi
29796
29797 if test "$wxUSE_DFB" = 1; then
29798
29799
29800 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29801 if test -n "$ac_tool_prefix"; then
29802 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29803 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29806 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29807 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 else
29809 case $PKG_CONFIG in
29810 [\\/]* | ?:[\\/]*)
29811 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29812 ;;
29813 *)
29814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29815 for as_dir in $PATH
29816 do
29817 IFS=$as_save_IFS
29818 test -z "$as_dir" && as_dir=.
29819 for ac_exec_ext in '' $ac_executable_extensions; do
29820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29821 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29823 break 2
29824 fi
29825 done
29826 done
29827 IFS=$as_save_IFS
29828
29829 ;;
29830 esac
29831 fi
29832 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29833 if test -n "$PKG_CONFIG"; then
29834 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29835 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29836 else
29837 { echo "$as_me:$LINENO: result: no" >&5
29838 echo "${ECHO_T}no" >&6; }
29839 fi
29840
29841
29842 fi
29843 if test -z "$ac_cv_path_PKG_CONFIG"; then
29844 ac_pt_PKG_CONFIG=$PKG_CONFIG
29845 # Extract the first word of "pkg-config", so it can be a program name with args.
29846 set dummy pkg-config; ac_word=$2
29847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29849 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29852 case $ac_pt_PKG_CONFIG in
29853 [\\/]* | ?:[\\/]*)
29854 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29855 ;;
29856 *)
29857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29858 for as_dir in $PATH
29859 do
29860 IFS=$as_save_IFS
29861 test -z "$as_dir" && as_dir=.
29862 for ac_exec_ext in '' $ac_executable_extensions; do
29863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29864 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29866 break 2
29867 fi
29868 done
29869 done
29870 IFS=$as_save_IFS
29871
29872 ;;
29873 esac
29874 fi
29875 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29876 if test -n "$ac_pt_PKG_CONFIG"; then
29877 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29878 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29879 else
29880 { echo "$as_me:$LINENO: result: no" >&5
29881 echo "${ECHO_T}no" >&6; }
29882 fi
29883
29884 if test "x$ac_pt_PKG_CONFIG" = x; then
29885 PKG_CONFIG=""
29886 else
29887 case $cross_compiling:$ac_tool_warned in
29888 yes:)
29889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29890 whose name does not start with the host triplet. If you think this
29891 configuration is useful to you, please write to autoconf@gnu.org." >&5
29892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29893 whose name does not start with the host triplet. If you think this
29894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29895 ac_tool_warned=yes ;;
29896 esac
29897 PKG_CONFIG=$ac_pt_PKG_CONFIG
29898 fi
29899 else
29900 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29901 fi
29902
29903 fi
29904 if test -n "$PKG_CONFIG"; then
29905 _pkg_min_version=0.9.0
29906 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29907 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29908 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29909 { echo "$as_me:$LINENO: result: yes" >&5
29910 echo "${ECHO_T}yes" >&6; }
29911 else
29912 { echo "$as_me:$LINENO: result: no" >&5
29913 echo "${ECHO_T}no" >&6; }
29914 PKG_CONFIG=""
29915 fi
29916
29917 fi
29918
29919
29920 pkg_failed=no
29921 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29922 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29923
29924 if test -n "$PKG_CONFIG"; then
29925 if test -n "$DIRECTFB_CFLAGS"; then
29926 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29927 else
29928 if test -n "$PKG_CONFIG" && \
29929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29930 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29931 ac_status=$?
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); }; then
29934 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29935 else
29936 pkg_failed=yes
29937 fi
29938 fi
29939 else
29940 pkg_failed=untried
29941 fi
29942 if test -n "$PKG_CONFIG"; then
29943 if test -n "$DIRECTFB_LIBS"; then
29944 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29945 else
29946 if test -n "$PKG_CONFIG" && \
29947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29948 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29949 ac_status=$?
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; then
29952 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29953 else
29954 pkg_failed=yes
29955 fi
29956 fi
29957 else
29958 pkg_failed=untried
29959 fi
29960
29961
29962
29963 if test $pkg_failed = yes; then
29964
29965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29966 _pkg_short_errors_supported=yes
29967 else
29968 _pkg_short_errors_supported=no
29969 fi
29970 if test $_pkg_short_errors_supported = yes; then
29971 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29972 else
29973 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29974 fi
29975 # Put the nasty error message in config.log where it belongs
29976 echo "$DIRECTFB_PKG_ERRORS" >&5
29977
29978
29979 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29980 echo "$as_me: error: DirectFB not found." >&2;}
29981 { (exit 1); exit 1; }; }
29982
29983
29984 elif test $pkg_failed = untried; then
29985
29986 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29987 echo "$as_me: error: DirectFB not found." >&2;}
29988 { (exit 1); exit 1; }; }
29989
29990
29991 else
29992 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29993 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29994 { echo "$as_me:$LINENO: result: yes" >&5
29995 echo "${ECHO_T}yes" >&6; }
29996
29997 wxUSE_UNIVERSAL="yes"
29998 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29999 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30000 TOOLKIT=DFB
30001 GUIDIST=DFB_DIST
30002
30003 fi
30004 fi
30005
30006 if test "$wxUSE_MICROWIN" = 1; then
30007 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30008 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30009 if test "x$MICROWINDOWS" = x ; then
30010 { echo "$as_me:$LINENO: result: not found" >&5
30011 echo "${ECHO_T}not found" >&6; }
30012 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30013 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30014 { (exit 1); exit 1; }; }
30015 else
30016 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30017 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30018 fi
30019
30020 if test -f $MICROWINDOWS/lib/libmwin.a; then
30021 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30022 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30023 else
30024 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30025 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30026 { (exit 1); exit 1; }; }
30027 fi
30028
30029 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30030 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30031
30032 wxUSE_UNIVERSAL="yes"
30033
30034 AFMINSTALL=afminstall
30035 TOOLKIT=MICROWIN
30036 GUIDIST=MICROWIN_DIST
30037
30038 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30039 fi
30040
30041 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30042 { echo "$as_me:$LINENO: checking for X" >&5
30043 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30044
30045
30046 # Check whether --with-x was given.
30047 if test "${with_x+set}" = set; then
30048 withval=$with_x;
30049 fi
30050
30051 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30052 if test "x$with_x" = xno; then
30053 # The user explicitly disabled X.
30054 have_x=disabled
30055 else
30056 case $x_includes,$x_libraries in #(
30057 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30058 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30059 { (exit 1); exit 1; }; };; #(
30060 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 else
30063 # One or both of the vars are not set, and there is no cached value.
30064 ac_x_includes=no ac_x_libraries=no
30065 rm -f -r conftest.dir
30066 if mkdir conftest.dir; then
30067 cd conftest.dir
30068 cat >Imakefile <<'_ACEOF'
30069 incroot:
30070 @echo incroot='${INCROOT}'
30071 usrlibdir:
30072 @echo usrlibdir='${USRLIBDIR}'
30073 libdir:
30074 @echo libdir='${LIBDIR}'
30075 _ACEOF
30076 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30077 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30078 for ac_var in incroot usrlibdir libdir; do
30079 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30080 done
30081 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30082 for ac_extension in a so sl; do
30083 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30084 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30085 ac_im_usrlibdir=$ac_im_libdir; break
30086 fi
30087 done
30088 # Screen out bogus values from the imake configuration. They are
30089 # bogus both because they are the default anyway, and because
30090 # using them would break gcc on systems where it needs fixed includes.
30091 case $ac_im_incroot in
30092 /usr/include) ac_x_includes= ;;
30093 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30094 esac
30095 case $ac_im_usrlibdir in
30096 /usr/lib | /lib) ;;
30097 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30098 esac
30099 fi
30100 cd ..
30101 rm -f -r conftest.dir
30102 fi
30103
30104 # Standard set of common directories for X headers.
30105 # Check X11 before X11Rn because it is often a symlink to the current release.
30106 ac_x_header_dirs='
30107 /usr/X11/include
30108 /usr/X11R6/include
30109 /usr/X11R5/include
30110 /usr/X11R4/include
30111
30112 /usr/include/X11
30113 /usr/include/X11R6
30114 /usr/include/X11R5
30115 /usr/include/X11R4
30116
30117 /usr/local/X11/include
30118 /usr/local/X11R6/include
30119 /usr/local/X11R5/include
30120 /usr/local/X11R4/include
30121
30122 /usr/local/include/X11
30123 /usr/local/include/X11R6
30124 /usr/local/include/X11R5
30125 /usr/local/include/X11R4
30126
30127 /usr/X386/include
30128 /usr/x386/include
30129 /usr/XFree86/include/X11
30130
30131 /usr/include
30132 /usr/local/include
30133 /usr/unsupported/include
30134 /usr/athena/include
30135 /usr/local/x11r5/include
30136 /usr/lpp/Xamples/include
30137
30138 /usr/openwin/include
30139 /usr/openwin/share/include'
30140
30141 if test "$ac_x_includes" = no; then
30142 # Guess where to find include files, by looking for Xlib.h.
30143 # First, try using that file with no special directory specified.
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 #include <X11/Xlib.h>
30151 _ACEOF
30152 if { (ac_try="$ac_cpp conftest.$ac_ext"
30153 case "(($ac_try" in
30154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30155 *) ac_try_echo=$ac_try;;
30156 esac
30157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30159 ac_status=$?
30160 grep -v '^ *+' conftest.er1 >conftest.err
30161 rm -f conftest.er1
30162 cat conftest.err >&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); } >/dev/null && {
30165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30166 test ! -s conftest.err
30167 }; then
30168 # We can compile using X headers with no special include directory.
30169 ac_x_includes=
30170 else
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30173
30174 for ac_dir in $ac_x_header_dirs; do
30175 if test -r "$ac_dir/X11/Xlib.h"; then
30176 ac_x_includes=$ac_dir
30177 break
30178 fi
30179 done
30180 fi
30181
30182 rm -f conftest.err conftest.$ac_ext
30183 fi # $ac_x_includes = no
30184
30185 if test "$ac_x_libraries" = no; then
30186 # Check for the libraries.
30187 # See if we find them without any special options.
30188 # Don't add to $LIBS permanently.
30189 ac_save_LIBS=$LIBS
30190 LIBS="-lX11 $LIBS"
30191 cat >conftest.$ac_ext <<_ACEOF
30192 /* confdefs.h. */
30193 _ACEOF
30194 cat confdefs.h >>conftest.$ac_ext
30195 cat >>conftest.$ac_ext <<_ACEOF
30196 /* end confdefs.h. */
30197 #include <X11/Xlib.h>
30198 int
30199 main ()
30200 {
30201 XrmInitialize ()
30202 ;
30203 return 0;
30204 }
30205 _ACEOF
30206 rm -f conftest.$ac_objext conftest$ac_exeext
30207 if { (ac_try="$ac_link"
30208 case "(($ac_try" in
30209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30210 *) ac_try_echo=$ac_try;;
30211 esac
30212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30213 (eval "$ac_link") 2>conftest.er1
30214 ac_status=$?
30215 grep -v '^ *+' conftest.er1 >conftest.err
30216 rm -f conftest.er1
30217 cat conftest.err >&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } && {
30220 test -z "$ac_c_werror_flag" ||
30221 test ! -s conftest.err
30222 } && test -s conftest$ac_exeext &&
30223 $as_test_x conftest$ac_exeext; then
30224 LIBS=$ac_save_LIBS
30225 # We can link X programs with no special library path.
30226 ac_x_libraries=
30227 else
30228 echo "$as_me: failed program was:" >&5
30229 sed 's/^/| /' conftest.$ac_ext >&5
30230
30231 LIBS=$ac_save_LIBS
30232 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30233 do
30234 # Don't even attempt the hair of trying to link an X program!
30235 for ac_extension in a so sl; do
30236 if test -r "$ac_dir/libX11.$ac_extension"; then
30237 ac_x_libraries=$ac_dir
30238 break 2
30239 fi
30240 done
30241 done
30242 fi
30243
30244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30245 conftest$ac_exeext conftest.$ac_ext
30246 fi # $ac_x_libraries = no
30247
30248 case $ac_x_includes,$ac_x_libraries in #(
30249 no,* | *,no | *\'*)
30250 # Didn't find X, or a directory has "'" in its name.
30251 ac_cv_have_x="have_x=no";; #(
30252 *)
30253 # Record where we found X for the cache.
30254 ac_cv_have_x="have_x=yes\
30255 ac_x_includes='$ac_x_includes'\
30256 ac_x_libraries='$ac_x_libraries'"
30257 esac
30258 fi
30259 ;; #(
30260 *) have_x=yes;;
30261 esac
30262 eval "$ac_cv_have_x"
30263 fi # $with_x != no
30264
30265 if test "$have_x" != yes; then
30266 { echo "$as_me:$LINENO: result: $have_x" >&5
30267 echo "${ECHO_T}$have_x" >&6; }
30268 no_x=yes
30269 else
30270 # If each of the values was on the command line, it overrides each guess.
30271 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30272 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30273 # Update the cache value to reflect the command line values.
30274 ac_cv_have_x="have_x=yes\
30275 ac_x_includes='$x_includes'\
30276 ac_x_libraries='$x_libraries'"
30277 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30278 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30279 fi
30280
30281 if test "$no_x" = yes; then
30282 # Not all programs may use this symbol, but it does not hurt to define it.
30283
30284 cat >>confdefs.h <<\_ACEOF
30285 #define X_DISPLAY_MISSING 1
30286 _ACEOF
30287
30288 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30289 else
30290 if test -n "$x_includes"; then
30291 X_CFLAGS="$X_CFLAGS -I$x_includes"
30292 fi
30293
30294 # It would also be nice to do this for all -L options, not just this one.
30295 if test -n "$x_libraries"; then
30296 X_LIBS="$X_LIBS -L$x_libraries"
30297 # For Solaris; some versions of Sun CC require a space after -R and
30298 # others require no space. Words are not sufficient . . . .
30299 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30300 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30301 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30302 ac_xsave_c_werror_flag=$ac_c_werror_flag
30303 ac_c_werror_flag=yes
30304 cat >conftest.$ac_ext <<_ACEOF
30305 /* confdefs.h. */
30306 _ACEOF
30307 cat confdefs.h >>conftest.$ac_ext
30308 cat >>conftest.$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30310
30311 int
30312 main ()
30313 {
30314
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 rm -f conftest.$ac_objext conftest$ac_exeext
30320 if { (ac_try="$ac_link"
30321 case "(($ac_try" in
30322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30323 *) ac_try_echo=$ac_try;;
30324 esac
30325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30326 (eval "$ac_link") 2>conftest.er1
30327 ac_status=$?
30328 grep -v '^ *+' conftest.er1 >conftest.err
30329 rm -f conftest.er1
30330 cat conftest.err >&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); } && {
30333 test -z "$ac_c_werror_flag" ||
30334 test ! -s conftest.err
30335 } && test -s conftest$ac_exeext &&
30336 $as_test_x conftest$ac_exeext; then
30337 { echo "$as_me:$LINENO: result: no" >&5
30338 echo "${ECHO_T}no" >&6; }
30339 X_LIBS="$X_LIBS -R$x_libraries"
30340 else
30341 echo "$as_me: failed program was:" >&5
30342 sed 's/^/| /' conftest.$ac_ext >&5
30343
30344 LIBS="$ac_xsave_LIBS -R $x_libraries"
30345 cat >conftest.$ac_ext <<_ACEOF
30346 /* confdefs.h. */
30347 _ACEOF
30348 cat confdefs.h >>conftest.$ac_ext
30349 cat >>conftest.$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30351
30352 int
30353 main ()
30354 {
30355
30356 ;
30357 return 0;
30358 }
30359 _ACEOF
30360 rm -f conftest.$ac_objext conftest$ac_exeext
30361 if { (ac_try="$ac_link"
30362 case "(($ac_try" in
30363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30364 *) ac_try_echo=$ac_try;;
30365 esac
30366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30367 (eval "$ac_link") 2>conftest.er1
30368 ac_status=$?
30369 grep -v '^ *+' conftest.er1 >conftest.err
30370 rm -f conftest.er1
30371 cat conftest.err >&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } && {
30374 test -z "$ac_c_werror_flag" ||
30375 test ! -s conftest.err
30376 } && test -s conftest$ac_exeext &&
30377 $as_test_x conftest$ac_exeext; then
30378 { echo "$as_me:$LINENO: result: yes" >&5
30379 echo "${ECHO_T}yes" >&6; }
30380 X_LIBS="$X_LIBS -R $x_libraries"
30381 else
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.$ac_ext >&5
30384
30385 { echo "$as_me:$LINENO: result: neither works" >&5
30386 echo "${ECHO_T}neither works" >&6; }
30387 fi
30388
30389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30390 conftest$ac_exeext conftest.$ac_ext
30391 fi
30392
30393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30394 conftest$ac_exeext conftest.$ac_ext
30395 ac_c_werror_flag=$ac_xsave_c_werror_flag
30396 LIBS=$ac_xsave_LIBS
30397 fi
30398
30399 # Check for system-dependent libraries X programs must link with.
30400 # Do this before checking for the system-independent R6 libraries
30401 # (-lICE), since we may need -lsocket or whatever for X linking.
30402
30403 if test "$ISC" = yes; then
30404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30405 else
30406 # Martyn Johnson says this is needed for Ultrix, if the X
30407 # libraries were built with DECnet support. And Karl Berry says
30408 # the Alpha needs dnet_stub (dnet does not exist).
30409 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30410 cat >conftest.$ac_ext <<_ACEOF
30411 /* confdefs.h. */
30412 _ACEOF
30413 cat confdefs.h >>conftest.$ac_ext
30414 cat >>conftest.$ac_ext <<_ACEOF
30415 /* end confdefs.h. */
30416
30417 /* Override any GCC internal prototype to avoid an error.
30418 Use char because int might match the return type of a GCC
30419 builtin and then its argument prototype would still apply. */
30420 #ifdef __cplusplus
30421 extern "C"
30422 #endif
30423 char XOpenDisplay ();
30424 int
30425 main ()
30426 {
30427 return XOpenDisplay ();
30428 ;
30429 return 0;
30430 }
30431 _ACEOF
30432 rm -f conftest.$ac_objext conftest$ac_exeext
30433 if { (ac_try="$ac_link"
30434 case "(($ac_try" in
30435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30436 *) ac_try_echo=$ac_try;;
30437 esac
30438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30439 (eval "$ac_link") 2>conftest.er1
30440 ac_status=$?
30441 grep -v '^ *+' conftest.er1 >conftest.err
30442 rm -f conftest.er1
30443 cat conftest.err >&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); } && {
30446 test -z "$ac_c_werror_flag" ||
30447 test ! -s conftest.err
30448 } && test -s conftest$ac_exeext &&
30449 $as_test_x conftest$ac_exeext; then
30450 :
30451 else
30452 echo "$as_me: failed program was:" >&5
30453 sed 's/^/| /' conftest.$ac_ext >&5
30454
30455 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30456 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30457 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30458 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 else
30460 ac_check_lib_save_LIBS=$LIBS
30461 LIBS="-ldnet $LIBS"
30462 cat >conftest.$ac_ext <<_ACEOF
30463 /* confdefs.h. */
30464 _ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468
30469 /* Override any GCC internal prototype to avoid an error.
30470 Use char because int might match the return type of a GCC
30471 builtin and then its argument prototype would still apply. */
30472 #ifdef __cplusplus
30473 extern "C"
30474 #endif
30475 char dnet_ntoa ();
30476 int
30477 main ()
30478 {
30479 return dnet_ntoa ();
30480 ;
30481 return 0;
30482 }
30483 _ACEOF
30484 rm -f conftest.$ac_objext conftest$ac_exeext
30485 if { (ac_try="$ac_link"
30486 case "(($ac_try" in
30487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30488 *) ac_try_echo=$ac_try;;
30489 esac
30490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30491 (eval "$ac_link") 2>conftest.er1
30492 ac_status=$?
30493 grep -v '^ *+' conftest.er1 >conftest.err
30494 rm -f conftest.er1
30495 cat conftest.err >&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } && {
30498 test -z "$ac_c_werror_flag" ||
30499 test ! -s conftest.err
30500 } && test -s conftest$ac_exeext &&
30501 $as_test_x conftest$ac_exeext; then
30502 ac_cv_lib_dnet_dnet_ntoa=yes
30503 else
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.$ac_ext >&5
30506
30507 ac_cv_lib_dnet_dnet_ntoa=no
30508 fi
30509
30510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30511 conftest$ac_exeext conftest.$ac_ext
30512 LIBS=$ac_check_lib_save_LIBS
30513 fi
30514 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30515 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30516 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30517 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30518 fi
30519
30520 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30521 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30522 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30523 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30526 ac_check_lib_save_LIBS=$LIBS
30527 LIBS="-ldnet_stub $LIBS"
30528 cat >conftest.$ac_ext <<_ACEOF
30529 /* confdefs.h. */
30530 _ACEOF
30531 cat confdefs.h >>conftest.$ac_ext
30532 cat >>conftest.$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
30534
30535 /* Override any GCC internal prototype to avoid an error.
30536 Use char because int might match the return type of a GCC
30537 builtin and then its argument prototype would still apply. */
30538 #ifdef __cplusplus
30539 extern "C"
30540 #endif
30541 char dnet_ntoa ();
30542 int
30543 main ()
30544 {
30545 return dnet_ntoa ();
30546 ;
30547 return 0;
30548 }
30549 _ACEOF
30550 rm -f conftest.$ac_objext conftest$ac_exeext
30551 if { (ac_try="$ac_link"
30552 case "(($ac_try" in
30553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30554 *) ac_try_echo=$ac_try;;
30555 esac
30556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30557 (eval "$ac_link") 2>conftest.er1
30558 ac_status=$?
30559 grep -v '^ *+' conftest.er1 >conftest.err
30560 rm -f conftest.er1
30561 cat conftest.err >&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } && {
30564 test -z "$ac_c_werror_flag" ||
30565 test ! -s conftest.err
30566 } && test -s conftest$ac_exeext &&
30567 $as_test_x conftest$ac_exeext; then
30568 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30569 else
30570 echo "$as_me: failed program was:" >&5
30571 sed 's/^/| /' conftest.$ac_ext >&5
30572
30573 ac_cv_lib_dnet_stub_dnet_ntoa=no
30574 fi
30575
30576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30577 conftest$ac_exeext conftest.$ac_ext
30578 LIBS=$ac_check_lib_save_LIBS
30579 fi
30580 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30581 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30582 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30583 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30584 fi
30585
30586 fi
30587 fi
30588
30589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30590 conftest$ac_exeext conftest.$ac_ext
30591 LIBS="$ac_xsave_LIBS"
30592
30593 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30594 # to get the SysV transport functions.
30595 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30596 # needs -lnsl.
30597 # The nsl library prevents programs from opening the X display
30598 # on Irix 5.2, according to T.E. Dickey.
30599 # The functions gethostbyname, getservbyname, and inet_addr are
30600 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30601 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30602 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30603 if test "${ac_cv_func_gethostbyname+set}" = set; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 else
30606 cat >conftest.$ac_ext <<_ACEOF
30607 /* confdefs.h. */
30608 _ACEOF
30609 cat confdefs.h >>conftest.$ac_ext
30610 cat >>conftest.$ac_ext <<_ACEOF
30611 /* end confdefs.h. */
30612 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30614 #define gethostbyname innocuous_gethostbyname
30615
30616 /* System header to define __stub macros and hopefully few prototypes,
30617 which can conflict with char gethostbyname (); below.
30618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30619 <limits.h> exists even on freestanding compilers. */
30620
30621 #ifdef __STDC__
30622 # include <limits.h>
30623 #else
30624 # include <assert.h>
30625 #endif
30626
30627 #undef gethostbyname
30628
30629 /* Override any GCC internal prototype to avoid an error.
30630 Use char because int might match the return type of a GCC
30631 builtin and then its argument prototype would still apply. */
30632 #ifdef __cplusplus
30633 extern "C"
30634 #endif
30635 char gethostbyname ();
30636 /* The GNU C library defines this for functions which it implements
30637 to always fail with ENOSYS. Some functions are actually named
30638 something starting with __ and the normal name is an alias. */
30639 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30640 choke me
30641 #endif
30642
30643 int
30644 main ()
30645 {
30646 return gethostbyname ();
30647 ;
30648 return 0;
30649 }
30650 _ACEOF
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (ac_try="$ac_link"
30653 case "(($ac_try" in
30654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30655 *) ac_try_echo=$ac_try;;
30656 esac
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658 (eval "$ac_link") 2>conftest.er1
30659 ac_status=$?
30660 grep -v '^ *+' conftest.er1 >conftest.err
30661 rm -f conftest.er1
30662 cat conftest.err >&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } && {
30665 test -z "$ac_c_werror_flag" ||
30666 test ! -s conftest.err
30667 } && test -s conftest$ac_exeext &&
30668 $as_test_x conftest$ac_exeext; then
30669 ac_cv_func_gethostbyname=yes
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 ac_cv_func_gethostbyname=no
30675 fi
30676
30677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30678 conftest$ac_exeext conftest.$ac_ext
30679 fi
30680 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30681 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30682
30683 if test $ac_cv_func_gethostbyname = no; then
30684 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30685 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30686 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30687 echo $ECHO_N "(cached) $ECHO_C" >&6
30688 else
30689 ac_check_lib_save_LIBS=$LIBS
30690 LIBS="-lnsl $LIBS"
30691 cat >conftest.$ac_ext <<_ACEOF
30692 /* confdefs.h. */
30693 _ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697
30698 /* Override any GCC internal prototype to avoid an error.
30699 Use char because int might match the return type of a GCC
30700 builtin and then its argument prototype would still apply. */
30701 #ifdef __cplusplus
30702 extern "C"
30703 #endif
30704 char gethostbyname ();
30705 int
30706 main ()
30707 {
30708 return gethostbyname ();
30709 ;
30710 return 0;
30711 }
30712 _ACEOF
30713 rm -f conftest.$ac_objext conftest$ac_exeext
30714 if { (ac_try="$ac_link"
30715 case "(($ac_try" in
30716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30717 *) ac_try_echo=$ac_try;;
30718 esac
30719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30720 (eval "$ac_link") 2>conftest.er1
30721 ac_status=$?
30722 grep -v '^ *+' conftest.er1 >conftest.err
30723 rm -f conftest.er1
30724 cat conftest.err >&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } && {
30727 test -z "$ac_c_werror_flag" ||
30728 test ! -s conftest.err
30729 } && test -s conftest$ac_exeext &&
30730 $as_test_x conftest$ac_exeext; then
30731 ac_cv_lib_nsl_gethostbyname=yes
30732 else
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.$ac_ext >&5
30735
30736 ac_cv_lib_nsl_gethostbyname=no
30737 fi
30738
30739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30740 conftest$ac_exeext conftest.$ac_ext
30741 LIBS=$ac_check_lib_save_LIBS
30742 fi
30743 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30744 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30745 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30746 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30747 fi
30748
30749 if test $ac_cv_lib_nsl_gethostbyname = no; then
30750 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30751 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30752 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30753 echo $ECHO_N "(cached) $ECHO_C" >&6
30754 else
30755 ac_check_lib_save_LIBS=$LIBS
30756 LIBS="-lbsd $LIBS"
30757 cat >conftest.$ac_ext <<_ACEOF
30758 /* confdefs.h. */
30759 _ACEOF
30760 cat confdefs.h >>conftest.$ac_ext
30761 cat >>conftest.$ac_ext <<_ACEOF
30762 /* end confdefs.h. */
30763
30764 /* Override any GCC internal prototype to avoid an error.
30765 Use char because int might match the return type of a GCC
30766 builtin and then its argument prototype would still apply. */
30767 #ifdef __cplusplus
30768 extern "C"
30769 #endif
30770 char gethostbyname ();
30771 int
30772 main ()
30773 {
30774 return gethostbyname ();
30775 ;
30776 return 0;
30777 }
30778 _ACEOF
30779 rm -f conftest.$ac_objext conftest$ac_exeext
30780 if { (ac_try="$ac_link"
30781 case "(($ac_try" in
30782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30783 *) ac_try_echo=$ac_try;;
30784 esac
30785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30786 (eval "$ac_link") 2>conftest.er1
30787 ac_status=$?
30788 grep -v '^ *+' conftest.er1 >conftest.err
30789 rm -f conftest.er1
30790 cat conftest.err >&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } && {
30793 test -z "$ac_c_werror_flag" ||
30794 test ! -s conftest.err
30795 } && test -s conftest$ac_exeext &&
30796 $as_test_x conftest$ac_exeext; then
30797 ac_cv_lib_bsd_gethostbyname=yes
30798 else
30799 echo "$as_me: failed program was:" >&5
30800 sed 's/^/| /' conftest.$ac_ext >&5
30801
30802 ac_cv_lib_bsd_gethostbyname=no
30803 fi
30804
30805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30806 conftest$ac_exeext conftest.$ac_ext
30807 LIBS=$ac_check_lib_save_LIBS
30808 fi
30809 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30810 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30811 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30813 fi
30814
30815 fi
30816 fi
30817
30818 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30819 # socket/setsockopt and other routines are undefined under SCO ODT
30820 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30821 # on later versions), says Simon Leinen: it contains gethostby*
30822 # variants that don't use the name server (or something). -lsocket
30823 # must be given before -lnsl if both are needed. We assume that
30824 # if connect needs -lnsl, so does gethostbyname.
30825 { echo "$as_me:$LINENO: checking for connect" >&5
30826 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30827 if test "${ac_cv_func_connect+set}" = set; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 else
30830 cat >conftest.$ac_ext <<_ACEOF
30831 /* confdefs.h. */
30832 _ACEOF
30833 cat confdefs.h >>conftest.$ac_ext
30834 cat >>conftest.$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30836 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30838 #define connect innocuous_connect
30839
30840 /* System header to define __stub macros and hopefully few prototypes,
30841 which can conflict with char connect (); below.
30842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30843 <limits.h> exists even on freestanding compilers. */
30844
30845 #ifdef __STDC__
30846 # include <limits.h>
30847 #else
30848 # include <assert.h>
30849 #endif
30850
30851 #undef connect
30852
30853 /* Override any GCC internal prototype to avoid an error.
30854 Use char because int might match the return type of a GCC
30855 builtin and then its argument prototype would still apply. */
30856 #ifdef __cplusplus
30857 extern "C"
30858 #endif
30859 char connect ();
30860 /* The GNU C library defines this for functions which it implements
30861 to always fail with ENOSYS. Some functions are actually named
30862 something starting with __ and the normal name is an alias. */
30863 #if defined __stub_connect || defined __stub___connect
30864 choke me
30865 #endif
30866
30867 int
30868 main ()
30869 {
30870 return connect ();
30871 ;
30872 return 0;
30873 }
30874 _ACEOF
30875 rm -f conftest.$ac_objext conftest$ac_exeext
30876 if { (ac_try="$ac_link"
30877 case "(($ac_try" in
30878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30880 esac
30881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_link") 2>conftest.er1
30883 ac_status=$?
30884 grep -v '^ *+' conftest.er1 >conftest.err
30885 rm -f conftest.er1
30886 cat conftest.err >&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); } && {
30889 test -z "$ac_c_werror_flag" ||
30890 test ! -s conftest.err
30891 } && test -s conftest$ac_exeext &&
30892 $as_test_x conftest$ac_exeext; then
30893 ac_cv_func_connect=yes
30894 else
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.$ac_ext >&5
30897
30898 ac_cv_func_connect=no
30899 fi
30900
30901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30902 conftest$ac_exeext conftest.$ac_ext
30903 fi
30904 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30905 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30906
30907 if test $ac_cv_func_connect = no; then
30908 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30909 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30910 if test "${ac_cv_lib_socket_connect+set}" = set; then
30911 echo $ECHO_N "(cached) $ECHO_C" >&6
30912 else
30913 ac_check_lib_save_LIBS=$LIBS
30914 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30915 cat >conftest.$ac_ext <<_ACEOF
30916 /* confdefs.h. */
30917 _ACEOF
30918 cat confdefs.h >>conftest.$ac_ext
30919 cat >>conftest.$ac_ext <<_ACEOF
30920 /* end confdefs.h. */
30921
30922 /* Override any GCC internal prototype to avoid an error.
30923 Use char because int might match the return type of a GCC
30924 builtin and then its argument prototype would still apply. */
30925 #ifdef __cplusplus
30926 extern "C"
30927 #endif
30928 char connect ();
30929 int
30930 main ()
30931 {
30932 return connect ();
30933 ;
30934 return 0;
30935 }
30936 _ACEOF
30937 rm -f conftest.$ac_objext conftest$ac_exeext
30938 if { (ac_try="$ac_link"
30939 case "(($ac_try" in
30940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30941 *) ac_try_echo=$ac_try;;
30942 esac
30943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30944 (eval "$ac_link") 2>conftest.er1
30945 ac_status=$?
30946 grep -v '^ *+' conftest.er1 >conftest.err
30947 rm -f conftest.er1
30948 cat conftest.err >&5
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); } && {
30951 test -z "$ac_c_werror_flag" ||
30952 test ! -s conftest.err
30953 } && test -s conftest$ac_exeext &&
30954 $as_test_x conftest$ac_exeext; then
30955 ac_cv_lib_socket_connect=yes
30956 else
30957 echo "$as_me: failed program was:" >&5
30958 sed 's/^/| /' conftest.$ac_ext >&5
30959
30960 ac_cv_lib_socket_connect=no
30961 fi
30962
30963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30964 conftest$ac_exeext conftest.$ac_ext
30965 LIBS=$ac_check_lib_save_LIBS
30966 fi
30967 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30968 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30969 if test $ac_cv_lib_socket_connect = yes; then
30970 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30971 fi
30972
30973 fi
30974
30975 # Guillermo Gomez says -lposix is necessary on A/UX.
30976 { echo "$as_me:$LINENO: checking for remove" >&5
30977 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30978 if test "${ac_cv_func_remove+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 else
30981 cat >conftest.$ac_ext <<_ACEOF
30982 /* confdefs.h. */
30983 _ACEOF
30984 cat confdefs.h >>conftest.$ac_ext
30985 cat >>conftest.$ac_ext <<_ACEOF
30986 /* end confdefs.h. */
30987 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30989 #define remove innocuous_remove
30990
30991 /* System header to define __stub macros and hopefully few prototypes,
30992 which can conflict with char remove (); below.
30993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30994 <limits.h> exists even on freestanding compilers. */
30995
30996 #ifdef __STDC__
30997 # include <limits.h>
30998 #else
30999 # include <assert.h>
31000 #endif
31001
31002 #undef remove
31003
31004 /* Override any GCC internal prototype to avoid an error.
31005 Use char because int might match the return type of a GCC
31006 builtin and then its argument prototype would still apply. */
31007 #ifdef __cplusplus
31008 extern "C"
31009 #endif
31010 char remove ();
31011 /* The GNU C library defines this for functions which it implements
31012 to always fail with ENOSYS. Some functions are actually named
31013 something starting with __ and the normal name is an alias. */
31014 #if defined __stub_remove || defined __stub___remove
31015 choke me
31016 #endif
31017
31018 int
31019 main ()
31020 {
31021 return remove ();
31022 ;
31023 return 0;
31024 }
31025 _ACEOF
31026 rm -f conftest.$ac_objext conftest$ac_exeext
31027 if { (ac_try="$ac_link"
31028 case "(($ac_try" in
31029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31030 *) ac_try_echo=$ac_try;;
31031 esac
31032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31033 (eval "$ac_link") 2>conftest.er1
31034 ac_status=$?
31035 grep -v '^ *+' conftest.er1 >conftest.err
31036 rm -f conftest.er1
31037 cat conftest.err >&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } && {
31040 test -z "$ac_c_werror_flag" ||
31041 test ! -s conftest.err
31042 } && test -s conftest$ac_exeext &&
31043 $as_test_x conftest$ac_exeext; then
31044 ac_cv_func_remove=yes
31045 else
31046 echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.$ac_ext >&5
31048
31049 ac_cv_func_remove=no
31050 fi
31051
31052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31053 conftest$ac_exeext conftest.$ac_ext
31054 fi
31055 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31056 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31057
31058 if test $ac_cv_func_remove = no; then
31059 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31060 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31061 if test "${ac_cv_lib_posix_remove+set}" = set; then
31062 echo $ECHO_N "(cached) $ECHO_C" >&6
31063 else
31064 ac_check_lib_save_LIBS=$LIBS
31065 LIBS="-lposix $LIBS"
31066 cat >conftest.$ac_ext <<_ACEOF
31067 /* confdefs.h. */
31068 _ACEOF
31069 cat confdefs.h >>conftest.$ac_ext
31070 cat >>conftest.$ac_ext <<_ACEOF
31071 /* end confdefs.h. */
31072
31073 /* Override any GCC internal prototype to avoid an error.
31074 Use char because int might match the return type of a GCC
31075 builtin and then its argument prototype would still apply. */
31076 #ifdef __cplusplus
31077 extern "C"
31078 #endif
31079 char remove ();
31080 int
31081 main ()
31082 {
31083 return remove ();
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext conftest$ac_exeext
31089 if { (ac_try="$ac_link"
31090 case "(($ac_try" in
31091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31092 *) ac_try_echo=$ac_try;;
31093 esac
31094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31095 (eval "$ac_link") 2>conftest.er1
31096 ac_status=$?
31097 grep -v '^ *+' conftest.er1 >conftest.err
31098 rm -f conftest.er1
31099 cat conftest.err >&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } && {
31102 test -z "$ac_c_werror_flag" ||
31103 test ! -s conftest.err
31104 } && test -s conftest$ac_exeext &&
31105 $as_test_x conftest$ac_exeext; then
31106 ac_cv_lib_posix_remove=yes
31107 else
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.$ac_ext >&5
31110
31111 ac_cv_lib_posix_remove=no
31112 fi
31113
31114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31115 conftest$ac_exeext conftest.$ac_ext
31116 LIBS=$ac_check_lib_save_LIBS
31117 fi
31118 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31119 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31120 if test $ac_cv_lib_posix_remove = yes; then
31121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31122 fi
31123
31124 fi
31125
31126 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31127 { echo "$as_me:$LINENO: checking for shmat" >&5
31128 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31129 if test "${ac_cv_func_shmat+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31131 else
31132 cat >conftest.$ac_ext <<_ACEOF
31133 /* confdefs.h. */
31134 _ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31138 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31140 #define shmat innocuous_shmat
31141
31142 /* System header to define __stub macros and hopefully few prototypes,
31143 which can conflict with char shmat (); below.
31144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31145 <limits.h> exists even on freestanding compilers. */
31146
31147 #ifdef __STDC__
31148 # include <limits.h>
31149 #else
31150 # include <assert.h>
31151 #endif
31152
31153 #undef shmat
31154
31155 /* Override any GCC internal prototype to avoid an error.
31156 Use char because int might match the return type of a GCC
31157 builtin and then its argument prototype would still apply. */
31158 #ifdef __cplusplus
31159 extern "C"
31160 #endif
31161 char shmat ();
31162 /* The GNU C library defines this for functions which it implements
31163 to always fail with ENOSYS. Some functions are actually named
31164 something starting with __ and the normal name is an alias. */
31165 #if defined __stub_shmat || defined __stub___shmat
31166 choke me
31167 #endif
31168
31169 int
31170 main ()
31171 {
31172 return shmat ();
31173 ;
31174 return 0;
31175 }
31176 _ACEOF
31177 rm -f conftest.$ac_objext conftest$ac_exeext
31178 if { (ac_try="$ac_link"
31179 case "(($ac_try" in
31180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31181 *) ac_try_echo=$ac_try;;
31182 esac
31183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31184 (eval "$ac_link") 2>conftest.er1
31185 ac_status=$?
31186 grep -v '^ *+' conftest.er1 >conftest.err
31187 rm -f conftest.er1
31188 cat conftest.err >&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); } && {
31191 test -z "$ac_c_werror_flag" ||
31192 test ! -s conftest.err
31193 } && test -s conftest$ac_exeext &&
31194 $as_test_x conftest$ac_exeext; then
31195 ac_cv_func_shmat=yes
31196 else
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.$ac_ext >&5
31199
31200 ac_cv_func_shmat=no
31201 fi
31202
31203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31204 conftest$ac_exeext conftest.$ac_ext
31205 fi
31206 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31207 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31208
31209 if test $ac_cv_func_shmat = no; then
31210 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31211 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31212 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31213 echo $ECHO_N "(cached) $ECHO_C" >&6
31214 else
31215 ac_check_lib_save_LIBS=$LIBS
31216 LIBS="-lipc $LIBS"
31217 cat >conftest.$ac_ext <<_ACEOF
31218 /* confdefs.h. */
31219 _ACEOF
31220 cat confdefs.h >>conftest.$ac_ext
31221 cat >>conftest.$ac_ext <<_ACEOF
31222 /* end confdefs.h. */
31223
31224 /* Override any GCC internal prototype to avoid an error.
31225 Use char because int might match the return type of a GCC
31226 builtin and then its argument prototype would still apply. */
31227 #ifdef __cplusplus
31228 extern "C"
31229 #endif
31230 char shmat ();
31231 int
31232 main ()
31233 {
31234 return shmat ();
31235 ;
31236 return 0;
31237 }
31238 _ACEOF
31239 rm -f conftest.$ac_objext conftest$ac_exeext
31240 if { (ac_try="$ac_link"
31241 case "(($ac_try" in
31242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31243 *) ac_try_echo=$ac_try;;
31244 esac
31245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31246 (eval "$ac_link") 2>conftest.er1
31247 ac_status=$?
31248 grep -v '^ *+' conftest.er1 >conftest.err
31249 rm -f conftest.er1
31250 cat conftest.err >&5
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } && {
31253 test -z "$ac_c_werror_flag" ||
31254 test ! -s conftest.err
31255 } && test -s conftest$ac_exeext &&
31256 $as_test_x conftest$ac_exeext; then
31257 ac_cv_lib_ipc_shmat=yes
31258 else
31259 echo "$as_me: failed program was:" >&5
31260 sed 's/^/| /' conftest.$ac_ext >&5
31261
31262 ac_cv_lib_ipc_shmat=no
31263 fi
31264
31265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31266 conftest$ac_exeext conftest.$ac_ext
31267 LIBS=$ac_check_lib_save_LIBS
31268 fi
31269 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31270 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31271 if test $ac_cv_lib_ipc_shmat = yes; then
31272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31273 fi
31274
31275 fi
31276 fi
31277
31278 # Check for libraries that X11R6 Xt/Xaw programs need.
31279 ac_save_LDFLAGS=$LDFLAGS
31280 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31281 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31282 # check for ICE first), but we must link in the order -lSM -lICE or
31283 # we get undefined symbols. So assume we have SM if we have ICE.
31284 # These have to be linked with before -lX11, unlike the other
31285 # libraries we check for below, so use a different variable.
31286 # John Interrante, Karl Berry
31287 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31288 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31289 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 else
31292 ac_check_lib_save_LIBS=$LIBS
31293 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31294 cat >conftest.$ac_ext <<_ACEOF
31295 /* confdefs.h. */
31296 _ACEOF
31297 cat confdefs.h >>conftest.$ac_ext
31298 cat >>conftest.$ac_ext <<_ACEOF
31299 /* end confdefs.h. */
31300
31301 /* Override any GCC internal prototype to avoid an error.
31302 Use char because int might match the return type of a GCC
31303 builtin and then its argument prototype would still apply. */
31304 #ifdef __cplusplus
31305 extern "C"
31306 #endif
31307 char IceConnectionNumber ();
31308 int
31309 main ()
31310 {
31311 return IceConnectionNumber ();
31312 ;
31313 return 0;
31314 }
31315 _ACEOF
31316 rm -f conftest.$ac_objext conftest$ac_exeext
31317 if { (ac_try="$ac_link"
31318 case "(($ac_try" in
31319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31320 *) ac_try_echo=$ac_try;;
31321 esac
31322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31323 (eval "$ac_link") 2>conftest.er1
31324 ac_status=$?
31325 grep -v '^ *+' conftest.er1 >conftest.err
31326 rm -f conftest.er1
31327 cat conftest.err >&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } && {
31330 test -z "$ac_c_werror_flag" ||
31331 test ! -s conftest.err
31332 } && test -s conftest$ac_exeext &&
31333 $as_test_x conftest$ac_exeext; then
31334 ac_cv_lib_ICE_IceConnectionNumber=yes
31335 else
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.$ac_ext >&5
31338
31339 ac_cv_lib_ICE_IceConnectionNumber=no
31340 fi
31341
31342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31343 conftest$ac_exeext conftest.$ac_ext
31344 LIBS=$ac_check_lib_save_LIBS
31345 fi
31346 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31347 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31348 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31349 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31350 fi
31351
31352 LDFLAGS=$ac_save_LDFLAGS
31353
31354 fi
31355
31356
31357 if test "$no_x" = "yes"; then
31358 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31359 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31360 { (exit 1); exit 1; }; }
31361 fi
31362
31363 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31364 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31365 AFMINSTALL=afminstall
31366 COMPILED_X_PROGRAM=0
31367
31368 fi
31369
31370 if test "$wxUSE_X11" = 1; then
31371 if test "$wxUSE_NANOX" = "yes"; then
31372 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31373 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31374 if test "x$MICROWIN" = x ; then
31375 { echo "$as_me:$LINENO: result: not found" >&5
31376 echo "${ECHO_T}not found" >&6; }
31377 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31378 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31379 { (exit 1); exit 1; }; }
31380 else
31381 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31382 echo "${ECHO_T}$MICROWIN" >&6; }
31383 cat >>confdefs.h <<\_ACEOF
31384 #define wxUSE_NANOX 1
31385 _ACEOF
31386
31387 fi
31388 fi
31389
31390 if test "$wxUSE_UNICODE" = "yes"; then
31391
31392
31393 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31394 if test -n "$ac_tool_prefix"; then
31395 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31396 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31400 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 else
31402 case $PKG_CONFIG in
31403 [\\/]* | ?:[\\/]*)
31404 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31405 ;;
31406 *)
31407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31408 for as_dir in $PATH
31409 do
31410 IFS=$as_save_IFS
31411 test -z "$as_dir" && as_dir=.
31412 for ac_exec_ext in '' $ac_executable_extensions; do
31413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31414 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31416 break 2
31417 fi
31418 done
31419 done
31420 IFS=$as_save_IFS
31421
31422 ;;
31423 esac
31424 fi
31425 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31426 if test -n "$PKG_CONFIG"; then
31427 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31428 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31429 else
31430 { echo "$as_me:$LINENO: result: no" >&5
31431 echo "${ECHO_T}no" >&6; }
31432 fi
31433
31434
31435 fi
31436 if test -z "$ac_cv_path_PKG_CONFIG"; then
31437 ac_pt_PKG_CONFIG=$PKG_CONFIG
31438 # Extract the first word of "pkg-config", so it can be a program name with args.
31439 set dummy pkg-config; ac_word=$2
31440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31442 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445 case $ac_pt_PKG_CONFIG in
31446 [\\/]* | ?:[\\/]*)
31447 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31448 ;;
31449 *)
31450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31451 for as_dir in $PATH
31452 do
31453 IFS=$as_save_IFS
31454 test -z "$as_dir" && as_dir=.
31455 for ac_exec_ext in '' $ac_executable_extensions; do
31456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31457 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31459 break 2
31460 fi
31461 done
31462 done
31463 IFS=$as_save_IFS
31464
31465 ;;
31466 esac
31467 fi
31468 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31469 if test -n "$ac_pt_PKG_CONFIG"; then
31470 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31471 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31472 else
31473 { echo "$as_me:$LINENO: result: no" >&5
31474 echo "${ECHO_T}no" >&6; }
31475 fi
31476
31477 if test "x$ac_pt_PKG_CONFIG" = x; then
31478 PKG_CONFIG=""
31479 else
31480 case $cross_compiling:$ac_tool_warned in
31481 yes:)
31482 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31483 whose name does not start with the host triplet. If you think this
31484 configuration is useful to you, please write to autoconf@gnu.org." >&5
31485 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31486 whose name does not start with the host triplet. If you think this
31487 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31488 ac_tool_warned=yes ;;
31489 esac
31490 PKG_CONFIG=$ac_pt_PKG_CONFIG
31491 fi
31492 else
31493 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31494 fi
31495
31496 fi
31497 if test -n "$PKG_CONFIG"; then
31498 _pkg_min_version=0.9.0
31499 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31500 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31501 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31502 { echo "$as_me:$LINENO: result: yes" >&5
31503 echo "${ECHO_T}yes" >&6; }
31504 else
31505 { echo "$as_me:$LINENO: result: no" >&5
31506 echo "${ECHO_T}no" >&6; }
31507 PKG_CONFIG=""
31508 fi
31509
31510 fi
31511
31512
31513 pkg_failed=no
31514 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31515 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31516
31517 if test -n "$PKG_CONFIG"; then
31518 if test -n "$PANGOX_CFLAGS"; then
31519 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31520 else
31521 if test -n "$PKG_CONFIG" && \
31522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31523 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31524 ac_status=$?
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); }; then
31527 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31528 else
31529 pkg_failed=yes
31530 fi
31531 fi
31532 else
31533 pkg_failed=untried
31534 fi
31535 if test -n "$PKG_CONFIG"; then
31536 if test -n "$PANGOX_LIBS"; then
31537 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31538 else
31539 if test -n "$PKG_CONFIG" && \
31540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31541 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31542 ac_status=$?
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; then
31545 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31546 else
31547 pkg_failed=yes
31548 fi
31549 fi
31550 else
31551 pkg_failed=untried
31552 fi
31553
31554
31555
31556 if test $pkg_failed = yes; then
31557
31558 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31559 _pkg_short_errors_supported=yes
31560 else
31561 _pkg_short_errors_supported=no
31562 fi
31563 if test $_pkg_short_errors_supported = yes; then
31564 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31565 else
31566 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31567 fi
31568 # Put the nasty error message in config.log where it belongs
31569 echo "$PANGOX_PKG_ERRORS" >&5
31570
31571
31572 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31573 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31574 { (exit 1); exit 1; }; }
31575
31576
31577 elif test $pkg_failed = untried; then
31578
31579 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31580 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31581 { (exit 1); exit 1; }; }
31582
31583
31584 else
31585 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31586 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31587 { echo "$as_me:$LINENO: result: yes" >&5
31588 echo "${ECHO_T}yes" >&6; }
31589
31590 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31591 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31593
31594 fi
31595
31596 pkg_failed=no
31597 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31598 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31599
31600 if test -n "$PKG_CONFIG"; then
31601 if test -n "$PANGOFT2_CFLAGS"; then
31602 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31603 else
31604 if test -n "$PKG_CONFIG" && \
31605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31606 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31607 ac_status=$?
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; then
31610 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31611 else
31612 pkg_failed=yes
31613 fi
31614 fi
31615 else
31616 pkg_failed=untried
31617 fi
31618 if test -n "$PKG_CONFIG"; then
31619 if test -n "$PANGOFT2_LIBS"; then
31620 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31621 else
31622 if test -n "$PKG_CONFIG" && \
31623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31624 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31625 ac_status=$?
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; then
31628 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31629 else
31630 pkg_failed=yes
31631 fi
31632 fi
31633 else
31634 pkg_failed=untried
31635 fi
31636
31637
31638
31639 if test $pkg_failed = yes; then
31640
31641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31642 _pkg_short_errors_supported=yes
31643 else
31644 _pkg_short_errors_supported=no
31645 fi
31646 if test $_pkg_short_errors_supported = yes; then
31647 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31648 else
31649 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31650 fi
31651 # Put the nasty error message in config.log where it belongs
31652 echo "$PANGOFT2_PKG_ERRORS" >&5
31653
31654
31655 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31656 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31657 wxUSE_PRINTING_ARCHITECTURE="no"
31658
31659
31660 elif test $pkg_failed = untried; then
31661
31662 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31663 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31664 wxUSE_PRINTING_ARCHITECTURE="no"
31665
31666
31667 else
31668 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31669 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31670 { echo "$as_me:$LINENO: result: yes" >&5
31671 echo "${ECHO_T}yes" >&6; }
31672
31673 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31674 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31675 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31676
31677 fi
31678
31679 pkg_failed=no
31680 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31681 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31682
31683 if test -n "$PKG_CONFIG"; then
31684 if test -n "$PANGOXFT_CFLAGS"; then
31685 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31686 else
31687 if test -n "$PKG_CONFIG" && \
31688 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31689 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31690 ac_status=$?
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; then
31693 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31694 else
31695 pkg_failed=yes
31696 fi
31697 fi
31698 else
31699 pkg_failed=untried
31700 fi
31701 if test -n "$PKG_CONFIG"; then
31702 if test -n "$PANGOXFT_LIBS"; then
31703 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31704 else
31705 if test -n "$PKG_CONFIG" && \
31706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31707 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31708 ac_status=$?
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); }; then
31711 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31712 else
31713 pkg_failed=yes
31714 fi
31715 fi
31716 else
31717 pkg_failed=untried
31718 fi
31719
31720
31721
31722 if test $pkg_failed = yes; then
31723
31724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31725 _pkg_short_errors_supported=yes
31726 else
31727 _pkg_short_errors_supported=no
31728 fi
31729 if test $_pkg_short_errors_supported = yes; then
31730 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31731 else
31732 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31733 fi
31734 # Put the nasty error message in config.log where it belongs
31735 echo "$PANGOXFT_PKG_ERRORS" >&5
31736
31737
31738 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31739 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31740
31741
31742 elif test $pkg_failed = untried; then
31743
31744 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31745 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31746
31747
31748 else
31749 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31750 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31751 { echo "$as_me:$LINENO: result: yes" >&5
31752 echo "${ECHO_T}yes" >&6; }
31753
31754 cat >>confdefs.h <<\_ACEOF
31755 #define HAVE_PANGO_XFT 1
31756 _ACEOF
31757
31758 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31759 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31760 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31761
31762 fi
31763 save_LIBS="$LIBS"
31764 LIBS="$LIBS $PANGOX_LIBS"
31765
31766 for ac_func in pango_font_family_is_monospace
31767 do
31768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31772 echo $ECHO_N "(cached) $ECHO_C" >&6
31773 else
31774 cat >conftest.$ac_ext <<_ACEOF
31775 /* confdefs.h. */
31776 _ACEOF
31777 cat confdefs.h >>conftest.$ac_ext
31778 cat >>conftest.$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31782 #define $ac_func innocuous_$ac_func
31783
31784 /* System header to define __stub macros and hopefully few prototypes,
31785 which can conflict with char $ac_func (); below.
31786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31787 <limits.h> exists even on freestanding compilers. */
31788
31789 #ifdef __STDC__
31790 # include <limits.h>
31791 #else
31792 # include <assert.h>
31793 #endif
31794
31795 #undef $ac_func
31796
31797 /* Override any GCC internal prototype to avoid an error.
31798 Use char because int might match the return type of a GCC
31799 builtin and then its argument prototype would still apply. */
31800 #ifdef __cplusplus
31801 extern "C"
31802 #endif
31803 char $ac_func ();
31804 /* The GNU C library defines this for functions which it implements
31805 to always fail with ENOSYS. Some functions are actually named
31806 something starting with __ and the normal name is an alias. */
31807 #if defined __stub_$ac_func || defined __stub___$ac_func
31808 choke me
31809 #endif
31810
31811 int
31812 main ()
31813 {
31814 return $ac_func ();
31815 ;
31816 return 0;
31817 }
31818 _ACEOF
31819 rm -f conftest.$ac_objext conftest$ac_exeext
31820 if { (ac_try="$ac_link"
31821 case "(($ac_try" in
31822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31823 *) ac_try_echo=$ac_try;;
31824 esac
31825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31826 (eval "$ac_link") 2>conftest.er1
31827 ac_status=$?
31828 grep -v '^ *+' conftest.er1 >conftest.err
31829 rm -f conftest.er1
31830 cat conftest.err >&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); } && {
31833 test -z "$ac_c_werror_flag" ||
31834 test ! -s conftest.err
31835 } && test -s conftest$ac_exeext &&
31836 $as_test_x conftest$ac_exeext; then
31837 eval "$as_ac_var=yes"
31838 else
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31841
31842 eval "$as_ac_var=no"
31843 fi
31844
31845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31846 conftest$ac_exeext conftest.$ac_ext
31847 fi
31848 ac_res=`eval echo '${'$as_ac_var'}'`
31849 { echo "$as_me:$LINENO: result: $ac_res" >&5
31850 echo "${ECHO_T}$ac_res" >&6; }
31851 if test `eval echo '${'$as_ac_var'}'` = yes; then
31852 cat >>confdefs.h <<_ACEOF
31853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31854 _ACEOF
31855
31856 fi
31857 done
31858
31859 LIBS="$save_LIBS"
31860 fi
31861
31862 wxUSE_UNIVERSAL="yes"
31863
31864 if test "$wxUSE_NANOX" = "yes"; then
31865 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31866 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"
31867 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31868 else
31869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31870 fi
31871
31872 TOOLKIT=X11
31873 GUIDIST=X11_DIST
31874 fi
31875
31876 if test "$wxUSE_MOTIF" = 1; then
31877 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31878 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31879
31880 ac_find_includes=
31881 for ac_dir in $SEARCH_INCLUDE /usr/include;
31882 do
31883 if test -f "$ac_dir/Xm/Xm.h"; then
31884 ac_find_includes=$ac_dir
31885 break
31886 fi
31887 done
31888
31889 if test "$ac_find_includes" != "" ; then
31890 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31891 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31892
31893 if test "x$ac_find_includes" = "x/usr/include"; then
31894 ac_path_to_include=""
31895 else
31896 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31897 result=$?
31898 if test $result = 0; then
31899 ac_path_to_include=""
31900 else
31901 ac_path_to_include=" -I$ac_find_includes"
31902 fi
31903 fi
31904
31905 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31906 else
31907 save_CFLAGS=$CFLAGS
31908 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31909
31910 cat >conftest.$ac_ext <<_ACEOF
31911 /* confdefs.h. */
31912 _ACEOF
31913 cat confdefs.h >>conftest.$ac_ext
31914 cat >>conftest.$ac_ext <<_ACEOF
31915 /* end confdefs.h. */
31916
31917 #include <Xm/Xm.h>
31918
31919 int
31920 main ()
31921 {
31922
31923 int version;
31924 version = xmUseVersion;
31925
31926 ;
31927 return 0;
31928 }
31929 _ACEOF
31930 rm -f conftest.$ac_objext
31931 if { (ac_try="$ac_compile"
31932 case "(($ac_try" in
31933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31934 *) ac_try_echo=$ac_try;;
31935 esac
31936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31937 (eval "$ac_compile") 2>conftest.er1
31938 ac_status=$?
31939 grep -v '^ *+' conftest.er1 >conftest.err
31940 rm -f conftest.er1
31941 cat conftest.err >&5
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); } && {
31944 test -z "$ac_c_werror_flag" ||
31945 test ! -s conftest.err
31946 } && test -s conftest.$ac_objext; then
31947
31948 { echo "$as_me:$LINENO: result: found in default search path" >&5
31949 echo "${ECHO_T}found in default search path" >&6; }
31950 COMPILED_X_PROGRAM=1
31951
31952 else
31953 echo "$as_me: failed program was:" >&5
31954 sed 's/^/| /' conftest.$ac_ext >&5
31955
31956
31957 { echo "$as_me:$LINENO: result: no" >&5
31958 echo "${ECHO_T}no" >&6; }
31959 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31960 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31961 { (exit 1); exit 1; }; }
31962
31963
31964 fi
31965
31966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31967
31968 CFLAGS=$save_CFLAGS
31969 fi
31970
31971
31972 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31973 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31974
31975 ac_find_libraries=
31976 for ac_dir in $SEARCH_LIB;
31977 do
31978 for ac_extension in a so sl dylib dll.a; do
31979 if test -f "$ac_dir/libXm.$ac_extension"; then
31980 ac_find_libraries=$ac_dir
31981 break 2
31982 fi
31983 done
31984 done
31985
31986
31987 if test "x$ac_find_libraries" != "x" ; then
31988 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31989 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31990
31991
31992 if test "$ac_find_libraries" = "default location"; then
31993 ac_path_to_link=""
31994 else
31995 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31996 result=$?
31997 if test $result = 0; then
31998 ac_path_to_link=""
31999 else
32000 ac_path_to_link=" -L$ac_find_libraries"
32001 fi
32002 fi
32003
32004 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32005 else
32006 save_CFLAGS=$CFLAGS
32007 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32008 save_LIBS="$LIBS"
32009 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32010
32011 cat >conftest.$ac_ext <<_ACEOF
32012 /* confdefs.h. */
32013 _ACEOF
32014 cat confdefs.h >>conftest.$ac_ext
32015 cat >>conftest.$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017
32018 #include <Xm/Xm.h>
32019
32020 int
32021 main ()
32022 {
32023
32024 int version;
32025 version = xmUseVersion;
32026
32027 ;
32028 return 0;
32029 }
32030 _ACEOF
32031 rm -f conftest.$ac_objext conftest$ac_exeext
32032 if { (ac_try="$ac_link"
32033 case "(($ac_try" in
32034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32035 *) ac_try_echo=$ac_try;;
32036 esac
32037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32038 (eval "$ac_link") 2>conftest.er1
32039 ac_status=$?
32040 grep -v '^ *+' conftest.er1 >conftest.err
32041 rm -f conftest.er1
32042 cat conftest.err >&5
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); } && {
32045 test -z "$ac_c_werror_flag" ||
32046 test ! -s conftest.err
32047 } && test -s conftest$ac_exeext &&
32048 $as_test_x conftest$ac_exeext; then
32049
32050 { echo "$as_me:$LINENO: result: found in default search path" >&5
32051 echo "${ECHO_T}found in default search path" >&6; }
32052 COMPILED_X_PROGRAM=1
32053
32054 else
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.$ac_ext >&5
32057
32058
32059 { echo "$as_me:$LINENO: result: no" >&5
32060 echo "${ECHO_T}no" >&6; }
32061 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32062 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32063 { (exit 1); exit 1; }; }
32064
32065
32066 fi
32067
32068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32069 conftest$ac_exeext conftest.$ac_ext
32070
32071 CFLAGS=$save_CFLAGS
32072 LIBS="$save_LIBS"
32073 fi
32074
32075 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32076 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32077 libp_link=""
32078 libsm_ice_link=""
32079 libs_found=0
32080 for libp in "" " -lXp"; do
32081 if test "$libs_found" = 0; then
32082 for libsm_ice in "" " -lSM -lICE"; do
32083 if test "$libs_found" = 0; then
32084 save_LIBS="$LIBS"
32085 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32086 save_CFLAGS=$CFLAGS
32087 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32088
32089 cat >conftest.$ac_ext <<_ACEOF
32090 /* confdefs.h. */
32091 _ACEOF
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h. */
32095
32096 #include <Xm/Xm.h>
32097 #include <Xm/List.h>
32098
32099 int
32100 main ()
32101 {
32102
32103 XmString string = NULL;
32104 Widget w = NULL;
32105 int position = 0;
32106 XmListAddItem(w, string, position);
32107
32108 ;
32109 return 0;
32110 }
32111 _ACEOF
32112 rm -f conftest.$ac_objext conftest$ac_exeext
32113 if { (ac_try="$ac_link"
32114 case "(($ac_try" in
32115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32116 *) ac_try_echo=$ac_try;;
32117 esac
32118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32119 (eval "$ac_link") 2>conftest.er1
32120 ac_status=$?
32121 grep -v '^ *+' conftest.er1 >conftest.err
32122 rm -f conftest.er1
32123 cat conftest.err >&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } && {
32126 test -z "$ac_c_werror_flag" ||
32127 test ! -s conftest.err
32128 } && test -s conftest$ac_exeext &&
32129 $as_test_x conftest$ac_exeext; then
32130
32131 libp_link="$libp"
32132 libsm_ice_link="$libsm_ice"
32133 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32134 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32135 libs_found=1
32136
32137 else
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.$ac_ext >&5
32140
32141
32142
32143 fi
32144
32145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32146 conftest$ac_exeext conftest.$ac_ext
32147
32148 LIBS="$save_LIBS"
32149 CFLAGS=$save_CFLAGS
32150 fi
32151 done
32152 fi
32153 done
32154
32155 if test "$libs_found" = 0; then
32156 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32157 echo "${ECHO_T}can't find the right libraries" >&6; }
32158 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32159 echo "$as_me: error: can't link a simple motif program" >&2;}
32160 { (exit 1); exit 1; }; }
32161 fi
32162
32163 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32164 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32165 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 else
32168 ac_check_lib_save_LIBS=$LIBS
32169 LIBS="-lSgm $LIBS"
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h. */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176
32177 /* Override any GCC internal prototype to avoid an error.
32178 Use char because int might match the return type of a GCC
32179 builtin and then its argument prototype would still apply. */
32180 #ifdef __cplusplus
32181 extern "C"
32182 #endif
32183 char SgCreateList ();
32184 int
32185 main ()
32186 {
32187 return SgCreateList ();
32188 ;
32189 return 0;
32190 }
32191 _ACEOF
32192 rm -f conftest.$ac_objext conftest$ac_exeext
32193 if { (ac_try="$ac_link"
32194 case "(($ac_try" in
32195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32196 *) ac_try_echo=$ac_try;;
32197 esac
32198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32199 (eval "$ac_link") 2>conftest.er1
32200 ac_status=$?
32201 grep -v '^ *+' conftest.er1 >conftest.err
32202 rm -f conftest.er1
32203 cat conftest.err >&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } && {
32206 test -z "$ac_c_werror_flag" ||
32207 test ! -s conftest.err
32208 } && test -s conftest$ac_exeext &&
32209 $as_test_x conftest$ac_exeext; then
32210 ac_cv_lib_Sgm_SgCreateList=yes
32211 else
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.$ac_ext >&5
32214
32215 ac_cv_lib_Sgm_SgCreateList=no
32216 fi
32217
32218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32219 conftest$ac_exeext conftest.$ac_ext
32220 LIBS=$ac_check_lib_save_LIBS
32221 fi
32222 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32223 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32224 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32225 libsgm_link=" -lSgm"
32226 fi
32227
32228
32229 save_CFLAGS=$CFLAGS
32230 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32231
32232 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32233 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32234 if test "${wx_cv_lib_motif2+set}" = set; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 else
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243
32244 #include <Xm/Xm.h>
32245
32246 int
32247 main ()
32248 {
32249
32250 #if XmVersion < 2000
32251 Not Motif 2
32252 #endif
32253
32254 ;
32255 return 0;
32256 }
32257 _ACEOF
32258 rm -f conftest.$ac_objext
32259 if { (ac_try="$ac_compile"
32260 case "(($ac_try" in
32261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32262 *) ac_try_echo=$ac_try;;
32263 esac
32264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32265 (eval "$ac_compile") 2>conftest.er1
32266 ac_status=$?
32267 grep -v '^ *+' conftest.er1 >conftest.err
32268 rm -f conftest.er1
32269 cat conftest.err >&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } && {
32272 test -z "$ac_c_werror_flag" ||
32273 test ! -s conftest.err
32274 } && test -s conftest.$ac_objext; then
32275 wx_cv_lib_motif2="yes"
32276 else
32277 echo "$as_me: failed program was:" >&5
32278 sed 's/^/| /' conftest.$ac_ext >&5
32279
32280 wx_cv_lib_motif2="no"
32281 fi
32282
32283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32284 fi
32285 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32286 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32287 if test "$wx_cv_lib_motif2" = "yes"; then
32288 cat >>confdefs.h <<\_ACEOF
32289 #define __WXMOTIF20__ 1
32290 _ACEOF
32291
32292 else
32293 cat >>confdefs.h <<\_ACEOF
32294 #define __WXMOTIF20__ 0
32295 _ACEOF
32296
32297 fi
32298
32299 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32300 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32301 if test "${wx_cv_lib_lesstif+set}" = set; then
32302 echo $ECHO_N "(cached) $ECHO_C" >&6
32303 else
32304 cat >conftest.$ac_ext <<_ACEOF
32305 /* confdefs.h. */
32306 _ACEOF
32307 cat confdefs.h >>conftest.$ac_ext
32308 cat >>conftest.$ac_ext <<_ACEOF
32309 /* end confdefs.h. */
32310
32311 #include <Xm/Xm.h>
32312
32313 int
32314 main ()
32315 {
32316
32317 #if !defined(LesstifVersion) || LesstifVersion <= 0
32318 Not Lesstif
32319 #endif
32320
32321 ;
32322 return 0;
32323 }
32324 _ACEOF
32325 rm -f conftest.$ac_objext
32326 if { (ac_try="$ac_compile"
32327 case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32330 esac
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_compile") 2>conftest.er1
32333 ac_status=$?
32334 grep -v '^ *+' conftest.er1 >conftest.err
32335 rm -f conftest.er1
32336 cat conftest.err >&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); } && {
32339 test -z "$ac_c_werror_flag" ||
32340 test ! -s conftest.err
32341 } && test -s conftest.$ac_objext; then
32342 wx_cv_lib_lesstif="yes"
32343 else
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.$ac_ext >&5
32346
32347 wx_cv_lib_lesstif="no"
32348 fi
32349
32350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32351
32352 fi
32353 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32354 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32355 if test "$wx_cv_lib_lesstif" = "yes"; then
32356 cat >>confdefs.h <<\_ACEOF
32357 #define __WXLESSTIF__ 1
32358 _ACEOF
32359
32360 else
32361 cat >>confdefs.h <<\_ACEOF
32362 #define __WXLESSTIF__ 0
32363 _ACEOF
32364
32365 fi
32366
32367 CFLAGS=$save_CFLAGS
32368
32369 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32370 TOOLKIT=MOTIF
32371 GUIDIST=MOTIF_DIST
32372 fi
32373
32374 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32375 if test "$wxUSE_LIBXPM" = "sys"; then
32376 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32377 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32378
32379 ac_find_libraries=
32380 for ac_dir in $SEARCH_LIB;
32381 do
32382 for ac_extension in a so sl dylib dll.a; do
32383 if test -f "$ac_dir/libXpm.$ac_extension"; then
32384 ac_find_libraries=$ac_dir
32385 break 2
32386 fi
32387 done
32388 done
32389
32390 if test "$ac_find_libraries" != "" ; then
32391
32392 if test "$ac_find_libraries" = "default location"; then
32393 ac_path_to_link=""
32394 else
32395 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32396 result=$?
32397 if test $result = 0; then
32398 ac_path_to_link=""
32399 else
32400 ac_path_to_link=" -L$ac_find_libraries"
32401 fi
32402 fi
32403
32404 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32405 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32406 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32407
32408 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32409 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32410 if test "${wx_cv_x11_xpm_h+set}" = set; then
32411 echo $ECHO_N "(cached) $ECHO_C" >&6
32412 else
32413
32414 save_CFLAGS=$CFLAGS
32415 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32416
32417 cat >conftest.$ac_ext <<_ACEOF
32418 /* confdefs.h. */
32419 _ACEOF
32420 cat confdefs.h >>conftest.$ac_ext
32421 cat >>conftest.$ac_ext <<_ACEOF
32422 /* end confdefs.h. */
32423
32424 #include <X11/xpm.h>
32425
32426 int
32427 main ()
32428 {
32429
32430 int version;
32431 version = XpmLibraryVersion();
32432
32433 ;
32434 return 0;
32435 }
32436 _ACEOF
32437 rm -f conftest.$ac_objext
32438 if { (ac_try="$ac_compile"
32439 case "(($ac_try" in
32440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32441 *) ac_try_echo=$ac_try;;
32442 esac
32443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32444 (eval "$ac_compile") 2>conftest.er1
32445 ac_status=$?
32446 grep -v '^ *+' conftest.er1 >conftest.err
32447 rm -f conftest.er1
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } && {
32451 test -z "$ac_c_werror_flag" ||
32452 test ! -s conftest.err
32453 } && test -s conftest.$ac_objext; then
32454 wx_cv_x11_xpm_h=yes
32455 else
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32458
32459 wx_cv_x11_xpm_h=no
32460
32461 fi
32462
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464
32465 CFLAGS=$save_CFLAGS
32466
32467
32468 fi
32469 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32470 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32471
32472 if test $wx_cv_x11_xpm_h = "yes"; then
32473 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32474 cat >>confdefs.h <<\_ACEOF
32475 #define wxHAVE_LIB_XPM 1
32476 _ACEOF
32477
32478 else
32479 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32480 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32481 fi
32482 fi
32483
32484 fi
32485
32486 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32487 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32488 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32489 echo $ECHO_N "(cached) $ECHO_C" >&6
32490 else
32491 ac_check_lib_save_LIBS=$LIBS
32492 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32493 cat >conftest.$ac_ext <<_ACEOF
32494 /* confdefs.h. */
32495 _ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32499
32500 /* Override any GCC internal prototype to avoid an error.
32501 Use char because int might match the return type of a GCC
32502 builtin and then its argument prototype would still apply. */
32503 #ifdef __cplusplus
32504 extern "C"
32505 #endif
32506 char XShapeQueryExtension ();
32507 int
32508 main ()
32509 {
32510 return XShapeQueryExtension ();
32511 ;
32512 return 0;
32513 }
32514 _ACEOF
32515 rm -f conftest.$ac_objext conftest$ac_exeext
32516 if { (ac_try="$ac_link"
32517 case "(($ac_try" in
32518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32519 *) ac_try_echo=$ac_try;;
32520 esac
32521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32522 (eval "$ac_link") 2>conftest.er1
32523 ac_status=$?
32524 grep -v '^ *+' conftest.er1 >conftest.err
32525 rm -f conftest.er1
32526 cat conftest.err >&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); } && {
32529 test -z "$ac_c_werror_flag" ||
32530 test ! -s conftest.err
32531 } && test -s conftest$ac_exeext &&
32532 $as_test_x conftest$ac_exeext; then
32533 ac_cv_lib_Xext_XShapeQueryExtension=yes
32534 else
32535 echo "$as_me: failed program was:" >&5
32536 sed 's/^/| /' conftest.$ac_ext >&5
32537
32538 ac_cv_lib_Xext_XShapeQueryExtension=no
32539 fi
32540
32541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32542 conftest$ac_exeext conftest.$ac_ext
32543 LIBS=$ac_check_lib_save_LIBS
32544 fi
32545 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32546 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32547 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32548
32549 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32550 wxHAVE_XEXT_LIB=1
32551
32552 fi
32553
32554
32555 if test "$wxHAVE_XEXT_LIB" = 1; then
32556 save_CFLAGS="$CFLAGS"
32557 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32558
32559 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32560 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32561 cat >conftest.$ac_ext <<_ACEOF
32562 /* confdefs.h. */
32563 _ACEOF
32564 cat confdefs.h >>conftest.$ac_ext
32565 cat >>conftest.$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567
32568 #include <X11/Xlib.h>
32569 #include <X11/extensions/shape.h>
32570
32571 int
32572 main ()
32573 {
32574
32575 int dummy1, dummy2;
32576 XShapeQueryExtension((Display*)NULL,
32577 (int*)NULL, (int*)NULL);
32578
32579 ;
32580 return 0;
32581 }
32582 _ACEOF
32583 rm -f conftest.$ac_objext
32584 if { (ac_try="$ac_compile"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32587 *) ac_try_echo=$ac_try;;
32588 esac
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_compile") 2>conftest.er1
32591 ac_status=$?
32592 grep -v '^ *+' conftest.er1 >conftest.err
32593 rm -f conftest.er1
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest.$ac_objext; then
32600
32601 cat >>confdefs.h <<\_ACEOF
32602 #define HAVE_XSHAPE 1
32603 _ACEOF
32604
32605 { echo "$as_me:$LINENO: result: found" >&5
32606 echo "${ECHO_T}found" >&6; }
32607
32608 else
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32611
32612
32613 { echo "$as_me:$LINENO: result: not found" >&5
32614 echo "${ECHO_T}not found" >&6; }
32615
32616 fi
32617
32618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32619 CFLAGS="$save_CFLAGS"
32620
32621 fi
32622 fi
32623
32624 if test "$wxUSE_OSX_CARBON" = 1; then
32625 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32626 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32627 if test "$GCC" = yes; then
32628 { echo "$as_me:$LINENO: result: gcc" >&5
32629 echo "${ECHO_T}gcc" >&6; }
32630 CPPFLAGS_PASCAL="-fpascal-strings"
32631 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32632 { echo "$as_me:$LINENO: result: xlc" >&5
32633 echo "${ECHO_T}xlc" >&6; }
32634 CPPFLAGS_PASCAL="-qmacpstr"
32635 else
32636 { echo "$as_me:$LINENO: result: none" >&5
32637 echo "${ECHO_T}none" >&6; }
32638 fi
32639
32640 if test "x$wxUSE_UNIX" = "xyes"; then
32641 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32642 else
32643 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32644 fi
32645
32646 TOOLKIT=OSX_CARBON
32647 GUIDIST=OSX_CARBON_DIST
32648 WXBASEPORT="_carbon"
32649 fi
32650
32651 if test "$wxUSE_OSX_COCOA" = 1; then
32652 TOOLKIT=OSX_COCOA
32653 GUIDIST=OSX_COCOA_DIST
32654 fi
32655
32656 if test "$wxUSE_COCOA" = 1; then
32657 TOOLKIT=COCOA
32658 GUIDIST=COCOA_DIST
32659 fi
32660
32661 if test "$wxUSE_PM" = 1; then
32662 TOOLKIT=PM
32663 GUIDIST=PM_DIST
32664 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32665 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32666 if test "${wx_cv_spbcdata+set}" = set; then
32667 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 else
32669
32670 cat >conftest.$ac_ext <<_ACEOF
32671 /* confdefs.h. */
32672 _ACEOF
32673 cat confdefs.h >>conftest.$ac_ext
32674 cat >>conftest.$ac_ext <<_ACEOF
32675 /* end confdefs.h. */
32676
32677 #define INCL_PM
32678 #include <os2.h>
32679
32680 int
32681 main ()
32682 {
32683
32684 SPBCDATA test;
32685
32686 ;
32687 return 0;
32688 }
32689 _ACEOF
32690 rm -f conftest.$ac_objext
32691 if { (ac_try="$ac_compile"
32692 case "(($ac_try" in
32693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32694 *) ac_try_echo=$ac_try;;
32695 esac
32696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32697 (eval "$ac_compile") 2>conftest.er1
32698 ac_status=$?
32699 grep -v '^ *+' conftest.er1 >conftest.err
32700 rm -f conftest.er1
32701 cat conftest.err >&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } && {
32704 test -z "$ac_c_werror_flag" ||
32705 test ! -s conftest.err
32706 } && test -s conftest.$ac_objext; then
32707 wx_cv_spbcdata=yes
32708 else
32709 echo "$as_me: failed program was:" >&5
32710 sed 's/^/| /' conftest.$ac_ext >&5
32711
32712 wx_cv_spbcdata=no
32713
32714 fi
32715
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717
32718
32719 fi
32720 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32721 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32722
32723 if test $wx_cv_spbcdata = "yes"; then
32724 cat >>confdefs.h <<\_ACEOF
32725 #define HAVE_SPBCDATA 1
32726 _ACEOF
32727
32728 fi
32729 fi
32730
32731 if test "$TOOLKIT" = "PM" ; then
32732 TOOLKIT_DIR="os2"
32733 else
32734 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32735 fi
32736
32737 if test "$wxUSE_UNIVERSAL" = "yes"; then
32738 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32739 WIDGET_SET=univ
32740 fi
32741
32742 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32743 DISTDIR="wx\$(TOOLKIT)"
32744 else
32745 USE_GUI=0
32746
32747 TOOLKIT_DIR="base"
32748
32749 if test "$USE_WIN32" = 1 ; then
32750 TOOLKIT="MSW"
32751 fi
32752
32753 GUIDIST="BASE_DIST"
32754 DISTDIR="wxBase"
32755 fi
32756
32757
32758
32759 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32760 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32761 wxUSE_UNICODE_UTF8=yes
32762 elif test "$USE_OS2" = 1 ; then
32763 wxUSE_UNICODE_UTF8=yes
32764 else
32765 wxUSE_UNICODE_UTF8=no
32766 fi
32767 fi
32768
32769
32770 if test "$wxUSE_GUI" = "yes"; then
32771 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32772
32773 for ac_header in X11/Xlib.h
32774 do
32775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32779 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 else
32781 cat >conftest.$ac_ext <<_ACEOF
32782 /* confdefs.h. */
32783 _ACEOF
32784 cat confdefs.h >>conftest.$ac_ext
32785 cat >>conftest.$ac_ext <<_ACEOF
32786 /* end confdefs.h. */
32787
32788
32789 #include <$ac_header>
32790 _ACEOF
32791 rm -f conftest.$ac_objext
32792 if { (ac_try="$ac_compile"
32793 case "(($ac_try" in
32794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32795 *) ac_try_echo=$ac_try;;
32796 esac
32797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32798 (eval "$ac_compile") 2>conftest.er1
32799 ac_status=$?
32800 grep -v '^ *+' conftest.er1 >conftest.err
32801 rm -f conftest.er1
32802 cat conftest.err >&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); } && {
32805 test -z "$ac_c_werror_flag" ||
32806 test ! -s conftest.err
32807 } && test -s conftest.$ac_objext; then
32808 eval "$as_ac_Header=yes"
32809 else
32810 echo "$as_me: failed program was:" >&5
32811 sed 's/^/| /' conftest.$ac_ext >&5
32812
32813 eval "$as_ac_Header=no"
32814 fi
32815
32816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32817 fi
32818 ac_res=`eval echo '${'$as_ac_Header'}'`
32819 { echo "$as_me:$LINENO: result: $ac_res" >&5
32820 echo "${ECHO_T}$ac_res" >&6; }
32821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32822 cat >>confdefs.h <<_ACEOF
32823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32824 _ACEOF
32825
32826 fi
32827
32828 done
32829
32830
32831 for ac_header in X11/XKBlib.h
32832 do
32833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 cat >conftest.$ac_ext <<_ACEOF
32840 /* confdefs.h. */
32841 _ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845
32846 #if HAVE_X11_XLIB_H
32847 #include <X11/Xlib.h>
32848 #endif
32849
32850
32851 #include <$ac_header>
32852 _ACEOF
32853 rm -f conftest.$ac_objext
32854 if { (ac_try="$ac_compile"
32855 case "(($ac_try" in
32856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32857 *) ac_try_echo=$ac_try;;
32858 esac
32859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32860 (eval "$ac_compile") 2>conftest.er1
32861 ac_status=$?
32862 grep -v '^ *+' conftest.er1 >conftest.err
32863 rm -f conftest.er1
32864 cat conftest.err >&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } && {
32867 test -z "$ac_c_werror_flag" ||
32868 test ! -s conftest.err
32869 } && test -s conftest.$ac_objext; then
32870 eval "$as_ac_Header=yes"
32871 else
32872 echo "$as_me: failed program was:" >&5
32873 sed 's/^/| /' conftest.$ac_ext >&5
32874
32875 eval "$as_ac_Header=no"
32876 fi
32877
32878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32879 fi
32880 ac_res=`eval echo '${'$as_ac_Header'}'`
32881 { echo "$as_me:$LINENO: result: $ac_res" >&5
32882 echo "${ECHO_T}$ac_res" >&6; }
32883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32884 cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32886 _ACEOF
32887
32888 fi
32889
32890 done
32891
32892 fi
32893 fi
32894
32895
32896
32897 if test "$wxUSE_DISPLAY" = "yes"; then
32898 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32899 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32900 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32901
32902 ac_find_libraries=
32903 for ac_dir in $SEARCH_LIB;
32904 do
32905 for ac_extension in a so sl dylib dll.a; do
32906 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32907 ac_find_libraries=$ac_dir
32908 break 2
32909 fi
32910 done
32911 done
32912
32913 if test "$ac_find_libraries" != "" ; then
32914
32915 if test "$ac_find_libraries" = "default location"; then
32916 ac_path_to_link=""
32917 else
32918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32919 result=$?
32920 if test $result = 0; then
32921 ac_path_to_link=""
32922 else
32923 ac_path_to_link=" -L$ac_find_libraries"
32924 fi
32925 fi
32926
32927 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32928 LDFLAGS="$LDFLAGS $ac_path_to_link"
32929 fi
32930 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32931 { echo "$as_me:$LINENO: result: yes" >&5
32932 echo "${ECHO_T}yes" >&6; }
32933
32934 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32935 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32936
32937 ac_find_libraries=
32938 for ac_dir in $SEARCH_LIB;
32939 do
32940 for ac_extension in a so sl dylib dll.a; do
32941 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32942 ac_find_libraries=$ac_dir
32943 break 2
32944 fi
32945 done
32946 done
32947
32948 if test "$ac_find_libraries" != "" ; then
32949 { echo "$as_me:$LINENO: result: yes" >&5
32950 echo "${ECHO_T}yes" >&6; }
32951
32952 for ac_header in X11/extensions/xf86vmode.h
32953 do
32954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32960 cat >conftest.$ac_ext <<_ACEOF
32961 /* confdefs.h. */
32962 _ACEOF
32963 cat confdefs.h >>conftest.$ac_ext
32964 cat >>conftest.$ac_ext <<_ACEOF
32965 /* end confdefs.h. */
32966
32967 #if HAVE_X11_XLIB_H
32968 #include <X11/Xlib.h>
32969 #endif
32970
32971
32972 #include <$ac_header>
32973 _ACEOF
32974 rm -f conftest.$ac_objext
32975 if { (ac_try="$ac_compile"
32976 case "(($ac_try" in
32977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32978 *) ac_try_echo=$ac_try;;
32979 esac
32980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32981 (eval "$ac_compile") 2>conftest.er1
32982 ac_status=$?
32983 grep -v '^ *+' conftest.er1 >conftest.err
32984 rm -f conftest.er1
32985 cat conftest.err >&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } && {
32988 test -z "$ac_c_werror_flag" ||
32989 test ! -s conftest.err
32990 } && test -s conftest.$ac_objext; then
32991 eval "$as_ac_Header=yes"
32992 else
32993 echo "$as_me: failed program was:" >&5
32994 sed 's/^/| /' conftest.$ac_ext >&5
32995
32996 eval "$as_ac_Header=no"
32997 fi
32998
32999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33000 fi
33001 ac_res=`eval echo '${'$as_ac_Header'}'`
33002 { echo "$as_me:$LINENO: result: $ac_res" >&5
33003 echo "${ECHO_T}$ac_res" >&6; }
33004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33005 cat >>confdefs.h <<_ACEOF
33006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33007 _ACEOF
33008
33009 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33010
33011 fi
33012
33013 done
33014
33015 else
33016 { echo "$as_me:$LINENO: result: no" >&5
33017 echo "${ECHO_T}no" >&6; }
33018 fi
33019
33020 else
33021 { echo "$as_me:$LINENO: result: no" >&5
33022 echo "${ECHO_T}no" >&6; }
33023 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33024 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33025 wxUSE_DISPLAY="no"
33026 fi
33027 elif test "$wxUSE_MSW" = 1; then
33028 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33029 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33030 if test "${ac_cv_header_ddraw_h+set}" = set; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 else
33033 cat >conftest.$ac_ext <<_ACEOF
33034 /* confdefs.h. */
33035 _ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039 #include <windows.h>
33040
33041 #include <ddraw.h>
33042 _ACEOF
33043 rm -f conftest.$ac_objext
33044 if { (ac_try="$ac_compile"
33045 case "(($ac_try" in
33046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33047 *) ac_try_echo=$ac_try;;
33048 esac
33049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33050 (eval "$ac_compile") 2>conftest.er1
33051 ac_status=$?
33052 grep -v '^ *+' conftest.er1 >conftest.err
33053 rm -f conftest.er1
33054 cat conftest.err >&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } && {
33057 test -z "$ac_c_werror_flag" ||
33058 test ! -s conftest.err
33059 } && test -s conftest.$ac_objext; then
33060 ac_cv_header_ddraw_h=yes
33061 else
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33064
33065 ac_cv_header_ddraw_h=no
33066 fi
33067
33068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33069 fi
33070 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33071 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33072
33073
33074 fi
33075 fi
33076
33077 if test "$wxUSE_DETECT_SM" = "yes"; then
33078 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33079 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33080 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33081
33082 ac_find_libraries=
33083 for ac_dir in $SEARCH_LIB;
33084 do
33085 for ac_extension in a so sl dylib dll.a; do
33086 if test -f "$ac_dir/libSM.$ac_extension"; then
33087 ac_find_libraries=$ac_dir
33088 break 2
33089 fi
33090 done
33091 done
33092
33093 if test "$ac_find_libraries" != "" ; then
33094
33095 if test "$ac_find_libraries" = "default location"; then
33096 ac_path_to_link=""
33097 else
33098 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33099 result=$?
33100 if test $result = 0; then
33101 ac_path_to_link=""
33102 else
33103 ac_path_to_link=" -L$ac_find_libraries"
33104 fi
33105 fi
33106
33107 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33108 LDFLAGS="$LDFLAGS $ac_path_to_link"
33109 fi
33110 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33111 { echo "$as_me:$LINENO: result: yes" >&5
33112 echo "${ECHO_T}yes" >&6; }
33113 else
33114 { echo "$as_me:$LINENO: result: no" >&5
33115 echo "${ECHO_T}no" >&6; }
33116 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33117 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33118 wxUSE_DETECT_SM="no"
33119 fi
33120 else
33121 wxUSE_DETECT_SM="no"
33122 fi
33123 fi
33124
33125
33126
33127 USE_OPENGL=0
33128 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33129
33130
33131 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33132 OPENGL_LIBS="-framework OpenGL -framework AGL"
33133 elif test "$wxUSE_MSW" = 1; then
33134 OPENGL_LIBS="-lopengl32 -lglu32"
33135 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33136
33137 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33138 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33139
33140 ac_find_includes=
33141 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33142 do
33143 if test -f "$ac_dir/GL/gl.h"; then
33144 ac_find_includes=$ac_dir
33145 break
33146 fi
33147 done
33148
33149 if test "$ac_find_includes" != "" ; then
33150 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33151 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33152
33153 if test "x$ac_find_includes" = "x/usr/include"; then
33154 ac_path_to_include=""
33155 else
33156 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33157 result=$?
33158 if test $result = 0; then
33159 ac_path_to_include=""
33160 else
33161 ac_path_to_include=" -I$ac_find_includes"
33162 fi
33163 fi
33164
33165 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33166 else
33167 { echo "$as_me:$LINENO: result: not found" >&5
33168 echo "${ECHO_T}not found" >&6; }
33169 fi
33170
33171 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33172 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33173 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 else
33176 cat >conftest.$ac_ext <<_ACEOF
33177 /* confdefs.h. */
33178 _ACEOF
33179 cat confdefs.h >>conftest.$ac_ext
33180 cat >>conftest.$ac_ext <<_ACEOF
33181 /* end confdefs.h. */
33182
33183
33184 #include <GL/gl.h>
33185 _ACEOF
33186 rm -f conftest.$ac_objext
33187 if { (ac_try="$ac_compile"
33188 case "(($ac_try" in
33189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 *) ac_try_echo=$ac_try;;
33191 esac
33192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 (eval "$ac_compile") 2>conftest.er1
33194 ac_status=$?
33195 grep -v '^ *+' conftest.er1 >conftest.err
33196 rm -f conftest.er1
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } && {
33200 test -z "$ac_c_werror_flag" ||
33201 test ! -s conftest.err
33202 } && test -s conftest.$ac_objext; then
33203 ac_cv_header_GL_gl_h=yes
33204 else
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33207
33208 ac_cv_header_GL_gl_h=no
33209 fi
33210
33211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33212 fi
33213 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33214 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33215 if test $ac_cv_header_GL_gl_h = yes; then
33216
33217 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33218 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33219 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33220 echo $ECHO_N "(cached) $ECHO_C" >&6
33221 else
33222 cat >conftest.$ac_ext <<_ACEOF
33223 /* confdefs.h. */
33224 _ACEOF
33225 cat confdefs.h >>conftest.$ac_ext
33226 cat >>conftest.$ac_ext <<_ACEOF
33227 /* end confdefs.h. */
33228
33229
33230 #include <GL/glu.h>
33231 _ACEOF
33232 rm -f conftest.$ac_objext
33233 if { (ac_try="$ac_compile"
33234 case "(($ac_try" in
33235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33236 *) ac_try_echo=$ac_try;;
33237 esac
33238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33239 (eval "$ac_compile") 2>conftest.er1
33240 ac_status=$?
33241 grep -v '^ *+' conftest.er1 >conftest.err
33242 rm -f conftest.er1
33243 cat conftest.err >&5
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); } && {
33246 test -z "$ac_c_werror_flag" ||
33247 test ! -s conftest.err
33248 } && test -s conftest.$ac_objext; then
33249 ac_cv_header_GL_glu_h=yes
33250 else
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.$ac_ext >&5
33253
33254 ac_cv_header_GL_glu_h=no
33255 fi
33256
33257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33258 fi
33259 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33260 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33261 if test $ac_cv_header_GL_glu_h = yes; then
33262
33263 found_gl=0
33264
33265 { echo "$as_me:$LINENO: checking for -lGL" >&5
33266 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33267
33268 ac_find_libraries=
33269 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33270 do
33271 for ac_extension in a so sl dylib dll.a; do
33272 if test -f "$ac_dir/libGL.$ac_extension"; then
33273 ac_find_libraries=$ac_dir
33274 break 2
33275 fi
33276 done
33277 done
33278
33279 if test "$ac_find_libraries" != "" ; then
33280 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33281 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33282
33283
33284 if test "$ac_find_libraries" = "default location"; then
33285 ac_path_to_link=""
33286 else
33287 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33288 result=$?
33289 if test $result = 0; then
33290 ac_path_to_link=""
33291 else
33292 ac_path_to_link=" -L$ac_find_libraries"
33293 fi
33294 fi
33295
33296 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33297 LDFLAGS_GL="$ac_path_to_link"
33298 fi
33299
33300 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33301 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33302
33303 ac_find_libraries=
33304 for ac_dir in $SEARCH_LIB;
33305 do
33306 for ac_extension in a so sl dylib dll.a; do
33307 if test -f "$ac_dir/libGLU.$ac_extension"; then
33308 ac_find_libraries=$ac_dir
33309 break 2
33310 fi
33311 done
33312 done
33313
33314 if test "$ac_find_libraries" != "" ; then
33315
33316 if test "$ac_find_libraries" = "default location"; then
33317 ac_path_to_link=""
33318 else
33319 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33320 result=$?
33321 if test $result = 0; then
33322 ac_path_to_link=""
33323 else
33324 ac_path_to_link=" -L$ac_find_libraries"
33325 fi
33326 fi
33327
33328 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33329 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33330 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33331 fi
33332
33333 found_gl=1
33334 OPENGL_LIBS="-lGL -lGLU"
33335 { echo "$as_me:$LINENO: result: yes" >&5
33336 echo "${ECHO_T}yes" >&6; }
33337 else
33338 { echo "$as_me:$LINENO: result: no" >&5
33339 echo "${ECHO_T}no" >&6; }
33340 fi
33341 else
33342 { echo "$as_me:$LINENO: result: no" >&5
33343 echo "${ECHO_T}no" >&6; }
33344 fi
33345
33346 if test "$found_gl" != 1; then
33347 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33348 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33349
33350 ac_find_libraries=
33351 for ac_dir in $SEARCH_LIB;
33352 do
33353 for ac_extension in a so sl dylib dll.a; do
33354 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33355 ac_find_libraries=$ac_dir
33356 break 2
33357 fi
33358 done
33359 done
33360
33361 if test "$ac_find_libraries" != "" ; then
33362
33363 if test "$ac_find_libraries" = "default location"; then
33364 ac_path_to_link=""
33365 else
33366 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33367 result=$?
33368 if test $result = 0; then
33369 ac_path_to_link=""
33370 else
33371 ac_path_to_link=" -L$ac_find_libraries"
33372 fi
33373 fi
33374
33375 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33376 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33377 { echo "$as_me:$LINENO: result: yes" >&5
33378 echo "${ECHO_T}yes" >&6; }
33379 else
33380 { echo "$as_me:$LINENO: result: no" >&5
33381 echo "${ECHO_T}no" >&6; }
33382 fi
33383 fi
33384
33385 fi
33386
33387
33388
33389 fi
33390
33391
33392
33393 if test "x$OPENGL_LIBS" = "x"; then
33394 if test "$wxUSE_OPENGL" = "yes"; then
33395 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33396 echo "$as_me: error: OpenGL libraries not available" >&2;}
33397 { (exit 1); exit 1; }; }
33398 else
33399 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33400 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33401 wxUSE_OPENGL=no
33402 USE_OPENGL=0
33403 fi
33404 else
33405 wxUSE_OPENGL=yes
33406 fi
33407 else
33408 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33409 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33410 wxUSE_OPENGL="no"
33411 fi
33412
33413 if test "$wxUSE_OPENGL" = "yes"; then
33414 USE_OPENGL=1
33415 cat >>confdefs.h <<\_ACEOF
33416 #define wxUSE_OPENGL 1
33417 _ACEOF
33418
33419 cat >>confdefs.h <<\_ACEOF
33420 #define wxUSE_GLCANVAS 1
33421 _ACEOF
33422
33423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33424 fi
33425 fi
33426
33427
33428 if test -n "$TOOLKIT" ; then
33429 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33430 fi
33431
33432
33433
33434 if test "$wxUSE_SHARED" = "yes"; then
33435 case "${host}" in
33436 *-pc-msdosdjgpp )
33437 wxUSE_SHARED=no
33438 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33439 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33440 ;;
33441 esac
33442 fi
33443
33444 if test "$wxUSE_SHARED" = "yes"; then
33445
33446
33447 case "${host}" in
33448 *-*-cygwin* | *-*-mingw* )
33449 wx_cv_version_script=no
33450 ;;
33451
33452 *)
33453 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33454 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33455 if test "${wx_cv_version_script+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458
33459 echo "VER_1 { *; };" >conftest.sym
33460 echo "int main() { return 0; }" >conftest.cpp
33461
33462 if { ac_try='
33463 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33464 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33467 ac_status=$?
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; } ; then
33470 if test -s conftest.stderr ; then
33471 wx_cv_version_script=no
33472 else
33473 wx_cv_version_script=yes
33474 fi
33475 else
33476 wx_cv_version_script=no
33477 fi
33478
33479 if test $wx_cv_version_script = yes
33480 then
33481 echo "struct B { virtual ~B() { } }; \
33482 struct D : public B { }; \
33483 void F() { D d; }" > conftest.cpp
33484
33485 if { ac_try='
33486 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33487 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33489 (eval $ac_try) 2>&5
33490 ac_status=$?
33491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 (exit $ac_status); }; } &&
33493 { ac_try='
33494 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33495 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497 (eval $ac_try) 2>&5
33498 ac_status=$?
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); }; }
33501 then
33502 if { ac_try='
33503 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33504 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; }
33510 then
33511 wx_cv_version_script=yes
33512 else
33513 wx_cv_version_script=no
33514 fi
33515 fi
33516 fi
33517
33518 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33519 rm -f conftest1.output conftest2.output conftest3.output
33520
33521 fi
33522 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33523 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33524
33525 if test $wx_cv_version_script = yes ; then
33526 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33527 fi
33528 ;;
33529 esac
33530
33531
33532 if test "$wxUSE_VISIBILITY" != "no"; then
33533
33534
33535 if test -n "$GCC"; then
33536 CFLAGS_VISIBILITY="-fvisibility=hidden"
33537 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33538 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33539 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33540 if test "${wx_cv_cc_visibility+set}" = set; then
33541 echo $ECHO_N "(cached) $ECHO_C" >&6
33542 else
33543
33544 wx_save_CXXFLAGS="$CXXFLAGS"
33545 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33546 ac_ext=cpp
33547 ac_cpp='$CXXCPP $CPPFLAGS'
33548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33551
33552 cat >conftest.$ac_ext <<_ACEOF
33553 /* confdefs.h. */
33554 _ACEOF
33555 cat confdefs.h >>conftest.$ac_ext
33556 cat >>conftest.$ac_ext <<_ACEOF
33557 /* end confdefs.h. */
33558
33559 /* we need gcc >= 4.0, older versions with visibility support
33560 didn't have class visibility: */
33561 #if defined(__GNUC__) && __GNUC__ < 4
33562 error this gcc is too old;
33563 #endif
33564
33565 /* visibility only makes sense for ELF shared libs: */
33566 #if !defined(__ELF__) && !defined(__APPLE__)
33567 error this platform has no visibility;
33568 #endif
33569
33570 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33571 extern __attribute__((__visibility__("default"))) int exportedvar;
33572 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33573 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33574 class __attribute__((__visibility__("default"))) Foo {
33575 Foo() {}
33576 };
33577
33578 int
33579 main ()
33580 {
33581
33582 ;
33583 return 0;
33584 }
33585 _ACEOF
33586 rm -f conftest.$ac_objext
33587 if { (ac_try="$ac_compile"
33588 case "(($ac_try" in
33589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33590 *) ac_try_echo=$ac_try;;
33591 esac
33592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33593 (eval "$ac_compile") 2>conftest.er1
33594 ac_status=$?
33595 grep -v '^ *+' conftest.er1 >conftest.err
33596 rm -f conftest.er1
33597 cat conftest.err >&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } && {
33600 test -z "$ac_cxx_werror_flag" ||
33601 test ! -s conftest.err
33602 } && test -s conftest.$ac_objext; then
33603 wx_cv_cc_visibility=yes
33604 else
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.$ac_ext >&5
33607
33608 wx_cv_cc_visibility=no
33609 fi
33610
33611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33612 ac_ext=c
33613 ac_cpp='$CPP $CPPFLAGS'
33614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33617
33618 CXXFLAGS="$wx_save_CXXFLAGS"
33619 fi
33620
33621 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33622 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33623 if test $wx_cv_cc_visibility = yes; then
33624 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33625 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33626 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33627 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629
33630 wx_save_CXXFLAGS="$CXXFLAGS"
33631 wx_save_LDFLAGS="$LDFLAGS"
33632 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33633 LDFLAGS="$LDFLAGS -shared -fPIC"
33634 ac_ext=cpp
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33639
33640 cat >conftest.$ac_ext <<_ACEOF
33641 /* confdefs.h. */
33642 _ACEOF
33643 cat confdefs.h >>conftest.$ac_ext
33644 cat >>conftest.$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646
33647 #include <string>
33648
33649 int
33650 main ()
33651 {
33652
33653 std::string s("hello");
33654 return s.length();
33655
33656 ;
33657 return 0;
33658 }
33659 _ACEOF
33660 rm -f conftest.$ac_objext conftest$ac_exeext
33661 if { (ac_try="$ac_link"
33662 case "(($ac_try" in
33663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33664 *) ac_try_echo=$ac_try;;
33665 esac
33666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33667 (eval "$ac_link") 2>conftest.er1
33668 ac_status=$?
33669 grep -v '^ *+' conftest.er1 >conftest.err
33670 rm -f conftest.er1
33671 cat conftest.err >&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); } && {
33674 test -z "$ac_cxx_werror_flag" ||
33675 test ! -s conftest.err
33676 } && test -s conftest$ac_exeext &&
33677 $as_test_x conftest$ac_exeext; then
33678 wx_cv_cc_broken_libstdcxx_visibility=no
33679 else
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33682
33683 wx_cv_cc_broken_libstdcxx_visibility=yes
33684 fi
33685
33686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33687 conftest$ac_exeext conftest.$ac_ext
33688 ac_ext=c
33689 ac_cpp='$CPP $CPPFLAGS'
33690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33693
33694 CXXFLAGS="$wx_save_CXXFLAGS"
33695 LDFLAGS="$wx_save_LDFLAGS"
33696 fi
33697
33698 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33699 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33700
33701 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33702 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33703 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33704 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33705 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 else
33707
33708 ac_ext=cpp
33709 ac_cpp='$CXXCPP $CPPFLAGS'
33710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713
33714 cat >conftest.$ac_ext <<_ACEOF
33715 /* confdefs.h. */
33716 _ACEOF
33717 cat confdefs.h >>conftest.$ac_ext
33718 cat >>conftest.$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33720
33721 #pragma GCC visibility push(default)
33722 #include <string>
33723 #pragma GCC visibility pop
33724
33725 int
33726 main ()
33727 {
33728
33729 std::string s("hello");
33730 return s.length();
33731
33732 ;
33733 return 0;
33734 }
33735 _ACEOF
33736 rm -f conftest.$ac_objext conftest$ac_exeext
33737 if { (ac_try="$ac_link"
33738 case "(($ac_try" in
33739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33740 *) ac_try_echo=$ac_try;;
33741 esac
33742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33743 (eval "$ac_link") 2>conftest.er1
33744 ac_status=$?
33745 grep -v '^ *+' conftest.er1 >conftest.err
33746 rm -f conftest.er1
33747 cat conftest.err >&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); } && {
33750 test -z "$ac_cxx_werror_flag" ||
33751 test ! -s conftest.err
33752 } && test -s conftest$ac_exeext &&
33753 $as_test_x conftest$ac_exeext; then
33754 wx_cv_cc_visibility_workaround=no
33755 else
33756 echo "$as_me: failed program was:" >&5
33757 sed 's/^/| /' conftest.$ac_ext >&5
33758
33759 wx_cv_cc_visibility_workaround=yes
33760 fi
33761
33762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33763 conftest$ac_exeext conftest.$ac_ext
33764 ac_ext=c
33765 ac_cpp='$CPP $CPPFLAGS'
33766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33769
33770
33771 fi
33772
33773 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33774 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33775
33776 if test $wx_cv_cc_visibility_workaround = no; then
33777 wx_cv_cc_visibility=no
33778 fi
33779 fi
33780 fi
33781
33782 if test $wx_cv_cc_visibility = yes; then
33783 cat >>confdefs.h <<\_ACEOF
33784 #define HAVE_VISIBILITY 1
33785 _ACEOF
33786
33787 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33788 cat >>confdefs.h <<\_ACEOF
33789 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33790 _ACEOF
33791
33792 fi
33793 else
33794 CFLAGS_VISIBILITY=""
33795 CXXFLAGS_VISIBILITY=""
33796 fi
33797
33798
33799 fi
33800
33801 fi
33802
33803 if test "x$SUNCXX" = xyes; then
33804 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33805 WXCONFIG_RPATH="-R\$libdir"
33806 else
33807 case "${host}" in
33808 *-*-linux* | *-*-gnu* )
33809 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33810 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33811 ;;
33812
33813 *-*-solaris2* )
33814
33815 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33816
33817 saveLdflags="$LDFLAGS"
33818 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33819 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33820 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33821 cat >conftest.$ac_ext <<_ACEOF
33822 /* confdefs.h. */
33823 _ACEOF
33824 cat confdefs.h >>conftest.$ac_ext
33825 cat >>conftest.$ac_ext <<_ACEOF
33826 /* end confdefs.h. */
33827
33828 int
33829 main ()
33830 {
33831
33832 ;
33833 return 0;
33834 }
33835 _ACEOF
33836 rm -f conftest.$ac_objext conftest$ac_exeext
33837 if { (ac_try="$ac_link"
33838 case "(($ac_try" in
33839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33840 *) ac_try_echo=$ac_try;;
33841 esac
33842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33843 (eval "$ac_link") 2>conftest.er1
33844 ac_status=$?
33845 grep -v '^ *+' conftest.er1 >conftest.err
33846 rm -f conftest.er1
33847 cat conftest.err >&5
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); } && {
33850 test -z "$ac_c_werror_flag" ||
33851 test ! -s conftest.err
33852 } && test -s conftest$ac_exeext &&
33853 $as_test_x conftest$ac_exeext; then
33854
33855 { echo "$as_me:$LINENO: result: yes" >&5
33856 echo "${ECHO_T}yes" >&6; }
33857 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33858 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33859
33860 else
33861 echo "$as_me: failed program was:" >&5
33862 sed 's/^/| /' conftest.$ac_ext >&5
33863
33864
33865 { echo "$as_me:$LINENO: result: no" >&5
33866 echo "${ECHO_T}no" >&6; }
33867 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33868 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33869 LDFLAGS="$saveLdflags -Wl,-R,/"
33870 cat >conftest.$ac_ext <<_ACEOF
33871 /* confdefs.h. */
33872 _ACEOF
33873 cat confdefs.h >>conftest.$ac_ext
33874 cat >>conftest.$ac_ext <<_ACEOF
33875 /* end confdefs.h. */
33876
33877 int
33878 main ()
33879 {
33880
33881 ;
33882 return 0;
33883 }
33884 _ACEOF
33885 rm -f conftest.$ac_objext conftest$ac_exeext
33886 if { (ac_try="$ac_link"
33887 case "(($ac_try" in
33888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33889 *) ac_try_echo=$ac_try;;
33890 esac
33891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33892 (eval "$ac_link") 2>conftest.er1
33893 ac_status=$?
33894 grep -v '^ *+' conftest.er1 >conftest.err
33895 rm -f conftest.er1
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } && {
33899 test -z "$ac_c_werror_flag" ||
33900 test ! -s conftest.err
33901 } && test -s conftest$ac_exeext &&
33902 $as_test_x conftest$ac_exeext; then
33903
33904 { echo "$as_me:$LINENO: result: yes" >&5
33905 echo "${ECHO_T}yes" >&6; }
33906 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33907 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33908
33909 else
33910 echo "$as_me: failed program was:" >&5
33911 sed 's/^/| /' conftest.$ac_ext >&5
33912
33913
33914 { echo "$as_me:$LINENO: result: no" >&5
33915 echo "${ECHO_T}no" >&6; }
33916
33917 fi
33918
33919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33920 conftest$ac_exeext conftest.$ac_ext
33921
33922 fi
33923
33924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33925 conftest$ac_exeext conftest.$ac_ext
33926 LDFLAGS="$saveLdflags"
33927 ;;
33928
33929 *-*-darwin* )
33930 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
33931 if test "$install_name_tool" -a -x "$install_name_tool"; then
33932 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33933 cat <<EOF >change-install-names
33934 #!/bin/sh
33935 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33936 for i in \${libnames} ; do
33937 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33938 for dep in \${libnames} ; do
33939 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33940 done
33941 done
33942 EOF
33943 chmod +x change-install-names
33944 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33945 fi
33946
33947 HEADER_PAD_OPTION="-headerpad_max_install_names"
33948 ;;
33949
33950 *-*-cygwin* | *-*-mingw32* )
33951 ;;
33952
33953 *-*-hpux* )
33954 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33955 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33956 ;;
33957
33958 esac
33959 fi
33960
33961 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33962
33963 if test $wxUSE_RPATH = "no"; then
33964 SAMPLES_RPATH_FLAG=''
33965 DYLIB_PATH_POSTLINK=''
33966 WXCONFIG_RPATH=''
33967 fi
33968
33969 SHARED=1
33970
33971 else
33972
33973 config_linkage_component="-static"
33974 SHARED=0
33975
33976 fi
33977
33978
33979 UNICODE=0
33980 lib_unicode_suffix=
33981 WX_CHARTYPE="ansi"
33982 if test "$wxUSE_UNICODE" = "yes"; then
33983 lib_unicode_suffix=u
33984 WX_CHARTYPE="unicode"
33985 UNICODE=1
33986 fi
33987
33988 lib_debug_suffix=
33989 WX_DEBUGTYPE="release"
33990 DEBUG_FLAG=0
33991 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33992 lib_debug_suffix=d
33993 WX_DEBUGTYPE="debug"
33994 DEBUG_FLAG=1
33995 fi
33996
33997 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33998 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33999
34000 DEBUG_INFO=0
34001 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34002 DEBUG_INFO=1
34003 fi
34004
34005 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34006
34007 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34008
34009 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34010
34011
34012 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34013 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34014 else
34015 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34016 fi
34017 if test "${TOOLKIT_DIR}" = "os2"; then
34018 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34019 else
34020 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34021 fi
34022
34023
34024
34025 if test "$wxUSE_COCOA" = 1; then
34026
34027 ac_ext=c
34028 ac_cpp='$CPP $CPPFLAGS'
34029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34032
34033 ac_ext=m
34034
34035 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34036 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34037 cat >conftest.$ac_ext <<_ACEOF
34038 /* confdefs.h. */
34039 _ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043 #include <AppKit/NSEvent.h>
34044 #include <CoreFoundation/CoreFoundation.h>
34045
34046 int
34047 main ()
34048 {
34049
34050 ;
34051 return 0;
34052 }
34053 _ACEOF
34054 rm -f conftest.$ac_objext
34055 if { (ac_try="$ac_compile"
34056 case "(($ac_try" in
34057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34058 *) ac_try_echo=$ac_try;;
34059 esac
34060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34061 (eval "$ac_compile") 2>conftest.er1
34062 ac_status=$?
34063 grep -v '^ *+' conftest.er1 >conftest.err
34064 rm -f conftest.er1
34065 cat conftest.err >&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } && {
34068 test -z "$ac_c_werror_flag" ||
34069 test ! -s conftest.err
34070 } && test -s conftest.$ac_objext; then
34071 { echo "$as_me:$LINENO: result: no" >&5
34072 echo "${ECHO_T}no" >&6; }
34073 else
34074 echo "$as_me: failed program was:" >&5
34075 sed 's/^/| /' conftest.$ac_ext >&5
34076
34077 { echo "$as_me:$LINENO: result: yes" >&5
34078 echo "${ECHO_T}yes" >&6; }
34079 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34080 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34081 cat >conftest.$ac_ext <<_ACEOF
34082 /* confdefs.h. */
34083 _ACEOF
34084 cat confdefs.h >>conftest.$ac_ext
34085 cat >>conftest.$ac_ext <<_ACEOF
34086 /* end confdefs.h. */
34087 #define __Point__ 1
34088 #include <AppKit/NSEvent.h>
34089 #include <CoreFoundation/CoreFoundation.h>
34090
34091 int
34092 main ()
34093 {
34094
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext
34100 if { (ac_try="$ac_compile"
34101 case "(($ac_try" in
34102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34103 *) ac_try_echo=$ac_try;;
34104 esac
34105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34106 (eval "$ac_compile") 2>conftest.er1
34107 ac_status=$?
34108 grep -v '^ *+' conftest.er1 >conftest.err
34109 rm -f conftest.er1
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } && {
34113 test -z "$ac_c_werror_flag" ||
34114 test ! -s conftest.err
34115 } && test -s conftest.$ac_objext; then
34116 { echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6; }
34118 cat >>confdefs.h <<\_ACEOF
34119 #define __Point__ 1
34120 _ACEOF
34121
34122
34123 else
34124 echo "$as_me: failed program was:" >&5
34125 sed 's/^/| /' conftest.$ac_ext >&5
34126
34127 { { echo "$as_me:$LINENO: error: no
34128 See \`config.log' for more details." >&5
34129 echo "$as_me: error: no
34130 See \`config.log' for more details." >&2;}
34131 { (exit 1); exit 1; }; }
34132
34133 fi
34134
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34136
34137 fi
34138
34139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34140 ac_ext=c
34141 ac_cpp='$CPP $CPPFLAGS'
34142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34145
34146 fi
34147
34148
34149 { echo "$as_me:$LINENO: checking for mode_t" >&5
34150 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34151 if test "${ac_cv_type_mode_t+set}" = set; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34153 else
34154 cat >conftest.$ac_ext <<_ACEOF
34155 /* confdefs.h. */
34156 _ACEOF
34157 cat confdefs.h >>conftest.$ac_ext
34158 cat >>conftest.$ac_ext <<_ACEOF
34159 /* end confdefs.h. */
34160 $ac_includes_default
34161 typedef mode_t ac__type_new_;
34162 int
34163 main ()
34164 {
34165 if ((ac__type_new_ *) 0)
34166 return 0;
34167 if (sizeof (ac__type_new_))
34168 return 0;
34169 ;
34170 return 0;
34171 }
34172 _ACEOF
34173 rm -f conftest.$ac_objext
34174 if { (ac_try="$ac_compile"
34175 case "(($ac_try" in
34176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34177 *) ac_try_echo=$ac_try;;
34178 esac
34179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34180 (eval "$ac_compile") 2>conftest.er1
34181 ac_status=$?
34182 grep -v '^ *+' conftest.er1 >conftest.err
34183 rm -f conftest.er1
34184 cat conftest.err >&5
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); } && {
34187 test -z "$ac_c_werror_flag" ||
34188 test ! -s conftest.err
34189 } && test -s conftest.$ac_objext; then
34190 ac_cv_type_mode_t=yes
34191 else
34192 echo "$as_me: failed program was:" >&5
34193 sed 's/^/| /' conftest.$ac_ext >&5
34194
34195 ac_cv_type_mode_t=no
34196 fi
34197
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 fi
34200 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34201 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34202 if test $ac_cv_type_mode_t = yes; then
34203 :
34204 else
34205
34206 cat >>confdefs.h <<_ACEOF
34207 #define mode_t int
34208 _ACEOF
34209
34210 fi
34211
34212 { echo "$as_me:$LINENO: checking for off_t" >&5
34213 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34214 if test "${ac_cv_type_off_t+set}" = set; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34216 else
34217 cat >conftest.$ac_ext <<_ACEOF
34218 /* confdefs.h. */
34219 _ACEOF
34220 cat confdefs.h >>conftest.$ac_ext
34221 cat >>conftest.$ac_ext <<_ACEOF
34222 /* end confdefs.h. */
34223 $ac_includes_default
34224 typedef off_t ac__type_new_;
34225 int
34226 main ()
34227 {
34228 if ((ac__type_new_ *) 0)
34229 return 0;
34230 if (sizeof (ac__type_new_))
34231 return 0;
34232 ;
34233 return 0;
34234 }
34235 _ACEOF
34236 rm -f conftest.$ac_objext
34237 if { (ac_try="$ac_compile"
34238 case "(($ac_try" in
34239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34240 *) ac_try_echo=$ac_try;;
34241 esac
34242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34243 (eval "$ac_compile") 2>conftest.er1
34244 ac_status=$?
34245 grep -v '^ *+' conftest.er1 >conftest.err
34246 rm -f conftest.er1
34247 cat conftest.err >&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); } && {
34250 test -z "$ac_c_werror_flag" ||
34251 test ! -s conftest.err
34252 } && test -s conftest.$ac_objext; then
34253 ac_cv_type_off_t=yes
34254 else
34255 echo "$as_me: failed program was:" >&5
34256 sed 's/^/| /' conftest.$ac_ext >&5
34257
34258 ac_cv_type_off_t=no
34259 fi
34260
34261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34262 fi
34263 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34264 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34265 if test $ac_cv_type_off_t = yes; then
34266 :
34267 else
34268
34269 cat >>confdefs.h <<_ACEOF
34270 #define off_t long int
34271 _ACEOF
34272
34273 fi
34274
34275 { echo "$as_me:$LINENO: checking for pid_t" >&5
34276 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34277 if test "${ac_cv_type_pid_t+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34279 else
34280 cat >conftest.$ac_ext <<_ACEOF
34281 /* confdefs.h. */
34282 _ACEOF
34283 cat confdefs.h >>conftest.$ac_ext
34284 cat >>conftest.$ac_ext <<_ACEOF
34285 /* end confdefs.h. */
34286 $ac_includes_default
34287 typedef pid_t ac__type_new_;
34288 int
34289 main ()
34290 {
34291 if ((ac__type_new_ *) 0)
34292 return 0;
34293 if (sizeof (ac__type_new_))
34294 return 0;
34295 ;
34296 return 0;
34297 }
34298 _ACEOF
34299 rm -f conftest.$ac_objext
34300 if { (ac_try="$ac_compile"
34301 case "(($ac_try" in
34302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34303 *) ac_try_echo=$ac_try;;
34304 esac
34305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34306 (eval "$ac_compile") 2>conftest.er1
34307 ac_status=$?
34308 grep -v '^ *+' conftest.er1 >conftest.err
34309 rm -f conftest.er1
34310 cat conftest.err >&5
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); } && {
34313 test -z "$ac_c_werror_flag" ||
34314 test ! -s conftest.err
34315 } && test -s conftest.$ac_objext; then
34316 ac_cv_type_pid_t=yes
34317 else
34318 echo "$as_me: failed program was:" >&5
34319 sed 's/^/| /' conftest.$ac_ext >&5
34320
34321 ac_cv_type_pid_t=no
34322 fi
34323
34324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34325 fi
34326 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34327 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34328 if test $ac_cv_type_pid_t = yes; then
34329 :
34330 else
34331
34332 cat >>confdefs.h <<_ACEOF
34333 #define pid_t int
34334 _ACEOF
34335
34336 fi
34337
34338 { echo "$as_me:$LINENO: checking for size_t" >&5
34339 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34340 if test "${ac_cv_type_size_t+set}" = set; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 else
34343 cat >conftest.$ac_ext <<_ACEOF
34344 /* confdefs.h. */
34345 _ACEOF
34346 cat confdefs.h >>conftest.$ac_ext
34347 cat >>conftest.$ac_ext <<_ACEOF
34348 /* end confdefs.h. */
34349 $ac_includes_default
34350 typedef size_t ac__type_new_;
34351 int
34352 main ()
34353 {
34354 if ((ac__type_new_ *) 0)
34355 return 0;
34356 if (sizeof (ac__type_new_))
34357 return 0;
34358 ;
34359 return 0;
34360 }
34361 _ACEOF
34362 rm -f conftest.$ac_objext
34363 if { (ac_try="$ac_compile"
34364 case "(($ac_try" in
34365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34366 *) ac_try_echo=$ac_try;;
34367 esac
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_compile") 2>conftest.er1
34370 ac_status=$?
34371 grep -v '^ *+' conftest.er1 >conftest.err
34372 rm -f conftest.er1
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest.$ac_objext; then
34379 ac_cv_type_size_t=yes
34380 else
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34383
34384 ac_cv_type_size_t=no
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388 fi
34389 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34390 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34391 if test $ac_cv_type_size_t = yes; then
34392 :
34393 else
34394
34395 cat >>confdefs.h <<_ACEOF
34396 #define size_t unsigned int
34397 _ACEOF
34398
34399 fi
34400
34401
34402 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34403 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34404 if test "${ac_cv_type_ssize_t+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34406 else
34407 cat >conftest.$ac_ext <<_ACEOF
34408 /* confdefs.h. */
34409 _ACEOF
34410 cat confdefs.h >>conftest.$ac_ext
34411 cat >>conftest.$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34413 $ac_includes_default
34414 typedef ssize_t ac__type_new_;
34415 int
34416 main ()
34417 {
34418 if ((ac__type_new_ *) 0)
34419 return 0;
34420 if (sizeof (ac__type_new_))
34421 return 0;
34422 ;
34423 return 0;
34424 }
34425 _ACEOF
34426 rm -f conftest.$ac_objext
34427 if { (ac_try="$ac_compile"
34428 case "(($ac_try" in
34429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34430 *) ac_try_echo=$ac_try;;
34431 esac
34432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34433 (eval "$ac_compile") 2>conftest.er1
34434 ac_status=$?
34435 grep -v '^ *+' conftest.er1 >conftest.err
34436 rm -f conftest.er1
34437 cat conftest.err >&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } && {
34440 test -z "$ac_c_werror_flag" ||
34441 test ! -s conftest.err
34442 } && test -s conftest.$ac_objext; then
34443 ac_cv_type_ssize_t=yes
34444 else
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.$ac_ext >&5
34447
34448 ac_cv_type_ssize_t=no
34449 fi
34450
34451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34452 fi
34453 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34454 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34455 if test $ac_cv_type_ssize_t = yes; then
34456
34457 cat >>confdefs.h <<_ACEOF
34458 #define HAVE_SSIZE_T 1
34459 _ACEOF
34460
34461
34462 fi
34463
34464
34465 ac_ext=cpp
34466 ac_cpp='$CXXCPP $CPPFLAGS'
34467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34470 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34471 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34472 if test "${wx_cv_size_t_is_uint+set}" = set; then
34473 echo $ECHO_N "(cached) $ECHO_C" >&6
34474 else
34475
34476 cat >conftest.$ac_ext <<_ACEOF
34477 /* confdefs.h. */
34478 _ACEOF
34479 cat confdefs.h >>conftest.$ac_ext
34480 cat >>conftest.$ac_ext <<_ACEOF
34481 /* end confdefs.h. */
34482 #include <stddef.h>
34483 int
34484 main ()
34485 {
34486
34487 return 0; }
34488
34489 struct Foo { void foo(size_t); void foo(unsigned int); };
34490
34491 int bar() {
34492
34493 ;
34494 return 0;
34495 }
34496 _ACEOF
34497 rm -f conftest.$ac_objext
34498 if { (ac_try="$ac_compile"
34499 case "(($ac_try" in
34500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34501 *) ac_try_echo=$ac_try;;
34502 esac
34503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34504 (eval "$ac_compile") 2>conftest.er1
34505 ac_status=$?
34506 grep -v '^ *+' conftest.er1 >conftest.err
34507 rm -f conftest.er1
34508 cat conftest.err >&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); } && {
34511 test -z "$ac_cxx_werror_flag" ||
34512 test ! -s conftest.err
34513 } && test -s conftest.$ac_objext; then
34514 wx_cv_size_t_is_uint=no
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 wx_cv_size_t_is_uint=yes
34520
34521 fi
34522
34523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34524
34525
34526 fi
34527 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34528 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34529
34530 if test "$wx_cv_size_t_is_uint" = "yes"; then
34531 cat >>confdefs.h <<\_ACEOF
34532 #define wxSIZE_T_IS_UINT 1
34533 _ACEOF
34534
34535 else
34536 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34537 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34538 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541 cat >conftest.$ac_ext <<_ACEOF
34542 /* confdefs.h. */
34543 _ACEOF
34544 cat confdefs.h >>conftest.$ac_ext
34545 cat >>conftest.$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34547 #include <stddef.h>
34548 int
34549 main ()
34550 {
34551
34552 return 0; }
34553
34554 struct Foo { void foo(size_t); void foo(unsigned long); };
34555
34556 int bar() {
34557
34558 ;
34559 return 0;
34560 }
34561 _ACEOF
34562 rm -f conftest.$ac_objext
34563 if { (ac_try="$ac_compile"
34564 case "(($ac_try" in
34565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34566 *) ac_try_echo=$ac_try;;
34567 esac
34568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34569 (eval "$ac_compile") 2>conftest.er1
34570 ac_status=$?
34571 grep -v '^ *+' conftest.er1 >conftest.err
34572 rm -f conftest.er1
34573 cat conftest.err >&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } && {
34576 test -z "$ac_cxx_werror_flag" ||
34577 test ! -s conftest.err
34578 } && test -s conftest.$ac_objext; then
34579 wx_cv_size_t_is_ulong=no
34580 else
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.$ac_ext >&5
34583
34584 wx_cv_size_t_is_ulong=yes
34585
34586 fi
34587
34588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34589
34590 fi
34591 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34592 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34593
34594 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34595 cat >>confdefs.h <<\_ACEOF
34596 #define wxSIZE_T_IS_ULONG 1
34597 _ACEOF
34598
34599 fi
34600 fi
34601
34602 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34603 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34604 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 else
34607 cat >conftest.$ac_ext <<_ACEOF
34608 /* confdefs.h. */
34609 _ACEOF
34610 cat confdefs.h >>conftest.$ac_ext
34611 cat >>conftest.$ac_ext <<_ACEOF
34612 /* end confdefs.h. */
34613 #include <wchar.h>
34614 int
34615 main ()
34616 {
34617
34618 return 0; }
34619
34620 struct Foo { void foo(wchar_t);
34621 void foo(unsigned short);
34622 void foo(unsigned int);
34623 void foo(unsigned long); };
34624
34625 int bar() {
34626
34627 ;
34628 return 0;
34629 }
34630 _ACEOF
34631 rm -f conftest.$ac_objext
34632 if { (ac_try="$ac_compile"
34633 case "(($ac_try" in
34634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34635 *) ac_try_echo=$ac_try;;
34636 esac
34637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34638 (eval "$ac_compile") 2>conftest.er1
34639 ac_status=$?
34640 grep -v '^ *+' conftest.er1 >conftest.err
34641 rm -f conftest.er1
34642 cat conftest.err >&5
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); } && {
34645 test -z "$ac_cxx_werror_flag" ||
34646 test ! -s conftest.err
34647 } && test -s conftest.$ac_objext; then
34648 wx_cv_wchar_t_is_separate_type=yes
34649 else
34650 echo "$as_me: failed program was:" >&5
34651 sed 's/^/| /' conftest.$ac_ext >&5
34652
34653 wx_cv_wchar_t_is_separate_type=no
34654
34655 fi
34656
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658
34659 fi
34660 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34661 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34662
34663 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34664 cat >>confdefs.h <<\_ACEOF
34665 #define wxWCHAR_T_IS_REAL_TYPE 1
34666 _ACEOF
34667
34668 else
34669 cat >>confdefs.h <<\_ACEOF
34670 #define wxWCHAR_T_IS_REAL_TYPE 0
34671 _ACEOF
34672
34673 fi
34674
34675 ac_ext=c
34676 ac_cpp='$CPP $CPPFLAGS'
34677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34680
34681
34682 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34683 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34684 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34686 else
34687
34688 cat >conftest.$ac_ext <<_ACEOF
34689 /* confdefs.h. */
34690 _ACEOF
34691 cat confdefs.h >>conftest.$ac_ext
34692 cat >>conftest.$ac_ext <<_ACEOF
34693 /* end confdefs.h. */
34694 #include <pwd.h>
34695 int
34696 main ()
34697 {
34698
34699 char *p;
34700 struct passwd *pw;
34701 p = pw->pw_gecos;
34702
34703 ;
34704 return 0;
34705 }
34706 _ACEOF
34707 rm -f conftest.$ac_objext
34708 if { (ac_try="$ac_compile"
34709 case "(($ac_try" in
34710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34711 *) ac_try_echo=$ac_try;;
34712 esac
34713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34714 (eval "$ac_compile") 2>conftest.er1
34715 ac_status=$?
34716 grep -v '^ *+' conftest.er1 >conftest.err
34717 rm -f conftest.er1
34718 cat conftest.err >&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); } && {
34721 test -z "$ac_c_werror_flag" ||
34722 test ! -s conftest.err
34723 } && test -s conftest.$ac_objext; then
34724
34725 wx_cv_struct_pw_gecos=yes
34726
34727 else
34728 echo "$as_me: failed program was:" >&5
34729 sed 's/^/| /' conftest.$ac_ext >&5
34730
34731
34732 wx_cv_struct_pw_gecos=no
34733
34734
34735 fi
34736
34737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34738
34739
34740 fi
34741 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34742 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34743
34744 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34745 cat >>confdefs.h <<\_ACEOF
34746 #define HAVE_PW_GECOS 1
34747 _ACEOF
34748
34749 fi
34750
34751
34752 if test "$wxUSE_WCHAR_T" = "yes"; then
34753 cat >>confdefs.h <<\_ACEOF
34754 #define wxUSE_WCHAR_T 1
34755 _ACEOF
34756
34757
34758 WCSLEN_FOUND=0
34759 WCHAR_LINK=
34760
34761 for ac_func in wcslen
34762 do
34763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34768 else
34769 cat >conftest.$ac_ext <<_ACEOF
34770 /* confdefs.h. */
34771 _ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34777 #define $ac_func innocuous_$ac_func
34778
34779 /* System header to define __stub macros and hopefully few prototypes,
34780 which can conflict with char $ac_func (); below.
34781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34782 <limits.h> exists even on freestanding compilers. */
34783
34784 #ifdef __STDC__
34785 # include <limits.h>
34786 #else
34787 # include <assert.h>
34788 #endif
34789
34790 #undef $ac_func
34791
34792 /* Override any GCC internal prototype to avoid an error.
34793 Use char because int might match the return type of a GCC
34794 builtin and then its argument prototype would still apply. */
34795 #ifdef __cplusplus
34796 extern "C"
34797 #endif
34798 char $ac_func ();
34799 /* The GNU C library defines this for functions which it implements
34800 to always fail with ENOSYS. Some functions are actually named
34801 something starting with __ and the normal name is an alias. */
34802 #if defined __stub_$ac_func || defined __stub___$ac_func
34803 choke me
34804 #endif
34805
34806 int
34807 main ()
34808 {
34809 return $ac_func ();
34810 ;
34811 return 0;
34812 }
34813 _ACEOF
34814 rm -f conftest.$ac_objext conftest$ac_exeext
34815 if { (ac_try="$ac_link"
34816 case "(($ac_try" in
34817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34818 *) ac_try_echo=$ac_try;;
34819 esac
34820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34821 (eval "$ac_link") 2>conftest.er1
34822 ac_status=$?
34823 grep -v '^ *+' conftest.er1 >conftest.err
34824 rm -f conftest.er1
34825 cat conftest.err >&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } && {
34828 test -z "$ac_c_werror_flag" ||
34829 test ! -s conftest.err
34830 } && test -s conftest$ac_exeext &&
34831 $as_test_x conftest$ac_exeext; then
34832 eval "$as_ac_var=yes"
34833 else
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.$ac_ext >&5
34836
34837 eval "$as_ac_var=no"
34838 fi
34839
34840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34841 conftest$ac_exeext conftest.$ac_ext
34842 fi
34843 ac_res=`eval echo '${'$as_ac_var'}'`
34844 { echo "$as_me:$LINENO: result: $ac_res" >&5
34845 echo "${ECHO_T}$ac_res" >&6; }
34846 if test `eval echo '${'$as_ac_var'}'` = yes; then
34847 cat >>confdefs.h <<_ACEOF
34848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34849 _ACEOF
34850 WCSLEN_FOUND=1
34851 fi
34852 done
34853
34854
34855 if test "$WCSLEN_FOUND" = 0; then
34856 if test "$TOOLKIT" = "MSW"; then
34857 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34858 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34859 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34860 echo $ECHO_N "(cached) $ECHO_C" >&6
34861 else
34862 ac_check_lib_save_LIBS=$LIBS
34863 LIBS="-lmsvcrt $LIBS"
34864 cat >conftest.$ac_ext <<_ACEOF
34865 /* confdefs.h. */
34866 _ACEOF
34867 cat confdefs.h >>conftest.$ac_ext
34868 cat >>conftest.$ac_ext <<_ACEOF
34869 /* end confdefs.h. */
34870
34871 /* Override any GCC internal prototype to avoid an error.
34872 Use char because int might match the return type of a GCC
34873 builtin and then its argument prototype would still apply. */
34874 #ifdef __cplusplus
34875 extern "C"
34876 #endif
34877 char wcslen ();
34878 int
34879 main ()
34880 {
34881 return wcslen ();
34882 ;
34883 return 0;
34884 }
34885 _ACEOF
34886 rm -f conftest.$ac_objext conftest$ac_exeext
34887 if { (ac_try="$ac_link"
34888 case "(($ac_try" in
34889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34890 *) ac_try_echo=$ac_try;;
34891 esac
34892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34893 (eval "$ac_link") 2>conftest.er1
34894 ac_status=$?
34895 grep -v '^ *+' conftest.er1 >conftest.err
34896 rm -f conftest.er1
34897 cat conftest.err >&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } && {
34900 test -z "$ac_c_werror_flag" ||
34901 test ! -s conftest.err
34902 } && test -s conftest$ac_exeext &&
34903 $as_test_x conftest$ac_exeext; then
34904 ac_cv_lib_msvcrt_wcslen=yes
34905 else
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.$ac_ext >&5
34908
34909 ac_cv_lib_msvcrt_wcslen=no
34910 fi
34911
34912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34913 conftest$ac_exeext conftest.$ac_ext
34914 LIBS=$ac_check_lib_save_LIBS
34915 fi
34916 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34917 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34918 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34919 WCHAR_OK=1
34920 fi
34921
34922 else
34923 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34924 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34925 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34926 echo $ECHO_N "(cached) $ECHO_C" >&6
34927 else
34928 ac_check_lib_save_LIBS=$LIBS
34929 LIBS="-lw $LIBS"
34930 cat >conftest.$ac_ext <<_ACEOF
34931 /* confdefs.h. */
34932 _ACEOF
34933 cat confdefs.h >>conftest.$ac_ext
34934 cat >>conftest.$ac_ext <<_ACEOF
34935 /* end confdefs.h. */
34936
34937 /* Override any GCC internal prototype to avoid an error.
34938 Use char because int might match the return type of a GCC
34939 builtin and then its argument prototype would still apply. */
34940 #ifdef __cplusplus
34941 extern "C"
34942 #endif
34943 char wcslen ();
34944 int
34945 main ()
34946 {
34947 return wcslen ();
34948 ;
34949 return 0;
34950 }
34951 _ACEOF
34952 rm -f conftest.$ac_objext conftest$ac_exeext
34953 if { (ac_try="$ac_link"
34954 case "(($ac_try" in
34955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34956 *) ac_try_echo=$ac_try;;
34957 esac
34958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34959 (eval "$ac_link") 2>conftest.er1
34960 ac_status=$?
34961 grep -v '^ *+' conftest.er1 >conftest.err
34962 rm -f conftest.er1
34963 cat conftest.err >&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } && {
34966 test -z "$ac_c_werror_flag" ||
34967 test ! -s conftest.err
34968 } && test -s conftest$ac_exeext &&
34969 $as_test_x conftest$ac_exeext; then
34970 ac_cv_lib_w_wcslen=yes
34971 else
34972 echo "$as_me: failed program was:" >&5
34973 sed 's/^/| /' conftest.$ac_ext >&5
34974
34975 ac_cv_lib_w_wcslen=no
34976 fi
34977
34978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34979 conftest$ac_exeext conftest.$ac_ext
34980 LIBS=$ac_check_lib_save_LIBS
34981 fi
34982 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34983 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34984 if test $ac_cv_lib_w_wcslen = yes; then
34985
34986 WCHAR_LINK=" -lw"
34987 WCSLEN_FOUND=1
34988
34989 fi
34990
34991 fi
34992 fi
34993
34994 if test "$WCSLEN_FOUND" = 1; then
34995 cat >>confdefs.h <<\_ACEOF
34996 #define HAVE_WCSLEN 1
34997 _ACEOF
34998
34999 fi
35000
35001
35002
35003
35004
35005
35006 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35007 do
35008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35009 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35011 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35012 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 else
35014 cat >conftest.$ac_ext <<_ACEOF
35015 /* confdefs.h. */
35016 _ACEOF
35017 cat confdefs.h >>conftest.$ac_ext
35018 cat >>conftest.$ac_ext <<_ACEOF
35019 /* end confdefs.h. */
35020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35022 #define $ac_func innocuous_$ac_func
35023
35024 /* System header to define __stub macros and hopefully few prototypes,
35025 which can conflict with char $ac_func (); below.
35026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35027 <limits.h> exists even on freestanding compilers. */
35028
35029 #ifdef __STDC__
35030 # include <limits.h>
35031 #else
35032 # include <assert.h>
35033 #endif
35034
35035 #undef $ac_func
35036
35037 /* Override any GCC internal prototype to avoid an error.
35038 Use char because int might match the return type of a GCC
35039 builtin and then its argument prototype would still apply. */
35040 #ifdef __cplusplus
35041 extern "C"
35042 #endif
35043 char $ac_func ();
35044 /* The GNU C library defines this for functions which it implements
35045 to always fail with ENOSYS. Some functions are actually named
35046 something starting with __ and the normal name is an alias. */
35047 #if defined __stub_$ac_func || defined __stub___$ac_func
35048 choke me
35049 #endif
35050
35051 int
35052 main ()
35053 {
35054 return $ac_func ();
35055 ;
35056 return 0;
35057 }
35058 _ACEOF
35059 rm -f conftest.$ac_objext conftest$ac_exeext
35060 if { (ac_try="$ac_link"
35061 case "(($ac_try" in
35062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35063 *) ac_try_echo=$ac_try;;
35064 esac
35065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35066 (eval "$ac_link") 2>conftest.er1
35067 ac_status=$?
35068 grep -v '^ *+' conftest.er1 >conftest.err
35069 rm -f conftest.er1
35070 cat conftest.err >&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); } && {
35073 test -z "$ac_c_werror_flag" ||
35074 test ! -s conftest.err
35075 } && test -s conftest$ac_exeext &&
35076 $as_test_x conftest$ac_exeext; then
35077 eval "$as_ac_var=yes"
35078 else
35079 echo "$as_me: failed program was:" >&5
35080 sed 's/^/| /' conftest.$ac_ext >&5
35081
35082 eval "$as_ac_var=no"
35083 fi
35084
35085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35086 conftest$ac_exeext conftest.$ac_ext
35087 fi
35088 ac_res=`eval echo '${'$as_ac_var'}'`
35089 { echo "$as_me:$LINENO: result: $ac_res" >&5
35090 echo "${ECHO_T}$ac_res" >&6; }
35091 if test `eval echo '${'$as_ac_var'}'` = yes; then
35092 cat >>confdefs.h <<_ACEOF
35093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35094 _ACEOF
35095
35096 fi
35097 done
35098
35099
35100 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35101 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35102 fi
35103
35104 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35105 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35106 if test "${ac_cv_type_mbstate_t+set}" = set; then
35107 echo $ECHO_N "(cached) $ECHO_C" >&6
35108 else
35109 cat >conftest.$ac_ext <<_ACEOF
35110 /* confdefs.h. */
35111 _ACEOF
35112 cat confdefs.h >>conftest.$ac_ext
35113 cat >>conftest.$ac_ext <<_ACEOF
35114 /* end confdefs.h. */
35115 #include <wchar.h>
35116
35117 typedef mbstate_t ac__type_new_;
35118 int
35119 main ()
35120 {
35121 if ((ac__type_new_ *) 0)
35122 return 0;
35123 if (sizeof (ac__type_new_))
35124 return 0;
35125 ;
35126 return 0;
35127 }
35128 _ACEOF
35129 rm -f conftest.$ac_objext
35130 if { (ac_try="$ac_compile"
35131 case "(($ac_try" in
35132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35133 *) ac_try_echo=$ac_try;;
35134 esac
35135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35136 (eval "$ac_compile") 2>conftest.er1
35137 ac_status=$?
35138 grep -v '^ *+' conftest.er1 >conftest.err
35139 rm -f conftest.er1
35140 cat conftest.err >&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); } && {
35143 test -z "$ac_c_werror_flag" ||
35144 test ! -s conftest.err
35145 } && test -s conftest.$ac_objext; then
35146 ac_cv_type_mbstate_t=yes
35147 else
35148 echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.$ac_ext >&5
35150
35151 ac_cv_type_mbstate_t=no
35152 fi
35153
35154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35155 fi
35156 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35157 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35158 if test $ac_cv_type_mbstate_t = yes; then
35159
35160 cat >>confdefs.h <<_ACEOF
35161 #define HAVE_MBSTATE_T 1
35162 _ACEOF
35163
35164
35165 for ac_func in wcsrtombs
35166 do
35167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35168 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35170 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35171 echo $ECHO_N "(cached) $ECHO_C" >&6
35172 else
35173 cat >conftest.$ac_ext <<_ACEOF
35174 /* confdefs.h. */
35175 _ACEOF
35176 cat confdefs.h >>conftest.$ac_ext
35177 cat >>conftest.$ac_ext <<_ACEOF
35178 /* end confdefs.h. */
35179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35181 #define $ac_func innocuous_$ac_func
35182
35183 /* System header to define __stub macros and hopefully few prototypes,
35184 which can conflict with char $ac_func (); below.
35185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35186 <limits.h> exists even on freestanding compilers. */
35187
35188 #ifdef __STDC__
35189 # include <limits.h>
35190 #else
35191 # include <assert.h>
35192 #endif
35193
35194 #undef $ac_func
35195
35196 /* Override any GCC internal prototype to avoid an error.
35197 Use char because int might match the return type of a GCC
35198 builtin and then its argument prototype would still apply. */
35199 #ifdef __cplusplus
35200 extern "C"
35201 #endif
35202 char $ac_func ();
35203 /* The GNU C library defines this for functions which it implements
35204 to always fail with ENOSYS. Some functions are actually named
35205 something starting with __ and the normal name is an alias. */
35206 #if defined __stub_$ac_func || defined __stub___$ac_func
35207 choke me
35208 #endif
35209
35210 int
35211 main ()
35212 {
35213 return $ac_func ();
35214 ;
35215 return 0;
35216 }
35217 _ACEOF
35218 rm -f conftest.$ac_objext conftest$ac_exeext
35219 if { (ac_try="$ac_link"
35220 case "(($ac_try" in
35221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35222 *) ac_try_echo=$ac_try;;
35223 esac
35224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35225 (eval "$ac_link") 2>conftest.er1
35226 ac_status=$?
35227 grep -v '^ *+' conftest.er1 >conftest.err
35228 rm -f conftest.er1
35229 cat conftest.err >&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } && {
35232 test -z "$ac_c_werror_flag" ||
35233 test ! -s conftest.err
35234 } && test -s conftest$ac_exeext &&
35235 $as_test_x conftest$ac_exeext; then
35236 eval "$as_ac_var=yes"
35237 else
35238 echo "$as_me: failed program was:" >&5
35239 sed 's/^/| /' conftest.$ac_ext >&5
35240
35241 eval "$as_ac_var=no"
35242 fi
35243
35244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35245 conftest$ac_exeext conftest.$ac_ext
35246 fi
35247 ac_res=`eval echo '${'$as_ac_var'}'`
35248 { echo "$as_me:$LINENO: result: $ac_res" >&5
35249 echo "${ECHO_T}$ac_res" >&6; }
35250 if test `eval echo '${'$as_ac_var'}'` = yes; then
35251 cat >>confdefs.h <<_ACEOF
35252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35253 _ACEOF
35254
35255 fi
35256 done
35257
35258 fi
35259
35260 else
35261 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35262 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35263 fi
35264
35265
35266
35267
35268 for ac_func in snprintf vsnprintf vsscanf
35269 do
35270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35274 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 else
35276 cat >conftest.$ac_ext <<_ACEOF
35277 /* confdefs.h. */
35278 _ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35284 #define $ac_func innocuous_$ac_func
35285
35286 /* System header to define __stub macros and hopefully few prototypes,
35287 which can conflict with char $ac_func (); below.
35288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35289 <limits.h> exists even on freestanding compilers. */
35290
35291 #ifdef __STDC__
35292 # include <limits.h>
35293 #else
35294 # include <assert.h>
35295 #endif
35296
35297 #undef $ac_func
35298
35299 /* Override any GCC internal prototype to avoid an error.
35300 Use char because int might match the return type of a GCC
35301 builtin and then its argument prototype would still apply. */
35302 #ifdef __cplusplus
35303 extern "C"
35304 #endif
35305 char $ac_func ();
35306 /* The GNU C library defines this for functions which it implements
35307 to always fail with ENOSYS. Some functions are actually named
35308 something starting with __ and the normal name is an alias. */
35309 #if defined __stub_$ac_func || defined __stub___$ac_func
35310 choke me
35311 #endif
35312
35313 int
35314 main ()
35315 {
35316 return $ac_func ();
35317 ;
35318 return 0;
35319 }
35320 _ACEOF
35321 rm -f conftest.$ac_objext conftest$ac_exeext
35322 if { (ac_try="$ac_link"
35323 case "(($ac_try" in
35324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35325 *) ac_try_echo=$ac_try;;
35326 esac
35327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35328 (eval "$ac_link") 2>conftest.er1
35329 ac_status=$?
35330 grep -v '^ *+' conftest.er1 >conftest.err
35331 rm -f conftest.er1
35332 cat conftest.err >&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } && {
35335 test -z "$ac_c_werror_flag" ||
35336 test ! -s conftest.err
35337 } && test -s conftest$ac_exeext &&
35338 $as_test_x conftest$ac_exeext; then
35339 eval "$as_ac_var=yes"
35340 else
35341 echo "$as_me: failed program was:" >&5
35342 sed 's/^/| /' conftest.$ac_ext >&5
35343
35344 eval "$as_ac_var=no"
35345 fi
35346
35347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35348 conftest$ac_exeext conftest.$ac_ext
35349 fi
35350 ac_res=`eval echo '${'$as_ac_var'}'`
35351 { echo "$as_me:$LINENO: result: $ac_res" >&5
35352 echo "${ECHO_T}$ac_res" >&6; }
35353 if test `eval echo '${'$as_ac_var'}'` = yes; then
35354 cat >>confdefs.h <<_ACEOF
35355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35356 _ACEOF
35357
35358 fi
35359 done
35360
35361
35362 ac_ext=cpp
35363 ac_cpp='$CXXCPP $CPPFLAGS'
35364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35367
35368 if test "$ac_cv_func_vsnprintf" = "yes"; then
35369 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35370 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35371 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35373 else
35374
35375 cat >conftest.$ac_ext <<_ACEOF
35376 /* confdefs.h. */
35377 _ACEOF
35378 cat confdefs.h >>conftest.$ac_ext
35379 cat >>conftest.$ac_ext <<_ACEOF
35380 /* end confdefs.h. */
35381
35382 #include <stdio.h>
35383 #include <stdarg.h>
35384 #ifdef __MSL__
35385 #if __MSL__ >= 0x6000
35386 namespace std {}
35387 using namespace std;
35388 #endif
35389 #endif
35390
35391 int
35392 main ()
35393 {
35394
35395 char *buf;
35396 va_list ap;
35397 vsnprintf(buf, 10u, "%s", ap);
35398
35399 ;
35400 return 0;
35401 }
35402 _ACEOF
35403 rm -f conftest.$ac_objext
35404 if { (ac_try="$ac_compile"
35405 case "(($ac_try" in
35406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35407 *) ac_try_echo=$ac_try;;
35408 esac
35409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35410 (eval "$ac_compile") 2>conftest.er1
35411 ac_status=$?
35412 grep -v '^ *+' conftest.er1 >conftest.err
35413 rm -f conftest.er1
35414 cat conftest.err >&5
35415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416 (exit $ac_status); } && {
35417 test -z "$ac_cxx_werror_flag" ||
35418 test ! -s conftest.err
35419 } && test -s conftest.$ac_objext; then
35420 wx_cv_func_vsnprintf_decl=yes
35421 else
35422 echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35424
35425 wx_cv_func_vsnprintf_decl=no
35426
35427 fi
35428
35429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35430
35431
35432 fi
35433 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35434 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35435
35436 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35437 cat >>confdefs.h <<\_ACEOF
35438 #define HAVE_VSNPRINTF_DECL 1
35439 _ACEOF
35440
35441
35442 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35443 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35444 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35445 echo $ECHO_N "(cached) $ECHO_C" >&6
35446 else
35447
35448 cat >conftest.$ac_ext <<_ACEOF
35449 /* confdefs.h. */
35450 _ACEOF
35451 cat confdefs.h >>conftest.$ac_ext
35452 cat >>conftest.$ac_ext <<_ACEOF
35453 /* end confdefs.h. */
35454
35455 #include <stdio.h>
35456 #include <stdarg.h>
35457 #ifdef __MSL__
35458 #if __MSL__ >= 0x6000
35459 namespace std {}
35460 using namespace std;
35461 #endif
35462 #endif
35463
35464 int
35465 main ()
35466 {
35467
35468 char *buf;
35469 va_list ap;
35470 const char *fmt = "%s";
35471 vsnprintf(buf, 10u, fmt, ap);
35472
35473 ;
35474 return 0;
35475 }
35476 _ACEOF
35477 rm -f conftest.$ac_objext
35478 if { (ac_try="$ac_compile"
35479 case "(($ac_try" in
35480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35481 *) ac_try_echo=$ac_try;;
35482 esac
35483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35484 (eval "$ac_compile") 2>conftest.er1
35485 ac_status=$?
35486 grep -v '^ *+' conftest.er1 >conftest.err
35487 rm -f conftest.er1
35488 cat conftest.err >&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); } && {
35491 test -z "$ac_cxx_werror_flag" ||
35492 test ! -s conftest.err
35493 } && test -s conftest.$ac_objext; then
35494 wx_cv_func_broken_vsnprintf_decl=no
35495 else
35496 echo "$as_me: failed program was:" >&5
35497 sed 's/^/| /' conftest.$ac_ext >&5
35498
35499 wx_cv_func_broken_vsnprintf_decl=yes
35500
35501 fi
35502
35503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35504
35505
35506 fi
35507 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35508 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35509
35510 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35511 cat >>confdefs.h <<\_ACEOF
35512 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35513 _ACEOF
35514
35515 fi
35516 fi
35517 fi
35518
35519 if test "$ac_cv_func_snprintf" = "yes"; then
35520 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35521 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35522 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35523 echo $ECHO_N "(cached) $ECHO_C" >&6
35524 else
35525
35526 cat >conftest.$ac_ext <<_ACEOF
35527 /* confdefs.h. */
35528 _ACEOF
35529 cat confdefs.h >>conftest.$ac_ext
35530 cat >>conftest.$ac_ext <<_ACEOF
35531 /* end confdefs.h. */
35532
35533 #include <stdio.h>
35534 #include <stdarg.h>
35535 #ifdef __MSL__
35536 #if __MSL__ >= 0x6000
35537 namespace std {}
35538 using namespace std;
35539 #endif
35540 #endif
35541
35542 int
35543 main ()
35544 {
35545
35546 char *buf;
35547 snprintf(buf, 10u, "%s", "wx");
35548
35549 ;
35550 return 0;
35551 }
35552 _ACEOF
35553 rm -f conftest.$ac_objext
35554 if { (ac_try="$ac_compile"
35555 case "(($ac_try" in
35556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35557 *) ac_try_echo=$ac_try;;
35558 esac
35559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35560 (eval "$ac_compile") 2>conftest.er1
35561 ac_status=$?
35562 grep -v '^ *+' conftest.er1 >conftest.err
35563 rm -f conftest.er1
35564 cat conftest.err >&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); } && {
35567 test -z "$ac_cxx_werror_flag" ||
35568 test ! -s conftest.err
35569 } && test -s conftest.$ac_objext; then
35570 wx_cv_func_snprintf_decl=yes
35571 else
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35574
35575 wx_cv_func_snprintf_decl=no
35576
35577 fi
35578
35579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35580
35581
35582 fi
35583 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35584 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35585
35586 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35587 cat >>confdefs.h <<\_ACEOF
35588 #define HAVE_SNPRINTF_DECL 1
35589 _ACEOF
35590
35591 fi
35592
35593 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35594
35595 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35596 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35597 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 else
35600
35601 if test "$cross_compiling" = yes; then
35602
35603 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35604 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35605 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35606 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35607 wx_cv_func_snprintf_pos_params=no
35608
35609
35610 else
35611 cat >conftest.$ac_ext <<_ACEOF
35612 /* confdefs.h. */
35613 _ACEOF
35614 cat confdefs.h >>conftest.$ac_ext
35615 cat >>conftest.$ac_ext <<_ACEOF
35616 /* end confdefs.h. */
35617
35618 #include <stdio.h>
35619
35620 int main (void)
35621 {
35622 char buffer[128];
35623 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35624 if (strcmp ("2 3 1", buffer) == 0)
35625 exit (0);
35626 exit (1);
35627 }
35628
35629 _ACEOF
35630 rm -f conftest$ac_exeext
35631 if { (ac_try="$ac_link"
35632 case "(($ac_try" in
35633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35634 *) ac_try_echo=$ac_try;;
35635 esac
35636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35637 (eval "$ac_link") 2>&5
35638 ac_status=$?
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35641 { (case "(($ac_try" in
35642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35643 *) ac_try_echo=$ac_try;;
35644 esac
35645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35646 (eval "$ac_try") 2>&5
35647 ac_status=$?
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); }; }; then
35650 wx_cv_func_snprintf_pos_params=no
35651 else
35652 echo "$as_me: program exited with status $ac_status" >&5
35653 echo "$as_me: failed program was:" >&5
35654 sed 's/^/| /' conftest.$ac_ext >&5
35655
35656 ( exit $ac_status )
35657 wx_cv_func_snprintf_pos_params=yes
35658 fi
35659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35660 fi
35661
35662
35663
35664
35665 fi
35666 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35667 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35668
35669 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35670 cat >>confdefs.h <<\_ACEOF
35671 #define HAVE_UNIX98_PRINTF 1
35672 _ACEOF
35673
35674 fi
35675 fi
35676 fi
35677
35678 if test "$ac_cv_func_vsscanf" = "yes"; then
35679 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35680 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35681 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 else
35684
35685 cat >conftest.$ac_ext <<_ACEOF
35686 /* confdefs.h. */
35687 _ACEOF
35688 cat confdefs.h >>conftest.$ac_ext
35689 cat >>conftest.$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35691
35692 #include <stdio.h>
35693 #include <stdarg.h>
35694 #ifdef __MSL__
35695 #if __MSL__ >= 0x6000
35696 namespace std {}
35697 using namespace std;
35698 #endif
35699 #endif
35700
35701 int
35702 main ()
35703 {
35704
35705 char *buf;
35706 va_list args;
35707 vsscanf(buf, "%s", args);
35708
35709 ;
35710 return 0;
35711 }
35712 _ACEOF
35713 rm -f conftest.$ac_objext
35714 if { (ac_try="$ac_compile"
35715 case "(($ac_try" in
35716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35717 *) ac_try_echo=$ac_try;;
35718 esac
35719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35720 (eval "$ac_compile") 2>conftest.er1
35721 ac_status=$?
35722 grep -v '^ *+' conftest.er1 >conftest.err
35723 rm -f conftest.er1
35724 cat conftest.err >&5
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); } && {
35727 test -z "$ac_cxx_werror_flag" ||
35728 test ! -s conftest.err
35729 } && test -s conftest.$ac_objext; then
35730 wx_cv_func_vsscanf_decl=yes
35731 else
35732 echo "$as_me: failed program was:" >&5
35733 sed 's/^/| /' conftest.$ac_ext >&5
35734
35735 wx_cv_func_vsscanf_decl=no
35736
35737 fi
35738
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740
35741
35742 fi
35743 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35744 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35745
35746 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35747 cat >>confdefs.h <<\_ACEOF
35748 #define HAVE_VSSCANF_DECL 1
35749 _ACEOF
35750
35751 fi
35752 fi
35753 ac_ext=c
35754 ac_cpp='$CPP $CPPFLAGS'
35755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35758
35759
35760 if test "$wxUSE_UNICODE" = yes; then
35761
35762 wchar_headers="#include <stdio.h>
35763 #include <wchar.h>"
35764 case "${host}" in
35765 *-*-solaris2* )
35766
35767 for ac_header in widec.h
35768 do
35769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35770 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35773 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 else
35775 cat >conftest.$ac_ext <<_ACEOF
35776 /* confdefs.h. */
35777 _ACEOF
35778 cat confdefs.h >>conftest.$ac_ext
35779 cat >>conftest.$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35781 $ac_includes_default
35782
35783 #include <$ac_header>
35784 _ACEOF
35785 rm -f conftest.$ac_objext
35786 if { (ac_try="$ac_compile"
35787 case "(($ac_try" in
35788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35789 *) ac_try_echo=$ac_try;;
35790 esac
35791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35792 (eval "$ac_compile") 2>conftest.er1
35793 ac_status=$?
35794 grep -v '^ *+' conftest.er1 >conftest.err
35795 rm -f conftest.er1
35796 cat conftest.err >&5
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); } && {
35799 test -z "$ac_c_werror_flag" ||
35800 test ! -s conftest.err
35801 } && test -s conftest.$ac_objext; then
35802 eval "$as_ac_Header=yes"
35803 else
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.$ac_ext >&5
35806
35807 eval "$as_ac_Header=no"
35808 fi
35809
35810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 fi
35812 ac_res=`eval echo '${'$as_ac_Header'}'`
35813 { echo "$as_me:$LINENO: result: $ac_res" >&5
35814 echo "${ECHO_T}$ac_res" >&6; }
35815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35816 cat >>confdefs.h <<_ACEOF
35817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35818 _ACEOF
35819
35820 fi
35821
35822 done
35823
35824 if test "$ac_cv_header_widec_h" = "yes"; then
35825 wchar_headers="$wchar_headers
35826 #include <widec.h>"
35827 fi
35828 esac
35829
35830
35831 for wx_func in putws fputws wprintf vswprintf vswscanf
35832 do
35833 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35834 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35835 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35836 echo $ECHO_N "(cached) $ECHO_C" >&6
35837 else
35838
35839 cat >conftest.$ac_ext <<_ACEOF
35840
35841 /* confdefs.h. */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846
35847 $wchar_headers
35848 $ac_includes_default
35849
35850 int
35851 main ()
35852 {
35853
35854 #ifndef $wx_func
35855 &$wx_func;
35856 #endif
35857
35858
35859 ;
35860 return 0;
35861 }
35862
35863 _ACEOF
35864 rm -f conftest.$ac_objext conftest$ac_exeext
35865 if { (ac_try="$ac_link"
35866 case "(($ac_try" in
35867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35868 *) ac_try_echo=$ac_try;;
35869 esac
35870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35871 (eval "$ac_link") 2>conftest.er1
35872 ac_status=$?
35873 grep -v '^ *+' conftest.er1 >conftest.err
35874 rm -f conftest.er1
35875 cat conftest.err >&5
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); } && {
35878 test -z "$ac_c_werror_flag" ||
35879 test ! -s conftest.err
35880 } && test -s conftest$ac_exeext &&
35881 $as_test_x conftest$ac_exeext; then
35882 eval wx_cv_func_$wx_func=yes
35883 else
35884 echo "$as_me: failed program was:" >&5
35885 sed 's/^/| /' conftest.$ac_ext >&5
35886
35887 eval wx_cv_func_$wx_func=no
35888 fi
35889
35890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35891 conftest$ac_exeext conftest.$ac_ext
35892
35893 fi
35894 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35895 { echo "$as_me:$LINENO: result: $ac_res" >&5
35896 echo "${ECHO_T}$ac_res" >&6; }
35897
35898 if eval test \$wx_cv_func_$wx_func = yes
35899 then
35900 cat >>confdefs.h <<_ACEOF
35901 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35902 _ACEOF
35903
35904
35905 else
35906 :
35907
35908 fi
35909 done
35910
35911
35912 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35913 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35914 cat >conftest.$ac_ext <<_ACEOF
35915 /* confdefs.h. */
35916 _ACEOF
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35920 #include <wchar.h>
35921 int
35922 main ()
35923 {
35924 &_vsnwprintf;
35925 ;
35926 return 0;
35927 }
35928 _ACEOF
35929 rm -f conftest.$ac_objext
35930 if { (ac_try="$ac_compile"
35931 case "(($ac_try" in
35932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35933 *) ac_try_echo=$ac_try;;
35934 esac
35935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35936 (eval "$ac_compile") 2>conftest.er1
35937 ac_status=$?
35938 grep -v '^ *+' conftest.er1 >conftest.err
35939 rm -f conftest.er1
35940 cat conftest.err >&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } && {
35943 test -z "$ac_c_werror_flag" ||
35944 test ! -s conftest.err
35945 } && test -s conftest.$ac_objext; then
35946 { echo "$as_me:$LINENO: result: yes" >&5
35947 echo "${ECHO_T}yes" >&6; }
35948 cat >>confdefs.h <<\_ACEOF
35949 #define HAVE__VSNWPRINTF 1
35950 _ACEOF
35951
35952 else
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35955
35956 { echo "$as_me:$LINENO: result: no" >&5
35957 echo "${ECHO_T}no" >&6; }
35958 fi
35959
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35961 fi
35962
35963 if test "$wxUSE_FILE" = "yes"; then
35964
35965 for wx_func in fsync
35966 do
35967 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35968 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35969 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35970 echo $ECHO_N "(cached) $ECHO_C" >&6
35971 else
35972
35973 cat >conftest.$ac_ext <<_ACEOF
35974
35975 /* confdefs.h. */
35976 _ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980
35981
35982 $ac_includes_default
35983
35984 int
35985 main ()
35986 {
35987
35988 #ifndef $wx_func
35989 &$wx_func;
35990 #endif
35991
35992
35993 ;
35994 return 0;
35995 }
35996
35997 _ACEOF
35998 rm -f conftest.$ac_objext conftest$ac_exeext
35999 if { (ac_try="$ac_link"
36000 case "(($ac_try" in
36001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36002 *) ac_try_echo=$ac_try;;
36003 esac
36004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36005 (eval "$ac_link") 2>conftest.er1
36006 ac_status=$?
36007 grep -v '^ *+' conftest.er1 >conftest.err
36008 rm -f conftest.er1
36009 cat conftest.err >&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); } && {
36012 test -z "$ac_c_werror_flag" ||
36013 test ! -s conftest.err
36014 } && test -s conftest$ac_exeext &&
36015 $as_test_x conftest$ac_exeext; then
36016 eval wx_cv_func_$wx_func=yes
36017 else
36018 echo "$as_me: failed program was:" >&5
36019 sed 's/^/| /' conftest.$ac_ext >&5
36020
36021 eval wx_cv_func_$wx_func=no
36022 fi
36023
36024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36025 conftest$ac_exeext conftest.$ac_ext
36026
36027 fi
36028 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36029 { echo "$as_me:$LINENO: result: $ac_res" >&5
36030 echo "${ECHO_T}$ac_res" >&6; }
36031
36032 if eval test \$wx_cv_func_$wx_func = yes
36033 then
36034 cat >>confdefs.h <<_ACEOF
36035 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36036 _ACEOF
36037
36038
36039 else
36040 :
36041
36042 fi
36043 done
36044
36045 fi
36046
36047 ac_ext=cpp
36048 ac_cpp='$CXXCPP $CPPFLAGS'
36049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36052
36053
36054 for wx_func in round
36055 do
36056 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36057 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36058 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061
36062 cat >conftest.$ac_ext <<_ACEOF
36063
36064 /* confdefs.h. */
36065 _ACEOF
36066 cat confdefs.h >>conftest.$ac_ext
36067 cat >>conftest.$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069
36070 #include <math.h>
36071 $ac_includes_default
36072
36073 int
36074 main ()
36075 {
36076
36077 #ifndef $wx_func
36078 &$wx_func;
36079 #endif
36080
36081
36082 ;
36083 return 0;
36084 }
36085
36086 _ACEOF
36087 rm -f conftest.$ac_objext conftest$ac_exeext
36088 if { (ac_try="$ac_link"
36089 case "(($ac_try" in
36090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36091 *) ac_try_echo=$ac_try;;
36092 esac
36093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36094 (eval "$ac_link") 2>conftest.er1
36095 ac_status=$?
36096 grep -v '^ *+' conftest.er1 >conftest.err
36097 rm -f conftest.er1
36098 cat conftest.err >&5
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); } && {
36101 test -z "$ac_cxx_werror_flag" ||
36102 test ! -s conftest.err
36103 } && test -s conftest$ac_exeext &&
36104 $as_test_x conftest$ac_exeext; then
36105 eval wx_cv_func_$wx_func=yes
36106 else
36107 echo "$as_me: failed program was:" >&5
36108 sed 's/^/| /' conftest.$ac_ext >&5
36109
36110 eval wx_cv_func_$wx_func=no
36111 fi
36112
36113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36114 conftest$ac_exeext conftest.$ac_ext
36115
36116 fi
36117 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36118 { echo "$as_me:$LINENO: result: $ac_res" >&5
36119 echo "${ECHO_T}$ac_res" >&6; }
36120
36121 if eval test \$wx_cv_func_$wx_func = yes
36122 then
36123 cat >>confdefs.h <<_ACEOF
36124 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36125 _ACEOF
36126
36127
36128 else
36129 :
36130
36131 fi
36132 done
36133
36134 ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36139
36140
36141 if test "$TOOLKIT" != "MSW"; then
36142
36143 if test "$wxUSE_LIBICONV" != "no" ; then
36144
36145
36146
36147 # Check whether --with-libiconv-prefix was given.
36148 if test "${with_libiconv_prefix+set}" = set; then
36149 withval=$with_libiconv_prefix;
36150 for dir in `echo "$withval" | tr : ' '`; do
36151 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36152 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36153 done
36154
36155 fi
36156
36157
36158 { echo "$as_me:$LINENO: checking for iconv" >&5
36159 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36160 if test "${am_cv_func_iconv+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 else
36163
36164 am_cv_func_iconv="no, consider installing GNU libiconv"
36165 am_cv_lib_iconv=no
36166 cat >conftest.$ac_ext <<_ACEOF
36167 /* confdefs.h. */
36168 _ACEOF
36169 cat confdefs.h >>conftest.$ac_ext
36170 cat >>conftest.$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172 #include <stdlib.h>
36173 #include <iconv.h>
36174 int
36175 main ()
36176 {
36177 iconv_t cd = iconv_open("","");
36178 iconv(cd,NULL,NULL,NULL,NULL);
36179 iconv_close(cd);
36180 ;
36181 return 0;
36182 }
36183 _ACEOF
36184 rm -f conftest.$ac_objext conftest$ac_exeext
36185 if { (ac_try="$ac_link"
36186 case "(($ac_try" in
36187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36188 *) ac_try_echo=$ac_try;;
36189 esac
36190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36191 (eval "$ac_link") 2>conftest.er1
36192 ac_status=$?
36193 grep -v '^ *+' conftest.er1 >conftest.err
36194 rm -f conftest.er1
36195 cat conftest.err >&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); } && {
36198 test -z "$ac_c_werror_flag" ||
36199 test ! -s conftest.err
36200 } && test -s conftest$ac_exeext &&
36201 $as_test_x conftest$ac_exeext; then
36202 am_cv_func_iconv=yes
36203 else
36204 echo "$as_me: failed program was:" >&5
36205 sed 's/^/| /' conftest.$ac_ext >&5
36206
36207
36208 fi
36209
36210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36211 conftest$ac_exeext conftest.$ac_ext
36212 if test "$am_cv_func_iconv" != yes; then
36213 am_save_LIBS="$LIBS"
36214 LIBS="$LIBS -liconv"
36215 cat >conftest.$ac_ext <<_ACEOF
36216 /* confdefs.h. */
36217 _ACEOF
36218 cat confdefs.h >>conftest.$ac_ext
36219 cat >>conftest.$ac_ext <<_ACEOF
36220 /* end confdefs.h. */
36221 #include <stdlib.h>
36222 #include <iconv.h>
36223 int
36224 main ()
36225 {
36226 iconv_t cd = iconv_open("","");
36227 iconv(cd,NULL,NULL,NULL,NULL);
36228 iconv_close(cd);
36229 ;
36230 return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext conftest$ac_exeext
36234 if { (ac_try="$ac_link"
36235 case "(($ac_try" in
36236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36237 *) ac_try_echo=$ac_try;;
36238 esac
36239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36240 (eval "$ac_link") 2>conftest.er1
36241 ac_status=$?
36242 grep -v '^ *+' conftest.er1 >conftest.err
36243 rm -f conftest.er1
36244 cat conftest.err >&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); } && {
36247 test -z "$ac_c_werror_flag" ||
36248 test ! -s conftest.err
36249 } && test -s conftest$ac_exeext &&
36250 $as_test_x conftest$ac_exeext; then
36251 am_cv_lib_iconv=yes
36252 am_cv_func_iconv=yes
36253 else
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.$ac_ext >&5
36256
36257
36258 fi
36259
36260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36261 conftest$ac_exeext conftest.$ac_ext
36262 LIBS="$am_save_LIBS"
36263 fi
36264
36265 fi
36266 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36267 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36268 if test "$am_cv_func_iconv" = yes; then
36269
36270 cat >>confdefs.h <<\_ACEOF
36271 #define HAVE_ICONV 1
36272 _ACEOF
36273
36274 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36275 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36276 if test "${wx_cv_func_iconv_const+set}" = set; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36278 else
36279 cat >conftest.$ac_ext <<_ACEOF
36280 /* confdefs.h. */
36281 _ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36285
36286 #include <stdlib.h>
36287 #include <iconv.h>
36288 extern
36289 #ifdef __cplusplus
36290 "C"
36291 #endif
36292 #if defined(__STDC__) || defined(__cplusplus)
36293 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36294 #else
36295 size_t iconv();
36296 #endif
36297
36298 int
36299 main ()
36300 {
36301
36302 ;
36303 return 0;
36304 }
36305 _ACEOF
36306 rm -f conftest.$ac_objext
36307 if { (ac_try="$ac_compile"
36308 case "(($ac_try" in
36309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36310 *) ac_try_echo=$ac_try;;
36311 esac
36312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36313 (eval "$ac_compile") 2>conftest.er1
36314 ac_status=$?
36315 grep -v '^ *+' conftest.er1 >conftest.err
36316 rm -f conftest.er1
36317 cat conftest.err >&5
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); } && {
36320 test -z "$ac_c_werror_flag" ||
36321 test ! -s conftest.err
36322 } && test -s conftest.$ac_objext; then
36323 wx_cv_func_iconv_const="no"
36324 else
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.$ac_ext >&5
36327
36328 wx_cv_func_iconv_const="yes"
36329
36330 fi
36331
36332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36333
36334 fi
36335 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36336 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36337
36338 iconv_const=
36339 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36340 iconv_const="const"
36341 fi
36342
36343
36344 cat >>confdefs.h <<_ACEOF
36345 #define ICONV_CONST $iconv_const
36346 _ACEOF
36347
36348 fi
36349 LIBICONV=
36350 if test "$am_cv_lib_iconv" = yes; then
36351 LIBICONV="-liconv"
36352 fi
36353
36354
36355 LIBS="$LIBICONV $LIBS"
36356 fi
36357
36358 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36359
36360 for ac_func in sigaction
36361 do
36362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36366 echo $ECHO_N "(cached) $ECHO_C" >&6
36367 else
36368 cat >conftest.$ac_ext <<_ACEOF
36369 /* confdefs.h. */
36370 _ACEOF
36371 cat confdefs.h >>conftest.$ac_ext
36372 cat >>conftest.$ac_ext <<_ACEOF
36373 /* end confdefs.h. */
36374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36376 #define $ac_func innocuous_$ac_func
36377
36378 /* System header to define __stub macros and hopefully few prototypes,
36379 which can conflict with char $ac_func (); below.
36380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36381 <limits.h> exists even on freestanding compilers. */
36382
36383 #ifdef __STDC__
36384 # include <limits.h>
36385 #else
36386 # include <assert.h>
36387 #endif
36388
36389 #undef $ac_func
36390
36391 /* Override any GCC internal prototype to avoid an error.
36392 Use char because int might match the return type of a GCC
36393 builtin and then its argument prototype would still apply. */
36394 #ifdef __cplusplus
36395 extern "C"
36396 #endif
36397 char $ac_func ();
36398 /* The GNU C library defines this for functions which it implements
36399 to always fail with ENOSYS. Some functions are actually named
36400 something starting with __ and the normal name is an alias. */
36401 #if defined __stub_$ac_func || defined __stub___$ac_func
36402 choke me
36403 #endif
36404
36405 int
36406 main ()
36407 {
36408 return $ac_func ();
36409 ;
36410 return 0;
36411 }
36412 _ACEOF
36413 rm -f conftest.$ac_objext conftest$ac_exeext
36414 if { (ac_try="$ac_link"
36415 case "(($ac_try" in
36416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36417 *) ac_try_echo=$ac_try;;
36418 esac
36419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36420 (eval "$ac_link") 2>conftest.er1
36421 ac_status=$?
36422 grep -v '^ *+' conftest.er1 >conftest.err
36423 rm -f conftest.er1
36424 cat conftest.err >&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } && {
36427 test -z "$ac_c_werror_flag" ||
36428 test ! -s conftest.err
36429 } && test -s conftest$ac_exeext &&
36430 $as_test_x conftest$ac_exeext; then
36431 eval "$as_ac_var=yes"
36432 else
36433 echo "$as_me: failed program was:" >&5
36434 sed 's/^/| /' conftest.$ac_ext >&5
36435
36436 eval "$as_ac_var=no"
36437 fi
36438
36439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36440 conftest$ac_exeext conftest.$ac_ext
36441 fi
36442 ac_res=`eval echo '${'$as_ac_var'}'`
36443 { echo "$as_me:$LINENO: result: $ac_res" >&5
36444 echo "${ECHO_T}$ac_res" >&6; }
36445 if test `eval echo '${'$as_ac_var'}'` = yes; then
36446 cat >>confdefs.h <<_ACEOF
36447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36448 _ACEOF
36449
36450 fi
36451 done
36452
36453
36454 if test "$ac_cv_func_sigaction" = "no"; then
36455 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36456 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36457 wxUSE_ON_FATAL_EXCEPTION=no
36458 fi
36459
36460 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36461 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36462 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36463 if test "${wx_cv_type_sa_handler+set}" = set; then
36464 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 else
36466
36467 ac_ext=cpp
36468 ac_cpp='$CXXCPP $CPPFLAGS'
36469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36472
36473 cat >conftest.$ac_ext <<_ACEOF
36474 /* confdefs.h. */
36475 _ACEOF
36476 cat confdefs.h >>conftest.$ac_ext
36477 cat >>conftest.$ac_ext <<_ACEOF
36478 /* end confdefs.h. */
36479 #include <signal.h>
36480 int
36481 main ()
36482 {
36483
36484 extern void testSigHandler(int);
36485
36486 struct sigaction sa;
36487 sa.sa_handler = testSigHandler;
36488
36489 ;
36490 return 0;
36491 }
36492 _ACEOF
36493 rm -f conftest.$ac_objext
36494 if { (ac_try="$ac_compile"
36495 case "(($ac_try" in
36496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36497 *) ac_try_echo=$ac_try;;
36498 esac
36499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36500 (eval "$ac_compile") 2>conftest.er1
36501 ac_status=$?
36502 grep -v '^ *+' conftest.er1 >conftest.err
36503 rm -f conftest.er1
36504 cat conftest.err >&5
36505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36506 (exit $ac_status); } && {
36507 test -z "$ac_cxx_werror_flag" ||
36508 test ! -s conftest.err
36509 } && test -s conftest.$ac_objext; then
36510
36511 wx_cv_type_sa_handler=int
36512
36513 else
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.$ac_ext >&5
36516
36517
36518 wx_cv_type_sa_handler=void
36519
36520 fi
36521
36522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36523 ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36528
36529
36530 fi
36531 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36532 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36533
36534 cat >>confdefs.h <<_ACEOF
36535 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36536 _ACEOF
36537
36538 fi
36539 fi
36540
36541 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36542 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36543 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36544 if test "${wx_cv_func_backtrace+set}" = set; then
36545 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 else
36547
36548 ac_ext=cpp
36549 ac_cpp='$CXXCPP $CPPFLAGS'
36550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553
36554 cat >conftest.$ac_ext <<_ACEOF
36555 /* confdefs.h. */
36556 _ACEOF
36557 cat confdefs.h >>conftest.$ac_ext
36558 cat >>conftest.$ac_ext <<_ACEOF
36559 /* end confdefs.h. */
36560 #include <execinfo.h>
36561 int
36562 main ()
36563 {
36564
36565 void *trace[1];
36566 char **messages;
36567
36568 backtrace(trace, 1);
36569 messages = backtrace_symbols(trace, 1);
36570
36571 ;
36572 return 0;
36573 }
36574 _ACEOF
36575 rm -f conftest.$ac_objext
36576 if { (ac_try="$ac_compile"
36577 case "(($ac_try" in
36578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36579 *) ac_try_echo=$ac_try;;
36580 esac
36581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36582 (eval "$ac_compile") 2>conftest.er1
36583 ac_status=$?
36584 grep -v '^ *+' conftest.er1 >conftest.err
36585 rm -f conftest.er1
36586 cat conftest.err >&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); } && {
36589 test -z "$ac_cxx_werror_flag" ||
36590 test ! -s conftest.err
36591 } && test -s conftest.$ac_objext; then
36592 wx_cv_func_backtrace=yes
36593 else
36594 echo "$as_me: failed program was:" >&5
36595 sed 's/^/| /' conftest.$ac_ext >&5
36596
36597 wx_cv_func_backtrace=no
36598
36599 fi
36600
36601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36602 ac_ext=c
36603 ac_cpp='$CPP $CPPFLAGS'
36604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36607
36608
36609
36610 fi
36611 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36612 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36613
36614
36615 if test "$wx_cv_func_backtrace" = "no"; then
36616 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36617 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36618 wxUSE_STACKWALKER=no
36619 else
36620 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36621 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36622 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36623 echo $ECHO_N "(cached) $ECHO_C" >&6
36624 else
36625
36626 ac_ext=cpp
36627 ac_cpp='$CXXCPP $CPPFLAGS'
36628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631
36632 cat >conftest.$ac_ext <<_ACEOF
36633 /* confdefs.h. */
36634 _ACEOF
36635 cat confdefs.h >>conftest.$ac_ext
36636 cat >>conftest.$ac_ext <<_ACEOF
36637 /* end confdefs.h. */
36638 #include <cxxabi.h>
36639 int
36640 main ()
36641 {
36642
36643 int rc;
36644 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36645
36646 ;
36647 return 0;
36648 }
36649 _ACEOF
36650 rm -f conftest.$ac_objext conftest$ac_exeext
36651 if { (ac_try="$ac_link"
36652 case "(($ac_try" in
36653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36654 *) ac_try_echo=$ac_try;;
36655 esac
36656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36657 (eval "$ac_link") 2>conftest.er1
36658 ac_status=$?
36659 grep -v '^ *+' conftest.er1 >conftest.err
36660 rm -f conftest.er1
36661 cat conftest.err >&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } && {
36664 test -z "$ac_cxx_werror_flag" ||
36665 test ! -s conftest.err
36666 } && test -s conftest$ac_exeext &&
36667 $as_test_x conftest$ac_exeext; then
36668 wx_cv_func_cxa_demangle=yes
36669 else
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.$ac_ext >&5
36672
36673 wx_cv_func_cxa_demangle=no
36674
36675 fi
36676
36677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36678 conftest$ac_exeext conftest.$ac_ext
36679 ac_ext=c
36680 ac_cpp='$CPP $CPPFLAGS'
36681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36684
36685
36686
36687 fi
36688 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36689 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36690
36691 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36692 cat >>confdefs.h <<\_ACEOF
36693 #define HAVE_CXA_DEMANGLE 1
36694 _ACEOF
36695
36696 fi
36697 fi
36698 fi
36699
36700 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36701 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36702 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36703 wxUSE_STACKWALKER=no
36704 fi
36705
36706
36707
36708
36709 for ac_func in mkstemp mktemp
36710 do
36711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36712 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36714 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36715 echo $ECHO_N "(cached) $ECHO_C" >&6
36716 else
36717 cat >conftest.$ac_ext <<_ACEOF
36718 /* confdefs.h. */
36719 _ACEOF
36720 cat confdefs.h >>conftest.$ac_ext
36721 cat >>conftest.$ac_ext <<_ACEOF
36722 /* end confdefs.h. */
36723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36725 #define $ac_func innocuous_$ac_func
36726
36727 /* System header to define __stub macros and hopefully few prototypes,
36728 which can conflict with char $ac_func (); below.
36729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36730 <limits.h> exists even on freestanding compilers. */
36731
36732 #ifdef __STDC__
36733 # include <limits.h>
36734 #else
36735 # include <assert.h>
36736 #endif
36737
36738 #undef $ac_func
36739
36740 /* Override any GCC internal prototype to avoid an error.
36741 Use char because int might match the return type of a GCC
36742 builtin and then its argument prototype would still apply. */
36743 #ifdef __cplusplus
36744 extern "C"
36745 #endif
36746 char $ac_func ();
36747 /* The GNU C library defines this for functions which it implements
36748 to always fail with ENOSYS. Some functions are actually named
36749 something starting with __ and the normal name is an alias. */
36750 #if defined __stub_$ac_func || defined __stub___$ac_func
36751 choke me
36752 #endif
36753
36754 int
36755 main ()
36756 {
36757 return $ac_func ();
36758 ;
36759 return 0;
36760 }
36761 _ACEOF
36762 rm -f conftest.$ac_objext conftest$ac_exeext
36763 if { (ac_try="$ac_link"
36764 case "(($ac_try" in
36765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36766 *) ac_try_echo=$ac_try;;
36767 esac
36768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36769 (eval "$ac_link") 2>conftest.er1
36770 ac_status=$?
36771 grep -v '^ *+' conftest.er1 >conftest.err
36772 rm -f conftest.er1
36773 cat conftest.err >&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); } && {
36776 test -z "$ac_c_werror_flag" ||
36777 test ! -s conftest.err
36778 } && test -s conftest$ac_exeext &&
36779 $as_test_x conftest$ac_exeext; then
36780 eval "$as_ac_var=yes"
36781 else
36782 echo "$as_me: failed program was:" >&5
36783 sed 's/^/| /' conftest.$ac_ext >&5
36784
36785 eval "$as_ac_var=no"
36786 fi
36787
36788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36789 conftest$ac_exeext conftest.$ac_ext
36790 fi
36791 ac_res=`eval echo '${'$as_ac_var'}'`
36792 { echo "$as_me:$LINENO: result: $ac_res" >&5
36793 echo "${ECHO_T}$ac_res" >&6; }
36794 if test `eval echo '${'$as_ac_var'}'` = yes; then
36795 cat >>confdefs.h <<_ACEOF
36796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36797 _ACEOF
36798 break
36799 fi
36800 done
36801
36802
36803 { echo "$as_me:$LINENO: checking for statfs" >&5
36804 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36805 if test "${wx_cv_func_statfs+set}" = set; then
36806 echo $ECHO_N "(cached) $ECHO_C" >&6
36807 else
36808 cat >conftest.$ac_ext <<_ACEOF
36809 /* confdefs.h. */
36810 _ACEOF
36811 cat confdefs.h >>conftest.$ac_ext
36812 cat >>conftest.$ac_ext <<_ACEOF
36813 /* end confdefs.h. */
36814
36815 #if defined(__BSD__)
36816 #include <sys/param.h>
36817 #include <sys/mount.h>
36818 #else
36819 #include <sys/vfs.h>
36820 #endif
36821
36822 int
36823 main ()
36824 {
36825
36826 long l;
36827 struct statfs fs;
36828 statfs("/", &fs);
36829 l = fs.f_bsize;
36830 l += fs.f_blocks;
36831 l += fs.f_bavail;
36832
36833 ;
36834 return 0;
36835 }
36836 _ACEOF
36837 rm -f conftest.$ac_objext
36838 if { (ac_try="$ac_compile"
36839 case "(($ac_try" in
36840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36841 *) ac_try_echo=$ac_try;;
36842 esac
36843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36844 (eval "$ac_compile") 2>conftest.er1
36845 ac_status=$?
36846 grep -v '^ *+' conftest.er1 >conftest.err
36847 rm -f conftest.er1
36848 cat conftest.err >&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } && {
36851 test -z "$ac_c_werror_flag" ||
36852 test ! -s conftest.err
36853 } && test -s conftest.$ac_objext; then
36854 wx_cv_func_statfs=yes
36855 else
36856 echo "$as_me: failed program was:" >&5
36857 sed 's/^/| /' conftest.$ac_ext >&5
36858
36859 wx_cv_func_statfs=no
36860
36861 fi
36862
36863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36864
36865 fi
36866 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36867 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36868
36869 if test "$wx_cv_func_statfs" = "yes"; then
36870 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36871 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36872 if test "${wx_cv_func_statfs_decl+set}" = set; then
36873 echo $ECHO_N "(cached) $ECHO_C" >&6
36874 else
36875 ac_ext=cpp
36876 ac_cpp='$CXXCPP $CPPFLAGS'
36877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36880
36881 cat >conftest.$ac_ext <<_ACEOF
36882 /* confdefs.h. */
36883 _ACEOF
36884 cat confdefs.h >>conftest.$ac_ext
36885 cat >>conftest.$ac_ext <<_ACEOF
36886 /* end confdefs.h. */
36887
36888 #if defined(__BSD__)
36889 #include <sys/param.h>
36890 #include <sys/mount.h>
36891 #else
36892 #include <sys/vfs.h>
36893 #endif
36894
36895 int
36896 main ()
36897 {
36898
36899 struct statfs fs;
36900 statfs("", &fs);
36901
36902 ;
36903 return 0;
36904 }
36905 _ACEOF
36906 rm -f conftest.$ac_objext
36907 if { (ac_try="$ac_compile"
36908 case "(($ac_try" in
36909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36910 *) ac_try_echo=$ac_try;;
36911 esac
36912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36913 (eval "$ac_compile") 2>conftest.er1
36914 ac_status=$?
36915 grep -v '^ *+' conftest.er1 >conftest.err
36916 rm -f conftest.er1
36917 cat conftest.err >&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } && {
36920 test -z "$ac_cxx_werror_flag" ||
36921 test ! -s conftest.err
36922 } && test -s conftest.$ac_objext; then
36923 wx_cv_func_statfs_decl=yes
36924 else
36925 echo "$as_me: failed program was:" >&5
36926 sed 's/^/| /' conftest.$ac_ext >&5
36927
36928 wx_cv_func_statfs_decl=no
36929
36930 fi
36931
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933 ac_ext=c
36934 ac_cpp='$CPP $CPPFLAGS'
36935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36938
36939
36940 fi
36941 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36942 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36943
36944 if test "$wx_cv_func_statfs_decl" = "yes"; then
36945 cat >>confdefs.h <<\_ACEOF
36946 #define HAVE_STATFS_DECL 1
36947 _ACEOF
36948
36949 fi
36950
36951 wx_cv_type_statvfs_t="struct statfs"
36952 cat >>confdefs.h <<\_ACEOF
36953 #define HAVE_STATFS 1
36954 _ACEOF
36955
36956 else
36957 { echo "$as_me:$LINENO: checking for statvfs" >&5
36958 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36959 if test "${wx_cv_func_statvfs+set}" = set; then
36960 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 else
36962 cat >conftest.$ac_ext <<_ACEOF
36963 /* confdefs.h. */
36964 _ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968
36969 #include <stddef.h>
36970 #include <sys/statvfs.h>
36971
36972 int
36973 main ()
36974 {
36975
36976 statvfs("/", NULL);
36977
36978 ;
36979 return 0;
36980 }
36981 _ACEOF
36982 rm -f conftest.$ac_objext
36983 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
36999 wx_cv_func_statvfs=yes
37000 else
37001 echo "$as_me: failed program was:" >&5
37002 sed 's/^/| /' conftest.$ac_ext >&5
37003
37004 wx_cv_func_statvfs=no
37005
37006 fi
37007
37008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37009
37010 fi
37011 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37012 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37013
37014 if test "$wx_cv_func_statvfs" = "yes"; then
37015 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37016 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37017 if test "${wx_cv_type_statvfs_t+set}" = set; then
37018 echo $ECHO_N "(cached) $ECHO_C" >&6
37019 else
37020 ac_ext=cpp
37021 ac_cpp='$CXXCPP $CPPFLAGS'
37022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37025
37026 cat >conftest.$ac_ext <<_ACEOF
37027 /* confdefs.h. */
37028 _ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032
37033 #include <sys/statvfs.h>
37034
37035 int
37036 main ()
37037 {
37038
37039 long l;
37040 statvfs_t fs;
37041 statvfs("/", &fs);
37042 l = fs.f_bsize;
37043 l += fs.f_blocks;
37044 l += fs.f_bavail;
37045
37046 ;
37047 return 0;
37048 }
37049 _ACEOF
37050 rm -f conftest.$ac_objext
37051 if { (ac_try="$ac_compile"
37052 case "(($ac_try" in
37053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37055 esac
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_compile") 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_cxx_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest.$ac_objext; then
37067 wx_cv_type_statvfs_t=statvfs_t
37068 else
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37071
37072
37073 cat >conftest.$ac_ext <<_ACEOF
37074 /* confdefs.h. */
37075 _ACEOF
37076 cat confdefs.h >>conftest.$ac_ext
37077 cat >>conftest.$ac_ext <<_ACEOF
37078 /* end confdefs.h. */
37079
37080 #include <sys/statvfs.h>
37081
37082 int
37083 main ()
37084 {
37085
37086 long l;
37087 struct statvfs fs;
37088 statvfs("/", &fs);
37089 l = fs.f_bsize;
37090 l += fs.f_blocks;
37091 l += fs.f_bavail;
37092
37093 ;
37094 return 0;
37095 }
37096 _ACEOF
37097 rm -f conftest.$ac_objext
37098 if { (ac_try="$ac_compile"
37099 case "(($ac_try" in
37100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37101 *) ac_try_echo=$ac_try;;
37102 esac
37103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37104 (eval "$ac_compile") 2>conftest.er1
37105 ac_status=$?
37106 grep -v '^ *+' conftest.er1 >conftest.err
37107 rm -f conftest.er1
37108 cat conftest.err >&5
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); } && {
37111 test -z "$ac_cxx_werror_flag" ||
37112 test ! -s conftest.err
37113 } && test -s conftest.$ac_objext; then
37114 wx_cv_type_statvfs_t="struct statvfs"
37115 else
37116 echo "$as_me: failed program was:" >&5
37117 sed 's/^/| /' conftest.$ac_ext >&5
37118
37119 wx_cv_type_statvfs_t="unknown"
37120
37121 fi
37122
37123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37124
37125
37126 fi
37127
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37129 ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37134
37135
37136 fi
37137 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37138 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37139
37140 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37141 cat >>confdefs.h <<\_ACEOF
37142 #define HAVE_STATVFS 1
37143 _ACEOF
37144
37145 fi
37146 else
37147 wx_cv_type_statvfs_t="unknown"
37148 fi
37149 fi
37150
37151 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37152 cat >>confdefs.h <<_ACEOF
37153 #define WX_STATFS_T $wx_cv_type_statvfs_t
37154 _ACEOF
37155
37156 else
37157 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37158 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37159 fi
37160
37161 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37162
37163
37164 for ac_func in fcntl flock
37165 do
37166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37170 echo $ECHO_N "(cached) $ECHO_C" >&6
37171 else
37172 cat >conftest.$ac_ext <<_ACEOF
37173 /* confdefs.h. */
37174 _ACEOF
37175 cat confdefs.h >>conftest.$ac_ext
37176 cat >>conftest.$ac_ext <<_ACEOF
37177 /* end confdefs.h. */
37178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37180 #define $ac_func innocuous_$ac_func
37181
37182 /* System header to define __stub macros and hopefully few prototypes,
37183 which can conflict with char $ac_func (); below.
37184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37185 <limits.h> exists even on freestanding compilers. */
37186
37187 #ifdef __STDC__
37188 # include <limits.h>
37189 #else
37190 # include <assert.h>
37191 #endif
37192
37193 #undef $ac_func
37194
37195 /* Override any GCC internal prototype to avoid an error.
37196 Use char because int might match the return type of a GCC
37197 builtin and then its argument prototype would still apply. */
37198 #ifdef __cplusplus
37199 extern "C"
37200 #endif
37201 char $ac_func ();
37202 /* The GNU C library defines this for functions which it implements
37203 to always fail with ENOSYS. Some functions are actually named
37204 something starting with __ and the normal name is an alias. */
37205 #if defined __stub_$ac_func || defined __stub___$ac_func
37206 choke me
37207 #endif
37208
37209 int
37210 main ()
37211 {
37212 return $ac_func ();
37213 ;
37214 return 0;
37215 }
37216 _ACEOF
37217 rm -f conftest.$ac_objext conftest$ac_exeext
37218 if { (ac_try="$ac_link"
37219 case "(($ac_try" in
37220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37221 *) ac_try_echo=$ac_try;;
37222 esac
37223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37224 (eval "$ac_link") 2>conftest.er1
37225 ac_status=$?
37226 grep -v '^ *+' conftest.er1 >conftest.err
37227 rm -f conftest.er1
37228 cat conftest.err >&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } && {
37231 test -z "$ac_c_werror_flag" ||
37232 test ! -s conftest.err
37233 } && test -s conftest$ac_exeext &&
37234 $as_test_x conftest$ac_exeext; then
37235 eval "$as_ac_var=yes"
37236 else
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.$ac_ext >&5
37239
37240 eval "$as_ac_var=no"
37241 fi
37242
37243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37244 conftest$ac_exeext conftest.$ac_ext
37245 fi
37246 ac_res=`eval echo '${'$as_ac_var'}'`
37247 { echo "$as_me:$LINENO: result: $ac_res" >&5
37248 echo "${ECHO_T}$ac_res" >&6; }
37249 if test `eval echo '${'$as_ac_var'}'` = yes; then
37250 cat >>confdefs.h <<_ACEOF
37251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37252 _ACEOF
37253 break
37254 fi
37255 done
37256
37257
37258 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37259 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37260 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37261 wxUSE_SNGLINST_CHECKER=no
37262 fi
37263 fi
37264
37265
37266
37267 for ac_func in setenv putenv
37268 do
37269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37273 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 else
37275 cat >conftest.$ac_ext <<_ACEOF
37276 /* confdefs.h. */
37277 _ACEOF
37278 cat confdefs.h >>conftest.$ac_ext
37279 cat >>conftest.$ac_ext <<_ACEOF
37280 /* end confdefs.h. */
37281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37283 #define $ac_func innocuous_$ac_func
37284
37285 /* System header to define __stub macros and hopefully few prototypes,
37286 which can conflict with char $ac_func (); below.
37287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37288 <limits.h> exists even on freestanding compilers. */
37289
37290 #ifdef __STDC__
37291 # include <limits.h>
37292 #else
37293 # include <assert.h>
37294 #endif
37295
37296 #undef $ac_func
37297
37298 /* Override any GCC internal prototype to avoid an error.
37299 Use char because int might match the return type of a GCC
37300 builtin and then its argument prototype would still apply. */
37301 #ifdef __cplusplus
37302 extern "C"
37303 #endif
37304 char $ac_func ();
37305 /* The GNU C library defines this for functions which it implements
37306 to always fail with ENOSYS. Some functions are actually named
37307 something starting with __ and the normal name is an alias. */
37308 #if defined __stub_$ac_func || defined __stub___$ac_func
37309 choke me
37310 #endif
37311
37312 int
37313 main ()
37314 {
37315 return $ac_func ();
37316 ;
37317 return 0;
37318 }
37319 _ACEOF
37320 rm -f conftest.$ac_objext conftest$ac_exeext
37321 if { (ac_try="$ac_link"
37322 case "(($ac_try" in
37323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37324 *) ac_try_echo=$ac_try;;
37325 esac
37326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37327 (eval "$ac_link") 2>conftest.er1
37328 ac_status=$?
37329 grep -v '^ *+' conftest.er1 >conftest.err
37330 rm -f conftest.er1
37331 cat conftest.err >&5
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); } && {
37334 test -z "$ac_c_werror_flag" ||
37335 test ! -s conftest.err
37336 } && test -s conftest$ac_exeext &&
37337 $as_test_x conftest$ac_exeext; then
37338 eval "$as_ac_var=yes"
37339 else
37340 echo "$as_me: failed program was:" >&5
37341 sed 's/^/| /' conftest.$ac_ext >&5
37342
37343 eval "$as_ac_var=no"
37344 fi
37345
37346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37347 conftest$ac_exeext conftest.$ac_ext
37348 fi
37349 ac_res=`eval echo '${'$as_ac_var'}'`
37350 { echo "$as_me:$LINENO: result: $ac_res" >&5
37351 echo "${ECHO_T}$ac_res" >&6; }
37352 if test `eval echo '${'$as_ac_var'}'` = yes; then
37353 cat >>confdefs.h <<_ACEOF
37354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37355 _ACEOF
37356 break
37357 fi
37358 done
37359
37360 if test "$ac_cv_func_setenv" = "yes"; then
37361
37362 for ac_func in unsetenv
37363 do
37364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37368 echo $ECHO_N "(cached) $ECHO_C" >&6
37369 else
37370 cat >conftest.$ac_ext <<_ACEOF
37371 /* confdefs.h. */
37372 _ACEOF
37373 cat confdefs.h >>conftest.$ac_ext
37374 cat >>conftest.$ac_ext <<_ACEOF
37375 /* end confdefs.h. */
37376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37378 #define $ac_func innocuous_$ac_func
37379
37380 /* System header to define __stub macros and hopefully few prototypes,
37381 which can conflict with char $ac_func (); below.
37382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37383 <limits.h> exists even on freestanding compilers. */
37384
37385 #ifdef __STDC__
37386 # include <limits.h>
37387 #else
37388 # include <assert.h>
37389 #endif
37390
37391 #undef $ac_func
37392
37393 /* Override any GCC internal prototype to avoid an error.
37394 Use char because int might match the return type of a GCC
37395 builtin and then its argument prototype would still apply. */
37396 #ifdef __cplusplus
37397 extern "C"
37398 #endif
37399 char $ac_func ();
37400 /* The GNU C library defines this for functions which it implements
37401 to always fail with ENOSYS. Some functions are actually named
37402 something starting with __ and the normal name is an alias. */
37403 #if defined __stub_$ac_func || defined __stub___$ac_func
37404 choke me
37405 #endif
37406
37407 int
37408 main ()
37409 {
37410 return $ac_func ();
37411 ;
37412 return 0;
37413 }
37414 _ACEOF
37415 rm -f conftest.$ac_objext conftest$ac_exeext
37416 if { (ac_try="$ac_link"
37417 case "(($ac_try" in
37418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37419 *) ac_try_echo=$ac_try;;
37420 esac
37421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37422 (eval "$ac_link") 2>conftest.er1
37423 ac_status=$?
37424 grep -v '^ *+' conftest.er1 >conftest.err
37425 rm -f conftest.er1
37426 cat conftest.err >&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); } && {
37429 test -z "$ac_c_werror_flag" ||
37430 test ! -s conftest.err
37431 } && test -s conftest$ac_exeext &&
37432 $as_test_x conftest$ac_exeext; then
37433 eval "$as_ac_var=yes"
37434 else
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.$ac_ext >&5
37437
37438 eval "$as_ac_var=no"
37439 fi
37440
37441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37442 conftest$ac_exeext conftest.$ac_ext
37443 fi
37444 ac_res=`eval echo '${'$as_ac_var'}'`
37445 { echo "$as_me:$LINENO: result: $ac_res" >&5
37446 echo "${ECHO_T}$ac_res" >&6; }
37447 if test `eval echo '${'$as_ac_var'}'` = yes; then
37448 cat >>confdefs.h <<_ACEOF
37449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37450 _ACEOF
37451
37452 fi
37453 done
37454
37455 fi
37456
37457 HAVE_SOME_SLEEP_FUNC=0
37458 if test "$USE_BEOS" = 1; then
37459 cat >>confdefs.h <<\_ACEOF
37460 #define HAVE_SLEEP 1
37461 _ACEOF
37462
37463 HAVE_SOME_SLEEP_FUNC=1
37464 fi
37465
37466 if test "$USE_DARWIN" = 1; then
37467 cat >>confdefs.h <<\_ACEOF
37468 #define HAVE_USLEEP 1
37469 _ACEOF
37470
37471 HAVE_SOME_SLEEP_FUNC=1
37472 fi
37473
37474 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37475 POSIX4_LINK=
37476
37477 for ac_func in nanosleep
37478 do
37479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 else
37485 cat >conftest.$ac_ext <<_ACEOF
37486 /* confdefs.h. */
37487 _ACEOF
37488 cat confdefs.h >>conftest.$ac_ext
37489 cat >>conftest.$ac_ext <<_ACEOF
37490 /* end confdefs.h. */
37491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37493 #define $ac_func innocuous_$ac_func
37494
37495 /* System header to define __stub macros and hopefully few prototypes,
37496 which can conflict with char $ac_func (); below.
37497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37498 <limits.h> exists even on freestanding compilers. */
37499
37500 #ifdef __STDC__
37501 # include <limits.h>
37502 #else
37503 # include <assert.h>
37504 #endif
37505
37506 #undef $ac_func
37507
37508 /* Override any GCC internal prototype to avoid an error.
37509 Use char because int might match the return type of a GCC
37510 builtin and then its argument prototype would still apply. */
37511 #ifdef __cplusplus
37512 extern "C"
37513 #endif
37514 char $ac_func ();
37515 /* The GNU C library defines this for functions which it implements
37516 to always fail with ENOSYS. Some functions are actually named
37517 something starting with __ and the normal name is an alias. */
37518 #if defined __stub_$ac_func || defined __stub___$ac_func
37519 choke me
37520 #endif
37521
37522 int
37523 main ()
37524 {
37525 return $ac_func ();
37526 ;
37527 return 0;
37528 }
37529 _ACEOF
37530 rm -f conftest.$ac_objext conftest$ac_exeext
37531 if { (ac_try="$ac_link"
37532 case "(($ac_try" in
37533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37534 *) ac_try_echo=$ac_try;;
37535 esac
37536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37537 (eval "$ac_link") 2>conftest.er1
37538 ac_status=$?
37539 grep -v '^ *+' conftest.er1 >conftest.err
37540 rm -f conftest.er1
37541 cat conftest.err >&5
37542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543 (exit $ac_status); } && {
37544 test -z "$ac_c_werror_flag" ||
37545 test ! -s conftest.err
37546 } && test -s conftest$ac_exeext &&
37547 $as_test_x conftest$ac_exeext; then
37548 eval "$as_ac_var=yes"
37549 else
37550 echo "$as_me: failed program was:" >&5
37551 sed 's/^/| /' conftest.$ac_ext >&5
37552
37553 eval "$as_ac_var=no"
37554 fi
37555
37556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37557 conftest$ac_exeext conftest.$ac_ext
37558 fi
37559 ac_res=`eval echo '${'$as_ac_var'}'`
37560 { echo "$as_me:$LINENO: result: $ac_res" >&5
37561 echo "${ECHO_T}$ac_res" >&6; }
37562 if test `eval echo '${'$as_ac_var'}'` = yes; then
37563 cat >>confdefs.h <<_ACEOF
37564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37565 _ACEOF
37566 cat >>confdefs.h <<\_ACEOF
37567 #define HAVE_NANOSLEEP 1
37568 _ACEOF
37569
37570 else
37571
37572 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37573 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37574 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37575 echo $ECHO_N "(cached) $ECHO_C" >&6
37576 else
37577 ac_check_lib_save_LIBS=$LIBS
37578 LIBS="-lposix4 $LIBS"
37579 cat >conftest.$ac_ext <<_ACEOF
37580 /* confdefs.h. */
37581 _ACEOF
37582 cat confdefs.h >>conftest.$ac_ext
37583 cat >>conftest.$ac_ext <<_ACEOF
37584 /* end confdefs.h. */
37585
37586 /* Override any GCC internal prototype to avoid an error.
37587 Use char because int might match the return type of a GCC
37588 builtin and then its argument prototype would still apply. */
37589 #ifdef __cplusplus
37590 extern "C"
37591 #endif
37592 char nanosleep ();
37593 int
37594 main ()
37595 {
37596 return nanosleep ();
37597 ;
37598 return 0;
37599 }
37600 _ACEOF
37601 rm -f conftest.$ac_objext conftest$ac_exeext
37602 if { (ac_try="$ac_link"
37603 case "(($ac_try" in
37604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37605 *) ac_try_echo=$ac_try;;
37606 esac
37607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37608 (eval "$ac_link") 2>conftest.er1
37609 ac_status=$?
37610 grep -v '^ *+' conftest.er1 >conftest.err
37611 rm -f conftest.er1
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } && {
37615 test -z "$ac_c_werror_flag" ||
37616 test ! -s conftest.err
37617 } && test -s conftest$ac_exeext &&
37618 $as_test_x conftest$ac_exeext; then
37619 ac_cv_lib_posix4_nanosleep=yes
37620 else
37621 echo "$as_me: failed program was:" >&5
37622 sed 's/^/| /' conftest.$ac_ext >&5
37623
37624 ac_cv_lib_posix4_nanosleep=no
37625 fi
37626
37627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37628 conftest$ac_exeext conftest.$ac_ext
37629 LIBS=$ac_check_lib_save_LIBS
37630 fi
37631 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37632 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37633 if test $ac_cv_lib_posix4_nanosleep = yes; then
37634
37635 cat >>confdefs.h <<\_ACEOF
37636 #define HAVE_NANOSLEEP 1
37637 _ACEOF
37638
37639 POSIX4_LINK=" -lposix4"
37640
37641 else
37642
37643
37644 for wx_func in usleep
37645 do
37646 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37647 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37648 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37649 echo $ECHO_N "(cached) $ECHO_C" >&6
37650 else
37651
37652 cat >conftest.$ac_ext <<_ACEOF
37653
37654 /* confdefs.h. */
37655 _ACEOF
37656 cat confdefs.h >>conftest.$ac_ext
37657 cat >>conftest.$ac_ext <<_ACEOF
37658 /* end confdefs.h. */
37659
37660
37661 $ac_includes_default
37662
37663 int
37664 main ()
37665 {
37666
37667 #ifndef $wx_func
37668 &$wx_func;
37669 #endif
37670
37671
37672 ;
37673 return 0;
37674 }
37675
37676 _ACEOF
37677 rm -f conftest.$ac_objext conftest$ac_exeext
37678 if { (ac_try="$ac_link"
37679 case "(($ac_try" in
37680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37681 *) ac_try_echo=$ac_try;;
37682 esac
37683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37684 (eval "$ac_link") 2>conftest.er1
37685 ac_status=$?
37686 grep -v '^ *+' conftest.er1 >conftest.err
37687 rm -f conftest.er1
37688 cat conftest.err >&5
37689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37690 (exit $ac_status); } && {
37691 test -z "$ac_c_werror_flag" ||
37692 test ! -s conftest.err
37693 } && test -s conftest$ac_exeext &&
37694 $as_test_x conftest$ac_exeext; then
37695 eval wx_cv_func_$wx_func=yes
37696 else
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.$ac_ext >&5
37699
37700 eval wx_cv_func_$wx_func=no
37701 fi
37702
37703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37704 conftest$ac_exeext conftest.$ac_ext
37705
37706 fi
37707 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37708 { echo "$as_me:$LINENO: result: $ac_res" >&5
37709 echo "${ECHO_T}$ac_res" >&6; }
37710
37711 if eval test \$wx_cv_func_$wx_func = yes
37712 then
37713 cat >>confdefs.h <<_ACEOF
37714 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37715 _ACEOF
37716
37717
37718 else
37719 :
37720 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37721 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37722
37723 fi
37724 done
37725
37726
37727
37728 fi
37729
37730
37731
37732 fi
37733 done
37734
37735 fi
37736
37737
37738 for wx_func in uname
37739 do
37740 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37741 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37742 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37743 echo $ECHO_N "(cached) $ECHO_C" >&6
37744 else
37745
37746 cat >conftest.$ac_ext <<_ACEOF
37747
37748 /* confdefs.h. */
37749 _ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h. */
37753
37754 #include <sys/utsname.h>
37755 $ac_includes_default
37756
37757 int
37758 main ()
37759 {
37760
37761 #ifndef $wx_func
37762 &$wx_func;
37763 #endif
37764
37765
37766 ;
37767 return 0;
37768 }
37769
37770 _ACEOF
37771 rm -f conftest.$ac_objext conftest$ac_exeext
37772 if { (ac_try="$ac_link"
37773 case "(($ac_try" in
37774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37775 *) ac_try_echo=$ac_try;;
37776 esac
37777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37778 (eval "$ac_link") 2>conftest.er1
37779 ac_status=$?
37780 grep -v '^ *+' conftest.er1 >conftest.err
37781 rm -f conftest.er1
37782 cat conftest.err >&5
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); } && {
37785 test -z "$ac_c_werror_flag" ||
37786 test ! -s conftest.err
37787 } && test -s conftest$ac_exeext &&
37788 $as_test_x conftest$ac_exeext; then
37789 eval wx_cv_func_$wx_func=yes
37790 else
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37793
37794 eval wx_cv_func_$wx_func=no
37795 fi
37796
37797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37798 conftest$ac_exeext conftest.$ac_ext
37799
37800 fi
37801 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37802 { echo "$as_me:$LINENO: result: $ac_res" >&5
37803 echo "${ECHO_T}$ac_res" >&6; }
37804
37805 if eval test \$wx_cv_func_$wx_func = yes
37806 then
37807 cat >>confdefs.h <<_ACEOF
37808 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37809 _ACEOF
37810
37811
37812 else
37813 :
37814
37815 fi
37816 done
37817
37818 if test "$wx_cv_func_uname" != yes; then
37819
37820 for wx_func in gethostname
37821 do
37822 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37823 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37824 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37825 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 else
37827
37828 cat >conftest.$ac_ext <<_ACEOF
37829
37830 /* confdefs.h. */
37831 _ACEOF
37832 cat confdefs.h >>conftest.$ac_ext
37833 cat >>conftest.$ac_ext <<_ACEOF
37834 /* end confdefs.h. */
37835
37836
37837 $ac_includes_default
37838
37839 int
37840 main ()
37841 {
37842
37843 #ifndef $wx_func
37844 &$wx_func;
37845 #endif
37846
37847
37848 ;
37849 return 0;
37850 }
37851
37852 _ACEOF
37853 rm -f conftest.$ac_objext conftest$ac_exeext
37854 if { (ac_try="$ac_link"
37855 case "(($ac_try" in
37856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37857 *) ac_try_echo=$ac_try;;
37858 esac
37859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37860 (eval "$ac_link") 2>conftest.er1
37861 ac_status=$?
37862 grep -v '^ *+' conftest.er1 >conftest.err
37863 rm -f conftest.er1
37864 cat conftest.err >&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } && {
37867 test -z "$ac_c_werror_flag" ||
37868 test ! -s conftest.err
37869 } && test -s conftest$ac_exeext &&
37870 $as_test_x conftest$ac_exeext; then
37871 eval wx_cv_func_$wx_func=yes
37872 else
37873 echo "$as_me: failed program was:" >&5
37874 sed 's/^/| /' conftest.$ac_ext >&5
37875
37876 eval wx_cv_func_$wx_func=no
37877 fi
37878
37879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37880 conftest$ac_exeext conftest.$ac_ext
37881
37882 fi
37883 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37884 { echo "$as_me:$LINENO: result: $ac_res" >&5
37885 echo "${ECHO_T}$ac_res" >&6; }
37886
37887 if eval test \$wx_cv_func_$wx_func = yes
37888 then
37889 cat >>confdefs.h <<_ACEOF
37890 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37891 _ACEOF
37892
37893
37894 else
37895 :
37896
37897 fi
37898 done
37899
37900 fi
37901
37902
37903 for wx_func in strtok_r
37904 do
37905 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37906 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37907 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
37910
37911 cat >conftest.$ac_ext <<_ACEOF
37912
37913 /* confdefs.h. */
37914 _ACEOF
37915 cat confdefs.h >>conftest.$ac_ext
37916 cat >>conftest.$ac_ext <<_ACEOF
37917 /* end confdefs.h. */
37918
37919 #define _REENTRANT
37920 $ac_includes_default
37921
37922 int
37923 main ()
37924 {
37925
37926 #ifndef $wx_func
37927 &$wx_func;
37928 #endif
37929
37930
37931 ;
37932 return 0;
37933 }
37934
37935 _ACEOF
37936 rm -f conftest.$ac_objext conftest$ac_exeext
37937 if { (ac_try="$ac_link"
37938 case "(($ac_try" in
37939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37940 *) ac_try_echo=$ac_try;;
37941 esac
37942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37943 (eval "$ac_link") 2>conftest.er1
37944 ac_status=$?
37945 grep -v '^ *+' conftest.er1 >conftest.err
37946 rm -f conftest.er1
37947 cat conftest.err >&5
37948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37949 (exit $ac_status); } && {
37950 test -z "$ac_c_werror_flag" ||
37951 test ! -s conftest.err
37952 } && test -s conftest$ac_exeext &&
37953 $as_test_x conftest$ac_exeext; then
37954 eval wx_cv_func_$wx_func=yes
37955 else
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.$ac_ext >&5
37958
37959 eval wx_cv_func_$wx_func=no
37960 fi
37961
37962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37963 conftest$ac_exeext conftest.$ac_ext
37964
37965 fi
37966 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37967 { echo "$as_me:$LINENO: result: $ac_res" >&5
37968 echo "${ECHO_T}$ac_res" >&6; }
37969
37970 if eval test \$wx_cv_func_$wx_func = yes
37971 then
37972 cat >>confdefs.h <<_ACEOF
37973 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37974 _ACEOF
37975
37976
37977 else
37978 :
37979
37980 fi
37981 done
37982
37983
37984 INET_LINK=
37985
37986 for ac_func in inet_addr
37987 do
37988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37993 else
37994 cat >conftest.$ac_ext <<_ACEOF
37995 /* confdefs.h. */
37996 _ACEOF
37997 cat confdefs.h >>conftest.$ac_ext
37998 cat >>conftest.$ac_ext <<_ACEOF
37999 /* end confdefs.h. */
38000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38002 #define $ac_func innocuous_$ac_func
38003
38004 /* System header to define __stub macros and hopefully few prototypes,
38005 which can conflict with char $ac_func (); below.
38006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38007 <limits.h> exists even on freestanding compilers. */
38008
38009 #ifdef __STDC__
38010 # include <limits.h>
38011 #else
38012 # include <assert.h>
38013 #endif
38014
38015 #undef $ac_func
38016
38017 /* Override any GCC internal prototype to avoid an error.
38018 Use char because int might match the return type of a GCC
38019 builtin and then its argument prototype would still apply. */
38020 #ifdef __cplusplus
38021 extern "C"
38022 #endif
38023 char $ac_func ();
38024 /* The GNU C library defines this for functions which it implements
38025 to always fail with ENOSYS. Some functions are actually named
38026 something starting with __ and the normal name is an alias. */
38027 #if defined __stub_$ac_func || defined __stub___$ac_func
38028 choke me
38029 #endif
38030
38031 int
38032 main ()
38033 {
38034 return $ac_func ();
38035 ;
38036 return 0;
38037 }
38038 _ACEOF
38039 rm -f conftest.$ac_objext conftest$ac_exeext
38040 if { (ac_try="$ac_link"
38041 case "(($ac_try" in
38042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38043 *) ac_try_echo=$ac_try;;
38044 esac
38045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38046 (eval "$ac_link") 2>conftest.er1
38047 ac_status=$?
38048 grep -v '^ *+' conftest.er1 >conftest.err
38049 rm -f conftest.er1
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } && {
38053 test -z "$ac_c_werror_flag" ||
38054 test ! -s conftest.err
38055 } && test -s conftest$ac_exeext &&
38056 $as_test_x conftest$ac_exeext; then
38057 eval "$as_ac_var=yes"
38058 else
38059 echo "$as_me: failed program was:" >&5
38060 sed 's/^/| /' conftest.$ac_ext >&5
38061
38062 eval "$as_ac_var=no"
38063 fi
38064
38065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38066 conftest$ac_exeext conftest.$ac_ext
38067 fi
38068 ac_res=`eval echo '${'$as_ac_var'}'`
38069 { echo "$as_me:$LINENO: result: $ac_res" >&5
38070 echo "${ECHO_T}$ac_res" >&6; }
38071 if test `eval echo '${'$as_ac_var'}'` = yes; then
38072 cat >>confdefs.h <<_ACEOF
38073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38074 _ACEOF
38075 cat >>confdefs.h <<\_ACEOF
38076 #define HAVE_INET_ADDR 1
38077 _ACEOF
38078
38079 else
38080
38081 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38082 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38083 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 else
38086 ac_check_lib_save_LIBS=$LIBS
38087 LIBS="-lnsl $LIBS"
38088 cat >conftest.$ac_ext <<_ACEOF
38089 /* confdefs.h. */
38090 _ACEOF
38091 cat confdefs.h >>conftest.$ac_ext
38092 cat >>conftest.$ac_ext <<_ACEOF
38093 /* end confdefs.h. */
38094
38095 /* Override any GCC internal prototype to avoid an error.
38096 Use char because int might match the return type of a GCC
38097 builtin and then its argument prototype would still apply. */
38098 #ifdef __cplusplus
38099 extern "C"
38100 #endif
38101 char inet_addr ();
38102 int
38103 main ()
38104 {
38105 return inet_addr ();
38106 ;
38107 return 0;
38108 }
38109 _ACEOF
38110 rm -f conftest.$ac_objext conftest$ac_exeext
38111 if { (ac_try="$ac_link"
38112 case "(($ac_try" in
38113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38114 *) ac_try_echo=$ac_try;;
38115 esac
38116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38117 (eval "$ac_link") 2>conftest.er1
38118 ac_status=$?
38119 grep -v '^ *+' conftest.er1 >conftest.err
38120 rm -f conftest.er1
38121 cat conftest.err >&5
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); } && {
38124 test -z "$ac_c_werror_flag" ||
38125 test ! -s conftest.err
38126 } && test -s conftest$ac_exeext &&
38127 $as_test_x conftest$ac_exeext; then
38128 ac_cv_lib_nsl_inet_addr=yes
38129 else
38130 echo "$as_me: failed program was:" >&5
38131 sed 's/^/| /' conftest.$ac_ext >&5
38132
38133 ac_cv_lib_nsl_inet_addr=no
38134 fi
38135
38136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38137 conftest$ac_exeext conftest.$ac_ext
38138 LIBS=$ac_check_lib_save_LIBS
38139 fi
38140 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38141 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38142 if test $ac_cv_lib_nsl_inet_addr = yes; then
38143 INET_LINK="nsl"
38144 else
38145
38146 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38147 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38148 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 else
38151 ac_check_lib_save_LIBS=$LIBS
38152 LIBS="-lresolv $LIBS"
38153 cat >conftest.$ac_ext <<_ACEOF
38154 /* confdefs.h. */
38155 _ACEOF
38156 cat confdefs.h >>conftest.$ac_ext
38157 cat >>conftest.$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38159
38160 /* Override any GCC internal prototype to avoid an error.
38161 Use char because int might match the return type of a GCC
38162 builtin and then its argument prototype would still apply. */
38163 #ifdef __cplusplus
38164 extern "C"
38165 #endif
38166 char inet_addr ();
38167 int
38168 main ()
38169 {
38170 return inet_addr ();
38171 ;
38172 return 0;
38173 }
38174 _ACEOF
38175 rm -f conftest.$ac_objext conftest$ac_exeext
38176 if { (ac_try="$ac_link"
38177 case "(($ac_try" in
38178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38179 *) ac_try_echo=$ac_try;;
38180 esac
38181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38182 (eval "$ac_link") 2>conftest.er1
38183 ac_status=$?
38184 grep -v '^ *+' conftest.er1 >conftest.err
38185 rm -f conftest.er1
38186 cat conftest.err >&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); } && {
38189 test -z "$ac_c_werror_flag" ||
38190 test ! -s conftest.err
38191 } && test -s conftest$ac_exeext &&
38192 $as_test_x conftest$ac_exeext; then
38193 ac_cv_lib_resolv_inet_addr=yes
38194 else
38195 echo "$as_me: failed program was:" >&5
38196 sed 's/^/| /' conftest.$ac_ext >&5
38197
38198 ac_cv_lib_resolv_inet_addr=no
38199 fi
38200
38201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38202 conftest$ac_exeext conftest.$ac_ext
38203 LIBS=$ac_check_lib_save_LIBS
38204 fi
38205 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38206 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38207 if test $ac_cv_lib_resolv_inet_addr = yes; then
38208 INET_LINK="resolv"
38209 else
38210
38211 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38212 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38213 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38214 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 else
38216 ac_check_lib_save_LIBS=$LIBS
38217 LIBS="-lsocket $LIBS"
38218 cat >conftest.$ac_ext <<_ACEOF
38219 /* confdefs.h. */
38220 _ACEOF
38221 cat confdefs.h >>conftest.$ac_ext
38222 cat >>conftest.$ac_ext <<_ACEOF
38223 /* end confdefs.h. */
38224
38225 /* Override any GCC internal prototype to avoid an error.
38226 Use char because int might match the return type of a GCC
38227 builtin and then its argument prototype would still apply. */
38228 #ifdef __cplusplus
38229 extern "C"
38230 #endif
38231 char inet_addr ();
38232 int
38233 main ()
38234 {
38235 return inet_addr ();
38236 ;
38237 return 0;
38238 }
38239 _ACEOF
38240 rm -f conftest.$ac_objext conftest$ac_exeext
38241 if { (ac_try="$ac_link"
38242 case "(($ac_try" in
38243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38244 *) ac_try_echo=$ac_try;;
38245 esac
38246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38247 (eval "$ac_link") 2>conftest.er1
38248 ac_status=$?
38249 grep -v '^ *+' conftest.er1 >conftest.err
38250 rm -f conftest.er1
38251 cat conftest.err >&5
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); } && {
38254 test -z "$ac_c_werror_flag" ||
38255 test ! -s conftest.err
38256 } && test -s conftest$ac_exeext &&
38257 $as_test_x conftest$ac_exeext; then
38258 ac_cv_lib_socket_inet_addr=yes
38259 else
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38262
38263 ac_cv_lib_socket_inet_addr=no
38264 fi
38265
38266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38267 conftest$ac_exeext conftest.$ac_ext
38268 LIBS=$ac_check_lib_save_LIBS
38269 fi
38270 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38271 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38272 if test $ac_cv_lib_socket_inet_addr = yes; then
38273 INET_LINK="socket"
38274
38275 fi
38276
38277
38278
38279 fi
38280
38281
38282
38283 fi
38284
38285
38286
38287 fi
38288 done
38289
38290
38291
38292 for ac_func in inet_aton
38293 do
38294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38298 echo $ECHO_N "(cached) $ECHO_C" >&6
38299 else
38300 cat >conftest.$ac_ext <<_ACEOF
38301 /* confdefs.h. */
38302 _ACEOF
38303 cat confdefs.h >>conftest.$ac_ext
38304 cat >>conftest.$ac_ext <<_ACEOF
38305 /* end confdefs.h. */
38306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38308 #define $ac_func innocuous_$ac_func
38309
38310 /* System header to define __stub macros and hopefully few prototypes,
38311 which can conflict with char $ac_func (); below.
38312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38313 <limits.h> exists even on freestanding compilers. */
38314
38315 #ifdef __STDC__
38316 # include <limits.h>
38317 #else
38318 # include <assert.h>
38319 #endif
38320
38321 #undef $ac_func
38322
38323 /* Override any GCC internal prototype to avoid an error.
38324 Use char because int might match the return type of a GCC
38325 builtin and then its argument prototype would still apply. */
38326 #ifdef __cplusplus
38327 extern "C"
38328 #endif
38329 char $ac_func ();
38330 /* The GNU C library defines this for functions which it implements
38331 to always fail with ENOSYS. Some functions are actually named
38332 something starting with __ and the normal name is an alias. */
38333 #if defined __stub_$ac_func || defined __stub___$ac_func
38334 choke me
38335 #endif
38336
38337 int
38338 main ()
38339 {
38340 return $ac_func ();
38341 ;
38342 return 0;
38343 }
38344 _ACEOF
38345 rm -f conftest.$ac_objext conftest$ac_exeext
38346 if { (ac_try="$ac_link"
38347 case "(($ac_try" in
38348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38349 *) ac_try_echo=$ac_try;;
38350 esac
38351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38352 (eval "$ac_link") 2>conftest.er1
38353 ac_status=$?
38354 grep -v '^ *+' conftest.er1 >conftest.err
38355 rm -f conftest.er1
38356 cat conftest.err >&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } && {
38359 test -z "$ac_c_werror_flag" ||
38360 test ! -s conftest.err
38361 } && test -s conftest$ac_exeext &&
38362 $as_test_x conftest$ac_exeext; then
38363 eval "$as_ac_var=yes"
38364 else
38365 echo "$as_me: failed program was:" >&5
38366 sed 's/^/| /' conftest.$ac_ext >&5
38367
38368 eval "$as_ac_var=no"
38369 fi
38370
38371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38372 conftest$ac_exeext conftest.$ac_ext
38373 fi
38374 ac_res=`eval echo '${'$as_ac_var'}'`
38375 { echo "$as_me:$LINENO: result: $ac_res" >&5
38376 echo "${ECHO_T}$ac_res" >&6; }
38377 if test `eval echo '${'$as_ac_var'}'` = yes; then
38378 cat >>confdefs.h <<_ACEOF
38379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38380 _ACEOF
38381 cat >>confdefs.h <<\_ACEOF
38382 #define HAVE_INET_ATON 1
38383 _ACEOF
38384
38385 else
38386
38387 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38388 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38389 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38390 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393 ac_check_lib_save_LIBS=$LIBS
38394 LIBS="-l$INET_LINK $LIBS"
38395 cat >conftest.$ac_ext <<_ACEOF
38396 /* confdefs.h. */
38397 _ACEOF
38398 cat confdefs.h >>conftest.$ac_ext
38399 cat >>conftest.$ac_ext <<_ACEOF
38400 /* end confdefs.h. */
38401
38402 /* Override any GCC internal prototype to avoid an error.
38403 Use char because int might match the return type of a GCC
38404 builtin and then its argument prototype would still apply. */
38405 #ifdef __cplusplus
38406 extern "C"
38407 #endif
38408 char inet_aton ();
38409 int
38410 main ()
38411 {
38412 return inet_aton ();
38413 ;
38414 return 0;
38415 }
38416 _ACEOF
38417 rm -f conftest.$ac_objext conftest$ac_exeext
38418 if { (ac_try="$ac_link"
38419 case "(($ac_try" in
38420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38421 *) ac_try_echo=$ac_try;;
38422 esac
38423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38424 (eval "$ac_link") 2>conftest.er1
38425 ac_status=$?
38426 grep -v '^ *+' conftest.er1 >conftest.err
38427 rm -f conftest.er1
38428 cat conftest.err >&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); } && {
38431 test -z "$ac_c_werror_flag" ||
38432 test ! -s conftest.err
38433 } && test -s conftest$ac_exeext &&
38434 $as_test_x conftest$ac_exeext; then
38435 eval "$as_ac_Lib=yes"
38436 else
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.$ac_ext >&5
38439
38440 eval "$as_ac_Lib=no"
38441 fi
38442
38443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38444 conftest$ac_exeext conftest.$ac_ext
38445 LIBS=$ac_check_lib_save_LIBS
38446 fi
38447 ac_res=`eval echo '${'$as_ac_Lib'}'`
38448 { echo "$as_me:$LINENO: result: $ac_res" >&5
38449 echo "${ECHO_T}$ac_res" >&6; }
38450 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38451 cat >>confdefs.h <<\_ACEOF
38452 #define HAVE_INET_ATON 1
38453 _ACEOF
38454
38455 fi
38456
38457
38458 fi
38459 done
38460
38461
38462 if test "x$INET_LINK" != "x"; then
38463 cat >>confdefs.h <<\_ACEOF
38464 #define HAVE_INET_ADDR 1
38465 _ACEOF
38466
38467 INET_LINK=" -l$INET_LINK"
38468 fi
38469
38470
38471 for wx_func in fdopen
38472 do
38473 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38474 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38475 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38476 echo $ECHO_N "(cached) $ECHO_C" >&6
38477 else
38478
38479 cat >conftest.$ac_ext <<_ACEOF
38480
38481 /* confdefs.h. */
38482 _ACEOF
38483 cat confdefs.h >>conftest.$ac_ext
38484 cat >>conftest.$ac_ext <<_ACEOF
38485 /* end confdefs.h. */
38486
38487
38488 $ac_includes_default
38489
38490 int
38491 main ()
38492 {
38493
38494 #ifndef $wx_func
38495 &$wx_func;
38496 #endif
38497
38498
38499 ;
38500 return 0;
38501 }
38502
38503 _ACEOF
38504 rm -f conftest.$ac_objext conftest$ac_exeext
38505 if { (ac_try="$ac_link"
38506 case "(($ac_try" in
38507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38508 *) ac_try_echo=$ac_try;;
38509 esac
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_link") 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } && {
38518 test -z "$ac_c_werror_flag" ||
38519 test ! -s conftest.err
38520 } && test -s conftest$ac_exeext &&
38521 $as_test_x conftest$ac_exeext; then
38522 eval wx_cv_func_$wx_func=yes
38523 else
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.$ac_ext >&5
38526
38527 eval wx_cv_func_$wx_func=no
38528 fi
38529
38530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38531 conftest$ac_exeext conftest.$ac_ext
38532
38533 fi
38534 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38535 { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537
38538 if eval test \$wx_cv_func_$wx_func = yes
38539 then
38540 cat >>confdefs.h <<_ACEOF
38541 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38542 _ACEOF
38543
38544
38545 else
38546 :
38547
38548 fi
38549 done
38550
38551
38552 if test "$wxUSE_TARSTREAM" = "yes"; then
38553
38554 for wx_func in sysconf
38555 do
38556 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38557 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38558 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38559 echo $ECHO_N "(cached) $ECHO_C" >&6
38560 else
38561
38562 cat >conftest.$ac_ext <<_ACEOF
38563
38564 /* confdefs.h. */
38565 _ACEOF
38566 cat confdefs.h >>conftest.$ac_ext
38567 cat >>conftest.$ac_ext <<_ACEOF
38568 /* end confdefs.h. */
38569
38570
38571 $ac_includes_default
38572
38573 int
38574 main ()
38575 {
38576
38577 #ifndef $wx_func
38578 &$wx_func;
38579 #endif
38580
38581
38582 ;
38583 return 0;
38584 }
38585
38586 _ACEOF
38587 rm -f conftest.$ac_objext conftest$ac_exeext
38588 if { (ac_try="$ac_link"
38589 case "(($ac_try" in
38590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38591 *) ac_try_echo=$ac_try;;
38592 esac
38593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38594 (eval "$ac_link") 2>conftest.er1
38595 ac_status=$?
38596 grep -v '^ *+' conftest.er1 >conftest.err
38597 rm -f conftest.er1
38598 cat conftest.err >&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); } && {
38601 test -z "$ac_c_werror_flag" ||
38602 test ! -s conftest.err
38603 } && test -s conftest$ac_exeext &&
38604 $as_test_x conftest$ac_exeext; then
38605 eval wx_cv_func_$wx_func=yes
38606 else
38607 echo "$as_me: failed program was:" >&5
38608 sed 's/^/| /' conftest.$ac_ext >&5
38609
38610 eval wx_cv_func_$wx_func=no
38611 fi
38612
38613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38614 conftest$ac_exeext conftest.$ac_ext
38615
38616 fi
38617 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38618 { echo "$as_me:$LINENO: result: $ac_res" >&5
38619 echo "${ECHO_T}$ac_res" >&6; }
38620
38621 if eval test \$wx_cv_func_$wx_func = yes
38622 then
38623 cat >>confdefs.h <<_ACEOF
38624 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38625 _ACEOF
38626
38627
38628 else
38629 :
38630
38631 fi
38632 done
38633
38634
38635
38636 for wx_func in getpwuid_r
38637 do
38638 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38639 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38640 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 else
38643
38644 cat >conftest.$ac_ext <<_ACEOF
38645
38646 /* confdefs.h. */
38647 _ACEOF
38648 cat confdefs.h >>conftest.$ac_ext
38649 cat >>conftest.$ac_ext <<_ACEOF
38650 /* end confdefs.h. */
38651
38652
38653 #define _REENTRANT
38654 #include <pwd.h>
38655
38656 $ac_includes_default
38657
38658 int
38659 main ()
38660 {
38661
38662 #ifndef $wx_func
38663 &$wx_func;
38664 #endif
38665
38666 struct passwd pw, *ppw;
38667 char buf[1024];
38668 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38669
38670
38671 ;
38672 return 0;
38673 }
38674
38675 _ACEOF
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (ac_try="$ac_link"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38680 *) ac_try_echo=$ac_try;;
38681 esac
38682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_link") 2>conftest.er1
38684 ac_status=$?
38685 grep -v '^ *+' conftest.er1 >conftest.err
38686 rm -f conftest.er1
38687 cat conftest.err >&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest$ac_exeext &&
38693 $as_test_x conftest$ac_exeext; then
38694 eval wx_cv_func_$wx_func=yes
38695 else
38696 echo "$as_me: failed program was:" >&5
38697 sed 's/^/| /' conftest.$ac_ext >&5
38698
38699 eval wx_cv_func_$wx_func=no
38700 fi
38701
38702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38703 conftest$ac_exeext conftest.$ac_ext
38704
38705 fi
38706 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38707 { echo "$as_me:$LINENO: result: $ac_res" >&5
38708 echo "${ECHO_T}$ac_res" >&6; }
38709
38710 if eval test \$wx_cv_func_$wx_func = yes
38711 then
38712 cat >>confdefs.h <<_ACEOF
38713 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38714 _ACEOF
38715
38716
38717 else
38718 :
38719
38720 fi
38721 done
38722
38723
38724
38725 for wx_func in getgrgid_r
38726 do
38727 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38728 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38729 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38730 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 else
38732
38733 cat >conftest.$ac_ext <<_ACEOF
38734
38735 /* confdefs.h. */
38736 _ACEOF
38737 cat confdefs.h >>conftest.$ac_ext
38738 cat >>conftest.$ac_ext <<_ACEOF
38739 /* end confdefs.h. */
38740
38741
38742 #define _REENTRANT
38743 #include <grp.h>
38744
38745 $ac_includes_default
38746
38747 int
38748 main ()
38749 {
38750
38751 #ifndef $wx_func
38752 &$wx_func;
38753 #endif
38754
38755 struct group grp, *pgrp;
38756 char buf[1024];
38757 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38758
38759
38760 ;
38761 return 0;
38762 }
38763
38764 _ACEOF
38765 rm -f conftest.$ac_objext conftest$ac_exeext
38766 if { (ac_try="$ac_link"
38767 case "(($ac_try" in
38768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38769 *) ac_try_echo=$ac_try;;
38770 esac
38771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38772 (eval "$ac_link") 2>conftest.er1
38773 ac_status=$?
38774 grep -v '^ *+' conftest.er1 >conftest.err
38775 rm -f conftest.er1
38776 cat conftest.err >&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); } && {
38779 test -z "$ac_c_werror_flag" ||
38780 test ! -s conftest.err
38781 } && test -s conftest$ac_exeext &&
38782 $as_test_x conftest$ac_exeext; then
38783 eval wx_cv_func_$wx_func=yes
38784 else
38785 echo "$as_me: failed program was:" >&5
38786 sed 's/^/| /' conftest.$ac_ext >&5
38787
38788 eval wx_cv_func_$wx_func=no
38789 fi
38790
38791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38792 conftest$ac_exeext conftest.$ac_ext
38793
38794 fi
38795 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38796 { echo "$as_me:$LINENO: result: $ac_res" >&5
38797 echo "${ECHO_T}$ac_res" >&6; }
38798
38799 if eval test \$wx_cv_func_$wx_func = yes
38800 then
38801 cat >>confdefs.h <<_ACEOF
38802 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38803 _ACEOF
38804
38805
38806 else
38807 :
38808
38809 fi
38810 done
38811
38812 fi
38813
38814 fi
38815
38816
38817
38818 cat >confcache <<\_ACEOF
38819 # This file is a shell script that caches the results of configure
38820 # tests run on this system so they can be shared between configure
38821 # scripts and configure runs, see configure's option --config-cache.
38822 # It is not useful on other systems. If it contains results you don't
38823 # want to keep, you may remove or edit it.
38824 #
38825 # config.status only pays attention to the cache file if you give it
38826 # the --recheck option to rerun configure.
38827 #
38828 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38829 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38830 # following values.
38831
38832 _ACEOF
38833
38834 # The following way of writing the cache mishandles newlines in values,
38835 # but we know of no workaround that is simple, portable, and efficient.
38836 # So, we kill variables containing newlines.
38837 # Ultrix sh set writes to stderr and can't be redirected directly,
38838 # and sets the high bit in the cache file unless we assign to the vars.
38839 (
38840 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38841 eval ac_val=\$$ac_var
38842 case $ac_val in #(
38843 *${as_nl}*)
38844 case $ac_var in #(
38845 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38846 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38847 esac
38848 case $ac_var in #(
38849 _ | IFS | as_nl) ;; #(
38850 *) $as_unset $ac_var ;;
38851 esac ;;
38852 esac
38853 done
38854
38855 (set) 2>&1 |
38856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38857 *${as_nl}ac_space=\ *)
38858 # `set' does not quote correctly, so add quotes (double-quote
38859 # substitution turns \\\\ into \\, and sed turns \\ into \).
38860 sed -n \
38861 "s/'/'\\\\''/g;
38862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38863 ;; #(
38864 *)
38865 # `set' quotes correctly as required by POSIX, so do not add quotes.
38866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38867 ;;
38868 esac |
38869 sort
38870 ) |
38871 sed '
38872 /^ac_cv_env_/b end
38873 t clear
38874 :clear
38875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38876 t end
38877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38878 :end' >>confcache
38879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38880 if test -w "$cache_file"; then
38881 test "x$cache_file" != "x/dev/null" &&
38882 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38883 echo "$as_me: updating cache $cache_file" >&6;}
38884 cat confcache >$cache_file
38885 else
38886 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38887 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38888 fi
38889 fi
38890 rm -f confcache
38891
38892
38893 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38894
38895
38896 THREADS_LINK=
38897 THREADS_CFLAGS=
38898
38899 if test "$wxUSE_THREADS" = "yes" ; then
38900 if test "$USE_BEOS" = 1; then
38901 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38902 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38903 wxUSE_THREADS="no"
38904 fi
38905 fi
38906
38907 if test "$wxUSE_THREADS" = "yes" ; then
38908
38909
38910 THREAD_OPTS="-pthread"
38911 if test "x$SUNCXX" = xyes; then
38912 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38913 fi
38914
38915 case "${host}" in
38916 *-*-solaris2* | *-*-sunos4* )
38917 if test "x$GCC" = "xyes"; then
38918 THREAD_OPTS="-pthreads $THREAD_OPTS"
38919 fi
38920 ;;
38921 *-*-freebsd*)
38922 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38923 ;;
38924 *-*-darwin* | *-*-cygwin* )
38925 THREAD_OPTS=""
38926 ;;
38927 *-*-aix*)
38928 THREAD_OPTS="pthreads"
38929 ;;
38930 *-hp-hpux* )
38931 if test "x$GCC" = "xyes"; then
38932 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38933 THREAD_OPTS=""
38934 else
38935 THREAD_OPTS="-mt"
38936 fi
38937 ;;
38938
38939 *-*-irix* )
38940 if test "x$GCC" = "xyes"; then
38941 THREAD_OPTS=""
38942 fi
38943 ;;
38944
38945 *-*-*UnixWare*)
38946 if test "x$GCC" != "xyes"; then
38947 THREAD_OPTS="-Ethread"
38948 fi
38949 ;;
38950 esac
38951
38952 THREAD_OPTS="$THREAD_OPTS pthread none"
38953
38954 THREADS_OK=no
38955 for flag in $THREAD_OPTS; do
38956 case $flag in
38957 none)
38958 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38959 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38960 ;;
38961
38962 -*)
38963 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38964 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38965 THREADS_CFLAGS="$flag"
38966 ;;
38967
38968 *)
38969 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38970 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38971 THREADS_LINK="-l$flag"
38972 ;;
38973 esac
38974
38975 save_LIBS="$LIBS"
38976 save_CFLAGS="$CFLAGS"
38977 LIBS="$THREADS_LINK $LIBS"
38978 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38979
38980 cat >conftest.$ac_ext <<_ACEOF
38981 /* confdefs.h. */
38982 _ACEOF
38983 cat confdefs.h >>conftest.$ac_ext
38984 cat >>conftest.$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986 #include <pthread.h>
38987 int
38988 main ()
38989 {
38990 pthread_create(0,0,0,0);
38991 ;
38992 return 0;
38993 }
38994 _ACEOF
38995 rm -f conftest.$ac_objext conftest$ac_exeext
38996 if { (ac_try="$ac_link"
38997 case "(($ac_try" in
38998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38999 *) ac_try_echo=$ac_try;;
39000 esac
39001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39002 (eval "$ac_link") 2>conftest.er1
39003 ac_status=$?
39004 grep -v '^ *+' conftest.er1 >conftest.err
39005 rm -f conftest.er1
39006 cat conftest.err >&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); } && {
39009 test -z "$ac_c_werror_flag" ||
39010 test ! -s conftest.err
39011 } && test -s conftest$ac_exeext &&
39012 $as_test_x conftest$ac_exeext; then
39013 THREADS_OK=yes
39014 else
39015 echo "$as_me: failed program was:" >&5
39016 sed 's/^/| /' conftest.$ac_ext >&5
39017
39018
39019 fi
39020
39021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39022 conftest$ac_exeext conftest.$ac_ext
39023
39024 LIBS="$save_LIBS"
39025 CFLAGS="$save_CFLAGS"
39026
39027 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39028 echo "${ECHO_T}$THREADS_OK" >&6; }
39029 if test "x$THREADS_OK" = "xyes"; then
39030 break;
39031 fi
39032
39033 THREADS_LINK=""
39034 THREADS_CFLAGS=""
39035 done
39036
39037 if test "x$THREADS_OK" != "xyes"; then
39038 wxUSE_THREADS=no
39039 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39040 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39041 else
39042 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39043 LIBS="$THREADS_LINK $LIBS"
39044
39045 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39046 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39047 flag=no
39048 case "${host}" in
39049 *-aix*)
39050 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39051 flag="-D_THREAD_SAFE"
39052 ;;
39053 *-freebsd*)
39054 flag="-D_THREAD_SAFE"
39055 ;;
39056 *-hp-hpux* )
39057 flag="-D_REENTRANT"
39058 if test "x$GCC" != "xyes"; then
39059 flag="$flag -D_RWSTD_MULTI_THREAD"
39060 fi
39061 ;;
39062 *solaris* | alpha*-osf*)
39063 flag="-D_REENTRANT"
39064 ;;
39065 esac
39066 { echo "$as_me:$LINENO: result: ${flag}" >&5
39067 echo "${ECHO_T}${flag}" >&6; }
39068 if test "x$flag" != xno; then
39069 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39070 fi
39071
39072 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39073 fi
39074 fi
39075
39076 if test "$wxUSE_THREADS" = "yes" ; then
39077
39078 for ac_func in thr_setconcurrency
39079 do
39080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39084 echo $ECHO_N "(cached) $ECHO_C" >&6
39085 else
39086 cat >conftest.$ac_ext <<_ACEOF
39087 /* confdefs.h. */
39088 _ACEOF
39089 cat confdefs.h >>conftest.$ac_ext
39090 cat >>conftest.$ac_ext <<_ACEOF
39091 /* end confdefs.h. */
39092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39094 #define $ac_func innocuous_$ac_func
39095
39096 /* System header to define __stub macros and hopefully few prototypes,
39097 which can conflict with char $ac_func (); below.
39098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39099 <limits.h> exists even on freestanding compilers. */
39100
39101 #ifdef __STDC__
39102 # include <limits.h>
39103 #else
39104 # include <assert.h>
39105 #endif
39106
39107 #undef $ac_func
39108
39109 /* Override any GCC internal prototype to avoid an error.
39110 Use char because int might match the return type of a GCC
39111 builtin and then its argument prototype would still apply. */
39112 #ifdef __cplusplus
39113 extern "C"
39114 #endif
39115 char $ac_func ();
39116 /* The GNU C library defines this for functions which it implements
39117 to always fail with ENOSYS. Some functions are actually named
39118 something starting with __ and the normal name is an alias. */
39119 #if defined __stub_$ac_func || defined __stub___$ac_func
39120 choke me
39121 #endif
39122
39123 int
39124 main ()
39125 {
39126 return $ac_func ();
39127 ;
39128 return 0;
39129 }
39130 _ACEOF
39131 rm -f conftest.$ac_objext conftest$ac_exeext
39132 if { (ac_try="$ac_link"
39133 case "(($ac_try" in
39134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39135 *) ac_try_echo=$ac_try;;
39136 esac
39137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39138 (eval "$ac_link") 2>conftest.er1
39139 ac_status=$?
39140 grep -v '^ *+' conftest.er1 >conftest.err
39141 rm -f conftest.er1
39142 cat conftest.err >&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); } && {
39145 test -z "$ac_c_werror_flag" ||
39146 test ! -s conftest.err
39147 } && test -s conftest$ac_exeext &&
39148 $as_test_x conftest$ac_exeext; then
39149 eval "$as_ac_var=yes"
39150 else
39151 echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.$ac_ext >&5
39153
39154 eval "$as_ac_var=no"
39155 fi
39156
39157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39158 conftest$ac_exeext conftest.$ac_ext
39159 fi
39160 ac_res=`eval echo '${'$as_ac_var'}'`
39161 { echo "$as_me:$LINENO: result: $ac_res" >&5
39162 echo "${ECHO_T}$ac_res" >&6; }
39163 if test `eval echo '${'$as_ac_var'}'` = yes; then
39164 cat >>confdefs.h <<_ACEOF
39165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39166 _ACEOF
39167
39168 fi
39169 done
39170
39171
39172 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39173 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39174 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39175 echo $ECHO_N "(cached) $ECHO_C" >&6
39176 else
39177
39178 ac_ext=cpp
39179 ac_cpp='$CXXCPP $CPPFLAGS'
39180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39183
39184 cat >conftest.$ac_ext <<_ACEOF
39185 /* confdefs.h. */
39186 _ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 #include <pthread.h>
39191 void ThreadCleanupFunc(void *p);
39192
39193 int
39194 main ()
39195 {
39196
39197 void *p;
39198 pthread_cleanup_push(ThreadCleanupFunc, p);
39199 pthread_cleanup_pop(0);
39200
39201 ;
39202 return 0;
39203 }
39204 _ACEOF
39205 rm -f conftest.$ac_objext
39206 if { (ac_try="$ac_compile"
39207 case "(($ac_try" in
39208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39209 *) ac_try_echo=$ac_try;;
39210 esac
39211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39212 (eval "$ac_compile") 2>conftest.er1
39213 ac_status=$?
39214 grep -v '^ *+' conftest.er1 >conftest.err
39215 rm -f conftest.er1
39216 cat conftest.err >&5
39217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39218 (exit $ac_status); } && {
39219 test -z "$ac_cxx_werror_flag" ||
39220 test ! -s conftest.err
39221 } && test -s conftest.$ac_objext; then
39222
39223 wx_cv_func_pthread_cleanup=yes
39224
39225 else
39226 echo "$as_me: failed program was:" >&5
39227 sed 's/^/| /' conftest.$ac_ext >&5
39228
39229
39230 wx_cv_func_pthread_cleanup=no
39231
39232
39233 fi
39234
39235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39236 ac_ext=c
39237 ac_cpp='$CPP $CPPFLAGS'
39238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39241
39242
39243 fi
39244 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39245 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39246 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39247 cat >>confdefs.h <<\_ACEOF
39248 #define wxHAVE_PTHREAD_CLEANUP 1
39249 _ACEOF
39250
39251 fi
39252
39253
39254 for ac_header in sched.h
39255 do
39256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39259 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39260 echo $ECHO_N "(cached) $ECHO_C" >&6
39261 else
39262 cat >conftest.$ac_ext <<_ACEOF
39263 /* confdefs.h. */
39264 _ACEOF
39265 cat confdefs.h >>conftest.$ac_ext
39266 cat >>conftest.$ac_ext <<_ACEOF
39267 /* end confdefs.h. */
39268 $ac_includes_default
39269
39270 #include <$ac_header>
39271 _ACEOF
39272 rm -f conftest.$ac_objext
39273 if { (ac_try="$ac_compile"
39274 case "(($ac_try" in
39275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39276 *) ac_try_echo=$ac_try;;
39277 esac
39278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39279 (eval "$ac_compile") 2>conftest.er1
39280 ac_status=$?
39281 grep -v '^ *+' conftest.er1 >conftest.err
39282 rm -f conftest.er1
39283 cat conftest.err >&5
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); } && {
39286 test -z "$ac_c_werror_flag" ||
39287 test ! -s conftest.err
39288 } && test -s conftest.$ac_objext; then
39289 eval "$as_ac_Header=yes"
39290 else
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39293
39294 eval "$as_ac_Header=no"
39295 fi
39296
39297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39298 fi
39299 ac_res=`eval echo '${'$as_ac_Header'}'`
39300 { echo "$as_me:$LINENO: result: $ac_res" >&5
39301 echo "${ECHO_T}$ac_res" >&6; }
39302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39303 cat >>confdefs.h <<_ACEOF
39304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39305 _ACEOF
39306
39307 fi
39308
39309 done
39310
39311 if test "$ac_cv_header_sched_h" = "yes"; then
39312 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39313 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39314 if test "${ac_cv_func_sched_yield+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317 cat >conftest.$ac_ext <<_ACEOF
39318 /* confdefs.h. */
39319 _ACEOF
39320 cat confdefs.h >>conftest.$ac_ext
39321 cat >>conftest.$ac_ext <<_ACEOF
39322 /* end confdefs.h. */
39323 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39325 #define sched_yield innocuous_sched_yield
39326
39327 /* System header to define __stub macros and hopefully few prototypes,
39328 which can conflict with char sched_yield (); below.
39329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39330 <limits.h> exists even on freestanding compilers. */
39331
39332 #ifdef __STDC__
39333 # include <limits.h>
39334 #else
39335 # include <assert.h>
39336 #endif
39337
39338 #undef sched_yield
39339
39340 /* Override any GCC internal prototype to avoid an error.
39341 Use char because int might match the return type of a GCC
39342 builtin and then its argument prototype would still apply. */
39343 #ifdef __cplusplus
39344 extern "C"
39345 #endif
39346 char sched_yield ();
39347 /* The GNU C library defines this for functions which it implements
39348 to always fail with ENOSYS. Some functions are actually named
39349 something starting with __ and the normal name is an alias. */
39350 #if defined __stub_sched_yield || defined __stub___sched_yield
39351 choke me
39352 #endif
39353
39354 int
39355 main ()
39356 {
39357 return sched_yield ();
39358 ;
39359 return 0;
39360 }
39361 _ACEOF
39362 rm -f conftest.$ac_objext conftest$ac_exeext
39363 if { (ac_try="$ac_link"
39364 case "(($ac_try" in
39365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39366 *) ac_try_echo=$ac_try;;
39367 esac
39368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39369 (eval "$ac_link") 2>conftest.er1
39370 ac_status=$?
39371 grep -v '^ *+' conftest.er1 >conftest.err
39372 rm -f conftest.er1
39373 cat conftest.err >&5
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); } && {
39376 test -z "$ac_c_werror_flag" ||
39377 test ! -s conftest.err
39378 } && test -s conftest$ac_exeext &&
39379 $as_test_x conftest$ac_exeext; then
39380 ac_cv_func_sched_yield=yes
39381 else
39382 echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39384
39385 ac_cv_func_sched_yield=no
39386 fi
39387
39388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39389 conftest$ac_exeext conftest.$ac_ext
39390 fi
39391 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39392 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39393 if test $ac_cv_func_sched_yield = yes; then
39394 cat >>confdefs.h <<\_ACEOF
39395 #define HAVE_SCHED_YIELD 1
39396 _ACEOF
39397
39398 else
39399
39400 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39401 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39402 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 else
39405 ac_check_lib_save_LIBS=$LIBS
39406 LIBS="-lposix4 $LIBS"
39407 cat >conftest.$ac_ext <<_ACEOF
39408 /* confdefs.h. */
39409 _ACEOF
39410 cat confdefs.h >>conftest.$ac_ext
39411 cat >>conftest.$ac_ext <<_ACEOF
39412 /* end confdefs.h. */
39413
39414 /* Override any GCC internal prototype to avoid an error.
39415 Use char because int might match the return type of a GCC
39416 builtin and then its argument prototype would still apply. */
39417 #ifdef __cplusplus
39418 extern "C"
39419 #endif
39420 char sched_yield ();
39421 int
39422 main ()
39423 {
39424 return sched_yield ();
39425 ;
39426 return 0;
39427 }
39428 _ACEOF
39429 rm -f conftest.$ac_objext conftest$ac_exeext
39430 if { (ac_try="$ac_link"
39431 case "(($ac_try" in
39432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39433 *) ac_try_echo=$ac_try;;
39434 esac
39435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39436 (eval "$ac_link") 2>conftest.er1
39437 ac_status=$?
39438 grep -v '^ *+' conftest.er1 >conftest.err
39439 rm -f conftest.er1
39440 cat conftest.err >&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); } && {
39443 test -z "$ac_c_werror_flag" ||
39444 test ! -s conftest.err
39445 } && test -s conftest$ac_exeext &&
39446 $as_test_x conftest$ac_exeext; then
39447 ac_cv_lib_posix4_sched_yield=yes
39448 else
39449 echo "$as_me: failed program was:" >&5
39450 sed 's/^/| /' conftest.$ac_ext >&5
39451
39452 ac_cv_lib_posix4_sched_yield=no
39453 fi
39454
39455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39456 conftest$ac_exeext conftest.$ac_ext
39457 LIBS=$ac_check_lib_save_LIBS
39458 fi
39459 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39460 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39461 if test $ac_cv_lib_posix4_sched_yield = yes; then
39462 cat >>confdefs.h <<\_ACEOF
39463 #define HAVE_SCHED_YIELD 1
39464 _ACEOF
39465 POSIX4_LINK=" -lposix4"
39466 else
39467 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39468 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39469
39470 fi
39471
39472
39473
39474 fi
39475
39476 fi
39477
39478 HAVE_PRIOR_FUNCS=0
39479 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39480 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39481 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39482 echo $ECHO_N "(cached) $ECHO_C" >&6
39483 else
39484 cat >conftest.$ac_ext <<_ACEOF
39485 /* confdefs.h. */
39486 _ACEOF
39487 cat confdefs.h >>conftest.$ac_ext
39488 cat >>conftest.$ac_ext <<_ACEOF
39489 /* end confdefs.h. */
39490 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39492 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39493
39494 /* System header to define __stub macros and hopefully few prototypes,
39495 which can conflict with char pthread_attr_getschedpolicy (); below.
39496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39497 <limits.h> exists even on freestanding compilers. */
39498
39499 #ifdef __STDC__
39500 # include <limits.h>
39501 #else
39502 # include <assert.h>
39503 #endif
39504
39505 #undef pthread_attr_getschedpolicy
39506
39507 /* Override any GCC internal prototype to avoid an error.
39508 Use char because int might match the return type of a GCC
39509 builtin and then its argument prototype would still apply. */
39510 #ifdef __cplusplus
39511 extern "C"
39512 #endif
39513 char pthread_attr_getschedpolicy ();
39514 /* The GNU C library defines this for functions which it implements
39515 to always fail with ENOSYS. Some functions are actually named
39516 something starting with __ and the normal name is an alias. */
39517 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39518 choke me
39519 #endif
39520
39521 int
39522 main ()
39523 {
39524 return pthread_attr_getschedpolicy ();
39525 ;
39526 return 0;
39527 }
39528 _ACEOF
39529 rm -f conftest.$ac_objext conftest$ac_exeext
39530 if { (ac_try="$ac_link"
39531 case "(($ac_try" in
39532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39533 *) ac_try_echo=$ac_try;;
39534 esac
39535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39536 (eval "$ac_link") 2>conftest.er1
39537 ac_status=$?
39538 grep -v '^ *+' conftest.er1 >conftest.err
39539 rm -f conftest.er1
39540 cat conftest.err >&5
39541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39542 (exit $ac_status); } && {
39543 test -z "$ac_c_werror_flag" ||
39544 test ! -s conftest.err
39545 } && test -s conftest$ac_exeext &&
39546 $as_test_x conftest$ac_exeext; then
39547 ac_cv_func_pthread_attr_getschedpolicy=yes
39548 else
39549 echo "$as_me: failed program was:" >&5
39550 sed 's/^/| /' conftest.$ac_ext >&5
39551
39552 ac_cv_func_pthread_attr_getschedpolicy=no
39553 fi
39554
39555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39556 conftest$ac_exeext conftest.$ac_ext
39557 fi
39558 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39559 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39560 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39561 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39562 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39563 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39564 echo $ECHO_N "(cached) $ECHO_C" >&6
39565 else
39566 cat >conftest.$ac_ext <<_ACEOF
39567 /* confdefs.h. */
39568 _ACEOF
39569 cat confdefs.h >>conftest.$ac_ext
39570 cat >>conftest.$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39572 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39574 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39575
39576 /* System header to define __stub macros and hopefully few prototypes,
39577 which can conflict with char pthread_attr_setschedparam (); below.
39578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39579 <limits.h> exists even on freestanding compilers. */
39580
39581 #ifdef __STDC__
39582 # include <limits.h>
39583 #else
39584 # include <assert.h>
39585 #endif
39586
39587 #undef pthread_attr_setschedparam
39588
39589 /* Override any GCC internal prototype to avoid an error.
39590 Use char because int might match the return type of a GCC
39591 builtin and then its argument prototype would still apply. */
39592 #ifdef __cplusplus
39593 extern "C"
39594 #endif
39595 char pthread_attr_setschedparam ();
39596 /* The GNU C library defines this for functions which it implements
39597 to always fail with ENOSYS. Some functions are actually named
39598 something starting with __ and the normal name is an alias. */
39599 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39600 choke me
39601 #endif
39602
39603 int
39604 main ()
39605 {
39606 return pthread_attr_setschedparam ();
39607 ;
39608 return 0;
39609 }
39610 _ACEOF
39611 rm -f conftest.$ac_objext conftest$ac_exeext
39612 if { (ac_try="$ac_link"
39613 case "(($ac_try" in
39614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39615 *) ac_try_echo=$ac_try;;
39616 esac
39617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39618 (eval "$ac_link") 2>conftest.er1
39619 ac_status=$?
39620 grep -v '^ *+' conftest.er1 >conftest.err
39621 rm -f conftest.er1
39622 cat conftest.err >&5
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); } && {
39625 test -z "$ac_c_werror_flag" ||
39626 test ! -s conftest.err
39627 } && test -s conftest$ac_exeext &&
39628 $as_test_x conftest$ac_exeext; then
39629 ac_cv_func_pthread_attr_setschedparam=yes
39630 else
39631 echo "$as_me: failed program was:" >&5
39632 sed 's/^/| /' conftest.$ac_ext >&5
39633
39634 ac_cv_func_pthread_attr_setschedparam=no
39635 fi
39636
39637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39638 conftest$ac_exeext conftest.$ac_ext
39639 fi
39640 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39641 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39642 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39643 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39644 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39645 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39646 echo $ECHO_N "(cached) $ECHO_C" >&6
39647 else
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39656 #define sched_get_priority_max innocuous_sched_get_priority_max
39657
39658 /* System header to define __stub macros and hopefully few prototypes,
39659 which can conflict with char sched_get_priority_max (); below.
39660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39661 <limits.h> exists even on freestanding compilers. */
39662
39663 #ifdef __STDC__
39664 # include <limits.h>
39665 #else
39666 # include <assert.h>
39667 #endif
39668
39669 #undef sched_get_priority_max
39670
39671 /* Override any GCC internal prototype to avoid an error.
39672 Use char because int might match the return type of a GCC
39673 builtin and then its argument prototype would still apply. */
39674 #ifdef __cplusplus
39675 extern "C"
39676 #endif
39677 char sched_get_priority_max ();
39678 /* The GNU C library defines this for functions which it implements
39679 to always fail with ENOSYS. Some functions are actually named
39680 something starting with __ and the normal name is an alias. */
39681 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39682 choke me
39683 #endif
39684
39685 int
39686 main ()
39687 {
39688 return sched_get_priority_max ();
39689 ;
39690 return 0;
39691 }
39692 _ACEOF
39693 rm -f conftest.$ac_objext conftest$ac_exeext
39694 if { (ac_try="$ac_link"
39695 case "(($ac_try" in
39696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39697 *) ac_try_echo=$ac_try;;
39698 esac
39699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39700 (eval "$ac_link") 2>conftest.er1
39701 ac_status=$?
39702 grep -v '^ *+' conftest.er1 >conftest.err
39703 rm -f conftest.er1
39704 cat conftest.err >&5
39705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706 (exit $ac_status); } && {
39707 test -z "$ac_c_werror_flag" ||
39708 test ! -s conftest.err
39709 } && test -s conftest$ac_exeext &&
39710 $as_test_x conftest$ac_exeext; then
39711 ac_cv_func_sched_get_priority_max=yes
39712 else
39713 echo "$as_me: failed program was:" >&5
39714 sed 's/^/| /' conftest.$ac_ext >&5
39715
39716 ac_cv_func_sched_get_priority_max=no
39717 fi
39718
39719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39720 conftest$ac_exeext conftest.$ac_ext
39721 fi
39722 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39723 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39724 if test $ac_cv_func_sched_get_priority_max = yes; then
39725 HAVE_PRIOR_FUNCS=1
39726 else
39727 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39728 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39729 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39730 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 else
39732 ac_check_lib_save_LIBS=$LIBS
39733 LIBS="-lposix4 $LIBS"
39734 cat >conftest.$ac_ext <<_ACEOF
39735 /* confdefs.h. */
39736 _ACEOF
39737 cat confdefs.h >>conftest.$ac_ext
39738 cat >>conftest.$ac_ext <<_ACEOF
39739 /* end confdefs.h. */
39740
39741 /* Override any GCC internal prototype to avoid an error.
39742 Use char because int might match the return type of a GCC
39743 builtin and then its argument prototype would still apply. */
39744 #ifdef __cplusplus
39745 extern "C"
39746 #endif
39747 char sched_get_priority_max ();
39748 int
39749 main ()
39750 {
39751 return sched_get_priority_max ();
39752 ;
39753 return 0;
39754 }
39755 _ACEOF
39756 rm -f conftest.$ac_objext conftest$ac_exeext
39757 if { (ac_try="$ac_link"
39758 case "(($ac_try" in
39759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39760 *) ac_try_echo=$ac_try;;
39761 esac
39762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39763 (eval "$ac_link") 2>conftest.er1
39764 ac_status=$?
39765 grep -v '^ *+' conftest.er1 >conftest.err
39766 rm -f conftest.er1
39767 cat conftest.err >&5
39768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39769 (exit $ac_status); } && {
39770 test -z "$ac_c_werror_flag" ||
39771 test ! -s conftest.err
39772 } && test -s conftest$ac_exeext &&
39773 $as_test_x conftest$ac_exeext; then
39774 ac_cv_lib_posix4_sched_get_priority_max=yes
39775 else
39776 echo "$as_me: failed program was:" >&5
39777 sed 's/^/| /' conftest.$ac_ext >&5
39778
39779 ac_cv_lib_posix4_sched_get_priority_max=no
39780 fi
39781
39782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39783 conftest$ac_exeext conftest.$ac_ext
39784 LIBS=$ac_check_lib_save_LIBS
39785 fi
39786 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39787 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39788 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39789
39790 HAVE_PRIOR_FUNCS=1
39791 POSIX4_LINK=" -lposix4"
39792
39793 fi
39794
39795
39796 fi
39797
39798
39799 fi
39800
39801
39802 fi
39803
39804
39805 if test "$HAVE_PRIOR_FUNCS" = 1; then
39806 cat >>confdefs.h <<\_ACEOF
39807 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39808 _ACEOF
39809
39810 else
39811 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39812 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39813 fi
39814
39815 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39816 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39817 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39818 echo $ECHO_N "(cached) $ECHO_C" >&6
39819 else
39820 cat >conftest.$ac_ext <<_ACEOF
39821 /* confdefs.h. */
39822 _ACEOF
39823 cat confdefs.h >>conftest.$ac_ext
39824 cat >>conftest.$ac_ext <<_ACEOF
39825 /* end confdefs.h. */
39826 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39828 #define pthread_cancel innocuous_pthread_cancel
39829
39830 /* System header to define __stub macros and hopefully few prototypes,
39831 which can conflict with char pthread_cancel (); below.
39832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39833 <limits.h> exists even on freestanding compilers. */
39834
39835 #ifdef __STDC__
39836 # include <limits.h>
39837 #else
39838 # include <assert.h>
39839 #endif
39840
39841 #undef pthread_cancel
39842
39843 /* Override any GCC internal prototype to avoid an error.
39844 Use char because int might match the return type of a GCC
39845 builtin and then its argument prototype would still apply. */
39846 #ifdef __cplusplus
39847 extern "C"
39848 #endif
39849 char pthread_cancel ();
39850 /* The GNU C library defines this for functions which it implements
39851 to always fail with ENOSYS. Some functions are actually named
39852 something starting with __ and the normal name is an alias. */
39853 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39854 choke me
39855 #endif
39856
39857 int
39858 main ()
39859 {
39860 return pthread_cancel ();
39861 ;
39862 return 0;
39863 }
39864 _ACEOF
39865 rm -f conftest.$ac_objext conftest$ac_exeext
39866 if { (ac_try="$ac_link"
39867 case "(($ac_try" in
39868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39869 *) ac_try_echo=$ac_try;;
39870 esac
39871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39872 (eval "$ac_link") 2>conftest.er1
39873 ac_status=$?
39874 grep -v '^ *+' conftest.er1 >conftest.err
39875 rm -f conftest.er1
39876 cat conftest.err >&5
39877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39878 (exit $ac_status); } && {
39879 test -z "$ac_c_werror_flag" ||
39880 test ! -s conftest.err
39881 } && test -s conftest$ac_exeext &&
39882 $as_test_x conftest$ac_exeext; then
39883 ac_cv_func_pthread_cancel=yes
39884 else
39885 echo "$as_me: failed program was:" >&5
39886 sed 's/^/| /' conftest.$ac_ext >&5
39887
39888 ac_cv_func_pthread_cancel=no
39889 fi
39890
39891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39892 conftest$ac_exeext conftest.$ac_ext
39893 fi
39894 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39895 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39896 if test $ac_cv_func_pthread_cancel = yes; then
39897 cat >>confdefs.h <<\_ACEOF
39898 #define HAVE_PTHREAD_CANCEL 1
39899 _ACEOF
39900
39901 else
39902 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39903 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39904 fi
39905
39906
39907 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39908 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39909 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39910 echo $ECHO_N "(cached) $ECHO_C" >&6
39911 else
39912 cat >conftest.$ac_ext <<_ACEOF
39913 /* confdefs.h. */
39914 _ACEOF
39915 cat confdefs.h >>conftest.$ac_ext
39916 cat >>conftest.$ac_ext <<_ACEOF
39917 /* end confdefs.h. */
39918 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39920 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39921
39922 /* System header to define __stub macros and hopefully few prototypes,
39923 which can conflict with char pthread_mutex_timedlock (); below.
39924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39925 <limits.h> exists even on freestanding compilers. */
39926
39927 #ifdef __STDC__
39928 # include <limits.h>
39929 #else
39930 # include <assert.h>
39931 #endif
39932
39933 #undef pthread_mutex_timedlock
39934
39935 /* Override any GCC internal prototype to avoid an error.
39936 Use char because int might match the return type of a GCC
39937 builtin and then its argument prototype would still apply. */
39938 #ifdef __cplusplus
39939 extern "C"
39940 #endif
39941 char pthread_mutex_timedlock ();
39942 /* The GNU C library defines this for functions which it implements
39943 to always fail with ENOSYS. Some functions are actually named
39944 something starting with __ and the normal name is an alias. */
39945 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39946 choke me
39947 #endif
39948
39949 int
39950 main ()
39951 {
39952 return pthread_mutex_timedlock ();
39953 ;
39954 return 0;
39955 }
39956 _ACEOF
39957 rm -f conftest.$ac_objext conftest$ac_exeext
39958 if { (ac_try="$ac_link"
39959 case "(($ac_try" in
39960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39961 *) ac_try_echo=$ac_try;;
39962 esac
39963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39964 (eval "$ac_link") 2>conftest.er1
39965 ac_status=$?
39966 grep -v '^ *+' conftest.er1 >conftest.err
39967 rm -f conftest.er1
39968 cat conftest.err >&5
39969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970 (exit $ac_status); } && {
39971 test -z "$ac_c_werror_flag" ||
39972 test ! -s conftest.err
39973 } && test -s conftest$ac_exeext &&
39974 $as_test_x conftest$ac_exeext; then
39975 ac_cv_func_pthread_mutex_timedlock=yes
39976 else
39977 echo "$as_me: failed program was:" >&5
39978 sed 's/^/| /' conftest.$ac_ext >&5
39979
39980 ac_cv_func_pthread_mutex_timedlock=no
39981 fi
39982
39983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39984 conftest$ac_exeext conftest.$ac_ext
39985 fi
39986 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39987 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39988 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39989 cat >>confdefs.h <<\_ACEOF
39990 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39991 _ACEOF
39992
39993 else
39994 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39995 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39996 fi
39997
39998
39999 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40000 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40001 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40003 else
40004 cat >conftest.$ac_ext <<_ACEOF
40005 /* confdefs.h. */
40006 _ACEOF
40007 cat confdefs.h >>conftest.$ac_ext
40008 cat >>conftest.$ac_ext <<_ACEOF
40009 /* end confdefs.h. */
40010 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40012 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40013
40014 /* System header to define __stub macros and hopefully few prototypes,
40015 which can conflict with char pthread_attr_setstacksize (); below.
40016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40017 <limits.h> exists even on freestanding compilers. */
40018
40019 #ifdef __STDC__
40020 # include <limits.h>
40021 #else
40022 # include <assert.h>
40023 #endif
40024
40025 #undef pthread_attr_setstacksize
40026
40027 /* Override any GCC internal prototype to avoid an error.
40028 Use char because int might match the return type of a GCC
40029 builtin and then its argument prototype would still apply. */
40030 #ifdef __cplusplus
40031 extern "C"
40032 #endif
40033 char pthread_attr_setstacksize ();
40034 /* The GNU C library defines this for functions which it implements
40035 to always fail with ENOSYS. Some functions are actually named
40036 something starting with __ and the normal name is an alias. */
40037 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40038 choke me
40039 #endif
40040
40041 int
40042 main ()
40043 {
40044 return pthread_attr_setstacksize ();
40045 ;
40046 return 0;
40047 }
40048 _ACEOF
40049 rm -f conftest.$ac_objext conftest$ac_exeext
40050 if { (ac_try="$ac_link"
40051 case "(($ac_try" in
40052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40053 *) ac_try_echo=$ac_try;;
40054 esac
40055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40056 (eval "$ac_link") 2>conftest.er1
40057 ac_status=$?
40058 grep -v '^ *+' conftest.er1 >conftest.err
40059 rm -f conftest.er1
40060 cat conftest.err >&5
40061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062 (exit $ac_status); } && {
40063 test -z "$ac_c_werror_flag" ||
40064 test ! -s conftest.err
40065 } && test -s conftest$ac_exeext &&
40066 $as_test_x conftest$ac_exeext; then
40067 ac_cv_func_pthread_attr_setstacksize=yes
40068 else
40069 echo "$as_me: failed program was:" >&5
40070 sed 's/^/| /' conftest.$ac_ext >&5
40071
40072 ac_cv_func_pthread_attr_setstacksize=no
40073 fi
40074
40075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40076 conftest$ac_exeext conftest.$ac_ext
40077 fi
40078 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40079 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40080 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40081 cat >>confdefs.h <<\_ACEOF
40082 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40083 _ACEOF
40084
40085 fi
40086
40087
40088
40089 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40090 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40091 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40092 echo $ECHO_N "(cached) $ECHO_C" >&6
40093 else
40094
40095 cat >conftest.$ac_ext <<_ACEOF
40096 /* confdefs.h. */
40097 _ACEOF
40098 cat confdefs.h >>conftest.$ac_ext
40099 cat >>conftest.$ac_ext <<_ACEOF
40100 /* end confdefs.h. */
40101 #include <pthread.h>
40102 int
40103 main ()
40104 {
40105
40106 pthread_mutexattr_t attr;
40107 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40108
40109 ;
40110 return 0;
40111 }
40112 _ACEOF
40113 rm -f conftest.$ac_objext
40114 if { (ac_try="$ac_compile"
40115 case "(($ac_try" in
40116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40117 *) ac_try_echo=$ac_try;;
40118 esac
40119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40120 (eval "$ac_compile") 2>conftest.er1
40121 ac_status=$?
40122 grep -v '^ *+' conftest.er1 >conftest.err
40123 rm -f conftest.er1
40124 cat conftest.err >&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } && {
40127 test -z "$ac_c_werror_flag" ||
40128 test ! -s conftest.err
40129 } && test -s conftest.$ac_objext; then
40130 wx_cv_type_pthread_mutexattr_t=yes
40131 else
40132 echo "$as_me: failed program was:" >&5
40133 sed 's/^/| /' conftest.$ac_ext >&5
40134
40135 wx_cv_type_pthread_mutexattr_t=no
40136
40137 fi
40138
40139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40140
40141 fi
40142 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40143 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40144
40145 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40146 cat >>confdefs.h <<\_ACEOF
40147 #define HAVE_PTHREAD_MUTEXATTR_T 1
40148 _ACEOF
40149
40150
40151 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40152 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40153 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40154 echo $ECHO_N "(cached) $ECHO_C" >&6
40155 else
40156
40157 cat >conftest.$ac_ext <<_ACEOF
40158 /* confdefs.h. */
40159 _ACEOF
40160 cat confdefs.h >>conftest.$ac_ext
40161 cat >>conftest.$ac_ext <<_ACEOF
40162 /* end confdefs.h. */
40163 #include <pthread.h>
40164 int
40165 main ()
40166 {
40167
40168 pthread_mutexattr_t attr;
40169 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40170
40171 ;
40172 return 0;
40173 }
40174 _ACEOF
40175 rm -f conftest.$ac_objext
40176 if { (ac_try="$ac_compile"
40177 case "(($ac_try" in
40178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40179 *) ac_try_echo=$ac_try;;
40180 esac
40181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40182 (eval "$ac_compile") 2>conftest.er1
40183 ac_status=$?
40184 grep -v '^ *+' conftest.er1 >conftest.err
40185 rm -f conftest.er1
40186 cat conftest.err >&5
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); } && {
40189 test -z "$ac_c_werror_flag" ||
40190 test ! -s conftest.err
40191 } && test -s conftest.$ac_objext; then
40192 wx_cv_func_pthread_mutexattr_settype_decl=yes
40193 else
40194 echo "$as_me: failed program was:" >&5
40195 sed 's/^/| /' conftest.$ac_ext >&5
40196
40197 wx_cv_func_pthread_mutexattr_settype_decl=no
40198
40199 fi
40200
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202
40203 fi
40204 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40205 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40206 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40207 cat >>confdefs.h <<\_ACEOF
40208 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40209 _ACEOF
40210
40211 fi
40212 else
40213 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40214 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40215 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40216 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 else
40218
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225 #include <pthread.h>
40226 int
40227 main ()
40228 {
40229
40230 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40231
40232 ;
40233 return 0;
40234 }
40235 _ACEOF
40236 rm -f conftest.$ac_objext
40237 if { (ac_try="$ac_compile"
40238 case "(($ac_try" in
40239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40240 *) ac_try_echo=$ac_try;;
40241 esac
40242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40243 (eval "$ac_compile") 2>conftest.er1
40244 ac_status=$?
40245 grep -v '^ *+' conftest.er1 >conftest.err
40246 rm -f conftest.er1
40247 cat conftest.err >&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); } && {
40250 test -z "$ac_c_werror_flag" ||
40251 test ! -s conftest.err
40252 } && test -s conftest.$ac_objext; then
40253
40254 wx_cv_type_pthread_rec_mutex_init=yes
40255
40256 else
40257 echo "$as_me: failed program was:" >&5
40258 sed 's/^/| /' conftest.$ac_ext >&5
40259
40260
40261 wx_cv_type_pthread_rec_mutex_init=no
40262
40263
40264 fi
40265
40266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40267
40268 fi
40269 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40270 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40271 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40272 cat >>confdefs.h <<\_ACEOF
40273 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40274 _ACEOF
40275
40276 else
40277 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40278 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40279 fi
40280 fi
40281
40282 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40283 if test "$USE_NETBSD" = 1; then
40284 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40285 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40286 wxUSE_COMPILER_TLS=no
40287 else
40288 wxUSE_COMPILER_TLS=yes
40289 fi
40290 fi
40291
40292 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40293 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40294 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40295 if test "${wx_cv_cc___thread+set}" = set; then
40296 echo $ECHO_N "(cached) $ECHO_C" >&6
40297 else
40298
40299 cat >conftest.$ac_ext <<_ACEOF
40300 /* confdefs.h. */
40301 _ACEOF
40302 cat confdefs.h >>conftest.$ac_ext
40303 cat >>conftest.$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40305 #include <pthread.h>
40306 int
40307 main ()
40308 {
40309
40310 static __thread int n = 0;
40311 static __thread int *p = 0;
40312
40313 ;
40314 return 0;
40315 }
40316 _ACEOF
40317 rm -f conftest.$ac_objext
40318 if { (ac_try="$ac_compile"
40319 case "(($ac_try" in
40320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40321 *) ac_try_echo=$ac_try;;
40322 esac
40323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40324 (eval "$ac_compile") 2>conftest.er1
40325 ac_status=$?
40326 grep -v '^ *+' conftest.er1 >conftest.err
40327 rm -f conftest.er1
40328 cat conftest.err >&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); } && {
40331 test -z "$ac_c_werror_flag" ||
40332 test ! -s conftest.err
40333 } && test -s conftest.$ac_objext; then
40334 wx_cv_cc___thread=yes
40335 else
40336 echo "$as_me: failed program was:" >&5
40337 sed 's/^/| /' conftest.$ac_ext >&5
40338
40339 wx_cv_cc___thread=no
40340
40341 fi
40342
40343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40344
40345
40346 fi
40347 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40348 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40349
40350 if test "$wx_cv_cc___thread" = "yes"; then
40351
40352 GXX_VERSION=""
40353
40354
40355
40356 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40357 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40358
40359 if test "x$GCC" = "xyes" ; then
40360
40361 if test -z "" ; then
40362
40363 ax_gcc_option_test="int main()
40364 {
40365 return 0;
40366 }"
40367
40368 else
40369
40370 ax_gcc_option_test=""
40371
40372 fi
40373
40374
40375 # Dump the test program to file
40376 cat <<EOF > conftest.c
40377 $ax_gcc_option_test
40378 EOF
40379
40380 # Dump back the file to the log, useful for debugging purposes
40381 { ac_try='cat conftest.c 1>&5'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40384 ac_status=$?
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; }
40387
40388 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40391 ac_status=$?
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; } ; then
40394
40395 { echo "$as_me:$LINENO: result: yes" >&5
40396 echo "${ECHO_T}yes" >&6; }
40397
40398 ax_gcc_version_option=yes
40399
40400
40401 else
40402
40403 { echo "$as_me:$LINENO: result: no" >&5
40404 echo "${ECHO_T}no" >&6; }
40405
40406 ax_gcc_version_option=no
40407
40408
40409 fi
40410
40411
40412 else
40413
40414 { echo "$as_me:$LINENO: result: no gcc available" >&5
40415 echo "${ECHO_T}no gcc available" >&6; }
40416
40417 fi
40418
40419
40420 if test "x$GXX" = "xyes"; then
40421
40422 if test "x$ax_gxx_version_option" != "no"; then
40423
40424 { echo "$as_me:$LINENO: checking gxx version" >&5
40425 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40426 if test "${ax_cv_gxx_version+set}" = set; then
40427 echo $ECHO_N "(cached) $ECHO_C" >&6
40428 else
40429
40430 ax_cv_gxx_version="`$CXX -dumpversion`"
40431 if test "x$ax_cv_gxx_version" = "x"; then
40432
40433 ax_cv_gxx_version=""
40434
40435 fi
40436
40437
40438 fi
40439 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40440 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40441 GXX_VERSION=$ax_cv_gxx_version
40442
40443 fi
40444
40445
40446 fi
40447
40448
40449
40450 if test -n "$ax_cv_gxx_version"; then
40451 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40452 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40453 case "$ax_cv_gxx_version" in
40454 1.* | 2.* | 3.* )
40455 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40456 echo "${ECHO_T}no, it's broken" >&6; }
40457 wx_cv_cc___thread=no
40458 ;;
40459 *)
40460 { echo "$as_me:$LINENO: result: yes, it works" >&5
40461 echo "${ECHO_T}yes, it works" >&6; }
40462 ;;
40463 esac
40464 fi
40465 fi
40466
40467 if test "$wx_cv_cc___thread" = "yes"; then
40468 cat >>confdefs.h <<\_ACEOF
40469 #define HAVE___THREAD_KEYWORD 1
40470 _ACEOF
40471
40472 fi
40473 fi
40474 fi
40475
40476 else
40477 if test "$wxUSE_THREADS" = "yes" ; then
40478 case "${host}" in
40479 x86_64-*-mingw32* )
40480 ;;
40481 *-*-mingw32* )
40482 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40483 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40484 if test "${wx_cv_cflags_mthread+set}" = set; then
40485 echo $ECHO_N "(cached) $ECHO_C" >&6
40486 else
40487
40488 CFLAGS_OLD="$CFLAGS"
40489 CFLAGS="-mthreads $CFLAGS"
40490 cat >conftest.$ac_ext <<_ACEOF
40491 /* confdefs.h. */
40492 _ACEOF
40493 cat confdefs.h >>conftest.$ac_ext
40494 cat >>conftest.$ac_ext <<_ACEOF
40495 /* end confdefs.h. */
40496
40497 int
40498 main ()
40499 {
40500
40501 ;
40502 return 0;
40503 }
40504 _ACEOF
40505 rm -f conftest.$ac_objext
40506 if { (ac_try="$ac_compile"
40507 case "(($ac_try" in
40508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40509 *) ac_try_echo=$ac_try;;
40510 esac
40511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40512 (eval "$ac_compile") 2>conftest.er1
40513 ac_status=$?
40514 grep -v '^ *+' conftest.er1 >conftest.err
40515 rm -f conftest.er1
40516 cat conftest.err >&5
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); } && {
40519 test -z "$ac_c_werror_flag" ||
40520 test ! -s conftest.err
40521 } && test -s conftest.$ac_objext; then
40522 wx_cv_cflags_mthread=yes
40523 else
40524 echo "$as_me: failed program was:" >&5
40525 sed 's/^/| /' conftest.$ac_ext >&5
40526
40527 wx_cv_cflags_mthread=no
40528
40529 fi
40530
40531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40532
40533
40534 fi
40535 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40536 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40537
40538 if test "$wx_cv_cflags_mthread" = "yes"; then
40539 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40540 LDFLAGS="$LDFLAGS -mthreads"
40541 else
40542 CFLAGS="$CFLAGS_OLD"
40543 fi
40544 ;;
40545 *-pc-os2*emx )
40546 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40547 LDFLAGS="$LDFLAGS -Zmt"
40548 ;;
40549 esac
40550 fi
40551 fi
40552
40553 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40554 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40555 if test "${ac_cv_func_localtime_r+set}" = set; then
40556 echo $ECHO_N "(cached) $ECHO_C" >&6
40557 else
40558 cat >conftest.$ac_ext <<_ACEOF
40559 /* confdefs.h. */
40560 _ACEOF
40561 cat confdefs.h >>conftest.$ac_ext
40562 cat >>conftest.$ac_ext <<_ACEOF
40563 /* end confdefs.h. */
40564 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40566 #define localtime_r innocuous_localtime_r
40567
40568 /* System header to define __stub macros and hopefully few prototypes,
40569 which can conflict with char localtime_r (); below.
40570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40571 <limits.h> exists even on freestanding compilers. */
40572
40573 #ifdef __STDC__
40574 # include <limits.h>
40575 #else
40576 # include <assert.h>
40577 #endif
40578
40579 #undef localtime_r
40580
40581 /* Override any GCC internal prototype to avoid an error.
40582 Use char because int might match the return type of a GCC
40583 builtin and then its argument prototype would still apply. */
40584 #ifdef __cplusplus
40585 extern "C"
40586 #endif
40587 char localtime_r ();
40588 /* The GNU C library defines this for functions which it implements
40589 to always fail with ENOSYS. Some functions are actually named
40590 something starting with __ and the normal name is an alias. */
40591 #if defined __stub_localtime_r || defined __stub___localtime_r
40592 choke me
40593 #endif
40594
40595 int
40596 main ()
40597 {
40598 return localtime_r ();
40599 ;
40600 return 0;
40601 }
40602 _ACEOF
40603 rm -f conftest.$ac_objext conftest$ac_exeext
40604 if { (ac_try="$ac_link"
40605 case "(($ac_try" in
40606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40607 *) ac_try_echo=$ac_try;;
40608 esac
40609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40610 (eval "$ac_link") 2>conftest.er1
40611 ac_status=$?
40612 grep -v '^ *+' conftest.er1 >conftest.err
40613 rm -f conftest.er1
40614 cat conftest.err >&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); } && {
40617 test -z "$ac_c_werror_flag" ||
40618 test ! -s conftest.err
40619 } && test -s conftest$ac_exeext &&
40620 $as_test_x conftest$ac_exeext; then
40621 ac_cv_func_localtime_r=yes
40622 else
40623 echo "$as_me: failed program was:" >&5
40624 sed 's/^/| /' conftest.$ac_ext >&5
40625
40626 ac_cv_func_localtime_r=no
40627 fi
40628
40629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40630 conftest$ac_exeext conftest.$ac_ext
40631 fi
40632 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40633 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40634 if test $ac_cv_func_localtime_r = yes; then
40635 cat >>confdefs.h <<\_ACEOF
40636 #define HAVE_LOCALTIME_R 1
40637 _ACEOF
40638
40639 fi
40640
40641 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40642 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40643 if test "${ac_cv_func_gmtime_r+set}" = set; then
40644 echo $ECHO_N "(cached) $ECHO_C" >&6
40645 else
40646 cat >conftest.$ac_ext <<_ACEOF
40647 /* confdefs.h. */
40648 _ACEOF
40649 cat confdefs.h >>conftest.$ac_ext
40650 cat >>conftest.$ac_ext <<_ACEOF
40651 /* end confdefs.h. */
40652 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40654 #define gmtime_r innocuous_gmtime_r
40655
40656 /* System header to define __stub macros and hopefully few prototypes,
40657 which can conflict with char gmtime_r (); below.
40658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40659 <limits.h> exists even on freestanding compilers. */
40660
40661 #ifdef __STDC__
40662 # include <limits.h>
40663 #else
40664 # include <assert.h>
40665 #endif
40666
40667 #undef gmtime_r
40668
40669 /* Override any GCC internal prototype to avoid an error.
40670 Use char because int might match the return type of a GCC
40671 builtin and then its argument prototype would still apply. */
40672 #ifdef __cplusplus
40673 extern "C"
40674 #endif
40675 char gmtime_r ();
40676 /* The GNU C library defines this for functions which it implements
40677 to always fail with ENOSYS. Some functions are actually named
40678 something starting with __ and the normal name is an alias. */
40679 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40680 choke me
40681 #endif
40682
40683 int
40684 main ()
40685 {
40686 return gmtime_r ();
40687 ;
40688 return 0;
40689 }
40690 _ACEOF
40691 rm -f conftest.$ac_objext conftest$ac_exeext
40692 if { (ac_try="$ac_link"
40693 case "(($ac_try" in
40694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40695 *) ac_try_echo=$ac_try;;
40696 esac
40697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40698 (eval "$ac_link") 2>conftest.er1
40699 ac_status=$?
40700 grep -v '^ *+' conftest.er1 >conftest.err
40701 rm -f conftest.er1
40702 cat conftest.err >&5
40703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704 (exit $ac_status); } && {
40705 test -z "$ac_c_werror_flag" ||
40706 test ! -s conftest.err
40707 } && test -s conftest$ac_exeext &&
40708 $as_test_x conftest$ac_exeext; then
40709 ac_cv_func_gmtime_r=yes
40710 else
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.$ac_ext >&5
40713
40714 ac_cv_func_gmtime_r=no
40715 fi
40716
40717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40718 conftest$ac_exeext conftest.$ac_ext
40719 fi
40720 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40721 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40722 if test $ac_cv_func_gmtime_r = yes; then
40723 cat >>confdefs.h <<\_ACEOF
40724 #define HAVE_GMTIME_R 1
40725 _ACEOF
40726
40727 fi
40728
40729
40730
40731
40732 ac_ext=c
40733 ac_cpp='$CPP $CPPFLAGS'
40734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40737
40738 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40739 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40740
40741 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40743 else
40744
40745
40746 ################################################################
40747
40748 ac_cv_func_which_gethostbyname_r=unknown
40749
40750 #
40751 # ONE ARGUMENT (sanity check)
40752 #
40753
40754 # This should fail, as there is no variant of gethostbyname_r() that takes
40755 # a single argument. If it actually compiles, then we can assume that
40756 # netdb.h is not declaring the function, and the compiler is thereby
40757 # assuming an implicit prototype. In which case, we're out of luck.
40758 #
40759 cat >conftest.$ac_ext <<_ACEOF
40760 /* confdefs.h. */
40761 _ACEOF
40762 cat confdefs.h >>conftest.$ac_ext
40763 cat >>conftest.$ac_ext <<_ACEOF
40764 /* end confdefs.h. */
40765 #include <netdb.h>
40766 int
40767 main ()
40768 {
40769
40770 char *name = "www.gnu.org";
40771 (void)gethostbyname_r(name) /* ; */
40772
40773 ;
40774 return 0;
40775 }
40776 _ACEOF
40777 rm -f conftest.$ac_objext
40778 if { (ac_try="$ac_compile"
40779 case "(($ac_try" in
40780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40781 *) ac_try_echo=$ac_try;;
40782 esac
40783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40784 (eval "$ac_compile") 2>conftest.er1
40785 ac_status=$?
40786 grep -v '^ *+' conftest.er1 >conftest.err
40787 rm -f conftest.er1
40788 cat conftest.err >&5
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); } && {
40791 test -z "$ac_c_werror_flag" ||
40792 test ! -s conftest.err
40793 } && test -s conftest.$ac_objext; then
40794 ac_cv_func_which_gethostbyname_r=no
40795 else
40796 echo "$as_me: failed program was:" >&5
40797 sed 's/^/| /' conftest.$ac_ext >&5
40798
40799
40800 fi
40801
40802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40803
40804 #
40805 # SIX ARGUMENTS
40806 # (e.g. Linux)
40807 #
40808
40809 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40810
40811 cat >conftest.$ac_ext <<_ACEOF
40812 /* confdefs.h. */
40813 _ACEOF
40814 cat confdefs.h >>conftest.$ac_ext
40815 cat >>conftest.$ac_ext <<_ACEOF
40816 /* end confdefs.h. */
40817 #include <netdb.h>
40818 int
40819 main ()
40820 {
40821
40822 char *name = "www.gnu.org";
40823 struct hostent ret, *retp;
40824 char buf[1024];
40825 int buflen = 1024;
40826 int my_h_errno;
40827 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40828
40829 ;
40830 return 0;
40831 }
40832 _ACEOF
40833 rm -f conftest.$ac_objext
40834 if { (ac_try="$ac_compile"
40835 case "(($ac_try" in
40836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40837 *) ac_try_echo=$ac_try;;
40838 esac
40839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40840 (eval "$ac_compile") 2>conftest.er1
40841 ac_status=$?
40842 grep -v '^ *+' conftest.er1 >conftest.err
40843 rm -f conftest.er1
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } && {
40847 test -z "$ac_c_werror_flag" ||
40848 test ! -s conftest.err
40849 } && test -s conftest.$ac_objext; then
40850 ac_cv_func_which_gethostbyname_r=six
40851 else
40852 echo "$as_me: failed program was:" >&5
40853 sed 's/^/| /' conftest.$ac_ext >&5
40854
40855
40856 fi
40857
40858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40859
40860 fi
40861
40862 #
40863 # FIVE ARGUMENTS
40864 # (e.g. Solaris)
40865 #
40866
40867 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40868
40869 cat >conftest.$ac_ext <<_ACEOF
40870 /* confdefs.h. */
40871 _ACEOF
40872 cat confdefs.h >>conftest.$ac_ext
40873 cat >>conftest.$ac_ext <<_ACEOF
40874 /* end confdefs.h. */
40875 #include <netdb.h>
40876 int
40877 main ()
40878 {
40879
40880 char *name = "www.gnu.org";
40881 struct hostent ret;
40882 char buf[1024];
40883 int buflen = 1024;
40884 int my_h_errno;
40885 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40886
40887 ;
40888 return 0;
40889 }
40890 _ACEOF
40891 rm -f conftest.$ac_objext
40892 if { (ac_try="$ac_compile"
40893 case "(($ac_try" in
40894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40895 *) ac_try_echo=$ac_try;;
40896 esac
40897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40898 (eval "$ac_compile") 2>conftest.er1
40899 ac_status=$?
40900 grep -v '^ *+' conftest.er1 >conftest.err
40901 rm -f conftest.er1
40902 cat conftest.err >&5
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); } && {
40905 test -z "$ac_c_werror_flag" ||
40906 test ! -s conftest.err
40907 } && test -s conftest.$ac_objext; then
40908 ac_cv_func_which_gethostbyname_r=five
40909 else
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40912
40913
40914 fi
40915
40916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40917
40918 fi
40919
40920 #
40921 # THREE ARGUMENTS
40922 # (e.g. AIX, HP-UX, Tru64)
40923 #
40924
40925 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40926
40927 cat >conftest.$ac_ext <<_ACEOF
40928 /* confdefs.h. */
40929 _ACEOF
40930 cat confdefs.h >>conftest.$ac_ext
40931 cat >>conftest.$ac_ext <<_ACEOF
40932 /* end confdefs.h. */
40933 #include <netdb.h>
40934 int
40935 main ()
40936 {
40937
40938 char *name = "www.gnu.org";
40939 struct hostent ret;
40940 struct hostent_data data;
40941 (void)gethostbyname_r(name, &ret, &data) /* ; */
40942
40943 ;
40944 return 0;
40945 }
40946 _ACEOF
40947 rm -f conftest.$ac_objext
40948 if { (ac_try="$ac_compile"
40949 case "(($ac_try" in
40950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40951 *) ac_try_echo=$ac_try;;
40952 esac
40953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40954 (eval "$ac_compile") 2>conftest.er1
40955 ac_status=$?
40956 grep -v '^ *+' conftest.er1 >conftest.err
40957 rm -f conftest.er1
40958 cat conftest.err >&5
40959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40960 (exit $ac_status); } && {
40961 test -z "$ac_c_werror_flag" ||
40962 test ! -s conftest.err
40963 } && test -s conftest.$ac_objext; then
40964 ac_cv_func_which_gethostbyname_r=three
40965 else
40966 echo "$as_me: failed program was:" >&5
40967 sed 's/^/| /' conftest.$ac_ext >&5
40968
40969
40970 fi
40971
40972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40973
40974 fi
40975
40976 ################################################################
40977
40978
40979 fi
40980
40981 case "$ac_cv_func_which_gethostbyname_r" in
40982 three)
40983 { echo "$as_me:$LINENO: result: three" >&5
40984 echo "${ECHO_T}three" >&6; }
40985 cat >>confdefs.h <<\_ACEOF
40986 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40987 _ACEOF
40988
40989 ;;
40990
40991 five)
40992 { echo "$as_me:$LINENO: result: five" >&5
40993 echo "${ECHO_T}five" >&6; }
40994 cat >>confdefs.h <<\_ACEOF
40995 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40996 _ACEOF
40997
40998 ;;
40999
41000 six)
41001 { echo "$as_me:$LINENO: result: six" >&5
41002 echo "${ECHO_T}six" >&6; }
41003 cat >>confdefs.h <<\_ACEOF
41004 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41005 _ACEOF
41006
41007 ;;
41008
41009 no)
41010 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41011 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41012 ;;
41013
41014 unknown)
41015 { echo "$as_me:$LINENO: result: can't tell" >&5
41016 echo "${ECHO_T}can't tell" >&6; }
41017 ;;
41018
41019 *)
41020 { { echo "$as_me:$LINENO: error: internal error" >&5
41021 echo "$as_me: error: internal error" >&2;}
41022 { (exit 1); exit 1; }; }
41023 ;;
41024 esac
41025
41026 ac_ext=c
41027 ac_cpp='$CPP $CPPFLAGS'
41028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41031
41032
41033
41034 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41035 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41036 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41037 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41038 if test "${ac_cv_func_gethostbyname+set}" = set; then
41039 echo $ECHO_N "(cached) $ECHO_C" >&6
41040 else
41041 cat >conftest.$ac_ext <<_ACEOF
41042 /* confdefs.h. */
41043 _ACEOF
41044 cat confdefs.h >>conftest.$ac_ext
41045 cat >>conftest.$ac_ext <<_ACEOF
41046 /* end confdefs.h. */
41047 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41049 #define gethostbyname innocuous_gethostbyname
41050
41051 /* System header to define __stub macros and hopefully few prototypes,
41052 which can conflict with char gethostbyname (); below.
41053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41054 <limits.h> exists even on freestanding compilers. */
41055
41056 #ifdef __STDC__
41057 # include <limits.h>
41058 #else
41059 # include <assert.h>
41060 #endif
41061
41062 #undef gethostbyname
41063
41064 /* Override any GCC internal prototype to avoid an error.
41065 Use char because int might match the return type of a GCC
41066 builtin and then its argument prototype would still apply. */
41067 #ifdef __cplusplus
41068 extern "C"
41069 #endif
41070 char gethostbyname ();
41071 /* The GNU C library defines this for functions which it implements
41072 to always fail with ENOSYS. Some functions are actually named
41073 something starting with __ and the normal name is an alias. */
41074 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41075 choke me
41076 #endif
41077
41078 int
41079 main ()
41080 {
41081 return gethostbyname ();
41082 ;
41083 return 0;
41084 }
41085 _ACEOF
41086 rm -f conftest.$ac_objext conftest$ac_exeext
41087 if { (ac_try="$ac_link"
41088 case "(($ac_try" in
41089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41090 *) ac_try_echo=$ac_try;;
41091 esac
41092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41093 (eval "$ac_link") 2>conftest.er1
41094 ac_status=$?
41095 grep -v '^ *+' conftest.er1 >conftest.err
41096 rm -f conftest.er1
41097 cat conftest.err >&5
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); } && {
41100 test -z "$ac_c_werror_flag" ||
41101 test ! -s conftest.err
41102 } && test -s conftest$ac_exeext &&
41103 $as_test_x conftest$ac_exeext; then
41104 ac_cv_func_gethostbyname=yes
41105 else
41106 echo "$as_me: failed program was:" >&5
41107 sed 's/^/| /' conftest.$ac_ext >&5
41108
41109 ac_cv_func_gethostbyname=no
41110 fi
41111
41112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41113 conftest$ac_exeext conftest.$ac_ext
41114 fi
41115 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41116 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41117 if test $ac_cv_func_gethostbyname = yes; then
41118 cat >>confdefs.h <<\_ACEOF
41119 #define HAVE_GETHOSTBYNAME 1
41120 _ACEOF
41121
41122 fi
41123
41124 fi
41125
41126 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41127 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41128 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41129 echo $ECHO_N "(cached) $ECHO_C" >&6
41130 else
41131
41132 ac_ext=cpp
41133 ac_cpp='$CXXCPP $CPPFLAGS'
41134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41137
41138
41139 cat >conftest.$ac_ext <<_ACEOF
41140 /* confdefs.h. */
41141 _ACEOF
41142 cat confdefs.h >>conftest.$ac_ext
41143 cat >>conftest.$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145 #include <netdb.h>
41146 int
41147 main ()
41148 {
41149
41150 char *name;
41151 char *proto;
41152 struct servent *se, *res;
41153 char buffer[2048];
41154 int buflen = 2048;
41155 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41156
41157 ;
41158 return 0;
41159 }
41160 _ACEOF
41161 rm -f conftest.$ac_objext
41162 if { (ac_try="$ac_compile"
41163 case "(($ac_try" in
41164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41165 *) ac_try_echo=$ac_try;;
41166 esac
41167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41168 (eval "$ac_compile") 2>conftest.er1
41169 ac_status=$?
41170 grep -v '^ *+' conftest.er1 >conftest.err
41171 rm -f conftest.er1
41172 cat conftest.err >&5
41173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41174 (exit $ac_status); } && {
41175 test -z "$ac_cxx_werror_flag" ||
41176 test ! -s conftest.err
41177 } && test -s conftest.$ac_objext; then
41178 ac_cv_func_which_getservbyname_r=six
41179 else
41180 echo "$as_me: failed program was:" >&5
41181 sed 's/^/| /' conftest.$ac_ext >&5
41182
41183
41184 cat >conftest.$ac_ext <<_ACEOF
41185 /* confdefs.h. */
41186 _ACEOF
41187 cat confdefs.h >>conftest.$ac_ext
41188 cat >>conftest.$ac_ext <<_ACEOF
41189 /* end confdefs.h. */
41190 #include <netdb.h>
41191 int
41192 main ()
41193 {
41194
41195 char *name;
41196 char *proto;
41197 struct servent *se;
41198 char buffer[2048];
41199 int buflen = 2048;
41200 (void) getservbyname_r(name, proto, se, buffer, buflen)
41201
41202 ;
41203 return 0;
41204 }
41205 _ACEOF
41206 rm -f conftest.$ac_objext
41207 if { (ac_try="$ac_compile"
41208 case "(($ac_try" in
41209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41210 *) ac_try_echo=$ac_try;;
41211 esac
41212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41213 (eval "$ac_compile") 2>conftest.er1
41214 ac_status=$?
41215 grep -v '^ *+' conftest.er1 >conftest.err
41216 rm -f conftest.er1
41217 cat conftest.err >&5
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); } && {
41220 test -z "$ac_cxx_werror_flag" ||
41221 test ! -s conftest.err
41222 } && test -s conftest.$ac_objext; then
41223 ac_cv_func_which_getservbyname_r=five
41224 else
41225 echo "$as_me: failed program was:" >&5
41226 sed 's/^/| /' conftest.$ac_ext >&5
41227
41228
41229 cat >conftest.$ac_ext <<_ACEOF
41230 /* confdefs.h. */
41231 _ACEOF
41232 cat confdefs.h >>conftest.$ac_ext
41233 cat >>conftest.$ac_ext <<_ACEOF
41234 /* end confdefs.h. */
41235 #include <netdb.h>
41236 int
41237 main ()
41238 {
41239
41240 char *name;
41241 char *proto;
41242 struct servent *se;
41243 struct servent_data data;
41244 (void) getservbyname_r(name, proto, se, &data);
41245
41246 ;
41247 return 0;
41248 }
41249 _ACEOF
41250 rm -f conftest.$ac_objext
41251 if { (ac_try="$ac_compile"
41252 case "(($ac_try" in
41253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41254 *) ac_try_echo=$ac_try;;
41255 esac
41256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41257 (eval "$ac_compile") 2>conftest.er1
41258 ac_status=$?
41259 grep -v '^ *+' conftest.er1 >conftest.err
41260 rm -f conftest.er1
41261 cat conftest.err >&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } && {
41264 test -z "$ac_cxx_werror_flag" ||
41265 test ! -s conftest.err
41266 } && test -s conftest.$ac_objext; then
41267 ac_cv_func_which_getservbyname_r=four
41268 else
41269 echo "$as_me: failed program was:" >&5
41270 sed 's/^/| /' conftest.$ac_ext >&5
41271
41272 ac_cv_func_which_getservbyname_r=no
41273
41274 fi
41275
41276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41277
41278
41279 fi
41280
41281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41282
41283
41284 fi
41285
41286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41287 ac_ext=c
41288 ac_cpp='$CPP $CPPFLAGS'
41289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41292
41293
41294
41295 fi
41296 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41297 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41298
41299 if test $ac_cv_func_which_getservbyname_r = six; then
41300 cat >>confdefs.h <<\_ACEOF
41301 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41302 _ACEOF
41303
41304 elif test $ac_cv_func_which_getservbyname_r = five; then
41305 cat >>confdefs.h <<\_ACEOF
41306 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41307 _ACEOF
41308
41309 elif test $ac_cv_func_which_getservbyname_r = four; then
41310 cat >>confdefs.h <<\_ACEOF
41311 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41312 _ACEOF
41313
41314 fi
41315
41316
41317 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41318 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41319
41320 for ac_func in getservbyname
41321 do
41322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41326 echo $ECHO_N "(cached) $ECHO_C" >&6
41327 else
41328 cat >conftest.$ac_ext <<_ACEOF
41329 /* confdefs.h. */
41330 _ACEOF
41331 cat confdefs.h >>conftest.$ac_ext
41332 cat >>conftest.$ac_ext <<_ACEOF
41333 /* end confdefs.h. */
41334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41336 #define $ac_func innocuous_$ac_func
41337
41338 /* System header to define __stub macros and hopefully few prototypes,
41339 which can conflict with char $ac_func (); below.
41340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41341 <limits.h> exists even on freestanding compilers. */
41342
41343 #ifdef __STDC__
41344 # include <limits.h>
41345 #else
41346 # include <assert.h>
41347 #endif
41348
41349 #undef $ac_func
41350
41351 /* Override any GCC internal prototype to avoid an error.
41352 Use char because int might match the return type of a GCC
41353 builtin and then its argument prototype would still apply. */
41354 #ifdef __cplusplus
41355 extern "C"
41356 #endif
41357 char $ac_func ();
41358 /* The GNU C library defines this for functions which it implements
41359 to always fail with ENOSYS. Some functions are actually named
41360 something starting with __ and the normal name is an alias. */
41361 #if defined __stub_$ac_func || defined __stub___$ac_func
41362 choke me
41363 #endif
41364
41365 int
41366 main ()
41367 {
41368 return $ac_func ();
41369 ;
41370 return 0;
41371 }
41372 _ACEOF
41373 rm -f conftest.$ac_objext conftest$ac_exeext
41374 if { (ac_try="$ac_link"
41375 case "(($ac_try" in
41376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41377 *) ac_try_echo=$ac_try;;
41378 esac
41379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41380 (eval "$ac_link") 2>conftest.er1
41381 ac_status=$?
41382 grep -v '^ *+' conftest.er1 >conftest.err
41383 rm -f conftest.er1
41384 cat conftest.err >&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); } && {
41387 test -z "$ac_c_werror_flag" ||
41388 test ! -s conftest.err
41389 } && test -s conftest$ac_exeext &&
41390 $as_test_x conftest$ac_exeext; then
41391 eval "$as_ac_var=yes"
41392 else
41393 echo "$as_me: failed program was:" >&5
41394 sed 's/^/| /' conftest.$ac_ext >&5
41395
41396 eval "$as_ac_var=no"
41397 fi
41398
41399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41400 conftest$ac_exeext conftest.$ac_ext
41401 fi
41402 ac_res=`eval echo '${'$as_ac_var'}'`
41403 { echo "$as_me:$LINENO: result: $ac_res" >&5
41404 echo "${ECHO_T}$ac_res" >&6; }
41405 if test `eval echo '${'$as_ac_var'}'` = yes; then
41406 cat >>confdefs.h <<_ACEOF
41407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41408 _ACEOF
41409 cat >>confdefs.h <<\_ACEOF
41410 #define HAVE_GETSERVBYNAME 1
41411 _ACEOF
41412
41413 fi
41414 done
41415
41416 fi
41417
41418 if test "$wxUSE_THREADS" = "yes"; then
41419 cat >>confdefs.h <<\_ACEOF
41420 #define wxUSE_THREADS 1
41421 _ACEOF
41422
41423
41424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41425 else
41426 if test "$wx_cv_func_strtok_r" = "yes"; then
41427 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41428 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41429 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41430 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41431 { echo "$as_me:$LINENO: result: yes" >&5
41432 echo "${ECHO_T}yes" >&6; }
41433 else
41434 { echo "$as_me:$LINENO: result: no" >&5
41435 echo "${ECHO_T}no" >&6; }
41436 fi
41437 fi
41438 fi
41439
41440 if test "$WXGTK2" = 1 ; then
41441 cat >>confdefs.h <<_ACEOF
41442 #define __WXGTK20__ $WXGTK2
41443 _ACEOF
41444
41445 WXGTK12=1
41446 fi
41447
41448 if test "$WXGTK12" = 1 ; then
41449 cat >>confdefs.h <<_ACEOF
41450 #define __WXGTK12__ $WXGTK12
41451 _ACEOF
41452
41453 fi
41454
41455 if test "$WXGTK127" = 1 ; then
41456 cat >>confdefs.h <<_ACEOF
41457 #define __WXGTK127__ $WXGTK127
41458 _ACEOF
41459
41460 fi
41461
41462 if test "$WXGPE" = 1 ; then
41463 cat >>confdefs.h <<_ACEOF
41464 #define __WXGPE__ $WXGPE
41465 _ACEOF
41466
41467 fi
41468
41469 DEBUG_CFLAGS=
41470 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41471 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41472 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41473 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41474 DEBUG_CFLAGS="-g"
41475 fi
41476
41477 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41478 wxUSE_DEBUG_INFO=yes
41479 if test "$GCC" = yes; then
41480 DEBUG_CFLAGS="-ggdb"
41481 fi
41482 fi
41483
41484 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41485 cat >>confdefs.h <<\_ACEOF
41486 #define WXDEBUG 1
41487 _ACEOF
41488
41489 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41490 else
41491 if test "$wxUSE_GTK" = 1 ; then
41492 if test "x$wxGTK_VERSION" = "x1" ; then
41493 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41494 fi
41495 fi
41496 fi
41497
41498 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41499 cat >>confdefs.h <<\_ACEOF
41500 #define wxUSE_MEMORY_TRACING 1
41501 _ACEOF
41502
41503 cat >>confdefs.h <<\_ACEOF
41504 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41505 _ACEOF
41506
41507 cat >>confdefs.h <<\_ACEOF
41508 #define wxUSE_DEBUG_NEW_ALWAYS 1
41509 _ACEOF
41510
41511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41512 fi
41513
41514 if test "$wxUSE_DMALLOC" = "yes" ; then
41515 DMALLOC_LIBS="-ldmallocthcxx"
41516 fi
41517
41518 PROFILE_FLAGS=
41519 if test "$wxUSE_PROFILE" = "yes" ; then
41520 PROFILE_FLAGS=" -pg"
41521 fi
41522
41523 if test "$GCC" = "yes" ; then
41524 if test "$wxUSE_NO_RTTI" = "yes" ; then
41525 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41526 fi
41527 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41528 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41529 fi
41530 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41531 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41532 fi
41533
41534 case "${host}" in
41535 powerpc*-*-aix* )
41536 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41537 ;;
41538 *-hppa* )
41539 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41540 ;;
41541 esac
41542 fi
41543
41544 OPTIMISE_CFLAGS=
41545 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41546 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41547 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41548 else
41549 if test "$wxUSE_OPTIMISE" = "no" ; then
41550 if test "$GCC" = yes ; then
41551 OPTIMISE_CFLAGS="-O0"
41552 fi
41553 else
41554 if test "$GCC" = yes ; then
41555 case "${host}" in
41556 *-pc-os2_emx | *-pc-os2-emx )
41557 OPTIMISE_CFLAGS="-O2"
41558 ;;
41559 *)
41560 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41561 ;;
41562 esac
41563 else
41564 OPTIMISE_CFLAGS="-O"
41565 fi
41566 fi
41567 fi
41568
41569
41570 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41571 cat >>confdefs.h <<\_ACEOF
41572 #define WXWIN_COMPATIBILITY_2_6 1
41573 _ACEOF
41574
41575
41576 WXWIN_COMPATIBILITY_2_8="yes"
41577 fi
41578
41579 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41580 cat >>confdefs.h <<\_ACEOF
41581 #define WXWIN_COMPATIBILITY_2_8 1
41582 _ACEOF
41583
41584 fi
41585
41586
41587 if test "$wxUSE_GUI" = "yes"; then
41588 cat >>confdefs.h <<\_ACEOF
41589 #define wxUSE_GUI 1
41590 _ACEOF
41591
41592
41593 fi
41594
41595
41596 if test "$wxUSE_UNIX" = "yes"; then
41597 cat >>confdefs.h <<\_ACEOF
41598 #define wxUSE_UNIX 1
41599 _ACEOF
41600
41601 fi
41602
41603
41604 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41605
41606 HAVE_DL_FUNCS=0
41607 HAVE_SHL_FUNCS=0
41608 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41609 if test "$USE_DOS" = 1; then
41610 HAVE_DL_FUNCS=0
41611 else
41612
41613 for ac_func in dlopen
41614 do
41615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41616 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41618 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41619 echo $ECHO_N "(cached) $ECHO_C" >&6
41620 else
41621 cat >conftest.$ac_ext <<_ACEOF
41622 /* confdefs.h. */
41623 _ACEOF
41624 cat confdefs.h >>conftest.$ac_ext
41625 cat >>conftest.$ac_ext <<_ACEOF
41626 /* end confdefs.h. */
41627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41629 #define $ac_func innocuous_$ac_func
41630
41631 /* System header to define __stub macros and hopefully few prototypes,
41632 which can conflict with char $ac_func (); below.
41633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41634 <limits.h> exists even on freestanding compilers. */
41635
41636 #ifdef __STDC__
41637 # include <limits.h>
41638 #else
41639 # include <assert.h>
41640 #endif
41641
41642 #undef $ac_func
41643
41644 /* Override any GCC internal prototype to avoid an error.
41645 Use char because int might match the return type of a GCC
41646 builtin and then its argument prototype would still apply. */
41647 #ifdef __cplusplus
41648 extern "C"
41649 #endif
41650 char $ac_func ();
41651 /* The GNU C library defines this for functions which it implements
41652 to always fail with ENOSYS. Some functions are actually named
41653 something starting with __ and the normal name is an alias. */
41654 #if defined __stub_$ac_func || defined __stub___$ac_func
41655 choke me
41656 #endif
41657
41658 int
41659 main ()
41660 {
41661 return $ac_func ();
41662 ;
41663 return 0;
41664 }
41665 _ACEOF
41666 rm -f conftest.$ac_objext conftest$ac_exeext
41667 if { (ac_try="$ac_link"
41668 case "(($ac_try" in
41669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41670 *) ac_try_echo=$ac_try;;
41671 esac
41672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41673 (eval "$ac_link") 2>conftest.er1
41674 ac_status=$?
41675 grep -v '^ *+' conftest.er1 >conftest.err
41676 rm -f conftest.er1
41677 cat conftest.err >&5
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); } && {
41680 test -z "$ac_c_werror_flag" ||
41681 test ! -s conftest.err
41682 } && test -s conftest$ac_exeext &&
41683 $as_test_x conftest$ac_exeext; then
41684 eval "$as_ac_var=yes"
41685 else
41686 echo "$as_me: failed program was:" >&5
41687 sed 's/^/| /' conftest.$ac_ext >&5
41688
41689 eval "$as_ac_var=no"
41690 fi
41691
41692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41693 conftest$ac_exeext conftest.$ac_ext
41694 fi
41695 ac_res=`eval echo '${'$as_ac_var'}'`
41696 { echo "$as_me:$LINENO: result: $ac_res" >&5
41697 echo "${ECHO_T}$ac_res" >&6; }
41698 if test `eval echo '${'$as_ac_var'}'` = yes; then
41699 cat >>confdefs.h <<_ACEOF
41700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41701 _ACEOF
41702
41703 cat >>confdefs.h <<\_ACEOF
41704 #define HAVE_DLOPEN 1
41705 _ACEOF
41706
41707 HAVE_DL_FUNCS=1
41708
41709 else
41710
41711 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41712 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41713 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41714 echo $ECHO_N "(cached) $ECHO_C" >&6
41715 else
41716 ac_check_lib_save_LIBS=$LIBS
41717 LIBS="-ldl $LIBS"
41718 cat >conftest.$ac_ext <<_ACEOF
41719 /* confdefs.h. */
41720 _ACEOF
41721 cat confdefs.h >>conftest.$ac_ext
41722 cat >>conftest.$ac_ext <<_ACEOF
41723 /* end confdefs.h. */
41724
41725 /* Override any GCC internal prototype to avoid an error.
41726 Use char because int might match the return type of a GCC
41727 builtin and then its argument prototype would still apply. */
41728 #ifdef __cplusplus
41729 extern "C"
41730 #endif
41731 char dlopen ();
41732 int
41733 main ()
41734 {
41735 return dlopen ();
41736 ;
41737 return 0;
41738 }
41739 _ACEOF
41740 rm -f conftest.$ac_objext conftest$ac_exeext
41741 if { (ac_try="$ac_link"
41742 case "(($ac_try" in
41743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41744 *) ac_try_echo=$ac_try;;
41745 esac
41746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41747 (eval "$ac_link") 2>conftest.er1
41748 ac_status=$?
41749 grep -v '^ *+' conftest.er1 >conftest.err
41750 rm -f conftest.er1
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } && {
41754 test -z "$ac_c_werror_flag" ||
41755 test ! -s conftest.err
41756 } && test -s conftest$ac_exeext &&
41757 $as_test_x conftest$ac_exeext; then
41758 ac_cv_lib_dl_dlopen=yes
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41762
41763 ac_cv_lib_dl_dlopen=no
41764 fi
41765
41766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41767 conftest$ac_exeext conftest.$ac_ext
41768 LIBS=$ac_check_lib_save_LIBS
41769 fi
41770 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41771 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41772 if test $ac_cv_lib_dl_dlopen = yes; then
41773
41774 cat >>confdefs.h <<\_ACEOF
41775 #define HAVE_DLOPEN 1
41776 _ACEOF
41777
41778 HAVE_DL_FUNCS=1
41779 DL_LINK=" -ldl$DL_LINK"
41780
41781 else
41782
41783
41784 for ac_func in shl_load
41785 do
41786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41790 echo $ECHO_N "(cached) $ECHO_C" >&6
41791 else
41792 cat >conftest.$ac_ext <<_ACEOF
41793 /* confdefs.h. */
41794 _ACEOF
41795 cat confdefs.h >>conftest.$ac_ext
41796 cat >>conftest.$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41800 #define $ac_func innocuous_$ac_func
41801
41802 /* System header to define __stub macros and hopefully few prototypes,
41803 which can conflict with char $ac_func (); below.
41804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41805 <limits.h> exists even on freestanding compilers. */
41806
41807 #ifdef __STDC__
41808 # include <limits.h>
41809 #else
41810 # include <assert.h>
41811 #endif
41812
41813 #undef $ac_func
41814
41815 /* Override any GCC internal prototype to avoid an error.
41816 Use char because int might match the return type of a GCC
41817 builtin and then its argument prototype would still apply. */
41818 #ifdef __cplusplus
41819 extern "C"
41820 #endif
41821 char $ac_func ();
41822 /* The GNU C library defines this for functions which it implements
41823 to always fail with ENOSYS. Some functions are actually named
41824 something starting with __ and the normal name is an alias. */
41825 #if defined __stub_$ac_func || defined __stub___$ac_func
41826 choke me
41827 #endif
41828
41829 int
41830 main ()
41831 {
41832 return $ac_func ();
41833 ;
41834 return 0;
41835 }
41836 _ACEOF
41837 rm -f conftest.$ac_objext conftest$ac_exeext
41838 if { (ac_try="$ac_link"
41839 case "(($ac_try" in
41840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41841 *) ac_try_echo=$ac_try;;
41842 esac
41843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41844 (eval "$ac_link") 2>conftest.er1
41845 ac_status=$?
41846 grep -v '^ *+' conftest.er1 >conftest.err
41847 rm -f conftest.er1
41848 cat conftest.err >&5
41849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41850 (exit $ac_status); } && {
41851 test -z "$ac_c_werror_flag" ||
41852 test ! -s conftest.err
41853 } && test -s conftest$ac_exeext &&
41854 $as_test_x conftest$ac_exeext; then
41855 eval "$as_ac_var=yes"
41856 else
41857 echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.$ac_ext >&5
41859
41860 eval "$as_ac_var=no"
41861 fi
41862
41863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41864 conftest$ac_exeext conftest.$ac_ext
41865 fi
41866 ac_res=`eval echo '${'$as_ac_var'}'`
41867 { echo "$as_me:$LINENO: result: $ac_res" >&5
41868 echo "${ECHO_T}$ac_res" >&6; }
41869 if test `eval echo '${'$as_ac_var'}'` = yes; then
41870 cat >>confdefs.h <<_ACEOF
41871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41872 _ACEOF
41873
41874 cat >>confdefs.h <<\_ACEOF
41875 #define HAVE_SHL_LOAD 1
41876 _ACEOF
41877
41878 HAVE_SHL_FUNCS=1
41879
41880 else
41881
41882 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41883 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41884 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41885 echo $ECHO_N "(cached) $ECHO_C" >&6
41886 else
41887 ac_check_lib_save_LIBS=$LIBS
41888 LIBS="-lshl_load $LIBS"
41889 cat >conftest.$ac_ext <<_ACEOF
41890 /* confdefs.h. */
41891 _ACEOF
41892 cat confdefs.h >>conftest.$ac_ext
41893 cat >>conftest.$ac_ext <<_ACEOF
41894 /* end confdefs.h. */
41895
41896 /* Override any GCC internal prototype to avoid an error.
41897 Use char because int might match the return type of a GCC
41898 builtin and then its argument prototype would still apply. */
41899 #ifdef __cplusplus
41900 extern "C"
41901 #endif
41902 char dld ();
41903 int
41904 main ()
41905 {
41906 return dld ();
41907 ;
41908 return 0;
41909 }
41910 _ACEOF
41911 rm -f conftest.$ac_objext conftest$ac_exeext
41912 if { (ac_try="$ac_link"
41913 case "(($ac_try" in
41914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41915 *) ac_try_echo=$ac_try;;
41916 esac
41917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41918 (eval "$ac_link") 2>conftest.er1
41919 ac_status=$?
41920 grep -v '^ *+' conftest.er1 >conftest.err
41921 rm -f conftest.er1
41922 cat conftest.err >&5
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); } && {
41925 test -z "$ac_c_werror_flag" ||
41926 test ! -s conftest.err
41927 } && test -s conftest$ac_exeext &&
41928 $as_test_x conftest$ac_exeext; then
41929 ac_cv_lib_shl_load_dld=yes
41930 else
41931 echo "$as_me: failed program was:" >&5
41932 sed 's/^/| /' conftest.$ac_ext >&5
41933
41934 ac_cv_lib_shl_load_dld=no
41935 fi
41936
41937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41938 conftest$ac_exeext conftest.$ac_ext
41939 LIBS=$ac_check_lib_save_LIBS
41940 fi
41941 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41942 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41943 if test $ac_cv_lib_shl_load_dld = yes; then
41944
41945 HAVE_SHL_FUNCS=1
41946 DL_LINK=" -ldld$DL_LINK"
41947
41948 fi
41949
41950
41951 fi
41952 done
41953
41954
41955 fi
41956
41957
41958 fi
41959 done
41960
41961
41962 if test "$HAVE_DL_FUNCS" = 1; then
41963
41964 for ac_func in dlerror
41965 do
41966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41967 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 else
41972 cat >conftest.$ac_ext <<_ACEOF
41973 /* confdefs.h. */
41974 _ACEOF
41975 cat confdefs.h >>conftest.$ac_ext
41976 cat >>conftest.$ac_ext <<_ACEOF
41977 /* end confdefs.h. */
41978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41980 #define $ac_func innocuous_$ac_func
41981
41982 /* System header to define __stub macros and hopefully few prototypes,
41983 which can conflict with char $ac_func (); below.
41984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41985 <limits.h> exists even on freestanding compilers. */
41986
41987 #ifdef __STDC__
41988 # include <limits.h>
41989 #else
41990 # include <assert.h>
41991 #endif
41992
41993 #undef $ac_func
41994
41995 /* Override any GCC internal prototype to avoid an error.
41996 Use char because int might match the return type of a GCC
41997 builtin and then its argument prototype would still apply. */
41998 #ifdef __cplusplus
41999 extern "C"
42000 #endif
42001 char $ac_func ();
42002 /* The GNU C library defines this for functions which it implements
42003 to always fail with ENOSYS. Some functions are actually named
42004 something starting with __ and the normal name is an alias. */
42005 #if defined __stub_$ac_func || defined __stub___$ac_func
42006 choke me
42007 #endif
42008
42009 int
42010 main ()
42011 {
42012 return $ac_func ();
42013 ;
42014 return 0;
42015 }
42016 _ACEOF
42017 rm -f conftest.$ac_objext conftest$ac_exeext
42018 if { (ac_try="$ac_link"
42019 case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42022 esac
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_link") 2>conftest.er1
42025 ac_status=$?
42026 grep -v '^ *+' conftest.er1 >conftest.err
42027 rm -f conftest.er1
42028 cat conftest.err >&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); } && {
42031 test -z "$ac_c_werror_flag" ||
42032 test ! -s conftest.err
42033 } && test -s conftest$ac_exeext &&
42034 $as_test_x conftest$ac_exeext; then
42035 eval "$as_ac_var=yes"
42036 else
42037 echo "$as_me: failed program was:" >&5
42038 sed 's/^/| /' conftest.$ac_ext >&5
42039
42040 eval "$as_ac_var=no"
42041 fi
42042
42043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42044 conftest$ac_exeext conftest.$ac_ext
42045 fi
42046 ac_res=`eval echo '${'$as_ac_var'}'`
42047 { echo "$as_me:$LINENO: result: $ac_res" >&5
42048 echo "${ECHO_T}$ac_res" >&6; }
42049 if test `eval echo '${'$as_ac_var'}'` = yes; then
42050 cat >>confdefs.h <<_ACEOF
42051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42052 _ACEOF
42053 cat >>confdefs.h <<\_ACEOF
42054 #define HAVE_DLERROR 1
42055 _ACEOF
42056
42057 else
42058
42059 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42060 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42061 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42062 echo $ECHO_N "(cached) $ECHO_C" >&6
42063 else
42064 ac_check_lib_save_LIBS=$LIBS
42065 LIBS="-ldl $LIBS"
42066 cat >conftest.$ac_ext <<_ACEOF
42067 /* confdefs.h. */
42068 _ACEOF
42069 cat confdefs.h >>conftest.$ac_ext
42070 cat >>conftest.$ac_ext <<_ACEOF
42071 /* end confdefs.h. */
42072
42073 /* Override any GCC internal prototype to avoid an error.
42074 Use char because int might match the return type of a GCC
42075 builtin and then its argument prototype would still apply. */
42076 #ifdef __cplusplus
42077 extern "C"
42078 #endif
42079 char dlerror ();
42080 int
42081 main ()
42082 {
42083 return dlerror ();
42084 ;
42085 return 0;
42086 }
42087 _ACEOF
42088 rm -f conftest.$ac_objext conftest$ac_exeext
42089 if { (ac_try="$ac_link"
42090 case "(($ac_try" in
42091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42092 *) ac_try_echo=$ac_try;;
42093 esac
42094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42095 (eval "$ac_link") 2>conftest.er1
42096 ac_status=$?
42097 grep -v '^ *+' conftest.er1 >conftest.err
42098 rm -f conftest.er1
42099 cat conftest.err >&5
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); } && {
42102 test -z "$ac_c_werror_flag" ||
42103 test ! -s conftest.err
42104 } && test -s conftest$ac_exeext &&
42105 $as_test_x conftest$ac_exeext; then
42106 ac_cv_lib_dl_dlerror=yes
42107 else
42108 echo "$as_me: failed program was:" >&5
42109 sed 's/^/| /' conftest.$ac_ext >&5
42110
42111 ac_cv_lib_dl_dlerror=no
42112 fi
42113
42114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42115 conftest$ac_exeext conftest.$ac_ext
42116 LIBS=$ac_check_lib_save_LIBS
42117 fi
42118 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42119 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42120 if test $ac_cv_lib_dl_dlerror = yes; then
42121 cat >>confdefs.h <<\_ACEOF
42122 #define HAVE_DLERROR 1
42123 _ACEOF
42124
42125 fi
42126
42127
42128
42129 fi
42130 done
42131
42132 fi
42133 fi
42134
42135 if test "$USE_DARWIN" = 1; then
42136 HAVE_DL_FUNCS=1
42137 fi
42138
42139 if test "$HAVE_DL_FUNCS" = 0; then
42140 if test "$HAVE_SHL_FUNCS" = 0; then
42141 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42142 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42143 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42144 wxUSE_DYNAMIC_LOADER=no
42145 wxUSE_DYNLIB_CLASS=no
42146 else
42147 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42148 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42149 fi
42150 fi
42151 fi
42152 fi
42153 fi
42154
42155 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42156 cat >>confdefs.h <<\_ACEOF
42157 #define wxUSE_DYNAMIC_LOADER 1
42158 _ACEOF
42159
42160 fi
42161 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42162 cat >>confdefs.h <<\_ACEOF
42163 #define wxUSE_DYNLIB_CLASS 1
42164 _ACEOF
42165
42166 fi
42167
42168
42169
42170 if test "$wxUSE_PLUGINS" = "yes" ; then
42171 if test "$wxUSE_SHARED" = "no" ; then
42172 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42173 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42174 wxUSE_PLUGINS=no
42175 fi
42176 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42177 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42178 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42179 wxUSE_PLUGINS=no
42180 fi
42181 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42182 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42183 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42184 wxUSE_PLUGINS=no
42185 fi
42186 if test "$wxUSE_PLUGINS" = "yes" ; then
42187 cat >>confdefs.h <<\_ACEOF
42188 #define wxUSE_PLUGINS 1
42189 _ACEOF
42190
42191 fi
42192 fi
42193
42194
42195 if test "$wxUSE_STL" = "yes"; then
42196 cat >>confdefs.h <<\_ACEOF
42197 #define wxUSE_STL 1
42198 _ACEOF
42199
42200 fi
42201
42202 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42203 cat >>confdefs.h <<\_ACEOF
42204 #define wxUSE_EXTENDED_RTTI 1
42205 _ACEOF
42206
42207 fi
42208
42209 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42210 cat >>confdefs.h <<\_ACEOF
42211 #define wxUSE_APPLE_IEEE 1
42212 _ACEOF
42213
42214 fi
42215
42216 if test "$wxUSE_TIMER" = "yes"; then
42217 cat >>confdefs.h <<\_ACEOF
42218 #define wxUSE_TIMER 1
42219 _ACEOF
42220
42221 fi
42222
42223 if test "$USE_UNIX" = 1 ; then
42224 if test "$wxUSE_MGL" != 1; then
42225 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42226 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42227 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42228 echo $ECHO_N "(cached) $ECHO_C" >&6
42229 else
42230
42231 cat >conftest.$ac_ext <<_ACEOF
42232 /* confdefs.h. */
42233 _ACEOF
42234 cat confdefs.h >>conftest.$ac_ext
42235 cat >>conftest.$ac_ext <<_ACEOF
42236 /* end confdefs.h. */
42237
42238 #include <sys/ioctl.h>
42239 #include <sys/soundcard.h>
42240
42241 int
42242 main ()
42243 {
42244
42245 ioctl(0, SNDCTL_DSP_SPEED, 0);
42246
42247 ;
42248 return 0;
42249 }
42250 _ACEOF
42251 rm -f conftest.$ac_objext conftest$ac_exeext
42252 if { (ac_try="$ac_link"
42253 case "(($ac_try" in
42254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42255 *) ac_try_echo=$ac_try;;
42256 esac
42257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42258 (eval "$ac_link") 2>conftest.er1
42259 ac_status=$?
42260 grep -v '^ *+' conftest.er1 >conftest.err
42261 rm -f conftest.er1
42262 cat conftest.err >&5
42263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42264 (exit $ac_status); } && {
42265 test -z "$ac_c_werror_flag" ||
42266 test ! -s conftest.err
42267 } && test -s conftest$ac_exeext &&
42268 $as_test_x conftest$ac_exeext; then
42269 ac_cv_header_sys_soundcard=yes
42270 else
42271 echo "$as_me: failed program was:" >&5
42272 sed 's/^/| /' conftest.$ac_ext >&5
42273
42274
42275 saveLibs="$LIBS"
42276 LIBS="$saveLibs -lossaudio"
42277 cat >conftest.$ac_ext <<_ACEOF
42278 /* confdefs.h. */
42279 _ACEOF
42280 cat confdefs.h >>conftest.$ac_ext
42281 cat >>conftest.$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42283
42284 #include <sys/ioctl.h>
42285 #include <sys/soundcard.h>
42286
42287 int
42288 main ()
42289 {
42290
42291 ioctl(0, SNDCTL_DSP_SPEED, 0);
42292
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (ac_try="$ac_link"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42302 esac
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_link") 2>conftest.er1
42305 ac_status=$?
42306 grep -v '^ *+' conftest.er1 >conftest.err
42307 rm -f conftest.er1
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_c_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest$ac_exeext &&
42314 $as_test_x conftest$ac_exeext; then
42315 ac_cv_header_sys_soundcard=yes
42316 else
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.$ac_ext >&5
42319
42320
42321 LIBS="$saveLibs"
42322 ac_cv_header_sys_soundcard=no
42323
42324
42325 fi
42326
42327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42328 conftest$ac_exeext conftest.$ac_ext
42329
42330
42331 fi
42332
42333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42334 conftest$ac_exeext conftest.$ac_ext
42335
42336 fi
42337 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42338 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42339 fi
42340
42341 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define HAVE_SYS_SOUNDCARD_H 1
42344 _ACEOF
42345
42346 fi
42347 fi
42348
42349 WITH_PLUGIN_SDL=0
42350 if test "$wxUSE_SOUND" = "yes"; then
42351 if test "$USE_UNIX" = 1 ; then
42352 if test "$wxUSE_LIBSDL" != "no"; then
42353
42354 # Check whether --with-sdl-prefix was given.
42355 if test "${with_sdl_prefix+set}" = set; then
42356 withval=$with_sdl_prefix; sdl_prefix="$withval"
42357 else
42358 sdl_prefix=""
42359 fi
42360
42361
42362 # Check whether --with-sdl-exec-prefix was given.
42363 if test "${with_sdl_exec_prefix+set}" = set; then
42364 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42365 else
42366 sdl_exec_prefix=""
42367 fi
42368
42369 # Check whether --enable-sdltest was given.
42370 if test "${enable_sdltest+set}" = set; then
42371 enableval=$enable_sdltest;
42372 else
42373 enable_sdltest=yes
42374 fi
42375
42376
42377 if test x$sdl_exec_prefix != x ; then
42378 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42379 if test x${SDL_CONFIG+set} != xset ; then
42380 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42381 fi
42382 fi
42383 if test x$sdl_prefix != x ; then
42384 sdl_args="$sdl_args --prefix=$sdl_prefix"
42385 if test x${SDL_CONFIG+set} != xset ; then
42386 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42387 fi
42388 fi
42389
42390 if test "x$prefix" != xNONE; then
42391 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42392 fi
42393 # Extract the first word of "sdl-config", so it can be a program name with args.
42394 set dummy sdl-config; ac_word=$2
42395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42397 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42398 echo $ECHO_N "(cached) $ECHO_C" >&6
42399 else
42400 case $SDL_CONFIG in
42401 [\\/]* | ?:[\\/]*)
42402 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42403 ;;
42404 *)
42405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42406 for as_dir in $PATH
42407 do
42408 IFS=$as_save_IFS
42409 test -z "$as_dir" && as_dir=.
42410 for ac_exec_ext in '' $ac_executable_extensions; do
42411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42412 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42414 break 2
42415 fi
42416 done
42417 done
42418 IFS=$as_save_IFS
42419
42420 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42421 ;;
42422 esac
42423 fi
42424 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42425 if test -n "$SDL_CONFIG"; then
42426 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42427 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42428 else
42429 { echo "$as_me:$LINENO: result: no" >&5
42430 echo "${ECHO_T}no" >&6; }
42431 fi
42432
42433
42434 min_sdl_version=1.2.0
42435 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42436 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42437 no_sdl=""
42438 if test "$SDL_CONFIG" = "no" ; then
42439 no_sdl=yes
42440 else
42441 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42442 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42443
42444 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42446 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42448 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42450 if test "x$enable_sdltest" = "xyes" ; then
42451 ac_save_CFLAGS="$CFLAGS"
42452 ac_save_CXXFLAGS="$CXXFLAGS"
42453 ac_save_LIBS="$LIBS"
42454 CFLAGS="$CFLAGS $SDL_CFLAGS"
42455 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42456 LIBS="$LIBS $SDL_LIBS"
42457 rm -f conf.sdltest
42458 if test "$cross_compiling" = yes; then
42459 echo $ac_n "cross compiling; assumed OK... $ac_c"
42460 else
42461 cat >conftest.$ac_ext <<_ACEOF
42462 /* confdefs.h. */
42463 _ACEOF
42464 cat confdefs.h >>conftest.$ac_ext
42465 cat >>conftest.$ac_ext <<_ACEOF
42466 /* end confdefs.h. */
42467
42468 #include <stdio.h>
42469 #include <stdlib.h>
42470 #include <string.h>
42471 #include "SDL.h"
42472
42473 char*
42474 my_strdup (char *str)
42475 {
42476 char *new_str;
42477
42478 if (str)
42479 {
42480 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42481 strcpy (new_str, str);
42482 }
42483 else
42484 new_str = NULL;
42485
42486 return new_str;
42487 }
42488
42489 int main (int argc, char *argv[])
42490 {
42491 int major, minor, micro;
42492 char *tmp_version;
42493
42494 /* This hangs on some systems (?)
42495 system ("touch conf.sdltest");
42496 */
42497 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42498
42499 /* HP/UX 9 (%@#!) writes to sscanf strings */
42500 tmp_version = my_strdup("$min_sdl_version");
42501 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42502 printf("%s, bad version string\n", "$min_sdl_version");
42503 exit(1);
42504 }
42505
42506 if (($sdl_major_version > major) ||
42507 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42508 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42509 {
42510 return 0;
42511 }
42512 else
42513 {
42514 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42515 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42516 printf("*** best to upgrade to the required version.\n");
42517 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42518 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42519 printf("*** config.cache before re-running configure\n");
42520 return 1;
42521 }
42522 }
42523
42524
42525 _ACEOF
42526 rm -f conftest$ac_exeext
42527 if { (ac_try="$ac_link"
42528 case "(($ac_try" in
42529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42530 *) ac_try_echo=$ac_try;;
42531 esac
42532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42533 (eval "$ac_link") 2>&5
42534 ac_status=$?
42535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42537 { (case "(($ac_try" in
42538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42539 *) ac_try_echo=$ac_try;;
42540 esac
42541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42542 (eval "$ac_try") 2>&5
42543 ac_status=$?
42544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545 (exit $ac_status); }; }; then
42546 :
42547 else
42548 echo "$as_me: program exited with status $ac_status" >&5
42549 echo "$as_me: failed program was:" >&5
42550 sed 's/^/| /' conftest.$ac_ext >&5
42551
42552 ( exit $ac_status )
42553 no_sdl=yes
42554 fi
42555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42556 fi
42557
42558
42559 CFLAGS="$ac_save_CFLAGS"
42560 CXXFLAGS="$ac_save_CXXFLAGS"
42561 LIBS="$ac_save_LIBS"
42562 fi
42563 fi
42564 if test "x$no_sdl" = x ; then
42565 { echo "$as_me:$LINENO: result: yes" >&5
42566 echo "${ECHO_T}yes" >&6; }
42567
42568 EXTRALIBS_SDL="$SDL_LIBS"
42569 CFLAGS="$SDL_CFLAGS $CFLAGS"
42570 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42571 cat >>confdefs.h <<\_ACEOF
42572 #define wxUSE_LIBSDL 1
42573 _ACEOF
42574
42575
42576 else
42577 { echo "$as_me:$LINENO: result: no" >&5
42578 echo "${ECHO_T}no" >&6; }
42579 if test "$SDL_CONFIG" = "no" ; then
42580 echo "*** The sdl-config script installed by SDL could not be found"
42581 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42582 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42583 echo "*** full path to sdl-config."
42584 else
42585 if test -f conf.sdltest ; then
42586 :
42587 else
42588 echo "*** Could not run SDL test program, checking why..."
42589 CFLAGS="$CFLAGS $SDL_CFLAGS"
42590 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42591 LIBS="$LIBS $SDL_LIBS"
42592 cat >conftest.$ac_ext <<_ACEOF
42593 /* confdefs.h. */
42594 _ACEOF
42595 cat confdefs.h >>conftest.$ac_ext
42596 cat >>conftest.$ac_ext <<_ACEOF
42597 /* end confdefs.h. */
42598
42599 #include <stdio.h>
42600 #include "SDL.h"
42601
42602 int main(int argc, char *argv[])
42603 { return 0; }
42604 #undef main
42605 #define main K_and_R_C_main
42606
42607 int
42608 main ()
42609 {
42610 return 0;
42611 ;
42612 return 0;
42613 }
42614 _ACEOF
42615 rm -f conftest.$ac_objext conftest$ac_exeext
42616 if { (ac_try="$ac_link"
42617 case "(($ac_try" in
42618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42619 *) ac_try_echo=$ac_try;;
42620 esac
42621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42622 (eval "$ac_link") 2>conftest.er1
42623 ac_status=$?
42624 grep -v '^ *+' conftest.er1 >conftest.err
42625 rm -f conftest.er1
42626 cat conftest.err >&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); } && {
42629 test -z "$ac_c_werror_flag" ||
42630 test ! -s conftest.err
42631 } && test -s conftest$ac_exeext &&
42632 $as_test_x conftest$ac_exeext; then
42633 echo "*** The test program compiled, but did not run. This usually means"
42634 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42635 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42636 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42637 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42638 echo "*** is required on your system"
42639 echo "***"
42640 echo "*** If you have an old version installed, it is best to remove it, although"
42641 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42642 else
42643 echo "$as_me: failed program was:" >&5
42644 sed 's/^/| /' conftest.$ac_ext >&5
42645
42646 echo "*** The test program failed to compile or link. See the file config.log for the"
42647 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42648 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42649 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42650 fi
42651
42652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42653 conftest$ac_exeext conftest.$ac_ext
42654 CFLAGS="$ac_save_CFLAGS"
42655 CXXFLAGS="$ac_save_CXXFLAGS"
42656 LIBS="$ac_save_LIBS"
42657 fi
42658 fi
42659 SDL_CFLAGS=""
42660 SDL_LIBS=""
42661 wxUSE_LIBSDL="no"
42662 fi
42663
42664
42665 rm -f conf.sdltest
42666
42667 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42668 WITH_PLUGIN_SDL=1
42669 fi
42670 fi
42671 else
42672 if test "$wxUSE_MGL" = 1; then
42673 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42674 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42675 wxUSE_SOUND="no"
42676 fi
42677 fi
42678 fi
42679
42680 if test "$wxUSE_SOUND" = "yes"; then
42681 cat >>confdefs.h <<\_ACEOF
42682 #define wxUSE_SOUND 1
42683 _ACEOF
42684
42685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42686 fi
42687
42688 if test "$WXGTK2" = 1; then
42689
42690
42691 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42692 if test -n "$ac_tool_prefix"; then
42693 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42694 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42698 echo $ECHO_N "(cached) $ECHO_C" >&6
42699 else
42700 case $PKG_CONFIG in
42701 [\\/]* | ?:[\\/]*)
42702 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42703 ;;
42704 *)
42705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42706 for as_dir in $PATH
42707 do
42708 IFS=$as_save_IFS
42709 test -z "$as_dir" && as_dir=.
42710 for ac_exec_ext in '' $ac_executable_extensions; do
42711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42712 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42714 break 2
42715 fi
42716 done
42717 done
42718 IFS=$as_save_IFS
42719
42720 ;;
42721 esac
42722 fi
42723 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42724 if test -n "$PKG_CONFIG"; then
42725 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42726 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42727 else
42728 { echo "$as_me:$LINENO: result: no" >&5
42729 echo "${ECHO_T}no" >&6; }
42730 fi
42731
42732
42733 fi
42734 if test -z "$ac_cv_path_PKG_CONFIG"; then
42735 ac_pt_PKG_CONFIG=$PKG_CONFIG
42736 # Extract the first word of "pkg-config", so it can be a program name with args.
42737 set dummy pkg-config; ac_word=$2
42738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42740 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42741 echo $ECHO_N "(cached) $ECHO_C" >&6
42742 else
42743 case $ac_pt_PKG_CONFIG in
42744 [\\/]* | ?:[\\/]*)
42745 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42746 ;;
42747 *)
42748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42749 for as_dir in $PATH
42750 do
42751 IFS=$as_save_IFS
42752 test -z "$as_dir" && as_dir=.
42753 for ac_exec_ext in '' $ac_executable_extensions; do
42754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42755 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42757 break 2
42758 fi
42759 done
42760 done
42761 IFS=$as_save_IFS
42762
42763 ;;
42764 esac
42765 fi
42766 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42767 if test -n "$ac_pt_PKG_CONFIG"; then
42768 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42769 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42770 else
42771 { echo "$as_me:$LINENO: result: no" >&5
42772 echo "${ECHO_T}no" >&6; }
42773 fi
42774
42775 if test "x$ac_pt_PKG_CONFIG" = x; then
42776 PKG_CONFIG=""
42777 else
42778 case $cross_compiling:$ac_tool_warned in
42779 yes:)
42780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42781 whose name does not start with the host triplet. If you think this
42782 configuration is useful to you, please write to autoconf@gnu.org." >&5
42783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42784 whose name does not start with the host triplet. If you think this
42785 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42786 ac_tool_warned=yes ;;
42787 esac
42788 PKG_CONFIG=$ac_pt_PKG_CONFIG
42789 fi
42790 else
42791 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42792 fi
42793
42794 fi
42795 if test -n "$PKG_CONFIG"; then
42796 _pkg_min_version=0.9.0
42797 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42798 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42799 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42800 { echo "$as_me:$LINENO: result: yes" >&5
42801 echo "${ECHO_T}yes" >&6; }
42802 else
42803 { echo "$as_me:$LINENO: result: no" >&5
42804 echo "${ECHO_T}no" >&6; }
42805 PKG_CONFIG=""
42806 fi
42807
42808 fi
42809
42810 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42811
42812 if test "$wxUSE_GTKPRINT" = "yes" ; then
42813
42814
42815 pkg_failed=no
42816 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42817 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42818
42819 if test -n "$PKG_CONFIG"; then
42820 if test -n "$GTKPRINT_CFLAGS"; then
42821 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42822 else
42823 if test -n "$PKG_CONFIG" && \
42824 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42825 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42826 ac_status=$?
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); }; then
42829 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42830 else
42831 pkg_failed=yes
42832 fi
42833 fi
42834 else
42835 pkg_failed=untried
42836 fi
42837 if test -n "$PKG_CONFIG"; then
42838 if test -n "$GTKPRINT_LIBS"; then
42839 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42840 else
42841 if test -n "$PKG_CONFIG" && \
42842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42843 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42844 ac_status=$?
42845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42846 (exit $ac_status); }; then
42847 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42848 else
42849 pkg_failed=yes
42850 fi
42851 fi
42852 else
42853 pkg_failed=untried
42854 fi
42855
42856
42857
42858 if test $pkg_failed = yes; then
42859
42860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42861 _pkg_short_errors_supported=yes
42862 else
42863 _pkg_short_errors_supported=no
42864 fi
42865 if test $_pkg_short_errors_supported = yes; then
42866 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42867 else
42868 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42869 fi
42870 # Put the nasty error message in config.log where it belongs
42871 echo "$GTKPRINT_PKG_ERRORS" >&5
42872
42873
42874 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42875 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42876 wxUSE_GTKPRINT="no"
42877
42878
42879 elif test $pkg_failed = untried; then
42880
42881 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42882 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42883 wxUSE_GTKPRINT="no"
42884
42885
42886 else
42887 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42888 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42889 { echo "$as_me:$LINENO: result: yes" >&5
42890 echo "${ECHO_T}yes" >&6; }
42891
42892 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42893 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42894 cat >>confdefs.h <<\_ACEOF
42895 #define wxUSE_GTKPRINT 1
42896 _ACEOF
42897
42898
42899 fi
42900 fi
42901
42902 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42903
42904
42905 pkg_failed=no
42906 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42907 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42908
42909 if test -n "$PKG_CONFIG"; then
42910 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42911 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42912 else
42913 if test -n "$PKG_CONFIG" && \
42914 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42915 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42916 ac_status=$?
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); }; then
42919 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42920 else
42921 pkg_failed=yes
42922 fi
42923 fi
42924 else
42925 pkg_failed=untried
42926 fi
42927 if test -n "$PKG_CONFIG"; then
42928 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42929 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42930 else
42931 if test -n "$PKG_CONFIG" && \
42932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42933 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42934 ac_status=$?
42935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42936 (exit $ac_status); }; then
42937 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42938 else
42939 pkg_failed=yes
42940 fi
42941 fi
42942 else
42943 pkg_failed=untried
42944 fi
42945
42946
42947
42948 if test $pkg_failed = yes; then
42949
42950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42951 _pkg_short_errors_supported=yes
42952 else
42953 _pkg_short_errors_supported=no
42954 fi
42955 if test $_pkg_short_errors_supported = yes; then
42956 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42957 else
42958 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42959 fi
42960 # Put the nasty error message in config.log where it belongs
42961 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42962
42963
42964 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42965 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42966 wxUSE_LIBGNOMEPRINT="no"
42967
42968
42969 elif test $pkg_failed = untried; then
42970
42971 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42972 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42973 wxUSE_LIBGNOMEPRINT="no"
42974
42975
42976 else
42977 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42978 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42979 { echo "$as_me:$LINENO: result: yes" >&5
42980 echo "${ECHO_T}yes" >&6; }
42981
42982 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42983 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42984 cat >>confdefs.h <<\_ACEOF
42985 #define wxUSE_LIBGNOMEPRINT 1
42986 _ACEOF
42987
42988
42989 fi
42990 fi
42991 fi
42992
42993 if test "$wxUSE_MIMETYPE" = "yes" ; then
42994 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42995
42996
42997 pkg_failed=no
42998 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42999 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43000
43001 if test -n "$PKG_CONFIG"; then
43002 if test -n "$GNOMEVFS_CFLAGS"; then
43003 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43004 else
43005 if test -n "$PKG_CONFIG" && \
43006 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43007 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43008 ac_status=$?
43009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010 (exit $ac_status); }; then
43011 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43012 else
43013 pkg_failed=yes
43014 fi
43015 fi
43016 else
43017 pkg_failed=untried
43018 fi
43019 if test -n "$PKG_CONFIG"; then
43020 if test -n "$GNOMEVFS_LIBS"; then
43021 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43022 else
43023 if test -n "$PKG_CONFIG" && \
43024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43025 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43026 ac_status=$?
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); }; then
43029 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43030 else
43031 pkg_failed=yes
43032 fi
43033 fi
43034 else
43035 pkg_failed=untried
43036 fi
43037
43038
43039
43040 if test $pkg_failed = yes; then
43041
43042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43043 _pkg_short_errors_supported=yes
43044 else
43045 _pkg_short_errors_supported=no
43046 fi
43047 if test $_pkg_short_errors_supported = yes; then
43048 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43049 else
43050 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43051 fi
43052 # Put the nasty error message in config.log where it belongs
43053 echo "$GNOMEVFS_PKG_ERRORS" >&5
43054
43055
43056 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43057 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43058 wxUSE_LIBGNOMEVFS="no"
43059
43060
43061 elif test $pkg_failed = untried; then
43062
43063 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43064 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43065 wxUSE_LIBGNOMEVFS="no"
43066
43067
43068 else
43069 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43070 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43071 { echo "$as_me:$LINENO: result: yes" >&5
43072 echo "${ECHO_T}yes" >&6; }
43073
43074 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43075 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_LIBGNOMEVFS 1
43078 _ACEOF
43079
43080
43081 fi
43082 fi
43083 fi
43084
43085 if test "$wxUSE_LIBHILDON" = "yes" ; then
43086
43087 pkg_failed=no
43088 { echo "$as_me:$LINENO: checking for HILDON" >&5
43089 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43090
43091 if test -n "$PKG_CONFIG"; then
43092 if test -n "$HILDON_CFLAGS"; then
43093 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43094 else
43095 if test -n "$PKG_CONFIG" && \
43096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43097 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43098 ac_status=$?
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); }; then
43101 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43102 else
43103 pkg_failed=yes
43104 fi
43105 fi
43106 else
43107 pkg_failed=untried
43108 fi
43109 if test -n "$PKG_CONFIG"; then
43110 if test -n "$HILDON_LIBS"; then
43111 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43112 else
43113 if test -n "$PKG_CONFIG" && \
43114 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43115 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43116 ac_status=$?
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); }; then
43119 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43120 else
43121 pkg_failed=yes
43122 fi
43123 fi
43124 else
43125 pkg_failed=untried
43126 fi
43127
43128
43129
43130 if test $pkg_failed = yes; then
43131
43132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43133 _pkg_short_errors_supported=yes
43134 else
43135 _pkg_short_errors_supported=no
43136 fi
43137 if test $_pkg_short_errors_supported = yes; then
43138 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43139 else
43140 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43141 fi
43142 # Put the nasty error message in config.log where it belongs
43143 echo "$HILDON_PKG_ERRORS" >&5
43144
43145
43146 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43147 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43148 wxUSE_LIBHILDON="no"
43149
43150
43151 elif test $pkg_failed = untried; then
43152
43153 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43154 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43155 wxUSE_LIBHILDON="no"
43156
43157
43158 else
43159 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43160 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43161 { echo "$as_me:$LINENO: result: yes" >&5
43162 echo "${ECHO_T}yes" >&6; }
43163
43164 EXTRALIBS_HILDON="$HILDON_LIBS"
43165 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43166 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43167 cat >>confdefs.h <<\_ACEOF
43168 #define wxUSE_LIBHILDON 1
43169 _ACEOF
43170
43171
43172 fi
43173 fi
43174 fi
43175
43176 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43177 cat >>confdefs.h <<\_ACEOF
43178 #define wxUSE_CMDLINE_PARSER 1
43179 _ACEOF
43180
43181 fi
43182
43183 if test "$wxUSE_STOPWATCH" = "yes"; then
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_STOPWATCH 1
43186 _ACEOF
43187
43188 fi
43189
43190 if test "$wxUSE_DATETIME" = "yes"; then
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_DATETIME 1
43193 _ACEOF
43194
43195 fi
43196
43197 if test "$wxUSE_FILE" = "yes"; then
43198 cat >>confdefs.h <<\_ACEOF
43199 #define wxUSE_FILE 1
43200 _ACEOF
43201
43202 fi
43203
43204 if test "$wxUSE_FFILE" = "yes"; then
43205 cat >>confdefs.h <<\_ACEOF
43206 #define wxUSE_FFILE 1
43207 _ACEOF
43208
43209 fi
43210
43211 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43212 if test "$wxUSE_STREAMS" != yes; then
43213 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43214 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43215 wxUSE_ARCHIVE_STREAMS=no
43216 else
43217 cat >>confdefs.h <<\_ACEOF
43218 #define wxUSE_ARCHIVE_STREAMS 1
43219 _ACEOF
43220
43221 fi
43222 fi
43223
43224 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43225 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43226 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43227 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43228 elif test "$wxUSE_ZLIB" = "no"; then
43229 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43230 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43231 else
43232 cat >>confdefs.h <<\_ACEOF
43233 #define wxUSE_ZIPSTREAM 1
43234 _ACEOF
43235
43236 fi
43237 fi
43238
43239 if test "$wxUSE_TARSTREAM" = "yes"; then
43240 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43241 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43242 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43243 else
43244 cat >>confdefs.h <<\_ACEOF
43245 #define wxUSE_TARSTREAM 1
43246 _ACEOF
43247
43248 fi
43249 fi
43250
43251 if test "$wxUSE_FILESYSTEM" = "yes"; then
43252 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43253 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43254 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43255 wxUSE_FILESYSTEM=no
43256 else
43257 cat >>confdefs.h <<\_ACEOF
43258 #define wxUSE_FILESYSTEM 1
43259 _ACEOF
43260
43261 fi
43262 fi
43263
43264 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43265 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43266 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43267 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43268 else
43269 cat >>confdefs.h <<\_ACEOF
43270 #define wxUSE_FS_ARCHIVE 1
43271 _ACEOF
43272
43273 fi
43274 fi
43275
43276 if test "$wxUSE_FS_ZIP" = "yes"; then
43277 if test "$wxUSE_FS_ARCHIVE" != yes; then
43278 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43279 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43280 else
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_FS_ZIP 1
43283 _ACEOF
43284
43285 fi
43286 fi
43287
43288 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43289 if test "$USE_UNIX" != 1; then
43290 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43291 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43292 wxUSE_ON_FATAL_EXCEPTION=no
43293 else
43294 cat >>confdefs.h <<\_ACEOF
43295 #define wxUSE_ON_FATAL_EXCEPTION 1
43296 _ACEOF
43297
43298 fi
43299 fi
43300
43301 if test "$wxUSE_STACKWALKER" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_STACKWALKER 1
43304 _ACEOF
43305
43306 fi
43307
43308 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43309 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43310 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43311 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43312 wxUSE_DEBUGREPORT=no
43313 else
43314 cat >>confdefs.h <<\_ACEOF
43315 #define wxUSE_DEBUGREPORT 1
43316 _ACEOF
43317
43318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43320 fi
43321 fi
43322 fi
43323
43324 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43325 cat >>confdefs.h <<\_ACEOF
43326 #define wxUSE_SNGLINST_CHECKER 1
43327 _ACEOF
43328
43329 fi
43330
43331 if test "$wxUSE_BUSYINFO" = "yes"; then
43332 cat >>confdefs.h <<\_ACEOF
43333 #define wxUSE_BUSYINFO 1
43334 _ACEOF
43335
43336 fi
43337
43338 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43339 cat >>confdefs.h <<\_ACEOF
43340 #define wxUSE_STD_IOSTREAM 1
43341 _ACEOF
43342
43343 fi
43344
43345 if test "$wxUSE_STD_STRING" = "yes"; then
43346 cat >>confdefs.h <<\_ACEOF
43347 #define wxUSE_STD_STRING 1
43348 _ACEOF
43349
43350 fi
43351
43352 if test "$wxUSE_STDPATHS" = "yes"; then
43353 cat >>confdefs.h <<\_ACEOF
43354 #define wxUSE_STDPATHS 1
43355 _ACEOF
43356
43357 fi
43358
43359 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_TEXTBUFFER 1
43362 _ACEOF
43363
43364 fi
43365
43366 if test "$wxUSE_TEXTFILE" = "yes"; then
43367 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43368 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43369 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43370 else
43371 cat >>confdefs.h <<\_ACEOF
43372 #define wxUSE_TEXTFILE 1
43373 _ACEOF
43374
43375 fi
43376 fi
43377
43378 if test "$wxUSE_CONFIG" = "yes" ; then
43379 if test "$wxUSE_TEXTFILE" != "yes"; then
43380 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43381 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43382 else
43383 cat >>confdefs.h <<\_ACEOF
43384 #define wxUSE_CONFIG 1
43385 _ACEOF
43386
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_CONFIG_NATIVE 1
43389 _ACEOF
43390
43391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43392 fi
43393 fi
43394
43395 if test "$wxUSE_INTL" = "yes" ; then
43396 if test "$wxUSE_FILE" != "yes"; then
43397 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43398 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43399 else
43400 cat >>confdefs.h <<\_ACEOF
43401 #define wxUSE_INTL 1
43402 _ACEOF
43403
43404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43405 GUIDIST="$GUIDIST INTL_DIST"
43406 fi
43407 fi
43408
43409 if test "$wxUSE_XLOCALE" = "yes" ; then
43410 cat >>confdefs.h <<\_ACEOF
43411 #define wxUSE_XLOCALE 1
43412 _ACEOF
43413
43414 { echo "$as_me:$LINENO: checking for locale_t" >&5
43415 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43416 if test "${ac_cv_type_locale_t+set}" = set; then
43417 echo $ECHO_N "(cached) $ECHO_C" >&6
43418 else
43419 cat >conftest.$ac_ext <<_ACEOF
43420 /* confdefs.h. */
43421 _ACEOF
43422 cat confdefs.h >>conftest.$ac_ext
43423 cat >>conftest.$ac_ext <<_ACEOF
43424 /* end confdefs.h. */
43425 #include <xlocale.h>
43426 #include <locale.h>
43427
43428 typedef locale_t ac__type_new_;
43429 int
43430 main ()
43431 {
43432 if ((ac__type_new_ *) 0)
43433 return 0;
43434 if (sizeof (ac__type_new_))
43435 return 0;
43436 ;
43437 return 0;
43438 }
43439 _ACEOF
43440 rm -f conftest.$ac_objext
43441 if { (ac_try="$ac_compile"
43442 case "(($ac_try" in
43443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43444 *) ac_try_echo=$ac_try;;
43445 esac
43446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43447 (eval "$ac_compile") 2>conftest.er1
43448 ac_status=$?
43449 grep -v '^ *+' conftest.er1 >conftest.err
43450 rm -f conftest.er1
43451 cat conftest.err >&5
43452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43453 (exit $ac_status); } && {
43454 test -z "$ac_c_werror_flag" ||
43455 test ! -s conftest.err
43456 } && test -s conftest.$ac_objext; then
43457 ac_cv_type_locale_t=yes
43458 else
43459 echo "$as_me: failed program was:" >&5
43460 sed 's/^/| /' conftest.$ac_ext >&5
43461
43462 ac_cv_type_locale_t=no
43463 fi
43464
43465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43466 fi
43467 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43468 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43469 if test $ac_cv_type_locale_t = yes; then
43470
43471 cat >>confdefs.h <<_ACEOF
43472 #define HAVE_LOCALE_T 1
43473 _ACEOF
43474
43475
43476 fi
43477
43478 fi
43479
43480 if test "$wxUSE_LOG" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_LOG 1
43483 _ACEOF
43484
43485
43486 if test "$wxUSE_LOGGUI" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_LOGGUI 1
43489 _ACEOF
43490
43491 fi
43492
43493 if test "$wxUSE_LOGWINDOW" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_LOGWINDOW 1
43496 _ACEOF
43497
43498 fi
43499
43500 if test "$wxUSE_LOGDIALOG" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_LOG_DIALOG 1
43503 _ACEOF
43504
43505 fi
43506
43507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43508 fi
43509
43510 if test "$wxUSE_LONGLONG" = "yes"; then
43511 cat >>confdefs.h <<\_ACEOF
43512 #define wxUSE_LONGLONG 1
43513 _ACEOF
43514
43515 fi
43516
43517 if test "$wxUSE_GEOMETRY" = "yes"; then
43518 cat >>confdefs.h <<\_ACEOF
43519 #define wxUSE_GEOMETRY 1
43520 _ACEOF
43521
43522 fi
43523
43524 if test "$wxUSE_BASE64" = "yes"; then
43525 cat >>confdefs.h <<\_ACEOF
43526 #define wxUSE_BASE64 1
43527 _ACEOF
43528
43529 fi
43530
43531 if test "$wxUSE_STREAMS" = "yes" ; then
43532 cat >>confdefs.h <<\_ACEOF
43533 #define wxUSE_STREAMS 1
43534 _ACEOF
43535
43536 fi
43537
43538 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43539 cat >>confdefs.h <<\_ACEOF
43540 #define wxUSE_PRINTF_POS_PARAMS 1
43541 _ACEOF
43542
43543 fi
43544
43545 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43546 cat >>confdefs.h <<\_ACEOF
43547 #define wxUSE_OBJC_UNIQUIFYING 1
43548 _ACEOF
43549
43550 fi
43551
43552
43553 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define wxUSE_CONSOLE_EVENTLOOP 1
43556 _ACEOF
43557
43558
43559 if test "$wxUSE_UNIX" = "yes"; then
43560 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxUSE_SELECT_DISPATCHER 1
43563 _ACEOF
43564
43565 fi
43566
43567 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43568
43569 for ac_header in sys/epoll.h
43570 do
43571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43576 else
43577 cat >conftest.$ac_ext <<_ACEOF
43578 /* confdefs.h. */
43579 _ACEOF
43580 cat confdefs.h >>conftest.$ac_ext
43581 cat >>conftest.$ac_ext <<_ACEOF
43582 /* end confdefs.h. */
43583 $ac_includes_default
43584
43585 #include <$ac_header>
43586 _ACEOF
43587 rm -f conftest.$ac_objext
43588 if { (ac_try="$ac_compile"
43589 case "(($ac_try" in
43590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43591 *) ac_try_echo=$ac_try;;
43592 esac
43593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43594 (eval "$ac_compile") 2>conftest.er1
43595 ac_status=$?
43596 grep -v '^ *+' conftest.er1 >conftest.err
43597 rm -f conftest.er1
43598 cat conftest.err >&5
43599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43600 (exit $ac_status); } && {
43601 test -z "$ac_c_werror_flag" ||
43602 test ! -s conftest.err
43603 } && test -s conftest.$ac_objext; then
43604 eval "$as_ac_Header=yes"
43605 else
43606 echo "$as_me: failed program was:" >&5
43607 sed 's/^/| /' conftest.$ac_ext >&5
43608
43609 eval "$as_ac_Header=no"
43610 fi
43611
43612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43613 fi
43614 ac_res=`eval echo '${'$as_ac_Header'}'`
43615 { echo "$as_me:$LINENO: result: $ac_res" >&5
43616 echo "${ECHO_T}$ac_res" >&6; }
43617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43618 cat >>confdefs.h <<_ACEOF
43619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43620 _ACEOF
43621
43622 fi
43623
43624 done
43625
43626 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43627 cat >>confdefs.h <<\_ACEOF
43628 #define wxUSE_EPOLL_DISPATCHER 1
43629 _ACEOF
43630
43631 else
43632 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43633 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43634 fi
43635 fi
43636 fi
43637 fi
43638
43639
43640
43641
43642 for ac_func in gettimeofday ftime
43643 do
43644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43645 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43647 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43648 echo $ECHO_N "(cached) $ECHO_C" >&6
43649 else
43650 cat >conftest.$ac_ext <<_ACEOF
43651 /* confdefs.h. */
43652 _ACEOF
43653 cat confdefs.h >>conftest.$ac_ext
43654 cat >>conftest.$ac_ext <<_ACEOF
43655 /* end confdefs.h. */
43656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43658 #define $ac_func innocuous_$ac_func
43659
43660 /* System header to define __stub macros and hopefully few prototypes,
43661 which can conflict with char $ac_func (); below.
43662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43663 <limits.h> exists even on freestanding compilers. */
43664
43665 #ifdef __STDC__
43666 # include <limits.h>
43667 #else
43668 # include <assert.h>
43669 #endif
43670
43671 #undef $ac_func
43672
43673 /* Override any GCC internal prototype to avoid an error.
43674 Use char because int might match the return type of a GCC
43675 builtin and then its argument prototype would still apply. */
43676 #ifdef __cplusplus
43677 extern "C"
43678 #endif
43679 char $ac_func ();
43680 /* The GNU C library defines this for functions which it implements
43681 to always fail with ENOSYS. Some functions are actually named
43682 something starting with __ and the normal name is an alias. */
43683 #if defined __stub_$ac_func || defined __stub___$ac_func
43684 choke me
43685 #endif
43686
43687 int
43688 main ()
43689 {
43690 return $ac_func ();
43691 ;
43692 return 0;
43693 }
43694 _ACEOF
43695 rm -f conftest.$ac_objext conftest$ac_exeext
43696 if { (ac_try="$ac_link"
43697 case "(($ac_try" in
43698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43699 *) ac_try_echo=$ac_try;;
43700 esac
43701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43702 (eval "$ac_link") 2>conftest.er1
43703 ac_status=$?
43704 grep -v '^ *+' conftest.er1 >conftest.err
43705 rm -f conftest.er1
43706 cat conftest.err >&5
43707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708 (exit $ac_status); } && {
43709 test -z "$ac_c_werror_flag" ||
43710 test ! -s conftest.err
43711 } && test -s conftest$ac_exeext &&
43712 $as_test_x conftest$ac_exeext; then
43713 eval "$as_ac_var=yes"
43714 else
43715 echo "$as_me: failed program was:" >&5
43716 sed 's/^/| /' conftest.$ac_ext >&5
43717
43718 eval "$as_ac_var=no"
43719 fi
43720
43721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43722 conftest$ac_exeext conftest.$ac_ext
43723 fi
43724 ac_res=`eval echo '${'$as_ac_var'}'`
43725 { echo "$as_me:$LINENO: result: $ac_res" >&5
43726 echo "${ECHO_T}$ac_res" >&6; }
43727 if test `eval echo '${'$as_ac_var'}'` = yes; then
43728 cat >>confdefs.h <<_ACEOF
43729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43730 _ACEOF
43731 break
43732 fi
43733 done
43734
43735
43736 if test "$ac_cv_func_gettimeofday" = "yes"; then
43737 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43738 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43739 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43740 echo $ECHO_N "(cached) $ECHO_C" >&6
43741 else
43742
43743 cat >conftest.$ac_ext <<_ACEOF
43744 /* confdefs.h. */
43745 _ACEOF
43746 cat confdefs.h >>conftest.$ac_ext
43747 cat >>conftest.$ac_ext <<_ACEOF
43748 /* end confdefs.h. */
43749
43750 #include <sys/time.h>
43751 #include <unistd.h>
43752
43753 int
43754 main ()
43755 {
43756
43757 struct timeval tv;
43758 gettimeofday(&tv, NULL);
43759
43760 ;
43761 return 0;
43762 }
43763 _ACEOF
43764 rm -f conftest.$ac_objext
43765 if { (ac_try="$ac_compile"
43766 case "(($ac_try" in
43767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43768 *) ac_try_echo=$ac_try;;
43769 esac
43770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43771 (eval "$ac_compile") 2>conftest.er1
43772 ac_status=$?
43773 grep -v '^ *+' conftest.er1 >conftest.err
43774 rm -f conftest.er1
43775 cat conftest.err >&5
43776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43777 (exit $ac_status); } && {
43778 test -z "$ac_c_werror_flag" ||
43779 test ! -s conftest.err
43780 } && test -s conftest.$ac_objext; then
43781 wx_cv_func_gettimeofday_has_2_args=yes
43782 else
43783 echo "$as_me: failed program was:" >&5
43784 sed 's/^/| /' conftest.$ac_ext >&5
43785
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h. */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43792
43793 #include <sys/time.h>
43794 #include <unistd.h>
43795
43796 int
43797 main ()
43798 {
43799
43800 struct timeval tv;
43801 gettimeofday(&tv);
43802
43803 ;
43804 return 0;
43805 }
43806 _ACEOF
43807 rm -f conftest.$ac_objext
43808 if { (ac_try="$ac_compile"
43809 case "(($ac_try" in
43810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43811 *) ac_try_echo=$ac_try;;
43812 esac
43813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43814 (eval "$ac_compile") 2>conftest.er1
43815 ac_status=$?
43816 grep -v '^ *+' conftest.er1 >conftest.err
43817 rm -f conftest.er1
43818 cat conftest.err >&5
43819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43820 (exit $ac_status); } && {
43821 test -z "$ac_c_werror_flag" ||
43822 test ! -s conftest.err
43823 } && test -s conftest.$ac_objext; then
43824 wx_cv_func_gettimeofday_has_2_args=no
43825 else
43826 echo "$as_me: failed program was:" >&5
43827 sed 's/^/| /' conftest.$ac_ext >&5
43828
43829
43830 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43831 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43832 wx_cv_func_gettimeofday_has_2_args=unknown
43833
43834
43835 fi
43836
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838
43839 fi
43840
43841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43842
43843 fi
43844 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43845 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43846
43847 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43848 cat >>confdefs.h <<\_ACEOF
43849 #define WX_GETTIMEOFDAY_NO_TZ 1
43850 _ACEOF
43851
43852 fi
43853 fi
43854
43855 if test "$wxUSE_DATETIME" = "yes"; then
43856 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43857 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43858 if test "${wx_cv_var_timezone+set}" = set; then
43859 echo $ECHO_N "(cached) $ECHO_C" >&6
43860 else
43861
43862 ac_ext=cpp
43863 ac_cpp='$CXXCPP $CPPFLAGS'
43864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43867
43868 cat >conftest.$ac_ext <<_ACEOF
43869 /* confdefs.h. */
43870 _ACEOF
43871 cat confdefs.h >>conftest.$ac_ext
43872 cat >>conftest.$ac_ext <<_ACEOF
43873 /* end confdefs.h. */
43874
43875 #include <time.h>
43876
43877 int
43878 main ()
43879 {
43880
43881 int tz;
43882 tz = timezone;
43883
43884 ;
43885 return 0;
43886 }
43887 _ACEOF
43888 rm -f conftest.$ac_objext
43889 if { (ac_try="$ac_compile"
43890 case "(($ac_try" in
43891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43892 *) ac_try_echo=$ac_try;;
43893 esac
43894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43895 (eval "$ac_compile") 2>conftest.er1
43896 ac_status=$?
43897 grep -v '^ *+' conftest.er1 >conftest.err
43898 rm -f conftest.er1
43899 cat conftest.err >&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } && {
43902 test -z "$ac_cxx_werror_flag" ||
43903 test ! -s conftest.err
43904 } && test -s conftest.$ac_objext; then
43905
43906 wx_cv_var_timezone=timezone
43907
43908 else
43909 echo "$as_me: failed program was:" >&5
43910 sed 's/^/| /' conftest.$ac_ext >&5
43911
43912
43913 cat >conftest.$ac_ext <<_ACEOF
43914 /* confdefs.h. */
43915 _ACEOF
43916 cat confdefs.h >>conftest.$ac_ext
43917 cat >>conftest.$ac_ext <<_ACEOF
43918 /* end confdefs.h. */
43919
43920 #include <time.h>
43921
43922 int
43923 main ()
43924 {
43925
43926 int tz;
43927 tz = _timezone;
43928
43929 ;
43930 return 0;
43931 }
43932 _ACEOF
43933 rm -f conftest.$ac_objext
43934 if { (ac_try="$ac_compile"
43935 case "(($ac_try" in
43936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43937 *) ac_try_echo=$ac_try;;
43938 esac
43939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43940 (eval "$ac_compile") 2>conftest.er1
43941 ac_status=$?
43942 grep -v '^ *+' conftest.er1 >conftest.err
43943 rm -f conftest.er1
43944 cat conftest.err >&5
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); } && {
43947 test -z "$ac_cxx_werror_flag" ||
43948 test ! -s conftest.err
43949 } && test -s conftest.$ac_objext; then
43950
43951 wx_cv_var_timezone=_timezone
43952
43953 else
43954 echo "$as_me: failed program was:" >&5
43955 sed 's/^/| /' conftest.$ac_ext >&5
43956
43957
43958 cat >conftest.$ac_ext <<_ACEOF
43959 /* confdefs.h. */
43960 _ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964
43965 #include <time.h>
43966
43967 int
43968 main ()
43969 {
43970
43971 int tz;
43972 tz = __timezone;
43973
43974 ;
43975 return 0;
43976 }
43977 _ACEOF
43978 rm -f conftest.$ac_objext
43979 if { (ac_try="$ac_compile"
43980 case "(($ac_try" in
43981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43982 *) ac_try_echo=$ac_try;;
43983 esac
43984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43985 (eval "$ac_compile") 2>conftest.er1
43986 ac_status=$?
43987 grep -v '^ *+' conftest.er1 >conftest.err
43988 rm -f conftest.er1
43989 cat conftest.err >&5
43990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43991 (exit $ac_status); } && {
43992 test -z "$ac_cxx_werror_flag" ||
43993 test ! -s conftest.err
43994 } && test -s conftest.$ac_objext; then
43995
43996 wx_cv_var_timezone=__timezone
43997
43998 else
43999 echo "$as_me: failed program was:" >&5
44000 sed 's/^/| /' conftest.$ac_ext >&5
44001
44002
44003 if test "$USE_DOS" = 0 ; then
44004 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44005 echo "$as_me: WARNING: no timezone variable" >&2;}
44006 fi
44007
44008
44009 fi
44010
44011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44012
44013
44014 fi
44015
44016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44017
44018
44019 fi
44020
44021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44022 ac_ext=c
44023 ac_cpp='$CPP $CPPFLAGS'
44024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44027
44028
44029
44030 fi
44031 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44032 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44033
44034 if test "x$wx_cv_var_timezone" != x ; then
44035 cat >>confdefs.h <<_ACEOF
44036 #define WX_TIMEZONE $wx_cv_var_timezone
44037 _ACEOF
44038
44039 fi
44040
44041
44042 for ac_func in localtime
44043 do
44044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44047 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44048 echo $ECHO_N "(cached) $ECHO_C" >&6
44049 else
44050 cat >conftest.$ac_ext <<_ACEOF
44051 /* confdefs.h. */
44052 _ACEOF
44053 cat confdefs.h >>conftest.$ac_ext
44054 cat >>conftest.$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44058 #define $ac_func innocuous_$ac_func
44059
44060 /* System header to define __stub macros and hopefully few prototypes,
44061 which can conflict with char $ac_func (); below.
44062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44063 <limits.h> exists even on freestanding compilers. */
44064
44065 #ifdef __STDC__
44066 # include <limits.h>
44067 #else
44068 # include <assert.h>
44069 #endif
44070
44071 #undef $ac_func
44072
44073 /* Override any GCC internal prototype to avoid an error.
44074 Use char because int might match the return type of a GCC
44075 builtin and then its argument prototype would still apply. */
44076 #ifdef __cplusplus
44077 extern "C"
44078 #endif
44079 char $ac_func ();
44080 /* The GNU C library defines this for functions which it implements
44081 to always fail with ENOSYS. Some functions are actually named
44082 something starting with __ and the normal name is an alias. */
44083 #if defined __stub_$ac_func || defined __stub___$ac_func
44084 choke me
44085 #endif
44086
44087 int
44088 main ()
44089 {
44090 return $ac_func ();
44091 ;
44092 return 0;
44093 }
44094 _ACEOF
44095 rm -f conftest.$ac_objext conftest$ac_exeext
44096 if { (ac_try="$ac_link"
44097 case "(($ac_try" in
44098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44099 *) ac_try_echo=$ac_try;;
44100 esac
44101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44102 (eval "$ac_link") 2>conftest.er1
44103 ac_status=$?
44104 grep -v '^ *+' conftest.er1 >conftest.err
44105 rm -f conftest.er1
44106 cat conftest.err >&5
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); } && {
44109 test -z "$ac_c_werror_flag" ||
44110 test ! -s conftest.err
44111 } && test -s conftest$ac_exeext &&
44112 $as_test_x conftest$ac_exeext; then
44113 eval "$as_ac_var=yes"
44114 else
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.$ac_ext >&5
44117
44118 eval "$as_ac_var=no"
44119 fi
44120
44121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44122 conftest$ac_exeext conftest.$ac_ext
44123 fi
44124 ac_res=`eval echo '${'$as_ac_var'}'`
44125 { echo "$as_me:$LINENO: result: $ac_res" >&5
44126 echo "${ECHO_T}$ac_res" >&6; }
44127 if test `eval echo '${'$as_ac_var'}'` = yes; then
44128 cat >>confdefs.h <<_ACEOF
44129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44130 _ACEOF
44131
44132 fi
44133 done
44134
44135
44136 if test "$ac_cv_func_localtime" = "yes"; then
44137 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44138 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44139 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44140 echo $ECHO_N "(cached) $ECHO_C" >&6
44141 else
44142
44143 cat >conftest.$ac_ext <<_ACEOF
44144 /* confdefs.h. */
44145 _ACEOF
44146 cat confdefs.h >>conftest.$ac_ext
44147 cat >>conftest.$ac_ext <<_ACEOF
44148 /* end confdefs.h. */
44149
44150 #include <time.h>
44151
44152 int
44153 main ()
44154 {
44155
44156 struct tm tm;
44157 tm.tm_gmtoff++;
44158
44159 ;
44160 return 0;
44161 }
44162 _ACEOF
44163 rm -f conftest.$ac_objext
44164 if { (ac_try="$ac_compile"
44165 case "(($ac_try" in
44166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44167 *) ac_try_echo=$ac_try;;
44168 esac
44169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44170 (eval "$ac_compile") 2>conftest.er1
44171 ac_status=$?
44172 grep -v '^ *+' conftest.er1 >conftest.err
44173 rm -f conftest.er1
44174 cat conftest.err >&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); } && {
44177 test -z "$ac_c_werror_flag" ||
44178 test ! -s conftest.err
44179 } && test -s conftest.$ac_objext; then
44180
44181 wx_cv_struct_tm_has_gmtoff=yes
44182
44183 else
44184 echo "$as_me: failed program was:" >&5
44185 sed 's/^/| /' conftest.$ac_ext >&5
44186
44187 wx_cv_struct_tm_has_gmtoff=no
44188
44189 fi
44190
44191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44192
44193 fi
44194 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44195 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44196 fi
44197
44198 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define WX_GMTOFF_IN_TM 1
44201 _ACEOF
44202
44203 fi
44204
44205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44206 fi
44207
44208
44209 if test "$wxUSE_SOCKETS" = "yes"; then
44210 if test "$wxUSE_MGL" = 1; then
44211 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44212 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44213 wxUSE_SOCKETS="no"
44214 fi
44215 fi
44216
44217 if test "$wxUSE_SOCKETS" = "yes"; then
44218 if test "$TOOLKIT" != "MSW"; then
44219 { echo "$as_me:$LINENO: checking for socket" >&5
44220 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44221 if test "${ac_cv_func_socket+set}" = set; then
44222 echo $ECHO_N "(cached) $ECHO_C" >&6
44223 else
44224 cat >conftest.$ac_ext <<_ACEOF
44225 /* confdefs.h. */
44226 _ACEOF
44227 cat confdefs.h >>conftest.$ac_ext
44228 cat >>conftest.$ac_ext <<_ACEOF
44229 /* end confdefs.h. */
44230 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44232 #define socket innocuous_socket
44233
44234 /* System header to define __stub macros and hopefully few prototypes,
44235 which can conflict with char socket (); below.
44236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44237 <limits.h> exists even on freestanding compilers. */
44238
44239 #ifdef __STDC__
44240 # include <limits.h>
44241 #else
44242 # include <assert.h>
44243 #endif
44244
44245 #undef socket
44246
44247 /* Override any GCC internal prototype to avoid an error.
44248 Use char because int might match the return type of a GCC
44249 builtin and then its argument prototype would still apply. */
44250 #ifdef __cplusplus
44251 extern "C"
44252 #endif
44253 char socket ();
44254 /* The GNU C library defines this for functions which it implements
44255 to always fail with ENOSYS. Some functions are actually named
44256 something starting with __ and the normal name is an alias. */
44257 #if defined __stub_socket || defined __stub___socket
44258 choke me
44259 #endif
44260
44261 int
44262 main ()
44263 {
44264 return socket ();
44265 ;
44266 return 0;
44267 }
44268 _ACEOF
44269 rm -f conftest.$ac_objext conftest$ac_exeext
44270 if { (ac_try="$ac_link"
44271 case "(($ac_try" in
44272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44273 *) ac_try_echo=$ac_try;;
44274 esac
44275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44276 (eval "$ac_link") 2>conftest.er1
44277 ac_status=$?
44278 grep -v '^ *+' conftest.er1 >conftest.err
44279 rm -f conftest.er1
44280 cat conftest.err >&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); } && {
44283 test -z "$ac_c_werror_flag" ||
44284 test ! -s conftest.err
44285 } && test -s conftest$ac_exeext &&
44286 $as_test_x conftest$ac_exeext; then
44287 ac_cv_func_socket=yes
44288 else
44289 echo "$as_me: failed program was:" >&5
44290 sed 's/^/| /' conftest.$ac_ext >&5
44291
44292 ac_cv_func_socket=no
44293 fi
44294
44295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44296 conftest$ac_exeext conftest.$ac_ext
44297 fi
44298 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44299 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44300 if test $ac_cv_func_socket = yes; then
44301 :
44302 else
44303
44304 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44305 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44306 if test "${ac_cv_lib_socket_socket+set}" = set; then
44307 echo $ECHO_N "(cached) $ECHO_C" >&6
44308 else
44309 ac_check_lib_save_LIBS=$LIBS
44310 LIBS="-lsocket $LIBS"
44311 cat >conftest.$ac_ext <<_ACEOF
44312 /* confdefs.h. */
44313 _ACEOF
44314 cat confdefs.h >>conftest.$ac_ext
44315 cat >>conftest.$ac_ext <<_ACEOF
44316 /* end confdefs.h. */
44317
44318 /* Override any GCC internal prototype to avoid an error.
44319 Use char because int might match the return type of a GCC
44320 builtin and then its argument prototype would still apply. */
44321 #ifdef __cplusplus
44322 extern "C"
44323 #endif
44324 char socket ();
44325 int
44326 main ()
44327 {
44328 return socket ();
44329 ;
44330 return 0;
44331 }
44332 _ACEOF
44333 rm -f conftest.$ac_objext conftest$ac_exeext
44334 if { (ac_try="$ac_link"
44335 case "(($ac_try" in
44336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44337 *) ac_try_echo=$ac_try;;
44338 esac
44339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44340 (eval "$ac_link") 2>conftest.er1
44341 ac_status=$?
44342 grep -v '^ *+' conftest.er1 >conftest.err
44343 rm -f conftest.er1
44344 cat conftest.err >&5
44345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44346 (exit $ac_status); } && {
44347 test -z "$ac_c_werror_flag" ||
44348 test ! -s conftest.err
44349 } && test -s conftest$ac_exeext &&
44350 $as_test_x conftest$ac_exeext; then
44351 ac_cv_lib_socket_socket=yes
44352 else
44353 echo "$as_me: failed program was:" >&5
44354 sed 's/^/| /' conftest.$ac_ext >&5
44355
44356 ac_cv_lib_socket_socket=no
44357 fi
44358
44359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44360 conftest$ac_exeext conftest.$ac_ext
44361 LIBS=$ac_check_lib_save_LIBS
44362 fi
44363 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44364 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44365 if test $ac_cv_lib_socket_socket = yes; then
44366 if test "$INET_LINK" != " -lsocket"; then
44367 INET_LINK="$INET_LINK -lsocket"
44368 fi
44369 else
44370
44371 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44372 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44373 wxUSE_SOCKETS=no
44374
44375
44376 fi
44377
44378
44379
44380 fi
44381
44382 fi
44383 fi
44384
44385 if test "$wxUSE_SOCKETS" = "yes" ; then
44386 if test "$TOOLKIT" != "MSW"; then
44387 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44388 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44389 if test "${wx_cv_type_getsockname3+set}" = set; then
44390 echo $ECHO_N "(cached) $ECHO_C" >&6
44391 else
44392
44393 ac_ext=cpp
44394 ac_cpp='$CXXCPP $CPPFLAGS'
44395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44398
44399 cat >conftest.$ac_ext <<_ACEOF
44400 /* confdefs.h. */
44401 _ACEOF
44402 cat confdefs.h >>conftest.$ac_ext
44403 cat >>conftest.$ac_ext <<_ACEOF
44404 /* end confdefs.h. */
44405
44406 #include <sys/types.h>
44407 #include <sys/socket.h>
44408
44409 int
44410 main ()
44411 {
44412
44413 socklen_t len;
44414 getsockname(0, 0, &len);
44415
44416 ;
44417 return 0;
44418 }
44419 _ACEOF
44420 rm -f conftest.$ac_objext
44421 if { (ac_try="$ac_compile"
44422 case "(($ac_try" in
44423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44424 *) ac_try_echo=$ac_try;;
44425 esac
44426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 (eval "$ac_compile") 2>conftest.er1
44428 ac_status=$?
44429 grep -v '^ *+' conftest.er1 >conftest.err
44430 rm -f conftest.er1
44431 cat conftest.err >&5
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); } && {
44434 test -z "$ac_cxx_werror_flag" ||
44435 test ! -s conftest.err
44436 } && test -s conftest.$ac_objext; then
44437 wx_cv_type_getsockname3=socklen_t
44438 else
44439 echo "$as_me: failed program was:" >&5
44440 sed 's/^/| /' conftest.$ac_ext >&5
44441
44442
44443 CFLAGS_OLD="$CFLAGS"
44444 if test "$GCC" = yes ; then
44445 CFLAGS="-Werror $CFLAGS"
44446 fi
44447
44448 cat >conftest.$ac_ext <<_ACEOF
44449 /* confdefs.h. */
44450 _ACEOF
44451 cat confdefs.h >>conftest.$ac_ext
44452 cat >>conftest.$ac_ext <<_ACEOF
44453 /* end confdefs.h. */
44454
44455 #include <sys/types.h>
44456 #include <sys/socket.h>
44457
44458 int
44459 main ()
44460 {
44461
44462 size_t len;
44463 getsockname(0, 0, &len);
44464
44465 ;
44466 return 0;
44467 }
44468 _ACEOF
44469 rm -f conftest.$ac_objext
44470 if { (ac_try="$ac_compile"
44471 case "(($ac_try" in
44472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44473 *) ac_try_echo=$ac_try;;
44474 esac
44475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44476 (eval "$ac_compile") 2>conftest.er1
44477 ac_status=$?
44478 grep -v '^ *+' conftest.er1 >conftest.err
44479 rm -f conftest.er1
44480 cat conftest.err >&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); } && {
44483 test -z "$ac_cxx_werror_flag" ||
44484 test ! -s conftest.err
44485 } && test -s conftest.$ac_objext; then
44486 wx_cv_type_getsockname3=size_t
44487 else
44488 echo "$as_me: failed program was:" >&5
44489 sed 's/^/| /' conftest.$ac_ext >&5
44490
44491 cat >conftest.$ac_ext <<_ACEOF
44492 /* confdefs.h. */
44493 _ACEOF
44494 cat confdefs.h >>conftest.$ac_ext
44495 cat >>conftest.$ac_ext <<_ACEOF
44496 /* end confdefs.h. */
44497
44498 #include <sys/types.h>
44499 #include <sys/socket.h>
44500
44501 int
44502 main ()
44503 {
44504
44505 int len;
44506 getsockname(0, 0, &len);
44507
44508 ;
44509 return 0;
44510 }
44511 _ACEOF
44512 rm -f conftest.$ac_objext
44513 if { (ac_try="$ac_compile"
44514 case "(($ac_try" in
44515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44516 *) ac_try_echo=$ac_try;;
44517 esac
44518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44519 (eval "$ac_compile") 2>conftest.er1
44520 ac_status=$?
44521 grep -v '^ *+' conftest.er1 >conftest.err
44522 rm -f conftest.er1
44523 cat conftest.err >&5
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); } && {
44526 test -z "$ac_cxx_werror_flag" ||
44527 test ! -s conftest.err
44528 } && test -s conftest.$ac_objext; then
44529 wx_cv_type_getsockname3=int
44530 else
44531 echo "$as_me: failed program was:" >&5
44532 sed 's/^/| /' conftest.$ac_ext >&5
44533
44534 wx_cv_type_getsockname3=unknown
44535
44536 fi
44537
44538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44539
44540 fi
44541
44542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44543
44544 CFLAGS="$CFLAGS_OLD"
44545
44546
44547 fi
44548
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44555
44556
44557 fi
44558 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44559 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44560
44561 if test "$wx_cv_type_getsockname3" = "unknown"; then
44562 wxUSE_SOCKETS=no
44563 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44564 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44565 else
44566 cat >>confdefs.h <<_ACEOF
44567 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44568 _ACEOF
44569
44570 fi
44571 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44572 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44573 if test "${wx_cv_type_getsockopt5+set}" = set; then
44574 echo $ECHO_N "(cached) $ECHO_C" >&6
44575 else
44576
44577 ac_ext=cpp
44578 ac_cpp='$CXXCPP $CPPFLAGS'
44579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44582
44583 cat >conftest.$ac_ext <<_ACEOF
44584 /* confdefs.h. */
44585 _ACEOF
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44589
44590 #include <sys/types.h>
44591 #include <sys/socket.h>
44592
44593 int
44594 main ()
44595 {
44596
44597 socklen_t len;
44598 getsockopt(0, 0, 0, 0, &len);
44599
44600 ;
44601 return 0;
44602 }
44603 _ACEOF
44604 rm -f conftest.$ac_objext
44605 if { (ac_try="$ac_compile"
44606 case "(($ac_try" in
44607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44608 *) ac_try_echo=$ac_try;;
44609 esac
44610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44611 (eval "$ac_compile") 2>conftest.er1
44612 ac_status=$?
44613 grep -v '^ *+' conftest.er1 >conftest.err
44614 rm -f conftest.er1
44615 cat conftest.err >&5
44616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44617 (exit $ac_status); } && {
44618 test -z "$ac_cxx_werror_flag" ||
44619 test ! -s conftest.err
44620 } && test -s conftest.$ac_objext; then
44621 wx_cv_type_getsockopt5=socklen_t
44622 else
44623 echo "$as_me: failed program was:" >&5
44624 sed 's/^/| /' conftest.$ac_ext >&5
44625
44626
44627 cat >conftest.$ac_ext <<_ACEOF
44628 /* confdefs.h. */
44629 _ACEOF
44630 cat confdefs.h >>conftest.$ac_ext
44631 cat >>conftest.$ac_ext <<_ACEOF
44632 /* end confdefs.h. */
44633
44634 #include <sys/types.h>
44635 #include <sys/socket.h>
44636
44637 int
44638 main ()
44639 {
44640
44641 size_t len;
44642 getsockopt(0, 0, 0, 0, &len);
44643
44644 ;
44645 return 0;
44646 }
44647 _ACEOF
44648 rm -f conftest.$ac_objext
44649 if { (ac_try="$ac_compile"
44650 case "(($ac_try" in
44651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44652 *) ac_try_echo=$ac_try;;
44653 esac
44654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44655 (eval "$ac_compile") 2>conftest.er1
44656 ac_status=$?
44657 grep -v '^ *+' conftest.er1 >conftest.err
44658 rm -f conftest.er1
44659 cat conftest.err >&5
44660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44661 (exit $ac_status); } && {
44662 test -z "$ac_cxx_werror_flag" ||
44663 test ! -s conftest.err
44664 } && test -s conftest.$ac_objext; then
44665 wx_cv_type_getsockopt5=size_t
44666 else
44667 echo "$as_me: failed program was:" >&5
44668 sed 's/^/| /' conftest.$ac_ext >&5
44669
44670 cat >conftest.$ac_ext <<_ACEOF
44671 /* confdefs.h. */
44672 _ACEOF
44673 cat confdefs.h >>conftest.$ac_ext
44674 cat >>conftest.$ac_ext <<_ACEOF
44675 /* end confdefs.h. */
44676
44677 #include <sys/types.h>
44678 #include <sys/socket.h>
44679
44680 int
44681 main ()
44682 {
44683
44684 int len;
44685 getsockopt(0, 0, 0, 0, &len);
44686
44687 ;
44688 return 0;
44689 }
44690 _ACEOF
44691 rm -f conftest.$ac_objext
44692 if { (ac_try="$ac_compile"
44693 case "(($ac_try" in
44694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44695 *) ac_try_echo=$ac_try;;
44696 esac
44697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44698 (eval "$ac_compile") 2>conftest.er1
44699 ac_status=$?
44700 grep -v '^ *+' conftest.er1 >conftest.err
44701 rm -f conftest.er1
44702 cat conftest.err >&5
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); } && {
44705 test -z "$ac_cxx_werror_flag" ||
44706 test ! -s conftest.err
44707 } && test -s conftest.$ac_objext; then
44708 wx_cv_type_getsockopt5=int
44709 else
44710 echo "$as_me: failed program was:" >&5
44711 sed 's/^/| /' conftest.$ac_ext >&5
44712
44713 wx_cv_type_getsockopt5=unknown
44714
44715 fi
44716
44717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44718
44719 fi
44720
44721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44722
44723
44724 fi
44725
44726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44727 ac_ext=c
44728 ac_cpp='$CPP $CPPFLAGS'
44729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44732
44733
44734 fi
44735 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44736 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44737
44738 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44739 wxUSE_SOCKETS=no
44740 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44741 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44742 else
44743 cat >>confdefs.h <<_ACEOF
44744 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44745 _ACEOF
44746
44747 fi
44748 fi
44749 fi
44750
44751 if test "$wxUSE_SOCKETS" = "yes" ; then
44752 if test "$wxUSE_IPV6" = "yes"; then
44753 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44754 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44755 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44756 echo $ECHO_N "(cached) $ECHO_C" >&6
44757 else
44758
44759 cat >conftest.$ac_ext <<_ACEOF
44760 /* confdefs.h. */
44761 _ACEOF
44762 cat confdefs.h >>conftest.$ac_ext
44763 cat >>conftest.$ac_ext <<_ACEOF
44764 /* end confdefs.h. */
44765
44766 #include <sys/types.h>
44767 #include <sys/socket.h>
44768 #include <netinet/in.h>
44769
44770 int
44771 main ()
44772 {
44773
44774 struct sockaddr_in6 sa6;
44775
44776 ;
44777 return 0;
44778 }
44779 _ACEOF
44780 rm -f conftest.$ac_objext
44781 if { (ac_try="$ac_compile"
44782 case "(($ac_try" in
44783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44784 *) ac_try_echo=$ac_try;;
44785 esac
44786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44787 (eval "$ac_compile") 2>conftest.er1
44788 ac_status=$?
44789 grep -v '^ *+' conftest.er1 >conftest.err
44790 rm -f conftest.er1
44791 cat conftest.err >&5
44792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44793 (exit $ac_status); } && {
44794 test -z "$ac_c_werror_flag" ||
44795 test ! -s conftest.err
44796 } && test -s conftest.$ac_objext; then
44797 wx_cv_type_sockaddr_in6=yes
44798 else
44799 echo "$as_me: failed program was:" >&5
44800 sed 's/^/| /' conftest.$ac_ext >&5
44801
44802 wx_cv_type_sockaddr_in6=no
44803
44804 fi
44805
44806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44807
44808
44809 fi
44810 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44811 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44812
44813 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_IPV6 1
44816 _ACEOF
44817
44818 else
44819 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44820 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44821 fi
44822 fi
44823
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_SOCKETS 1
44826 _ACEOF
44827
44828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44829 fi
44830
44831 if test "$wxUSE_PROTOCOL" = "yes"; then
44832 if test "$wxUSE_SOCKETS" != "yes"; then
44833 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44834 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44835 wxUSE_PROTOCOL=no
44836 fi
44837 fi
44838
44839 if test "$wxUSE_PROTOCOL" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_PROTOCOL 1
44842 _ACEOF
44843
44844
44845 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_PROTOCOL_HTTP 1
44848 _ACEOF
44849
44850 fi
44851 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44852 cat >>confdefs.h <<\_ACEOF
44853 #define wxUSE_PROTOCOL_FTP 1
44854 _ACEOF
44855
44856 fi
44857 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44858 cat >>confdefs.h <<\_ACEOF
44859 #define wxUSE_PROTOCOL_FILE 1
44860 _ACEOF
44861
44862 fi
44863 else
44864 if test "$wxUSE_FS_INET" = "yes"; then
44865 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44866 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44867 wxUSE_FS_INET="no"
44868 fi
44869 fi
44870
44871 if test "$wxUSE_URL" = "yes"; then
44872 if test "$wxUSE_PROTOCOL" != "yes"; then
44873 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44874 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44875 wxUSE_URL=no
44876 fi
44877 if test "$wxUSE_URL" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_URL 1
44880 _ACEOF
44881
44882 fi
44883 fi
44884
44885 if test "$wxUSE_VARIANT" = "yes"; then
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_VARIANT 1
44888 _ACEOF
44889
44890 fi
44891
44892 if test "$wxUSE_FS_INET" = "yes"; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_FS_INET 1
44895 _ACEOF
44896
44897 fi
44898
44899
44900 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44901 wxUSE_JOYSTICK=no
44902
44903 if test "$TOOLKIT" = "MSW"; then
44904 wxUSE_JOYSTICK=yes
44905
44906 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44907 if test "$USE_DARWIN" = 1; then
44908 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44909 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44910 ac_ext=cpp
44911 ac_cpp='$CXXCPP $CPPFLAGS'
44912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44915
44916 cat >conftest.$ac_ext <<_ACEOF
44917 /* confdefs.h. */
44918 _ACEOF
44919 cat confdefs.h >>conftest.$ac_ext
44920 cat >>conftest.$ac_ext <<_ACEOF
44921 /* end confdefs.h. */
44922 #include <IOKit/hid/IOHIDLib.h>
44923 int
44924 main ()
44925 {
44926 IOHIDQueueInterface *qi = NULL;
44927 IOHIDCallbackFunction cb = NULL;
44928 qi->setEventCallout(NULL, cb, NULL, NULL);
44929 ;
44930 return 0;
44931 }
44932 _ACEOF
44933 rm -f conftest.$ac_objext
44934 if { (ac_try="$ac_compile"
44935 case "(($ac_try" in
44936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44937 *) ac_try_echo=$ac_try;;
44938 esac
44939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44940 (eval "$ac_compile") 2>conftest.er1
44941 ac_status=$?
44942 grep -v '^ *+' conftest.er1 >conftest.err
44943 rm -f conftest.er1
44944 cat conftest.err >&5
44945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946 (exit $ac_status); } && {
44947 test -z "$ac_cxx_werror_flag" ||
44948 test ! -s conftest.err
44949 } && test -s conftest.$ac_objext; then
44950 wxUSE_JOYSTICK=yes
44951
44952 else
44953 echo "$as_me: failed program was:" >&5
44954 sed 's/^/| /' conftest.$ac_ext >&5
44955
44956
44957 fi
44958
44959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44960 ac_ext=c
44961 ac_cpp='$CPP $CPPFLAGS'
44962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44965
44966 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44967 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44968 fi
44969
44970 else
44971 if test "$wxUSE_MGL" != 1; then
44972
44973 for ac_header in linux/joystick.h
44974 do
44975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44976 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44979 echo $ECHO_N "(cached) $ECHO_C" >&6
44980 else
44981 cat >conftest.$ac_ext <<_ACEOF
44982 /* confdefs.h. */
44983 _ACEOF
44984 cat confdefs.h >>conftest.$ac_ext
44985 cat >>conftest.$ac_ext <<_ACEOF
44986 /* end confdefs.h. */
44987 $ac_includes_default
44988
44989 #include <$ac_header>
44990 _ACEOF
44991 rm -f conftest.$ac_objext
44992 if { (ac_try="$ac_compile"
44993 case "(($ac_try" in
44994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44995 *) ac_try_echo=$ac_try;;
44996 esac
44997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44998 (eval "$ac_compile") 2>conftest.er1
44999 ac_status=$?
45000 grep -v '^ *+' conftest.er1 >conftest.err
45001 rm -f conftest.er1
45002 cat conftest.err >&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); } && {
45005 test -z "$ac_c_werror_flag" ||
45006 test ! -s conftest.err
45007 } && test -s conftest.$ac_objext; then
45008 eval "$as_ac_Header=yes"
45009 else
45010 echo "$as_me: failed program was:" >&5
45011 sed 's/^/| /' conftest.$ac_ext >&5
45012
45013 eval "$as_ac_Header=no"
45014 fi
45015
45016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45017 fi
45018 ac_res=`eval echo '${'$as_ac_Header'}'`
45019 { echo "$as_me:$LINENO: result: $ac_res" >&5
45020 echo "${ECHO_T}$ac_res" >&6; }
45021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45022 cat >>confdefs.h <<_ACEOF
45023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45024 _ACEOF
45025 wxUSE_JOYSTICK=yes
45026 fi
45027
45028 done
45029
45030 fi
45031 fi
45032
45033 if test "$wxUSE_JOYSTICK" = "yes"; then
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_JOYSTICK 1
45036 _ACEOF
45037
45038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45039 else
45040 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45041 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45042 fi
45043 fi
45044
45045
45046
45047 if test "$wxUSE_FONTENUM" = "yes" ; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_FONTENUM 1
45050 _ACEOF
45051
45052 fi
45053
45054 if test "$wxUSE_FONTMAP" = "yes" ; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_FONTMAP 1
45057 _ACEOF
45058
45059 fi
45060
45061 if test "$wxUSE_UNICODE" = "yes" ; then
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_UNICODE 1
45064 _ACEOF
45065
45066
45067 if test "$USE_WIN32" != 1; then
45068 wxUSE_UNICODE_MSLU=no
45069 fi
45070
45071 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45072 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45073 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45074 if test "${ac_cv_lib_unicows_main+set}" = set; then
45075 echo $ECHO_N "(cached) $ECHO_C" >&6
45076 else
45077 ac_check_lib_save_LIBS=$LIBS
45078 LIBS="-lunicows $LIBS"
45079 cat >conftest.$ac_ext <<_ACEOF
45080 /* confdefs.h. */
45081 _ACEOF
45082 cat confdefs.h >>conftest.$ac_ext
45083 cat >>conftest.$ac_ext <<_ACEOF
45084 /* end confdefs.h. */
45085
45086
45087 int
45088 main ()
45089 {
45090 return main ();
45091 ;
45092 return 0;
45093 }
45094 _ACEOF
45095 rm -f conftest.$ac_objext conftest$ac_exeext
45096 if { (ac_try="$ac_link"
45097 case "(($ac_try" in
45098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45099 *) ac_try_echo=$ac_try;;
45100 esac
45101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45102 (eval "$ac_link") 2>conftest.er1
45103 ac_status=$?
45104 grep -v '^ *+' conftest.er1 >conftest.err
45105 rm -f conftest.er1
45106 cat conftest.err >&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); } && {
45109 test -z "$ac_c_werror_flag" ||
45110 test ! -s conftest.err
45111 } && test -s conftest$ac_exeext &&
45112 $as_test_x conftest$ac_exeext; then
45113 ac_cv_lib_unicows_main=yes
45114 else
45115 echo "$as_me: failed program was:" >&5
45116 sed 's/^/| /' conftest.$ac_ext >&5
45117
45118 ac_cv_lib_unicows_main=no
45119 fi
45120
45121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45122 conftest$ac_exeext conftest.$ac_ext
45123 LIBS=$ac_check_lib_save_LIBS
45124 fi
45125 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45126 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45127 if test $ac_cv_lib_unicows_main = yes; then
45128
45129 cat >>confdefs.h <<\_ACEOF
45130 #define wxUSE_UNICODE_MSLU 1
45131 _ACEOF
45132
45133
45134 else
45135
45136 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45137 Applications will only run on Windows NT/2000/XP!" >&5
45138 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45139 Applications will only run on Windows NT/2000/XP!" >&2;}
45140 wxUSE_UNICODE_MSLU=no
45141
45142 fi
45143
45144 fi
45145 fi
45146
45147 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_UNICODE_UTF8 1
45150 _ACEOF
45151
45152
45153 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_UTF8_LOCALE_ONLY 1
45156 _ACEOF
45157
45158 fi
45159 fi
45160
45161
45162 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_CONSTRAINTS 1
45165 _ACEOF
45166
45167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45168 fi
45169
45170 if test "$wxUSE_MDI" = "yes"; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_MDI 1
45173 _ACEOF
45174
45175
45176 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_MDI_ARCHITECTURE 1
45179 _ACEOF
45180
45181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45182 fi
45183 fi
45184
45185 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45188 _ACEOF
45189
45190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45191 fi
45192
45193 if test "$wxUSE_HELP" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_HELP 1
45196 _ACEOF
45197
45198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45199
45200 if test "$wxUSE_MSW" = 1; then
45201 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_MS_HTML_HELP 1
45204 _ACEOF
45205
45206 fi
45207 fi
45208
45209 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45210 if test "$wxUSE_HTML" = "yes"; then
45211 cat >>confdefs.h <<\_ACEOF
45212 #define wxUSE_WXHTML_HELP 1
45213 _ACEOF
45214
45215 else
45216 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45217 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45218 wxUSE_WXHTML_HELP=no
45219 fi
45220 fi
45221 fi
45222
45223 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_PRINTING_ARCHITECTURE 1
45226 _ACEOF
45227
45228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45229 fi
45230
45231 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_POSTSCRIPT 1
45234 _ACEOF
45235
45236 fi
45237
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45240 _ACEOF
45241
45242
45243 if test "$wxUSE_SVG" = "yes"; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_SVG 1
45246 _ACEOF
45247
45248 fi
45249
45250
45251 if test "$wxUSE_METAFILE" = "yes"; then
45252 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45253 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45254 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45255 wxUSE_METAFILE=no
45256 fi
45257 fi
45258
45259
45260 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45261 -o "$wxUSE_CLIPBOARD" = "yes" \
45262 -o "$wxUSE_OLE" = "yes" \
45263 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45264 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45265 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45266 if test "${ac_cv_header_ole2_h+set}" = set; then
45267 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 else
45269 cat >conftest.$ac_ext <<_ACEOF
45270 /* confdefs.h. */
45271 _ACEOF
45272 cat confdefs.h >>conftest.$ac_ext
45273 cat >>conftest.$ac_ext <<_ACEOF
45274 /* end confdefs.h. */
45275
45276
45277 #include <ole2.h>
45278 _ACEOF
45279 rm -f conftest.$ac_objext
45280 if { (ac_try="$ac_compile"
45281 case "(($ac_try" in
45282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45283 *) ac_try_echo=$ac_try;;
45284 esac
45285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45286 (eval "$ac_compile") 2>conftest.er1
45287 ac_status=$?
45288 grep -v '^ *+' conftest.er1 >conftest.err
45289 rm -f conftest.er1
45290 cat conftest.err >&5
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); } && {
45293 test -z "$ac_c_werror_flag" ||
45294 test ! -s conftest.err
45295 } && test -s conftest.$ac_objext; then
45296 ac_cv_header_ole2_h=yes
45297 else
45298 echo "$as_me: failed program was:" >&5
45299 sed 's/^/| /' conftest.$ac_ext >&5
45300
45301 ac_cv_header_ole2_h=no
45302 fi
45303
45304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45305 fi
45306 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45307 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45308
45309
45310
45311 if test "$ac_cv_header_ole2_h" = "yes" ; then
45312 if test "$GCC" = yes ; then
45313 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45314 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45315 cat >conftest.$ac_ext <<_ACEOF
45316 /* confdefs.h. */
45317 _ACEOF
45318 cat confdefs.h >>conftest.$ac_ext
45319 cat >>conftest.$ac_ext <<_ACEOF
45320 /* end confdefs.h. */
45321 #include <windows.h>
45322 #include <ole2.h>
45323 int
45324 main ()
45325 {
45326
45327 ;
45328 return 0;
45329 }
45330 _ACEOF
45331 rm -f conftest.$ac_objext
45332 if { (ac_try="$ac_compile"
45333 case "(($ac_try" in
45334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45335 *) ac_try_echo=$ac_try;;
45336 esac
45337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45338 (eval "$ac_compile") 2>conftest.er1
45339 ac_status=$?
45340 grep -v '^ *+' conftest.er1 >conftest.err
45341 rm -f conftest.er1
45342 cat conftest.err >&5
45343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45344 (exit $ac_status); } && {
45345 test -z "$ac_c_werror_flag" ||
45346 test ! -s conftest.err
45347 } && test -s conftest.$ac_objext; then
45348 { echo "$as_me:$LINENO: result: no" >&5
45349 echo "${ECHO_T}no" >&6; }
45350 else
45351 echo "$as_me: failed program was:" >&5
45352 sed 's/^/| /' conftest.$ac_ext >&5
45353
45354 { echo "$as_me:$LINENO: result: yes" >&5
45355 echo "${ECHO_T}yes" >&6; }
45356 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45357 fi
45358
45359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45360 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45361 if test "$wxUSE_OLE" = "yes" ; then
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_OLE 1
45364 _ACEOF
45365
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_OLE_AUTOMATION 1
45368 _ACEOF
45369
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_ACTIVEX 1
45372 _ACEOF
45373
45374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45375 fi
45376 fi
45377
45378 if test "$wxUSE_DATAOBJ" = "yes" ; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_DATAOBJ 1
45381 _ACEOF
45382
45383 fi
45384 else
45385 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45386 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45387
45388 wxUSE_CLIPBOARD=no
45389 wxUSE_DRAG_AND_DROP=no
45390 wxUSE_DATAOBJ=no
45391 wxUSE_OLE=no
45392 fi
45393
45394 if test "$wxUSE_METAFILE" = "yes"; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_METAFILE 1
45397 _ACEOF
45398
45399
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_ENH_METAFILE 1
45402 _ACEOF
45403
45404 fi
45405 fi
45406
45407 if test "$wxUSE_IPC" = "yes"; then
45408 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45409 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45410 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45411 wxUSE_IPC=no
45412 fi
45413
45414 if test "$wxUSE_IPC" = "yes"; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_IPC 1
45417 _ACEOF
45418
45419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45420 fi
45421 fi
45422
45423 if test "$wxUSE_DATAOBJ" = "yes"; then
45424 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45425 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45426 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45427 wxUSE_DATAOBJ=no
45428 else
45429 cat >>confdefs.h <<\_ACEOF
45430 #define wxUSE_DATAOBJ 1
45431 _ACEOF
45432
45433 fi
45434 else
45435 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45436 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45437 wxUSE_CLIPBOARD=no
45438 wxUSE_DRAG_AND_DROP=no
45439 fi
45440
45441 if test "$wxUSE_CLIPBOARD" = "yes"; then
45442 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45443 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45444 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45445 wxUSE_CLIPBOARD=no
45446 fi
45447
45448 if test "$wxUSE_CLIPBOARD" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_CLIPBOARD 1
45451 _ACEOF
45452
45453 fi
45454 fi
45455
45456 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45457 if test "$wxUSE_GTK" = 1; then
45458 if test "$WXGTK12" != 1; then
45459 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45460 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45461 wxUSE_DRAG_AND_DROP=no
45462 fi
45463 fi
45464
45465 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45466 "$wxUSE_DFB" = 1; then
45467 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45468 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45469 wxUSE_DRAG_AND_DROP=no
45470 fi
45471
45472 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45473 cat >>confdefs.h <<\_ACEOF
45474 #define wxUSE_DRAG_AND_DROP 1
45475 _ACEOF
45476
45477 fi
45478
45479 fi
45480
45481 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45483 fi
45484
45485 if test "$wxUSE_CLIPBOARD" = "yes"; then
45486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45487 fi
45488
45489 if test "$wxUSE_SPLINES" = "yes" ; then
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_SPLINES 1
45492 _ACEOF
45493
45494 fi
45495
45496 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_MOUSEWHEEL 1
45499 _ACEOF
45500
45501 fi
45502
45503
45504 USES_CONTROLS=0
45505 if test "$wxUSE_CONTROLS" = "yes"; then
45506 USES_CONTROLS=1
45507 fi
45508
45509 if test "$wxUSE_ACCEL" = "yes"; then
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_ACCEL 1
45512 _ACEOF
45513
45514 USES_CONTROLS=1
45515 fi
45516
45517 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_ANIMATIONCTRL 1
45520 _ACEOF
45521
45522 USES_CONTROLS=1
45523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45524 fi
45525
45526 if test "$wxUSE_BUTTON" = "yes"; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_BUTTON 1
45529 _ACEOF
45530
45531 USES_CONTROLS=1
45532 fi
45533
45534 if test "$wxUSE_BMPBUTTON" = "yes"; then
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_BMPBUTTON 1
45537 _ACEOF
45538
45539 USES_CONTROLS=1
45540 fi
45541
45542 if test "$wxUSE_CALCTRL" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_CALENDARCTRL 1
45545 _ACEOF
45546
45547 USES_CONTROLS=1
45548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45549 fi
45550
45551 if test "$wxUSE_CARET" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_CARET 1
45554 _ACEOF
45555
45556 USES_CONTROLS=1
45557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45558 fi
45559
45560 if test "$wxUSE_COLLPANE" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_COLLPANE 1
45563 _ACEOF
45564
45565 USES_CONTROLS=1
45566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45567 fi
45568
45569 if test "$wxUSE_COMBOBOX" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_COMBOBOX 1
45572 _ACEOF
45573
45574 USES_CONTROLS=1
45575 fi
45576
45577 if test "$wxUSE_COMBOCTRL" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_COMBOCTRL 1
45580 _ACEOF
45581
45582 USES_CONTROLS=1
45583 fi
45584
45585 if test "$wxUSE_CHOICE" = "yes"; then
45586 cat >>confdefs.h <<\_ACEOF
45587 #define wxUSE_CHOICE 1
45588 _ACEOF
45589
45590 USES_CONTROLS=1
45591 fi
45592
45593 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_CHOICEBOOK 1
45596 _ACEOF
45597
45598 USES_CONTROLS=1
45599 fi
45600
45601 if test "$wxUSE_CHECKBOX" = "yes"; then
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_CHECKBOX 1
45604 _ACEOF
45605
45606 USES_CONTROLS=1
45607 fi
45608
45609 if test "$wxUSE_CHECKLST" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_CHECKLISTBOX 1
45612 _ACEOF
45613
45614 USES_CONTROLS=1
45615 fi
45616
45617 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_COLOURPICKERCTRL 1
45620 _ACEOF
45621
45622 USES_CONTROLS=1
45623 fi
45624
45625 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_DATEPICKCTRL 1
45628 _ACEOF
45629
45630 USES_CONTROLS=1
45631 fi
45632
45633 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_DIRPICKERCTRL 1
45636 _ACEOF
45637
45638 USES_CONTROLS=1
45639 fi
45640
45641 if test "$wxUSE_FILECTRL" = "yes"; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_FILECTRL 1
45644 _ACEOF
45645
45646 USES_CONTROLS=1
45647 fi
45648
45649 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_FILEPICKERCTRL 1
45652 _ACEOF
45653
45654 USES_CONTROLS=1
45655 fi
45656
45657 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_FONTPICKERCTRL 1
45660 _ACEOF
45661
45662 USES_CONTROLS=1
45663 fi
45664
45665 if test "$wxUSE_DISPLAY" = "yes"; then
45666 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45667 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45668 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45669 wxUSE_DISPLAY=no
45670 else
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_DISPLAY 1
45673 _ACEOF
45674
45675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45676 fi
45677 fi
45678
45679 if test "$wxUSE_DETECT_SM" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_DETECT_SM 1
45682 _ACEOF
45683
45684 fi
45685
45686 if test "$wxUSE_GAUGE" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_GAUGE 1
45689 _ACEOF
45690
45691 USES_CONTROLS=1
45692 fi
45693
45694 if test "$wxUSE_GRID" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_GRID 1
45697 _ACEOF
45698
45699 USES_CONTROLS=1
45700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45701 fi
45702
45703 if test "$wxUSE_HEADERCTRL" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_HEADERCTRL 1
45706 _ACEOF
45707
45708 USES_CONTROLS=1
45709 fi
45710
45711 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_HYPERLINKCTRL 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 fi
45718
45719 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_BITMAPCOMBOBOX 1
45722 _ACEOF
45723
45724 USES_CONTROLS=1
45725 fi
45726
45727 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_DATAVIEWCTRL 1
45730 _ACEOF
45731
45732 USES_CONTROLS=1
45733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45734 fi
45735
45736 if test "$wxUSE_IMAGLIST" = "yes"; then
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_IMAGLIST 1
45739 _ACEOF
45740
45741 fi
45742
45743 if test "$wxUSE_LISTBOOK" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_LISTBOOK 1
45746 _ACEOF
45747
45748 USES_CONTROLS=1
45749 fi
45750
45751 if test "$wxUSE_LISTBOX" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_LISTBOX 1
45754 _ACEOF
45755
45756 USES_CONTROLS=1
45757 fi
45758
45759 if test "$wxUSE_LISTCTRL" = "yes"; then
45760 if test "$wxUSE_IMAGLIST" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_LISTCTRL 1
45763 _ACEOF
45764
45765 USES_CONTROLS=1
45766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45767 else
45768 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45769 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45770 fi
45771 fi
45772
45773 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_EDITABLELISTBOX 1
45776 _ACEOF
45777
45778 USES_CONTROLS=1
45779 fi
45780
45781 if test "$wxUSE_NOTEBOOK" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_NOTEBOOK 1
45784 _ACEOF
45785
45786 USES_CONTROLS=1
45787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45788 fi
45789
45790 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_NOTIFICATION_MESSAGE 1
45793 _ACEOF
45794
45795 fi
45796
45797 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_ODCOMBOBOX 1
45800 _ACEOF
45801
45802 USES_CONTROLS=1
45803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45804 fi
45805
45806 if test "$wxUSE_RADIOBOX" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_RADIOBOX 1
45809 _ACEOF
45810
45811 USES_CONTROLS=1
45812 fi
45813
45814 if test "$wxUSE_RADIOBTN" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_RADIOBTN 1
45817 _ACEOF
45818
45819 USES_CONTROLS=1
45820 fi
45821
45822 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_REARRANGECTRL 1
45825 _ACEOF
45826
45827 fi
45828
45829 if test "$wxUSE_SASH" = "yes"; then
45830 cat >>confdefs.h <<\_ACEOF
45831 #define wxUSE_SASH 1
45832 _ACEOF
45833
45834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45835 fi
45836
45837 if test "$wxUSE_SCROLLBAR" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_SCROLLBAR 1
45840 _ACEOF
45841
45842 USES_CONTROLS=1
45843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45844 fi
45845
45846 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_SEARCHCTRL 1
45849 _ACEOF
45850
45851 USES_CONTROLS=1
45852 fi
45853
45854 if test "$wxUSE_SLIDER" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_SLIDER 1
45857 _ACEOF
45858
45859 USES_CONTROLS=1
45860 fi
45861
45862 if test "$wxUSE_SPINBTN" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_SPINBTN 1
45865 _ACEOF
45866
45867 USES_CONTROLS=1
45868 fi
45869
45870 if test "$wxUSE_SPINCTRL" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_SPINCTRL 1
45873 _ACEOF
45874
45875 USES_CONTROLS=1
45876 fi
45877
45878 if test "$wxUSE_SPLITTER" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_SPLITTER 1
45881 _ACEOF
45882
45883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45884 fi
45885
45886 if test "$wxUSE_STATBMP" = "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_STATBMP 1
45889 _ACEOF
45890
45891 USES_CONTROLS=1
45892 fi
45893
45894 if test "$wxUSE_STATBOX" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_STATBOX 1
45897 _ACEOF
45898
45899 USES_CONTROLS=1
45900 fi
45901
45902 if test "$wxUSE_STATTEXT" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_STATTEXT 1
45905 _ACEOF
45906
45907 USES_CONTROLS=1
45908 fi
45909
45910 if test "$wxUSE_STATLINE" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_STATLINE 1
45913 _ACEOF
45914
45915 USES_CONTROLS=1
45916 fi
45917
45918 if test "$wxUSE_STATUSBAR" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_NATIVE_STATUSBAR 1
45921 _ACEOF
45922
45923 cat >>confdefs.h <<\_ACEOF
45924 #define wxUSE_STATUSBAR 1
45925 _ACEOF
45926
45927 USES_CONTROLS=1
45928
45929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45930 fi
45931
45932 if test "$wxUSE_TEXTCTRL" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_TEXTCTRL 1
45935 _ACEOF
45936
45937 USES_CONTROLS=1
45938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45939
45940 cat >>confdefs.h <<\_ACEOF
45941 #define wxUSE_RICHEDIT 1
45942 _ACEOF
45943
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_RICHEDIT2 1
45946 _ACEOF
45947
45948 fi
45949
45950 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45951 if test "$wxUSE_COCOA" = 1 ; then
45952 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45953 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45954 wxUSE_TOGGLEBTN=no
45955 fi
45956
45957 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_TOGGLEBTN 1
45960 _ACEOF
45961
45962 USES_CONTROLS=1
45963 fi
45964 fi
45965
45966 if test "$wxUSE_TOOLBAR" = "yes"; then
45967 cat >>confdefs.h <<\_ACEOF
45968 #define wxUSE_TOOLBAR 1
45969 _ACEOF
45970
45971 USES_CONTROLS=1
45972
45973 if test "$wxUSE_UNIVERSAL" = "yes"; then
45974 wxUSE_TOOLBAR_NATIVE="no"
45975 else
45976 wxUSE_TOOLBAR_NATIVE="yes"
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_TOOLBAR_NATIVE 1
45979 _ACEOF
45980
45981 fi
45982
45983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45984 fi
45985
45986 if test "$wxUSE_TOOLTIPS" = "yes"; then
45987 if test "$wxUSE_MOTIF" = 1; then
45988 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45989 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45990 else
45991 if test "$wxUSE_UNIVERSAL" = "yes"; then
45992 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45993 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45994 else
45995 cat >>confdefs.h <<\_ACEOF
45996 #define wxUSE_TOOLTIPS 1
45997 _ACEOF
45998
45999 fi
46000 fi
46001 fi
46002
46003 if test "$wxUSE_TREEBOOK" = "yes"; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_TREEBOOK 1
46006 _ACEOF
46007
46008 USES_CONTROLS=1
46009 fi
46010
46011 if test "$wxUSE_TOOLBOOK" = "yes"; then
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_TOOLBOOK 1
46014 _ACEOF
46015
46016 USES_CONTROLS=1
46017 fi
46018
46019 if test "$wxUSE_TREECTRL" = "yes"; then
46020 if test "$wxUSE_IMAGLIST" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_TREECTRL 1
46023 _ACEOF
46024
46025 USES_CONTROLS=1
46026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46027 else
46028 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46029 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46030 fi
46031 fi
46032
46033 if test "$wxUSE_POPUPWIN" = "yes"; then
46034 if test "$wxUSE_COCOA" = 1 ; then
46035 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46036 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46037 else
46038 if test "$wxUSE_PM" = 1; then
46039 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46040 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46041 else
46042 cat >>confdefs.h <<\_ACEOF
46043 #define wxUSE_POPUPWIN 1
46044 _ACEOF
46045
46046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46047
46048 USES_CONTROLS=1
46049 fi
46050 fi
46051 fi
46052
46053 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46054 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46055 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46056 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46057 else
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_DIALUP_MANAGER 1
46060 _ACEOF
46061
46062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46063 fi
46064 fi
46065
46066 if test "$wxUSE_TIPWINDOW" = "yes"; then
46067 if test "$wxUSE_PM" = 1; then
46068 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46069 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46070 else
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_TIPWINDOW 1
46073 _ACEOF
46074
46075 fi
46076 fi
46077
46078 if test "$USES_CONTROLS" = 1; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define wxUSE_CONTROLS 1
46081 _ACEOF
46082
46083 fi
46084
46085
46086 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_ACCESSIBILITY 1
46089 _ACEOF
46090
46091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46092 fi
46093
46094 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_DRAGIMAGE 1
46097 _ACEOF
46098
46099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46100 fi
46101
46102 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46103 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46104 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46105 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46106 else
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_EXCEPTIONS 1
46109 _ACEOF
46110
46111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46112 fi
46113 fi
46114
46115 USE_HTML=0
46116 if test "$wxUSE_HTML" = "yes"; then
46117 cat >>confdefs.h <<\_ACEOF
46118 #define wxUSE_HTML 1
46119 _ACEOF
46120
46121 USE_HTML=1
46122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46123 fi
46124 if test "$wxUSE_WEBKIT" = "yes"; then
46125 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46126 old_CPPFLAGS="$CPPFLAGS"
46127 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46128 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46129 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46130 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46131 echo $ECHO_N "(cached) $ECHO_C" >&6
46132 else
46133 cat >conftest.$ac_ext <<_ACEOF
46134 /* confdefs.h. */
46135 _ACEOF
46136 cat confdefs.h >>conftest.$ac_ext
46137 cat >>conftest.$ac_ext <<_ACEOF
46138 /* end confdefs.h. */
46139
46140 #include <Carbon/Carbon.h>
46141 #include <WebKit/WebKit.h>
46142
46143
46144 #include <WebKit/HIWebView.h>
46145 _ACEOF
46146 rm -f conftest.$ac_objext
46147 if { (ac_try="$ac_compile"
46148 case "(($ac_try" in
46149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46150 *) ac_try_echo=$ac_try;;
46151 esac
46152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46153 (eval "$ac_compile") 2>conftest.er1
46154 ac_status=$?
46155 grep -v '^ *+' conftest.er1 >conftest.err
46156 rm -f conftest.er1
46157 cat conftest.err >&5
46158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46159 (exit $ac_status); } && {
46160 test -z "$ac_c_werror_flag" ||
46161 test ! -s conftest.err
46162 } && test -s conftest.$ac_objext; then
46163 ac_cv_header_WebKit_HIWebView_h=yes
46164 else
46165 echo "$as_me: failed program was:" >&5
46166 sed 's/^/| /' conftest.$ac_ext >&5
46167
46168 ac_cv_header_WebKit_HIWebView_h=no
46169 fi
46170
46171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46172 fi
46173 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46174 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46175 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46176
46177 cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_WEBKIT 1
46179 _ACEOF
46180
46181 WEBKIT_LINK="-framework WebKit"
46182
46183 else
46184
46185 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46186 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46187 wxUSE_WEBKIT=no
46188
46189 fi
46190
46191
46192 CPPFLAGS="$old_CPPFLAGS"
46193 elif test "$wxUSE_COCOA" = 1; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_WEBKIT 1
46196 _ACEOF
46197
46198 else
46199 wxUSE_WEBKIT=no
46200 fi
46201 if test "$wxUSE_WEBKIT" = "yes"; then
46202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46203 fi
46204 fi
46205
46206 USE_XRC=0
46207 if test "$wxUSE_XRC" = "yes"; then
46208 if test "$wxUSE_XML" != "yes"; then
46209 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46210 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46211 wxUSE_XRC=no
46212 else
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_XRC 1
46215 _ACEOF
46216
46217 USE_XRC=1
46218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46219 fi
46220 fi
46221
46222 USE_AUI=0
46223 if test "$wxUSE_AUI" = "yes"; then
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_AUI 1
46226 _ACEOF
46227
46228 USE_AUI=1
46229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46230 fi
46231
46232 USE_PROPGRID=0
46233 if test "$wxUSE_PROPGRID" = "yes"; then
46234 cat >>confdefs.h <<\_ACEOF
46235 #define wxUSE_PROPGRID 1
46236 _ACEOF
46237
46238 USE_PROPGRID=1
46239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46240 fi
46241
46242 USE_STC=0
46243 if test "$wxUSE_STC" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_STC 1
46246 _ACEOF
46247
46248 USE_STC=1
46249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46250
46251 # Extract the first word of "python", so it can be a program name with args.
46252 set dummy python; ac_word=$2
46253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46255 if test "${ac_cv_path_PYTHON+set}" = set; then
46256 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 else
46258 case $PYTHON in
46259 [\\/]* | ?:[\\/]*)
46260 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46261 ;;
46262 *)
46263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46264 for as_dir in $PATH
46265 do
46266 IFS=$as_save_IFS
46267 test -z "$as_dir" && as_dir=.
46268 for ac_exec_ext in '' $ac_executable_extensions; do
46269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46270 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46272 break 2
46273 fi
46274 done
46275 done
46276 IFS=$as_save_IFS
46277
46278 ;;
46279 esac
46280 fi
46281 PYTHON=$ac_cv_path_PYTHON
46282 if test -n "$PYTHON"; then
46283 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46284 echo "${ECHO_T}$PYTHON" >&6; }
46285 else
46286 { echo "$as_me:$LINENO: result: no" >&5
46287 echo "${ECHO_T}no" >&6; }
46288 fi
46289
46290
46291 if test "x$PYTHON" = "x"; then
46292 COND_PYTHON="#"
46293 fi
46294
46295 fi
46296
46297 if test "$wxUSE_MENUS" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_MENUS 1
46300 _ACEOF
46301
46302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46303 fi
46304
46305 if test "$wxUSE_METAFILE" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_METAFILE 1
46308 _ACEOF
46309
46310 fi
46311
46312 if test "$wxUSE_MIMETYPE" = "yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_MIMETYPE 1
46315 _ACEOF
46316
46317 fi
46318
46319 if test "$wxUSE_MINIFRAME" = "yes"; then
46320 cat >>confdefs.h <<\_ACEOF
46321 #define wxUSE_MINIFRAME 1
46322 _ACEOF
46323
46324 fi
46325
46326 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46327 cat >>confdefs.h <<\_ACEOF
46328 #define wxUSE_SYSTEM_OPTIONS 1
46329 _ACEOF
46330
46331 fi
46332
46333 if test "$wxUSE_TASKBARICON" = "yes"; then
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_TASKBARICON 1
46336 _ACEOF
46337
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46339 fi
46340
46341
46342 if test "$wxUSE_VALIDATORS" = "yes"; then
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_VALIDATORS 1
46345 _ACEOF
46346
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46348 fi
46349
46350 if test "$wxUSE_PALETTE" = "yes" ; then
46351 if test "$wxUSE_DFB" = 1; then
46352 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46353 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46354 wxUSE_PALETTE=no
46355 else
46356 cat >>confdefs.h <<\_ACEOF
46357 #define wxUSE_PALETTE 1
46358 _ACEOF
46359
46360 fi
46361 fi
46362
46363 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46364 LIBS=" -lunicows $LIBS"
46365 fi
46366
46367 USE_RICHTEXT=0
46368 if test "$wxUSE_RICHTEXT" = "yes"; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_RICHTEXT 1
46371 _ACEOF
46372
46373 USE_RICHTEXT=1
46374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46375 fi
46376
46377
46378 if test "$wxUSE_IMAGE" = "yes" ; then
46379 cat >>confdefs.h <<\_ACEOF
46380 #define wxUSE_IMAGE 1
46381 _ACEOF
46382
46383
46384 if test "$wxUSE_GIF" = "yes" ; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_GIF 1
46387 _ACEOF
46388
46389 fi
46390
46391 if test "$wxUSE_PCX" = "yes" ; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_PCX 1
46394 _ACEOF
46395
46396 fi
46397
46398 if test "$wxUSE_TGA" = "yes" ; then
46399 cat >>confdefs.h <<\_ACEOF
46400 #define wxUSE_TGA 1
46401 _ACEOF
46402
46403 fi
46404
46405 if test "$wxUSE_IFF" = "yes" ; then
46406 cat >>confdefs.h <<\_ACEOF
46407 #define wxUSE_IFF 1
46408 _ACEOF
46409
46410 fi
46411
46412 if test "$wxUSE_PNM" = "yes" ; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define wxUSE_PNM 1
46415 _ACEOF
46416
46417 fi
46418
46419 if test "$wxUSE_XPM" = "yes" ; then
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_XPM 1
46422 _ACEOF
46423
46424 fi
46425
46426 if test "$wxUSE_ICO_CUR" = "yes" ; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_ICO_CUR 1
46429 _ACEOF
46430
46431 fi
46432 fi
46433
46434
46435 if test "$wxUSE_ABOUTDLG" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_ABOUTDLG 1
46438 _ACEOF
46439
46440 fi
46441
46442 if test "$wxUSE_CHOICEDLG" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_CHOICEDLG 1
46445 _ACEOF
46446
46447 fi
46448
46449 if test "$wxUSE_COLOURDLG" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_COLOURDLG 1
46452 _ACEOF
46453
46454 fi
46455
46456 if test "$wxUSE_FILEDLG" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_FILEDLG 1
46459 _ACEOF
46460
46461 fi
46462
46463 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_FINDREPLDLG 1
46466 _ACEOF
46467
46468 fi
46469
46470 if test "$wxUSE_FONTDLG" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_FONTDLG 1
46473 _ACEOF
46474
46475 fi
46476
46477 if test "$wxUSE_DIRDLG" = "yes"; then
46478 if test "$wxUSE_TREECTRL" != "yes"; then
46479 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46480 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46481 else
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_DIRDLG 1
46484 _ACEOF
46485
46486 fi
46487 fi
46488
46489 if test "$wxUSE_MSGDLG" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_MSGDLG 1
46492 _ACEOF
46493
46494 fi
46495
46496 if test "$wxUSE_NUMBERDLG" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_NUMBERDLG 1
46499 _ACEOF
46500
46501 fi
46502
46503 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_PROGRESSDLG 1
46506 _ACEOF
46507
46508 fi
46509
46510 if test "$wxUSE_SPLASH" = "yes"; then
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_SPLASH 1
46513 _ACEOF
46514
46515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46516 fi
46517
46518 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_STARTUP_TIPS 1
46521 _ACEOF
46522
46523 fi
46524
46525 if test "$wxUSE_TEXTDLG" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_TEXTDLG 1
46528 _ACEOF
46529
46530 fi
46531
46532 if test "$wxUSE_WIZARDDLG" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_WIZARDDLG 1
46535 _ACEOF
46536
46537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46538 fi
46539
46540
46541 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46542 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_OWNER_DRAWN 1
46545 _ACEOF
46546
46547 fi
46548 fi
46549
46550
46551 if test "$wxUSE_MSW" = 1 ; then
46552
46553 if test "$wxUSE_DC_CACHEING" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_DC_CACHEING 1
46556 _ACEOF
46557
46558 fi
46559
46560 if test "$wxUSE_DIB" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_WXDIB 1
46563 _ACEOF
46564
46565 fi
46566
46567 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46570 _ACEOF
46571
46572 fi
46573
46574 if test "$wxUSE_UXTHEME" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_UXTHEME 1
46577 _ACEOF
46578
46579 fi
46580
46581 fi
46582
46583 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_AUTOID_MANAGEMENT 1
46586 _ACEOF
46587
46588 fi
46589
46590 if test "$USE_WIN32" = 1 ; then
46591 if test "$wxUSE_INICONF" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_INICONF 1
46594 _ACEOF
46595
46596 fi
46597
46598 if test "$wxUSE_REGKEY" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_REGKEY 1
46601 _ACEOF
46602
46603 fi
46604 fi
46605
46606
46607 if test "$wxUSE_MAC" = 1; then
46608 wxUSE_GRAPHICS_CONTEXT="yes"
46609 fi
46610
46611 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46612 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_GRAPHICS_CONTEXT 1
46615 _ACEOF
46616
46617 elif test "$wxUSE_GTK" != 1; then
46618 cat >>confdefs.h <<\_ACEOF
46619 #define wxUSE_GRAPHICS_CONTEXT 1
46620 _ACEOF
46621
46622 else
46623
46624 pkg_failed=no
46625 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46626 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46627
46628 if test -n "$PKG_CONFIG"; then
46629 if test -n "$CAIRO_CFLAGS"; then
46630 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46631 else
46632 if test -n "$PKG_CONFIG" && \
46633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46634 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46635 ac_status=$?
46636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637 (exit $ac_status); }; then
46638 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46639 else
46640 pkg_failed=yes
46641 fi
46642 fi
46643 else
46644 pkg_failed=untried
46645 fi
46646 if test -n "$PKG_CONFIG"; then
46647 if test -n "$CAIRO_LIBS"; then
46648 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46649 else
46650 if test -n "$PKG_CONFIG" && \
46651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46652 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46653 ac_status=$?
46654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46655 (exit $ac_status); }; then
46656 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46657 else
46658 pkg_failed=yes
46659 fi
46660 fi
46661 else
46662 pkg_failed=untried
46663 fi
46664
46665
46666
46667 if test $pkg_failed = yes; then
46668
46669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46670 _pkg_short_errors_supported=yes
46671 else
46672 _pkg_short_errors_supported=no
46673 fi
46674 if test $_pkg_short_errors_supported = yes; then
46675 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46676 else
46677 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46678 fi
46679 # Put the nasty error message in config.log where it belongs
46680 echo "$CAIRO_PKG_ERRORS" >&5
46681
46682 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46683 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46684
46685 elif test $pkg_failed = untried; then
46686 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46687 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46688
46689 else
46690 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46691 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46692 { echo "$as_me:$LINENO: result: yes" >&5
46693 echo "${ECHO_T}yes" >&6; }
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_GRAPHICS_CONTEXT 1
46696 _ACEOF
46697
46698 fi
46699 fi
46700 fi
46701
46702
46703 USE_MEDIA=0
46704
46705 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46706 USE_MEDIA=1
46707
46708 if test "$wxUSE_GTK" = 1; then
46709 wxUSE_GSTREAMER="no"
46710
46711 GST_VERSION_MAJOR=0
46712 GST_VERSION_MINOR=10
46713 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46714
46715 if test "$wxUSE_GSTREAMER8" = "no"; then
46716
46717 pkg_failed=no
46718 { echo "$as_me:$LINENO: checking for GST" >&5
46719 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46720
46721 if test -n "$PKG_CONFIG"; then
46722 if test -n "$GST_CFLAGS"; then
46723 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46724 else
46725 if test -n "$PKG_CONFIG" && \
46726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46727 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46728 ac_status=$?
46729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46730 (exit $ac_status); }; then
46731 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46732 else
46733 pkg_failed=yes
46734 fi
46735 fi
46736 else
46737 pkg_failed=untried
46738 fi
46739 if test -n "$PKG_CONFIG"; then
46740 if test -n "$GST_LIBS"; then
46741 pkg_cv_GST_LIBS="$GST_LIBS"
46742 else
46743 if test -n "$PKG_CONFIG" && \
46744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46745 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46746 ac_status=$?
46747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748 (exit $ac_status); }; then
46749 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46750 else
46751 pkg_failed=yes
46752 fi
46753 fi
46754 else
46755 pkg_failed=untried
46756 fi
46757
46758
46759
46760 if test $pkg_failed = yes; then
46761
46762 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46763 _pkg_short_errors_supported=yes
46764 else
46765 _pkg_short_errors_supported=no
46766 fi
46767 if test $_pkg_short_errors_supported = yes; then
46768 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46769 else
46770 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46771 fi
46772 # Put the nasty error message in config.log where it belongs
46773 echo "$GST_PKG_ERRORS" >&5
46774
46775
46776 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46777 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46778 GST_VERSION_MINOR=8
46779
46780
46781 elif test $pkg_failed = untried; then
46782
46783 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46784 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46785 GST_VERSION_MINOR=8
46786
46787
46788 else
46789 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46790 GST_LIBS=$pkg_cv_GST_LIBS
46791 { echo "$as_me:$LINENO: result: yes" >&5
46792 echo "${ECHO_T}yes" >&6; }
46793
46794 wxUSE_GSTREAMER="yes"
46795 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46796
46797 fi
46798 else
46799 GST_VERSION_MINOR=8
46800 fi
46801
46802 if test $GST_VERSION_MINOR = "8"; then
46803 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46804
46805 pkg_failed=no
46806 { echo "$as_me:$LINENO: checking for GST" >&5
46807 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46808
46809 if test -n "$PKG_CONFIG"; then
46810 if test -n "$GST_CFLAGS"; then
46811 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46812 else
46813 if test -n "$PKG_CONFIG" && \
46814 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46815 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46816 ac_status=$?
46817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46818 (exit $ac_status); }; then
46819 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46820 else
46821 pkg_failed=yes
46822 fi
46823 fi
46824 else
46825 pkg_failed=untried
46826 fi
46827 if test -n "$PKG_CONFIG"; then
46828 if test -n "$GST_LIBS"; then
46829 pkg_cv_GST_LIBS="$GST_LIBS"
46830 else
46831 if test -n "$PKG_CONFIG" && \
46832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46833 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46834 ac_status=$?
46835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46836 (exit $ac_status); }; then
46837 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46838 else
46839 pkg_failed=yes
46840 fi
46841 fi
46842 else
46843 pkg_failed=untried
46844 fi
46845
46846
46847
46848 if test $pkg_failed = yes; then
46849
46850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46851 _pkg_short_errors_supported=yes
46852 else
46853 _pkg_short_errors_supported=no
46854 fi
46855 if test $_pkg_short_errors_supported = yes; then
46856 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46857 else
46858 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46859 fi
46860 # Put the nasty error message in config.log where it belongs
46861 echo "$GST_PKG_ERRORS" >&5
46862
46863
46864 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46865 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46866
46867 elif test $pkg_failed = untried; then
46868
46869 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46870 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46871
46872 else
46873 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46874 GST_LIBS=$pkg_cv_GST_LIBS
46875 { echo "$as_me:$LINENO: result: yes" >&5
46876 echo "${ECHO_T}yes" >&6; }
46877 wxUSE_GSTREAMER="yes"
46878 fi
46879 fi
46880
46881
46882 if test "$wxUSE_GSTREAMER" = "yes"; then
46883 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46884 EXTRALIBS_MEDIA="$GST_LIBS"
46885
46886 cat >>confdefs.h <<\_ACEOF
46887 #define wxUSE_GSTREAMER 1
46888 _ACEOF
46889
46890 else
46891 USE_MEDIA=0
46892 fi
46893 fi
46894
46895 if test $USE_MEDIA = 1; then
46896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46897 cat >>confdefs.h <<\_ACEOF
46898 #define wxUSE_MEDIACTRL 1
46899 _ACEOF
46900
46901 else
46902 if test "$wxUSE_MEDIACTRL" = "yes"; then
46903 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46904 echo "$as_me: error: GStreamer not available" >&2;}
46905 { (exit 1); exit 1; }; }
46906 else
46907 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46908 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46909 fi
46910 fi
46911 fi
46912
46913
46914 if test "$cross_compiling" != "no"; then
46915 OSINFO="\"$host\""
46916 else
46917 OSINFO=`uname -s -r -m`
46918 OSINFO="\"$OSINFO\""
46919 fi
46920
46921 cat >>confdefs.h <<_ACEOF
46922 #define WXWIN_OS_DESCRIPTION $OSINFO
46923 _ACEOF
46924
46925
46926
46927 if test "x$prefix" != "xNONE"; then
46928 wxPREFIX=$prefix
46929 else
46930 wxPREFIX=$ac_default_prefix
46931 fi
46932
46933 cat >>confdefs.h <<_ACEOF
46934 #define wxINSTALL_PREFIX "$wxPREFIX"
46935 _ACEOF
46936
46937
46938
46939
46940 STD_BASE_LIBS="base"
46941 STD_GUI_LIBS=""
46942 BUILT_WX_LIBS="base"
46943 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46944
46945 if test "$wxUSE_SOCKETS" = "yes" ; then
46946 STD_BASE_LIBS="net $STD_BASE_LIBS"
46947 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46948 fi
46949 if test "$wxUSE_XML" = "yes" ; then
46950 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46951 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46952 fi
46953
46954 if test "$wxUSE_GUI" = "yes"; then
46955 STD_GUI_LIBS="adv core"
46956 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46957
46958 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46959 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46960 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46961 fi
46962 if test "$wxUSE_HTML" = "yes" ; then
46963 STD_GUI_LIBS="html $STD_GUI_LIBS"
46964 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46965 fi
46966 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46967 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46968 fi
46969 if test "$wxUSE_OPENGL" = "yes" ; then
46970 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46971 fi
46972 if test "$wxUSE_AUI" = "yes" ; then
46973 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46974 fi
46975 if test "$wxUSE_PROPGRID" = "yes" ; then
46976 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46977 fi
46978 if test "$wxUSE_RICHTEXT" = "yes" ; then
46979 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46980 fi
46981 if test "$wxUSE_STC" = "yes" ; then
46982 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46983 fi
46984 if test "$wxUSE_XRC" = "yes" ; then
46985 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46986 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46987 fi
46988 fi
46989
46990
46991
46992
46993
46994
46995
46996
46997 if test "$wxUSE_MAC" = 1 ; then
46998 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46999 if test "$USE_DARWIN" = 1; then
47000 LDFLAGS="$LDFLAGS -framework QuickTime"
47001 fi
47002 fi
47003 if test "$USE_DARWIN" = 1; then
47004 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47005 fi
47006 fi
47007 if test "$wxUSE_COCOA" = 1 ; then
47008 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47009 if test "$wxUSE_MEDIACTRL" = "yes"; then
47010 LDFLAGS="$LDFLAGS -framework QuickTime"
47011 fi
47012 fi
47013 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47014 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47015 fi
47016
47017 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47018
47019 if test "$wxUSE_GUI" = "yes"; then
47020
47021
47022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47023 erase event exec font image minimal render \
47024 shaped svg taborder vscroll widgets wrapsizer"
47025
47026 if test "$wxUSE_MONOLITHIC" != "yes"; then
47027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47028 fi
47029 if test "$TOOLKIT" = "MSW"; then
47030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47031 if test "$wxUSE_UNIVERSAL" != "yes"; then
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47033 fi
47034 fi
47035 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47037 fi
47038 else
47039 SAMPLES_SUBDIRS="console"
47040 if test "$wxUSE_SOCKETS" = "yes" ; then
47041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47042 fi
47043 if test "$wxUSE_IPC" = "yes" ; then
47044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47045 fi
47046 fi
47047
47048
47049 if test "x$INTELCC" = "xyes" ; then
47050 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47051 elif test "$GCC" = yes ; then
47052 CWARNINGS="-Wall -Wundef"
47053 fi
47054
47055 if test "x$INTELCXX" = "xyes" ; then
47056 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47057 elif test "$GXX" = yes ; then
47058 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47059 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47060 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47061 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47062 echo $ECHO_N "(cached) $ECHO_C" >&6
47063 else
47064 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47065
47066 ac_ext=cpp
47067 ac_cpp='$CXXCPP $CPPFLAGS'
47068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47071
47072 ac_save_CXXFLAGS="$CXXFLAGS"
47073 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47074 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47075 cat >conftest.$ac_ext <<_ACEOF
47076 /* confdefs.h. */
47077 _ACEOF
47078 cat confdefs.h >>conftest.$ac_ext
47079 cat >>conftest.$ac_ext <<_ACEOF
47080 /* end confdefs.h. */
47081
47082 int
47083 main ()
47084 {
47085 return 0;
47086 ;
47087 return 0;
47088 }
47089 _ACEOF
47090 rm -f conftest.$ac_objext
47091 if { (ac_try="$ac_compile"
47092 case "(($ac_try" in
47093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47094 *) ac_try_echo=$ac_try;;
47095 esac
47096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47097 (eval "$ac_compile") 2>conftest.er1
47098 ac_status=$?
47099 grep -v '^ *+' conftest.er1 >conftest.err
47100 rm -f conftest.er1
47101 cat conftest.err >&5
47102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47103 (exit $ac_status); } && {
47104 test -z "$ac_cxx_werror_flag" ||
47105 test ! -s conftest.err
47106 } && test -s conftest.$ac_objext; then
47107 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47108 else
47109 echo "$as_me: failed program was:" >&5
47110 sed 's/^/| /' conftest.$ac_ext >&5
47111
47112
47113 fi
47114
47115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47116 done
47117 CXXFLAGS="$ac_save_CXXFLAGS"
47118 ac_ext=c
47119 ac_cpp='$CPP $CPPFLAGS'
47120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47123
47124
47125 fi
47126 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47127 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47128 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47129 .ok|.ok,*) ;;
47130 .|.no|.no,*) ;;
47131 *)
47132 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47133 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47134 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47135 ac_status=$?
47136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47137 (exit $ac_status); }
47138 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47139 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47140 ac_status=$?
47141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47142 (exit $ac_status); }
47143 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47144 fi
47145 ;;
47146 esac
47147
47148 fi
47149
47150
47151 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47152 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47153
47154
47155 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47156 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47157 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47158 $CPPFLAGS `
47159
47160 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47161 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47162 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47163 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47164 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47165
47166 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47167
47168
47169 if test "x$MWCC" = "xyes"; then
47170
47171 CC="$CC -cwd source -I-"
47172 CXX="$CXX -cwd source -I-"
47173 fi
47174
47175
47176 LIBS=`echo $LIBS`
47177 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47178 EXTRALIBS_XML="$EXPAT_LINK"
47179 EXTRALIBS_HTML="$MSPACK_LINK"
47180 EXTRALIBS_MEDIA="$GST_LIBS"
47181 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47182 if test "$wxUSE_GUI" = "yes"; then
47183 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47184 fi
47185 if test "$wxUSE_OPENGL" = "yes"; then
47186 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47187 fi
47188
47189 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47190
47191 WXCONFIG_LIBS="$LIBS"
47192
47193 if test "$wxUSE_REGEX" = "builtin" ; then
47194 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47195 fi
47196 if test "$wxUSE_EXPAT" = "builtin" ; then
47197 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47198 fi
47199 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47200 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47201 fi
47202 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47203 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47204 fi
47205 if test "$wxUSE_LIBPNG" = "builtin" ; then
47206 wxconfig_3rdparty="png $wxconfig_3rdparty"
47207 fi
47208 if test "$wxUSE_ZLIB" = "builtin" ; then
47209 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47210 fi
47211
47212 for i in $wxconfig_3rdparty ; do
47213 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47214 done
47215
47216
47217 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47218 WXUNIV=1
47219
47220 case "$wxUNIV_THEMES" in
47221 ''|all)
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_ALL_THEMES 1
47224 _ACEOF
47225
47226 ;;
47227
47228 *)
47229 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47230 cat >>confdefs.h <<_ACEOF
47231 #define wxUSE_THEME_$t 1
47232 _ACEOF
47233
47234 done
47235 esac
47236 else
47237 WXUNIV=0
47238 fi
47239
47240
47241
47242
47243
47244
47245
47246
47247 if test $wxUSE_MONOLITHIC = "yes" ; then
47248 MONOLITHIC=1
47249 else
47250 MONOLITHIC=0
47251 fi
47252
47253 if test $wxUSE_PLUGINS = "yes" ; then
47254 USE_PLUGINS=1
47255 else
47256 USE_PLUGINS=0
47257 fi
47258
47259 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47260 USE_QA=1
47261 else
47262 USE_QA=0
47263 fi
47264
47265 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47266 OFFICIAL_BUILD=1
47267 else
47268 OFFICIAL_BUILD=0
47269 fi
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298 TOOLKIT_LOWERCASE=xxx
47299 if test "$TOOLKIT" = "MAC"; then
47300 TOOLKIT_LOWERCASE=osx_carbon
47301 fi
47302 if test "$TOOLKIT" = "OSX_CARBON"; then
47303 TOOLKIT_LOWERCASE=osx_carbon
47304 fi
47305 if test "$TOOLKIT" = "OSX_COCOA"; then
47306 TOOLKIT_LOWERCASE=osx_cocoa
47307 fi
47308 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47309 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47310 fi
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321 case "$TOOLKIT" in
47322 GTK)
47323 TOOLKIT_DESC="GTK+"
47324 if test "$WXGTK2" = 1; then
47325 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47326 if test "$wxUSE_GTKPRINT" = "yes" ; then
47327 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47328 fi
47329 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47330 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47331 fi
47332 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47333 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47334 fi
47335 if test "$wxUSE_LIBHILDON" = "yes"; then
47336 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47337 fi
47338
47339 if test "$TOOLKIT_EXTRA" != ""; then
47340 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47341 fi
47342 fi
47343 ;;
47344
47345 ?*)
47346 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47347 ;;
47348
47349 *)
47350 TOOLKIT_DESC="base only"
47351 ;;
47352 esac
47353
47354 if test "$wxUSE_WINE" = "yes"; then
47355 BAKEFILE_FORCE_PLATFORM=win32
47356 fi
47357
47358 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47359 then
47360 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47361 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47362 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47363 echo $ECHO_N "(cached) $ECHO_C" >&6
47364 else
47365
47366 echo '#include <stdio.h>
47367 const wchar_t test_var[] = L"awidetest";' > conftest.h
47368
47369 echo '#include "conftest.h"
47370 int main()
47371 {
47372 printf("%ls", test_var);
47373 return 0;
47374 }' > conftest.cpp
47375
47376 wx_cv_gcc_pch_bug="pch not supported"
47377
47378 if $CXX conftest.h >/dev/null 2>&1
47379 then
47380 wx_cv_gcc_pch_bug=
47381
47382 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47383 then
47384 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47385 grep awidetest >/dev/null
47386 then
47387 wx_cv_gcc_pch_bug=no
47388 else
47389 wx_cv_gcc_pch_bug=yes
47390 fi
47391 fi
47392 fi
47393
47394 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47395
47396 fi
47397 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47398 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47399
47400 if test "$wx_cv_gcc_pch_bug" = yes; then
47401 bk_use_pch=no
47402 fi
47403 fi
47404
47405
47406
47407
47408
47409
47410
47411 if test "x$BAKEFILE_HOST" = "x"; then
47412 if test "x${host}" = "x" ; then
47413 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47414 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47415 { (exit 1); exit 1; }; }
47416 fi
47417
47418 BAKEFILE_HOST="${host}"
47419 fi
47420
47421 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47422
47423 if test -n "$ac_tool_prefix"; then
47424 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47425 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47428 if test "${ac_cv_prog_RANLIB+set}" = set; then
47429 echo $ECHO_N "(cached) $ECHO_C" >&6
47430 else
47431 if test -n "$RANLIB"; then
47432 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47433 else
47434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47435 for as_dir in $PATH
47436 do
47437 IFS=$as_save_IFS
47438 test -z "$as_dir" && as_dir=.
47439 for ac_exec_ext in '' $ac_executable_extensions; do
47440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47441 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47443 break 2
47444 fi
47445 done
47446 done
47447 IFS=$as_save_IFS
47448
47449 fi
47450 fi
47451 RANLIB=$ac_cv_prog_RANLIB
47452 if test -n "$RANLIB"; then
47453 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47454 echo "${ECHO_T}$RANLIB" >&6; }
47455 else
47456 { echo "$as_me:$LINENO: result: no" >&5
47457 echo "${ECHO_T}no" >&6; }
47458 fi
47459
47460
47461 fi
47462 if test -z "$ac_cv_prog_RANLIB"; then
47463 ac_ct_RANLIB=$RANLIB
47464 # Extract the first word of "ranlib", so it can be a program name with args.
47465 set dummy ranlib; ac_word=$2
47466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47468 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47469 echo $ECHO_N "(cached) $ECHO_C" >&6
47470 else
47471 if test -n "$ac_ct_RANLIB"; then
47472 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47473 else
47474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47475 for as_dir in $PATH
47476 do
47477 IFS=$as_save_IFS
47478 test -z "$as_dir" && as_dir=.
47479 for ac_exec_ext in '' $ac_executable_extensions; do
47480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47481 ac_cv_prog_ac_ct_RANLIB="ranlib"
47482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47483 break 2
47484 fi
47485 done
47486 done
47487 IFS=$as_save_IFS
47488
47489 fi
47490 fi
47491 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47492 if test -n "$ac_ct_RANLIB"; then
47493 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47494 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47495 else
47496 { echo "$as_me:$LINENO: result: no" >&5
47497 echo "${ECHO_T}no" >&6; }
47498 fi
47499
47500 if test "x$ac_ct_RANLIB" = x; then
47501 RANLIB=":"
47502 else
47503 case $cross_compiling:$ac_tool_warned in
47504 yes:)
47505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47506 whose name does not start with the host triplet. If you think this
47507 configuration is useful to you, please write to autoconf@gnu.org." >&5
47508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47509 whose name does not start with the host triplet. If you think this
47510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47511 ac_tool_warned=yes ;;
47512 esac
47513 RANLIB=$ac_ct_RANLIB
47514 fi
47515 else
47516 RANLIB="$ac_cv_prog_RANLIB"
47517 fi
47518
47519 # Find a good install program. We prefer a C program (faster),
47520 # so one script is as good as another. But avoid the broken or
47521 # incompatible versions:
47522 # SysV /etc/install, /usr/sbin/install
47523 # SunOS /usr/etc/install
47524 # IRIX /sbin/install
47525 # AIX /bin/install
47526 # AmigaOS /C/install, which installs bootblocks on floppy discs
47527 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47528 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47529 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47530 # OS/2's system install, which has a completely different semantic
47531 # ./install, which can be erroneously created by make from ./install.sh.
47532 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47533 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47534 if test -z "$INSTALL"; then
47535 if test "${ac_cv_path_install+set}" = set; then
47536 echo $ECHO_N "(cached) $ECHO_C" >&6
47537 else
47538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47539 for as_dir in $PATH
47540 do
47541 IFS=$as_save_IFS
47542 test -z "$as_dir" && as_dir=.
47543 # Account for people who put trailing slashes in PATH elements.
47544 case $as_dir/ in
47545 ./ | .// | /cC/* | \
47546 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47547 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47548 /usr/ucb/* ) ;;
47549 *)
47550 # OSF1 and SCO ODT 3.0 have their own names for install.
47551 # Don't use installbsd from OSF since it installs stuff as root
47552 # by default.
47553 for ac_prog in ginstall scoinst install; do
47554 for ac_exec_ext in '' $ac_executable_extensions; do
47555 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47556 if test $ac_prog = install &&
47557 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47558 # AIX install. It has an incompatible calling convention.
47559 :
47560 elif test $ac_prog = install &&
47561 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47562 # program-specific install script used by HP pwplus--don't use.
47563 :
47564 else
47565 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47566 break 3
47567 fi
47568 fi
47569 done
47570 done
47571 ;;
47572 esac
47573 done
47574 IFS=$as_save_IFS
47575
47576
47577 fi
47578 if test "${ac_cv_path_install+set}" = set; then
47579 INSTALL=$ac_cv_path_install
47580 else
47581 # As a last resort, use the slow shell script. Don't cache a
47582 # value for INSTALL within a source directory, because that will
47583 # break other packages using the cache if that directory is
47584 # removed, or if the value is a relative name.
47585 INSTALL=$ac_install_sh
47586 fi
47587 fi
47588 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47589 echo "${ECHO_T}$INSTALL" >&6; }
47590
47591 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47592 # It thinks the first close brace ends the variable substitution.
47593 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47594
47595 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47596
47597 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47598
47599 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47600 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47601 LN_S=$as_ln_s
47602 if test "$LN_S" = "ln -s"; then
47603 { echo "$as_me:$LINENO: result: yes" >&5
47604 echo "${ECHO_T}yes" >&6; }
47605 else
47606 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47607 echo "${ECHO_T}no, using $LN_S" >&6; }
47608 fi
47609
47610
47611 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47612 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47613 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47614 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47615 echo $ECHO_N "(cached) $ECHO_C" >&6
47616 else
47617 cat >conftest.make <<\_ACEOF
47618 SHELL = /bin/sh
47619 all:
47620 @echo '@@@%%%=$(MAKE)=@@@%%%'
47621 _ACEOF
47622 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47623 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47624 *@@@%%%=?*=@@@%%%*)
47625 eval ac_cv_prog_make_${ac_make}_set=yes;;
47626 *)
47627 eval ac_cv_prog_make_${ac_make}_set=no;;
47628 esac
47629 rm -f conftest.make
47630 fi
47631 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47632 { echo "$as_me:$LINENO: result: yes" >&5
47633 echo "${ECHO_T}yes" >&6; }
47634 SET_MAKE=
47635 else
47636 { echo "$as_me:$LINENO: result: no" >&5
47637 echo "${ECHO_T}no" >&6; }
47638 SET_MAKE="MAKE=${MAKE-make}"
47639 fi
47640
47641
47642
47643 if test "x$SUNCXX" = "xyes"; then
47644 AR=$CXX
47645 AROPTIONS="-xar -o"
47646
47647 elif test "x$SGICC" = "xyes"; then
47648 AR=$CXX
47649 AROPTIONS="-ar -o"
47650
47651 else
47652 if test -n "$ac_tool_prefix"; then
47653 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47654 set dummy ${ac_tool_prefix}ar; ac_word=$2
47655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47657 if test "${ac_cv_prog_AR+set}" = set; then
47658 echo $ECHO_N "(cached) $ECHO_C" >&6
47659 else
47660 if test -n "$AR"; then
47661 ac_cv_prog_AR="$AR" # Let the user override the test.
47662 else
47663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47664 for as_dir in $PATH
47665 do
47666 IFS=$as_save_IFS
47667 test -z "$as_dir" && as_dir=.
47668 for ac_exec_ext in '' $ac_executable_extensions; do
47669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47670 ac_cv_prog_AR="${ac_tool_prefix}ar"
47671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47672 break 2
47673 fi
47674 done
47675 done
47676 IFS=$as_save_IFS
47677
47678 fi
47679 fi
47680 AR=$ac_cv_prog_AR
47681 if test -n "$AR"; then
47682 { echo "$as_me:$LINENO: result: $AR" >&5
47683 echo "${ECHO_T}$AR" >&6; }
47684 else
47685 { echo "$as_me:$LINENO: result: no" >&5
47686 echo "${ECHO_T}no" >&6; }
47687 fi
47688
47689
47690 fi
47691 if test -z "$ac_cv_prog_AR"; then
47692 ac_ct_AR=$AR
47693 # Extract the first word of "ar", so it can be a program name with args.
47694 set dummy ar; ac_word=$2
47695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47697 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47698 echo $ECHO_N "(cached) $ECHO_C" >&6
47699 else
47700 if test -n "$ac_ct_AR"; then
47701 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47702 else
47703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47704 for as_dir in $PATH
47705 do
47706 IFS=$as_save_IFS
47707 test -z "$as_dir" && as_dir=.
47708 for ac_exec_ext in '' $ac_executable_extensions; do
47709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47710 ac_cv_prog_ac_ct_AR="ar"
47711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47712 break 2
47713 fi
47714 done
47715 done
47716 IFS=$as_save_IFS
47717
47718 fi
47719 fi
47720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47721 if test -n "$ac_ct_AR"; then
47722 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47723 echo "${ECHO_T}$ac_ct_AR" >&6; }
47724 else
47725 { echo "$as_me:$LINENO: result: no" >&5
47726 echo "${ECHO_T}no" >&6; }
47727 fi
47728
47729 if test "x$ac_ct_AR" = x; then
47730 AR="ar"
47731 else
47732 case $cross_compiling:$ac_tool_warned in
47733 yes:)
47734 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47735 whose name does not start with the host triplet. If you think this
47736 configuration is useful to you, please write to autoconf@gnu.org." >&5
47737 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47738 whose name does not start with the host triplet. If you think this
47739 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47740 ac_tool_warned=yes ;;
47741 esac
47742 AR=$ac_ct_AR
47743 fi
47744 else
47745 AR="$ac_cv_prog_AR"
47746 fi
47747
47748 AROPTIONS=rcu
47749 fi
47750
47751
47752 if test -n "$ac_tool_prefix"; then
47753 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47754 set dummy ${ac_tool_prefix}strip; ac_word=$2
47755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47757 if test "${ac_cv_prog_STRIP+set}" = set; then
47758 echo $ECHO_N "(cached) $ECHO_C" >&6
47759 else
47760 if test -n "$STRIP"; then
47761 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47762 else
47763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47764 for as_dir in $PATH
47765 do
47766 IFS=$as_save_IFS
47767 test -z "$as_dir" && as_dir=.
47768 for ac_exec_ext in '' $ac_executable_extensions; do
47769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47770 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47772 break 2
47773 fi
47774 done
47775 done
47776 IFS=$as_save_IFS
47777
47778 fi
47779 fi
47780 STRIP=$ac_cv_prog_STRIP
47781 if test -n "$STRIP"; then
47782 { echo "$as_me:$LINENO: result: $STRIP" >&5
47783 echo "${ECHO_T}$STRIP" >&6; }
47784 else
47785 { echo "$as_me:$LINENO: result: no" >&5
47786 echo "${ECHO_T}no" >&6; }
47787 fi
47788
47789
47790 fi
47791 if test -z "$ac_cv_prog_STRIP"; then
47792 ac_ct_STRIP=$STRIP
47793 # Extract the first word of "strip", so it can be a program name with args.
47794 set dummy strip; ac_word=$2
47795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47797 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47798 echo $ECHO_N "(cached) $ECHO_C" >&6
47799 else
47800 if test -n "$ac_ct_STRIP"; then
47801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47802 else
47803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47804 for as_dir in $PATH
47805 do
47806 IFS=$as_save_IFS
47807 test -z "$as_dir" && as_dir=.
47808 for ac_exec_ext in '' $ac_executable_extensions; do
47809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47810 ac_cv_prog_ac_ct_STRIP="strip"
47811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47812 break 2
47813 fi
47814 done
47815 done
47816 IFS=$as_save_IFS
47817
47818 fi
47819 fi
47820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47821 if test -n "$ac_ct_STRIP"; then
47822 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47823 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47824 else
47825 { echo "$as_me:$LINENO: result: no" >&5
47826 echo "${ECHO_T}no" >&6; }
47827 fi
47828
47829 if test "x$ac_ct_STRIP" = x; then
47830 STRIP=":"
47831 else
47832 case $cross_compiling:$ac_tool_warned in
47833 yes:)
47834 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47835 whose name does not start with the host triplet. If you think this
47836 configuration is useful to you, please write to autoconf@gnu.org." >&5
47837 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47838 whose name does not start with the host triplet. If you think this
47839 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47840 ac_tool_warned=yes ;;
47841 esac
47842 STRIP=$ac_ct_STRIP
47843 fi
47844 else
47845 STRIP="$ac_cv_prog_STRIP"
47846 fi
47847
47848 if test -n "$ac_tool_prefix"; then
47849 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47850 set dummy ${ac_tool_prefix}nm; ac_word=$2
47851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47853 if test "${ac_cv_prog_NM+set}" = set; then
47854 echo $ECHO_N "(cached) $ECHO_C" >&6
47855 else
47856 if test -n "$NM"; then
47857 ac_cv_prog_NM="$NM" # Let the user override the test.
47858 else
47859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47860 for as_dir in $PATH
47861 do
47862 IFS=$as_save_IFS
47863 test -z "$as_dir" && as_dir=.
47864 for ac_exec_ext in '' $ac_executable_extensions; do
47865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47866 ac_cv_prog_NM="${ac_tool_prefix}nm"
47867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47868 break 2
47869 fi
47870 done
47871 done
47872 IFS=$as_save_IFS
47873
47874 fi
47875 fi
47876 NM=$ac_cv_prog_NM
47877 if test -n "$NM"; then
47878 { echo "$as_me:$LINENO: result: $NM" >&5
47879 echo "${ECHO_T}$NM" >&6; }
47880 else
47881 { echo "$as_me:$LINENO: result: no" >&5
47882 echo "${ECHO_T}no" >&6; }
47883 fi
47884
47885
47886 fi
47887 if test -z "$ac_cv_prog_NM"; then
47888 ac_ct_NM=$NM
47889 # Extract the first word of "nm", so it can be a program name with args.
47890 set dummy nm; ac_word=$2
47891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47893 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47894 echo $ECHO_N "(cached) $ECHO_C" >&6
47895 else
47896 if test -n "$ac_ct_NM"; then
47897 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47898 else
47899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47900 for as_dir in $PATH
47901 do
47902 IFS=$as_save_IFS
47903 test -z "$as_dir" && as_dir=.
47904 for ac_exec_ext in '' $ac_executable_extensions; do
47905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47906 ac_cv_prog_ac_ct_NM="nm"
47907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47908 break 2
47909 fi
47910 done
47911 done
47912 IFS=$as_save_IFS
47913
47914 fi
47915 fi
47916 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47917 if test -n "$ac_ct_NM"; then
47918 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47919 echo "${ECHO_T}$ac_ct_NM" >&6; }
47920 else
47921 { echo "$as_me:$LINENO: result: no" >&5
47922 echo "${ECHO_T}no" >&6; }
47923 fi
47924
47925 if test "x$ac_ct_NM" = x; then
47926 NM=":"
47927 else
47928 case $cross_compiling:$ac_tool_warned in
47929 yes:)
47930 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47931 whose name does not start with the host triplet. If you think this
47932 configuration is useful to you, please write to autoconf@gnu.org." >&5
47933 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47934 whose name does not start with the host triplet. If you think this
47935 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47936 ac_tool_warned=yes ;;
47937 esac
47938 NM=$ac_ct_NM
47939 fi
47940 else
47941 NM="$ac_cv_prog_NM"
47942 fi
47943
47944
47945 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47946 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47947 INSTALL_TEST_DIR=acbftest$$
47948 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47949 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47950 rmdir $INSTALL_TEST_DIR
47951 INSTALL_DIR='$(INSTALL) -d'
47952 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47953 echo "${ECHO_T}$INSTALL -d" >&6; }
47954 else
47955 INSTALL_DIR="mkdir -p"
47956 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47957 echo "${ECHO_T}mkdir -p" >&6; }
47958 fi
47959
47960
47961 LDFLAGS_GUI=
47962 case ${BAKEFILE_HOST} in
47963 *-*-cygwin* | *-*-mingw32* )
47964 LDFLAGS_GUI="-mwindows"
47965 esac
47966
47967
47968 fi
47969
47970 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47971 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47972 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47973 echo $ECHO_N "(cached) $ECHO_C" >&6
47974 else
47975
47976 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47977 egrep -s GNU > /dev/null); then
47978 bakefile_cv_prog_makeisgnu="yes"
47979 else
47980 bakefile_cv_prog_makeisgnu="no"
47981 fi
47982
47983 fi
47984 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47985 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47986
47987 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47988 IF_GNU_MAKE=""
47989 else
47990 IF_GNU_MAKE="#"
47991 fi
47992
47993
47994
47995 PLATFORM_UNIX=0
47996 PLATFORM_WIN32=0
47997 PLATFORM_MSDOS=0
47998 PLATFORM_MAC=0
47999 PLATFORM_MACOS=0
48000 PLATFORM_MACOSX=0
48001 PLATFORM_OS2=0
48002 PLATFORM_BEOS=0
48003
48004 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48005 case "${BAKEFILE_HOST}" in
48006 *-*-mingw32* )
48007 PLATFORM_WIN32=1
48008 ;;
48009 *-pc-msdosdjgpp )
48010 PLATFORM_MSDOS=1
48011 ;;
48012 *-pc-os2_emx | *-pc-os2-emx )
48013 PLATFORM_OS2=1
48014 ;;
48015 *-*-darwin* )
48016 PLATFORM_MAC=1
48017 PLATFORM_MACOSX=1
48018 ;;
48019 *-*-beos* )
48020 PLATFORM_BEOS=1
48021 ;;
48022 powerpc-apple-macos* )
48023 PLATFORM_MAC=1
48024 PLATFORM_MACOS=1
48025 ;;
48026 * )
48027 PLATFORM_UNIX=1
48028 ;;
48029 esac
48030 else
48031 case "$BAKEFILE_FORCE_PLATFORM" in
48032 win32 )
48033 PLATFORM_WIN32=1
48034 ;;
48035 msdos )
48036 PLATFORM_MSDOS=1
48037 ;;
48038 os2 )
48039 PLATFORM_OS2=1
48040 ;;
48041 darwin )
48042 PLATFORM_MAC=1
48043 PLATFORM_MACOSX=1
48044 ;;
48045 unix )
48046 PLATFORM_UNIX=1
48047 ;;
48048 beos )
48049 PLATFORM_BEOS=1
48050 ;;
48051 * )
48052 ;;
48053 esac
48054 fi
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065
48066 # Check whether --enable-omf was given.
48067 if test "${enable_omf+set}" = set; then
48068 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48069 fi
48070
48071
48072 case "${BAKEFILE_HOST}" in
48073 *-*-darwin* )
48074 if test "x$GCC" = "xyes"; then
48075 CFLAGS="$CFLAGS -fno-common"
48076 CXXFLAGS="$CXXFLAGS -fno-common"
48077 fi
48078 if test "x$XLCC" = "xyes"; then
48079 CFLAGS="$CFLAGS -qnocommon"
48080 CXXFLAGS="$CXXFLAGS -qnocommon"
48081 fi
48082 ;;
48083
48084 *-pc-os2_emx | *-pc-os2-emx )
48085 if test "x$bk_os2_use_omf" = "xyes" ; then
48086 AR=emxomfar
48087 RANLIB=:
48088 LDFLAGS="-Zomf $LDFLAGS"
48089 CFLAGS="-Zomf $CFLAGS"
48090 CXXFLAGS="-Zomf $CXXFLAGS"
48091 OS2_LIBEXT="lib"
48092 else
48093 OS2_LIBEXT="a"
48094 fi
48095 ;;
48096
48097 i*86-*-beos* )
48098 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48099 ;;
48100 esac
48101
48102
48103 SO_SUFFIX="so"
48104 SO_SUFFIX_MODULE="so"
48105 EXEEXT=""
48106 LIBPREFIX="lib"
48107 LIBEXT=".a"
48108 DLLPREFIX="lib"
48109 DLLPREFIX_MODULE=""
48110 DLLIMP_SUFFIX=""
48111 dlldir="$libdir"
48112
48113 case "${BAKEFILE_HOST}" in
48114 ia64-hp-hpux* )
48115 ;;
48116 *-hp-hpux* )
48117 SO_SUFFIX="sl"
48118 SO_SUFFIX_MODULE="sl"
48119 ;;
48120 *-*-aix* )
48121 SO_SUFFIX="a"
48122 SO_SUFFIX_MODULE="a"
48123 ;;
48124 *-*-cygwin* )
48125 SO_SUFFIX="dll"
48126 SO_SUFFIX_MODULE="dll"
48127 DLLIMP_SUFFIX="dll.a"
48128 EXEEXT=".exe"
48129 DLLPREFIX="cyg"
48130 dlldir="$bindir"
48131 ;;
48132 *-*-mingw32* )
48133 SO_SUFFIX="dll"
48134 SO_SUFFIX_MODULE="dll"
48135 DLLIMP_SUFFIX="dll.a"
48136 EXEEXT=".exe"
48137 DLLPREFIX=""
48138 dlldir="$bindir"
48139 ;;
48140 *-pc-msdosdjgpp )
48141 EXEEXT=".exe"
48142 DLLPREFIX=""
48143 dlldir="$bindir"
48144 ;;
48145 *-pc-os2_emx | *-pc-os2-emx )
48146 SO_SUFFIX="dll"
48147 SO_SUFFIX_MODULE="dll"
48148 DLLIMP_SUFFIX=$OS2_LIBEXT
48149 EXEEXT=".exe"
48150 DLLPREFIX=""
48151 LIBPREFIX=""
48152 LIBEXT=".$OS2_LIBEXT"
48153 dlldir="$bindir"
48154 ;;
48155 *-*-darwin* )
48156 SO_SUFFIX="dylib"
48157 SO_SUFFIX_MODULE="bundle"
48158 ;;
48159 esac
48160
48161 if test "x$DLLIMP_SUFFIX" = "x" ; then
48162 DLLIMP_SUFFIX="$SO_SUFFIX"
48163 fi
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176 PIC_FLAG=""
48177 if test "x$GCC" = "xyes"; then
48178 PIC_FLAG="-fPIC"
48179 fi
48180
48181 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48182 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48183 WINDOWS_IMPLIB=0
48184
48185 case "${BAKEFILE_HOST}" in
48186 *-hp-hpux* )
48187 if test "x$GCC" != "xyes"; then
48188 LDFLAGS="$LDFLAGS -L/usr/lib"
48189
48190 SHARED_LD_CC="${CC} -b -o"
48191 SHARED_LD_CXX="${CXX} -b -o"
48192 PIC_FLAG="+Z"
48193 fi
48194 ;;
48195
48196 *-*-linux* )
48197 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48198 PIC_FLAG="-KPIC"
48199 elif test "x$SUNCXX" = "xyes"; then
48200 SHARED_LD_CC="${CC} -G -o"
48201 SHARED_LD_CXX="${CXX} -G -o"
48202 PIC_FLAG="-KPIC"
48203 fi
48204 ;;
48205
48206 *-*-solaris2* )
48207 if test "x$SUNCXX" = xyes ; then
48208 SHARED_LD_CC="${CC} -G -o"
48209 SHARED_LD_CXX="${CXX} -G -o"
48210 PIC_FLAG="-KPIC"
48211 fi
48212 ;;
48213
48214 *-*-darwin* )
48215
48216 D='$'
48217 cat <<EOF >shared-ld-sh
48218 #!/bin/sh
48219 #-----------------------------------------------------------------------------
48220 #-- Name: distrib/mac/shared-ld-sh
48221 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48222 #-- Author: Gilles Depeyrot
48223 #-- Copyright: (c) 2002 Gilles Depeyrot
48224 #-- Licence: any use permitted
48225 #-----------------------------------------------------------------------------
48226
48227 verbose=0
48228 args=""
48229 objects=""
48230 linking_flag="-dynamiclib"
48231 ldargs="-r -keep_private_externs -nostdlib"
48232
48233 if test "x${D}CXX" = "x"; then
48234 CXX="c++"
48235 fi
48236
48237 while test ${D}# -gt 0; do
48238 case ${D}1 in
48239
48240 -v)
48241 verbose=1
48242 ;;
48243
48244 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48245 # collect these options and values
48246 args="${D}{args} ${D}1 ${D}2"
48247 shift
48248 ;;
48249
48250 -arch|-isysroot)
48251 # collect these options and values
48252 ldargs="${D}{ldargs} ${D}1 ${D}2"
48253 shift
48254 ;;
48255
48256 -s|-Wl,*)
48257 # collect these load args
48258 ldargs="${D}{ldargs} ${D}1"
48259 ;;
48260
48261 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48262 # collect these options
48263 args="${D}{args} ${D}1"
48264 ;;
48265
48266 -dynamiclib|-bundle)
48267 linking_flag="${D}1"
48268 ;;
48269
48270 -*)
48271 echo "shared-ld: unhandled option '${D}1'"
48272 exit 1
48273 ;;
48274
48275 *.o | *.a | *.dylib)
48276 # collect object files
48277 objects="${D}{objects} ${D}1"
48278 ;;
48279
48280 *)
48281 echo "shared-ld: unhandled argument '${D}1'"
48282 exit 1
48283 ;;
48284
48285 esac
48286 shift
48287 done
48288
48289 status=0
48290
48291 #
48292 # Link one module containing all the others
48293 #
48294 if test ${D}{verbose} = 1; then
48295 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48296 fi
48297 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48298 status=${D}?
48299
48300 #
48301 # Link the shared library from the single module created, but only if the
48302 # previous command didn't fail:
48303 #
48304 if test ${D}{status} = 0; then
48305 if test ${D}{verbose} = 1; then
48306 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48307 fi
48308 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48309 status=${D}?
48310 fi
48311
48312 #
48313 # Remove intermediate module
48314 #
48315 rm -f master.${D}${D}.o
48316
48317 exit ${D}status
48318 EOF
48319
48320 chmod +x shared-ld-sh
48321
48322 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48323 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48324
48325
48326 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48327 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48328 if test "${bakefile_cv_gcc31+set}" = set; then
48329 echo $ECHO_N "(cached) $ECHO_C" >&6
48330 else
48331
48332 cat >conftest.$ac_ext <<_ACEOF
48333 /* confdefs.h. */
48334 _ACEOF
48335 cat confdefs.h >>conftest.$ac_ext
48336 cat >>conftest.$ac_ext <<_ACEOF
48337 /* end confdefs.h. */
48338
48339 int
48340 main ()
48341 {
48342
48343 #if (__GNUC__ < 3) || \
48344 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48345 This is old gcc
48346 #endif
48347
48348 ;
48349 return 0;
48350 }
48351 _ACEOF
48352 rm -f conftest.$ac_objext
48353 if { (ac_try="$ac_compile"
48354 case "(($ac_try" in
48355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48356 *) ac_try_echo=$ac_try;;
48357 esac
48358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48359 (eval "$ac_compile") 2>conftest.er1
48360 ac_status=$?
48361 grep -v '^ *+' conftest.er1 >conftest.err
48362 rm -f conftest.er1
48363 cat conftest.err >&5
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); } && {
48366 test -z "$ac_c_werror_flag" ||
48367 test ! -s conftest.err
48368 } && test -s conftest.$ac_objext; then
48369
48370 bakefile_cv_gcc31=yes
48371
48372 else
48373 echo "$as_me: failed program was:" >&5
48374 sed 's/^/| /' conftest.$ac_ext >&5
48375
48376
48377 bakefile_cv_gcc31=no
48378
48379
48380 fi
48381
48382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48383
48384 fi
48385 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48386 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48387 if test "$bakefile_cv_gcc31" = "no"; then
48388 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48389 SHARED_LD_CXX="$SHARED_LD_CC"
48390 else
48391 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48392 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48393 fi
48394
48395 if test "x$GCC" == "xyes"; then
48396 PIC_FLAG="-dynamic -fPIC"
48397 fi
48398 if test "x$XLCC" = "xyes"; then
48399 PIC_FLAG="-dynamic -DPIC"
48400 fi
48401 ;;
48402
48403 *-*-aix* )
48404 if test "x$GCC" = "xyes"; then
48405 PIC_FLAG=""
48406
48407 case "${BAKEFILE_HOST}" in
48408 *-*-aix5* )
48409 LD_EXPFULL="-Wl,-bexpfull"
48410 ;;
48411 esac
48412
48413 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48414 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48415 else
48416 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48417 set dummy makeC++SharedLib; ac_word=$2
48418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48420 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48421 echo $ECHO_N "(cached) $ECHO_C" >&6
48422 else
48423 if test -n "$AIX_CXX_LD"; then
48424 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48425 else
48426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48427 for as_dir in $PATH
48428 do
48429 IFS=$as_save_IFS
48430 test -z "$as_dir" && as_dir=.
48431 for ac_exec_ext in '' $ac_executable_extensions; do
48432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48433 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48435 break 2
48436 fi
48437 done
48438 done
48439 IFS=$as_save_IFS
48440
48441 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48442 fi
48443 fi
48444 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48445 if test -n "$AIX_CXX_LD"; then
48446 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48447 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48448 else
48449 { echo "$as_me:$LINENO: result: no" >&5
48450 echo "${ECHO_T}no" >&6; }
48451 fi
48452
48453
48454 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48455 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48456 fi
48457 ;;
48458
48459 *-*-beos* )
48460 SHARED_LD_CC="${LD} -nostart -o"
48461 SHARED_LD_CXX="${LD} -nostart -o"
48462 ;;
48463
48464 *-*-irix* )
48465 if test "x$GCC" != "xyes"; then
48466 PIC_FLAG="-KPIC"
48467 fi
48468 ;;
48469
48470 *-*-cygwin* | *-*-mingw32* )
48471 PIC_FLAG=""
48472 SHARED_LD_CC="\$(CC) -shared -o"
48473 SHARED_LD_CXX="\$(CXX) -shared -o"
48474 WINDOWS_IMPLIB=1
48475 ;;
48476
48477 *-pc-os2_emx | *-pc-os2-emx )
48478 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48479 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48480 PIC_FLAG=""
48481
48482 D='$'
48483 cat <<EOF >dllar.sh
48484 #!/bin/sh
48485 #
48486 # dllar - a tool to build both a .dll and an .a file
48487 # from a set of object (.o) files for EMX/OS2.
48488 #
48489 # Written by Andrew Zabolotny, bit@freya.etu.ru
48490 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48491 #
48492 # This script will accept a set of files on the command line.
48493 # All the public symbols from the .o files will be exported into
48494 # a .DEF file, then linker will be run (through gcc) against them to
48495 # build a shared library consisting of all given .o files. All libraries
48496 # (.a) will be first decompressed into component .o files then act as
48497 # described above. You can optionally give a description (-d "description")
48498 # which will be put into .DLL. To see the list of accepted options (as well
48499 # as command-line format) simply run this program without options. The .DLL
48500 # is built to be imported by name (there is no guarantee that new versions
48501 # of the library you build will have same ordinals for same symbols).
48502 #
48503 # dllar is free software; you can redistribute it and/or modify
48504 # it under the terms of the GNU General Public License as published by
48505 # the Free Software Foundation; either version 2, or (at your option)
48506 # any later version.
48507 #
48508 # dllar is distributed in the hope that it will be useful,
48509 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48510 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48511 # GNU General Public License for more details.
48512 #
48513 # You should have received a copy of the GNU General Public License
48514 # along with dllar; see the file COPYING. If not, write to the Free
48515 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48516 # 02111-1307, USA.
48517
48518 # To successfuly run this program you will need:
48519 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48520 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48521 # - gcc
48522 # (used to build the .dll)
48523 # - emxexp
48524 # (used to create .def file from .o files)
48525 # - emximp
48526 # (used to create .a file from .def file)
48527 # - GNU text utilites (cat, sort, uniq)
48528 # used to process emxexp output
48529 # - GNU file utilities (mv, rm)
48530 # - GNU sed
48531 # - lxlite (optional, see flag below)
48532 # (used for general .dll cleanup)
48533 #
48534
48535 flag_USE_LXLITE=1;
48536
48537 #
48538 # helper functions
48539 # basnam, variant of basename, which does _not_ remove the path, _iff_
48540 # second argument (suffix to remove) is given
48541 basnam(){
48542 case ${D}# in
48543 1)
48544 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48545 ;;
48546 2)
48547 echo ${D}1 | sed 's/'${D}2'${D}//'
48548 ;;
48549 *)
48550 echo "error in basnam ${D}*"
48551 exit 8
48552 ;;
48553 esac
48554 }
48555
48556 # Cleanup temporary files and output
48557 CleanUp() {
48558 cd ${D}curDir
48559 for i in ${D}inputFiles ; do
48560 case ${D}i in
48561 *!)
48562 rm -rf \`basnam ${D}i !\`
48563 ;;
48564 *)
48565 ;;
48566 esac
48567 done
48568
48569 # Kill result in case of failure as there is just to many stupid make/nmake
48570 # things out there which doesn't do this.
48571 if [ ${D}# -eq 0 ]; then
48572 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48573 fi
48574 }
48575
48576 # Print usage and exit script with rc=1.
48577 PrintHelp() {
48578 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48579 echo ' [-name-mangler-script script.sh]'
48580 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48581 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48582 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48583 echo ' [*.o] [*.a]'
48584 echo '*> "output_file" should have no extension.'
48585 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48586 echo ' The import library name is derived from this and is set to "name".a,'
48587 echo ' unless overridden by -import'
48588 echo '*> "importlib_name" should have no extension.'
48589 echo ' If it has the .o, or .a extension, it is automatically removed.'
48590 echo ' This name is used as the import library name and may be longer and'
48591 echo ' more descriptive than the DLL name which has to follow the old '
48592 echo ' 8.3 convention of FAT.'
48593 echo '*> "script.sh may be given to override the output_file name by a'
48594 echo ' different name. It is mainly useful if the regular make process'
48595 echo ' of some package does not take into account OS/2 restriction of'
48596 echo ' DLL name lengths. It takes the importlib name as input and is'
48597 echo ' supposed to procude a shorter name as output. The script should'
48598 echo ' expect to get importlib_name without extension and should produce'
48599 echo ' a (max.) 8 letter name without extension.'
48600 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48601 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48602 echo ' These flags will be put at the start of GCC command line.'
48603 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48604 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48605 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48606 echo ' If the last character of a symbol is "*", all symbols beginning'
48607 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48608 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48609 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48610 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48611 echo ' C runtime DLLs.'
48612 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48613 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48614 echo ' unchanged to GCC at the end of command line.'
48615 echo '*> If you create a DLL from a library and you do not specify -o,'
48616 echo ' the basename for DLL and import library will be set to library name,'
48617 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48618 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48619 echo ' library will be renamed into gcc_s.a.'
48620 echo '--------'
48621 echo 'Example:'
48622 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48623 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48624 CleanUp
48625 exit 1
48626 }
48627
48628 # Execute a command.
48629 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48630 # @Uses Whatever CleanUp() uses.
48631 doCommand() {
48632 echo "${D}*"
48633 eval ${D}*
48634 rcCmd=${D}?
48635
48636 if [ ${D}rcCmd -ne 0 ]; then
48637 echo "command failed, exit code="${D}rcCmd
48638 CleanUp
48639 exit ${D}rcCmd
48640 fi
48641 }
48642
48643 # main routine
48644 # setup globals
48645 cmdLine=${D}*
48646 outFile=""
48647 outimpFile=""
48648 inputFiles=""
48649 renameScript=""
48650 description=""
48651 CC=gcc.exe
48652 CFLAGS="-s -Zcrtdll"
48653 EXTRA_CFLAGS=""
48654 EXPORT_BY_ORDINALS=0
48655 exclude_symbols=""
48656 library_flags=""
48657 curDir=\`pwd\`
48658 curDirS=curDir
48659 case ${D}curDirS in
48660 */)
48661 ;;
48662 *)
48663 curDirS=${D}{curDirS}"/"
48664 ;;
48665 esac
48666 # Parse commandline
48667 libsToLink=0
48668 omfLinking=0
48669 while [ ${D}1 ]; do
48670 case ${D}1 in
48671 -ord*)
48672 EXPORT_BY_ORDINALS=1;
48673 ;;
48674 -o*)
48675 shift
48676 outFile=${D}1
48677 ;;
48678 -i*)
48679 shift
48680 outimpFile=${D}1
48681 ;;
48682 -name-mangler-script)
48683 shift
48684 renameScript=${D}1
48685 ;;
48686 -d*)
48687 shift
48688 description=${D}1
48689 ;;
48690 -f*)
48691 shift
48692 CFLAGS=${D}1
48693 ;;
48694 -c*)
48695 shift
48696 CC=${D}1
48697 ;;
48698 -h*)
48699 PrintHelp
48700 ;;
48701 -ex*)
48702 shift
48703 exclude_symbols=${D}{exclude_symbols}${D}1" "
48704 ;;
48705 -libf*)
48706 shift
48707 library_flags=${D}{library_flags}${D}1" "
48708 ;;
48709 -nocrt*)
48710 CFLAGS="-s"
48711 ;;
48712 -nolxl*)
48713 flag_USE_LXLITE=0
48714 ;;
48715 -* | /*)
48716 case ${D}1 in
48717 -L* | -l*)
48718 libsToLink=1
48719 ;;
48720 -Zomf)
48721 omfLinking=1
48722 ;;
48723 *)
48724 ;;
48725 esac
48726 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48727 ;;
48728 *.dll)
48729 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48730 if [ ${D}omfLinking -eq 1 ]; then
48731 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48732 else
48733 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48734 fi
48735 ;;
48736 *)
48737 found=0;
48738 if [ ${D}libsToLink -ne 0 ]; then
48739 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48740 else
48741 for file in ${D}1 ; do
48742 if [ -f ${D}file ]; then
48743 inputFiles="${D}{inputFiles} ${D}file"
48744 found=1
48745 fi
48746 done
48747 if [ ${D}found -eq 0 ]; then
48748 echo "ERROR: No file(s) found: "${D}1
48749 exit 8
48750 fi
48751 fi
48752 ;;
48753 esac
48754 shift
48755 done # iterate cmdline words
48756
48757 #
48758 if [ -z "${D}inputFiles" ]; then
48759 echo "dllar: no input files"
48760 PrintHelp
48761 fi
48762
48763 # Now extract all .o files from .a files
48764 newInputFiles=""
48765 for file in ${D}inputFiles ; do
48766 case ${D}file in
48767 *.a | *.lib)
48768 case ${D}file in
48769 *.a)
48770 suffix=".a"
48771 AR="ar"
48772 ;;
48773 *.lib)
48774 suffix=".lib"
48775 AR="emxomfar"
48776 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48777 ;;
48778 *)
48779 ;;
48780 esac
48781 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48782 mkdir ${D}dirname
48783 if [ ${D}? -ne 0 ]; then
48784 echo "Failed to create subdirectory ./${D}dirname"
48785 CleanUp
48786 exit 8;
48787 fi
48788 # Append '!' to indicate archive
48789 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48790 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48791 cd ${D}curDir
48792 found=0;
48793 for subfile in ${D}dirname/*.o* ; do
48794 if [ -f ${D}subfile ]; then
48795 found=1
48796 if [ -s ${D}subfile ]; then
48797 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48798 newInputFiles="${D}newInputFiles ${D}subfile"
48799 fi
48800 fi
48801 done
48802 if [ ${D}found -eq 0 ]; then
48803 echo "WARNING: there are no files in archive \\'${D}file\\'"
48804 fi
48805 ;;
48806 *)
48807 newInputFiles="${D}{newInputFiles} ${D}file"
48808 ;;
48809 esac
48810 done
48811 inputFiles="${D}newInputFiles"
48812
48813 # Output filename(s).
48814 do_backup=0;
48815 if [ -z ${D}outFile ]; then
48816 do_backup=1;
48817 set outFile ${D}inputFiles; outFile=${D}2
48818 fi
48819
48820 # If it is an archive, remove the '!' and the '_%' suffixes
48821 case ${D}outFile in
48822 *_%!)
48823 outFile=\`basnam ${D}outFile _%!\`
48824 ;;
48825 *)
48826 ;;
48827 esac
48828 case ${D}outFile in
48829 *.dll)
48830 outFile=\`basnam ${D}outFile .dll\`
48831 ;;
48832 *.DLL)
48833 outFile=\`basnam ${D}outFile .DLL\`
48834 ;;
48835 *.o)
48836 outFile=\`basnam ${D}outFile .o\`
48837 ;;
48838 *.obj)
48839 outFile=\`basnam ${D}outFile .obj\`
48840 ;;
48841 *.a)
48842 outFile=\`basnam ${D}outFile .a\`
48843 ;;
48844 *.lib)
48845 outFile=\`basnam ${D}outFile .lib\`
48846 ;;
48847 *)
48848 ;;
48849 esac
48850 case ${D}outimpFile in
48851 *.a)
48852 outimpFile=\`basnam ${D}outimpFile .a\`
48853 ;;
48854 *.lib)
48855 outimpFile=\`basnam ${D}outimpFile .lib\`
48856 ;;
48857 *)
48858 ;;
48859 esac
48860 if [ -z ${D}outimpFile ]; then
48861 outimpFile=${D}outFile
48862 fi
48863 defFile="${D}{outFile}.def"
48864 arcFile="${D}{outimpFile}.a"
48865 arcFile2="${D}{outimpFile}.lib"
48866
48867 #create ${D}dllFile as something matching 8.3 restrictions,
48868 if [ -z ${D}renameScript ] ; then
48869 dllFile="${D}outFile"
48870 else
48871 dllFile=\`${D}renameScript ${D}outimpFile\`
48872 fi
48873
48874 if [ ${D}do_backup -ne 0 ] ; then
48875 if [ -f ${D}arcFile ] ; then
48876 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48877 fi
48878 if [ -f ${D}arcFile2 ] ; then
48879 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48880 fi
48881 fi
48882
48883 # Extract public symbols from all the object files.
48884 tmpdefFile=${D}{defFile}_%
48885 rm -f ${D}tmpdefFile
48886 for file in ${D}inputFiles ; do
48887 case ${D}file in
48888 *!)
48889 ;;
48890 *)
48891 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48892 ;;
48893 esac
48894 done
48895
48896 # Create the def file.
48897 rm -f ${D}defFile
48898 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48899 dllFile="${D}{dllFile}.dll"
48900 if [ ! -z ${D}description ]; then
48901 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48902 fi
48903 echo "EXPORTS" >> ${D}defFile
48904
48905 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48906 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48907
48908 # Checks if the export is ok or not.
48909 for word in ${D}exclude_symbols; do
48910 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48911 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48912 done
48913
48914
48915 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48916 sed "=" < ${D}tmpdefFile | \\
48917 sed '
48918 N
48919 : loop
48920 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48921 t loop
48922 ' > ${D}{tmpdefFile}%
48923 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48924 else
48925 rm -f ${D}{tmpdefFile}%
48926 fi
48927 cat ${D}tmpdefFile >> ${D}defFile
48928 rm -f ${D}tmpdefFile
48929
48930 # Do linking, create implib, and apply lxlite.
48931 gccCmdl="";
48932 for file in ${D}inputFiles ; do
48933 case ${D}file in
48934 *!)
48935 ;;
48936 *)
48937 gccCmdl="${D}gccCmdl ${D}file"
48938 ;;
48939 esac
48940 done
48941 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48942 touch "${D}{outFile}.dll"
48943
48944 doCommand "emximp -o ${D}arcFile ${D}defFile"
48945 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48946 add_flags="";
48947 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48948 add_flags="-ynd"
48949 fi
48950 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48951 fi
48952 doCommand "emxomf -s -l ${D}arcFile"
48953
48954 # Successful exit.
48955 CleanUp 1
48956 exit 0
48957 EOF
48958
48959 chmod +x dllar.sh
48960 ;;
48961
48962 powerpc-apple-macos* | \
48963 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48964 *-*-mirbsd* | \
48965 *-*-sunos4* | \
48966 *-*-osf* | \
48967 *-*-dgux5* | \
48968 *-*-sysv5* | \
48969 *-pc-msdosdjgpp )
48970 ;;
48971
48972 *)
48973 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48974 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48975 { (exit 1); exit 1; }; }
48976 esac
48977
48978 if test "x$PIC_FLAG" != "x" ; then
48979 PIC_FLAG="$PIC_FLAG -DPIC"
48980 fi
48981
48982 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48983 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48984 fi
48985 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48986 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48987 fi
48988
48989
48990
48991
48992
48993
48994
48995
48996
48997 USE_SOVERSION=0
48998 USE_SOVERLINUX=0
48999 USE_SOVERSOLARIS=0
49000 USE_SOVERCYGWIN=0
49001 USE_SOSYMLINKS=0
49002 USE_MACVERSION=0
49003 SONAME_FLAG=
49004
49005 case "${BAKEFILE_HOST}" in
49006 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49007 *-*-k*bsd*-gnu | *-*-mirbsd* )
49008 if test "x$SUNCXX" = "xyes"; then
49009 SONAME_FLAG="-h "
49010 else
49011 SONAME_FLAG="-Wl,-soname,"
49012 fi
49013 USE_SOVERSION=1
49014 USE_SOVERLINUX=1
49015 USE_SOSYMLINKS=1
49016 ;;
49017
49018 *-*-solaris2* )
49019 SONAME_FLAG="-h "
49020 USE_SOVERSION=1
49021 USE_SOVERSOLARIS=1
49022 USE_SOSYMLINKS=1
49023 ;;
49024
49025 *-*-darwin* )
49026 USE_MACVERSION=1
49027 USE_SOVERSION=1
49028 USE_SOSYMLINKS=1
49029 ;;
49030
49031 *-*-cygwin* )
49032 USE_SOVERSION=1
49033 USE_SOVERCYGWIN=1
49034 ;;
49035 esac
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046 # Check whether --enable-dependency-tracking was given.
49047 if test "${enable_dependency_tracking+set}" = set; then
49048 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49049 fi
49050
49051
49052 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49053 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49054
49055 BK_DEPS=""
49056 if test "x$bk_use_trackdeps" = "xno" ; then
49057 DEPS_TRACKING=0
49058 { echo "$as_me:$LINENO: result: disabled" >&5
49059 echo "${ECHO_T}disabled" >&6; }
49060 else
49061 DEPS_TRACKING=1
49062
49063 if test "x$GCC" = "xyes"; then
49064 DEPSMODE=gcc
49065 case "${BAKEFILE_HOST}" in
49066 *-*-darwin* )
49067 DEPSFLAG="-no-cpp-precomp -MMD"
49068 ;;
49069 * )
49070 DEPSFLAG="-MMD"
49071 ;;
49072 esac
49073 { echo "$as_me:$LINENO: result: gcc" >&5
49074 echo "${ECHO_T}gcc" >&6; }
49075 elif test "x$MWCC" = "xyes"; then
49076 DEPSMODE=mwcc
49077 DEPSFLAG="-MM"
49078 { echo "$as_me:$LINENO: result: mwcc" >&5
49079 echo "${ECHO_T}mwcc" >&6; }
49080 elif test "x$SUNCC" = "xyes"; then
49081 DEPSMODE=unixcc
49082 DEPSFLAG="-xM1"
49083 { echo "$as_me:$LINENO: result: Sun cc" >&5
49084 echo "${ECHO_T}Sun cc" >&6; }
49085 elif test "x$SGICC" = "xyes"; then
49086 DEPSMODE=unixcc
49087 DEPSFLAG="-M"
49088 { echo "$as_me:$LINENO: result: SGI cc" >&5
49089 echo "${ECHO_T}SGI cc" >&6; }
49090 elif test "x$HPCC" = "xyes"; then
49091 DEPSMODE=unixcc
49092 DEPSFLAG="+make"
49093 { echo "$as_me:$LINENO: result: HP cc" >&5
49094 echo "${ECHO_T}HP cc" >&6; }
49095 elif test "x$COMPAQCC" = "xyes"; then
49096 DEPSMODE=gcc
49097 DEPSFLAG="-MD"
49098 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49099 echo "${ECHO_T}Compaq cc" >&6; }
49100 else
49101 DEPS_TRACKING=0
49102 { echo "$as_me:$LINENO: result: none" >&5
49103 echo "${ECHO_T}none" >&6; }
49104 fi
49105
49106 if test $DEPS_TRACKING = 1 ; then
49107
49108 D='$'
49109 cat <<EOF >bk-deps
49110 #!/bin/sh
49111
49112 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49113 # script. It is used to track C/C++ files dependencies in portable way.
49114 #
49115 # Permission is given to use this file in any way.
49116
49117 DEPSMODE=${DEPSMODE}
49118 DEPSFLAG="${DEPSFLAG}"
49119 DEPSDIRBASE=.deps
49120
49121 if test ${D}DEPSMODE = gcc ; then
49122 ${D}* ${D}{DEPSFLAG}
49123 status=${D}?
49124
49125 # determine location of created files:
49126 while test ${D}# -gt 0; do
49127 case "${D}1" in
49128 -o )
49129 shift
49130 objfile=${D}1
49131 ;;
49132 -* )
49133 ;;
49134 * )
49135 srcfile=${D}1
49136 ;;
49137 esac
49138 shift
49139 done
49140 objfilebase=\`basename ${D}objfile\`
49141 builddir=\`dirname ${D}objfile\`
49142 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49143 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49144 depsdir=${D}builddir/${D}DEPSDIRBASE
49145 mkdir -p ${D}depsdir
49146
49147 # if the compiler failed, we're done:
49148 if test ${D}{status} != 0 ; then
49149 rm -f ${D}depfile
49150 exit ${D}{status}
49151 fi
49152
49153 # move created file to the location we want it in:
49154 if test -f ${D}depfile ; then
49155 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49156 rm -f ${D}depfile
49157 else
49158 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49159 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49160 if test ! -f ${D}depfile ; then
49161 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49162 depfile="${D}objfile.d"
49163 fi
49164 if test -f ${D}depfile ; then
49165 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49166 rm -f ${D}depfile
49167 fi
49168 fi
49169 exit 0
49170
49171 elif test ${D}DEPSMODE = mwcc ; then
49172 ${D}* || exit ${D}?
49173 # Run mwcc again with -MM and redirect into the dep file we want
49174 # NOTE: We can't use shift here because we need ${D}* to be valid
49175 prevarg=
49176 for arg in ${D}* ; do
49177 if test "${D}prevarg" = "-o"; then
49178 objfile=${D}arg
49179 else
49180 case "${D}arg" in
49181 -* )
49182 ;;
49183 * )
49184 srcfile=${D}arg
49185 ;;
49186 esac
49187 fi
49188 prevarg="${D}arg"
49189 done
49190
49191 objfilebase=\`basename ${D}objfile\`
49192 builddir=\`dirname ${D}objfile\`
49193 depsdir=${D}builddir/${D}DEPSDIRBASE
49194 mkdir -p ${D}depsdir
49195
49196 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49197 exit 0
49198
49199 elif test ${D}DEPSMODE = unixcc; then
49200 ${D}* || exit ${D}?
49201 # Run compiler again with deps flag and redirect into the dep file.
49202 # It doesn't work if the '-o FILE' option is used, but without it the
49203 # dependency file will contain the wrong name for the object. So it is
49204 # removed from the command line, and the dep file is fixed with sed.
49205 cmd=""
49206 while test ${D}# -gt 0; do
49207 case "${D}1" in
49208 -o )
49209 shift
49210 objfile=${D}1
49211 ;;
49212 * )
49213 eval arg${D}#=\\${D}1
49214 cmd="${D}cmd \\${D}arg${D}#"
49215 ;;
49216 esac
49217 shift
49218 done
49219
49220 objfilebase=\`basename ${D}objfile\`
49221 builddir=\`dirname ${D}objfile\`
49222 depsdir=${D}builddir/${D}DEPSDIRBASE
49223 mkdir -p ${D}depsdir
49224
49225 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49226 exit 0
49227
49228 else
49229 ${D}*
49230 exit ${D}?
49231 fi
49232 EOF
49233
49234 chmod +x bk-deps
49235 BK_DEPS="`pwd`/bk-deps"
49236 fi
49237 fi
49238
49239
49240
49241
49242
49243 case ${BAKEFILE_HOST} in
49244 *-*-cygwin* | *-*-mingw32* )
49245 if test -n "$ac_tool_prefix"; then
49246 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49247 set dummy ${ac_tool_prefix}windres; ac_word=$2
49248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49250 if test "${ac_cv_prog_WINDRES+set}" = set; then
49251 echo $ECHO_N "(cached) $ECHO_C" >&6
49252 else
49253 if test -n "$WINDRES"; then
49254 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49255 else
49256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49257 for as_dir in $PATH
49258 do
49259 IFS=$as_save_IFS
49260 test -z "$as_dir" && as_dir=.
49261 for ac_exec_ext in '' $ac_executable_extensions; do
49262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49263 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49265 break 2
49266 fi
49267 done
49268 done
49269 IFS=$as_save_IFS
49270
49271 fi
49272 fi
49273 WINDRES=$ac_cv_prog_WINDRES
49274 if test -n "$WINDRES"; then
49275 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49276 echo "${ECHO_T}$WINDRES" >&6; }
49277 else
49278 { echo "$as_me:$LINENO: result: no" >&5
49279 echo "${ECHO_T}no" >&6; }
49280 fi
49281
49282
49283 fi
49284 if test -z "$ac_cv_prog_WINDRES"; then
49285 ac_ct_WINDRES=$WINDRES
49286 # Extract the first word of "windres", so it can be a program name with args.
49287 set dummy windres; ac_word=$2
49288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49290 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49291 echo $ECHO_N "(cached) $ECHO_C" >&6
49292 else
49293 if test -n "$ac_ct_WINDRES"; then
49294 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49295 else
49296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49297 for as_dir in $PATH
49298 do
49299 IFS=$as_save_IFS
49300 test -z "$as_dir" && as_dir=.
49301 for ac_exec_ext in '' $ac_executable_extensions; do
49302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49303 ac_cv_prog_ac_ct_WINDRES="windres"
49304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49305 break 2
49306 fi
49307 done
49308 done
49309 IFS=$as_save_IFS
49310
49311 fi
49312 fi
49313 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49314 if test -n "$ac_ct_WINDRES"; then
49315 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49316 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49317 else
49318 { echo "$as_me:$LINENO: result: no" >&5
49319 echo "${ECHO_T}no" >&6; }
49320 fi
49321
49322 if test "x$ac_ct_WINDRES" = x; then
49323 WINDRES=""
49324 else
49325 case $cross_compiling:$ac_tool_warned in
49326 yes:)
49327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49328 whose name does not start with the host triplet. If you think this
49329 configuration is useful to you, please write to autoconf@gnu.org." >&5
49330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49331 whose name does not start with the host triplet. If you think this
49332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49333 ac_tool_warned=yes ;;
49334 esac
49335 WINDRES=$ac_ct_WINDRES
49336 fi
49337 else
49338 WINDRES="$ac_cv_prog_WINDRES"
49339 fi
49340
49341 ;;
49342
49343 *-*-darwin* | powerpc-apple-macos* )
49344 # Extract the first word of "Rez", so it can be a program name with args.
49345 set dummy Rez; ac_word=$2
49346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49348 if test "${ac_cv_prog_REZ+set}" = set; then
49349 echo $ECHO_N "(cached) $ECHO_C" >&6
49350 else
49351 if test -n "$REZ"; then
49352 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49353 else
49354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49355 for as_dir in $PATH
49356 do
49357 IFS=$as_save_IFS
49358 test -z "$as_dir" && as_dir=.
49359 for ac_exec_ext in '' $ac_executable_extensions; do
49360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49361 ac_cv_prog_REZ="Rez"
49362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49363 break 2
49364 fi
49365 done
49366 done
49367 IFS=$as_save_IFS
49368
49369 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49370 fi
49371 fi
49372 REZ=$ac_cv_prog_REZ
49373 if test -n "$REZ"; then
49374 { echo "$as_me:$LINENO: result: $REZ" >&5
49375 echo "${ECHO_T}$REZ" >&6; }
49376 else
49377 { echo "$as_me:$LINENO: result: no" >&5
49378 echo "${ECHO_T}no" >&6; }
49379 fi
49380
49381
49382 # Extract the first word of "SetFile", so it can be a program name with args.
49383 set dummy SetFile; ac_word=$2
49384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49386 if test "${ac_cv_prog_SETFILE+set}" = set; then
49387 echo $ECHO_N "(cached) $ECHO_C" >&6
49388 else
49389 if test -n "$SETFILE"; then
49390 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49391 else
49392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49393 for as_dir in $PATH
49394 do
49395 IFS=$as_save_IFS
49396 test -z "$as_dir" && as_dir=.
49397 for ac_exec_ext in '' $ac_executable_extensions; do
49398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49399 ac_cv_prog_SETFILE="SetFile"
49400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49401 break 2
49402 fi
49403 done
49404 done
49405 IFS=$as_save_IFS
49406
49407 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49408 fi
49409 fi
49410 SETFILE=$ac_cv_prog_SETFILE
49411 if test -n "$SETFILE"; then
49412 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49413 echo "${ECHO_T}$SETFILE" >&6; }
49414 else
49415 { echo "$as_me:$LINENO: result: no" >&5
49416 echo "${ECHO_T}no" >&6; }
49417 fi
49418
49419
49420 ;;
49421 esac
49422
49423
49424
49425
49426
49427
49428
49429
49430
49431 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49432
49433
49434 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49435
49436
49437
49438 # Check whether --enable-precomp-headers was given.
49439 if test "${enable_precomp_headers+set}" = set; then
49440 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49441 fi
49442
49443
49444 GCC_PCH=0
49445 ICC_PCH=0
49446 USE_PCH=0
49447 BK_MAKE_PCH=""
49448
49449 case ${BAKEFILE_HOST} in
49450 *-*-cygwin* )
49451 bk_use_pch="no"
49452 ;;
49453 esac
49454
49455 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49456 if test "x$GCC" = "xyes"; then
49457 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49458 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49459 cat >conftest.$ac_ext <<_ACEOF
49460 /* confdefs.h. */
49461 _ACEOF
49462 cat confdefs.h >>conftest.$ac_ext
49463 cat >>conftest.$ac_ext <<_ACEOF
49464 /* end confdefs.h. */
49465
49466 int
49467 main ()
49468 {
49469
49470 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49471 There is no PCH support
49472 #endif
49473 #if (__GNUC__ < 3)
49474 There is no PCH support
49475 #endif
49476 #if (__GNUC__ == 3) && \
49477 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49478 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49479 ( defined(__INTEL_COMPILER) )
49480 There is no PCH support
49481 #endif
49482
49483 ;
49484 return 0;
49485 }
49486 _ACEOF
49487 rm -f conftest.$ac_objext
49488 if { (ac_try="$ac_compile"
49489 case "(($ac_try" in
49490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49491 *) ac_try_echo=$ac_try;;
49492 esac
49493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49494 (eval "$ac_compile") 2>conftest.er1
49495 ac_status=$?
49496 grep -v '^ *+' conftest.er1 >conftest.err
49497 rm -f conftest.er1
49498 cat conftest.err >&5
49499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49500 (exit $ac_status); } && {
49501 test -z "$ac_c_werror_flag" ||
49502 test ! -s conftest.err
49503 } && test -s conftest.$ac_objext; then
49504
49505 { echo "$as_me:$LINENO: result: yes" >&5
49506 echo "${ECHO_T}yes" >&6; }
49507 GCC_PCH=1
49508
49509 else
49510 echo "$as_me: failed program was:" >&5
49511 sed 's/^/| /' conftest.$ac_ext >&5
49512
49513
49514 if test "$INTELCXX8" = "yes"; then
49515 { echo "$as_me:$LINENO: result: yes" >&5
49516 echo "${ECHO_T}yes" >&6; }
49517 ICC_PCH=1
49518 if test "$INTELCXX10" = "yes"; then
49519 ICC_PCH_CREATE_SWITCH="-pch-create"
49520 ICC_PCH_USE_SWITCH="-pch-use"
49521 else
49522 ICC_PCH_CREATE_SWITCH="-create-pch"
49523 ICC_PCH_USE_SWITCH="-use-pch"
49524 fi
49525 else
49526 { echo "$as_me:$LINENO: result: no" >&5
49527 echo "${ECHO_T}no" >&6; }
49528 fi
49529
49530 fi
49531
49532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49533 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49534 USE_PCH=1
49535
49536 D='$'
49537 cat <<EOF >bk-make-pch
49538 #!/bin/sh
49539
49540 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49541 # script. It is used to generated precompiled headers.
49542 #
49543 # Permission is given to use this file in any way.
49544
49545 outfile="${D}{1}"
49546 header="${D}{2}"
49547 shift
49548 shift
49549
49550 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49551
49552 compiler=""
49553 headerfile=""
49554
49555 while test ${D}{#} -gt 0; do
49556 add_to_cmdline=1
49557 case "${D}{1}" in
49558 -I* )
49559 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49560 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49561 headerfile="${D}{incdir}/${D}{header}"
49562 fi
49563 ;;
49564 -use-pch|-use_pch|-pch-use )
49565 shift
49566 add_to_cmdline=0
49567 ;;
49568 esac
49569 if test ${D}add_to_cmdline = 1 ; then
49570 compiler="${D}{compiler} ${D}{1}"
49571 fi
49572 shift
49573 done
49574
49575 if test "x${D}{headerfile}" = "x" ; then
49576 echo "error: can't find header ${D}{header} in include paths" >&2
49577 else
49578 if test -f ${D}{outfile} ; then
49579 rm -f ${D}{outfile}
49580 else
49581 mkdir -p \`dirname ${D}{outfile}\`
49582 fi
49583 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49584 mkdir -p ${D}{builddir}/.deps
49585 if test "x${GCC_PCH}" = "x1" ; then
49586 # can do this because gcc is >= 3.4:
49587 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49588 elif test "x${ICC_PCH}" = "x1" ; then
49589 filename=pch_gen-${D}${D}
49590 file=${D}{filename}.c
49591 dfile=${D}{filename}.d
49592 cat > ${D}file <<EOT
49593 #include "${D}header"
49594 EOT
49595 # using -MF icc complains about differing command lines in creation/use
49596 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49597 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49598 rm -f ${D}file ${D}dfile ${D}{filename}.o
49599 fi
49600 exit ${D}{?}
49601 fi
49602 EOF
49603
49604 chmod +x bk-make-pch
49605 BK_MAKE_PCH="`pwd`/bk-make-pch"
49606 fi
49607 fi
49608 fi
49609
49610
49611
49612
49613
49614
49615
49616 COND_BUILD_DEBUG="#"
49617 if test "x$BUILD" = "xdebug" ; then
49618 COND_BUILD_DEBUG=""
49619 fi
49620
49621 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49622 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49623 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49624 fi
49625
49626 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49627 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49628 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49629 fi
49630
49631 COND_BUILD_DEBUG_UNICODE_0="#"
49632 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49633 COND_BUILD_DEBUG_UNICODE_0=""
49634 fi
49635
49636 COND_BUILD_DEBUG_UNICODE_1="#"
49637 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49638 COND_BUILD_DEBUG_UNICODE_1=""
49639 fi
49640
49641 COND_BUILD_RELEASE="#"
49642 if test "x$BUILD" = "xrelease" ; then
49643 COND_BUILD_RELEASE=""
49644 fi
49645
49646 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49647 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49648 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49649 fi
49650
49651 COND_BUILD_RELEASE_UNICODE_0="#"
49652 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49653 COND_BUILD_RELEASE_UNICODE_0=""
49654 fi
49655
49656 COND_BUILD_RELEASE_UNICODE_1="#"
49657 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49658 COND_BUILD_RELEASE_UNICODE_1=""
49659 fi
49660
49661 COND_BUILD_debug="#"
49662 if test "x$BUILD" = "xdebug" ; then
49663 COND_BUILD_debug=""
49664 fi
49665
49666 COND_BUILD_debug_DEBUG_FLAG_default="#"
49667 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49668 COND_BUILD_debug_DEBUG_FLAG_default=""
49669 fi
49670
49671 COND_BUILD_debug_DEBUG_INFO_default="#"
49672 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49673 COND_BUILD_debug_DEBUG_INFO_default=""
49674 fi
49675
49676 COND_BUILD_debug_UNICODE_0="#"
49677 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49678 COND_BUILD_debug_UNICODE_0=""
49679 fi
49680
49681 COND_BUILD_debug_UNICODE_1="#"
49682 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49683 COND_BUILD_debug_UNICODE_1=""
49684 fi
49685
49686 COND_BUILD_release="#"
49687 if test "x$BUILD" = "xrelease" ; then
49688 COND_BUILD_release=""
49689 fi
49690
49691 COND_BUILD_release_DEBUG_INFO_default="#"
49692 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49693 COND_BUILD_release_DEBUG_INFO_default=""
49694 fi
49695
49696 COND_BUILD_release_UNICODE_0="#"
49697 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49698 COND_BUILD_release_UNICODE_0=""
49699 fi
49700
49701 COND_BUILD_release_UNICODE_1="#"
49702 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49703 COND_BUILD_release_UNICODE_1=""
49704 fi
49705
49706 COND_DEBUG_FLAG_1="#"
49707 if test "x$DEBUG_FLAG" = "x1" ; then
49708 COND_DEBUG_FLAG_1=""
49709 fi
49710
49711 COND_DEBUG_INFO_0="#"
49712 if test "x$DEBUG_INFO" = "x0" ; then
49713 COND_DEBUG_INFO_0=""
49714 fi
49715
49716 COND_DEBUG_INFO_1="#"
49717 if test "x$DEBUG_INFO" = "x1" ; then
49718 COND_DEBUG_INFO_1=""
49719 fi
49720
49721 COND_DEPS_TRACKING_0="#"
49722 if test "x$DEPS_TRACKING" = "x0" ; then
49723 COND_DEPS_TRACKING_0=""
49724 fi
49725
49726 COND_DEPS_TRACKING_1="#"
49727 if test "x$DEPS_TRACKING" = "x1" ; then
49728 COND_DEPS_TRACKING_1=""
49729 fi
49730
49731 COND_GCC_PCH_1="#"
49732 if test "x$GCC_PCH" = "x1" ; then
49733 COND_GCC_PCH_1=""
49734 fi
49735
49736 COND_ICC_PCH_1="#"
49737 if test "x$ICC_PCH" = "x1" ; then
49738 COND_ICC_PCH_1=""
49739 fi
49740
49741 COND_MONOLITHIC_0="#"
49742 if test "x$MONOLITHIC" = "x0" ; then
49743 COND_MONOLITHIC_0=""
49744 fi
49745
49746 COND_MONOLITHIC_0_SHARED_0="#"
49747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49748 COND_MONOLITHIC_0_SHARED_0=""
49749 fi
49750
49751 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49753 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49754 fi
49755
49756 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49758 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49759 fi
49760
49761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49763 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49764 fi
49765
49766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49768 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49769 fi
49770
49771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49774 fi
49775
49776 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49778 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49779 fi
49780
49781 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49783 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49784 fi
49785
49786 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49788 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49789 fi
49790
49791 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49793 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49794 fi
49795
49796 COND_MONOLITHIC_0_SHARED_1="#"
49797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49798 COND_MONOLITHIC_0_SHARED_1=""
49799 fi
49800
49801 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49803 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49804 fi
49805
49806 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49808 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49809 fi
49810
49811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49813 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49814 fi
49815
49816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49818 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49819 fi
49820
49821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49824 fi
49825
49826 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49828 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49829 fi
49830
49831 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49833 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49834 fi
49835
49836 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49838 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49839 fi
49840
49841 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49843 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49844 fi
49845
49846 COND_MONOLITHIC_0_USE_AUI_1="#"
49847 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49848 COND_MONOLITHIC_0_USE_AUI_1=""
49849 fi
49850
49851 COND_MONOLITHIC_0_USE_GUI_1="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49853 COND_MONOLITHIC_0_USE_GUI_1=""
49854 fi
49855
49856 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49858 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49859 fi
49860
49861 COND_MONOLITHIC_0_USE_HTML_1="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49863 COND_MONOLITHIC_0_USE_HTML_1=""
49864 fi
49865
49866 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49868 COND_MONOLITHIC_0_USE_MEDIA_1=""
49869 fi
49870
49871 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49873 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49874 fi
49875
49876 COND_MONOLITHIC_0_USE_QA_1="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49878 COND_MONOLITHIC_0_USE_QA_1=""
49879 fi
49880
49881 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49883 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49884 fi
49885
49886 COND_MONOLITHIC_0_USE_STC_1="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49888 COND_MONOLITHIC_0_USE_STC_1=""
49889 fi
49890
49891 COND_MONOLITHIC_0_USE_XRC_1="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49893 COND_MONOLITHIC_0_USE_XRC_1=""
49894 fi
49895
49896 COND_MONOLITHIC_1="#"
49897 if test "x$MONOLITHIC" = "x1" ; then
49898 COND_MONOLITHIC_1=""
49899 fi
49900
49901 COND_MONOLITHIC_1_SHARED_0="#"
49902 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49903 COND_MONOLITHIC_1_SHARED_0=""
49904 fi
49905
49906 COND_MONOLITHIC_1_SHARED_1="#"
49907 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49908 COND_MONOLITHIC_1_SHARED_1=""
49909 fi
49910
49911 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49912 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49913 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49914 fi
49915
49916 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49917 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49918 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49919 fi
49920
49921 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49922 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49923 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49924 fi
49925
49926 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49927 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49928 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49929 fi
49930
49931 COND_PLATFORM_MACOSX_1="#"
49932 if test "x$PLATFORM_MACOSX" = "x1" ; then
49933 COND_PLATFORM_MACOSX_1=""
49934 fi
49935
49936 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49938 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49939 fi
49940
49941 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49943 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49944 fi
49945
49946 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49948 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49949 fi
49950
49951 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49953 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49954 fi
49955
49956 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49959 fi
49960
49961 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49963 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49964 fi
49965
49966 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49968 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49969 fi
49970
49971 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49973 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49974 fi
49975
49976 COND_PLATFORM_MACOS_1="#"
49977 if test "x$PLATFORM_MACOS" = "x1" ; then
49978 COND_PLATFORM_MACOS_1=""
49979 fi
49980
49981 COND_PLATFORM_MAC_0="#"
49982 if test "x$PLATFORM_MAC" = "x0" ; then
49983 COND_PLATFORM_MAC_0=""
49984 fi
49985
49986 COND_PLATFORM_MAC_1="#"
49987 if test "x$PLATFORM_MAC" = "x1" ; then
49988 COND_PLATFORM_MAC_1=""
49989 fi
49990
49991 COND_PLATFORM_MSDOS_0="#"
49992 if test "x$PLATFORM_MSDOS" = "x0" ; then
49993 COND_PLATFORM_MSDOS_0=""
49994 fi
49995
49996 COND_PLATFORM_MSDOS_1="#"
49997 if test "x$PLATFORM_MSDOS" = "x1" ; then
49998 COND_PLATFORM_MSDOS_1=""
49999 fi
50000
50001 COND_PLATFORM_OS2_1="#"
50002 if test "x$PLATFORM_OS2" = "x1" ; then
50003 COND_PLATFORM_OS2_1=""
50004 fi
50005
50006 COND_PLATFORM_UNIX_0="#"
50007 if test "x$PLATFORM_UNIX" = "x0" ; then
50008 COND_PLATFORM_UNIX_0=""
50009 fi
50010
50011 COND_PLATFORM_UNIX_1="#"
50012 if test "x$PLATFORM_UNIX" = "x1" ; then
50013 COND_PLATFORM_UNIX_1=""
50014 fi
50015
50016 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50017 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50018 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50019 fi
50020
50021 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50022 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50023 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50024 fi
50025
50026 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50027 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50028 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50029 fi
50030
50031 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50032 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50033 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50034 fi
50035
50036 COND_PLATFORM_WIN32_0="#"
50037 if test "x$PLATFORM_WIN32" = "x0" ; then
50038 COND_PLATFORM_WIN32_0=""
50039 fi
50040
50041 COND_PLATFORM_WIN32_1="#"
50042 if test "x$PLATFORM_WIN32" = "x1" ; then
50043 COND_PLATFORM_WIN32_1=""
50044 fi
50045
50046 COND_SHARED_0="#"
50047 if test "x$SHARED" = "x0" ; then
50048 COND_SHARED_0=""
50049 fi
50050
50051 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50052 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50053 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50054 fi
50055
50056 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50057 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50058 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50059 fi
50060
50061 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50062 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50063 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50064 fi
50065
50066 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50067 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50068 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50069 fi
50070
50071 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50072 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50073 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50074 fi
50075
50076 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50077 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50078 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50079 fi
50080
50081 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50082 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50083 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50084 fi
50085
50086 COND_SHARED_0_USE_STC_1="#"
50087 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50088 COND_SHARED_0_USE_STC_1=""
50089 fi
50090
50091 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50092 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50093 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50094 fi
50095
50096 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50097 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50098 COND_SHARED_0_wxUSE_REGEX_builtin=""
50099 fi
50100
50101 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50102 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50103 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50104 fi
50105
50106 COND_SHARED_1="#"
50107 if test "x$SHARED" = "x1" ; then
50108 COND_SHARED_1=""
50109 fi
50110
50111 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50112 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50113 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50114 fi
50115
50116 COND_TOOLKIT_="#"
50117 if test "x$TOOLKIT" = "x" ; then
50118 COND_TOOLKIT_=""
50119 fi
50120
50121 COND_TOOLKIT_COCOA="#"
50122 if test "x$TOOLKIT" = "xCOCOA" ; then
50123 COND_TOOLKIT_COCOA=""
50124 fi
50125
50126 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50127 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50128 COND_TOOLKIT_COCOA_USE_GUI_1=""
50129 fi
50130
50131 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50132 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50133 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50134 fi
50135
50136 COND_TOOLKIT_DFB="#"
50137 if test "x$TOOLKIT" = "xDFB" ; then
50138 COND_TOOLKIT_DFB=""
50139 fi
50140
50141 COND_TOOLKIT_DFB_USE_GUI_1="#"
50142 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50143 COND_TOOLKIT_DFB_USE_GUI_1=""
50144 fi
50145
50146 COND_TOOLKIT_GTK="#"
50147 if test "x$TOOLKIT" = "xGTK" ; then
50148 COND_TOOLKIT_GTK=""
50149 fi
50150
50151 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50154 fi
50155
50156 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50158 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50159 fi
50160
50161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50162 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50164 fi
50165
50166 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50169 fi
50170
50171 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50173 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50174 fi
50175
50176 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50177 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50178 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50179 fi
50180
50181 COND_TOOLKIT_GTK_USE_GUI_1="#"
50182 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50183 COND_TOOLKIT_GTK_USE_GUI_1=""
50184 fi
50185
50186 COND_TOOLKIT_MAC="#"
50187 if test "x$TOOLKIT" = "xMAC" ; then
50188 COND_TOOLKIT_MAC=""
50189 fi
50190
50191 COND_TOOLKIT_MGL="#"
50192 if test "x$TOOLKIT" = "xMGL" ; then
50193 COND_TOOLKIT_MGL=""
50194 fi
50195
50196 COND_TOOLKIT_MGL_USE_GUI_1="#"
50197 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50198 COND_TOOLKIT_MGL_USE_GUI_1=""
50199 fi
50200
50201 COND_TOOLKIT_MOTIF="#"
50202 if test "x$TOOLKIT" = "xMOTIF" ; then
50203 COND_TOOLKIT_MOTIF=""
50204 fi
50205
50206 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50207 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50208 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50209 fi
50210
50211 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50212 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50213 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50214 fi
50215
50216 COND_TOOLKIT_MSW="#"
50217 if test "x$TOOLKIT" = "xMSW" ; then
50218 COND_TOOLKIT_MSW=""
50219 fi
50220
50221 COND_TOOLKIT_MSW_USE_GUI_1="#"
50222 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50223 COND_TOOLKIT_MSW_USE_GUI_1=""
50224 fi
50225
50226 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50227 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50228 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50229 fi
50230
50231 COND_TOOLKIT_MSW_WXUNIV_0="#"
50232 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50233 COND_TOOLKIT_MSW_WXUNIV_0=""
50234 fi
50235
50236 COND_TOOLKIT_OSX_CARBON="#"
50237 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50238 COND_TOOLKIT_OSX_CARBON=""
50239 fi
50240
50241 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50242 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50243 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50244 fi
50245
50246 COND_TOOLKIT_OSX_COCOA="#"
50247 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50248 COND_TOOLKIT_OSX_COCOA=""
50249 fi
50250
50251 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50252 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50253 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50254 fi
50255
50256 COND_TOOLKIT_OSX_IPHONE="#"
50257 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50258 COND_TOOLKIT_OSX_IPHONE=""
50259 fi
50260
50261 COND_TOOLKIT_PM="#"
50262 if test "x$TOOLKIT" = "xPM" ; then
50263 COND_TOOLKIT_PM=""
50264 fi
50265
50266 COND_TOOLKIT_PM_USE_GUI_1="#"
50267 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50268 COND_TOOLKIT_PM_USE_GUI_1=""
50269 fi
50270
50271 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50272 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50273 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50274 fi
50275
50276 COND_TOOLKIT_WINCE="#"
50277 if test "x$TOOLKIT" = "xWINCE" ; then
50278 COND_TOOLKIT_WINCE=""
50279 fi
50280
50281 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50282 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50283 COND_TOOLKIT_WINCE_USE_GUI_1=""
50284 fi
50285
50286 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50287 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50288 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50289 fi
50290
50291 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50292 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50293 COND_TOOLKIT_WINCE_WXUNIV_0=""
50294 fi
50295
50296 COND_TOOLKIT_X11="#"
50297 if test "x$TOOLKIT" = "xX11" ; then
50298 COND_TOOLKIT_X11=""
50299 fi
50300
50301 COND_TOOLKIT_X11_USE_GUI_1="#"
50302 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50303 COND_TOOLKIT_X11_USE_GUI_1=""
50304 fi
50305
50306 COND_UNICODE_1="#"
50307 if test "x$UNICODE" = "x1" ; then
50308 COND_UNICODE_1=""
50309 fi
50310
50311 COND_USE_EXCEPTIONS_0="#"
50312 if test "x$USE_EXCEPTIONS" = "x0" ; then
50313 COND_USE_EXCEPTIONS_0=""
50314 fi
50315
50316 COND_USE_EXCEPTIONS_1="#"
50317 if test "x$USE_EXCEPTIONS" = "x1" ; then
50318 COND_USE_EXCEPTIONS_1=""
50319 fi
50320
50321 COND_USE_GUI_0="#"
50322 if test "x$USE_GUI" = "x0" ; then
50323 COND_USE_GUI_0=""
50324 fi
50325
50326 COND_USE_GUI_1="#"
50327 if test "x$USE_GUI" = "x1" ; then
50328 COND_USE_GUI_1=""
50329 fi
50330
50331 COND_USE_GUI_1_USE_OPENGL_1="#"
50332 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50333 COND_USE_GUI_1_USE_OPENGL_1=""
50334 fi
50335
50336 COND_USE_GUI_1_WXUNIV_0="#"
50337 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50338 COND_USE_GUI_1_WXUNIV_0=""
50339 fi
50340
50341 COND_USE_GUI_1_WXUNIV_1="#"
50342 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50343 COND_USE_GUI_1_WXUNIV_1=""
50344 fi
50345
50346 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50347 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50348 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50349 fi
50350
50351 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50352 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50353 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50354 fi
50355
50356 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50357 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50358 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50359 fi
50360
50361 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50362 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50363 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50364 fi
50365
50366 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50368 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50369 fi
50370
50371 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50373 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50374 fi
50375
50376 COND_USE_OPENGL_1="#"
50377 if test "x$USE_OPENGL" = "x1" ; then
50378 COND_USE_OPENGL_1=""
50379 fi
50380
50381 COND_USE_PCH_1="#"
50382 if test "x$USE_PCH" = "x1" ; then
50383 COND_USE_PCH_1=""
50384 fi
50385
50386 COND_USE_PLUGINS_0="#"
50387 if test "x$USE_PLUGINS" = "x0" ; then
50388 COND_USE_PLUGINS_0=""
50389 fi
50390
50391 COND_USE_RTTI_0="#"
50392 if test "x$USE_RTTI" = "x0" ; then
50393 COND_USE_RTTI_0=""
50394 fi
50395
50396 COND_USE_RTTI_1="#"
50397 if test "x$USE_RTTI" = "x1" ; then
50398 COND_USE_RTTI_1=""
50399 fi
50400
50401 COND_USE_SOSYMLINKS_1="#"
50402 if test "x$USE_SOSYMLINKS" = "x1" ; then
50403 COND_USE_SOSYMLINKS_1=""
50404 fi
50405
50406 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50407 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50408 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50409 fi
50410
50411 COND_USE_SOVERLINUX_1="#"
50412 if test "x$USE_SOVERLINUX" = "x1" ; then
50413 COND_USE_SOVERLINUX_1=""
50414 fi
50415
50416 COND_USE_SOVERSION_0="#"
50417 if test "x$USE_SOVERSION" = "x0" ; then
50418 COND_USE_SOVERSION_0=""
50419 fi
50420
50421 COND_USE_SOVERSOLARIS_1="#"
50422 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50423 COND_USE_SOVERSOLARIS_1=""
50424 fi
50425
50426 COND_USE_STC_1="#"
50427 if test "x$USE_STC" = "x1" ; then
50428 COND_USE_STC_1=""
50429 fi
50430
50431 COND_USE_THREADS_0="#"
50432 if test "x$USE_THREADS" = "x0" ; then
50433 COND_USE_THREADS_0=""
50434 fi
50435
50436 COND_USE_THREADS_1="#"
50437 if test "x$USE_THREADS" = "x1" ; then
50438 COND_USE_THREADS_1=""
50439 fi
50440
50441 COND_USE_XRC_1="#"
50442 if test "x$USE_XRC" = "x1" ; then
50443 COND_USE_XRC_1=""
50444 fi
50445
50446 COND_WINDOWS_IMPLIB_1="#"
50447 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50448 COND_WINDOWS_IMPLIB_1=""
50449 fi
50450
50451 COND_WITH_PLUGIN_SDL_1="#"
50452 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50453 COND_WITH_PLUGIN_SDL_1=""
50454 fi
50455
50456 COND_WXUNIV_0="#"
50457 if test "x$WXUNIV" = "x0" ; then
50458 COND_WXUNIV_0=""
50459 fi
50460
50461 COND_WXUNIV_1="#"
50462 if test "x$WXUNIV" = "x1" ; then
50463 COND_WXUNIV_1=""
50464 fi
50465
50466 COND_WXUSE_EXPAT_BUILTIN="#"
50467 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50468 COND_WXUSE_EXPAT_BUILTIN=""
50469 fi
50470
50471 COND_WXUSE_LIBJPEG_BUILTIN="#"
50472 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50473 COND_WXUSE_LIBJPEG_BUILTIN=""
50474 fi
50475
50476 COND_WXUSE_LIBPNG_BUILTIN="#"
50477 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50478 COND_WXUSE_LIBPNG_BUILTIN=""
50479 fi
50480
50481 COND_WXUSE_LIBTIFF_BUILTIN="#"
50482 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50483 COND_WXUSE_LIBTIFF_BUILTIN=""
50484 fi
50485
50486 COND_WXUSE_REGEX_BUILTIN="#"
50487 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50488 COND_WXUSE_REGEX_BUILTIN=""
50489 fi
50490
50491 COND_WXUSE_ZLIB_BUILTIN="#"
50492 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50493 COND_WXUSE_ZLIB_BUILTIN=""
50494 fi
50495
50496 COND_wxUSE_EXPAT_builtin="#"
50497 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50498 COND_wxUSE_EXPAT_builtin=""
50499 fi
50500
50501 COND_wxUSE_LIBJPEG_builtin="#"
50502 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50503 COND_wxUSE_LIBJPEG_builtin=""
50504 fi
50505
50506 COND_wxUSE_LIBPNG_builtin="#"
50507 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50508 COND_wxUSE_LIBPNG_builtin=""
50509 fi
50510
50511 COND_wxUSE_LIBTIFF_builtin="#"
50512 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50513 COND_wxUSE_LIBTIFF_builtin=""
50514 fi
50515
50516 COND_wxUSE_REGEX_builtin="#"
50517 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50518 COND_wxUSE_REGEX_builtin=""
50519 fi
50520
50521 COND_wxUSE_ZLIB_builtin="#"
50522 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50523 COND_wxUSE_ZLIB_builtin=""
50524 fi
50525
50526
50527
50528 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50529 { { 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
50530 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;}
50531 { (exit 1); exit 1; }; }
50532 fi
50533
50534 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50535 { { 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
50536 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;}
50537 { (exit 1); exit 1; }; }
50538 fi
50539
50540
50541 case ${INSTALL} in
50542 /* ) # Absolute
50543 ;;
50544 ?:* ) # Drive letter, considered as absolute.
50545 ;;
50546 *)
50547 INSTALL=`pwd`/${INSTALL} ;;
50548 esac
50549
50550 if test "$wxUSE_GUI" = "yes"; then
50551
50552 if test "$wxUSE_MSW" = 1 ; then
50553 if test "x$WINDRES" = "x"; then
50554 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50555 echo "$as_me: error: Required windres program not found" >&2;}
50556 { (exit 1); exit 1; }; }
50557 fi
50558
50559 RESCOMP="$WINDRES"
50560 fi
50561
50562 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50563 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50564 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50565
50566 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50567
50568 # Extract the first word of "DeRez", so it can be a program name with args.
50569 set dummy DeRez; ac_word=$2
50570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50572 if test "${ac_cv_prog_DEREZ+set}" = set; then
50573 echo $ECHO_N "(cached) $ECHO_C" >&6
50574 else
50575 if test -n "$DEREZ"; then
50576 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50577 else
50578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50579 for as_dir in $PATH
50580 do
50581 IFS=$as_save_IFS
50582 test -z "$as_dir" && as_dir=.
50583 for ac_exec_ext in '' $ac_executable_extensions; do
50584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50585 ac_cv_prog_DEREZ="DeRez"
50586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50587 break 2
50588 fi
50589 done
50590 done
50591 IFS=$as_save_IFS
50592
50593 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50594 fi
50595 fi
50596 DEREZ=$ac_cv_prog_DEREZ
50597 if test -n "$DEREZ"; then
50598 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50599 echo "${ECHO_T}$DEREZ" >&6; }
50600 else
50601 { echo "$as_me:$LINENO: result: no" >&5
50602 echo "${ECHO_T}no" >&6; }
50603 fi
50604
50605
50606
50607 MACSETFILE="\$(SETFILE)"
50608
50609 if test "$wxUSE_OSX_CARBON" = 1; then
50610 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50611 RESCOMP="$REZ"
50612 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50613 else
50614 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50615 RESCOMP="cat /dev/null \| $REZ"
50616 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50617 fi
50618
50619 else
50620 MACSETFILE="@true"
50621
50622 if test "$wxUSE_PM" = 1; then
50623 RESCOMP="emxbind"
50624 WXCONFIG_RESFLAGS="-ep"
50625
50626 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50627 else
50628 POSTLINK_COMMAND="@true"
50629 fi
50630 fi
50631
50632 fi
50633
50634
50635 if test $GCC_PCH = 1
50636 then
50637 if test "$wx_cv_gcc_pch_bug" = yes; then
50638 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50639 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50640 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50641 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50642 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50643 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50644 fi
50645
50646 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50647 # the headers that benefit from precompilation are mostly C++ headers.
50648 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50649 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50650 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50651 fi
50652
50653
50654 if test "$wxUSE_MAC" = 1 ; then
50655 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50656 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50657 mv temp bk-deps
50658 chmod +x bk-deps
50659 fi
50660 fi
50661
50662 if test "$wxUSE_SHARED" = "yes"; then
50663 case "${host}" in
50664 *-pc-os2_emx | *-pc-os2-emx )
50665 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50666 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50667 cp -p ${srcdir}/src/os2/dllnames.sh .
50668 cp -p ${srcdir}/src/os2/dllar.sh .
50669 ;;
50670 esac
50671 fi
50672 if test "$wxUSE_OMF" = "yes"; then
50673 case "${host}" in
50674 *-pc-os2_emx | *-pc-os2-emx )
50675 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50676 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50677 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50678 ;;
50679 esac
50680 fi
50681
50682 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50683
50684
50685 case "${host}" in
50686 *-*-solaris2* )
50687 if test "$GCC" = yes; then
50688 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50689 LIBS=`echo $LIBS | sed 's/-mt//'`
50690 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50691 fi
50692 ;;
50693
50694 *-*-linux* )
50695 if test "x$SUNCXX" = xyes; then
50696 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50697 LIBS=`echo $LIBS | sed 's/-pthread//'`
50698 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50699 fi
50700 ;;
50701 esac
50702
50703 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50704 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50705 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50706 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50707
50708 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50709
50710
50711
50712
50713
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50771 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50772 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50773 echo $ECHO_N "(cached) $ECHO_C" >&6
50774 else
50775 cat >conftest.make <<\_ACEOF
50776 SHELL = /bin/sh
50777 all:
50778 @echo '@@@%%%=$(MAKE)=@@@%%%'
50779 _ACEOF
50780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50781 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50782 *@@@%%%=?*=@@@%%%*)
50783 eval ac_cv_prog_make_${ac_make}_set=yes;;
50784 *)
50785 eval ac_cv_prog_make_${ac_make}_set=no;;
50786 esac
50787 rm -f conftest.make
50788 fi
50789 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50790 { echo "$as_me:$LINENO: result: yes" >&5
50791 echo "${ECHO_T}yes" >&6; }
50792 SET_MAKE=
50793 else
50794 { echo "$as_me:$LINENO: result: no" >&5
50795 echo "${ECHO_T}no" >&6; }
50796 SET_MAKE="MAKE=${MAKE-make}"
50797 fi
50798
50799
50800
50801 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50802
50803
50804 if test "$USE_WIN32" = 1; then
50805 ac_config_commands="$ac_config_commands rcdefs.h"
50806
50807 fi
50808
50809 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50810
50811
50812 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50813
50814
50815 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50816
50817
50818 if test "$wx_cv_version_script" = "yes"; then
50819 ac_config_files="$ac_config_files version-script"
50820
50821 fi
50822 ac_config_files="$ac_config_files Makefile"
50823
50824
50825 ac_config_commands="$ac_config_commands wx-config"
50826
50827
50828
50829 if test "$wxWITH_SUBDIRS" != "no"; then
50830 if test "$wxUSE_GUI" = "yes"; then
50831 SUBDIRS="samples demos utils"
50832 else
50833 SUBDIRS="samples utils"
50834 fi
50835
50836
50837
50838 # Check whether --with-cppunit-prefix was given.
50839 if test "${with_cppunit_prefix+set}" = set; then
50840 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50841 else
50842 cppunit_config_prefix=""
50843 fi
50844
50845
50846 # Check whether --with-cppunit-exec-prefix was given.
50847 if test "${with_cppunit_exec_prefix+set}" = set; then
50848 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50849 else
50850 cppunit_config_exec_prefix=""
50851 fi
50852
50853
50854 if test x$cppunit_config_exec_prefix != x ; then
50855 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50856 if test x${CPPUNIT_CONFIG+set} != xset ; then
50857 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50858 fi
50859 fi
50860 if test x$cppunit_config_prefix != x ; then
50861 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50862 if test x${CPPUNIT_CONFIG+set} != xset ; then
50863 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50864 fi
50865 fi
50866
50867 # Extract the first word of "cppunit-config", so it can be a program name with args.
50868 set dummy cppunit-config; ac_word=$2
50869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50871 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50872 echo $ECHO_N "(cached) $ECHO_C" >&6
50873 else
50874 case $CPPUNIT_CONFIG in
50875 [\\/]* | ?:[\\/]*)
50876 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50877 ;;
50878 *)
50879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50880 for as_dir in $PATH
50881 do
50882 IFS=$as_save_IFS
50883 test -z "$as_dir" && as_dir=.
50884 for ac_exec_ext in '' $ac_executable_extensions; do
50885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50886 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50888 break 2
50889 fi
50890 done
50891 done
50892 IFS=$as_save_IFS
50893
50894 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50895 ;;
50896 esac
50897 fi
50898 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50899 if test -n "$CPPUNIT_CONFIG"; then
50900 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50901 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50902 else
50903 { echo "$as_me:$LINENO: result: no" >&5
50904 echo "${ECHO_T}no" >&6; }
50905 fi
50906
50907
50908 cppunit_version_min=1.8.0
50909
50910 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50911 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50912 no_cppunit=""
50913 if test "$CPPUNIT_CONFIG" = "no" ; then
50914 { echo "$as_me:$LINENO: result: no" >&5
50915 echo "${ECHO_T}no" >&6; }
50916 no_cppunit=yes
50917 else
50918 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50919 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50920 cppunit_version=`$CPPUNIT_CONFIG --version`
50921
50922 cppunit_major_version=`echo $cppunit_version | \
50923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50924 cppunit_minor_version=`echo $cppunit_version | \
50925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50926 cppunit_micro_version=`echo $cppunit_version | \
50927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50928
50929 cppunit_major_min=`echo $cppunit_version_min | \
50930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50931 cppunit_minor_min=`echo $cppunit_version_min | \
50932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50933 cppunit_micro_min=`echo $cppunit_version_min | \
50934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50935
50936 cppunit_version_proper=`expr \
50937 $cppunit_major_version \> $cppunit_major_min \| \
50938 $cppunit_major_version \= $cppunit_major_min \& \
50939 $cppunit_minor_version \> $cppunit_minor_min \| \
50940 $cppunit_major_version \= $cppunit_major_min \& \
50941 $cppunit_minor_version \= $cppunit_minor_min \& \
50942 $cppunit_micro_version \>= $cppunit_micro_min `
50943
50944 if test "$cppunit_version_proper" = "1" ; then
50945 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50946 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50947 else
50948 { echo "$as_me:$LINENO: result: no" >&5
50949 echo "${ECHO_T}no" >&6; }
50950 no_cppunit=yes
50951 fi
50952 fi
50953
50954 if test "x$no_cppunit" = x ; then
50955 SUBDIRS="$SUBDIRS tests"
50956 else
50957 CPPUNIT_CFLAGS=""
50958 CPPUNIT_LIBS=""
50959 :
50960 fi
50961
50962
50963
50964
50965
50966 for subdir in $SUBDIRS; do
50967 if test -d ${srcdir}/${subdir} ; then
50968 if test "$wxUSE_GUI" = "yes"; then
50969 if test ${subdir} = "samples"; then
50970 makefiles="samples/Makefile.in $makefiles"
50971 for sample in $SAMPLES_SUBDIRS; do
50972 if test -d $srcdir/samples/$sample; then
50973 makefiles="samples/$sample/Makefile.in $makefiles"
50974 fi
50975 done
50976 else
50977 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50978 eval "disabled=\$$disabled_var"
50979 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50980 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50981 fi
50982 else
50983 if test ${subdir} = "samples"; then
50984 makefiles="samples/Makefile.in $makefiles"
50985 for sample in `echo $SAMPLES_SUBDIRS`; do
50986 if test -d $srcdir/samples/$sample; then
50987 makefiles="samples/$sample/Makefile.in $makefiles"
50988 fi
50989 done
50990 elif test ${subdir} = "utils"; then
50991 makefiles=""
50992 for util in ifacecheck ; do
50993 if test -d $srcdir/utils/$util ; then
50994 makefiles="utils/$util/src/Makefile.in \
50995 $makefiles"
50996 fi
50997 done
50998 else
50999 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51000 fi
51001 fi
51002
51003 for mkin in $makefiles ; do
51004 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51005 ac_config_files="$ac_config_files $mk"
51006
51007 done
51008 fi
51009 done
51010 fi
51011 cat >confcache <<\_ACEOF
51012 # This file is a shell script that caches the results of configure
51013 # tests run on this system so they can be shared between configure
51014 # scripts and configure runs, see configure's option --config-cache.
51015 # It is not useful on other systems. If it contains results you don't
51016 # want to keep, you may remove or edit it.
51017 #
51018 # config.status only pays attention to the cache file if you give it
51019 # the --recheck option to rerun configure.
51020 #
51021 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51022 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51023 # following values.
51024
51025 _ACEOF
51026
51027 # The following way of writing the cache mishandles newlines in values,
51028 # but we know of no workaround that is simple, portable, and efficient.
51029 # So, we kill variables containing newlines.
51030 # Ultrix sh set writes to stderr and can't be redirected directly,
51031 # and sets the high bit in the cache file unless we assign to the vars.
51032 (
51033 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51034 eval ac_val=\$$ac_var
51035 case $ac_val in #(
51036 *${as_nl}*)
51037 case $ac_var in #(
51038 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51039 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51040 esac
51041 case $ac_var in #(
51042 _ | IFS | as_nl) ;; #(
51043 *) $as_unset $ac_var ;;
51044 esac ;;
51045 esac
51046 done
51047
51048 (set) 2>&1 |
51049 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51050 *${as_nl}ac_space=\ *)
51051 # `set' does not quote correctly, so add quotes (double-quote
51052 # substitution turns \\\\ into \\, and sed turns \\ into \).
51053 sed -n \
51054 "s/'/'\\\\''/g;
51055 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51056 ;; #(
51057 *)
51058 # `set' quotes correctly as required by POSIX, so do not add quotes.
51059 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51060 ;;
51061 esac |
51062 sort
51063 ) |
51064 sed '
51065 /^ac_cv_env_/b end
51066 t clear
51067 :clear
51068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51069 t end
51070 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51071 :end' >>confcache
51072 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51073 if test -w "$cache_file"; then
51074 test "x$cache_file" != "x/dev/null" &&
51075 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51076 echo "$as_me: updating cache $cache_file" >&6;}
51077 cat confcache >$cache_file
51078 else
51079 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51080 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51081 fi
51082 fi
51083 rm -f confcache
51084
51085 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51086 # Let make expand exec_prefix.
51087 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51088
51089 DEFS=-DHAVE_CONFIG_H
51090
51091 ac_libobjs=
51092 ac_ltlibobjs=
51093 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51094 # 1. Remove the extension, and $U if already installed.
51095 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51096 ac_i=`echo "$ac_i" | sed "$ac_script"`
51097 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51098 # will be set to the directory where LIBOBJS objects are built.
51099 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51100 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51101 done
51102 LIBOBJS=$ac_libobjs
51103
51104 LTLIBOBJS=$ac_ltlibobjs
51105
51106
51107
51108 : ${CONFIG_STATUS=./config.status}
51109 ac_clean_files_save=$ac_clean_files
51110 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51111 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51112 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51113 cat >$CONFIG_STATUS <<_ACEOF
51114 #! $SHELL
51115 # Generated by $as_me.
51116 # Run this file to recreate the current configuration.
51117 # Compiler output produced by configure, useful for debugging
51118 # configure, is in config.log if it exists.
51119
51120 debug=false
51121 ac_cs_recheck=false
51122 ac_cs_silent=false
51123 SHELL=\${CONFIG_SHELL-$SHELL}
51124 _ACEOF
51125
51126 cat >>$CONFIG_STATUS <<\_ACEOF
51127 ## --------------------- ##
51128 ## M4sh Initialization. ##
51129 ## --------------------- ##
51130
51131 # Be more Bourne compatible
51132 DUALCASE=1; export DUALCASE # for MKS sh
51133 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51134 emulate sh
51135 NULLCMD=:
51136 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51137 # is contrary to our usage. Disable this feature.
51138 alias -g '${1+"$@"}'='"$@"'
51139 setopt NO_GLOB_SUBST
51140 else
51141 case `(set -o) 2>/dev/null` in
51142 *posix*) set -o posix ;;
51143 esac
51144
51145 fi
51146
51147
51148
51149
51150 # PATH needs CR
51151 # Avoid depending upon Character Ranges.
51152 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51153 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51154 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51155 as_cr_digits='0123456789'
51156 as_cr_alnum=$as_cr_Letters$as_cr_digits
51157
51158 # The user is always right.
51159 if test "${PATH_SEPARATOR+set}" != set; then
51160 echo "#! /bin/sh" >conf$$.sh
51161 echo "exit 0" >>conf$$.sh
51162 chmod +x conf$$.sh
51163 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51164 PATH_SEPARATOR=';'
51165 else
51166 PATH_SEPARATOR=:
51167 fi
51168 rm -f conf$$.sh
51169 fi
51170
51171 # Support unset when possible.
51172 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51173 as_unset=unset
51174 else
51175 as_unset=false
51176 fi
51177
51178
51179 # IFS
51180 # We need space, tab and new line, in precisely that order. Quoting is
51181 # there to prevent editors from complaining about space-tab.
51182 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51183 # splitting by setting IFS to empty value.)
51184 as_nl='
51185 '
51186 IFS=" "" $as_nl"
51187
51188 # Find who we are. Look in the path if we contain no directory separator.
51189 case $0 in
51190 *[\\/]* ) as_myself=$0 ;;
51191 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51192 for as_dir in $PATH
51193 do
51194 IFS=$as_save_IFS
51195 test -z "$as_dir" && as_dir=.
51196 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51197 done
51198 IFS=$as_save_IFS
51199
51200 ;;
51201 esac
51202 # We did not find ourselves, most probably we were run as `sh COMMAND'
51203 # in which case we are not to be found in the path.
51204 if test "x$as_myself" = x; then
51205 as_myself=$0
51206 fi
51207 if test ! -f "$as_myself"; then
51208 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51209 { (exit 1); exit 1; }
51210 fi
51211
51212 # Work around bugs in pre-3.0 UWIN ksh.
51213 for as_var in ENV MAIL MAILPATH
51214 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51215 done
51216 PS1='$ '
51217 PS2='> '
51218 PS4='+ '
51219
51220 # NLS nuisances.
51221 for as_var in \
51222 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51223 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51224 LC_TELEPHONE LC_TIME
51225 do
51226 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51227 eval $as_var=C; export $as_var
51228 else
51229 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51230 fi
51231 done
51232
51233 # Required to use basename.
51234 if expr a : '\(a\)' >/dev/null 2>&1 &&
51235 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51236 as_expr=expr
51237 else
51238 as_expr=false
51239 fi
51240
51241 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51242 as_basename=basename
51243 else
51244 as_basename=false
51245 fi
51246
51247
51248 # Name of the executable.
51249 as_me=`$as_basename -- "$0" ||
51250 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51251 X"$0" : 'X\(//\)$' \| \
51252 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51253 echo X/"$0" |
51254 sed '/^.*\/\([^/][^/]*\)\/*$/{
51255 s//\1/
51256 q
51257 }
51258 /^X\/\(\/\/\)$/{
51259 s//\1/
51260 q
51261 }
51262 /^X\/\(\/\).*/{
51263 s//\1/
51264 q
51265 }
51266 s/.*/./; q'`
51267
51268 # CDPATH.
51269 $as_unset CDPATH
51270
51271
51272
51273 as_lineno_1=$LINENO
51274 as_lineno_2=$LINENO
51275 test "x$as_lineno_1" != "x$as_lineno_2" &&
51276 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51277
51278 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51279 # uniformly replaced by the line number. The first 'sed' inserts a
51280 # line-number line after each line using $LINENO; the second 'sed'
51281 # does the real work. The second script uses 'N' to pair each
51282 # line-number line with the line containing $LINENO, and appends
51283 # trailing '-' during substitution so that $LINENO is not a special
51284 # case at line end.
51285 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51286 # scripts with optimization help from Paolo Bonzini. Blame Lee
51287 # E. McMahon (1931-1989) for sed's syntax. :-)
51288 sed -n '
51289 p
51290 /[$]LINENO/=
51291 ' <$as_myself |
51292 sed '
51293 s/[$]LINENO.*/&-/
51294 t lineno
51295 b
51296 :lineno
51297 N
51298 :loop
51299 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51300 t loop
51301 s/-\n.*//
51302 ' >$as_me.lineno &&
51303 chmod +x "$as_me.lineno" ||
51304 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51305 { (exit 1); exit 1; }; }
51306
51307 # Don't try to exec as it changes $[0], causing all sort of problems
51308 # (the dirname of $[0] is not the place where we might find the
51309 # original and so on. Autoconf is especially sensitive to this).
51310 . "./$as_me.lineno"
51311 # Exit status is that of the last command.
51312 exit
51313 }
51314
51315
51316 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51317 as_dirname=dirname
51318 else
51319 as_dirname=false
51320 fi
51321
51322 ECHO_C= ECHO_N= ECHO_T=
51323 case `echo -n x` in
51324 -n*)
51325 case `echo 'x\c'` in
51326 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51327 *) ECHO_C='\c';;
51328 esac;;
51329 *)
51330 ECHO_N='-n';;
51331 esac
51332
51333 if expr a : '\(a\)' >/dev/null 2>&1 &&
51334 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51335 as_expr=expr
51336 else
51337 as_expr=false
51338 fi
51339
51340 rm -f conf$$ conf$$.exe conf$$.file
51341 if test -d conf$$.dir; then
51342 rm -f conf$$.dir/conf$$.file
51343 else
51344 rm -f conf$$.dir
51345 mkdir conf$$.dir
51346 fi
51347 echo >conf$$.file
51348 if ln -s conf$$.file conf$$ 2>/dev/null; then
51349 as_ln_s='ln -s'
51350 # ... but there are two gotchas:
51351 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51352 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51353 # In both cases, we have to default to `cp -p'.
51354 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51355 as_ln_s='cp -p'
51356 elif ln conf$$.file conf$$ 2>/dev/null; then
51357 as_ln_s=ln
51358 else
51359 as_ln_s='cp -p'
51360 fi
51361 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51362 rmdir conf$$.dir 2>/dev/null
51363
51364 if mkdir -p . 2>/dev/null; then
51365 as_mkdir_p=:
51366 else
51367 test -d ./-p && rmdir ./-p
51368 as_mkdir_p=false
51369 fi
51370
51371 if test -x / >/dev/null 2>&1; then
51372 as_test_x='test -x'
51373 else
51374 if ls -dL / >/dev/null 2>&1; then
51375 as_ls_L_option=L
51376 else
51377 as_ls_L_option=
51378 fi
51379 as_test_x='
51380 eval sh -c '\''
51381 if test -d "$1"; then
51382 test -d "$1/.";
51383 else
51384 case $1 in
51385 -*)set "./$1";;
51386 esac;
51387 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51388 ???[sx]*):;;*)false;;esac;fi
51389 '\'' sh
51390 '
51391 fi
51392 as_executable_p=$as_test_x
51393
51394 # Sed expression to map a string onto a valid CPP name.
51395 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51396
51397 # Sed expression to map a string onto a valid variable name.
51398 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51399
51400
51401 exec 6>&1
51402
51403 # Save the log message, to keep $[0] and so on meaningful, and to
51404 # report actual input values of CONFIG_FILES etc. instead of their
51405 # values after options handling.
51406 ac_log="
51407 This file was extended by wxWidgets $as_me 2.9.0, which was
51408 generated by GNU Autoconf 2.61. Invocation command line was
51409
51410 CONFIG_FILES = $CONFIG_FILES
51411 CONFIG_HEADERS = $CONFIG_HEADERS
51412 CONFIG_LINKS = $CONFIG_LINKS
51413 CONFIG_COMMANDS = $CONFIG_COMMANDS
51414 $ $0 $@
51415
51416 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51417 "
51418
51419 _ACEOF
51420
51421 cat >>$CONFIG_STATUS <<_ACEOF
51422 # Files that config.status was made for.
51423 config_files="$ac_config_files"
51424 config_headers="$ac_config_headers"
51425 config_commands="$ac_config_commands"
51426
51427 _ACEOF
51428
51429 cat >>$CONFIG_STATUS <<\_ACEOF
51430 ac_cs_usage="\
51431 \`$as_me' instantiates files from templates according to the
51432 current configuration.
51433
51434 Usage: $0 [OPTIONS] [FILE]...
51435
51436 -h, --help print this help, then exit
51437 -V, --version print version number and configuration settings, then exit
51438 -q, --quiet do not print progress messages
51439 -d, --debug don't remove temporary files
51440 --recheck update $as_me by reconfiguring in the same conditions
51441 --file=FILE[:TEMPLATE]
51442 instantiate the configuration file FILE
51443 --header=FILE[:TEMPLATE]
51444 instantiate the configuration header FILE
51445
51446 Configuration files:
51447 $config_files
51448
51449 Configuration headers:
51450 $config_headers
51451
51452 Configuration commands:
51453 $config_commands
51454
51455 Report bugs to <bug-autoconf@gnu.org>."
51456
51457 _ACEOF
51458 cat >>$CONFIG_STATUS <<_ACEOF
51459 ac_cs_version="\\
51460 wxWidgets config.status 2.9.0
51461 configured by $0, generated by GNU Autoconf 2.61,
51462 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51463
51464 Copyright (C) 2006 Free Software Foundation, Inc.
51465 This config.status script is free software; the Free Software Foundation
51466 gives unlimited permission to copy, distribute and modify it."
51467
51468 ac_pwd='$ac_pwd'
51469 srcdir='$srcdir'
51470 INSTALL='$INSTALL'
51471 _ACEOF
51472
51473 cat >>$CONFIG_STATUS <<\_ACEOF
51474 # If no file are specified by the user, then we need to provide default
51475 # value. By we need to know if files were specified by the user.
51476 ac_need_defaults=:
51477 while test $# != 0
51478 do
51479 case $1 in
51480 --*=*)
51481 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51482 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51483 ac_shift=:
51484 ;;
51485 *)
51486 ac_option=$1
51487 ac_optarg=$2
51488 ac_shift=shift
51489 ;;
51490 esac
51491
51492 case $ac_option in
51493 # Handling of the options.
51494 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51495 ac_cs_recheck=: ;;
51496 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51497 echo "$ac_cs_version"; exit ;;
51498 --debug | --debu | --deb | --de | --d | -d )
51499 debug=: ;;
51500 --file | --fil | --fi | --f )
51501 $ac_shift
51502 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51503 ac_need_defaults=false;;
51504 --header | --heade | --head | --hea )
51505 $ac_shift
51506 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51507 ac_need_defaults=false;;
51508 --he | --h)
51509 # Conflict between --help and --header
51510 { echo "$as_me: error: ambiguous option: $1
51511 Try \`$0 --help' for more information." >&2
51512 { (exit 1); exit 1; }; };;
51513 --help | --hel | -h )
51514 echo "$ac_cs_usage"; exit ;;
51515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51516 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51517 ac_cs_silent=: ;;
51518
51519 # This is an error.
51520 -*) { echo "$as_me: error: unrecognized option: $1
51521 Try \`$0 --help' for more information." >&2
51522 { (exit 1); exit 1; }; } ;;
51523
51524 *) ac_config_targets="$ac_config_targets $1"
51525 ac_need_defaults=false ;;
51526
51527 esac
51528 shift
51529 done
51530
51531 ac_configure_extra_args=
51532
51533 if $ac_cs_silent; then
51534 exec 6>/dev/null
51535 ac_configure_extra_args="$ac_configure_extra_args --silent"
51536 fi
51537
51538 _ACEOF
51539 cat >>$CONFIG_STATUS <<_ACEOF
51540 if \$ac_cs_recheck; then
51541 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51542 CONFIG_SHELL=$SHELL
51543 export CONFIG_SHELL
51544 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51545 fi
51546
51547 _ACEOF
51548 cat >>$CONFIG_STATUS <<\_ACEOF
51549 exec 5>>config.log
51550 {
51551 echo
51552 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51553 ## Running $as_me. ##
51554 _ASBOX
51555 echo "$ac_log"
51556 } >&5
51557
51558 _ACEOF
51559 cat >>$CONFIG_STATUS <<_ACEOF
51560 #
51561 # INIT-COMMANDS
51562 #
51563
51564 CPP="$CPP"
51565 infile="$srcdir/include/wx/msw/genrcdefs.h"
51566 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51567
51568
51569 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51570 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51571 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51572 LN_S="${LN_S}"
51573
51574
51575 _ACEOF
51576
51577 cat >>$CONFIG_STATUS <<\_ACEOF
51578
51579 # Handling of arguments.
51580 for ac_config_target in $ac_config_targets
51581 do
51582 case $ac_config_target in
51583 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51584 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51585 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51586 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51587 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51588 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51589 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51590 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51591 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51592
51593 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51594 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51595 { (exit 1); exit 1; }; };;
51596 esac
51597 done
51598
51599
51600 # If the user did not use the arguments to specify the items to instantiate,
51601 # then the envvar interface is used. Set only those that are not.
51602 # We use the long form for the default assignment because of an extremely
51603 # bizarre bug on SunOS 4.1.3.
51604 if $ac_need_defaults; then
51605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51607 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51608 fi
51609
51610 # Have a temporary directory for convenience. Make it in the build tree
51611 # simply because there is no reason against having it here, and in addition,
51612 # creating and moving files from /tmp can sometimes cause problems.
51613 # Hook for its removal unless debugging.
51614 # Note that there is a small window in which the directory will not be cleaned:
51615 # after its creation but before its name has been assigned to `$tmp'.
51616 $debug ||
51617 {
51618 tmp=
51619 trap 'exit_status=$?
51620 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51621 ' 0
51622 trap '{ (exit 1); exit 1; }' 1 2 13 15
51623 }
51624 # Create a (secure) tmp directory for tmp files.
51625
51626 {
51627 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51628 test -n "$tmp" && test -d "$tmp"
51629 } ||
51630 {
51631 tmp=./conf$$-$RANDOM
51632 (umask 077 && mkdir "$tmp")
51633 } ||
51634 {
51635 echo "$me: cannot create a temporary directory in ." >&2
51636 { (exit 1); exit 1; }
51637 }
51638
51639 #
51640 # Set up the sed scripts for CONFIG_FILES section.
51641 #
51642
51643 # No need to generate the scripts if there are no CONFIG_FILES.
51644 # This happens for instance when ./config.status config.h
51645 if test -n "$CONFIG_FILES"; then
51646
51647 _ACEOF
51648
51649
51650
51651 ac_delim='%!_!# '
51652 for ac_last_try in false false false false false :; do
51653 cat >conf$$subs.sed <<_ACEOF
51654 SHELL!$SHELL$ac_delim
51655 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51656 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51657 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51658 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51659 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51660 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51661 exec_prefix!$exec_prefix$ac_delim
51662 prefix!$prefix$ac_delim
51663 program_transform_name!$program_transform_name$ac_delim
51664 bindir!$bindir$ac_delim
51665 sbindir!$sbindir$ac_delim
51666 libexecdir!$libexecdir$ac_delim
51667 datarootdir!$datarootdir$ac_delim
51668 datadir!$datadir$ac_delim
51669 sysconfdir!$sysconfdir$ac_delim
51670 sharedstatedir!$sharedstatedir$ac_delim
51671 localstatedir!$localstatedir$ac_delim
51672 includedir!$includedir$ac_delim
51673 oldincludedir!$oldincludedir$ac_delim
51674 docdir!$docdir$ac_delim
51675 infodir!$infodir$ac_delim
51676 htmldir!$htmldir$ac_delim
51677 dvidir!$dvidir$ac_delim
51678 pdfdir!$pdfdir$ac_delim
51679 psdir!$psdir$ac_delim
51680 libdir!$libdir$ac_delim
51681 localedir!$localedir$ac_delim
51682 mandir!$mandir$ac_delim
51683 DEFS!$DEFS$ac_delim
51684 ECHO_C!$ECHO_C$ac_delim
51685 ECHO_N!$ECHO_N$ac_delim
51686 ECHO_T!$ECHO_T$ac_delim
51687 LIBS!$LIBS$ac_delim
51688 build_alias!$build_alias$ac_delim
51689 host_alias!$host_alias$ac_delim
51690 target_alias!$target_alias$ac_delim
51691 build!$build$ac_delim
51692 build_cpu!$build_cpu$ac_delim
51693 build_vendor!$build_vendor$ac_delim
51694 build_os!$build_os$ac_delim
51695 host!$host$ac_delim
51696 host_cpu!$host_cpu$ac_delim
51697 host_vendor!$host_vendor$ac_delim
51698 host_os!$host_os$ac_delim
51699 wx_top_builddir!$wx_top_builddir$ac_delim
51700 CC!$CC$ac_delim
51701 CFLAGS!$CFLAGS$ac_delim
51702 LDFLAGS!$LDFLAGS$ac_delim
51703 CPPFLAGS!$CPPFLAGS$ac_delim
51704 ac_ct_CC!$ac_ct_CC$ac_delim
51705 EXEEXT!$EXEEXT$ac_delim
51706 OBJEXT!$OBJEXT$ac_delim
51707 CPP!$CPP$ac_delim
51708 GREP!$GREP$ac_delim
51709 EGREP!$EGREP$ac_delim
51710 CXX!$CXX$ac_delim
51711 CXXFLAGS!$CXXFLAGS$ac_delim
51712 ac_ct_CXX!$ac_ct_CXX$ac_delim
51713 AR!$AR$ac_delim
51714 subdirs!$subdirs$ac_delim
51715 PKG_CONFIG!$PKG_CONFIG$ac_delim
51716 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51717 GTK_LIBS!$GTK_LIBS$ac_delim
51718 GTK_CONFIG!$GTK_CONFIG$ac_delim
51719 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51720 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51721 XMKMF!$XMKMF$ac_delim
51722 X_CFLAGS!$X_CFLAGS$ac_delim
51723 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51724 X_LIBS!$X_LIBS$ac_delim
51725 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51726 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51727 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51728 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51729 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51730 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51731 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51732 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51733 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51734 LIBICONV!$LIBICONV$ac_delim
51735 GXX_VERSION!$GXX_VERSION$ac_delim
51736 SDL_CONFIG!$SDL_CONFIG$ac_delim
51737 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51738 SDL_LIBS!$SDL_LIBS$ac_delim
51739 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51740 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51741 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51742 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51743 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51744 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51745 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51746 HILDON_LIBS!$HILDON_LIBS$ac_delim
51747 PYTHON!$PYTHON$ac_delim
51748 COND_PYTHON!$COND_PYTHON$ac_delim
51749 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51750 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51751 _ACEOF
51752
51753 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51754 break
51755 elif $ac_last_try; then
51756 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51757 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51758 { (exit 1); exit 1; }; }
51759 else
51760 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51761 fi
51762 done
51763
51764 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51765 if test -n "$ac_eof"; then
51766 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51767 ac_eof=`expr $ac_eof + 1`
51768 fi
51769
51770 cat >>$CONFIG_STATUS <<_ACEOF
51771 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51772 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51773 _ACEOF
51774 sed '
51775 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51776 s/^/s,@/; s/!/@,|#_!!_#|/
51777 :n
51778 t n
51779 s/'"$ac_delim"'$/,g/; t
51780 s/$/\\/; p
51781 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51782 ' >>$CONFIG_STATUS <conf$$subs.sed
51783 rm -f conf$$subs.sed
51784 cat >>$CONFIG_STATUS <<_ACEOF
51785 CEOF$ac_eof
51786 _ACEOF
51787
51788
51789 ac_delim='%!_!# '
51790 for ac_last_try in false false false false false :; do
51791 cat >conf$$subs.sed <<_ACEOF
51792 GST_CFLAGS!$GST_CFLAGS$ac_delim
51793 GST_LIBS!$GST_LIBS$ac_delim
51794 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51795 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51796 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51797 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51798 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51799 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51800 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51801 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51802 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51803 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51804 VENDOR!$VENDOR$ac_delim
51805 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51806 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51807 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51808 WXUNIV!$WXUNIV$ac_delim
51809 MONOLITHIC!$MONOLITHIC$ac_delim
51810 USE_PLUGINS!$USE_PLUGINS$ac_delim
51811 CXXWARNINGS!$CXXWARNINGS$ac_delim
51812 EXTRALIBS!$EXTRALIBS$ac_delim
51813 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51814 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51815 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51816 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51817 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51818 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51819 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51820 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51821 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51822 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51823 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51824 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51825 UNICODE!$UNICODE$ac_delim
51826 BUILD!$BUILD$ac_delim
51827 DEBUG_INFO!$DEBUG_INFO$ac_delim
51828 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51829 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51830 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51831 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51832 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51833 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51834 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51835 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51836 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51837 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51838 RANLIB!$RANLIB$ac_delim
51839 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51840 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51841 INSTALL_DATA!$INSTALL_DATA$ac_delim
51842 LN_S!$LN_S$ac_delim
51843 SET_MAKE!$SET_MAKE$ac_delim
51844 MAKE_SET!$MAKE_SET$ac_delim
51845 AROPTIONS!$AROPTIONS$ac_delim
51846 STRIP!$STRIP$ac_delim
51847 NM!$NM$ac_delim
51848 INSTALL_DIR!$INSTALL_DIR$ac_delim
51849 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51850 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51851 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51852 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51853 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51854 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51855 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51856 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51857 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51858 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51859 SO_SUFFIX!$SO_SUFFIX$ac_delim
51860 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51861 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51862 LIBPREFIX!$LIBPREFIX$ac_delim
51863 LIBEXT!$LIBEXT$ac_delim
51864 DLLPREFIX!$DLLPREFIX$ac_delim
51865 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51866 dlldir!$dlldir$ac_delim
51867 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51868 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51869 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51870 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51871 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51872 PIC_FLAG!$PIC_FLAG$ac_delim
51873 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51874 USE_SOVERSION!$USE_SOVERSION$ac_delim
51875 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51876 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51877 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51878 USE_MACVERSION!$USE_MACVERSION$ac_delim
51879 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51880 SONAME_FLAG!$SONAME_FLAG$ac_delim
51881 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51882 BK_DEPS!$BK_DEPS$ac_delim
51883 WINDRES!$WINDRES$ac_delim
51884 REZ!$REZ$ac_delim
51885 SETFILE!$SETFILE$ac_delim
51886 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51887 GCC_PCH!$GCC_PCH$ac_delim
51888 ICC_PCH!$ICC_PCH$ac_delim
51889 _ACEOF
51890
51891 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51892 break
51893 elif $ac_last_try; then
51894 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51895 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51896 { (exit 1); exit 1; }; }
51897 else
51898 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51899 fi
51900 done
51901
51902 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51903 if test -n "$ac_eof"; then
51904 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51905 ac_eof=`expr $ac_eof + 1`
51906 fi
51907
51908 cat >>$CONFIG_STATUS <<_ACEOF
51909 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51911 _ACEOF
51912 sed '
51913 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51914 s/^/s,@/; s/!/@,|#_!!_#|/
51915 :n
51916 t n
51917 s/'"$ac_delim"'$/,g/; t
51918 s/$/\\/; p
51919 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51920 ' >>$CONFIG_STATUS <conf$$subs.sed
51921 rm -f conf$$subs.sed
51922 cat >>$CONFIG_STATUS <<_ACEOF
51923 CEOF$ac_eof
51924 _ACEOF
51925
51926
51927 ac_delim='%!_!# '
51928 for ac_last_try in false false false false false :; do
51929 cat >conf$$subs.sed <<_ACEOF
51930 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51931 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51932 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51933 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51934 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51935 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51936 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51937 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51938 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51939 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51940 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51941 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51942 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51943 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51944 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51945 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51946 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51947 COND_BUILD_release!$COND_BUILD_release$ac_delim
51948 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51949 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51950 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51951 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51952 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51953 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51954 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51955 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51956 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51957 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51958 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51959 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51960 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51961 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51962 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51963 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51964 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51965 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51966 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51967 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51968 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51969 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51970 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51971 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51972 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51974 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51975 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51976 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51977 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51978 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51979 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51980 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51981 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51982 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51983 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51984 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51985 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51986 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51987 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51988 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51989 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51990 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51991 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51992 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51993 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51994 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51995 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51996 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51997 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51998 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51999 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
52000 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52001 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
52002 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52003 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52004 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52005 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52006 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52007 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52008 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52009 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52010 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52011 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52012 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52013 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52014 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52015 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52016 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52017 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52018 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52019 COND_SHARED_0!$COND_SHARED_0$ac_delim
52020 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52021 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52022 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52023 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52024 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52025 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52026 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52027 _ACEOF
52028
52029 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52030 break
52031 elif $ac_last_try; then
52032 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52033 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52034 { (exit 1); exit 1; }; }
52035 else
52036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52037 fi
52038 done
52039
52040 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52041 if test -n "$ac_eof"; then
52042 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52043 ac_eof=`expr $ac_eof + 1`
52044 fi
52045
52046 cat >>$CONFIG_STATUS <<_ACEOF
52047 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52048 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52049 _ACEOF
52050 sed '
52051 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52052 s/^/s,@/; s/!/@,|#_!!_#|/
52053 :n
52054 t n
52055 s/'"$ac_delim"'$/,g/; t
52056 s/$/\\/; p
52057 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52058 ' >>$CONFIG_STATUS <conf$$subs.sed
52059 rm -f conf$$subs.sed
52060 cat >>$CONFIG_STATUS <<_ACEOF
52061 CEOF$ac_eof
52062 _ACEOF
52063
52064
52065 ac_delim='%!_!# '
52066 for ac_last_try in false false false false false :; do
52067 cat >conf$$subs.sed <<_ACEOF
52068 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52069 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52070 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52071 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52072 COND_SHARED_1!$COND_SHARED_1$ac_delim
52073 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52074 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52075 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52076 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52077 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52078 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52079 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52080 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52081 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52083 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52085 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52086 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52087 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52088 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52089 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52090 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52091 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52092 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52093 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52094 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52095 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52096 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52097 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52098 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52099 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52100 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52101 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52102 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52103 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52104 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52105 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52106 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52107 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52108 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52109 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52110 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52111 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52112 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52113 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52114 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52115 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52116 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52117 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52118 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52119 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52120 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52121 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52122 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52123 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52124 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52125 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52126 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52127 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52128 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52129 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52130 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52131 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52132 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52133 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52134 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52135 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52136 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52137 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52138 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52139 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52140 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52141 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52142 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52143 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52144 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52145 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52146 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52147 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52148 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52149 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52150 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52151 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52152 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52153 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52154 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52155 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52156 DEREZ!$DEREZ$ac_delim
52157 SHARED!$SHARED$ac_delim
52158 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52159 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52160 USE_GUI!$USE_GUI$ac_delim
52161 AFMINSTALL!$AFMINSTALL$ac_delim
52162 WIN32INSTALL!$WIN32INSTALL$ac_delim
52163 TOOLKIT!$TOOLKIT$ac_delim
52164 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52165 _ACEOF
52166
52167 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52168 break
52169 elif $ac_last_try; then
52170 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52171 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52172 { (exit 1); exit 1; }; }
52173 else
52174 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52175 fi
52176 done
52177
52178 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52179 if test -n "$ac_eof"; then
52180 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52181 ac_eof=`expr $ac_eof + 1`
52182 fi
52183
52184 cat >>$CONFIG_STATUS <<_ACEOF
52185 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52186 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52187 _ACEOF
52188 sed '
52189 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52190 s/^/s,@/; s/!/@,|#_!!_#|/
52191 :n
52192 t n
52193 s/'"$ac_delim"'$/,g/; t
52194 s/$/\\/; p
52195 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52196 ' >>$CONFIG_STATUS <conf$$subs.sed
52197 rm -f conf$$subs.sed
52198 cat >>$CONFIG_STATUS <<_ACEOF
52199 CEOF$ac_eof
52200 _ACEOF
52201
52202
52203 ac_delim='%!_!# '
52204 for ac_last_try in false false false false false :; do
52205 cat >conf$$subs.sed <<_ACEOF
52206 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52207 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52208 cross_compiling!$cross_compiling$ac_delim
52209 WIDGET_SET!$WIDGET_SET$ac_delim
52210 WX_RELEASE!$WX_RELEASE$ac_delim
52211 WX_VERSION!$WX_VERSION$ac_delim
52212 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52213 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52214 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52215 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52216 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52217 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52218 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52219 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52220 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52221 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52222 GUIDIST!$GUIDIST$ac_delim
52223 DISTDIR!$DISTDIR$ac_delim
52224 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52225 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52226 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52227 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52228 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52229 RESCOMP!$RESCOMP$ac_delim
52230 RESFLAGS!$RESFLAGS$ac_delim
52231 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52232 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52233 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52234 LIBWXMACRES!$LIBWXMACRES$ac_delim
52235 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52236 MACSETFILE!$MACSETFILE$ac_delim
52237 GCC!$GCC$ac_delim
52238 DLLTOOL!$DLLTOOL$ac_delim
52239 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52240 LIBOBJS!$LIBOBJS$ac_delim
52241 LTLIBOBJS!$LTLIBOBJS$ac_delim
52242 _ACEOF
52243
52244 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52245 break
52246 elif $ac_last_try; then
52247 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52248 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52249 { (exit 1); exit 1; }; }
52250 else
52251 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52252 fi
52253 done
52254
52255 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52256 if test -n "$ac_eof"; then
52257 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52258 ac_eof=`expr $ac_eof + 1`
52259 fi
52260
52261 cat >>$CONFIG_STATUS <<_ACEOF
52262 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52263 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52264 _ACEOF
52265 sed '
52266 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52267 s/^/s,@/; s/!/@,|#_!!_#|/
52268 :n
52269 t n
52270 s/'"$ac_delim"'$/,g/; t
52271 s/$/\\/; p
52272 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52273 ' >>$CONFIG_STATUS <conf$$subs.sed
52274 rm -f conf$$subs.sed
52275 cat >>$CONFIG_STATUS <<_ACEOF
52276 :end
52277 s/|#_!!_#|//g
52278 CEOF$ac_eof
52279 _ACEOF
52280
52281
52282 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52283 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52284 # trailing colons and then remove the whole line if VPATH becomes empty
52285 # (actually we leave an empty line to preserve line numbers).
52286 if test "x$srcdir" = x.; then
52287 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52288 s/:*\$(srcdir):*/:/
52289 s/:*\${srcdir}:*/:/
52290 s/:*@srcdir@:*/:/
52291 s/^\([^=]*=[ ]*\):*/\1/
52292 s/:*$//
52293 s/^[^=]*=[ ]*$//
52294 }'
52295 fi
52296
52297 cat >>$CONFIG_STATUS <<\_ACEOF
52298 fi # test -n "$CONFIG_FILES"
52299
52300
52301 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52302 do
52303 case $ac_tag in
52304 :[FHLC]) ac_mode=$ac_tag; continue;;
52305 esac
52306 case $ac_mode$ac_tag in
52307 :[FHL]*:*);;
52308 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52309 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52310 { (exit 1); exit 1; }; };;
52311 :[FH]-) ac_tag=-:-;;
52312 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52313 esac
52314 ac_save_IFS=$IFS
52315 IFS=:
52316 set x $ac_tag
52317 IFS=$ac_save_IFS
52318 shift
52319 ac_file=$1
52320 shift
52321
52322 case $ac_mode in
52323 :L) ac_source=$1;;
52324 :[FH])
52325 ac_file_inputs=
52326 for ac_f
52327 do
52328 case $ac_f in
52329 -) ac_f="$tmp/stdin";;
52330 *) # Look for the file first in the build tree, then in the source tree
52331 # (if the path is not absolute). The absolute path cannot be DOS-style,
52332 # because $ac_f cannot contain `:'.
52333 test -f "$ac_f" ||
52334 case $ac_f in
52335 [\\/$]*) false;;
52336 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52337 esac ||
52338 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52339 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52340 { (exit 1); exit 1; }; };;
52341 esac
52342 ac_file_inputs="$ac_file_inputs $ac_f"
52343 done
52344
52345 # Let's still pretend it is `configure' which instantiates (i.e., don't
52346 # use $as_me), people would be surprised to read:
52347 # /* config.h. Generated by config.status. */
52348 configure_input="Generated from "`IFS=:
52349 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52350 if test x"$ac_file" != x-; then
52351 configure_input="$ac_file. $configure_input"
52352 { echo "$as_me:$LINENO: creating $ac_file" >&5
52353 echo "$as_me: creating $ac_file" >&6;}
52354 fi
52355
52356 case $ac_tag in
52357 *:-:* | *:-) cat >"$tmp/stdin";;
52358 esac
52359 ;;
52360 esac
52361
52362 ac_dir=`$as_dirname -- "$ac_file" ||
52363 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52364 X"$ac_file" : 'X\(//\)[^/]' \| \
52365 X"$ac_file" : 'X\(//\)$' \| \
52366 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52367 echo X"$ac_file" |
52368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52369 s//\1/
52370 q
52371 }
52372 /^X\(\/\/\)[^/].*/{
52373 s//\1/
52374 q
52375 }
52376 /^X\(\/\/\)$/{
52377 s//\1/
52378 q
52379 }
52380 /^X\(\/\).*/{
52381 s//\1/
52382 q
52383 }
52384 s/.*/./; q'`
52385 { as_dir="$ac_dir"
52386 case $as_dir in #(
52387 -*) as_dir=./$as_dir;;
52388 esac
52389 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52390 as_dirs=
52391 while :; do
52392 case $as_dir in #(
52393 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52394 *) as_qdir=$as_dir;;
52395 esac
52396 as_dirs="'$as_qdir' $as_dirs"
52397 as_dir=`$as_dirname -- "$as_dir" ||
52398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52399 X"$as_dir" : 'X\(//\)[^/]' \| \
52400 X"$as_dir" : 'X\(//\)$' \| \
52401 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52402 echo X"$as_dir" |
52403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52404 s//\1/
52405 q
52406 }
52407 /^X\(\/\/\)[^/].*/{
52408 s//\1/
52409 q
52410 }
52411 /^X\(\/\/\)$/{
52412 s//\1/
52413 q
52414 }
52415 /^X\(\/\).*/{
52416 s//\1/
52417 q
52418 }
52419 s/.*/./; q'`
52420 test -d "$as_dir" && break
52421 done
52422 test -z "$as_dirs" || eval "mkdir $as_dirs"
52423 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52424 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52425 { (exit 1); exit 1; }; }; }
52426 ac_builddir=.
52427
52428 case "$ac_dir" in
52429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52430 *)
52431 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52432 # A ".." for each directory in $ac_dir_suffix.
52433 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52434 case $ac_top_builddir_sub in
52435 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52436 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52437 esac ;;
52438 esac
52439 ac_abs_top_builddir=$ac_pwd
52440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52441 # for backward compatibility:
52442 ac_top_builddir=$ac_top_build_prefix
52443
52444 case $srcdir in
52445 .) # We are building in place.
52446 ac_srcdir=.
52447 ac_top_srcdir=$ac_top_builddir_sub
52448 ac_abs_top_srcdir=$ac_pwd ;;
52449 [\\/]* | ?:[\\/]* ) # Absolute name.
52450 ac_srcdir=$srcdir$ac_dir_suffix;
52451 ac_top_srcdir=$srcdir
52452 ac_abs_top_srcdir=$srcdir ;;
52453 *) # Relative name.
52454 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52455 ac_top_srcdir=$ac_top_build_prefix$srcdir
52456 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52457 esac
52458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52459
52460
52461 case $ac_mode in
52462 :F)
52463 #
52464 # CONFIG_FILE
52465 #
52466
52467 case $INSTALL in
52468 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52469 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52470 esac
52471 _ACEOF
52472
52473 cat >>$CONFIG_STATUS <<\_ACEOF
52474 # If the template does not know about datarootdir, expand it.
52475 # FIXME: This hack should be removed a few years after 2.60.
52476 ac_datarootdir_hack=; ac_datarootdir_seen=
52477
52478 case `sed -n '/datarootdir/ {
52479 p
52480 q
52481 }
52482 /@datadir@/p
52483 /@docdir@/p
52484 /@infodir@/p
52485 /@localedir@/p
52486 /@mandir@/p
52487 ' $ac_file_inputs` in
52488 *datarootdir*) ac_datarootdir_seen=yes;;
52489 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52490 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52491 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52492 _ACEOF
52493 cat >>$CONFIG_STATUS <<_ACEOF
52494 ac_datarootdir_hack='
52495 s&@datadir@&$datadir&g
52496 s&@docdir@&$docdir&g
52497 s&@infodir@&$infodir&g
52498 s&@localedir@&$localedir&g
52499 s&@mandir@&$mandir&g
52500 s&\\\${datarootdir}&$datarootdir&g' ;;
52501 esac
52502 _ACEOF
52503
52504 # Neutralize VPATH when `$srcdir' = `.'.
52505 # Shell code in configure.ac might set extrasub.
52506 # FIXME: do we really want to maintain this feature?
52507 cat >>$CONFIG_STATUS <<_ACEOF
52508 sed "$ac_vpsub
52509 $extrasub
52510 _ACEOF
52511 cat >>$CONFIG_STATUS <<\_ACEOF
52512 :t
52513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52514 s&@configure_input@&$configure_input&;t t
52515 s&@top_builddir@&$ac_top_builddir_sub&;t t
52516 s&@srcdir@&$ac_srcdir&;t t
52517 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52518 s&@top_srcdir@&$ac_top_srcdir&;t t
52519 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52520 s&@builddir@&$ac_builddir&;t t
52521 s&@abs_builddir@&$ac_abs_builddir&;t t
52522 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52523 s&@INSTALL@&$ac_INSTALL&;t t
52524 $ac_datarootdir_hack
52525 " $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
52526
52527 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52528 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52529 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52530 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52531 which seems to be undefined. Please make sure it is defined." >&5
52532 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52533 which seems to be undefined. Please make sure it is defined." >&2;}
52534
52535 rm -f "$tmp/stdin"
52536 case $ac_file in
52537 -) cat "$tmp/out"; rm -f "$tmp/out";;
52538 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52539 esac
52540 ;;
52541 :H)
52542 #
52543 # CONFIG_HEADER
52544 #
52545 _ACEOF
52546
52547 # Transform confdefs.h into a sed script `conftest.defines', that
52548 # substitutes the proper values into config.h.in to produce config.h.
52549 rm -f conftest.defines conftest.tail
52550 # First, append a space to every undef/define line, to ease matching.
52551 echo 's/$/ /' >conftest.defines
52552 # Then, protect against being on the right side of a sed subst, or in
52553 # an unquoted here document, in config.status. If some macros were
52554 # called several times there might be several #defines for the same
52555 # symbol, which is useless. But do not sort them, since the last
52556 # AC_DEFINE must be honored.
52557 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52558 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52559 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52560 # PARAMS is the parameter list in the macro definition--in most cases, it's
52561 # just an empty string.
52562 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52563 ac_dB='\\)[ (].*,\\1define\\2'
52564 ac_dC=' '
52565 ac_dD=' ,'
52566
52567 uniq confdefs.h |
52568 sed -n '
52569 t rset
52570 :rset
52571 s/^[ ]*#[ ]*define[ ][ ]*//
52572 t ok
52573 d
52574 :ok
52575 s/[\\&,]/\\&/g
52576 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52577 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52578 ' >>conftest.defines
52579
52580 # Remove the space that was appended to ease matching.
52581 # Then replace #undef with comments. This is necessary, for
52582 # example, in the case of _POSIX_SOURCE, which is predefined and required
52583 # on some systems where configure will not decide to define it.
52584 # (The regexp can be short, since the line contains either #define or #undef.)
52585 echo 's/ $//
52586 s,^[ #]*u.*,/* & */,' >>conftest.defines
52587
52588 # Break up conftest.defines:
52589 ac_max_sed_lines=50
52590
52591 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52592 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52593 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52594 # et cetera.
52595 ac_in='$ac_file_inputs'
52596 ac_out='"$tmp/out1"'
52597 ac_nxt='"$tmp/out2"'
52598
52599 while :
52600 do
52601 # Write a here document:
52602 cat >>$CONFIG_STATUS <<_ACEOF
52603 # First, check the format of the line:
52604 cat >"\$tmp/defines.sed" <<\\CEOF
52605 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52606 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52607 b
52608 :def
52609 _ACEOF
52610 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52611 echo 'CEOF
52612 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52613 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52614 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52615 grep . conftest.tail >/dev/null || break
52616 rm -f conftest.defines
52617 mv conftest.tail conftest.defines
52618 done
52619 rm -f conftest.defines conftest.tail
52620
52621 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52622 cat >>$CONFIG_STATUS <<\_ACEOF
52623 if test x"$ac_file" != x-; then
52624 echo "/* $configure_input */" >"$tmp/config.h"
52625 cat "$ac_result" >>"$tmp/config.h"
52626 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52627 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52628 echo "$as_me: $ac_file is unchanged" >&6;}
52629 else
52630 rm -f $ac_file
52631 mv "$tmp/config.h" $ac_file
52632 fi
52633 else
52634 echo "/* $configure_input */"
52635 cat "$ac_result"
52636 fi
52637 rm -f "$tmp/out12"
52638 ;;
52639
52640 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52641 echo "$as_me: executing $ac_file commands" >&6;}
52642 ;;
52643 esac
52644
52645
52646 case $ac_file$ac_mode in
52647 "rcdefs.h":C)
52648 mkdir -p $outdir &&
52649 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52650 ;;
52651 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52652 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52653 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52654 "wx-config":C) rm -f wx-config
52655 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52656 ;;
52657
52658 esac
52659 done # for ac_tag
52660
52661
52662 { (exit 0); exit 0; }
52663 _ACEOF
52664 chmod +x $CONFIG_STATUS
52665 ac_clean_files=$ac_clean_files_save
52666
52667
52668 # configure is writing to config.log, and then calls config.status.
52669 # config.status does its own redirection, appending to config.log.
52670 # Unfortunately, on DOS this fails, as config.log is still kept open
52671 # by configure, so config.status won't be able to write to it; its
52672 # output is simply discarded. So we exec the FD to /dev/null,
52673 # effectively closing config.log, so it can be properly (re)opened and
52674 # appended to by config.status. When coming back to configure, we
52675 # need to make the FD available again.
52676 if test "$no_create" != yes; then
52677 ac_cs_success=:
52678 ac_config_status_args=
52679 test "$silent" = yes &&
52680 ac_config_status_args="$ac_config_status_args --quiet"
52681 exec 5>/dev/null
52682 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52683 exec 5>>config.log
52684 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52685 # would make configure fail if this is the last instruction.
52686 $ac_cs_success || { (exit 1); exit 1; }
52687 fi
52688
52689 #
52690 # CONFIG_SUBDIRS section.
52691 #
52692 if test "$no_recursion" != yes; then
52693
52694 # Remove --cache-file and --srcdir arguments so they do not pile up.
52695 ac_sub_configure_args=
52696 ac_prev=
52697 eval "set x $ac_configure_args"
52698 shift
52699 for ac_arg
52700 do
52701 if test -n "$ac_prev"; then
52702 ac_prev=
52703 continue
52704 fi
52705 case $ac_arg in
52706 -cache-file | --cache-file | --cache-fil | --cache-fi \
52707 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52708 ac_prev=cache_file ;;
52709 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52710 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52711 | --c=*)
52712 ;;
52713 --config-cache | -C)
52714 ;;
52715 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52716 ac_prev=srcdir ;;
52717 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52718 ;;
52719 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52720 ac_prev=prefix ;;
52721 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52722 ;;
52723 *)
52724 case $ac_arg in
52725 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52726 esac
52727 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52728 esac
52729 done
52730
52731 # Always prepend --prefix to ensure using the same prefix
52732 # in subdir configurations.
52733 ac_arg="--prefix=$prefix"
52734 case $ac_arg in
52735 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52736 esac
52737 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52738
52739 # Pass --silent
52740 if test "$silent" = yes; then
52741 ac_sub_configure_args="--silent $ac_sub_configure_args"
52742 fi
52743
52744 ac_popdir=`pwd`
52745 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52746
52747 # Do not complain, so a configure script can configure whichever
52748 # parts of a large source tree are present.
52749 test -d "$srcdir/$ac_dir" || continue
52750
52751 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52752 echo "$as_me:$LINENO: $ac_msg" >&5
52753 echo "$ac_msg" >&6
52754 { as_dir="$ac_dir"
52755 case $as_dir in #(
52756 -*) as_dir=./$as_dir;;
52757 esac
52758 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52759 as_dirs=
52760 while :; do
52761 case $as_dir in #(
52762 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52763 *) as_qdir=$as_dir;;
52764 esac
52765 as_dirs="'$as_qdir' $as_dirs"
52766 as_dir=`$as_dirname -- "$as_dir" ||
52767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52768 X"$as_dir" : 'X\(//\)[^/]' \| \
52769 X"$as_dir" : 'X\(//\)$' \| \
52770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52771 echo X"$as_dir" |
52772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52773 s//\1/
52774 q
52775 }
52776 /^X\(\/\/\)[^/].*/{
52777 s//\1/
52778 q
52779 }
52780 /^X\(\/\/\)$/{
52781 s//\1/
52782 q
52783 }
52784 /^X\(\/\).*/{
52785 s//\1/
52786 q
52787 }
52788 s/.*/./; q'`
52789 test -d "$as_dir" && break
52790 done
52791 test -z "$as_dirs" || eval "mkdir $as_dirs"
52792 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52793 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52794 { (exit 1); exit 1; }; }; }
52795 ac_builddir=.
52796
52797 case "$ac_dir" in
52798 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52799 *)
52800 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52801 # A ".." for each directory in $ac_dir_suffix.
52802 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52803 case $ac_top_builddir_sub in
52804 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52805 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52806 esac ;;
52807 esac
52808 ac_abs_top_builddir=$ac_pwd
52809 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52810 # for backward compatibility:
52811 ac_top_builddir=$ac_top_build_prefix
52812
52813 case $srcdir in
52814 .) # We are building in place.
52815 ac_srcdir=.
52816 ac_top_srcdir=$ac_top_builddir_sub
52817 ac_abs_top_srcdir=$ac_pwd ;;
52818 [\\/]* | ?:[\\/]* ) # Absolute name.
52819 ac_srcdir=$srcdir$ac_dir_suffix;
52820 ac_top_srcdir=$srcdir
52821 ac_abs_top_srcdir=$srcdir ;;
52822 *) # Relative name.
52823 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52824 ac_top_srcdir=$ac_top_build_prefix$srcdir
52825 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52826 esac
52827 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52828
52829
52830 cd "$ac_dir"
52831
52832 # Check for guested configure; otherwise get Cygnus style configure.
52833 if test -f "$ac_srcdir/configure.gnu"; then
52834 ac_sub_configure=$ac_srcdir/configure.gnu
52835 elif test -f "$ac_srcdir/configure"; then
52836 ac_sub_configure=$ac_srcdir/configure
52837 elif test -f "$ac_srcdir/configure.in"; then
52838 # This should be Cygnus configure.
52839 ac_sub_configure=$ac_aux_dir/configure
52840 else
52841 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52842 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52843 ac_sub_configure=
52844 fi
52845
52846 # The recursion is here.
52847 if test -n "$ac_sub_configure"; then
52848 # Make the cache file name correct relative to the subdirectory.
52849 case $cache_file in
52850 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52851 *) # Relative name.
52852 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52853 esac
52854
52855 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52856 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52857 # The eval makes quoting arguments work.
52858 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52859 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52860 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52861 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52862 { (exit 1); exit 1; }; }
52863 fi
52864
52865 cd "$ac_popdir"
52866 done
52867 fi
52868
52869
52870 echo
52871 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52872 echo ""
52873 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52874 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52875
52876 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52877 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52878 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52879 if test "$wxUSE_UNICODE" = "yes"; then
52880 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52881 echo " (using UTF-8)"
52882 else
52883 echo " (using wchar_t)"
52884 fi
52885 else
52886 echo
52887 fi
52888
52889 echo " What level of wxWidgets compatibility should be enabled?"
52890 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52891 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52892
52893 echo " Which libraries should wxWidgets use?"
52894 echo " STL ${wxUSE_STL}"
52895 echo " jpeg ${wxUSE_LIBJPEG-none}"
52896 echo " png ${wxUSE_LIBPNG-none}"
52897 echo " regex ${wxUSE_REGEX}"
52898 echo " tiff ${wxUSE_LIBTIFF-none}"
52899 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52900 echo " xpm ${wxUSE_LIBXPM-none}"
52901 fi
52902 echo " zlib ${wxUSE_ZLIB}"
52903 echo " expat ${wxUSE_EXPAT}"
52904 echo " libmspack ${wxUSE_LIBMSPACK}"
52905 echo " sdl ${wxUSE_LIBSDL}"
52906
52907 echo ""
52908