]> git.saurik.com Git - wxWidgets.git/blob - configure
use std[::tr1]::unordered_map if available in wxUSE_STL build (#9532)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 53976 2008-06-04 10:53:02Z SN .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
874 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
875 COND_PLATFORM_MACOS_1
876 COND_PLATFORM_MAC_0
877 COND_PLATFORM_MAC_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_OS2_1
881 COND_PLATFORM_UNIX_0
882 COND_PLATFORM_UNIX_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
889 COND_SHARED_0
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_TOOLKIT_
904 COND_TOOLKIT_COCOA
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_DFB
908 COND_TOOLKIT_DFB_USE_GUI_1
909 COND_TOOLKIT_GTK
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_OPENGL_1
951 COND_USE_PCH_1
952 COND_USE_PLUGINS_0
953 COND_USE_RTTI_0
954 COND_USE_RTTI_1
955 COND_USE_SOSYMLINKS_1
956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
957 COND_USE_SOVERLINUX_1
958 COND_USE_SOVERSION_0
959 COND_USE_SOVERSOLARIS_1
960 COND_USE_STC_1
961 COND_USE_THREADS_0
962 COND_USE_THREADS_1
963 COND_USE_XRC_1
964 COND_WINDOWS_IMPLIB_1
965 COND_WITH_PLUGIN_SDL_1
966 COND_WXUNIV_0
967 COND_WXUNIV_1
968 COND_WXUSE_EXPAT_BUILTIN
969 COND_WXUSE_LIBJPEG_BUILTIN
970 COND_WXUSE_LIBPNG_BUILTIN
971 COND_WXUSE_LIBTIFF_BUILTIN
972 COND_WXUSE_REGEX_BUILTIN
973 COND_WXUSE_ZLIB_BUILTIN
974 DEREZ
975 SHARED
976 WX_LIBRARY_BASENAME_NOGUI
977 WX_LIBRARY_BASENAME_GUI
978 USE_GUI
979 AFMINSTALL
980 WIN32INSTALL
981 TOOLKIT
982 TOOLKIT_DIR
983 TOOLCHAIN_NAME
984 TOOLCHAIN_FULLNAME
985 cross_compiling
986 WIDGET_SET
987 WX_RELEASE
988 WX_VERSION
989 WX_SUBVERSION
990 WX_CHARTYPE
991 WX_DEBUGTYPE
992 WXCONFIG_CPPFLAGS
993 WXCONFIG_CFLAGS
994 WXCONFIG_CXXFLAGS
995 WXCONFIG_LIBS
996 WXCONFIG_RPATH
997 WXCONFIG_LDFLAGS_GUI
998 WXCONFIG_RESFLAGS
999 GUIDIST
1000 DISTDIR
1001 SAMPLES_SUBDIRS
1002 LDFLAGS_GL
1003 OPENGL_LIBS
1004 DMALLOC_LIBS
1005 WX_VERSION_TAG
1006 RESCOMP
1007 RESFLAGS
1008 RESPROGRAMOBJ
1009 WX_RESOURCES_MACOSX_ASCII
1010 WX_RESOURCES_MACOSX_DATA
1011 LIBWXMACRES
1012 POSTLINK_COMMAND
1013 MACSETFILE
1014 GCC
1015 DLLTOOL
1016 CPPUNIT_CONFIG
1017 LIBOBJS
1018 LTLIBOBJS'
1019 ac_subst_files=''
1020 ac_precious_vars='build_alias
1021 host_alias
1022 target_alias
1023 CC
1024 CFLAGS
1025 LDFLAGS
1026 LIBS
1027 CPPFLAGS
1028 CPP
1029 CXX
1030 CXXFLAGS
1031 CCC
1032 PKG_CONFIG
1033 DIRECTFB_CFLAGS
1034 DIRECTFB_LIBS
1035 XMKMF
1036 PANGOX_CFLAGS
1037 PANGOX_LIBS
1038 PANGOFT2_CFLAGS
1039 PANGOFT2_LIBS
1040 PANGOXFT_CFLAGS
1041 PANGOXFT_LIBS
1042 GTKPRINT_CFLAGS
1043 GTKPRINT_LIBS
1044 LIBGNOMEPRINTUI_CFLAGS
1045 LIBGNOMEPRINTUI_LIBS
1046 GNOMEVFS_CFLAGS
1047 GNOMEVFS_LIBS
1048 HILDON_CFLAGS
1049 HILDON_LIBS
1050 CAIRO_CFLAGS
1051 CAIRO_LIBS
1052 GST_CFLAGS
1053 GST_LIBS'
1054 ac_subdirs_all='src/tiff
1055 src/expat'
1056
1057 # Initialize some variables set by options.
1058 ac_init_help=
1059 ac_init_version=false
1060 # The variables have the same names as the options, with
1061 # dashes changed to underlines.
1062 cache_file=/dev/null
1063 exec_prefix=NONE
1064 no_create=
1065 no_recursion=
1066 prefix=NONE
1067 program_prefix=NONE
1068 program_suffix=NONE
1069 program_transform_name=s,x,x,
1070 silent=
1071 site=
1072 srcdir=
1073 verbose=
1074 x_includes=NONE
1075 x_libraries=NONE
1076
1077 # Installation directory options.
1078 # These are left unexpanded so users can "make install exec_prefix=/foo"
1079 # and all the variables that are supposed to be based on exec_prefix
1080 # by default will actually change.
1081 # Use braces instead of parens because sh, perl, etc. also accept them.
1082 # (The list follows the same order as the GNU Coding Standards.)
1083 bindir='${exec_prefix}/bin'
1084 sbindir='${exec_prefix}/sbin'
1085 libexecdir='${exec_prefix}/libexec'
1086 datarootdir='${prefix}/share'
1087 datadir='${datarootdir}'
1088 sysconfdir='${prefix}/etc'
1089 sharedstatedir='${prefix}/com'
1090 localstatedir='${prefix}/var'
1091 includedir='${prefix}/include'
1092 oldincludedir='/usr/include'
1093 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1094 infodir='${datarootdir}/info'
1095 htmldir='${docdir}'
1096 dvidir='${docdir}'
1097 pdfdir='${docdir}'
1098 psdir='${docdir}'
1099 libdir='${exec_prefix}/lib'
1100 localedir='${datarootdir}/locale'
1101 mandir='${datarootdir}/man'
1102
1103 ac_prev=
1104 ac_dashdash=
1105 for ac_option
1106 do
1107 # If the previous option needs an argument, assign it.
1108 if test -n "$ac_prev"; then
1109 eval $ac_prev=\$ac_option
1110 ac_prev=
1111 continue
1112 fi
1113
1114 case $ac_option in
1115 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116 *) ac_optarg=yes ;;
1117 esac
1118
1119 # Accept the important Cygnus configure options, so we can diagnose typos.
1120
1121 case $ac_dashdash$ac_option in
1122 --)
1123 ac_dashdash=yes ;;
1124
1125 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1126 ac_prev=bindir ;;
1127 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1128 bindir=$ac_optarg ;;
1129
1130 -build | --build | --buil | --bui | --bu)
1131 ac_prev=build_alias ;;
1132 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1133 build_alias=$ac_optarg ;;
1134
1135 -cache-file | --cache-file | --cache-fil | --cache-fi \
1136 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1137 ac_prev=cache_file ;;
1138 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1139 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1140 cache_file=$ac_optarg ;;
1141
1142 --config-cache | -C)
1143 cache_file=config.cache ;;
1144
1145 -datadir | --datadir | --datadi | --datad)
1146 ac_prev=datadir ;;
1147 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1148 datadir=$ac_optarg ;;
1149
1150 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1151 | --dataroo | --dataro | --datar)
1152 ac_prev=datarootdir ;;
1153 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1154 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1155 datarootdir=$ac_optarg ;;
1156
1157 -disable-* | --disable-*)
1158 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1162 { (exit 1); exit 1; }; }
1163 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1164 eval enable_$ac_feature=no ;;
1165
1166 -docdir | --docdir | --docdi | --doc | --do)
1167 ac_prev=docdir ;;
1168 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1169 docdir=$ac_optarg ;;
1170
1171 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1172 ac_prev=dvidir ;;
1173 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1174 dvidir=$ac_optarg ;;
1175
1176 -enable-* | --enable-*)
1177 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1181 { (exit 1); exit 1; }; }
1182 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1183 eval enable_$ac_feature=\$ac_optarg ;;
1184
1185 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1186 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1187 | --exec | --exe | --ex)
1188 ac_prev=exec_prefix ;;
1189 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1190 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1191 | --exec=* | --exe=* | --ex=*)
1192 exec_prefix=$ac_optarg ;;
1193
1194 -gas | --gas | --ga | --g)
1195 # Obsolete; use --with-gas.
1196 with_gas=yes ;;
1197
1198 -help | --help | --hel | --he | -h)
1199 ac_init_help=long ;;
1200 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1201 ac_init_help=recursive ;;
1202 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1203 ac_init_help=short ;;
1204
1205 -host | --host | --hos | --ho)
1206 ac_prev=host_alias ;;
1207 -host=* | --host=* | --hos=* | --ho=*)
1208 host_alias=$ac_optarg ;;
1209
1210 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1211 ac_prev=htmldir ;;
1212 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1213 | --ht=*)
1214 htmldir=$ac_optarg ;;
1215
1216 -includedir | --includedir | --includedi | --included | --include \
1217 | --includ | --inclu | --incl | --inc)
1218 ac_prev=includedir ;;
1219 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1220 | --includ=* | --inclu=* | --incl=* | --inc=*)
1221 includedir=$ac_optarg ;;
1222
1223 -infodir | --infodir | --infodi | --infod | --info | --inf)
1224 ac_prev=infodir ;;
1225 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1226 infodir=$ac_optarg ;;
1227
1228 -libdir | --libdir | --libdi | --libd)
1229 ac_prev=libdir ;;
1230 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1231 libdir=$ac_optarg ;;
1232
1233 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1234 | --libexe | --libex | --libe)
1235 ac_prev=libexecdir ;;
1236 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1237 | --libexe=* | --libex=* | --libe=*)
1238 libexecdir=$ac_optarg ;;
1239
1240 -localedir | --localedir | --localedi | --localed | --locale)
1241 ac_prev=localedir ;;
1242 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1243 localedir=$ac_optarg ;;
1244
1245 -localstatedir | --localstatedir | --localstatedi | --localstated \
1246 | --localstate | --localstat | --localsta | --localst | --locals)
1247 ac_prev=localstatedir ;;
1248 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1249 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1250 localstatedir=$ac_optarg ;;
1251
1252 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1253 ac_prev=mandir ;;
1254 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1255 mandir=$ac_optarg ;;
1256
1257 -nfp | --nfp | --nf)
1258 # Obsolete; use --without-fp.
1259 with_fp=no ;;
1260
1261 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1262 | --no-cr | --no-c | -n)
1263 no_create=yes ;;
1264
1265 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1266 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 no_recursion=yes ;;
1268
1269 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1270 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1271 | --oldin | --oldi | --old | --ol | --o)
1272 ac_prev=oldincludedir ;;
1273 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1274 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1275 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1276 oldincludedir=$ac_optarg ;;
1277
1278 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1279 ac_prev=prefix ;;
1280 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1281 prefix=$ac_optarg ;;
1282
1283 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1284 | --program-pre | --program-pr | --program-p)
1285 ac_prev=program_prefix ;;
1286 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1287 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1288 program_prefix=$ac_optarg ;;
1289
1290 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1291 | --program-suf | --program-su | --program-s)
1292 ac_prev=program_suffix ;;
1293 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1294 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1295 program_suffix=$ac_optarg ;;
1296
1297 -program-transform-name | --program-transform-name \
1298 | --program-transform-nam | --program-transform-na \
1299 | --program-transform-n | --program-transform- \
1300 | --program-transform | --program-transfor \
1301 | --program-transfo | --program-transf \
1302 | --program-trans | --program-tran \
1303 | --progr-tra | --program-tr | --program-t)
1304 ac_prev=program_transform_name ;;
1305 -program-transform-name=* | --program-transform-name=* \
1306 | --program-transform-nam=* | --program-transform-na=* \
1307 | --program-transform-n=* | --program-transform-=* \
1308 | --program-transform=* | --program-transfor=* \
1309 | --program-transfo=* | --program-transf=* \
1310 | --program-trans=* | --program-tran=* \
1311 | --progr-tra=* | --program-tr=* | --program-t=*)
1312 program_transform_name=$ac_optarg ;;
1313
1314 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1315 ac_prev=pdfdir ;;
1316 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1317 pdfdir=$ac_optarg ;;
1318
1319 -psdir | --psdir | --psdi | --psd | --ps)
1320 ac_prev=psdir ;;
1321 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 psdir=$ac_optarg ;;
1323
1324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1325 | -silent | --silent | --silen | --sile | --sil)
1326 silent=yes ;;
1327
1328 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1329 ac_prev=sbindir ;;
1330 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1331 | --sbi=* | --sb=*)
1332 sbindir=$ac_optarg ;;
1333
1334 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1335 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1336 | --sharedst | --shareds | --shared | --share | --shar \
1337 | --sha | --sh)
1338 ac_prev=sharedstatedir ;;
1339 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1340 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1341 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1342 | --sha=* | --sh=*)
1343 sharedstatedir=$ac_optarg ;;
1344
1345 -site | --site | --sit)
1346 ac_prev=site ;;
1347 -site=* | --site=* | --sit=*)
1348 site=$ac_optarg ;;
1349
1350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1351 ac_prev=srcdir ;;
1352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1353 srcdir=$ac_optarg ;;
1354
1355 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1356 | --syscon | --sysco | --sysc | --sys | --sy)
1357 ac_prev=sysconfdir ;;
1358 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1359 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1360 sysconfdir=$ac_optarg ;;
1361
1362 -target | --target | --targe | --targ | --tar | --ta | --t)
1363 ac_prev=target_alias ;;
1364 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1365 target_alias=$ac_optarg ;;
1366
1367 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 verbose=yes ;;
1369
1370 -version | --version | --versio | --versi | --vers | -V)
1371 ac_init_version=: ;;
1372
1373 -with-* | --with-*)
1374 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1375 # Reject names that are not valid shell variable names.
1376 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1377 { echo "$as_me: error: invalid package name: $ac_package" >&2
1378 { (exit 1); exit 1; }; }
1379 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1380 eval with_$ac_package=\$ac_optarg ;;
1381
1382 -without-* | --without-*)
1383 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1384 # Reject names that are not valid shell variable names.
1385 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1386 { echo "$as_me: error: invalid package name: $ac_package" >&2
1387 { (exit 1); exit 1; }; }
1388 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1389 eval with_$ac_package=no ;;
1390
1391 --x)
1392 # Obsolete; use --with-x.
1393 with_x=yes ;;
1394
1395 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1396 | --x-incl | --x-inc | --x-in | --x-i)
1397 ac_prev=x_includes ;;
1398 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1399 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1400 x_includes=$ac_optarg ;;
1401
1402 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1403 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1404 ac_prev=x_libraries ;;
1405 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1406 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1407 x_libraries=$ac_optarg ;;
1408
1409 -*) { echo "$as_me: error: unrecognized option: $ac_option
1410 Try \`$0 --help' for more information." >&2
1411 { (exit 1); exit 1; }; }
1412 ;;
1413
1414 *=*)
1415 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1418 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1419 { (exit 1); exit 1; }; }
1420 eval $ac_envvar=\$ac_optarg
1421 export $ac_envvar ;;
1422
1423 *)
1424 # FIXME: should be removed in autoconf 3.0.
1425 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1426 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1427 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1428 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1429 ;;
1430
1431 esac
1432 done
1433
1434 if test -n "$ac_prev"; then
1435 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1436 { echo "$as_me: error: missing argument to $ac_option" >&2
1437 { (exit 1); exit 1; }; }
1438 fi
1439
1440 # Be sure to have absolute directory names.
1441 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1442 datadir sysconfdir sharedstatedir localstatedir includedir \
1443 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1444 libdir localedir mandir
1445 do
1446 eval ac_val=\$$ac_var
1447 case $ac_val in
1448 [\\/$]* | ?:[\\/]* ) continue;;
1449 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1450 esac
1451 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1452 { (exit 1); exit 1; }; }
1453 done
1454
1455 # There might be people who depend on the old broken behavior: `$host'
1456 # used to hold the argument of --host etc.
1457 # FIXME: To remove some day.
1458 build=$build_alias
1459 host=$host_alias
1460 target=$target_alias
1461
1462 # FIXME: To remove some day.
1463 if test "x$host_alias" != x; then
1464 if test "x$build_alias" = x; then
1465 cross_compiling=maybe
1466 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1467 If a cross compiler is detected then cross compile mode will be used." >&2
1468 elif test "x$build_alias" != "x$host_alias"; then
1469 cross_compiling=yes
1470 fi
1471 fi
1472
1473 ac_tool_prefix=
1474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1475
1476 test "$silent" = yes && exec 6>/dev/null
1477
1478
1479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1480 ac_ls_di=`ls -di .` &&
1481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1482 { echo "$as_me: error: Working directory cannot be determined" >&2
1483 { (exit 1); exit 1; }; }
1484 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1485 { echo "$as_me: error: pwd does not report name of working directory" >&2
1486 { (exit 1); exit 1; }; }
1487
1488
1489 # Find the source files, if location was not specified.
1490 if test -z "$srcdir"; then
1491 ac_srcdir_defaulted=yes
1492 # Try the directory containing this script, then the parent directory.
1493 ac_confdir=`$as_dirname -- "$0" ||
1494 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1495 X"$0" : 'X\(//\)[^/]' \| \
1496 X"$0" : 'X\(//\)$' \| \
1497 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1498 echo X"$0" |
1499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)[^/].*/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\/\)$/{
1508 s//\1/
1509 q
1510 }
1511 /^X\(\/\).*/{
1512 s//\1/
1513 q
1514 }
1515 s/.*/./; q'`
1516 srcdir=$ac_confdir
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 srcdir=..
1519 fi
1520 else
1521 ac_srcdir_defaulted=no
1522 fi
1523 if test ! -r "$srcdir/$ac_unique_file"; then
1524 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1525 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1526 { (exit 1); exit 1; }; }
1527 fi
1528 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1529 ac_abs_confdir=`(
1530 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1531 { (exit 1); exit 1; }; }
1532 pwd)`
1533 # When building in place, set srcdir=.
1534 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 srcdir=.
1536 fi
1537 # Remove unnecessary trailing slashes from srcdir.
1538 # Double slashes in file names in object file debugging info
1539 # mess up M-x gdb in Emacs.
1540 case $srcdir in
1541 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1542 esac
1543 for ac_var in $ac_precious_vars; do
1544 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_env_${ac_var}_value=\$${ac_var}
1546 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1548 done
1549
1550 #
1551 # Report the --help message.
1552 #
1553 if test "$ac_init_help" = "long"; then
1554 # Omit some internal or obsolete options to make the list less imposing.
1555 # This message is too long to be a string in the A/UX 3.1 sh.
1556 cat <<_ACEOF
1557 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1558
1559 Usage: $0 [OPTION]... [VAR=VALUE]...
1560
1561 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1562 VAR=VALUE. See below for descriptions of some of the useful variables.
1563
1564 Defaults for the options are specified in brackets.
1565
1566 Configuration:
1567 -h, --help display this help and exit
1568 --help=short display options specific to this package
1569 --help=recursive display the short help of all the included packages
1570 -V, --version display version information and exit
1571 -q, --quiet, --silent do not print \`checking...' messages
1572 --cache-file=FILE cache test results in FILE [disabled]
1573 -C, --config-cache alias for \`--cache-file=config.cache'
1574 -n, --no-create do not create output files
1575 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1576
1577 Installation directories:
1578 --prefix=PREFIX install architecture-independent files in PREFIX
1579 [$ac_default_prefix]
1580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 [PREFIX]
1582
1583 By default, \`make install' will install all the files in
1584 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1585 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1586 for instance \`--prefix=\$HOME'.
1587
1588 For better control, use the options below.
1589
1590 Fine tuning of the installation directories:
1591 --bindir=DIR user executables [EPREFIX/bin]
1592 --sbindir=DIR system admin executables [EPREFIX/sbin]
1593 --libexecdir=DIR program executables [EPREFIX/libexec]
1594 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1595 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1596 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1597 --libdir=DIR object code libraries [EPREFIX/lib]
1598 --includedir=DIR C header files [PREFIX/include]
1599 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1600 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1601 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1602 --infodir=DIR info documentation [DATAROOTDIR/info]
1603 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1604 --mandir=DIR man documentation [DATAROOTDIR/man]
1605 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1606 --htmldir=DIR html documentation [DOCDIR]
1607 --dvidir=DIR dvi documentation [DOCDIR]
1608 --pdfdir=DIR pdf documentation [DOCDIR]
1609 --psdir=DIR ps documentation [DOCDIR]
1610 _ACEOF
1611
1612 cat <<\_ACEOF
1613
1614 X features:
1615 --x-includes=DIR X include files are in DIR
1616 --x-libraries=DIR X library files are in DIR
1617
1618 System types:
1619 --build=BUILD configure for building on BUILD [guessed]
1620 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1621 --target=TARGET configure for building compilers for TARGET [HOST]
1622 _ACEOF
1623 fi
1624
1625 if test -n "$ac_init_help"; then
1626 case $ac_init_help in
1627 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1628 esac
1629 cat <<\_ACEOF
1630
1631 Optional Features:
1632 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1633 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1634 --disable-gui don't build GUI parts of the library
1635 --enable-monolithic build wxWidgets as single library
1636 --enable-plugins build parts of wxWidgets as loadable components
1637 --enable-official_build official build of wxWidgets (win32 DLL only)
1638 --enable-vendor=VENDOR vendor name (win32 DLL only)
1639 --disable-all-features disable all optional features to build minimal library
1640 --enable-universal use wxWidgets GUI controls instead of native ones
1641 --enable-nanox use NanoX
1642 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1643 --enable-gpe use GNOME PDA Environment features if possible
1644 --disable-shared create static library instead of shared
1645 --disable-optimise create optimised code
1646 --enable-debug same as debug_flag and debug_info
1647 --enable-stl use STL for containers
1648 --enable-std_iostreams use standard C++ stream classes
1649 --enable-std_string use standard C++ string classes
1650 --disable-unicode compile without Unicode support
1651 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1652 --enable-utf8 use UTF-8 representation for strings (Unix only)
1653 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1654 --enable-extended_rtti use extended RTTI (XTI)
1655 --enable-omf use OMF object format
1656 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1657 --enable-debug_info create code with debugging information
1658 --enable-debug_gdb create code with extra GDB debugging information
1659 --enable-debug_cntxt use wxDebugContext
1660 --enable-mem_tracing create code with memory tracing
1661 --enable-profile create code with profiling information
1662 --enable-no_rtti create code without RTTI information
1663 --enable-no_exceptions create code without C++ exceptions handling
1664 --enable-permissive compile code disregarding strict ANSI
1665 --enable-no_deps create code without dependency information
1666 --disable-vararg_macros don't use vararg macros, even if they are supported
1667 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1668 --enable-compat26 enable wxWidgets 2.6 compatibility
1669 --disable-compat28 disable wxWidgets 2.8 compatibility
1670 --disable-rpath disable use of rpath for uninstalled builds
1671 --enable-objc_uniquifying enable Objective-C class name uniquifying
1672 --disable-visibility disable use of ELF symbols visibility even if supported
1673 --enable-intl use internationalization system
1674 --enable-xlocale use x-locale support (requires wxLocale)
1675 --enable-config use wxConfig (and derived) classes
1676 --enable-protocols use wxProtocol and derived classes
1677 --enable-ftp use wxFTP (requires wxProtocol
1678 --enable-http use wxHTTP (requires wxProtocol
1679 --enable-fileproto use wxFileProto class (requires wxProtocol
1680 --enable-sockets use socket/network classes
1681 --enable-ipv6 enable IPv6 support in wxSocket
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epollloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1713 --enable-snglinst use wxSingleInstanceChecker class
1714 --enable-sound use wxSound class
1715 --enable-stdpaths use wxStandardPaths class
1716 --enable-stopwatch use wxStopWatch class
1717 --enable-streams use wxStream etc classes
1718 --enable-sysoptions use wxSystemOptions
1719 --enable-tarstream use wxTar streams
1720 --enable-textbuf use wxTextBuffer class
1721 --enable-textfile use wxTextFile class
1722 --enable-timer use wxTimer class
1723 --enable-variant use wxVariant class
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-protocol use wxProtocol class
1727 --enable-protocol-http HTTP support in wxProtocol
1728 --enable-protocol-ftp FTP support in wxProtocol
1729 --enable-protocol-file FILE support in wxProtocol
1730 --enable-threads use threads
1731 --enable-iniconf use wxIniConfig (Win32 only)
1732 --enable-regkey use wxRegKey class (Win32 only)
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-mdi use multiple document interface architecture
1746 --enable-mdidoc use docview architecture with MDI
1747 --enable-mediactrl use wxMediaCtrl class
1748 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1749 --enable-webkit use wxWebKitCtrl (Mac)
1750 --enable-richtext use wxRichTextCtrl
1751 --enable-graphics_ctx use graphics context 2D drawing API
1752 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1753 --enable-printarch use printing architecture
1754 --enable-svg use wxSVGFileDC device context
1755 --enable-clipboard use wxClipboard class
1756 --enable-dnd use Drag'n'Drop classes
1757 --enable-metafile use win32 metafiles
1758 --disable-controls disable compilation of all standard controls
1759 --enable-accel use accelerators
1760 --enable-animatectrl use wxAnimationCtrl class
1761 --enable-button use wxButton class
1762 --enable-bmpbutton use wxBitmapButton class
1763 --enable-bmpcombobox use wxBitmapComboBox class
1764 --enable-calendar use wxCalendarCtrl class
1765 --enable-caret use wxCaret class
1766 --enable-checkbox use wxCheckBox class
1767 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1768 --enable-choice use wxChoice class
1769 --enable-choicebook use wxChoicebook class
1770 --enable-collpane use wxCollapsiblePane class
1771 --enable-colourpicker use wxColourPickerCtrl class
1772 --enable-combobox use wxComboBox class
1773 --enable-comboctrl use wxComboCtrl class
1774 --enable-datepick use wxDatePickerCtrl class
1775 --enable-dirpicker use wxDirPickerCtrl class
1776 --enable-display use wxDisplay class
1777 --enable-detect_sm use code to detect X11 session manager
1778 --enable-editablebox use wxEditableListBox class
1779 --enable-filepicker use wxFilePickerCtrl class
1780 --enable-filectrl use wxFileCtrl class
1781 --enable-fontpicker use wxFontPickerCtrl class
1782 --enable-gauge use wxGauge class
1783 --enable-grid use wxGrid class
1784 --enable-dataviewctrl use wxDataViewCtrl class
1785 --enable-hyperlink use wxHyperlinkCtrl class
1786 --enable-imaglist use wxImageList class
1787 --enable-listbook use wxListbook class
1788 --enable-listbox use wxListBox class
1789 --enable-listctrl use wxListCtrl class
1790 --enable-notebook use wxNotebook class
1791 --enable-notifmsg use wxNotificationMessage class
1792 --enable-odcombobox use wxOwnerDrawnComboBox class
1793 --enable-radiobox use wxRadioBox class
1794 --enable-radiobtn use wxRadioButton class
1795 --enable-sash use wxSashWindow class
1796 --enable-scrollbar use wxScrollBar class and scrollable windows
1797 --enable-searchctrl use wxSearchCtrl class
1798 --enable-slider use wxSlider class
1799 --enable-spinbtn use wxSpinButton class
1800 --enable-spinctrl use wxSpinCtrl class
1801 --enable-splitter use wxSplitterWindow class
1802 --enable-statbmp use wxStaticBitmap class
1803 --enable-statbox use wxStaticBox class
1804 --enable-statline use wxStaticLine class
1805 --enable-stattext use wxStaticText class
1806 --enable-statusbar use wxStatusBar class
1807 --enable-tabdialog use wxTabControl class
1808 --enable-taskbaricon use wxTaskBarIcon class
1809 --enable-textctrl use wxTextCtrl class
1810 --enable-togglebtn use wxToggleButton class
1811 --enable-toolbar use wxToolBar class
1812 --enable-tbarnative use native wxToolBar class
1813 --enable-treebook use wxTreebook class
1814 --enable-toolbook use wxToolbook class
1815 --enable-treectrl use wxTreeCtrl class
1816 --enable-tipwindow use wxTipWindow class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-commondlg use all common dialogs
1819 --enable-aboutdlg use wxAboutBox
1820 --enable-choicedlg use wxChoiceDialog
1821 --enable-coldlg use wxColourDialog
1822 --enable-filedlg use wxFileDialog
1823 --enable-finddlg use wxFindReplaceDialog
1824 --enable-fontdlg use wxFontDialog
1825 --enable-dirdlg use wxDirDialog
1826 --enable-msgdlg use wxMessageDialog
1827 --enable-numberdlg use wxNumberEntryDialog
1828 --enable-splash use wxSplashScreen
1829 --enable-textdlg use wxTextDialog
1830 --enable-tipdlg use startup tips
1831 --enable-progressdlg use wxProgressDialog
1832 --enable-wizarddlg use wxWizard
1833 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1834 --enable-miniframe use wxMiniFrame class
1835 --enable-tooltips use wxToolTip class
1836 --enable-splines use spline drawing code
1837 --enable-mousewheel use mousewheel
1838 --enable-validators use wxValidator and derived classes
1839 --enable-busyinfo use wxBusyInfo
1840 --enable-joystick use wxJoystick
1841 --enable-metafiles use wxMetaFile (Win32 only)
1842 --enable-dragimage use wxDragImage
1843 --enable-accessibility enable accessibility support
1844 --enable-palette use wxPalette class
1845 --enable-image use wxImage class
1846 --enable-gif use gif images (GIF file format)
1847 --enable-pcx use pcx images (PCX file format)
1848 --enable-tga use tga images (TGA file format)
1849 --enable-iff use iff images (IFF file format)
1850 --enable-pnm use pnm images (PNM file format)
1851 --enable-xpm use xpm images (XPM file format)
1852 --enable-ico_cur use Windows ICO and CUR formats
1853 --enable-dccache cache temporary wxDC objects (Win32 only)
1854 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1855 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1856 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1857 --enable-wxdib use wxDIB class (Win32 only)
1858 --enable-autoidman use automatic ids management
1859 --disable-largefile omit support for large files
1860 --disable-gtktest do not try to compile and run a test GTK+ program
1861 --disable-gtktest Do not try to compile and run a test GTK program
1862 --disable-sdltest Do not try to compile and run a test SDL program
1863 --enable-omf use OMF object format (OS/2)
1864 --disable-dependency-tracking
1865 don't use dependency tracking even if the compiler
1866 can
1867 --disable-precomp-headers
1868 don't use precompiled headers even if compiler can
1869
1870 Optional Packages:
1871 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1872 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1873 --without-subdirs don't generate makefiles for samples/demos/...
1874 --with-flavour=NAME specify a name to identify this build
1875 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1876 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1877 --with-motif use Motif/Lesstif
1878 --with-mac use Mac OS X
1879 --with-cocoa use Cocoa
1880 --with-wine use Wine
1881 --with-msw use MS-Windows
1882 --with-pm use OS/2 Presentation Manager
1883 --with-mgl use SciTech MGL
1884 --with-directfb use DirectFB
1885 --with-microwin use MicroWindows
1886 --with-x11 use X11
1887 --with-libpng use libpng (PNG image format)
1888 --with-libjpeg use libjpeg (JPEG file format)
1889 --with-libtiff use libtiff (TIFF file format)
1890 --with-libxpm use libxpm (XPM file format)
1891 --with-libiconv use libiconv (character conversion)
1892 --with-libmspack use libmspack (CHM help files loading)
1893 --without-gtkprint don't use GTK printing support
1894 --without-gnomeprint don't use GNOME printing libraries
1895 --with-gnomevfs use GNOME VFS for associating MIME types
1896 --with-hildon use Hildon framework for Nokia 770
1897 --with-opengl use OpenGL (or Mesa)
1898 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1899 --with-sdl use SDL for audio on Unix
1900 --with-regex enable support for wxRegEx class
1901 --with-zlib use zlib for LZW compression
1902 --with-expat enable XML support using expat parser
1903 --with-macosx-sdk=PATH use an OS X SDK at PATH
1904 --with-macosx-version-min=VER build binaries which require at least this OS X version
1905 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1906 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1907 --with-x use the X Window System
1908 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1909 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1910 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1911 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1912 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1913
1914 Some influential environment variables:
1915 CC C compiler command
1916 CFLAGS C compiler flags
1917 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1918 nonstandard directory <lib dir>
1919 LIBS libraries to pass to the linker, e.g. -l<library>
1920 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1921 you have headers in a nonstandard directory <include dir>
1922 CPP C preprocessor
1923 CXX C++ compiler command
1924 CXXFLAGS C++ compiler flags
1925 PKG_CONFIG path to pkg-config utility
1926 DIRECTFB_CFLAGS
1927 C compiler flags for DIRECTFB, overriding pkg-config
1928 DIRECTFB_LIBS
1929 linker flags for DIRECTFB, overriding pkg-config
1930 XMKMF Path to xmkmf, Makefile generator for X Window System
1931 PANGOX_CFLAGS
1932 C compiler flags for PANGOX, overriding pkg-config
1933 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1934 PANGOFT2_CFLAGS
1935 C compiler flags for PANGOFT2, overriding pkg-config
1936 PANGOFT2_LIBS
1937 linker flags for PANGOFT2, overriding pkg-config
1938 PANGOXFT_CFLAGS
1939 C compiler flags for PANGOXFT, overriding pkg-config
1940 PANGOXFT_LIBS
1941 linker flags for PANGOXFT, overriding pkg-config
1942 GTKPRINT_CFLAGS
1943 C compiler flags for GTKPRINT, overriding pkg-config
1944 GTKPRINT_LIBS
1945 linker flags for GTKPRINT, overriding pkg-config
1946 LIBGNOMEPRINTUI_CFLAGS
1947 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 LIBGNOMEPRINTUI_LIBS
1949 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1950 GNOMEVFS_CFLAGS
1951 C compiler flags for GNOMEVFS, overriding pkg-config
1952 GNOMEVFS_LIBS
1953 linker flags for GNOMEVFS, overriding pkg-config
1954 HILDON_CFLAGS
1955 C compiler flags for HILDON, overriding pkg-config
1956 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1957 CAIRO_CFLAGS
1958 C compiler flags for CAIRO, overriding pkg-config
1959 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1960 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1961 GST_LIBS linker flags for GST, overriding pkg-config
1962
1963 Use these variables to override the choices made by `configure' or to help
1964 it to find libraries and programs with nonstandard names/locations.
1965
1966 Report bugs to <wx-dev@lists.wxwidgets.org>.
1967 _ACEOF
1968 ac_status=$?
1969 fi
1970
1971 if test "$ac_init_help" = "recursive"; then
1972 # If there are subdirs, report their specific --help.
1973 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1974 test -d "$ac_dir" || continue
1975 ac_builddir=.
1976
1977 case "$ac_dir" in
1978 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1979 *)
1980 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1981 # A ".." for each directory in $ac_dir_suffix.
1982 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1983 case $ac_top_builddir_sub in
1984 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1985 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1986 esac ;;
1987 esac
1988 ac_abs_top_builddir=$ac_pwd
1989 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1990 # for backward compatibility:
1991 ac_top_builddir=$ac_top_build_prefix
1992
1993 case $srcdir in
1994 .) # We are building in place.
1995 ac_srcdir=.
1996 ac_top_srcdir=$ac_top_builddir_sub
1997 ac_abs_top_srcdir=$ac_pwd ;;
1998 [\\/]* | ?:[\\/]* ) # Absolute name.
1999 ac_srcdir=$srcdir$ac_dir_suffix;
2000 ac_top_srcdir=$srcdir
2001 ac_abs_top_srcdir=$srcdir ;;
2002 *) # Relative name.
2003 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2004 ac_top_srcdir=$ac_top_build_prefix$srcdir
2005 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2006 esac
2007 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2008
2009 cd "$ac_dir" || { ac_status=$?; continue; }
2010 # Check for guested configure.
2011 if test -f "$ac_srcdir/configure.gnu"; then
2012 echo &&
2013 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2014 elif test -f "$ac_srcdir/configure"; then
2015 echo &&
2016 $SHELL "$ac_srcdir/configure" --help=recursive
2017 else
2018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2019 fi || ac_status=$?
2020 cd "$ac_pwd" || { ac_status=$?; break; }
2021 done
2022 fi
2023
2024 test -n "$ac_init_help" && exit $ac_status
2025 if $ac_init_version; then
2026 cat <<\_ACEOF
2027 wxWidgets configure 2.9.0
2028 generated by GNU Autoconf 2.61
2029
2030 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2031 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2032 This configure script is free software; the Free Software Foundation
2033 gives unlimited permission to copy, distribute and modify it.
2034 _ACEOF
2035 exit
2036 fi
2037 cat >config.log <<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2040
2041 It was created by wxWidgets $as_me 2.9.0, which was
2042 generated by GNU Autoconf 2.61. Invocation command line was
2043
2044 $ $0 $@
2045
2046 _ACEOF
2047 exec 5>>config.log
2048 {
2049 cat <<_ASUNAME
2050 ## --------- ##
2051 ## Platform. ##
2052 ## --------- ##
2053
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2059
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2062
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2070
2071 _ASUNAME
2072
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2075 do
2076 IFS=$as_save_IFS
2077 test -z "$as_dir" && as_dir=.
2078 echo "PATH: $as_dir"
2079 done
2080 IFS=$as_save_IFS
2081
2082 } >&5
2083
2084 cat >&5 <<_ACEOF
2085
2086
2087 ## ----------- ##
2088 ## Core tests. ##
2089 ## ----------- ##
2090
2091 _ACEOF
2092
2093
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2099 ac_configure_args=
2100 ac_configure_args0=
2101 ac_configure_args1=
2102 ac_must_keep_next=false
2103 for ac_pass in 1 2
2104 do
2105 for ac_arg
2106 do
2107 case $ac_arg in
2108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2111 continue ;;
2112 *\'*)
2113 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2114 esac
2115 case $ac_pass in
2116 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2117 2)
2118 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2119 if test $ac_must_keep_next = true; then
2120 ac_must_keep_next=false # Got value, back to normal.
2121 else
2122 case $ac_arg in
2123 *=* | --config-cache | -C | -disable-* | --disable-* \
2124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126 | -with-* | --with-* | -without-* | --without-* | --x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2129 esac
2130 ;;
2131 -* ) ac_must_keep_next=true ;;
2132 esac
2133 fi
2134 ac_configure_args="$ac_configure_args '$ac_arg'"
2135 ;;
2136 esac
2137 done
2138 done
2139 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2140 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2141
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2149 {
2150 echo
2151
2152 cat <<\_ASBOX
2153 ## ---------------- ##
2154 ## Cache variables. ##
2155 ## ---------------- ##
2156 _ASBOX
2157 echo
2158 # The following way of writing the cache mishandles newlines in values,
2159 (
2160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161 eval ac_val=\$$ac_var
2162 case $ac_val in #(
2163 *${as_nl}*)
2164 case $ac_var in #(
2165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2167 esac
2168 case $ac_var in #(
2169 _ | IFS | as_nl) ;; #(
2170 *) $as_unset $ac_var ;;
2171 esac ;;
2172 esac
2173 done
2174 (set) 2>&1 |
2175 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176 *${as_nl}ac_space=\ *)
2177 sed -n \
2178 "s/'\''/'\''\\\\'\'''\''/g;
2179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2180 ;; #(
2181 *)
2182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2183 ;;
2184 esac |
2185 sort
2186 )
2187 echo
2188
2189 cat <<\_ASBOX
2190 ## ----------------- ##
2191 ## Output variables. ##
2192 ## ----------------- ##
2193 _ASBOX
2194 echo
2195 for ac_var in $ac_subst_vars
2196 do
2197 eval ac_val=\$$ac_var
2198 case $ac_val in
2199 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200 esac
2201 echo "$ac_var='\''$ac_val'\''"
2202 done | sort
2203 echo
2204
2205 if test -n "$ac_subst_files"; then
2206 cat <<\_ASBOX
2207 ## ------------------- ##
2208 ## File substitutions. ##
2209 ## ------------------- ##
2210 _ASBOX
2211 echo
2212 for ac_var in $ac_subst_files
2213 do
2214 eval ac_val=\$$ac_var
2215 case $ac_val in
2216 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217 esac
2218 echo "$ac_var='\''$ac_val'\''"
2219 done | sort
2220 echo
2221 fi
2222
2223 if test -s confdefs.h; then
2224 cat <<\_ASBOX
2225 ## ----------- ##
2226 ## confdefs.h. ##
2227 ## ----------- ##
2228 _ASBOX
2229 echo
2230 cat confdefs.h
2231 echo
2232 fi
2233 test "$ac_signal" != 0 &&
2234 echo "$as_me: caught signal $ac_signal"
2235 echo "$as_me: exit $exit_status"
2236 } >&5
2237 rm -f core *.core core.conftest.* &&
2238 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239 exit $exit_status
2240 ' 0
2241 for ac_signal in 1 2 13 15; do
2242 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2243 done
2244 ac_signal=0
2245
2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2247 rm -f -r conftest* confdefs.h
2248
2249 # Predefined preprocessor variables.
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2253 _ACEOF
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258 _ACEOF
2259
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 _ACEOF
2264
2265
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2268 _ACEOF
2269
2270
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273 _ACEOF
2274
2275
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer explicitly selected file to automatically selected ones.
2278 if test -n "$CONFIG_SITE"; then
2279 set x "$CONFIG_SITE"
2280 elif test "x$prefix" != xNONE; then
2281 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2282 else
2283 set x "$ac_default_prefix/share/config.site" \
2284 "$ac_default_prefix/etc/config.site"
2285 fi
2286 shift
2287 for ac_site_file
2288 do
2289 if test -r "$ac_site_file"; then
2290 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2291 echo "$as_me: loading site script $ac_site_file" >&6;}
2292 sed 's/^/| /' "$ac_site_file" >&5
2293 . "$ac_site_file"
2294 fi
2295 done
2296
2297 if test -r "$cache_file"; then
2298 # Some versions of bash will fail to source /dev/null (special
2299 # files actually), so we avoid doing that.
2300 if test -f "$cache_file"; then
2301 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2302 echo "$as_me: loading cache $cache_file" >&6;}
2303 case $cache_file in
2304 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2305 *) . "./$cache_file";;
2306 esac
2307 fi
2308 else
2309 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2310 echo "$as_me: creating cache $cache_file" >&6;}
2311 >$cache_file
2312 fi
2313
2314 # Check that the precious variables saved in the cache have kept the same
2315 # value.
2316 ac_cache_corrupted=false
2317 for ac_var in $ac_precious_vars; do
2318 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2319 eval ac_new_set=\$ac_env_${ac_var}_set
2320 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2321 eval ac_new_val=\$ac_env_${ac_var}_value
2322 case $ac_old_set,$ac_new_set in
2323 set,)
2324 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2325 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2326 ac_cache_corrupted=: ;;
2327 ,set)
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2331 ,);;
2332 *)
2333 if test "x$ac_old_val" != "x$ac_new_val"; then
2334 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2335 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2336 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2337 echo "$as_me: former value: $ac_old_val" >&2;}
2338 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2339 echo "$as_me: current value: $ac_new_val" >&2;}
2340 ac_cache_corrupted=:
2341 fi;;
2342 esac
2343 # Pass precious variables to config.status.
2344 if test "$ac_new_set" = set; then
2345 case $ac_new_val in
2346 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347 *) ac_arg=$ac_var=$ac_new_val ;;
2348 esac
2349 case " $ac_configure_args " in
2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2352 esac
2353 fi
2354 done
2355 if $ac_cache_corrupted; then
2356 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2357 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2358 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2359 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2360 { (exit 1); exit 1; }; }
2361 fi
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387 ac_ext=c
2388 ac_cpp='$CPP $CPPFLAGS'
2389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392
2393
2394
2395
2396
2397 ac_aux_dir=
2398 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 if test -f "$ac_dir/install-sh"; then
2400 ac_aux_dir=$ac_dir
2401 ac_install_sh="$ac_aux_dir/install-sh -c"
2402 break
2403 elif test -f "$ac_dir/install.sh"; then
2404 ac_aux_dir=$ac_dir
2405 ac_install_sh="$ac_aux_dir/install.sh -c"
2406 break
2407 elif test -f "$ac_dir/shtool"; then
2408 ac_aux_dir=$ac_dir
2409 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 break
2411 fi
2412 done
2413 if test -z "$ac_aux_dir"; then
2414 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2415 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2416 { (exit 1); exit 1; }; }
2417 fi
2418
2419 # These three variables are undocumented and unsupported,
2420 # and are intended to be withdrawn in a future Autoconf release.
2421 # They can cause serious problems if a builder's source tree is in a directory
2422 # whose full name contains unusual characters.
2423 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2424 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2425 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2426
2427
2428 # Make sure we can run config.sub.
2429 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2430 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2431 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2432 { (exit 1); exit 1; }; }
2433
2434 { echo "$as_me:$LINENO: checking build system type" >&5
2435 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2436 if test "${ac_cv_build+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439 ac_build_alias=$build_alias
2440 test "x$ac_build_alias" = x &&
2441 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2442 test "x$ac_build_alias" = x &&
2443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2445 { (exit 1); exit 1; }; }
2446 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2447 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2448 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2449 { (exit 1); exit 1; }; }
2450
2451 fi
2452 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2453 echo "${ECHO_T}$ac_cv_build" >&6; }
2454 case $ac_cv_build in
2455 *-*-*) ;;
2456 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2457 echo "$as_me: error: invalid value of canonical build" >&2;}
2458 { (exit 1); exit 1; }; };;
2459 esac
2460 build=$ac_cv_build
2461 ac_save_IFS=$IFS; IFS='-'
2462 set x $ac_cv_build
2463 shift
2464 build_cpu=$1
2465 build_vendor=$2
2466 shift; shift
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2469 build_os=$*
2470 IFS=$ac_save_IFS
2471 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2472
2473
2474 { echo "$as_me:$LINENO: checking host system type" >&5
2475 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2476 if test "${ac_cv_host+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 else
2479 if test "x$host_alias" = x; then
2480 ac_cv_host=$ac_cv_build
2481 else
2482 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2483 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2484 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2485 { (exit 1); exit 1; }; }
2486 fi
2487
2488 fi
2489 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2490 echo "${ECHO_T}$ac_cv_host" >&6; }
2491 case $ac_cv_host in
2492 *-*-*) ;;
2493 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2494 echo "$as_me: error: invalid value of canonical host" >&2;}
2495 { (exit 1); exit 1; }; };;
2496 esac
2497 host=$ac_cv_host
2498 ac_save_IFS=$IFS; IFS='-'
2499 set x $ac_cv_host
2500 shift
2501 host_cpu=$1
2502 host_vendor=$2
2503 shift; shift
2504 # Remember, the first character of IFS is used to create $*,
2505 # except with old shells:
2506 host_os=$*
2507 IFS=$ac_save_IFS
2508 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2509
2510
2511 { echo "$as_me:$LINENO: checking target system type" >&5
2512 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2513 if test "${ac_cv_target+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2516 if test "x$target_alias" = x; then
2517 ac_cv_target=$ac_cv_host
2518 else
2519 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2523 fi
2524
2525 fi
2526 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2527 echo "${ECHO_T}$ac_cv_target" >&6; }
2528 case $ac_cv_target in
2529 *-*-*) ;;
2530 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2531 echo "$as_me: error: invalid value of canonical target" >&2;}
2532 { (exit 1); exit 1; }; };;
2533 esac
2534 target=$ac_cv_target
2535 ac_save_IFS=$IFS; IFS='-'
2536 set x $ac_cv_target
2537 shift
2538 target_cpu=$1
2539 target_vendor=$2
2540 shift; shift
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2543 target_os=$*
2544 IFS=$ac_save_IFS
2545 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2546
2547
2548 # The aliases save the names the user supplied, while $host etc.
2549 # will get canonicalized.
2550 test -n "$target_alias" &&
2551 test "$program_prefix$program_suffix$program_transform_name" = \
2552 NONENONEs,x,x, &&
2553 program_prefix=${target_alias}-
2554
2555
2556
2557 wx_major_version_number=2
2558 wx_minor_version_number=9
2559 wx_release_number=0
2560 wx_subrelease_number=0
2561
2562 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2563 WX_VERSION=$WX_RELEASE.$wx_release_number
2564 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2565
2566 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2567
2568
2569 wx_top_builddir="`pwd`"
2570
2571
2572
2573
2574 USE_UNIX=1
2575 USE_OS2=0
2576 USE_WIN32=0
2577 USE_DOS=0
2578 USE_BEOS=0
2579 USE_MAC=0
2580
2581 USE_AIX=
2582 USE_BSD= USE_DARWIN= USE_FREEBSD=
2583 USE_GNU= USE_HPUX=
2584 USE_LINUX=
2585 USE_NETBSD=
2586 USE_OPENBSD=
2587 USE_OSF= USE_SGI=
2588 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2589 USE_ULTRIX=
2590 USE_UNIXWARE=
2591
2592 USE_ALPHA=
2593
2594 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2595
2596 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2597
2598 DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_wxUSE_GTK=0
2600 DEFAULT_wxUSE_MAC=0
2601 DEFAULT_wxUSE_MGL=0
2602 DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_wxUSE_MSW=0
2605 DEFAULT_wxUSE_PM=0
2606 DEFAULT_wxUSE_X11=0
2607 DEFAULT_wxUSE_DFB=0
2608
2609 DEFAULT_DEFAULT_wxUSE_COCOA=0
2610 DEFAULT_DEFAULT_wxUSE_GTK=0
2611 DEFAULT_DEFAULT_wxUSE_MAC=0
2612 DEFAULT_DEFAULT_wxUSE_MGL=0
2613 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2615 DEFAULT_DEFAULT_wxUSE_MSW=0
2616 DEFAULT_DEFAULT_wxUSE_PM=0
2617 DEFAULT_DEFAULT_wxUSE_X11=0
2618 DEFAULT_DEFAULT_wxUSE_DFB=0
2619
2620 PROGRAM_EXT=
2621 SO_SUFFIX=so
2622 SAMPLES_RPATH_FLAG=
2623 SAMPLES_RPATH_POSTLINK=
2624
2625 DEFAULT_STD_FLAG=yes
2626
2627 case "${host}" in
2628 *-hp-hpux* )
2629 USE_HPUX=1
2630 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2632 SO_SUFFIX=sl
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __HPUX__ 1
2635 _ACEOF
2636
2637
2638 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2639 ;;
2640 *-*-linux* )
2641 USE_LINUX=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __LINUX__ 1
2644 _ACEOF
2645
2646 TMP=`uname -m`
2647 if test "x$TMP" = "xalpha"; then
2648 USE_ALPHA=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __ALPHA__ 1
2651 _ACEOF
2652
2653 fi
2654 DEFAULT_DEFAULT_wxUSE_GTK=1
2655 ;;
2656 *-*-gnu* | *-*-k*bsd*-gnu )
2657 USE_GNU=1
2658 TMP=`uname -m`
2659 if test "x$TMP" = "xalpha"; then
2660 USE_ALPHA=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __ALPHA__ 1
2663 _ACEOF
2664
2665 fi
2666 DEFAULT_DEFAULT_wxUSE_GTK=1
2667 ;;
2668 *-*-irix5* | *-*-irix6* )
2669 USE_SGI=1
2670 USE_SVR4=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SGI__ 1
2673 _ACEOF
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SVR4__ 1
2677 _ACEOF
2678
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 ;;
2681 *-*-solaris2* )
2682 USE_SUN=1
2683 USE_SOLARIS=1
2684 USE_SVR4=1
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SUN__ 1
2687 _ACEOF
2688
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SOLARIS__ 1
2691 _ACEOF
2692
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SVR4__ 1
2695 _ACEOF
2696
2697 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2698 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2699 ;;
2700 *-*-sunos4* )
2701 USE_SUN=1
2702 USE_SUNOS=1
2703 USE_BSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SUN__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __SUNOS__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __BSD__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2717 ;;
2718 *-*-freebsd*)
2719 USE_BSD=1
2720 USE_FREEBSD=1
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __FREEBSD__ 1
2723 _ACEOF
2724
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __BSD__ 1
2727 _ACEOF
2728
2729 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 ;;
2731 *-*-openbsd*|*-*-mirbsd*)
2732 USE_BSD=1
2733 USE_OPENBSD=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __OPENBSD__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __BSD__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_GTK=1
2743 ;;
2744 *-*-netbsd*)
2745 USE_BSD=1
2746 USE_NETBSD=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __NETBSD__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __BSD__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2756 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2757
2758 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2759 ;;
2760 *-*-osf* )
2761 USE_ALPHA=1
2762 USE_OSF=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __ALPHA__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __OSF__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2773 ;;
2774 *-*-dgux5* )
2775 USE_ALPHA=1
2776 USE_SVR4=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __ALPHA__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SVR4__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2786 ;;
2787 *-*-sysv5* )
2788 USE_SYSV=1
2789 USE_SVR4=1
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SYSV__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SVR4__ 1
2796 _ACEOF
2797
2798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2799 ;;
2800 *-*-aix* )
2801 USE_AIX=1
2802 USE_SYSV=1
2803 USE_SVR4=1
2804 SO_SUFFIX=a
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __AIX__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SYSV__ 1
2811 _ACEOF
2812
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __SVR4__ 1
2815 _ACEOF
2816
2817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 ;;
2819
2820 *-*-*UnixWare*)
2821 USE_SYSV=1
2822 USE_SVR4=1
2823 USE_UNIXWARE=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __UNIXWARE__ 1
2826 _ACEOF
2827
2828 ;;
2829
2830 *-*-cygwin* | *-*-mingw32* )
2831 SO_SUFFIX=dll
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MSW=1
2834 ;;
2835
2836 *-pc-msdosdjgpp )
2837 USE_UNIX=0
2838 USE_DOS=1
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __DOS__ 1
2841 _ACEOF
2842
2843 PROGRAM_EXT=".exe"
2844 DEFAULT_DEFAULT_wxUSE_MGL=1
2845 ;;
2846
2847 *-pc-os2_emx | *-pc-os2-emx )
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __EMX__ 1
2850 _ACEOF
2851
2852 USE_OS2=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __OS2__ 1
2855 _ACEOF
2856
2857 PROGRAM_EXT=".exe"
2858 DEFAULT_DEFAULT_wxUSE_PM=1
2859 CXX=gcc
2860 LDFLAGS="$LDFLAGS -Zcrtdll"
2861 ac_executable_extensions=".exe"
2862 export ac_executable_extensions
2863 ac_save_IFS="$IFS"
2864 IFS='\\'
2865 ac_TEMP_PATH=
2866 for ac_dir in $PATH; do
2867 IFS=$ac_save_IFS
2868 if test -z "$ac_TEMP_PATH"; then
2869 ac_TEMP_PATH="$ac_dir"
2870 else
2871 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2872 fi
2873 done
2874 export PATH="$ac_TEMP_PATH"
2875 unset ac_TEMP_PATH
2876 DEFAULT_STD_FLAG=no
2877 ;;
2878
2879 *-*-darwin* )
2880 USE_BSD=1
2881 USE_DARWIN=1
2882 SO_SUFFIX=dylib
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __BSD__ 1
2885 _ACEOF
2886
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __DARWIN__ 1
2889 _ACEOF
2890
2891 cat >>confdefs.h <<\_ACEOF
2892 #define TARGET_CARBON 1
2893 _ACEOF
2894
2895 DEFAULT_DEFAULT_wxUSE_MAC=1
2896 DEFAULT_STD_FLAG=no
2897 ;;
2898 powerpc-apple-macos* )
2899 USE_UNIX=0
2900 ac_cv_c_bigendian=yes
2901 SO_SUFFIX=shlib
2902 DEFAULT_DEFAULT_wxUSE_MAC=1
2903 DEFAULT_STD_FLAG=no
2904 ;;
2905
2906 *-*-beos* )
2907 USE_BEOS=1
2908 cat >>confdefs.h <<\_ACEOF
2909 #define __BEOS__ 1
2910 _ACEOF
2911
2912 ;;
2913
2914 *)
2915 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2916 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2917 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2918 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2919
2920 DEFAULT_DEFAULT_wxUSE_X11=1
2921 DEFAULT_wxUSE_SHARED=no
2922 esac
2923
2924
2925
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2927
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2930
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_OPENGL=no
2937
2938 DEFAULT_wxUSE_ACCESSIBILITY=no
2939 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2940 DEFAULT_wxUSE_IPV6=no
2941 DEFAULT_wxUSE_MEDIACTRL=no
2942 DEFAULT_wxUSE_TAB_DIALOG=no
2943 DEFAULT_wxUSE_GSTREAMER8=no
2944
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951
2952 DEFAULT_wxUSE_GTK2=yes
2953
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2955
2956
2957
2958
2959
2960 enablestring=disable
2961 defaultval=
2962 if test -z "$defaultval"; then
2963 if test x"$enablestring" = xdisable; then
2964 defaultval=yes
2965 else
2966 defaultval=no
2967 fi
2968 fi
2969
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval=$enable_gui;
2975 if test "$enableval" = yes; then
2976 wx_cv_use_gui='wxUSE_GUI=yes'
2977 else
2978 wx_cv_use_gui='wxUSE_GUI=no'
2979 fi
2980
2981 else
2982
2983 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2984
2985 fi
2986
2987
2988 eval "$wx_cv_use_gui"
2989
2990 if test x"$enablestring" = xdisable; then
2991 if test $wxUSE_GUI = yes; then
2992 result=no
2993 else
2994 result=yes
2995 fi
2996 else
2997 result=$wxUSE_GUI
2998 fi
2999
3000 { echo "$as_me:$LINENO: result: $result" >&5
3001 echo "${ECHO_T}$result" >&6; }
3002
3003
3004 enablestring=
3005 defaultval=
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3008 defaultval=yes
3009 else
3010 defaultval=no
3011 fi
3012 fi
3013
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3016 # Check whether --enable-monolithic was given.
3017 if test "${enable_monolithic+set}" = set; then
3018 enableval=$enable_monolithic;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3021 else
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3023 fi
3024
3025 else
3026
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3028
3029 fi
3030
3031
3032 eval "$wx_cv_use_monolithic"
3033
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_MONOLITHIC = yes; then
3036 result=no
3037 else
3038 result=yes
3039 fi
3040 else
3041 result=$wxUSE_MONOLITHIC
3042 fi
3043
3044 { echo "$as_me:$LINENO: result: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3046
3047
3048 enablestring=
3049 defaultval=
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3052 defaultval=yes
3053 else
3054 defaultval=no
3055 fi
3056 fi
3057
3058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3059 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3060 # Check whether --enable-plugins was given.
3061 if test "${enable_plugins+set}" = set; then
3062 enableval=$enable_plugins;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3065 else
3066 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3067 fi
3068
3069 else
3070
3071 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3072
3073 fi
3074
3075
3076 eval "$wx_cv_use_plugins"
3077
3078 if test x"$enablestring" = xdisable; then
3079 if test $wxUSE_PLUGINS = yes; then
3080 result=no
3081 else
3082 result=yes
3083 fi
3084 else
3085 result=$wxUSE_PLUGINS
3086 fi
3087
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3090
3091
3092 withstring=without
3093 defaultval=$wxUSE_ALL_FEATURES
3094 if test -z "$defaultval"; then
3095 if test x"$withstring" = xwithout; then
3096 defaultval=yes
3097 else
3098 defaultval=no
3099 fi
3100 fi
3101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3103
3104 # Check whether --with-subdirs was given.
3105 if test "${with_subdirs+set}" = set; then
3106 withval=$with_subdirs;
3107 if test "$withval" = yes; then
3108 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3109 else
3110 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3111 fi
3112
3113 else
3114
3115 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3116
3117 fi
3118
3119
3120 eval "$wx_cv_use_subdirs"
3121
3122 if test x"$withstring" = xwithout; then
3123 if test $wxWITH_SUBDIRS = yes; then
3124 result=no
3125 else
3126 result=yes
3127 fi
3128 else
3129 result=$wxWITH_SUBDIRS
3130 fi
3131
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3134
3135
3136 # Check whether --with-flavour was given.
3137 if test "${with_flavour+set}" = set; then
3138 withval=$with_flavour; WX_FLAVOUR="$withval"
3139 fi
3140
3141
3142 enablestring=
3143 defaultval=
3144 if test -z "$defaultval"; then
3145 if test x"$enablestring" = xdisable; then
3146 defaultval=yes
3147 else
3148 defaultval=no
3149 fi
3150 fi
3151
3152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3153 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3154 # Check whether --enable-official_build was given.
3155 if test "${enable_official_build+set}" = set; then
3156 enableval=$enable_official_build;
3157 if test "$enableval" = yes; then
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3159 else
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3161 fi
3162
3163 else
3164
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3166
3167 fi
3168
3169
3170 eval "$wx_cv_use_official_build"
3171
3172 if test x"$enablestring" = xdisable; then
3173 if test $wxUSE_OFFICIAL_BUILD = yes; then
3174 result=no
3175 else
3176 result=yes
3177 fi
3178 else
3179 result=$wxUSE_OFFICIAL_BUILD
3180 fi
3181
3182 { echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3184
3185 # Check whether --enable-vendor was given.
3186 if test "${enable_vendor+set}" = set; then
3187 enableval=$enable_vendor; VENDOR="$enableval"
3188 fi
3189
3190 if test "x$VENDOR" = "x"; then
3191 VENDOR="custom"
3192 fi
3193
3194
3195 enablestring=disable
3196 defaultval=
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3199 defaultval=yes
3200 else
3201 defaultval=no
3202 fi
3203 fi
3204
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3207 # Check whether --enable-all-features was given.
3208 if test "${enable_all_features+set}" = set; then
3209 enableval=$enable_all_features;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3212 else
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3214 fi
3215
3216 else
3217
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3219
3220 fi
3221
3222
3223 eval "$wx_cv_use_all_features"
3224
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_ALL_FEATURES = yes; then
3227 result=no
3228 else
3229 result=yes
3230 fi
3231 else
3232 result=$wxUSE_ALL_FEATURES
3233 fi
3234
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3237
3238
3239
3240 if test "$wxUSE_GUI" = "yes"; then
3241
3242
3243 enablestring=
3244 defaultval=
3245 if test -z "$defaultval"; then
3246 if test x"$enablestring" = xdisable; then
3247 defaultval=yes
3248 else
3249 defaultval=no
3250 fi
3251 fi
3252
3253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3254 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3255 # Check whether --enable-universal was given.
3256 if test "${enable_universal+set}" = set; then
3257 enableval=$enable_universal;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3260 else
3261 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3262 fi
3263
3264 else
3265
3266 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3267
3268 fi
3269
3270
3271 eval "$wx_cv_use_universal"
3272
3273 if test x"$enablestring" = xdisable; then
3274 if test $wxUSE_UNIVERSAL = yes; then
3275 result=no
3276 else
3277 result=yes
3278 fi
3279 else
3280 result=$wxUSE_UNIVERSAL
3281 fi
3282
3283 { echo "$as_me:$LINENO: result: $result" >&5
3284 echo "${ECHO_T}$result" >&6; }
3285
3286 if test "$wxUSE_UNIVERSAL" = "yes"; then
3287
3288 # Check whether --with-themes was given.
3289 if test "${with_themes+set}" = set; then
3290 withval=$with_themes; wxUNIV_THEMES="$withval"
3291 fi
3292
3293 fi
3294
3295
3296 # Check whether --with-gtk was given.
3297 if test "${with_gtk+set}" = set; then
3298 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3299 fi
3300
3301
3302 # Check whether --with-motif was given.
3303 if test "${with_motif+set}" = set; then
3304 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=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_MAC="$withval" CACHE_MAC=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 # In Wine, we need to default to MSW, not GTK or MOTIF
3461 if test "$wxUSE_WINE" = "yes"; then
3462 DEFAULT_DEFAULT_wxUSE_GTK=0
3463 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3464 DEFAULT_DEFAULT_wxUSE_MSW=1
3465 wxUSE_SHARED=no
3466 CC=${CC:-winegcc}
3467 CXX=${CXX:-wineg++}
3468 fi
3469
3470
3471 if test "$wxUSE_GUI" = "yes"; then
3472
3473 if test "$USE_BEOS" = 1; then
3474 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3475 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3476 { (exit 1); exit 1; }; }
3477 fi
3478
3479 if test "$TOOLKIT_GIVEN" = 1; then
3480 for toolkit in $ALL_TOOLKITS; do
3481 var=wxUSE_$toolkit
3482 eval "value=\$${var}"
3483 if test "x$value" = "xno"; then
3484 eval "$var=0"
3485 elif test "x$value" != "x"; then
3486 eval "$var=1"
3487 fi
3488
3489 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3490 eval "wx${toolkit}_VERSION=$value"
3491 fi
3492 done
3493 else
3494 for toolkit in $ALL_TOOLKITS; do
3495 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3496 eval "wxUSE_$toolkit=\$${var}"
3497 done
3498 fi
3499
3500 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3501 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3502 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3503
3504 case "${host}" in
3505 *-pc-os2_emx | *-pc-os2-emx )
3506 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3507 esac
3508
3509 case "$NUM_TOOLKITS" in
3510 1)
3511 ;;
3512 0)
3513 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3514 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3515 { (exit 1); exit 1; }; }
3516 ;;
3517 *)
3518 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3519 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3520 { (exit 1); exit 1; }; }
3521 esac
3522
3523 # to be removed when --disable-gtk2 isn't needed
3524 if test "x$wxUSE_GTK2" = "xyes"; then
3525 wxGTK_VERSION=2
3526 elif test "x$wxUSE_GTK2" = "xno"; then
3527 wxGTK_VERSION=1
3528 fi
3529
3530 for toolkit in $ALL_TOOLKITS; do
3531 var=wxUSE_$toolkit
3532 eval "value=\$${var}"
3533 if test "$value" = 1; then
3534 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3535 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3536 echo "${ECHO_T}$toolkit_echo" >&6; }
3537 fi
3538 done
3539 else
3540 if test "x$host_alias" != "x"; then
3541 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3542 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3543 else
3544 { echo "$as_me:$LINENO: result: base only" >&5
3545 echo "${ECHO_T}base only" >&6; }
3546 fi
3547 fi
3548
3549
3550
3551 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3552 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3553
3554 # Check whether --with-libpng was given.
3555 if test "${with_libpng+set}" = set; then
3556 withval=$with_libpng;
3557 if test "$withval" = yes; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3559 elif test "$withval" = no; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3561 elif test "$withval" = sys; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3563 elif test "$withval" = builtin; then
3564 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3565 else
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3569 fi
3570
3571 else
3572
3573 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3574
3575 fi
3576
3577
3578 eval "$wx_cv_use_libpng"
3579
3580 if test "$wxUSE_LIBPNG" = yes; then
3581 { echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6; }
3583 elif test "$wxUSE_LIBPNG" = no; then
3584 { echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6; }
3586 elif test "$wxUSE_LIBPNG" = sys; then
3587 { echo "$as_me:$LINENO: result: system version" >&5
3588 echo "${ECHO_T}system version" >&6; }
3589 elif test "$wxUSE_LIBPNG" = builtin; then
3590 { echo "$as_me:$LINENO: result: builtin version" >&5
3591 echo "${ECHO_T}builtin version" >&6; }
3592 else
3593 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3594 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3595 { (exit 1); exit 1; }; }
3596 fi
3597
3598
3599 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3600 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3601
3602 # Check whether --with-libjpeg was given.
3603 if test "${with_libjpeg+set}" = set; then
3604 withval=$with_libjpeg;
3605 if test "$withval" = yes; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3607 elif test "$withval" = no; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3609 elif test "$withval" = sys; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3611 elif test "$withval" = builtin; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3613 else
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3617 fi
3618
3619 else
3620
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3622
3623 fi
3624
3625
3626 eval "$wx_cv_use_libjpeg"
3627
3628 if test "$wxUSE_LIBJPEG" = yes; then
3629 { echo "$as_me:$LINENO: result: yes" >&5
3630 echo "${ECHO_T}yes" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = no; then
3632 { echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = sys; then
3635 { echo "$as_me:$LINENO: result: system version" >&5
3636 echo "${ECHO_T}system version" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = builtin; then
3638 { echo "$as_me:$LINENO: result: builtin version" >&5
3639 echo "${ECHO_T}builtin version" >&6; }
3640 else
3641 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3642 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3643 { (exit 1); exit 1; }; }
3644 fi
3645
3646
3647 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3648 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3649
3650 # Check whether --with-libtiff was given.
3651 if test "${with_libtiff+set}" = set; then
3652 withval=$with_libtiff;
3653 if test "$withval" = yes; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3655 elif test "$withval" = no; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3657 elif test "$withval" = sys; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3659 elif test "$withval" = builtin; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3661 else
3662 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3663 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3665 fi
3666
3667 else
3668
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3670
3671 fi
3672
3673
3674 eval "$wx_cv_use_libtiff"
3675
3676 if test "$wxUSE_LIBTIFF" = yes; then
3677 { echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = no; then
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = sys; then
3683 { echo "$as_me:$LINENO: result: system version" >&5
3684 echo "${ECHO_T}system version" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = builtin; then
3686 { echo "$as_me:$LINENO: result: builtin version" >&5
3687 echo "${ECHO_T}builtin version" >&6; }
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694
3695 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3696 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3697
3698 # Check whether --with-libxpm was given.
3699 if test "${with_libxpm+set}" = set; then
3700 withval=$with_libxpm;
3701 if test "$withval" = yes; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3703 elif test "$withval" = no; then
3704 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3705 elif test "$withval" = sys; then
3706 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3707 elif test "$withval" = builtin; then
3708 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3709 else
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3713 fi
3714
3715 else
3716
3717 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3718
3719 fi
3720
3721
3722 eval "$wx_cv_use_libxpm"
3723
3724 if test "$wxUSE_LIBXPM" = yes; then
3725 { echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6; }
3727 elif test "$wxUSE_LIBXPM" = no; then
3728 { echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6; }
3730 elif test "$wxUSE_LIBXPM" = sys; then
3731 { echo "$as_me:$LINENO: result: system version" >&5
3732 echo "${ECHO_T}system version" >&6; }
3733 elif test "$wxUSE_LIBXPM" = builtin; then
3734 { echo "$as_me:$LINENO: result: builtin version" >&5
3735 echo "${ECHO_T}builtin version" >&6; }
3736 else
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3740 fi
3741
3742
3743 withstring=
3744 defaultval=$wxUSE_ALL_FEATURES
3745 if test -z "$defaultval"; then
3746 if test x"$withstring" = xwithout; then
3747 defaultval=yes
3748 else
3749 defaultval=no
3750 fi
3751 fi
3752 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3753 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3754
3755 # Check whether --with-libiconv was given.
3756 if test "${with_libiconv+set}" = set; then
3757 withval=$with_libiconv;
3758 if test "$withval" = yes; then
3759 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3760 else
3761 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3762 fi
3763
3764 else
3765
3766 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3767
3768 fi
3769
3770
3771 eval "$wx_cv_use_libiconv"
3772
3773 if test x"$withstring" = xwithout; then
3774 if test $wxUSE_LIBICONV = yes; then
3775 result=no
3776 else
3777 result=yes
3778 fi
3779 else
3780 result=$wxUSE_LIBICONV
3781 fi
3782
3783 { echo "$as_me:$LINENO: result: $result" >&5
3784 echo "${ECHO_T}$result" >&6; }
3785
3786
3787 withstring=
3788 defaultval=$wxUSE_ALL_FEATURES
3789 if test -z "$defaultval"; then
3790 if test x"$withstring" = xwithout; then
3791 defaultval=yes
3792 else
3793 defaultval=no
3794 fi
3795 fi
3796 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3797 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3798
3799 # Check whether --with-libmspack was given.
3800 if test "${with_libmspack+set}" = set; then
3801 withval=$with_libmspack;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3804 else
3805 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3806 fi
3807
3808 else
3809
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3811
3812 fi
3813
3814
3815 eval "$wx_cv_use_libmspack"
3816
3817 if test x"$withstring" = xwithout; then
3818 if test $wxUSE_LIBMSPACK = yes; then
3819 result=no
3820 else
3821 result=yes
3822 fi
3823 else
3824 result=$wxUSE_LIBMSPACK
3825 fi
3826
3827 { echo "$as_me:$LINENO: result: $result" >&5
3828 echo "${ECHO_T}$result" >&6; }
3829
3830
3831 withstring=without
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3835 defaultval=yes
3836 else
3837 defaultval=no
3838 fi
3839 fi
3840 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3841 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3842
3843 # Check whether --with-gtkprint was given.
3844 if test "${with_gtkprint+set}" = set; then
3845 withval=$with_gtkprint;
3846 if test "$withval" = yes; then
3847 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3848 else
3849 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3850 fi
3851
3852 else
3853
3854 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3855
3856 fi
3857
3858
3859 eval "$wx_cv_use_gtkprint"
3860
3861 if test x"$withstring" = xwithout; then
3862 if test $wxUSE_GTKPRINT = yes; then
3863 result=no
3864 else
3865 result=yes
3866 fi
3867 else
3868 result=$wxUSE_GTKPRINT
3869 fi
3870
3871 { echo "$as_me:$LINENO: result: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3873
3874
3875 withstring=without
3876 defaultval=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x"$withstring" = xwithout; then
3879 defaultval=yes
3880 else
3881 defaultval=no
3882 fi
3883 fi
3884 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3885 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3886
3887 # Check whether --with-gnomeprint was given.
3888 if test "${with_gnomeprint+set}" = set; then
3889 withval=$with_gnomeprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3892 else
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3894 fi
3895
3896 else
3897
3898 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3899
3900 fi
3901
3902
3903 eval "$wx_cv_use_gnomeprint"
3904
3905 if test x"$withstring" = xwithout; then
3906 if test $wxUSE_LIBGNOMEPRINT = yes; then
3907 result=no
3908 else
3909 result=yes
3910 fi
3911 else
3912 result=$wxUSE_LIBGNOMEPRINT
3913 fi
3914
3915 { echo "$as_me:$LINENO: result: $result" >&5
3916 echo "${ECHO_T}$result" >&6; }
3917
3918
3919 withstring=
3920 defaultval=$wxUSE_ALL_FEATURES
3921 if test -z "$defaultval"; then
3922 if test x"$withstring" = xwithout; then
3923 defaultval=yes
3924 else
3925 defaultval=no
3926 fi
3927 fi
3928 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3929 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3930
3931 # Check whether --with-gnomevfs was given.
3932 if test "${with_gnomevfs+set}" = set; then
3933 withval=$with_gnomevfs;
3934 if test "$withval" = yes; then
3935 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3936 else
3937 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3938 fi
3939
3940 else
3941
3942 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3943
3944 fi
3945
3946
3947 eval "$wx_cv_use_gnomevfs"
3948
3949 if test x"$withstring" = xwithout; then
3950 if test $wxUSE_LIBGNOMEVFS = yes; then
3951 result=no
3952 else
3953 result=yes
3954 fi
3955 else
3956 result=$wxUSE_LIBGNOMEVFS
3957 fi
3958
3959 { echo "$as_me:$LINENO: result: $result" >&5
3960 echo "${ECHO_T}$result" >&6; }
3961
3962
3963 withstring=
3964 defaultval=$wxUSE_ALL_FEATURES
3965 if test -z "$defaultval"; then
3966 if test x"$withstring" = xwithout; then
3967 defaultval=yes
3968 else
3969 defaultval=no
3970 fi
3971 fi
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3974
3975 # Check whether --with-hildon was given.
3976 if test "${with_hildon+set}" = set; then
3977 withval=$with_hildon;
3978 if test "$withval" = yes; then
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3980 else
3981 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3982 fi
3983
3984 else
3985
3986 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3987
3988 fi
3989
3990
3991 eval "$wx_cv_use_hildon"
3992
3993 if test x"$withstring" = xwithout; then
3994 if test $wxUSE_LIBHILDON = yes; then
3995 result=no
3996 else
3997 result=yes
3998 fi
3999 else
4000 result=$wxUSE_LIBHILDON
4001 fi
4002
4003 { echo "$as_me:$LINENO: result: $result" >&5
4004 echo "${ECHO_T}$result" >&6; }
4005
4006
4007 withstring=
4008 defaultval=$wxUSE_ALL_FEATURES
4009 if test -z "$defaultval"; then
4010 if test x"$withstring" = xwithout; then
4011 defaultval=yes
4012 else
4013 defaultval=no
4014 fi
4015 fi
4016 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4017 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4018
4019 # Check whether --with-opengl was given.
4020 if test "${with_opengl+set}" = set; then
4021 withval=$with_opengl;
4022 if test "$withval" = yes; then
4023 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4024 else
4025 wx_cv_use_opengl='wxUSE_OPENGL=no'
4026 fi
4027
4028 else
4029
4030 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4031
4032 fi
4033
4034
4035 eval "$wx_cv_use_opengl"
4036
4037 if test x"$withstring" = xwithout; then
4038 if test $wxUSE_OPENGL = yes; then
4039 result=no
4040 else
4041 result=yes
4042 fi
4043 else
4044 result=$wxUSE_OPENGL
4045 fi
4046
4047 { echo "$as_me:$LINENO: result: $result" >&5
4048 echo "${ECHO_T}$result" >&6; }
4049
4050
4051 fi
4052
4053
4054 withstring=
4055 defaultval=$wxUSE_ALL_FEATURES
4056 if test -z "$defaultval"; then
4057 if test x"$withstring" = xwithout; then
4058 defaultval=yes
4059 else
4060 defaultval=no
4061 fi
4062 fi
4063 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4064 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4065
4066 # Check whether --with-dmalloc was given.
4067 if test "${with_dmalloc+set}" = set; then
4068 withval=$with_dmalloc;
4069 if test "$withval" = yes; then
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4071 else
4072 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4073 fi
4074
4075 else
4076
4077 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4078
4079 fi
4080
4081
4082 eval "$wx_cv_use_dmalloc"
4083
4084 if test x"$withstring" = xwithout; then
4085 if test $wxUSE_DMALLOC = yes; then
4086 result=no
4087 else
4088 result=yes
4089 fi
4090 else
4091 result=$wxUSE_DMALLOC
4092 fi
4093
4094 { echo "$as_me:$LINENO: result: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4096
4097
4098 withstring=
4099 defaultval=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x"$withstring" = xwithout; then
4102 defaultval=yes
4103 else
4104 defaultval=no
4105 fi
4106 fi
4107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4108 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4109
4110 # Check whether --with-sdl was given.
4111 if test "${with_sdl+set}" = set; then
4112 withval=$with_sdl;
4113 if test "$withval" = yes; then
4114 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4115 else
4116 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4117 fi
4118
4119 else
4120
4121 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4122
4123 fi
4124
4125
4126 eval "$wx_cv_use_sdl"
4127
4128 if test x"$withstring" = xwithout; then
4129 if test $wxUSE_LIBSDL = yes; then
4130 result=no
4131 else
4132 result=yes
4133 fi
4134 else
4135 result=$wxUSE_LIBSDL
4136 fi
4137
4138 { echo "$as_me:$LINENO: result: $result" >&5
4139 echo "${ECHO_T}$result" >&6; }
4140
4141
4142 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4143 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4144
4145 # Check whether --with-regex was given.
4146 if test "${with_regex+set}" = set; then
4147 withval=$with_regex;
4148 if test "$withval" = yes; then
4149 wx_cv_use_regex='wxUSE_REGEX=yes'
4150 elif test "$withval" = no; then
4151 wx_cv_use_regex='wxUSE_REGEX=no'
4152 elif test "$withval" = sys; then
4153 wx_cv_use_regex='wxUSE_REGEX=sys'
4154 elif test "$withval" = builtin; then
4155 wx_cv_use_regex='wxUSE_REGEX=builtin'
4156 else
4157 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4158 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4159 { (exit 1); exit 1; }; }
4160 fi
4161
4162 else
4163
4164 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4165
4166 fi
4167
4168
4169 eval "$wx_cv_use_regex"
4170
4171 if test "$wxUSE_REGEX" = yes; then
4172 { echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6; }
4174 elif test "$wxUSE_REGEX" = no; then
4175 { echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6; }
4177 elif test "$wxUSE_REGEX" = sys; then
4178 { echo "$as_me:$LINENO: result: system version" >&5
4179 echo "${ECHO_T}system version" >&6; }
4180 elif test "$wxUSE_REGEX" = builtin; then
4181 { echo "$as_me:$LINENO: result: builtin version" >&5
4182 echo "${ECHO_T}builtin version" >&6; }
4183 else
4184 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4185 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4186 { (exit 1); exit 1; }; }
4187 fi
4188
4189
4190 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4191 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4192
4193 # Check whether --with-zlib was given.
4194 if test "${with_zlib+set}" = set; then
4195 withval=$with_zlib;
4196 if test "$withval" = yes; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4198 elif test "$withval" = no; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=no'
4200 elif test "$withval" = sys; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4202 elif test "$withval" = builtin; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4204 else
4205 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4206 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4207 { (exit 1); exit 1; }; }
4208 fi
4209
4210 else
4211
4212 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4213
4214 fi
4215
4216
4217 eval "$wx_cv_use_zlib"
4218
4219 if test "$wxUSE_ZLIB" = yes; then
4220 { echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6; }
4222 elif test "$wxUSE_ZLIB" = no; then
4223 { echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6; }
4225 elif test "$wxUSE_ZLIB" = sys; then
4226 { echo "$as_me:$LINENO: result: system version" >&5
4227 echo "${ECHO_T}system version" >&6; }
4228 elif test "$wxUSE_ZLIB" = builtin; then
4229 { echo "$as_me:$LINENO: result: builtin version" >&5
4230 echo "${ECHO_T}builtin version" >&6; }
4231 else
4232 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4233 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4234 { (exit 1); exit 1; }; }
4235 fi
4236
4237
4238 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4239 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4240
4241 # Check whether --with-expat was given.
4242 if test "${with_expat+set}" = set; then
4243 withval=$with_expat;
4244 if test "$withval" = yes; then
4245 wx_cv_use_expat='wxUSE_EXPAT=yes'
4246 elif test "$withval" = no; then
4247 wx_cv_use_expat='wxUSE_EXPAT=no'
4248 elif test "$withval" = sys; then
4249 wx_cv_use_expat='wxUSE_EXPAT=sys'
4250 elif test "$withval" = builtin; then
4251 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4252 else
4253 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4254 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4255 { (exit 1); exit 1; }; }
4256 fi
4257
4258 else
4259
4260 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4261
4262 fi
4263
4264
4265 eval "$wx_cv_use_expat"
4266
4267 if test "$wxUSE_EXPAT" = yes; then
4268 { echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6; }
4270 elif test "$wxUSE_EXPAT" = no; then
4271 { echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6; }
4273 elif test "$wxUSE_EXPAT" = sys; then
4274 { echo "$as_me:$LINENO: result: system version" >&5
4275 echo "${ECHO_T}system version" >&6; }
4276 elif test "$wxUSE_EXPAT" = builtin; then
4277 { echo "$as_me:$LINENO: result: builtin version" >&5
4278 echo "${ECHO_T}builtin version" >&6; }
4279 else
4280 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4281 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4282 { (exit 1); exit 1; }; }
4283 fi
4284
4285
4286 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4287 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4288
4289 # Check whether --with-macosx-sdk was given.
4290 if test "${with_macosx_sdk+set}" = set; then
4291 withval=$with_macosx_sdk;
4292 wxUSE_MACOSX_SDK=$withval
4293 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4294
4295 fi
4296
4297 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4298 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4299
4300 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4301 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4302
4303 # Check whether --with-macosx-version-min was given.
4304 if test "${with_macosx_version_min+set}" = set; then
4305 withval=$with_macosx_version_min;
4306 wxUSE_MACOSX_VERSION_MIN=$withval
4307 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4308
4309 fi
4310
4311 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4312 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4313
4314
4315
4316 enablestring=disable
4317 defaultval=
4318 if test -z "$defaultval"; then
4319 if test x"$enablestring" = xdisable; then
4320 defaultval=yes
4321 else
4322 defaultval=no
4323 fi
4324 fi
4325
4326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4328 # Check whether --enable-shared was given.
4329 if test "${enable_shared+set}" = set; then
4330 enableval=$enable_shared;
4331 if test "$enableval" = yes; then
4332 wx_cv_use_shared='wxUSE_SHARED=yes'
4333 else
4334 wx_cv_use_shared='wxUSE_SHARED=no'
4335 fi
4336
4337 else
4338
4339 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4340
4341 fi
4342
4343
4344 eval "$wx_cv_use_shared"
4345
4346 if test x"$enablestring" = xdisable; then
4347 if test $wxUSE_SHARED = yes; then
4348 result=no
4349 else
4350 result=yes
4351 fi
4352 else
4353 result=$wxUSE_SHARED
4354 fi
4355
4356 { echo "$as_me:$LINENO: result: $result" >&5
4357 echo "${ECHO_T}$result" >&6; }
4358
4359
4360 enablestring=disable
4361 defaultval=
4362 if test -z "$defaultval"; then
4363 if test x"$enablestring" = xdisable; then
4364 defaultval=yes
4365 else
4366 defaultval=no
4367 fi
4368 fi
4369
4370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4372 # Check whether --enable-optimise was given.
4373 if test "${enable_optimise+set}" = set; then
4374 enableval=$enable_optimise;
4375 if test "$enableval" = yes; then
4376 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4377 else
4378 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4379 fi
4380
4381 else
4382
4383 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4384
4385 fi
4386
4387
4388 eval "$wx_cv_use_optimise"
4389
4390 if test x"$enablestring" = xdisable; then
4391 if test $wxUSE_OPTIMISE = yes; then
4392 result=no
4393 else
4394 result=yes
4395 fi
4396 else
4397 result=$wxUSE_OPTIMISE
4398 fi
4399
4400 { echo "$as_me:$LINENO: result: $result" >&5
4401 echo "${ECHO_T}$result" >&6; }
4402
4403
4404 enablestring=
4405 defaultval=
4406 if test -z "$defaultval"; then
4407 if test x"$enablestring" = xdisable; then
4408 defaultval=yes
4409 else
4410 defaultval=no
4411 fi
4412 fi
4413
4414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval=$enable_debug;
4419 if test "$enableval" = yes; then
4420 wx_cv_use_debug='wxUSE_DEBUG=yes'
4421 else
4422 wx_cv_use_debug='wxUSE_DEBUG=no'
4423 fi
4424
4425 else
4426
4427 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4428
4429 fi
4430
4431
4432 eval "$wx_cv_use_debug"
4433
4434 if test x"$enablestring" = xdisable; then
4435 if test $wxUSE_DEBUG = yes; then
4436 result=no
4437 else
4438 result=yes
4439 fi
4440 else
4441 result=$wxUSE_DEBUG
4442 fi
4443
4444 { echo "$as_me:$LINENO: result: $result" >&5
4445 echo "${ECHO_T}$result" >&6; }
4446
4447
4448 enablestring=
4449 defaultval=
4450 if test -z "$defaultval"; then
4451 if test x"$enablestring" = xdisable; then
4452 defaultval=yes
4453 else
4454 defaultval=no
4455 fi
4456 fi
4457
4458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4460 # Check whether --enable-stl was given.
4461 if test "${enable_stl+set}" = set; then
4462 enableval=$enable_stl;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_stl='wxUSE_STL=yes'
4465 else
4466 wx_cv_use_stl='wxUSE_STL=no'
4467 fi
4468
4469 else
4470
4471 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4472
4473 fi
4474
4475
4476 eval "$wx_cv_use_stl"
4477
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_STL = yes; then
4480 result=no
4481 else
4482 result=yes
4483 fi
4484 else
4485 result=$wxUSE_STL
4486 fi
4487
4488 { echo "$as_me:$LINENO: result: $result" >&5
4489 echo "${ECHO_T}$result" >&6; }
4490
4491
4492 enablestring=
4493 defaultval=
4494 if test -z "$defaultval"; then
4495 if test x"$enablestring" = xdisable; then
4496 defaultval=yes
4497 else
4498 defaultval=no
4499 fi
4500 fi
4501
4502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4504 # Check whether --enable-std_iostreams was given.
4505 if test "${enable_std_iostreams+set}" = set; then
4506 enableval=$enable_std_iostreams;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4509 else
4510 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4511 fi
4512
4513 else
4514
4515 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4516
4517 fi
4518
4519
4520 eval "$wx_cv_use_std_iostreams"
4521
4522 if test x"$enablestring" = xdisable; then
4523 if test $wxUSE_STD_IOSTREAM = yes; then
4524 result=no
4525 else
4526 result=yes
4527 fi
4528 else
4529 result=$wxUSE_STD_IOSTREAM
4530 fi
4531
4532 { echo "$as_me:$LINENO: result: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4534
4535
4536 enablestring=
4537 defaultval=
4538 if test -z "$defaultval"; then
4539 if test x"$enablestring" = xdisable; then
4540 defaultval=yes
4541 else
4542 defaultval=no
4543 fi
4544 fi
4545
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4548 # Check whether --enable-std_string was given.
4549 if test "${enable_std_string+set}" = set; then
4550 enableval=$enable_std_string;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4553 else
4554 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4555 fi
4556
4557 else
4558
4559 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4560
4561 fi
4562
4563
4564 eval "$wx_cv_use_std_string"
4565
4566 if test x"$enablestring" = xdisable; then
4567 if test $wxUSE_STD_STRING = yes; then
4568 result=no
4569 else
4570 result=yes
4571 fi
4572 else
4573 result=$wxUSE_STD_STRING
4574 fi
4575
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4578
4579
4580 enablestring=disable
4581 defaultval=
4582 if test -z "$defaultval"; then
4583 if test x"$enablestring" = xdisable; then
4584 defaultval=yes
4585 else
4586 defaultval=no
4587 fi
4588 fi
4589
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4592 # Check whether --enable-unicode was given.
4593 if test "${enable_unicode+set}" = set; then
4594 enableval=$enable_unicode;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4597 else
4598 wx_cv_use_unicode='wxUSE_UNICODE=no'
4599 fi
4600
4601 else
4602
4603 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4604
4605 fi
4606
4607
4608 eval "$wx_cv_use_unicode"
4609
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_UNICODE = yes; then
4612 result=no
4613 else
4614 result=yes
4615 fi
4616 else
4617 result=$wxUSE_UNICODE
4618 fi
4619
4620 { echo "$as_me:$LINENO: result: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4622
4623
4624 enablestring=
4625 defaultval=
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4628 defaultval=yes
4629 else
4630 defaultval=no
4631 fi
4632 fi
4633
4634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4636 # Check whether --enable-mslu was given.
4637 if test "${enable_mslu+set}" = set; then
4638 enableval=$enable_mslu;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4641 else
4642 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4643 fi
4644
4645 else
4646
4647 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4648
4649 fi
4650
4651
4652 eval "$wx_cv_use_mslu"
4653
4654 if test x"$enablestring" = xdisable; then
4655 if test $wxUSE_UNICODE_MSLU = yes; then
4656 result=no
4657 else
4658 result=yes
4659 fi
4660 else
4661 result=$wxUSE_UNICODE_MSLU
4662 fi
4663
4664 { echo "$as_me:$LINENO: result: $result" >&5
4665 echo "${ECHO_T}$result" >&6; }
4666
4667
4668 enablestring=
4669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4671 # Check whether --enable-utf8 was given.
4672 if test "${enable_utf8+set}" = set; then
4673 enableval=$enable_utf8;
4674 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4675
4676 else
4677
4678 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4679
4680 fi
4681
4682
4683 eval "$wx_cv_use_utf8"
4684
4685 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4686 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4687
4688
4689 enablestring=
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4701 # Check whether --enable-utf8only was given.
4702 if test "${enable_utf8only+set}" = set; then
4703 enableval=$enable_utf8only;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4706 else
4707 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4708 fi
4709
4710 else
4711
4712 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4713
4714 fi
4715
4716
4717 eval "$wx_cv_use_utf8only"
4718
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4721 result=no
4722 else
4723 result=yes
4724 fi
4725 else
4726 result=$wxUSE_UNICODE_UTF8_LOCALE
4727 fi
4728
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4731
4732
4733 enablestring=
4734 defaultval=
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4737 defaultval=yes
4738 else
4739 defaultval=no
4740 fi
4741 fi
4742
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4745 # Check whether --enable-extended_rtti was given.
4746 if test "${enable_extended_rtti+set}" = set; then
4747 enableval=$enable_extended_rtti;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4750 else
4751 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4752 fi
4753
4754 else
4755
4756 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4757
4758 fi
4759
4760
4761 eval "$wx_cv_use_extended_rtti"
4762
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_EXTENDED_RTTI = yes; then
4765 result=no
4766 else
4767 result=yes
4768 fi
4769 else
4770 result=$wxUSE_EXTENDED_RTTI
4771 fi
4772
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4775
4776 if test "$USE_OS2" = 1; then
4777 DEFAULT_wxUSE_OMF=no
4778
4779 enablestring=
4780 defaultval=
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4783 defaultval=yes
4784 else
4785 defaultval=no
4786 fi
4787 fi
4788
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4791 # Check whether --enable-omf was given.
4792 if test "${enable_omf+set}" = set; then
4793 enableval=$enable_omf;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_omf='wxUSE_OMF=yes'
4796 else
4797 wx_cv_use_omf='wxUSE_OMF=no'
4798 fi
4799
4800 else
4801
4802 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4803
4804 fi
4805
4806
4807 eval "$wx_cv_use_omf"
4808
4809 if test x"$enablestring" = xdisable; then
4810 if test $wxUSE_OMF = yes; then
4811 result=no
4812 else
4813 result=yes
4814 fi
4815 else
4816 result=$wxUSE_OMF
4817 fi
4818
4819 { echo "$as_me:$LINENO: result: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4821
4822 fi
4823
4824 if test "$wxUSE_DEBUG" = "yes"; then
4825 DEFAULT_wxUSE_DEBUG_FLAG=yes
4826 DEFAULT_wxUSE_DEBUG_INFO=yes
4827 BUILD=debug
4828 elif test "$wxUSE_DEBUG" = "no"; then
4829 DEFAULT_wxUSE_DEBUG_FLAG=no
4830 DEFAULT_wxUSE_DEBUG_INFO=no
4831 BUILD=release
4832 fi
4833
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4847 # Check whether --enable-debug_flag was given.
4848 if test "${enable_debug_flag+set}" = set; then
4849 enableval=$enable_debug_flag;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4852 else
4853 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_debug_flag"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_DEBUG_FLAG = yes; then
4867 result=no
4868 else
4869 result=yes
4870 fi
4871 else
4872 result=$wxUSE_DEBUG_FLAG
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_info was given.
4892 if test "${enable_debug_info+set}" = set; then
4893 enableval=$enable_debug_info;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4896 else
4897 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_debug_info"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_INFO = yes; then
4911 result=no
4912 else
4913 result=yes
4914 fi
4915 else
4916 result=$wxUSE_DEBUG_INFO
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4924 wxUSE_DEBUG=yes
4925 BUILD=debug
4926 fi
4927
4928
4929 enablestring=
4930 defaultval=
4931 if test -z "$defaultval"; then
4932 if test x"$enablestring" = xdisable; then
4933 defaultval=yes
4934 else
4935 defaultval=no
4936 fi
4937 fi
4938
4939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4940 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4941 # Check whether --enable-debug_gdb was given.
4942 if test "${enable_debug_gdb+set}" = set; then
4943 enableval=$enable_debug_gdb;
4944 if test "$enableval" = yes; then
4945 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4946 else
4947 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4948 fi
4949
4950 else
4951
4952 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4953
4954 fi
4955
4956
4957 eval "$wx_cv_use_debug_gdb"
4958
4959 if test x"$enablestring" = xdisable; then
4960 if test $wxUSE_DEBUG_GDB = yes; then
4961 result=no
4962 else
4963 result=yes
4964 fi
4965 else
4966 result=$wxUSE_DEBUG_GDB
4967 fi
4968
4969 { echo "$as_me:$LINENO: result: $result" >&5
4970 echo "${ECHO_T}$result" >&6; }
4971
4972
4973 enablestring=
4974 defaultval=
4975 if test -z "$defaultval"; then
4976 if test x"$enablestring" = xdisable; then
4977 defaultval=yes
4978 else
4979 defaultval=no
4980 fi
4981 fi
4982
4983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4985 # Check whether --enable-debug_cntxt was given.
4986 if test "${enable_debug_cntxt+set}" = set; then
4987 enableval=$enable_debug_cntxt;
4988 if test "$enableval" = yes; then
4989 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4990 else
4991 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4992 fi
4993
4994 else
4995
4996 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4997
4998 fi
4999
5000
5001 eval "$wx_cv_use_debug_cntxt"
5002
5003 if test x"$enablestring" = xdisable; then
5004 if test $wxUSE_DEBUG_CONTEXT = yes; then
5005 result=no
5006 else
5007 result=yes
5008 fi
5009 else
5010 result=$wxUSE_DEBUG_CONTEXT
5011 fi
5012
5013 { echo "$as_me:$LINENO: result: $result" >&5
5014 echo "${ECHO_T}$result" >&6; }
5015
5016
5017 enablestring=
5018 defaultval=
5019 if test -z "$defaultval"; then
5020 if test x"$enablestring" = xdisable; then
5021 defaultval=yes
5022 else
5023 defaultval=no
5024 fi
5025 fi
5026
5027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5029 # Check whether --enable-mem_tracing was given.
5030 if test "${enable_mem_tracing+set}" = set; then
5031 enableval=$enable_mem_tracing;
5032 if test "$enableval" = yes; then
5033 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5034 else
5035 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5036 fi
5037
5038 else
5039
5040 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5041
5042 fi
5043
5044
5045 eval "$wx_cv_use_mem_tracing"
5046
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_MEM_TRACING = yes; then
5049 result=no
5050 else
5051 result=yes
5052 fi
5053 else
5054 result=$wxUSE_MEM_TRACING
5055 fi
5056
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5059
5060
5061 enablestring=
5062 defaultval=
5063 if test -z "$defaultval"; then
5064 if test x"$enablestring" = xdisable; then
5065 defaultval=yes
5066 else
5067 defaultval=no
5068 fi
5069 fi
5070
5071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5073 # Check whether --enable-profile was given.
5074 if test "${enable_profile+set}" = set; then
5075 enableval=$enable_profile;
5076 if test "$enableval" = yes; then
5077 wx_cv_use_profile='wxUSE_PROFILE=yes'
5078 else
5079 wx_cv_use_profile='wxUSE_PROFILE=no'
5080 fi
5081
5082 else
5083
5084 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5085
5086 fi
5087
5088
5089 eval "$wx_cv_use_profile"
5090
5091 if test x"$enablestring" = xdisable; then
5092 if test $wxUSE_PROFILE = yes; then
5093 result=no
5094 else
5095 result=yes
5096 fi
5097 else
5098 result=$wxUSE_PROFILE
5099 fi
5100
5101 { echo "$as_me:$LINENO: result: $result" >&5
5102 echo "${ECHO_T}$result" >&6; }
5103
5104
5105 enablestring=
5106 defaultval=
5107 if test -z "$defaultval"; then
5108 if test x"$enablestring" = xdisable; then
5109 defaultval=yes
5110 else
5111 defaultval=no
5112 fi
5113 fi
5114
5115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5117 # Check whether --enable-no_rtti was given.
5118 if test "${enable_no_rtti+set}" = set; then
5119 enableval=$enable_no_rtti;
5120 if test "$enableval" = yes; then
5121 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5122 else
5123 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5124 fi
5125
5126 else
5127
5128 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5129
5130 fi
5131
5132
5133 eval "$wx_cv_use_no_rtti"
5134
5135 if test x"$enablestring" = xdisable; then
5136 if test $wxUSE_NO_RTTI = yes; then
5137 result=no
5138 else
5139 result=yes
5140 fi
5141 else
5142 result=$wxUSE_NO_RTTI
5143 fi
5144
5145 { echo "$as_me:$LINENO: result: $result" >&5
5146 echo "${ECHO_T}$result" >&6; }
5147
5148
5149 enablestring=
5150 defaultval=
5151 if test -z "$defaultval"; then
5152 if test x"$enablestring" = xdisable; then
5153 defaultval=yes
5154 else
5155 defaultval=no
5156 fi
5157 fi
5158
5159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5161 # Check whether --enable-no_exceptions was given.
5162 if test "${enable_no_exceptions+set}" = set; then
5163 enableval=$enable_no_exceptions;
5164 if test "$enableval" = yes; then
5165 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5166 else
5167 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5168 fi
5169
5170 else
5171
5172 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5173
5174 fi
5175
5176
5177 eval "$wx_cv_use_no_exceptions"
5178
5179 if test x"$enablestring" = xdisable; then
5180 if test $wxUSE_NO_EXCEPTIONS = yes; then
5181 result=no
5182 else
5183 result=yes
5184 fi
5185 else
5186 result=$wxUSE_NO_EXCEPTIONS
5187 fi
5188
5189 { echo "$as_me:$LINENO: result: $result" >&5
5190 echo "${ECHO_T}$result" >&6; }
5191
5192
5193 enablestring=
5194 defaultval=
5195 if test -z "$defaultval"; then
5196 if test x"$enablestring" = xdisable; then
5197 defaultval=yes
5198 else
5199 defaultval=no
5200 fi
5201 fi
5202
5203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5205 # Check whether --enable-permissive was given.
5206 if test "${enable_permissive+set}" = set; then
5207 enableval=$enable_permissive;
5208 if test "$enableval" = yes; then
5209 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5210 else
5211 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5212 fi
5213
5214 else
5215
5216 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5217
5218 fi
5219
5220
5221 eval "$wx_cv_use_permissive"
5222
5223 if test x"$enablestring" = xdisable; then
5224 if test $wxUSE_PERMISSIVE = yes; then
5225 result=no
5226 else
5227 result=yes
5228 fi
5229 else
5230 result=$wxUSE_PERMISSIVE
5231 fi
5232
5233 { echo "$as_me:$LINENO: result: $result" >&5
5234 echo "${ECHO_T}$result" >&6; }
5235
5236
5237 enablestring=
5238 defaultval=
5239 if test -z "$defaultval"; then
5240 if test x"$enablestring" = xdisable; then
5241 defaultval=yes
5242 else
5243 defaultval=no
5244 fi
5245 fi
5246
5247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5249 # Check whether --enable-no_deps was given.
5250 if test "${enable_no_deps+set}" = set; then
5251 enableval=$enable_no_deps;
5252 if test "$enableval" = yes; then
5253 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5254 else
5255 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5256 fi
5257
5258 else
5259
5260 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_no_deps"
5266
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_NO_DEPS = yes; then
5269 result=no
5270 else
5271 result=yes
5272 fi
5273 else
5274 result=$wxUSE_NO_DEPS
5275 fi
5276
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5279
5280
5281 enablestring=disable
5282 defaultval=
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5285 defaultval=yes
5286 else
5287 defaultval=no
5288 fi
5289 fi
5290
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5293 # Check whether --enable-vararg_macros was given.
5294 if test "${enable_vararg_macros+set}" = set; then
5295 enableval=$enable_vararg_macros;
5296 if test "$enableval" = yes; then
5297 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5298 else
5299 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5300 fi
5301
5302 else
5303
5304 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5305
5306 fi
5307
5308
5309 eval "$wx_cv_use_vararg_macros"
5310
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_VARARG_MACROS = yes; then
5313 result=no
5314 else
5315 result=yes
5316 fi
5317 else
5318 result=$wxUSE_VARARG_MACROS
5319 fi
5320
5321 { echo "$as_me:$LINENO: result: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5323
5324
5325 enablestring=
5326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5328 # Check whether --enable-universal_binary was given.
5329 if test "${enable_universal_binary+set}" = set; then
5330 enableval=$enable_universal_binary;
5331 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5332
5333 else
5334
5335 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5336
5337 fi
5338
5339
5340 eval "$wx_cv_use_universal_binary"
5341
5342 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5343 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5344
5345
5346
5347 enablestring=
5348 defaultval=
5349 if test -z "$defaultval"; then
5350 if test x"$enablestring" = xdisable; then
5351 defaultval=yes
5352 else
5353 defaultval=no
5354 fi
5355 fi
5356
5357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5359 # Check whether --enable-compat26 was given.
5360 if test "${enable_compat26+set}" = set; then
5361 enableval=$enable_compat26;
5362 if test "$enableval" = yes; then
5363 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5364 else
5365 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5366 fi
5367
5368 else
5369
5370 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5371
5372 fi
5373
5374
5375 eval "$wx_cv_use_compat26"
5376
5377 if test x"$enablestring" = xdisable; then
5378 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5379 result=no
5380 else
5381 result=yes
5382 fi
5383 else
5384 result=$WXWIN_COMPATIBILITY_2_6
5385 fi
5386
5387 { echo "$as_me:$LINENO: result: $result" >&5
5388 echo "${ECHO_T}$result" >&6; }
5389
5390
5391 enablestring=disable
5392 defaultval=
5393 if test -z "$defaultval"; then
5394 if test x"$enablestring" = xdisable; then
5395 defaultval=yes
5396 else
5397 defaultval=no
5398 fi
5399 fi
5400
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5403 # Check whether --enable-compat28 was given.
5404 if test "${enable_compat28+set}" = set; then
5405 enableval=$enable_compat28;
5406 if test "$enableval" = yes; then
5407 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5408 else
5409 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5410 fi
5411
5412 else
5413
5414 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5415
5416 fi
5417
5418
5419 eval "$wx_cv_use_compat28"
5420
5421 if test x"$enablestring" = xdisable; then
5422 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5423 result=no
5424 else
5425 result=yes
5426 fi
5427 else
5428 result=$WXWIN_COMPATIBILITY_2_8
5429 fi
5430
5431 { echo "$as_me:$LINENO: result: $result" >&5
5432 echo "${ECHO_T}$result" >&6; }
5433
5434
5435
5436 enablestring=disable
5437 defaultval=
5438 if test -z "$defaultval"; then
5439 if test x"$enablestring" = xdisable; then
5440 defaultval=yes
5441 else
5442 defaultval=no
5443 fi
5444 fi
5445
5446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5448 # Check whether --enable-rpath was given.
5449 if test "${enable_rpath+set}" = set; then
5450 enableval=$enable_rpath;
5451 if test "$enableval" = yes; then
5452 wx_cv_use_rpath='wxUSE_RPATH=yes'
5453 else
5454 wx_cv_use_rpath='wxUSE_RPATH=no'
5455 fi
5456
5457 else
5458
5459 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5460
5461 fi
5462
5463
5464 eval "$wx_cv_use_rpath"
5465
5466 if test x"$enablestring" = xdisable; then
5467 if test $wxUSE_RPATH = yes; then
5468 result=no
5469 else
5470 result=yes
5471 fi
5472 else
5473 result=$wxUSE_RPATH
5474 fi
5475
5476 { echo "$as_me:$LINENO: result: $result" >&5
5477 echo "${ECHO_T}$result" >&6; }
5478
5479
5480
5481 enablestring=
5482 defaultval=
5483 if test -z "$defaultval"; then
5484 if test x"$enablestring" = xdisable; then
5485 defaultval=yes
5486 else
5487 defaultval=no
5488 fi
5489 fi
5490
5491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5492 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5493 # Check whether --enable-objc_uniquifying was given.
5494 if test "${enable_objc_uniquifying+set}" = set; then
5495 enableval=$enable_objc_uniquifying;
5496 if test "$enableval" = yes; then
5497 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5498 else
5499 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5500 fi
5501
5502 else
5503
5504 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5505
5506 fi
5507
5508
5509 eval "$wx_cv_use_objc_uniquifying"
5510
5511 if test x"$enablestring" = xdisable; then
5512 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5513 result=no
5514 else
5515 result=yes
5516 fi
5517 else
5518 result=$wxUSE_OBJC_UNIQUIFYING
5519 fi
5520
5521 { echo "$as_me:$LINENO: result: $result" >&5
5522 echo "${ECHO_T}$result" >&6; }
5523
5524
5525
5526 enablestring=disable
5527 defaultval=
5528 if test -z "$defaultval"; then
5529 if test x"$enablestring" = xdisable; then
5530 defaultval=yes
5531 else
5532 defaultval=no
5533 fi
5534 fi
5535
5536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5537 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5538 # Check whether --enable-visibility was given.
5539 if test "${enable_visibility+set}" = set; then
5540 enableval=$enable_visibility;
5541 if test "$enableval" = yes; then
5542 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5543 else
5544 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5545 fi
5546
5547 else
5548
5549 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5550
5551 fi
5552
5553
5554 eval "$wx_cv_use_visibility"
5555
5556 if test x"$enablestring" = xdisable; then
5557 if test $wxUSE_VISIBILITY = yes; then
5558 result=no
5559 else
5560 result=yes
5561 fi
5562 else
5563 result=$wxUSE_VISIBILITY
5564 fi
5565
5566 { echo "$as_me:$LINENO: result: $result" >&5
5567 echo "${ECHO_T}$result" >&6; }
5568
5569
5570
5571
5572 enablestring=
5573 defaultval=$wxUSE_ALL_FEATURES
5574 if test -z "$defaultval"; then
5575 if test x"$enablestring" = xdisable; then
5576 defaultval=yes
5577 else
5578 defaultval=no
5579 fi
5580 fi
5581
5582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5584 # Check whether --enable-intl was given.
5585 if test "${enable_intl+set}" = set; then
5586 enableval=$enable_intl;
5587 if test "$enableval" = yes; then
5588 wx_cv_use_intl='wxUSE_INTL=yes'
5589 else
5590 wx_cv_use_intl='wxUSE_INTL=no'
5591 fi
5592
5593 else
5594
5595 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5596
5597 fi
5598
5599
5600 eval "$wx_cv_use_intl"
5601
5602 if test x"$enablestring" = xdisable; then
5603 if test $wxUSE_INTL = yes; then
5604 result=no
5605 else
5606 result=yes
5607 fi
5608 else
5609 result=$wxUSE_INTL
5610 fi
5611
5612 { echo "$as_me:$LINENO: result: $result" >&5
5613 echo "${ECHO_T}$result" >&6; }
5614
5615
5616 enablestring=
5617 defaultval=$wxUSE_ALL_FEATURES
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5620 defaultval=yes
5621 else
5622 defaultval=no
5623 fi
5624 fi
5625
5626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5628 # Check whether --enable-xlocale was given.
5629 if test "${enable_xlocale+set}" = set; then
5630 enableval=$enable_xlocale;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5633 else
5634 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5635 fi
5636
5637 else
5638
5639 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5640
5641 fi
5642
5643
5644 eval "$wx_cv_use_xlocale"
5645
5646 if test x"$enablestring" = xdisable; then
5647 if test $wxUSE_XLOCALE = yes; then
5648 result=no
5649 else
5650 result=yes
5651 fi
5652 else
5653 result=$wxUSE_XLOCALE
5654 fi
5655
5656 { echo "$as_me:$LINENO: result: $result" >&5
5657 echo "${ECHO_T}$result" >&6; }
5658
5659
5660 enablestring=
5661 defaultval=$wxUSE_ALL_FEATURES
5662 if test -z "$defaultval"; then
5663 if test x"$enablestring" = xdisable; then
5664 defaultval=yes
5665 else
5666 defaultval=no
5667 fi
5668 fi
5669
5670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5672 # Check whether --enable-config was given.
5673 if test "${enable_config+set}" = set; then
5674 enableval=$enable_config;
5675 if test "$enableval" = yes; then
5676 wx_cv_use_config='wxUSE_CONFIG=yes'
5677 else
5678 wx_cv_use_config='wxUSE_CONFIG=no'
5679 fi
5680
5681 else
5682
5683 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5684
5685 fi
5686
5687
5688 eval "$wx_cv_use_config"
5689
5690 if test x"$enablestring" = xdisable; then
5691 if test $wxUSE_CONFIG = yes; then
5692 result=no
5693 else
5694 result=yes
5695 fi
5696 else
5697 result=$wxUSE_CONFIG
5698 fi
5699
5700 { echo "$as_me:$LINENO: result: $result" >&5
5701 echo "${ECHO_T}$result" >&6; }
5702
5703
5704
5705 enablestring=
5706 defaultval=$wxUSE_ALL_FEATURES
5707 if test -z "$defaultval"; then
5708 if test x"$enablestring" = xdisable; then
5709 defaultval=yes
5710 else
5711 defaultval=no
5712 fi
5713 fi
5714
5715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5717 # Check whether --enable-protocols was given.
5718 if test "${enable_protocols+set}" = set; then
5719 enableval=$enable_protocols;
5720 if test "$enableval" = yes; then
5721 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5722 else
5723 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5724 fi
5725
5726 else
5727
5728 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5729
5730 fi
5731
5732
5733 eval "$wx_cv_use_protocols"
5734
5735 if test x"$enablestring" = xdisable; then
5736 if test $wxUSE_PROTOCOL = yes; then
5737 result=no
5738 else
5739 result=yes
5740 fi
5741 else
5742 result=$wxUSE_PROTOCOL
5743 fi
5744
5745 { echo "$as_me:$LINENO: result: $result" >&5
5746 echo "${ECHO_T}$result" >&6; }
5747
5748
5749 enablestring=
5750 defaultval=$wxUSE_ALL_FEATURES
5751 if test -z "$defaultval"; then
5752 if test x"$enablestring" = xdisable; then
5753 defaultval=yes
5754 else
5755 defaultval=no
5756 fi
5757 fi
5758
5759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5760 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5761 # Check whether --enable-ftp was given.
5762 if test "${enable_ftp+set}" = set; then
5763 enableval=$enable_ftp;
5764 if test "$enableval" = yes; then
5765 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5766 else
5767 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5768 fi
5769
5770 else
5771
5772 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5773
5774 fi
5775
5776
5777 eval "$wx_cv_use_ftp"
5778
5779 if test x"$enablestring" = xdisable; then
5780 if test $wxUSE_PROTOCOL_FTP = yes; then
5781 result=no
5782 else
5783 result=yes
5784 fi
5785 else
5786 result=$wxUSE_PROTOCOL_FTP
5787 fi
5788
5789 { echo "$as_me:$LINENO: result: $result" >&5
5790 echo "${ECHO_T}$result" >&6; }
5791
5792
5793 enablestring=
5794 defaultval=$wxUSE_ALL_FEATURES
5795 if test -z "$defaultval"; then
5796 if test x"$enablestring" = xdisable; then
5797 defaultval=yes
5798 else
5799 defaultval=no
5800 fi
5801 fi
5802
5803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5805 # Check whether --enable-http was given.
5806 if test "${enable_http+set}" = set; then
5807 enableval=$enable_http;
5808 if test "$enableval" = yes; then
5809 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5810 else
5811 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5812 fi
5813
5814 else
5815
5816 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5817
5818 fi
5819
5820
5821 eval "$wx_cv_use_http"
5822
5823 if test x"$enablestring" = xdisable; then
5824 if test $wxUSE_PROTOCOL_HTTP = yes; then
5825 result=no
5826 else
5827 result=yes
5828 fi
5829 else
5830 result=$wxUSE_PROTOCOL_HTTP
5831 fi
5832
5833 { echo "$as_me:$LINENO: result: $result" >&5
5834 echo "${ECHO_T}$result" >&6; }
5835
5836
5837 enablestring=
5838 defaultval=$wxUSE_ALL_FEATURES
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5841 defaultval=yes
5842 else
5843 defaultval=no
5844 fi
5845 fi
5846
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5849 # Check whether --enable-fileproto was given.
5850 if test "${enable_fileproto+set}" = set; then
5851 enableval=$enable_fileproto;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5854 else
5855 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5856 fi
5857
5858 else
5859
5860 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5861
5862 fi
5863
5864
5865 eval "$wx_cv_use_fileproto"
5866
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_PROTOCOL_FILE = yes; then
5869 result=no
5870 else
5871 result=yes
5872 fi
5873 else
5874 result=$wxUSE_PROTOCOL_FILE
5875 fi
5876
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5879
5880
5881 enablestring=
5882 defaultval=$wxUSE_ALL_FEATURES
5883 if test -z "$defaultval"; then
5884 if test x"$enablestring" = xdisable; then
5885 defaultval=yes
5886 else
5887 defaultval=no
5888 fi
5889 fi
5890
5891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5893 # Check whether --enable-sockets was given.
5894 if test "${enable_sockets+set}" = set; then
5895 enableval=$enable_sockets;
5896 if test "$enableval" = yes; then
5897 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5898 else
5899 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5900 fi
5901
5902 else
5903
5904 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5905
5906 fi
5907
5908
5909 eval "$wx_cv_use_sockets"
5910
5911 if test x"$enablestring" = xdisable; then
5912 if test $wxUSE_SOCKETS = yes; then
5913 result=no
5914 else
5915 result=yes
5916 fi
5917 else
5918 result=$wxUSE_SOCKETS
5919 fi
5920
5921 { echo "$as_me:$LINENO: result: $result" >&5
5922 echo "${ECHO_T}$result" >&6; }
5923
5924
5925 enablestring=
5926 defaultval=$wxUSE_ALL_FEATURES
5927 if test -z "$defaultval"; then
5928 if test x"$enablestring" = xdisable; then
5929 defaultval=yes
5930 else
5931 defaultval=no
5932 fi
5933 fi
5934
5935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5937 # Check whether --enable-ipv6 was given.
5938 if test "${enable_ipv6+set}" = set; then
5939 enableval=$enable_ipv6;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5942 else
5943 wx_cv_use_ipv6='wxUSE_IPV6=no'
5944 fi
5945
5946 else
5947
5948 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5949
5950 fi
5951
5952
5953 eval "$wx_cv_use_ipv6"
5954
5955 if test x"$enablestring" = xdisable; then
5956 if test $wxUSE_IPV6 = yes; then
5957 result=no
5958 else
5959 result=yes
5960 fi
5961 else
5962 result=$wxUSE_IPV6
5963 fi
5964
5965 { echo "$as_me:$LINENO: result: $result" >&5
5966 echo "${ECHO_T}$result" >&6; }
5967
5968
5969 enablestring=
5970 defaultval=$wxUSE_ALL_FEATURES
5971 if test -z "$defaultval"; then
5972 if test x"$enablestring" = xdisable; then
5973 defaultval=yes
5974 else
5975 defaultval=no
5976 fi
5977 fi
5978
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5981 # Check whether --enable-ole was given.
5982 if test "${enable_ole+set}" = set; then
5983 enableval=$enable_ole;
5984 if test "$enableval" = yes; then
5985 wx_cv_use_ole='wxUSE_OLE=yes'
5986 else
5987 wx_cv_use_ole='wxUSE_OLE=no'
5988 fi
5989
5990 else
5991
5992 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5993
5994 fi
5995
5996
5997 eval "$wx_cv_use_ole"
5998
5999 if test x"$enablestring" = xdisable; then
6000 if test $wxUSE_OLE = yes; then
6001 result=no
6002 else
6003 result=yes
6004 fi
6005 else
6006 result=$wxUSE_OLE
6007 fi
6008
6009 { echo "$as_me:$LINENO: result: $result" >&5
6010 echo "${ECHO_T}$result" >&6; }
6011
6012
6013 enablestring=
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6017 defaultval=yes
6018 else
6019 defaultval=no
6020 fi
6021 fi
6022
6023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6025 # Check whether --enable-dataobj was given.
6026 if test "${enable_dataobj+set}" = set; then
6027 enableval=$enable_dataobj;
6028 if test "$enableval" = yes; then
6029 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6030 else
6031 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6032 fi
6033
6034 else
6035
6036 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6037
6038 fi
6039
6040
6041 eval "$wx_cv_use_dataobj"
6042
6043 if test x"$enablestring" = xdisable; then
6044 if test $wxUSE_DATAOBJ = yes; then
6045 result=no
6046 else
6047 result=yes
6048 fi
6049 else
6050 result=$wxUSE_DATAOBJ
6051 fi
6052
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 echo "${ECHO_T}$result" >&6; }
6055
6056
6057
6058 enablestring=
6059 defaultval=$wxUSE_ALL_FEATURES
6060 if test -z "$defaultval"; then
6061 if test x"$enablestring" = xdisable; then
6062 defaultval=yes
6063 else
6064 defaultval=no
6065 fi
6066 fi
6067
6068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6069 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6070 # Check whether --enable-ipc was given.
6071 if test "${enable_ipc+set}" = set; then
6072 enableval=$enable_ipc;
6073 if test "$enableval" = yes; then
6074 wx_cv_use_ipc='wxUSE_IPC=yes'
6075 else
6076 wx_cv_use_ipc='wxUSE_IPC=no'
6077 fi
6078
6079 else
6080
6081 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6082
6083 fi
6084
6085
6086 eval "$wx_cv_use_ipc"
6087
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_IPC = yes; then
6090 result=no
6091 else
6092 result=yes
6093 fi
6094 else
6095 result=$wxUSE_IPC
6096 fi
6097
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6100
6101
6102
6103 enablestring=
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6107 defaultval=yes
6108 else
6109 defaultval=no
6110 fi
6111 fi
6112
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6115 # Check whether --enable-baseevtloop was given.
6116 if test "${enable_baseevtloop+set}" = set; then
6117 enableval=$enable_baseevtloop;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6120 else
6121 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6122 fi
6123
6124 else
6125
6126 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6127
6128 fi
6129
6130
6131 eval "$wx_cv_use_baseevtloop"
6132
6133 if test x"$enablestring" = xdisable; then
6134 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6135 result=no
6136 else
6137 result=yes
6138 fi
6139 else
6140 result=$wxUSE_CONSOLE_EVENTLOOP
6141 fi
6142
6143 { echo "$as_me:$LINENO: result: $result" >&5
6144 echo "${ECHO_T}$result" >&6; }
6145
6146
6147 enablestring=
6148 defaultval=$wxUSE_ALL_FEATURES
6149 if test -z "$defaultval"; then
6150 if test x"$enablestring" = xdisable; then
6151 defaultval=yes
6152 else
6153 defaultval=no
6154 fi
6155 fi
6156
6157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6159 # Check whether --enable-epollloop was given.
6160 if test "${enable_epollloop+set}" = set; then
6161 enableval=$enable_epollloop;
6162 if test "$enableval" = yes; then
6163 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6164 else
6165 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6166 fi
6167
6168 else
6169
6170 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6171
6172 fi
6173
6174
6175 eval "$wx_cv_use_epollloop"
6176
6177 if test x"$enablestring" = xdisable; then
6178 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6179 result=no
6180 else
6181 result=yes
6182 fi
6183 else
6184 result=$wxUSE_EPOLL_DISPATCHER
6185 fi
6186
6187 { echo "$as_me:$LINENO: result: $result" >&5
6188 echo "${ECHO_T}$result" >&6; }
6189
6190
6191 enablestring=
6192 defaultval=$wxUSE_ALL_FEATURES
6193 if test -z "$defaultval"; then
6194 if test x"$enablestring" = xdisable; then
6195 defaultval=yes
6196 else
6197 defaultval=no
6198 fi
6199 fi
6200
6201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6203 # Check whether --enable-selectloop was given.
6204 if test "${enable_selectloop+set}" = set; then
6205 enableval=$enable_selectloop;
6206 if test "$enableval" = yes; then
6207 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6208 else
6209 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6210 fi
6211
6212 else
6213
6214 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6215
6216 fi
6217
6218
6219 eval "$wx_cv_use_selectloop"
6220
6221 if test x"$enablestring" = xdisable; then
6222 if test $wxUSE_SELECT_DISPATCHER = yes; then
6223 result=no
6224 else
6225 result=yes
6226 fi
6227 else
6228 result=$wxUSE_SELECT_DISPATCHER
6229 fi
6230
6231 { echo "$as_me:$LINENO: result: $result" >&5
6232 echo "${ECHO_T}$result" >&6; }
6233
6234
6235
6236 enablestring=
6237 defaultval=$wxUSE_ALL_FEATURES
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6240 defaultval=yes
6241 else
6242 defaultval=no
6243 fi
6244 fi
6245
6246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6247 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6248 # Check whether --enable-apple_ieee was given.
6249 if test "${enable_apple_ieee+set}" = set; then
6250 enableval=$enable_apple_ieee;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6253 else
6254 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6255 fi
6256
6257 else
6258
6259 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6260
6261 fi
6262
6263
6264 eval "$wx_cv_use_apple_ieee"
6265
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_APPLE_IEEE = yes; then
6268 result=no
6269 else
6270 result=yes
6271 fi
6272 else
6273 result=$wxUSE_APPLE_IEEE
6274 fi
6275
6276 { echo "$as_me:$LINENO: result: $result" >&5
6277 echo "${ECHO_T}$result" >&6; }
6278
6279
6280 enablestring=
6281 defaultval=$wxUSE_ALL_FEATURES
6282 if test -z "$defaultval"; then
6283 if test x"$enablestring" = xdisable; then
6284 defaultval=yes
6285 else
6286 defaultval=no
6287 fi
6288 fi
6289
6290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6292 # Check whether --enable-arcstream was given.
6293 if test "${enable_arcstream+set}" = set; then
6294 enableval=$enable_arcstream;
6295 if test "$enableval" = yes; then
6296 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6297 else
6298 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6299 fi
6300
6301 else
6302
6303 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6304
6305 fi
6306
6307
6308 eval "$wx_cv_use_arcstream"
6309
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6312 result=no
6313 else
6314 result=yes
6315 fi
6316 else
6317 result=$wxUSE_ARCHIVE_STREAMS
6318 fi
6319
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6322
6323
6324 enablestring=
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6328 defaultval=yes
6329 else
6330 defaultval=no
6331 fi
6332 fi
6333
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6336 # Check whether --enable-base64 was given.
6337 if test "${enable_base64+set}" = set; then
6338 enableval=$enable_base64;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_base64='wxUSE_BASE64=yes'
6341 else
6342 wx_cv_use_base64='wxUSE_BASE64=no'
6343 fi
6344
6345 else
6346
6347 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6348
6349 fi
6350
6351
6352 eval "$wx_cv_use_base64"
6353
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_BASE64 = yes; then
6356 result=no
6357 else
6358 result=yes
6359 fi
6360 else
6361 result=$wxUSE_BASE64
6362 fi
6363
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6366
6367
6368 enablestring=
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6372 defaultval=yes
6373 else
6374 defaultval=no
6375 fi
6376 fi
6377
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6380 # Check whether --enable-backtrace was given.
6381 if test "${enable_backtrace+set}" = set; then
6382 enableval=$enable_backtrace;
6383 if test "$enableval" = yes; then
6384 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6385 else
6386 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6387 fi
6388
6389 else
6390
6391 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6392
6393 fi
6394
6395
6396 eval "$wx_cv_use_backtrace"
6397
6398 if test x"$enablestring" = xdisable; then
6399 if test $wxUSE_STACKWALKER = yes; then
6400 result=no
6401 else
6402 result=yes
6403 fi
6404 else
6405 result=$wxUSE_STACKWALKER
6406 fi
6407
6408 { echo "$as_me:$LINENO: result: $result" >&5
6409 echo "${ECHO_T}$result" >&6; }
6410
6411
6412 enablestring=
6413 defaultval=$wxUSE_ALL_FEATURES
6414 if test -z "$defaultval"; then
6415 if test x"$enablestring" = xdisable; then
6416 defaultval=yes
6417 else
6418 defaultval=no
6419 fi
6420 fi
6421
6422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6424 # Check whether --enable-catch_segvs was given.
6425 if test "${enable_catch_segvs+set}" = set; then
6426 enableval=$enable_catch_segvs;
6427 if test "$enableval" = yes; then
6428 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6429 else
6430 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6431 fi
6432
6433 else
6434
6435 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6436
6437 fi
6438
6439
6440 eval "$wx_cv_use_catch_segvs"
6441
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6444 result=no
6445 else
6446 result=yes
6447 fi
6448 else
6449 result=$wxUSE_ON_FATAL_EXCEPTION
6450 fi
6451
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6454
6455
6456 enablestring=
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6460 defaultval=yes
6461 else
6462 defaultval=no
6463 fi
6464 fi
6465
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6468 # Check whether --enable-cmdline was given.
6469 if test "${enable_cmdline+set}" = set; then
6470 enableval=$enable_cmdline;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6473 else
6474 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6475 fi
6476
6477 else
6478
6479 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6480
6481 fi
6482
6483
6484 eval "$wx_cv_use_cmdline"
6485
6486 if test x"$enablestring" = xdisable; then
6487 if test $wxUSE_CMDLINE_PARSER = yes; then
6488 result=no
6489 else
6490 result=yes
6491 fi
6492 else
6493 result=$wxUSE_CMDLINE_PARSER
6494 fi
6495
6496 { echo "$as_me:$LINENO: result: $result" >&5
6497 echo "${ECHO_T}$result" >&6; }
6498
6499
6500 enablestring=
6501 defaultval=$wxUSE_ALL_FEATURES
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6504 defaultval=yes
6505 else
6506 defaultval=no
6507 fi
6508 fi
6509
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6512 # Check whether --enable-datetime was given.
6513 if test "${enable_datetime+set}" = set; then
6514 enableval=$enable_datetime;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6517 else
6518 wx_cv_use_datetime='wxUSE_DATETIME=no'
6519 fi
6520
6521 else
6522
6523 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6524
6525 fi
6526
6527
6528 eval "$wx_cv_use_datetime"
6529
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_DATETIME = yes; then
6532 result=no
6533 else
6534 result=yes
6535 fi
6536 else
6537 result=$wxUSE_DATETIME
6538 fi
6539
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6542
6543
6544 enablestring=
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6548 defaultval=yes
6549 else
6550 defaultval=no
6551 fi
6552 fi
6553
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6556 # Check whether --enable-debugreport was given.
6557 if test "${enable_debugreport+set}" = set; then
6558 enableval=$enable_debugreport;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6561 else
6562 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6563 fi
6564
6565 else
6566
6567 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6568
6569 fi
6570
6571
6572 eval "$wx_cv_use_debugreport"
6573
6574 if test x"$enablestring" = xdisable; then
6575 if test $wxUSE_DEBUGREPORT = yes; then
6576 result=no
6577 else
6578 result=yes
6579 fi
6580 else
6581 result=$wxUSE_DEBUGREPORT
6582 fi
6583
6584 { echo "$as_me:$LINENO: result: $result" >&5
6585 echo "${ECHO_T}$result" >&6; }
6586
6587
6588 enablestring=
6589 defaultval=$wxUSE_ALL_FEATURES
6590 if test -z "$defaultval"; then
6591 if test x"$enablestring" = xdisable; then
6592 defaultval=yes
6593 else
6594 defaultval=no
6595 fi
6596 fi
6597
6598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6599 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6600 # Check whether --enable-dialupman was given.
6601 if test "${enable_dialupman+set}" = set; then
6602 enableval=$enable_dialupman;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6605 else
6606 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6607 fi
6608
6609 else
6610
6611 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6612
6613 fi
6614
6615
6616 eval "$wx_cv_use_dialupman"
6617
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_DIALUP_MANAGER = yes; then
6620 result=no
6621 else
6622 result=yes
6623 fi
6624 else
6625 result=$wxUSE_DIALUP_MANAGER
6626 fi
6627
6628 { echo "$as_me:$LINENO: result: $result" >&5
6629 echo "${ECHO_T}$result" >&6; }
6630
6631
6632 enablestring=
6633 defaultval=$wxUSE_ALL_FEATURES
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6636 defaultval=yes
6637 else
6638 defaultval=no
6639 fi
6640 fi
6641
6642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6643 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6644 # Check whether --enable-dynlib was given.
6645 if test "${enable_dynlib+set}" = set; then
6646 enableval=$enable_dynlib;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6649 else
6650 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6651 fi
6652
6653 else
6654
6655 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6656
6657 fi
6658
6659
6660 eval "$wx_cv_use_dynlib"
6661
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_DYNLIB_CLASS = yes; then
6664 result=no
6665 else
6666 result=yes
6667 fi
6668 else
6669 result=$wxUSE_DYNLIB_CLASS
6670 fi
6671
6672 { echo "$as_me:$LINENO: result: $result" >&5
6673 echo "${ECHO_T}$result" >&6; }
6674
6675
6676 enablestring=
6677 defaultval=$wxUSE_ALL_FEATURES
6678 if test -z "$defaultval"; then
6679 if test x"$enablestring" = xdisable; then
6680 defaultval=yes
6681 else
6682 defaultval=no
6683 fi
6684 fi
6685
6686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6687 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6688 # Check whether --enable-dynamicloader was given.
6689 if test "${enable_dynamicloader+set}" = set; then
6690 enableval=$enable_dynamicloader;
6691 if test "$enableval" = yes; then
6692 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6693 else
6694 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6695 fi
6696
6697 else
6698
6699 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6700
6701 fi
6702
6703
6704 eval "$wx_cv_use_dynamicloader"
6705
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_DYNAMIC_LOADER = yes; then
6708 result=no
6709 else
6710 result=yes
6711 fi
6712 else
6713 result=$wxUSE_DYNAMIC_LOADER
6714 fi
6715
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6718
6719
6720 enablestring=
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6724 defaultval=yes
6725 else
6726 defaultval=no
6727 fi
6728 fi
6729
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6732 # Check whether --enable-exceptions was given.
6733 if test "${enable_exceptions+set}" = set; then
6734 enableval=$enable_exceptions;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6737 else
6738 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6739 fi
6740
6741 else
6742
6743 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6744
6745 fi
6746
6747
6748 eval "$wx_cv_use_exceptions"
6749
6750 if test x"$enablestring" = xdisable; then
6751 if test $wxUSE_EXCEPTIONS = yes; then
6752 result=no
6753 else
6754 result=yes
6755 fi
6756 else
6757 result=$wxUSE_EXCEPTIONS
6758 fi
6759
6760 { echo "$as_me:$LINENO: result: $result" >&5
6761 echo "${ECHO_T}$result" >&6; }
6762
6763
6764 enablestring=
6765 defaultval=$wxUSE_ALL_FEATURES
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6768 defaultval=yes
6769 else
6770 defaultval=no
6771 fi
6772 fi
6773
6774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6776 # Check whether --enable-ffile was given.
6777 if test "${enable_ffile+set}" = set; then
6778 enableval=$enable_ffile;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_ffile='wxUSE_FFILE=yes'
6781 else
6782 wx_cv_use_ffile='wxUSE_FFILE=no'
6783 fi
6784
6785 else
6786
6787 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6788
6789 fi
6790
6791
6792 eval "$wx_cv_use_ffile"
6793
6794 if test x"$enablestring" = xdisable; then
6795 if test $wxUSE_FFILE = yes; then
6796 result=no
6797 else
6798 result=yes
6799 fi
6800 else
6801 result=$wxUSE_FFILE
6802 fi
6803
6804 { echo "$as_me:$LINENO: result: $result" >&5
6805 echo "${ECHO_T}$result" >&6; }
6806
6807
6808 enablestring=
6809 defaultval=$wxUSE_ALL_FEATURES
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6812 defaultval=yes
6813 else
6814 defaultval=no
6815 fi
6816 fi
6817
6818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6820 # Check whether --enable-file was given.
6821 if test "${enable_file+set}" = set; then
6822 enableval=$enable_file;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_file='wxUSE_FILE=yes'
6825 else
6826 wx_cv_use_file='wxUSE_FILE=no'
6827 fi
6828
6829 else
6830
6831 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6832
6833 fi
6834
6835
6836 eval "$wx_cv_use_file"
6837
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_FILE = yes; then
6840 result=no
6841 else
6842 result=yes
6843 fi
6844 else
6845 result=$wxUSE_FILE
6846 fi
6847
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6850
6851
6852 enablestring=
6853 defaultval=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6856 defaultval=yes
6857 else
6858 defaultval=no
6859 fi
6860 fi
6861
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6864 # Check whether --enable-filesystem was given.
6865 if test "${enable_filesystem+set}" = set; then
6866 enableval=$enable_filesystem;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6869 else
6870 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6871 fi
6872
6873 else
6874
6875 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6876
6877 fi
6878
6879
6880 eval "$wx_cv_use_filesystem"
6881
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_FILESYSTEM = yes; then
6884 result=no
6885 else
6886 result=yes
6887 fi
6888 else
6889 result=$wxUSE_FILESYSTEM
6890 fi
6891
6892 { echo "$as_me:$LINENO: result: $result" >&5
6893 echo "${ECHO_T}$result" >&6; }
6894
6895
6896 enablestring=
6897 defaultval=$wxUSE_ALL_FEATURES
6898 if test -z "$defaultval"; then
6899 if test x"$enablestring" = xdisable; then
6900 defaultval=yes
6901 else
6902 defaultval=no
6903 fi
6904 fi
6905
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6908 # Check whether --enable-fontenum was given.
6909 if test "${enable_fontenum+set}" = set; then
6910 enableval=$enable_fontenum;
6911 if test "$enableval" = yes; then
6912 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6913 else
6914 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6915 fi
6916
6917 else
6918
6919 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6920
6921 fi
6922
6923
6924 eval "$wx_cv_use_fontenum"
6925
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_FONTENUM = yes; then
6928 result=no
6929 else
6930 result=yes
6931 fi
6932 else
6933 result=$wxUSE_FONTENUM
6934 fi
6935
6936 { echo "$as_me:$LINENO: result: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6938
6939
6940 enablestring=
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6944 defaultval=yes
6945 else
6946 defaultval=no
6947 fi
6948 fi
6949
6950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6952 # Check whether --enable-fontmap was given.
6953 if test "${enable_fontmap+set}" = set; then
6954 enableval=$enable_fontmap;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6957 else
6958 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6959 fi
6960
6961 else
6962
6963 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6964
6965 fi
6966
6967
6968 eval "$wx_cv_use_fontmap"
6969
6970 if test x"$enablestring" = xdisable; then
6971 if test $wxUSE_FONTMAP = yes; then
6972 result=no
6973 else
6974 result=yes
6975 fi
6976 else
6977 result=$wxUSE_FONTMAP
6978 fi
6979
6980 { echo "$as_me:$LINENO: result: $result" >&5
6981 echo "${ECHO_T}$result" >&6; }
6982
6983
6984 enablestring=
6985 defaultval=$wxUSE_ALL_FEATURES
6986 if test -z "$defaultval"; then
6987 if test x"$enablestring" = xdisable; then
6988 defaultval=yes
6989 else
6990 defaultval=no
6991 fi
6992 fi
6993
6994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6996 # Check whether --enable-fs_archive was given.
6997 if test "${enable_fs_archive+set}" = set; then
6998 enableval=$enable_fs_archive;
6999 if test "$enableval" = yes; then
7000 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7001 else
7002 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7003 fi
7004
7005 else
7006
7007 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7008
7009 fi
7010
7011
7012 eval "$wx_cv_use_fs_archive"
7013
7014 if test x"$enablestring" = xdisable; then
7015 if test $wxUSE_FS_ARCHIVE = yes; then
7016 result=no
7017 else
7018 result=yes
7019 fi
7020 else
7021 result=$wxUSE_FS_ARCHIVE
7022 fi
7023
7024 { echo "$as_me:$LINENO: result: $result" >&5
7025 echo "${ECHO_T}$result" >&6; }
7026
7027
7028 enablestring=
7029 defaultval=$wxUSE_ALL_FEATURES
7030 if test -z "$defaultval"; then
7031 if test x"$enablestring" = xdisable; then
7032 defaultval=yes
7033 else
7034 defaultval=no
7035 fi
7036 fi
7037
7038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7039 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7040 # Check whether --enable-fs_inet was given.
7041 if test "${enable_fs_inet+set}" = set; then
7042 enableval=$enable_fs_inet;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7045 else
7046 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7047 fi
7048
7049 else
7050
7051 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7052
7053 fi
7054
7055
7056 eval "$wx_cv_use_fs_inet"
7057
7058 if test x"$enablestring" = xdisable; then
7059 if test $wxUSE_FS_INET = yes; then
7060 result=no
7061 else
7062 result=yes
7063 fi
7064 else
7065 result=$wxUSE_FS_INET
7066 fi
7067
7068 { echo "$as_me:$LINENO: result: $result" >&5
7069 echo "${ECHO_T}$result" >&6; }
7070
7071
7072 enablestring=
7073 defaultval=$wxUSE_ALL_FEATURES
7074 if test -z "$defaultval"; then
7075 if test x"$enablestring" = xdisable; then
7076 defaultval=yes
7077 else
7078 defaultval=no
7079 fi
7080 fi
7081
7082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7084 # Check whether --enable-fs_zip was given.
7085 if test "${enable_fs_zip+set}" = set; then
7086 enableval=$enable_fs_zip;
7087 if test "$enableval" = yes; then
7088 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7089 else
7090 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7091 fi
7092
7093 else
7094
7095 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7096
7097 fi
7098
7099
7100 eval "$wx_cv_use_fs_zip"
7101
7102 if test x"$enablestring" = xdisable; then
7103 if test $wxUSE_FS_ZIP = yes; then
7104 result=no
7105 else
7106 result=yes
7107 fi
7108 else
7109 result=$wxUSE_FS_ZIP
7110 fi
7111
7112 { echo "$as_me:$LINENO: result: $result" >&5
7113 echo "${ECHO_T}$result" >&6; }
7114
7115
7116 enablestring=
7117 defaultval=$wxUSE_ALL_FEATURES
7118 if test -z "$defaultval"; then
7119 if test x"$enablestring" = xdisable; then
7120 defaultval=yes
7121 else
7122 defaultval=no
7123 fi
7124 fi
7125
7126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7128 # Check whether --enable-geometry was given.
7129 if test "${enable_geometry+set}" = set; then
7130 enableval=$enable_geometry;
7131 if test "$enableval" = yes; then
7132 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7133 else
7134 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7135 fi
7136
7137 else
7138
7139 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7140
7141 fi
7142
7143
7144 eval "$wx_cv_use_geometry"
7145
7146 if test x"$enablestring" = xdisable; then
7147 if test $wxUSE_GEOMETRY = yes; then
7148 result=no
7149 else
7150 result=yes
7151 fi
7152 else
7153 result=$wxUSE_GEOMETRY
7154 fi
7155
7156 { echo "$as_me:$LINENO: result: $result" >&5
7157 echo "${ECHO_T}$result" >&6; }
7158
7159
7160 enablestring=
7161 defaultval=$wxUSE_ALL_FEATURES
7162 if test -z "$defaultval"; then
7163 if test x"$enablestring" = xdisable; then
7164 defaultval=yes
7165 else
7166 defaultval=no
7167 fi
7168 fi
7169
7170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7172 # Check whether --enable-log was given.
7173 if test "${enable_log+set}" = set; then
7174 enableval=$enable_log;
7175 if test "$enableval" = yes; then
7176 wx_cv_use_log='wxUSE_LOG=yes'
7177 else
7178 wx_cv_use_log='wxUSE_LOG=no'
7179 fi
7180
7181 else
7182
7183 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7184
7185 fi
7186
7187
7188 eval "$wx_cv_use_log"
7189
7190 if test x"$enablestring" = xdisable; then
7191 if test $wxUSE_LOG = yes; then
7192 result=no
7193 else
7194 result=yes
7195 fi
7196 else
7197 result=$wxUSE_LOG
7198 fi
7199
7200 { echo "$as_me:$LINENO: result: $result" >&5
7201 echo "${ECHO_T}$result" >&6; }
7202
7203
7204 enablestring=
7205 defaultval=$wxUSE_ALL_FEATURES
7206 if test -z "$defaultval"; then
7207 if test x"$enablestring" = xdisable; then
7208 defaultval=yes
7209 else
7210 defaultval=no
7211 fi
7212 fi
7213
7214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7216 # Check whether --enable-longlong was given.
7217 if test "${enable_longlong+set}" = set; then
7218 enableval=$enable_longlong;
7219 if test "$enableval" = yes; then
7220 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7221 else
7222 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7223 fi
7224
7225 else
7226
7227 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7228
7229 fi
7230
7231
7232 eval "$wx_cv_use_longlong"
7233
7234 if test x"$enablestring" = xdisable; then
7235 if test $wxUSE_LONGLONG = yes; then
7236 result=no
7237 else
7238 result=yes
7239 fi
7240 else
7241 result=$wxUSE_LONGLONG
7242 fi
7243
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7246
7247
7248 enablestring=
7249 defaultval=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x"$enablestring" = xdisable; then
7252 defaultval=yes
7253 else
7254 defaultval=no
7255 fi
7256 fi
7257
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7260 # Check whether --enable-mimetype was given.
7261 if test "${enable_mimetype+set}" = set; then
7262 enableval=$enable_mimetype;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7265 else
7266 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7267 fi
7268
7269 else
7270
7271 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7272
7273 fi
7274
7275
7276 eval "$wx_cv_use_mimetype"
7277
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_MIMETYPE = yes; then
7280 result=no
7281 else
7282 result=yes
7283 fi
7284 else
7285 result=$wxUSE_MIMETYPE
7286 fi
7287
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7290
7291
7292 enablestring=
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7296 defaultval=yes
7297 else
7298 defaultval=no
7299 fi
7300 fi
7301
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7304 # Check whether --enable-printfposparam was given.
7305 if test "${enable_printfposparam+set}" = set; then
7306 enableval=$enable_printfposparam;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7309 else
7310 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7311 fi
7312
7313 else
7314
7315 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7316
7317 fi
7318
7319
7320 eval "$wx_cv_use_printfposparam"
7321
7322 if test x"$enablestring" = xdisable; then
7323 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7324 result=no
7325 else
7326 result=yes
7327 fi
7328 else
7329 result=$wxUSE_PRINTF_POS_PARAMS
7330 fi
7331
7332 { echo "$as_me:$LINENO: result: $result" >&5
7333 echo "${ECHO_T}$result" >&6; }
7334
7335
7336 enablestring=
7337 defaultval=$wxUSE_ALL_FEATURES
7338 if test -z "$defaultval"; then
7339 if test x"$enablestring" = xdisable; then
7340 defaultval=yes
7341 else
7342 defaultval=no
7343 fi
7344 fi
7345
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7348 # Check whether --enable-snglinst was given.
7349 if test "${enable_snglinst+set}" = set; then
7350 enableval=$enable_snglinst;
7351 if test "$enableval" = yes; then
7352 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7353 else
7354 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7355 fi
7356
7357 else
7358
7359 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7360
7361 fi
7362
7363
7364 eval "$wx_cv_use_snglinst"
7365
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_SNGLINST_CHECKER = yes; then
7368 result=no
7369 else
7370 result=yes
7371 fi
7372 else
7373 result=$wxUSE_SNGLINST_CHECKER
7374 fi
7375
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7378
7379
7380 enablestring=
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7384 defaultval=yes
7385 else
7386 defaultval=no
7387 fi
7388 fi
7389
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7392 # Check whether --enable-sound was given.
7393 if test "${enable_sound+set}" = set; then
7394 enableval=$enable_sound;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_sound='wxUSE_SOUND=yes'
7397 else
7398 wx_cv_use_sound='wxUSE_SOUND=no'
7399 fi
7400
7401 else
7402
7403 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7404
7405 fi
7406
7407
7408 eval "$wx_cv_use_sound"
7409
7410 if test x"$enablestring" = xdisable; then
7411 if test $wxUSE_SOUND = yes; then
7412 result=no
7413 else
7414 result=yes
7415 fi
7416 else
7417 result=$wxUSE_SOUND
7418 fi
7419
7420 { echo "$as_me:$LINENO: result: $result" >&5
7421 echo "${ECHO_T}$result" >&6; }
7422
7423
7424 enablestring=
7425 defaultval=$wxUSE_ALL_FEATURES
7426 if test -z "$defaultval"; then
7427 if test x"$enablestring" = xdisable; then
7428 defaultval=yes
7429 else
7430 defaultval=no
7431 fi
7432 fi
7433
7434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7436 # Check whether --enable-stdpaths was given.
7437 if test "${enable_stdpaths+set}" = set; then
7438 enableval=$enable_stdpaths;
7439 if test "$enableval" = yes; then
7440 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7441 else
7442 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7443 fi
7444
7445 else
7446
7447 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7448
7449 fi
7450
7451
7452 eval "$wx_cv_use_stdpaths"
7453
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_STDPATHS = yes; then
7456 result=no
7457 else
7458 result=yes
7459 fi
7460 else
7461 result=$wxUSE_STDPATHS
7462 fi
7463
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7466
7467
7468 enablestring=
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7472 defaultval=yes
7473 else
7474 defaultval=no
7475 fi
7476 fi
7477
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7480 # Check whether --enable-stopwatch was given.
7481 if test "${enable_stopwatch+set}" = set; then
7482 enableval=$enable_stopwatch;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7485 else
7486 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7487 fi
7488
7489 else
7490
7491 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7492
7493 fi
7494
7495
7496 eval "$wx_cv_use_stopwatch"
7497
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_STOPWATCH = yes; then
7500 result=no
7501 else
7502 result=yes
7503 fi
7504 else
7505 result=$wxUSE_STOPWATCH
7506 fi
7507
7508 { echo "$as_me:$LINENO: result: $result" >&5
7509 echo "${ECHO_T}$result" >&6; }
7510
7511
7512 enablestring=
7513 defaultval=$wxUSE_ALL_FEATURES
7514 if test -z "$defaultval"; then
7515 if test x"$enablestring" = xdisable; then
7516 defaultval=yes
7517 else
7518 defaultval=no
7519 fi
7520 fi
7521
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7524 # Check whether --enable-streams was given.
7525 if test "${enable_streams+set}" = set; then
7526 enableval=$enable_streams;
7527 if test "$enableval" = yes; then
7528 wx_cv_use_streams='wxUSE_STREAMS=yes'
7529 else
7530 wx_cv_use_streams='wxUSE_STREAMS=no'
7531 fi
7532
7533 else
7534
7535 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7536
7537 fi
7538
7539
7540 eval "$wx_cv_use_streams"
7541
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_STREAMS = yes; then
7544 result=no
7545 else
7546 result=yes
7547 fi
7548 else
7549 result=$wxUSE_STREAMS
7550 fi
7551
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7554
7555
7556 enablestring=
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7560 defaultval=yes
7561 else
7562 defaultval=no
7563 fi
7564 fi
7565
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7568 # Check whether --enable-system_options was given.
7569 if test "${enable_system_options+set}" = set; then
7570 enableval=$enable_system_options;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7573 else
7574 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7575 fi
7576
7577 else
7578
7579 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7580
7581 fi
7582
7583
7584 eval "$wx_cv_use_system_options"
7585
7586 if test x"$enablestring" = xdisable; then
7587 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7588 result=no
7589 else
7590 result=yes
7591 fi
7592 else
7593 result=$wxUSE_SYSTEM_OPTIONS
7594 fi
7595
7596 { echo "$as_me:$LINENO: result: $result" >&5
7597 echo "${ECHO_T}$result" >&6; }
7598
7599
7600 enablestring=
7601 defaultval=$wxUSE_ALL_FEATURES
7602 if test -z "$defaultval"; then
7603 if test x"$enablestring" = xdisable; then
7604 defaultval=yes
7605 else
7606 defaultval=no
7607 fi
7608 fi
7609
7610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7611 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7612 # Check whether --enable-tarstream was given.
7613 if test "${enable_tarstream+set}" = set; then
7614 enableval=$enable_tarstream;
7615 if test "$enableval" = yes; then
7616 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7617 else
7618 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7619 fi
7620
7621 else
7622
7623 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7624
7625 fi
7626
7627
7628 eval "$wx_cv_use_tarstream"
7629
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_TARSTREAM = yes; then
7632 result=no
7633 else
7634 result=yes
7635 fi
7636 else
7637 result=$wxUSE_TARSTREAM
7638 fi
7639
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7642
7643
7644 enablestring=
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7648 defaultval=yes
7649 else
7650 defaultval=no
7651 fi
7652 fi
7653
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7656 # Check whether --enable-textbuf was given.
7657 if test "${enable_textbuf+set}" = set; then
7658 enableval=$enable_textbuf;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7661 else
7662 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7663 fi
7664
7665 else
7666
7667 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7668
7669 fi
7670
7671
7672 eval "$wx_cv_use_textbuf"
7673
7674 if test x"$enablestring" = xdisable; then
7675 if test $wxUSE_TEXTBUFFER = yes; then
7676 result=no
7677 else
7678 result=yes
7679 fi
7680 else
7681 result=$wxUSE_TEXTBUFFER
7682 fi
7683
7684 { echo "$as_me:$LINENO: result: $result" >&5
7685 echo "${ECHO_T}$result" >&6; }
7686
7687
7688 enablestring=
7689 defaultval=$wxUSE_ALL_FEATURES
7690 if test -z "$defaultval"; then
7691 if test x"$enablestring" = xdisable; then
7692 defaultval=yes
7693 else
7694 defaultval=no
7695 fi
7696 fi
7697
7698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7700 # Check whether --enable-textfile was given.
7701 if test "${enable_textfile+set}" = set; then
7702 enableval=$enable_textfile;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7705 else
7706 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7707 fi
7708
7709 else
7710
7711 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7712
7713 fi
7714
7715
7716 eval "$wx_cv_use_textfile"
7717
7718 if test x"$enablestring" = xdisable; then
7719 if test $wxUSE_TEXTFILE = yes; then
7720 result=no
7721 else
7722 result=yes
7723 fi
7724 else
7725 result=$wxUSE_TEXTFILE
7726 fi
7727
7728 { echo "$as_me:$LINENO: result: $result" >&5
7729 echo "${ECHO_T}$result" >&6; }
7730
7731
7732 enablestring=
7733 defaultval=$wxUSE_ALL_FEATURES
7734 if test -z "$defaultval"; then
7735 if test x"$enablestring" = xdisable; then
7736 defaultval=yes
7737 else
7738 defaultval=no
7739 fi
7740 fi
7741
7742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7744 # Check whether --enable-timer was given.
7745 if test "${enable_timer+set}" = set; then
7746 enableval=$enable_timer;
7747 if test "$enableval" = yes; then
7748 wx_cv_use_timer='wxUSE_TIMER=yes'
7749 else
7750 wx_cv_use_timer='wxUSE_TIMER=no'
7751 fi
7752
7753 else
7754
7755 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7756
7757 fi
7758
7759
7760 eval "$wx_cv_use_timer"
7761
7762 if test x"$enablestring" = xdisable; then
7763 if test $wxUSE_TIMER = yes; then
7764 result=no
7765 else
7766 result=yes
7767 fi
7768 else
7769 result=$wxUSE_TIMER
7770 fi
7771
7772 { echo "$as_me:$LINENO: result: $result" >&5
7773 echo "${ECHO_T}$result" >&6; }
7774
7775
7776 enablestring=
7777 defaultval=$wxUSE_ALL_FEATURES
7778 if test -z "$defaultval"; then
7779 if test x"$enablestring" = xdisable; then
7780 defaultval=yes
7781 else
7782 defaultval=no
7783 fi
7784 fi
7785
7786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7788 # Check whether --enable-variant was given.
7789 if test "${enable_variant+set}" = set; then
7790 enableval=$enable_variant;
7791 if test "$enableval" = yes; then
7792 wx_cv_use_variant='wxUSE_VARIANT=yes'
7793 else
7794 wx_cv_use_variant='wxUSE_VARIANT=no'
7795 fi
7796
7797 else
7798
7799 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7800
7801 fi
7802
7803
7804 eval "$wx_cv_use_variant"
7805
7806 if test x"$enablestring" = xdisable; then
7807 if test $wxUSE_VARIANT = yes; then
7808 result=no
7809 else
7810 result=yes
7811 fi
7812 else
7813 result=$wxUSE_VARIANT
7814 fi
7815
7816 { echo "$as_me:$LINENO: result: $result" >&5
7817 echo "${ECHO_T}$result" >&6; }
7818
7819
7820 enablestring=
7821 defaultval=$wxUSE_ALL_FEATURES
7822 if test -z "$defaultval"; then
7823 if test x"$enablestring" = xdisable; then
7824 defaultval=yes
7825 else
7826 defaultval=no
7827 fi
7828 fi
7829
7830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7832 # Check whether --enable-zipstream was given.
7833 if test "${enable_zipstream+set}" = set; then
7834 enableval=$enable_zipstream;
7835 if test "$enableval" = yes; then
7836 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7837 else
7838 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7839 fi
7840
7841 else
7842
7843 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7844
7845 fi
7846
7847
7848 eval "$wx_cv_use_zipstream"
7849
7850 if test x"$enablestring" = xdisable; then
7851 if test $wxUSE_ZIPSTREAM = yes; then
7852 result=no
7853 else
7854 result=yes
7855 fi
7856 else
7857 result=$wxUSE_ZIPSTREAM
7858 fi
7859
7860 { echo "$as_me:$LINENO: result: $result" >&5
7861 echo "${ECHO_T}$result" >&6; }
7862
7863
7864
7865 enablestring=
7866 defaultval=$wxUSE_ALL_FEATURES
7867 if test -z "$defaultval"; then
7868 if test x"$enablestring" = xdisable; then
7869 defaultval=yes
7870 else
7871 defaultval=no
7872 fi
7873 fi
7874
7875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7876 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7877 # Check whether --enable-url was given.
7878 if test "${enable_url+set}" = set; then
7879 enableval=$enable_url;
7880 if test "$enableval" = yes; then
7881 wx_cv_use_url='wxUSE_URL=yes'
7882 else
7883 wx_cv_use_url='wxUSE_URL=no'
7884 fi
7885
7886 else
7887
7888 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7889
7890 fi
7891
7892
7893 eval "$wx_cv_use_url"
7894
7895 if test x"$enablestring" = xdisable; then
7896 if test $wxUSE_URL = yes; then
7897 result=no
7898 else
7899 result=yes
7900 fi
7901 else
7902 result=$wxUSE_URL
7903 fi
7904
7905 { echo "$as_me:$LINENO: result: $result" >&5
7906 echo "${ECHO_T}$result" >&6; }
7907
7908
7909 enablestring=
7910 defaultval=$wxUSE_ALL_FEATURES
7911 if test -z "$defaultval"; then
7912 if test x"$enablestring" = xdisable; then
7913 defaultval=yes
7914 else
7915 defaultval=no
7916 fi
7917 fi
7918
7919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7921 # Check whether --enable-protocol was given.
7922 if test "${enable_protocol+set}" = set; then
7923 enableval=$enable_protocol;
7924 if test "$enableval" = yes; then
7925 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7926 else
7927 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7928 fi
7929
7930 else
7931
7932 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7933
7934 fi
7935
7936
7937 eval "$wx_cv_use_protocol"
7938
7939 if test x"$enablestring" = xdisable; then
7940 if test $wxUSE_PROTOCOL = yes; then
7941 result=no
7942 else
7943 result=yes
7944 fi
7945 else
7946 result=$wxUSE_PROTOCOL
7947 fi
7948
7949 { echo "$as_me:$LINENO: result: $result" >&5
7950 echo "${ECHO_T}$result" >&6; }
7951
7952
7953 enablestring=
7954 defaultval=$wxUSE_ALL_FEATURES
7955 if test -z "$defaultval"; then
7956 if test x"$enablestring" = xdisable; then
7957 defaultval=yes
7958 else
7959 defaultval=no
7960 fi
7961 fi
7962
7963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7965 # Check whether --enable-protocol_http was given.
7966 if test "${enable_protocol_http+set}" = set; then
7967 enableval=$enable_protocol_http;
7968 if test "$enableval" = yes; then
7969 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7970 else
7971 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7972 fi
7973
7974 else
7975
7976 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7977
7978 fi
7979
7980
7981 eval "$wx_cv_use_protocol_http"
7982
7983 if test x"$enablestring" = xdisable; then
7984 if test $wxUSE_PROTOCOL_HTTP = yes; then
7985 result=no
7986 else
7987 result=yes
7988 fi
7989 else
7990 result=$wxUSE_PROTOCOL_HTTP
7991 fi
7992
7993 { echo "$as_me:$LINENO: result: $result" >&5
7994 echo "${ECHO_T}$result" >&6; }
7995
7996
7997 enablestring=
7998 defaultval=$wxUSE_ALL_FEATURES
7999 if test -z "$defaultval"; then
8000 if test x"$enablestring" = xdisable; then
8001 defaultval=yes
8002 else
8003 defaultval=no
8004 fi
8005 fi
8006
8007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8009 # Check whether --enable-protocol_ftp was given.
8010 if test "${enable_protocol_ftp+set}" = set; then
8011 enableval=$enable_protocol_ftp;
8012 if test "$enableval" = yes; then
8013 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8014 else
8015 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8016 fi
8017
8018 else
8019
8020 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8021
8022 fi
8023
8024
8025 eval "$wx_cv_use_protocol_ftp"
8026
8027 if test x"$enablestring" = xdisable; then
8028 if test $wxUSE_PROTOCOL_FTP = yes; then
8029 result=no
8030 else
8031 result=yes
8032 fi
8033 else
8034 result=$wxUSE_PROTOCOL_FTP
8035 fi
8036
8037 { echo "$as_me:$LINENO: result: $result" >&5
8038 echo "${ECHO_T}$result" >&6; }
8039
8040
8041 enablestring=
8042 defaultval=$wxUSE_ALL_FEATURES
8043 if test -z "$defaultval"; then
8044 if test x"$enablestring" = xdisable; then
8045 defaultval=yes
8046 else
8047 defaultval=no
8048 fi
8049 fi
8050
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8053 # Check whether --enable-protocol_file was given.
8054 if test "${enable_protocol_file+set}" = set; then
8055 enableval=$enable_protocol_file;
8056 if test "$enableval" = yes; then
8057 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8058 else
8059 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8060 fi
8061
8062 else
8063
8064 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8065
8066 fi
8067
8068
8069 eval "$wx_cv_use_protocol_file"
8070
8071 if test x"$enablestring" = xdisable; then
8072 if test $wxUSE_PROTOCOL_FILE = yes; then
8073 result=no
8074 else
8075 result=yes
8076 fi
8077 else
8078 result=$wxUSE_PROTOCOL_FILE
8079 fi
8080
8081 { echo "$as_me:$LINENO: result: $result" >&5
8082 echo "${ECHO_T}$result" >&6; }
8083
8084
8085
8086 enablestring=
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8090 defaultval=yes
8091 else
8092 defaultval=no
8093 fi
8094 fi
8095
8096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8098 # Check whether --enable-threads was given.
8099 if test "${enable_threads+set}" = set; then
8100 enableval=$enable_threads;
8101 if test "$enableval" = yes; then
8102 wx_cv_use_threads='wxUSE_THREADS=yes'
8103 else
8104 wx_cv_use_threads='wxUSE_THREADS=no'
8105 fi
8106
8107 else
8108
8109 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8110
8111 fi
8112
8113
8114 eval "$wx_cv_use_threads"
8115
8116 if test x"$enablestring" = xdisable; then
8117 if test $wxUSE_THREADS = yes; then
8118 result=no
8119 else
8120 result=yes
8121 fi
8122 else
8123 result=$wxUSE_THREADS
8124 fi
8125
8126 { echo "$as_me:$LINENO: result: $result" >&5
8127 echo "${ECHO_T}$result" >&6; }
8128
8129
8130
8131 enablestring=
8132 defaultval=
8133 if test -z "$defaultval"; then
8134 if test x"$enablestring" = xdisable; then
8135 defaultval=yes
8136 else
8137 defaultval=no
8138 fi
8139 fi
8140
8141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8143 # Check whether --enable-iniconf was given.
8144 if test "${enable_iniconf+set}" = set; then
8145 enableval=$enable_iniconf;
8146 if test "$enableval" = yes; then
8147 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8148 else
8149 wx_cv_use_iniconf='wxUSE_INICONF=no'
8150 fi
8151
8152 else
8153
8154 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8155
8156 fi
8157
8158
8159 eval "$wx_cv_use_iniconf"
8160
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_INICONF = yes; then
8163 result=no
8164 else
8165 result=yes
8166 fi
8167 else
8168 result=$wxUSE_INICONF
8169 fi
8170
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8173
8174
8175 enablestring=
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8179 defaultval=yes
8180 else
8181 defaultval=no
8182 fi
8183 fi
8184
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8187 # Check whether --enable-regkey was given.
8188 if test "${enable_regkey+set}" = set; then
8189 enableval=$enable_regkey;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8192 else
8193 wx_cv_use_regkey='wxUSE_REGKEY=no'
8194 fi
8195
8196 else
8197
8198 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8199
8200 fi
8201
8202
8203 eval "$wx_cv_use_regkey"
8204
8205 if test x"$enablestring" = xdisable; then
8206 if test $wxUSE_REGKEY = yes; then
8207 result=no
8208 else
8209 result=yes
8210 fi
8211 else
8212 result=$wxUSE_REGKEY
8213 fi
8214
8215 { echo "$as_me:$LINENO: result: $result" >&5
8216 echo "${ECHO_T}$result" >&6; }
8217
8218
8219 if test "$wxUSE_GUI" = "yes"; then
8220
8221
8222
8223 enablestring=
8224 defaultval=$wxUSE_ALL_FEATURES
8225 if test -z "$defaultval"; then
8226 if test x"$enablestring" = xdisable; then
8227 defaultval=yes
8228 else
8229 defaultval=no
8230 fi
8231 fi
8232
8233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8235 # Check whether --enable-docview was given.
8236 if test "${enable_docview+set}" = set; then
8237 enableval=$enable_docview;
8238 if test "$enableval" = yes; then
8239 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8240 else
8241 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8242 fi
8243
8244 else
8245
8246 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8247
8248 fi
8249
8250
8251 eval "$wx_cv_use_docview"
8252
8253 if test x"$enablestring" = xdisable; then
8254 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8255 result=no
8256 else
8257 result=yes
8258 fi
8259 else
8260 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8261 fi
8262
8263 { echo "$as_me:$LINENO: result: $result" >&5
8264 echo "${ECHO_T}$result" >&6; }
8265
8266
8267 enablestring=
8268 defaultval=$wxUSE_ALL_FEATURES
8269 if test -z "$defaultval"; then
8270 if test x"$enablestring" = xdisable; then
8271 defaultval=yes
8272 else
8273 defaultval=no
8274 fi
8275 fi
8276
8277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8279 # Check whether --enable-help was given.
8280 if test "${enable_help+set}" = set; then
8281 enableval=$enable_help;
8282 if test "$enableval" = yes; then
8283 wx_cv_use_help='wxUSE_HELP=yes'
8284 else
8285 wx_cv_use_help='wxUSE_HELP=no'
8286 fi
8287
8288 else
8289
8290 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8291
8292 fi
8293
8294
8295 eval "$wx_cv_use_help"
8296
8297 if test x"$enablestring" = xdisable; then
8298 if test $wxUSE_HELP = yes; then
8299 result=no
8300 else
8301 result=yes
8302 fi
8303 else
8304 result=$wxUSE_HELP
8305 fi
8306
8307 { echo "$as_me:$LINENO: result: $result" >&5
8308 echo "${ECHO_T}$result" >&6; }
8309
8310
8311 enablestring=
8312 defaultval=$wxUSE_ALL_FEATURES
8313 if test -z "$defaultval"; then
8314 if test x"$enablestring" = xdisable; then
8315 defaultval=yes
8316 else
8317 defaultval=no
8318 fi
8319 fi
8320
8321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8323 # Check whether --enable-mshtmlhelp was given.
8324 if test "${enable_mshtmlhelp+set}" = set; then
8325 enableval=$enable_mshtmlhelp;
8326 if test "$enableval" = yes; then
8327 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8328 else
8329 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8330 fi
8331
8332 else
8333
8334 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8335
8336 fi
8337
8338
8339 eval "$wx_cv_use_mshtmlhelp"
8340
8341 if test x"$enablestring" = xdisable; then
8342 if test $wxUSE_MS_HTML_HELP = yes; then
8343 result=no
8344 else
8345 result=yes
8346 fi
8347 else
8348 result=$wxUSE_MS_HTML_HELP
8349 fi
8350
8351 { echo "$as_me:$LINENO: result: $result" >&5
8352 echo "${ECHO_T}$result" >&6; }
8353
8354
8355 enablestring=
8356 defaultval=$wxUSE_ALL_FEATURES
8357 if test -z "$defaultval"; then
8358 if test x"$enablestring" = xdisable; then
8359 defaultval=yes
8360 else
8361 defaultval=no
8362 fi
8363 fi
8364
8365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8366 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8367 # Check whether --enable-html was given.
8368 if test "${enable_html+set}" = set; then
8369 enableval=$enable_html;
8370 if test "$enableval" = yes; then
8371 wx_cv_use_html='wxUSE_HTML=yes'
8372 else
8373 wx_cv_use_html='wxUSE_HTML=no'
8374 fi
8375
8376 else
8377
8378 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8379
8380 fi
8381
8382
8383 eval "$wx_cv_use_html"
8384
8385 if test x"$enablestring" = xdisable; then
8386 if test $wxUSE_HTML = yes; then
8387 result=no
8388 else
8389 result=yes
8390 fi
8391 else
8392 result=$wxUSE_HTML
8393 fi
8394
8395 { echo "$as_me:$LINENO: result: $result" >&5
8396 echo "${ECHO_T}$result" >&6; }
8397
8398
8399 enablestring=
8400 defaultval=$wxUSE_ALL_FEATURES
8401 if test -z "$defaultval"; then
8402 if test x"$enablestring" = xdisable; then
8403 defaultval=yes
8404 else
8405 defaultval=no
8406 fi
8407 fi
8408
8409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8411 # Check whether --enable-htmlhelp was given.
8412 if test "${enable_htmlhelp+set}" = set; then
8413 enableval=$enable_htmlhelp;
8414 if test "$enableval" = yes; then
8415 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8416 else
8417 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8418 fi
8419
8420 else
8421
8422 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8423
8424 fi
8425
8426
8427 eval "$wx_cv_use_htmlhelp"
8428
8429 if test x"$enablestring" = xdisable; then
8430 if test $wxUSE_WXHTML_HELP = yes; then
8431 result=no
8432 else
8433 result=yes
8434 fi
8435 else
8436 result=$wxUSE_WXHTML_HELP
8437 fi
8438
8439 { echo "$as_me:$LINENO: result: $result" >&5
8440 echo "${ECHO_T}$result" >&6; }
8441
8442
8443 enablestring=
8444 defaultval=$wxUSE_ALL_FEATURES
8445 if test -z "$defaultval"; then
8446 if test x"$enablestring" = xdisable; then
8447 defaultval=yes
8448 else
8449 defaultval=no
8450 fi
8451 fi
8452
8453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8454 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8455 # Check whether --enable-xrc was given.
8456 if test "${enable_xrc+set}" = set; then
8457 enableval=$enable_xrc;
8458 if test "$enableval" = yes; then
8459 wx_cv_use_xrc='wxUSE_XRC=yes'
8460 else
8461 wx_cv_use_xrc='wxUSE_XRC=no'
8462 fi
8463
8464 else
8465
8466 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8467
8468 fi
8469
8470
8471 eval "$wx_cv_use_xrc"
8472
8473 if test x"$enablestring" = xdisable; then
8474 if test $wxUSE_XRC = yes; then
8475 result=no
8476 else
8477 result=yes
8478 fi
8479 else
8480 result=$wxUSE_XRC
8481 fi
8482
8483 { echo "$as_me:$LINENO: result: $result" >&5
8484 echo "${ECHO_T}$result" >&6; }
8485
8486
8487 enablestring=
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8491 defaultval=yes
8492 else
8493 defaultval=no
8494 fi
8495 fi
8496
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8499 # Check whether --enable-aui was given.
8500 if test "${enable_aui+set}" = set; then
8501 enableval=$enable_aui;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_aui='wxUSE_AUI=yes'
8504 else
8505 wx_cv_use_aui='wxUSE_AUI=no'
8506 fi
8507
8508 else
8509
8510 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8511
8512 fi
8513
8514
8515 eval "$wx_cv_use_aui"
8516
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_AUI = yes; then
8519 result=no
8520 else
8521 result=yes
8522 fi
8523 else
8524 result=$wxUSE_AUI
8525 fi
8526
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8529
8530
8531 enablestring=
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8535 defaultval=yes
8536 else
8537 defaultval=no
8538 fi
8539 fi
8540
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8543 # Check whether --enable-stc was given.
8544 if test "${enable_stc+set}" = set; then
8545 enableval=$enable_stc;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_stc='wxUSE_STC=yes'
8548 else
8549 wx_cv_use_stc='wxUSE_STC=no'
8550 fi
8551
8552 else
8553
8554 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8555
8556 fi
8557
8558
8559 eval "$wx_cv_use_stc"
8560
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_STC = yes; then
8563 result=no
8564 else
8565 result=yes
8566 fi
8567 else
8568 result=$wxUSE_STC
8569 fi
8570
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8573
8574
8575 enablestring=
8576 defaultval=$wxUSE_ALL_FEATURES
8577 if test -z "$defaultval"; then
8578 if test x"$enablestring" = xdisable; then
8579 defaultval=yes
8580 else
8581 defaultval=no
8582 fi
8583 fi
8584
8585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8587 # Check whether --enable-constraints was given.
8588 if test "${enable_constraints+set}" = set; then
8589 enableval=$enable_constraints;
8590 if test "$enableval" = yes; then
8591 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8592 else
8593 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8594 fi
8595
8596 else
8597
8598 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8599
8600 fi
8601
8602
8603 eval "$wx_cv_use_constraints"
8604
8605 if test x"$enablestring" = xdisable; then
8606 if test $wxUSE_CONSTRAINTS = yes; then
8607 result=no
8608 else
8609 result=yes
8610 fi
8611 else
8612 result=$wxUSE_CONSTRAINTS
8613 fi
8614
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8617
8618
8619 enablestring=
8620 defaultval=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x"$enablestring" = xdisable; then
8623 defaultval=yes
8624 else
8625 defaultval=no
8626 fi
8627 fi
8628
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8631 # Check whether --enable-loggui was given.
8632 if test "${enable_loggui+set}" = set; then
8633 enableval=$enable_loggui;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8636 else
8637 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8638 fi
8639
8640 else
8641
8642 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8643
8644 fi
8645
8646
8647 eval "$wx_cv_use_loggui"
8648
8649 if test x"$enablestring" = xdisable; then
8650 if test $wxUSE_LOGGUI = yes; then
8651 result=no
8652 else
8653 result=yes
8654 fi
8655 else
8656 result=$wxUSE_LOGGUI
8657 fi
8658
8659 { echo "$as_me:$LINENO: result: $result" >&5
8660 echo "${ECHO_T}$result" >&6; }
8661
8662
8663 enablestring=
8664 defaultval=$wxUSE_ALL_FEATURES
8665 if test -z "$defaultval"; then
8666 if test x"$enablestring" = xdisable; then
8667 defaultval=yes
8668 else
8669 defaultval=no
8670 fi
8671 fi
8672
8673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8675 # Check whether --enable-logwin was given.
8676 if test "${enable_logwin+set}" = set; then
8677 enableval=$enable_logwin;
8678 if test "$enableval" = yes; then
8679 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8680 else
8681 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8682 fi
8683
8684 else
8685
8686 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8687
8688 fi
8689
8690
8691 eval "$wx_cv_use_logwin"
8692
8693 if test x"$enablestring" = xdisable; then
8694 if test $wxUSE_LOGWINDOW = yes; then
8695 result=no
8696 else
8697 result=yes
8698 fi
8699 else
8700 result=$wxUSE_LOGWINDOW
8701 fi
8702
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8705
8706
8707 enablestring=
8708 defaultval=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x"$enablestring" = xdisable; then
8711 defaultval=yes
8712 else
8713 defaultval=no
8714 fi
8715 fi
8716
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8719 # Check whether --enable-logdialog was given.
8720 if test "${enable_logdialog+set}" = set; then
8721 enableval=$enable_logdialog;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8724 else
8725 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8726 fi
8727
8728 else
8729
8730 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8731
8732 fi
8733
8734
8735 eval "$wx_cv_use_logdialog"
8736
8737 if test x"$enablestring" = xdisable; then
8738 if test $wxUSE_LOGDIALOG = yes; then
8739 result=no
8740 else
8741 result=yes
8742 fi
8743 else
8744 result=$wxUSE_LOGDIALOG
8745 fi
8746
8747 { echo "$as_me:$LINENO: result: $result" >&5
8748 echo "${ECHO_T}$result" >&6; }
8749
8750
8751 enablestring=
8752 defaultval=$wxUSE_ALL_FEATURES
8753 if test -z "$defaultval"; then
8754 if test x"$enablestring" = xdisable; then
8755 defaultval=yes
8756 else
8757 defaultval=no
8758 fi
8759 fi
8760
8761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8763 # Check whether --enable-mdi was given.
8764 if test "${enable_mdi+set}" = set; then
8765 enableval=$enable_mdi;
8766 if test "$enableval" = yes; then
8767 wx_cv_use_mdi='wxUSE_MDI=yes'
8768 else
8769 wx_cv_use_mdi='wxUSE_MDI=no'
8770 fi
8771
8772 else
8773
8774 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8775
8776 fi
8777
8778
8779 eval "$wx_cv_use_mdi"
8780
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_MDI = yes; then
8783 result=no
8784 else
8785 result=yes
8786 fi
8787 else
8788 result=$wxUSE_MDI
8789 fi
8790
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8793
8794
8795 enablestring=
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8799 defaultval=yes
8800 else
8801 defaultval=no
8802 fi
8803 fi
8804
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8807 # Check whether --enable-mdidoc was given.
8808 if test "${enable_mdidoc+set}" = set; then
8809 enableval=$enable_mdidoc;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8812 else
8813 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8814 fi
8815
8816 else
8817
8818 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8819
8820 fi
8821
8822
8823 eval "$wx_cv_use_mdidoc"
8824
8825 if test x"$enablestring" = xdisable; then
8826 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8827 result=no
8828 else
8829 result=yes
8830 fi
8831 else
8832 result=$wxUSE_MDI_ARCHITECTURE
8833 fi
8834
8835 { echo "$as_me:$LINENO: result: $result" >&5
8836 echo "${ECHO_T}$result" >&6; }
8837
8838
8839 enablestring=
8840 defaultval=$wxUSE_ALL_FEATURES
8841 if test -z "$defaultval"; then
8842 if test x"$enablestring" = xdisable; then
8843 defaultval=yes
8844 else
8845 defaultval=no
8846 fi
8847 fi
8848
8849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8851 # Check whether --enable-mediactrl was given.
8852 if test "${enable_mediactrl+set}" = set; then
8853 enableval=$enable_mediactrl;
8854 if test "$enableval" = yes; then
8855 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8856 else
8857 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8858 fi
8859
8860 else
8861
8862 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8863
8864 fi
8865
8866
8867 eval "$wx_cv_use_mediactrl"
8868
8869 if test x"$enablestring" = xdisable; then
8870 if test $wxUSE_MEDIACTRL = yes; then
8871 result=no
8872 else
8873 result=yes
8874 fi
8875 else
8876 result=$wxUSE_MEDIACTRL
8877 fi
8878
8879 { echo "$as_me:$LINENO: result: $result" >&5
8880 echo "${ECHO_T}$result" >&6; }
8881
8882
8883 enablestring=
8884 defaultval=$wxUSE_ALL_FEATURES
8885 if test -z "$defaultval"; then
8886 if test x"$enablestring" = xdisable; then
8887 defaultval=yes
8888 else
8889 defaultval=no
8890 fi
8891 fi
8892
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8895 # Check whether --enable-gstreamer8 was given.
8896 if test "${enable_gstreamer8+set}" = set; then
8897 enableval=$enable_gstreamer8;
8898 if test "$enableval" = yes; then
8899 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8900 else
8901 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8902 fi
8903
8904 else
8905
8906 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8907
8908 fi
8909
8910
8911 eval "$wx_cv_use_gstreamer8"
8912
8913 if test x"$enablestring" = xdisable; then
8914 if test $wxUSE_GSTREAMER8 = yes; then
8915 result=no
8916 else
8917 result=yes
8918 fi
8919 else
8920 result=$wxUSE_GSTREAMER8
8921 fi
8922
8923 { echo "$as_me:$LINENO: result: $result" >&5
8924 echo "${ECHO_T}$result" >&6; }
8925
8926
8927 enablestring=
8928 defaultval=$wxUSE_ALL_FEATURES
8929 if test -z "$defaultval"; then
8930 if test x"$enablestring" = xdisable; then
8931 defaultval=yes
8932 else
8933 defaultval=no
8934 fi
8935 fi
8936
8937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8939 # Check whether --enable-webkit was given.
8940 if test "${enable_webkit+set}" = set; then
8941 enableval=$enable_webkit;
8942 if test "$enableval" = yes; then
8943 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8944 else
8945 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8946 fi
8947
8948 else
8949
8950 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8951
8952 fi
8953
8954
8955 eval "$wx_cv_use_webkit"
8956
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_WEBKIT = yes; then
8959 result=no
8960 else
8961 result=yes
8962 fi
8963 else
8964 result=$wxUSE_WEBKIT
8965 fi
8966
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8969
8970
8971 enablestring=
8972 defaultval=$wxUSE_ALL_FEATURES
8973 if test -z "$defaultval"; then
8974 if test x"$enablestring" = xdisable; then
8975 defaultval=yes
8976 else
8977 defaultval=no
8978 fi
8979 fi
8980
8981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8983 # Check whether --enable-richtext was given.
8984 if test "${enable_richtext+set}" = set; then
8985 enableval=$enable_richtext;
8986 if test "$enableval" = yes; then
8987 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8988 else
8989 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8990 fi
8991
8992 else
8993
8994 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8995
8996 fi
8997
8998
8999 eval "$wx_cv_use_richtext"
9000
9001 if test x"$enablestring" = xdisable; then
9002 if test $wxUSE_RICHTEXT = yes; then
9003 result=no
9004 else
9005 result=yes
9006 fi
9007 else
9008 result=$wxUSE_RICHTEXT
9009 fi
9010
9011 { echo "$as_me:$LINENO: result: $result" >&5
9012 echo "${ECHO_T}$result" >&6; }
9013
9014
9015 enablestring=
9016 defaultval=$wxUSE_ALL_FEATURES
9017 if test -z "$defaultval"; then
9018 if test x"$enablestring" = xdisable; then
9019 defaultval=yes
9020 else
9021 defaultval=no
9022 fi
9023 fi
9024
9025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9027 # Check whether --enable-graphics_ctx was given.
9028 if test "${enable_graphics_ctx+set}" = set; then
9029 enableval=$enable_graphics_ctx;
9030 if test "$enableval" = yes; then
9031 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9032 else
9033 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9034 fi
9035
9036 else
9037
9038 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9039
9040 fi
9041
9042
9043 eval "$wx_cv_use_graphics_ctx"
9044
9045 if test x"$enablestring" = xdisable; then
9046 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9047 result=no
9048 else
9049 result=yes
9050 fi
9051 else
9052 result=$wxUSE_GRAPHICS_CONTEXT
9053 fi
9054
9055 { echo "$as_me:$LINENO: result: $result" >&5
9056 echo "${ECHO_T}$result" >&6; }
9057
9058
9059 enablestring=
9060 defaultval=$wxUSE_ALL_FEATURES
9061 if test -z "$defaultval"; then
9062 if test x"$enablestring" = xdisable; then
9063 defaultval=yes
9064 else
9065 defaultval=no
9066 fi
9067 fi
9068
9069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9071 # Check whether --enable-postscript was given.
9072 if test "${enable_postscript+set}" = set; then
9073 enableval=$enable_postscript;
9074 if test "$enableval" = yes; then
9075 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9076 else
9077 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9078 fi
9079
9080 else
9081
9082 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9083
9084 fi
9085
9086
9087 eval "$wx_cv_use_postscript"
9088
9089 if test x"$enablestring" = xdisable; then
9090 if test $wxUSE_POSTSCRIPT = yes; then
9091 result=no
9092 else
9093 result=yes
9094 fi
9095 else
9096 result=$wxUSE_POSTSCRIPT
9097 fi
9098
9099 { echo "$as_me:$LINENO: result: $result" >&5
9100 echo "${ECHO_T}$result" >&6; }
9101
9102
9103 enablestring=
9104 defaultval=$wxUSE_ALL_FEATURES
9105 if test -z "$defaultval"; then
9106 if test x"$enablestring" = xdisable; then
9107 defaultval=yes
9108 else
9109 defaultval=no
9110 fi
9111 fi
9112
9113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9115 # Check whether --enable-printarch was given.
9116 if test "${enable_printarch+set}" = set; then
9117 enableval=$enable_printarch;
9118 if test "$enableval" = yes; then
9119 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9120 else
9121 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9122 fi
9123
9124 else
9125
9126 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9127
9128 fi
9129
9130
9131 eval "$wx_cv_use_printarch"
9132
9133 if test x"$enablestring" = xdisable; then
9134 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9135 result=no
9136 else
9137 result=yes
9138 fi
9139 else
9140 result=$wxUSE_PRINTING_ARCHITECTURE
9141 fi
9142
9143 { echo "$as_me:$LINENO: result: $result" >&5
9144 echo "${ECHO_T}$result" >&6; }
9145
9146
9147 enablestring=
9148 defaultval=$wxUSE_ALL_FEATURES
9149 if test -z "$defaultval"; then
9150 if test x"$enablestring" = xdisable; then
9151 defaultval=yes
9152 else
9153 defaultval=no
9154 fi
9155 fi
9156
9157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9159 # Check whether --enable-svg was given.
9160 if test "${enable_svg+set}" = set; then
9161 enableval=$enable_svg;
9162 if test "$enableval" = yes; then
9163 wx_cv_use_svg='wxUSE_SVG=yes'
9164 else
9165 wx_cv_use_svg='wxUSE_SVG=no'
9166 fi
9167
9168 else
9169
9170 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9171
9172 fi
9173
9174
9175 eval "$wx_cv_use_svg"
9176
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_SVG = yes; then
9179 result=no
9180 else
9181 result=yes
9182 fi
9183 else
9184 result=$wxUSE_SVG
9185 fi
9186
9187 { echo "$as_me:$LINENO: result: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9189
9190
9191
9192
9193 enablestring=
9194 defaultval=$wxUSE_ALL_FEATURES
9195 if test -z "$defaultval"; then
9196 if test x"$enablestring" = xdisable; then
9197 defaultval=yes
9198 else
9199 defaultval=no
9200 fi
9201 fi
9202
9203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9205 # Check whether --enable-clipboard was given.
9206 if test "${enable_clipboard+set}" = set; then
9207 enableval=$enable_clipboard;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9210 else
9211 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9212 fi
9213
9214 else
9215
9216 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9217
9218 fi
9219
9220
9221 eval "$wx_cv_use_clipboard"
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_CLIPBOARD = yes; then
9225 result=no
9226 else
9227 result=yes
9228 fi
9229 else
9230 result=$wxUSE_CLIPBOARD
9231 fi
9232
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9235
9236
9237 enablestring=
9238 defaultval=$wxUSE_ALL_FEATURES
9239 if test -z "$defaultval"; then
9240 if test x"$enablestring" = xdisable; then
9241 defaultval=yes
9242 else
9243 defaultval=no
9244 fi
9245 fi
9246
9247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9249 # Check whether --enable-dnd was given.
9250 if test "${enable_dnd+set}" = set; then
9251 enableval=$enable_dnd;
9252 if test "$enableval" = yes; then
9253 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9254 else
9255 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9256 fi
9257
9258 else
9259
9260 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9261
9262 fi
9263
9264
9265 eval "$wx_cv_use_dnd"
9266
9267 if test x"$enablestring" = xdisable; then
9268 if test $wxUSE_DRAG_AND_DROP = yes; then
9269 result=no
9270 else
9271 result=yes
9272 fi
9273 else
9274 result=$wxUSE_DRAG_AND_DROP
9275 fi
9276
9277 { echo "$as_me:$LINENO: result: $result" >&5
9278 echo "${ECHO_T}$result" >&6; }
9279
9280
9281 enablestring=
9282 defaultval=$wxUSE_ALL_FEATURES
9283 if test -z "$defaultval"; then
9284 if test x"$enablestring" = xdisable; then
9285 defaultval=yes
9286 else
9287 defaultval=no
9288 fi
9289 fi
9290
9291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9293 # Check whether --enable-metafile was given.
9294 if test "${enable_metafile+set}" = set; then
9295 enableval=$enable_metafile;
9296 if test "$enableval" = yes; then
9297 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9298 else
9299 wx_cv_use_metafile='wxUSE_METAFILE=no'
9300 fi
9301
9302 else
9303
9304 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9305
9306 fi
9307
9308
9309 eval "$wx_cv_use_metafile"
9310
9311 if test x"$enablestring" = xdisable; then
9312 if test $wxUSE_METAFILE = yes; then
9313 result=no
9314 else
9315 result=yes
9316 fi
9317 else
9318 result=$wxUSE_METAFILE
9319 fi
9320
9321 { echo "$as_me:$LINENO: result: $result" >&5
9322 echo "${ECHO_T}$result" >&6; }
9323
9324
9325
9326 DEFAULT_wxUSE_CONTROLS=none
9327
9328 enablestring=disable
9329 defaultval=
9330 if test -z "$defaultval"; then
9331 if test x"$enablestring" = xdisable; then
9332 defaultval=yes
9333 else
9334 defaultval=no
9335 fi
9336 fi
9337
9338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9339 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9340 # Check whether --enable-controls was given.
9341 if test "${enable_controls+set}" = set; then
9342 enableval=$enable_controls;
9343 if test "$enableval" = yes; then
9344 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9345 else
9346 wx_cv_use_controls='wxUSE_CONTROLS=no'
9347 fi
9348
9349 else
9350
9351 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9352
9353 fi
9354
9355
9356 eval "$wx_cv_use_controls"
9357
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_CONTROLS = yes; then
9360 result=no
9361 else
9362 result=yes
9363 fi
9364 else
9365 result=$wxUSE_CONTROLS
9366 fi
9367
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9370
9371
9372 if test "$wxUSE_CONTROLS" = "yes"; then
9373 DEFAULT_wxUSE_ACCEL=yes
9374 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9375 DEFAULT_wxUSE_BMPBUTTON=yes
9376 DEFAULT_wxUSE_BUTTON=yes
9377 DEFAULT_wxUSE_CALCTRL=yes
9378 DEFAULT_wxUSE_CARET=yes
9379 DEFAULT_wxUSE_COMBOBOX=yes
9380 DEFAULT_wxUSE_CHECKBOX=yes
9381 DEFAULT_wxUSE_CHECKLISTBOX=yes
9382 DEFAULT_wxUSE_CHOICE=yes
9383 DEFAULT_wxUSE_CHOICEBOOK=yes
9384 DEFAULT_wxUSE_COLLPANE=yes
9385 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9386 DEFAULT_wxUSE_COMBOBOX=yes
9387 DEFAULT_wxUSE_DATEPICKCTRL=yes
9388 DEFAULT_wxUSE_DISPLAY=yes
9389 DEFAULT_wxUSE_DETECT_SM=yes
9390 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9391 DEFAULT_wxUSE_FILECTRL=yes
9392 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9393 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9394 DEFAULT_wxUSE_GAUGE=yes
9395 DEFAULT_wxUSE_GRID=yes
9396 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9397 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9398 DEFAULT_wxUSE_IMAGLIST=yes
9399 DEFAULT_wxUSE_LISTBOOK=yes
9400 DEFAULT_wxUSE_LISTBOX=yes
9401 DEFAULT_wxUSE_LISTCTRL=yes
9402 DEFAULT_wxUSE_NOTEBOOK=yes
9403 DEFAULT_wxUSE_RADIOBOX=yes
9404 DEFAULT_wxUSE_RADIOBTN=yes
9405 DEFAULT_wxUSE_SASH=yes
9406 DEFAULT_wxUSE_SCROLLBAR=yes
9407 DEFAULT_wxUSE_SEARCHCTRL=yes
9408 DEFAULT_wxUSE_SLIDER=yes
9409 DEFAULT_wxUSE_SPINBTN=yes
9410 DEFAULT_wxUSE_SPINCTRL=yes
9411 DEFAULT_wxUSE_SPLITTER=yes
9412 DEFAULT_wxUSE_STATBMP=yes
9413 DEFAULT_wxUSE_STATBOX=yes
9414 DEFAULT_wxUSE_STATLINE=yes
9415 DEFAULT_wxUSE_STATUSBAR=yes
9416 DEFAULT_wxUSE_TAB_DIALOG=yes
9417 DEFAULT_wxUSE_TOGGLEBTN=yes
9418 DEFAULT_wxUSE_TOOLBAR=yes
9419 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9420 DEFAULT_wxUSE_TOOLTIPS=yes
9421 DEFAULT_wxUSE_TREEBOOK=yes
9422 DEFAULT_wxUSE_TOOLBOOK=yes
9423 DEFAULT_wxUSE_TREECTRL=yes
9424 DEFAULT_wxUSE_POPUPWIN=yes
9425 DEFAULT_wxUSE_TIPWINDOW=yes
9426 elif test "$wxUSE_CONTROLS" = "no"; then
9427 DEFAULT_wxUSE_ACCEL=no
9428 DEFAULT_wxUSE_ANIMATIONCTRL=no
9429 DEFAULT_wxUSE_BMPBUTTON=no
9430 DEFAULT_wxUSE_BUTTON=no
9431 DEFAULT_wxUSE_CALCTRL=no
9432 DEFAULT_wxUSE_CARET=no
9433 DEFAULT_wxUSE_COLLPANE=no
9434 DEFAULT_wxUSE_COMBOBOX=no
9435 DEFAULT_wxUSE_CHECKBOX=no
9436 DEFAULT_wxUSE_CHECKLISTBOX=no
9437 DEFAULT_wxUSE_CHOICE=no
9438 DEFAULT_wxUSE_CHOICEBOOK=no
9439 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9440 DEFAULT_wxUSE_COMBOBOX=no
9441 DEFAULT_wxUSE_DATEPICKCTRL=no
9442 DEFAULT_wxUSE_DISPLAY=no
9443 DEFAULT_wxUSE_DETECT_SM=no
9444 DEFAULT_wxUSE_DIRPICKERCTRL=no
9445 DEFAULT_wxUSE_FILECTRL=no
9446 DEFAULT_wxUSE_FILEPICKERCTRL=no
9447 DEFAULT_wxUSE_FONTPICKERCTRL=no
9448 DEFAULT_wxUSE_GAUGE=no
9449 DEFAULT_wxUSE_GRID=no
9450 DEFAULT_wxUSE_HYPERLINKCTRL=no
9451 DEFAULT_wxUSE_DATAVIEWCTRL=no
9452 DEFAULT_wxUSE_IMAGLIST=no
9453 DEFAULT_wxUSE_LISTBOOK=no
9454 DEFAULT_wxUSE_LISTBOX=no
9455 DEFAULT_wxUSE_LISTCTRL=no
9456 DEFAULT_wxUSE_NOTEBOOK=no
9457 DEFAULT_wxUSE_RADIOBOX=no
9458 DEFAULT_wxUSE_RADIOBTN=no
9459 DEFAULT_wxUSE_SASH=no
9460 DEFAULT_wxUSE_SCROLLBAR=no
9461 DEFAULT_wxUSE_SEARCHCTRL=no
9462 DEFAULT_wxUSE_SLIDER=no
9463 DEFAULT_wxUSE_SPINBTN=no
9464 DEFAULT_wxUSE_SPINCTRL=no
9465 DEFAULT_wxUSE_SPLITTER=no
9466 DEFAULT_wxUSE_STATBMP=no
9467 DEFAULT_wxUSE_STATBOX=no
9468 DEFAULT_wxUSE_STATLINE=no
9469 DEFAULT_wxUSE_STATUSBAR=no
9470 DEFAULT_wxUSE_TAB_DIALOG=no
9471 DEFAULT_wxUSE_TOGGLEBTN=no
9472 DEFAULT_wxUSE_TOOLBAR=no
9473 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9474 DEFAULT_wxUSE_TOOLTIPS=no
9475 DEFAULT_wxUSE_TREEBOOK=no
9476 DEFAULT_wxUSE_TOOLBOOK=no
9477 DEFAULT_wxUSE_TREECTRL=no
9478 DEFAULT_wxUSE_POPUPWIN=no
9479 DEFAULT_wxUSE_TIPWINDOW=no
9480 fi
9481
9482
9483 enablestring=
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9487 defaultval=yes
9488 else
9489 defaultval=no
9490 fi
9491 fi
9492
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9495 # Check whether --enable-accel was given.
9496 if test "${enable_accel+set}" = set; then
9497 enableval=$enable_accel;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_accel='wxUSE_ACCEL=yes'
9500 else
9501 wx_cv_use_accel='wxUSE_ACCEL=no'
9502 fi
9503
9504 else
9505
9506 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9507
9508 fi
9509
9510
9511 eval "$wx_cv_use_accel"
9512
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_ACCEL = yes; then
9515 result=no
9516 else
9517 result=yes
9518 fi
9519 else
9520 result=$wxUSE_ACCEL
9521 fi
9522
9523 { echo "$as_me:$LINENO: result: $result" >&5
9524 echo "${ECHO_T}$result" >&6; }
9525
9526
9527 enablestring=
9528 defaultval=$wxUSE_ALL_FEATURES
9529 if test -z "$defaultval"; then
9530 if test x"$enablestring" = xdisable; then
9531 defaultval=yes
9532 else
9533 defaultval=no
9534 fi
9535 fi
9536
9537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9539 # Check whether --enable-animatectrl was given.
9540 if test "${enable_animatectrl+set}" = set; then
9541 enableval=$enable_animatectrl;
9542 if test "$enableval" = yes; then
9543 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9544 else
9545 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9546 fi
9547
9548 else
9549
9550 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9551
9552 fi
9553
9554
9555 eval "$wx_cv_use_animatectrl"
9556
9557 if test x"$enablestring" = xdisable; then
9558 if test $wxUSE_ANIMATIONCTRL = yes; then
9559 result=no
9560 else
9561 result=yes
9562 fi
9563 else
9564 result=$wxUSE_ANIMATIONCTRL
9565 fi
9566
9567 { echo "$as_me:$LINENO: result: $result" >&5
9568 echo "${ECHO_T}$result" >&6; }
9569
9570
9571 enablestring=
9572 defaultval=$wxUSE_ALL_FEATURES
9573 if test -z "$defaultval"; then
9574 if test x"$enablestring" = xdisable; then
9575 defaultval=yes
9576 else
9577 defaultval=no
9578 fi
9579 fi
9580
9581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9583 # Check whether --enable-button was given.
9584 if test "${enable_button+set}" = set; then
9585 enableval=$enable_button;
9586 if test "$enableval" = yes; then
9587 wx_cv_use_button='wxUSE_BUTTON=yes'
9588 else
9589 wx_cv_use_button='wxUSE_BUTTON=no'
9590 fi
9591
9592 else
9593
9594 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9595
9596 fi
9597
9598
9599 eval "$wx_cv_use_button"
9600
9601 if test x"$enablestring" = xdisable; then
9602 if test $wxUSE_BUTTON = yes; then
9603 result=no
9604 else
9605 result=yes
9606 fi
9607 else
9608 result=$wxUSE_BUTTON
9609 fi
9610
9611 { echo "$as_me:$LINENO: result: $result" >&5
9612 echo "${ECHO_T}$result" >&6; }
9613
9614
9615 enablestring=
9616 defaultval=$wxUSE_ALL_FEATURES
9617 if test -z "$defaultval"; then
9618 if test x"$enablestring" = xdisable; then
9619 defaultval=yes
9620 else
9621 defaultval=no
9622 fi
9623 fi
9624
9625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9626 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9627 # Check whether --enable-bmpbutton was given.
9628 if test "${enable_bmpbutton+set}" = set; then
9629 enableval=$enable_bmpbutton;
9630 if test "$enableval" = yes; then
9631 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9632 else
9633 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9634 fi
9635
9636 else
9637
9638 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9639
9640 fi
9641
9642
9643 eval "$wx_cv_use_bmpbutton"
9644
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_BMPBUTTON = yes; then
9647 result=no
9648 else
9649 result=yes
9650 fi
9651 else
9652 result=$wxUSE_BMPBUTTON
9653 fi
9654
9655 { echo "$as_me:$LINENO: result: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9657
9658
9659 enablestring=
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9663 defaultval=yes
9664 else
9665 defaultval=no
9666 fi
9667 fi
9668
9669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9671 # Check whether --enable-bmpcombobox was given.
9672 if test "${enable_bmpcombobox+set}" = set; then
9673 enableval=$enable_bmpcombobox;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9676 else
9677 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9678 fi
9679
9680 else
9681
9682 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9683
9684 fi
9685
9686
9687 eval "$wx_cv_use_bmpcombobox"
9688
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9691 result=no
9692 else
9693 result=yes
9694 fi
9695 else
9696 result=$wxUSE_BITMAPCOMBOBOX
9697 fi
9698
9699 { echo "$as_me:$LINENO: result: $result" >&5
9700 echo "${ECHO_T}$result" >&6; }
9701
9702
9703 enablestring=
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9707 defaultval=yes
9708 else
9709 defaultval=no
9710 fi
9711 fi
9712
9713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9715 # Check whether --enable-calendar was given.
9716 if test "${enable_calendar+set}" = set; then
9717 enableval=$enable_calendar;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9720 else
9721 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9722 fi
9723
9724 else
9725
9726 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9727
9728 fi
9729
9730
9731 eval "$wx_cv_use_calendar"
9732
9733 if test x"$enablestring" = xdisable; then
9734 if test $wxUSE_CALCTRL = yes; then
9735 result=no
9736 else
9737 result=yes
9738 fi
9739 else
9740 result=$wxUSE_CALCTRL
9741 fi
9742
9743 { echo "$as_me:$LINENO: result: $result" >&5
9744 echo "${ECHO_T}$result" >&6; }
9745
9746
9747 enablestring=
9748 defaultval=$wxUSE_ALL_FEATURES
9749 if test -z "$defaultval"; then
9750 if test x"$enablestring" = xdisable; then
9751 defaultval=yes
9752 else
9753 defaultval=no
9754 fi
9755 fi
9756
9757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9759 # Check whether --enable-caret was given.
9760 if test "${enable_caret+set}" = set; then
9761 enableval=$enable_caret;
9762 if test "$enableval" = yes; then
9763 wx_cv_use_caret='wxUSE_CARET=yes'
9764 else
9765 wx_cv_use_caret='wxUSE_CARET=no'
9766 fi
9767
9768 else
9769
9770 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9771
9772 fi
9773
9774
9775 eval "$wx_cv_use_caret"
9776
9777 if test x"$enablestring" = xdisable; then
9778 if test $wxUSE_CARET = yes; then
9779 result=no
9780 else
9781 result=yes
9782 fi
9783 else
9784 result=$wxUSE_CARET
9785 fi
9786
9787 { echo "$as_me:$LINENO: result: $result" >&5
9788 echo "${ECHO_T}$result" >&6; }
9789
9790
9791 enablestring=
9792 defaultval=$wxUSE_ALL_FEATURES
9793 if test -z "$defaultval"; then
9794 if test x"$enablestring" = xdisable; then
9795 defaultval=yes
9796 else
9797 defaultval=no
9798 fi
9799 fi
9800
9801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9803 # Check whether --enable-checkbox was given.
9804 if test "${enable_checkbox+set}" = set; then
9805 enableval=$enable_checkbox;
9806 if test "$enableval" = yes; then
9807 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9808 else
9809 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9810 fi
9811
9812 else
9813
9814 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9815
9816 fi
9817
9818
9819 eval "$wx_cv_use_checkbox"
9820
9821 if test x"$enablestring" = xdisable; then
9822 if test $wxUSE_CHECKBOX = yes; then
9823 result=no
9824 else
9825 result=yes
9826 fi
9827 else
9828 result=$wxUSE_CHECKBOX
9829 fi
9830
9831 { echo "$as_me:$LINENO: result: $result" >&5
9832 echo "${ECHO_T}$result" >&6; }
9833
9834
9835 enablestring=
9836 defaultval=$wxUSE_ALL_FEATURES
9837 if test -z "$defaultval"; then
9838 if test x"$enablestring" = xdisable; then
9839 defaultval=yes
9840 else
9841 defaultval=no
9842 fi
9843 fi
9844
9845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9847 # Check whether --enable-checklst was given.
9848 if test "${enable_checklst+set}" = set; then
9849 enableval=$enable_checklst;
9850 if test "$enableval" = yes; then
9851 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9852 else
9853 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9854 fi
9855
9856 else
9857
9858 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9859
9860 fi
9861
9862
9863 eval "$wx_cv_use_checklst"
9864
9865 if test x"$enablestring" = xdisable; then
9866 if test $wxUSE_CHECKLST = yes; then
9867 result=no
9868 else
9869 result=yes
9870 fi
9871 else
9872 result=$wxUSE_CHECKLST
9873 fi
9874
9875 { echo "$as_me:$LINENO: result: $result" >&5
9876 echo "${ECHO_T}$result" >&6; }
9877
9878
9879 enablestring=
9880 defaultval=$wxUSE_ALL_FEATURES
9881 if test -z "$defaultval"; then
9882 if test x"$enablestring" = xdisable; then
9883 defaultval=yes
9884 else
9885 defaultval=no
9886 fi
9887 fi
9888
9889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9891 # Check whether --enable-choice was given.
9892 if test "${enable_choice+set}" = set; then
9893 enableval=$enable_choice;
9894 if test "$enableval" = yes; then
9895 wx_cv_use_choice='wxUSE_CHOICE=yes'
9896 else
9897 wx_cv_use_choice='wxUSE_CHOICE=no'
9898 fi
9899
9900 else
9901
9902 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9903
9904 fi
9905
9906
9907 eval "$wx_cv_use_choice"
9908
9909 if test x"$enablestring" = xdisable; then
9910 if test $wxUSE_CHOICE = yes; then
9911 result=no
9912 else
9913 result=yes
9914 fi
9915 else
9916 result=$wxUSE_CHOICE
9917 fi
9918
9919 { echo "$as_me:$LINENO: result: $result" >&5
9920 echo "${ECHO_T}$result" >&6; }
9921
9922
9923 enablestring=
9924 defaultval=$wxUSE_ALL_FEATURES
9925 if test -z "$defaultval"; then
9926 if test x"$enablestring" = xdisable; then
9927 defaultval=yes
9928 else
9929 defaultval=no
9930 fi
9931 fi
9932
9933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9934 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9935 # Check whether --enable-choicebook was given.
9936 if test "${enable_choicebook+set}" = set; then
9937 enableval=$enable_choicebook;
9938 if test "$enableval" = yes; then
9939 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9940 else
9941 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9942 fi
9943
9944 else
9945
9946 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9947
9948 fi
9949
9950
9951 eval "$wx_cv_use_choicebook"
9952
9953 if test x"$enablestring" = xdisable; then
9954 if test $wxUSE_CHOICEBOOK = yes; then
9955 result=no
9956 else
9957 result=yes
9958 fi
9959 else
9960 result=$wxUSE_CHOICEBOOK
9961 fi
9962
9963 { echo "$as_me:$LINENO: result: $result" >&5
9964 echo "${ECHO_T}$result" >&6; }
9965
9966
9967 enablestring=
9968 defaultval=$wxUSE_ALL_FEATURES
9969 if test -z "$defaultval"; then
9970 if test x"$enablestring" = xdisable; then
9971 defaultval=yes
9972 else
9973 defaultval=no
9974 fi
9975 fi
9976
9977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9978 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9979 # Check whether --enable-collpane was given.
9980 if test "${enable_collpane+set}" = set; then
9981 enableval=$enable_collpane;
9982 if test "$enableval" = yes; then
9983 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9984 else
9985 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9986 fi
9987
9988 else
9989
9990 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9991
9992 fi
9993
9994
9995 eval "$wx_cv_use_collpane"
9996
9997 if test x"$enablestring" = xdisable; then
9998 if test $wxUSE_COLLPANE = yes; then
9999 result=no
10000 else
10001 result=yes
10002 fi
10003 else
10004 result=$wxUSE_COLLPANE
10005 fi
10006
10007 { echo "$as_me:$LINENO: result: $result" >&5
10008 echo "${ECHO_T}$result" >&6; }
10009
10010
10011 enablestring=
10012 defaultval=$wxUSE_ALL_FEATURES
10013 if test -z "$defaultval"; then
10014 if test x"$enablestring" = xdisable; then
10015 defaultval=yes
10016 else
10017 defaultval=no
10018 fi
10019 fi
10020
10021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10023 # Check whether --enable-colourpicker was given.
10024 if test "${enable_colourpicker+set}" = set; then
10025 enableval=$enable_colourpicker;
10026 if test "$enableval" = yes; then
10027 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10028 else
10029 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10030 fi
10031
10032 else
10033
10034 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10035
10036 fi
10037
10038
10039 eval "$wx_cv_use_colourpicker"
10040
10041 if test x"$enablestring" = xdisable; then
10042 if test $wxUSE_COLOURPICKERCTRL = yes; then
10043 result=no
10044 else
10045 result=yes
10046 fi
10047 else
10048 result=$wxUSE_COLOURPICKERCTRL
10049 fi
10050
10051 { echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6; }
10053
10054
10055 enablestring=
10056 defaultval=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x"$enablestring" = xdisable; then
10059 defaultval=yes
10060 else
10061 defaultval=no
10062 fi
10063 fi
10064
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10067 # Check whether --enable-combobox was given.
10068 if test "${enable_combobox+set}" = set; then
10069 enableval=$enable_combobox;
10070 if test "$enableval" = yes; then
10071 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10072 else
10073 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10074 fi
10075
10076 else
10077
10078 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10079
10080 fi
10081
10082
10083 eval "$wx_cv_use_combobox"
10084
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_COMBOBOX = yes; then
10087 result=no
10088 else
10089 result=yes
10090 fi
10091 else
10092 result=$wxUSE_COMBOBOX
10093 fi
10094
10095 { echo "$as_me:$LINENO: result: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10097
10098
10099 enablestring=
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10103 defaultval=yes
10104 else
10105 defaultval=no
10106 fi
10107 fi
10108
10109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10111 # Check whether --enable-comboctrl was given.
10112 if test "${enable_comboctrl+set}" = set; then
10113 enableval=$enable_comboctrl;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10116 else
10117 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10118 fi
10119
10120 else
10121
10122 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10123
10124 fi
10125
10126
10127 eval "$wx_cv_use_comboctrl"
10128
10129 if test x"$enablestring" = xdisable; then
10130 if test $wxUSE_COMBOCTRL = yes; then
10131 result=no
10132 else
10133 result=yes
10134 fi
10135 else
10136 result=$wxUSE_COMBOCTRL
10137 fi
10138
10139 { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10141
10142
10143 enablestring=
10144 defaultval=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x"$enablestring" = xdisable; then
10147 defaultval=yes
10148 else
10149 defaultval=no
10150 fi
10151 fi
10152
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10155 # Check whether --enable-datepick was given.
10156 if test "${enable_datepick+set}" = set; then
10157 enableval=$enable_datepick;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10160 else
10161 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10162 fi
10163
10164 else
10165
10166 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10167
10168 fi
10169
10170
10171 eval "$wx_cv_use_datepick"
10172
10173 if test x"$enablestring" = xdisable; then
10174 if test $wxUSE_DATEPICKCTRL = yes; then
10175 result=no
10176 else
10177 result=yes
10178 fi
10179 else
10180 result=$wxUSE_DATEPICKCTRL
10181 fi
10182
10183 { echo "$as_me:$LINENO: result: $result" >&5
10184 echo "${ECHO_T}$result" >&6; }
10185
10186
10187 enablestring=
10188 defaultval=$wxUSE_ALL_FEATURES
10189 if test -z "$defaultval"; then
10190 if test x"$enablestring" = xdisable; then
10191 defaultval=yes
10192 else
10193 defaultval=no
10194 fi
10195 fi
10196
10197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10199 # Check whether --enable-dirpicker was given.
10200 if test "${enable_dirpicker+set}" = set; then
10201 enableval=$enable_dirpicker;
10202 if test "$enableval" = yes; then
10203 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10204 else
10205 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10206 fi
10207
10208 else
10209
10210 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10211
10212 fi
10213
10214
10215 eval "$wx_cv_use_dirpicker"
10216
10217 if test x"$enablestring" = xdisable; then
10218 if test $wxUSE_DIRPICKERCTRL = yes; then
10219 result=no
10220 else
10221 result=yes
10222 fi
10223 else
10224 result=$wxUSE_DIRPICKERCTRL
10225 fi
10226
10227 { echo "$as_me:$LINENO: result: $result" >&5
10228 echo "${ECHO_T}$result" >&6; }
10229
10230
10231 enablestring=
10232 defaultval=$wxUSE_ALL_FEATURES
10233 if test -z "$defaultval"; then
10234 if test x"$enablestring" = xdisable; then
10235 defaultval=yes
10236 else
10237 defaultval=no
10238 fi
10239 fi
10240
10241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10242 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10243 # Check whether --enable-display was given.
10244 if test "${enable_display+set}" = set; then
10245 enableval=$enable_display;
10246 if test "$enableval" = yes; then
10247 wx_cv_use_display='wxUSE_DISPLAY=yes'
10248 else
10249 wx_cv_use_display='wxUSE_DISPLAY=no'
10250 fi
10251
10252 else
10253
10254 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10255
10256 fi
10257
10258
10259 eval "$wx_cv_use_display"
10260
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_DISPLAY = yes; then
10263 result=no
10264 else
10265 result=yes
10266 fi
10267 else
10268 result=$wxUSE_DISPLAY
10269 fi
10270
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10273
10274
10275 enablestring=
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10279 defaultval=yes
10280 else
10281 defaultval=no
10282 fi
10283 fi
10284
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10287 # Check whether --enable-detect_sm was given.
10288 if test "${enable_detect_sm+set}" = set; then
10289 enableval=$enable_detect_sm;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10292 else
10293 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10294 fi
10295
10296 else
10297
10298 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10299
10300 fi
10301
10302
10303 eval "$wx_cv_use_detect_sm"
10304
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_DETECT_SM = yes; then
10307 result=no
10308 else
10309 result=yes
10310 fi
10311 else
10312 result=$wxUSE_DETECT_SM
10313 fi
10314
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10317
10318
10319 enablestring=
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10323 defaultval=yes
10324 else
10325 defaultval=no
10326 fi
10327 fi
10328
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10331 # Check whether --enable-editablebox was given.
10332 if test "${enable_editablebox+set}" = set; then
10333 enableval=$enable_editablebox;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10336 else
10337 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10338 fi
10339
10340 else
10341
10342 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10343
10344 fi
10345
10346
10347 eval "$wx_cv_use_editablebox"
10348
10349 if test x"$enablestring" = xdisable; then
10350 if test $wxUSE_EDITABLELISTBOX = yes; then
10351 result=no
10352 else
10353 result=yes
10354 fi
10355 else
10356 result=$wxUSE_EDITABLELISTBOX
10357 fi
10358
10359 { echo "$as_me:$LINENO: result: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10361
10362
10363 enablestring=
10364 defaultval=$wxUSE_ALL_FEATURES
10365 if test -z "$defaultval"; then
10366 if test x"$enablestring" = xdisable; then
10367 defaultval=yes
10368 else
10369 defaultval=no
10370 fi
10371 fi
10372
10373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10375 # Check whether --enable-filepicker was given.
10376 if test "${enable_filepicker+set}" = set; then
10377 enableval=$enable_filepicker;
10378 if test "$enableval" = yes; then
10379 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10380 else
10381 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10382 fi
10383
10384 else
10385
10386 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10387
10388 fi
10389
10390
10391 eval "$wx_cv_use_filepicker"
10392
10393 if test x"$enablestring" = xdisable; then
10394 if test $wxUSE_FILEPICKERCTRL = yes; then
10395 result=no
10396 else
10397 result=yes
10398 fi
10399 else
10400 result=$wxUSE_FILEPICKERCTRL
10401 fi
10402
10403 { echo "$as_me:$LINENO: result: $result" >&5
10404 echo "${ECHO_T}$result" >&6; }
10405
10406
10407 enablestring=
10408 defaultval=$wxUSE_ALL_FEATURES
10409 if test -z "$defaultval"; then
10410 if test x"$enablestring" = xdisable; then
10411 defaultval=yes
10412 else
10413 defaultval=no
10414 fi
10415 fi
10416
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10419 # Check whether --enable-filectrl was given.
10420 if test "${enable_filectrl+set}" = set; then
10421 enableval=$enable_filectrl;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10424 else
10425 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10426 fi
10427
10428 else
10429
10430 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10431
10432 fi
10433
10434
10435 eval "$wx_cv_use_filectrl"
10436
10437 if test x"$enablestring" = xdisable; then
10438 if test $wxUSE_FILECTRL = yes; then
10439 result=no
10440 else
10441 result=yes
10442 fi
10443 else
10444 result=$wxUSE_FILECTRL
10445 fi
10446
10447 { echo "$as_me:$LINENO: result: $result" >&5
10448 echo "${ECHO_T}$result" >&6; }
10449
10450
10451 enablestring=
10452 defaultval=$wxUSE_ALL_FEATURES
10453 if test -z "$defaultval"; then
10454 if test x"$enablestring" = xdisable; then
10455 defaultval=yes
10456 else
10457 defaultval=no
10458 fi
10459 fi
10460
10461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10463 # Check whether --enable-fontpicker was given.
10464 if test "${enable_fontpicker+set}" = set; then
10465 enableval=$enable_fontpicker;
10466 if test "$enableval" = yes; then
10467 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10468 else
10469 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10470 fi
10471
10472 else
10473
10474 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10475
10476 fi
10477
10478
10479 eval "$wx_cv_use_fontpicker"
10480
10481 if test x"$enablestring" = xdisable; then
10482 if test $wxUSE_FONTPICKERCTRL = yes; then
10483 result=no
10484 else
10485 result=yes
10486 fi
10487 else
10488 result=$wxUSE_FONTPICKERCTRL
10489 fi
10490
10491 { echo "$as_me:$LINENO: result: $result" >&5
10492 echo "${ECHO_T}$result" >&6; }
10493
10494
10495 enablestring=
10496 defaultval=$wxUSE_ALL_FEATURES
10497 if test -z "$defaultval"; then
10498 if test x"$enablestring" = xdisable; then
10499 defaultval=yes
10500 else
10501 defaultval=no
10502 fi
10503 fi
10504
10505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10506 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10507 # Check whether --enable-gauge was given.
10508 if test "${enable_gauge+set}" = set; then
10509 enableval=$enable_gauge;
10510 if test "$enableval" = yes; then
10511 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10512 else
10513 wx_cv_use_gauge='wxUSE_GAUGE=no'
10514 fi
10515
10516 else
10517
10518 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10519
10520 fi
10521
10522
10523 eval "$wx_cv_use_gauge"
10524
10525 if test x"$enablestring" = xdisable; then
10526 if test $wxUSE_GAUGE = yes; then
10527 result=no
10528 else
10529 result=yes
10530 fi
10531 else
10532 result=$wxUSE_GAUGE
10533 fi
10534
10535 { echo "$as_me:$LINENO: result: $result" >&5
10536 echo "${ECHO_T}$result" >&6; }
10537
10538
10539 enablestring=
10540 defaultval=$wxUSE_ALL_FEATURES
10541 if test -z "$defaultval"; then
10542 if test x"$enablestring" = xdisable; then
10543 defaultval=yes
10544 else
10545 defaultval=no
10546 fi
10547 fi
10548
10549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10550 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10551 # Check whether --enable-grid was given.
10552 if test "${enable_grid+set}" = set; then
10553 enableval=$enable_grid;
10554 if test "$enableval" = yes; then
10555 wx_cv_use_grid='wxUSE_GRID=yes'
10556 else
10557 wx_cv_use_grid='wxUSE_GRID=no'
10558 fi
10559
10560 else
10561
10562 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10563
10564 fi
10565
10566
10567 eval "$wx_cv_use_grid"
10568
10569 if test x"$enablestring" = xdisable; then
10570 if test $wxUSE_GRID = yes; then
10571 result=no
10572 else
10573 result=yes
10574 fi
10575 else
10576 result=$wxUSE_GRID
10577 fi
10578
10579 { echo "$as_me:$LINENO: result: $result" >&5
10580 echo "${ECHO_T}$result" >&6; }
10581
10582
10583 enablestring=
10584 defaultval=$wxUSE_ALL_FEATURES
10585 if test -z "$defaultval"; then
10586 if test x"$enablestring" = xdisable; then
10587 defaultval=yes
10588 else
10589 defaultval=no
10590 fi
10591 fi
10592
10593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10594 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10595 # Check whether --enable-dataviewctrl was given.
10596 if test "${enable_dataviewctrl+set}" = set; then
10597 enableval=$enable_dataviewctrl;
10598 if test "$enableval" = yes; then
10599 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10600 else
10601 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10602 fi
10603
10604 else
10605
10606 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10607
10608 fi
10609
10610
10611 eval "$wx_cv_use_dataviewctrl"
10612
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_DATAVIEWCTRL = yes; then
10615 result=no
10616 else
10617 result=yes
10618 fi
10619 else
10620 result=$wxUSE_DATAVIEWCTRL
10621 fi
10622
10623 { echo "$as_me:$LINENO: result: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10625
10626
10627 enablestring=
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10631 defaultval=yes
10632 else
10633 defaultval=no
10634 fi
10635 fi
10636
10637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10639 # Check whether --enable-hyperlink was given.
10640 if test "${enable_hyperlink+set}" = set; then
10641 enableval=$enable_hyperlink;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10644 else
10645 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10646 fi
10647
10648 else
10649
10650 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10651
10652 fi
10653
10654
10655 eval "$wx_cv_use_hyperlink"
10656
10657 if test x"$enablestring" = xdisable; then
10658 if test $wxUSE_HYPERLINKCTRL = yes; then
10659 result=no
10660 else
10661 result=yes
10662 fi
10663 else
10664 result=$wxUSE_HYPERLINKCTRL
10665 fi
10666
10667 { echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10669
10670
10671 enablestring=
10672 defaultval=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x"$enablestring" = xdisable; then
10675 defaultval=yes
10676 else
10677 defaultval=no
10678 fi
10679 fi
10680
10681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10683 # Check whether --enable-imaglist was given.
10684 if test "${enable_imaglist+set}" = set; then
10685 enableval=$enable_imaglist;
10686 if test "$enableval" = yes; then
10687 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10688 else
10689 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10690 fi
10691
10692 else
10693
10694 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10695
10696 fi
10697
10698
10699 eval "$wx_cv_use_imaglist"
10700
10701 if test x"$enablestring" = xdisable; then
10702 if test $wxUSE_IMAGLIST = yes; then
10703 result=no
10704 else
10705 result=yes
10706 fi
10707 else
10708 result=$wxUSE_IMAGLIST
10709 fi
10710
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10713
10714
10715 enablestring=
10716 defaultval=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x"$enablestring" = xdisable; then
10719 defaultval=yes
10720 else
10721 defaultval=no
10722 fi
10723 fi
10724
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10727 # Check whether --enable-listbook was given.
10728 if test "${enable_listbook+set}" = set; then
10729 enableval=$enable_listbook;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10732 else
10733 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10734 fi
10735
10736 else
10737
10738 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10739
10740 fi
10741
10742
10743 eval "$wx_cv_use_listbook"
10744
10745 if test x"$enablestring" = xdisable; then
10746 if test $wxUSE_LISTBOOK = yes; then
10747 result=no
10748 else
10749 result=yes
10750 fi
10751 else
10752 result=$wxUSE_LISTBOOK
10753 fi
10754
10755 { echo "$as_me:$LINENO: result: $result" >&5
10756 echo "${ECHO_T}$result" >&6; }
10757
10758
10759 enablestring=
10760 defaultval=$wxUSE_ALL_FEATURES
10761 if test -z "$defaultval"; then
10762 if test x"$enablestring" = xdisable; then
10763 defaultval=yes
10764 else
10765 defaultval=no
10766 fi
10767 fi
10768
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10771 # Check whether --enable-listbox was given.
10772 if test "${enable_listbox+set}" = set; then
10773 enableval=$enable_listbox;
10774 if test "$enableval" = yes; then
10775 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10776 else
10777 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10778 fi
10779
10780 else
10781
10782 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10783
10784 fi
10785
10786
10787 eval "$wx_cv_use_listbox"
10788
10789 if test x"$enablestring" = xdisable; then
10790 if test $wxUSE_LISTBOX = yes; then
10791 result=no
10792 else
10793 result=yes
10794 fi
10795 else
10796 result=$wxUSE_LISTBOX
10797 fi
10798
10799 { echo "$as_me:$LINENO: result: $result" >&5
10800 echo "${ECHO_T}$result" >&6; }
10801
10802
10803 enablestring=
10804 defaultval=$wxUSE_ALL_FEATURES
10805 if test -z "$defaultval"; then
10806 if test x"$enablestring" = xdisable; then
10807 defaultval=yes
10808 else
10809 defaultval=no
10810 fi
10811 fi
10812
10813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10815 # Check whether --enable-listctrl was given.
10816 if test "${enable_listctrl+set}" = set; then
10817 enableval=$enable_listctrl;
10818 if test "$enableval" = yes; then
10819 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10820 else
10821 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10822 fi
10823
10824 else
10825
10826 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10827
10828 fi
10829
10830
10831 eval "$wx_cv_use_listctrl"
10832
10833 if test x"$enablestring" = xdisable; then
10834 if test $wxUSE_LISTCTRL = yes; then
10835 result=no
10836 else
10837 result=yes
10838 fi
10839 else
10840 result=$wxUSE_LISTCTRL
10841 fi
10842
10843 { echo "$as_me:$LINENO: result: $result" >&5
10844 echo "${ECHO_T}$result" >&6; }
10845
10846
10847 enablestring=
10848 defaultval=$wxUSE_ALL_FEATURES
10849 if test -z "$defaultval"; then
10850 if test x"$enablestring" = xdisable; then
10851 defaultval=yes
10852 else
10853 defaultval=no
10854 fi
10855 fi
10856
10857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10859 # Check whether --enable-notebook was given.
10860 if test "${enable_notebook+set}" = set; then
10861 enableval=$enable_notebook;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10864 else
10865 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10866 fi
10867
10868 else
10869
10870 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10871
10872 fi
10873
10874
10875 eval "$wx_cv_use_notebook"
10876
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_NOTEBOOK = yes; then
10879 result=no
10880 else
10881 result=yes
10882 fi
10883 else
10884 result=$wxUSE_NOTEBOOK
10885 fi
10886
10887 { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10889
10890
10891 enablestring=
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10895 defaultval=yes
10896 else
10897 defaultval=no
10898 fi
10899 fi
10900
10901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10903 # Check whether --enable-notifmsg was given.
10904 if test "${enable_notifmsg+set}" = set; then
10905 enableval=$enable_notifmsg;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10908 else
10909 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10910 fi
10911
10912 else
10913
10914 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10915
10916 fi
10917
10918
10919 eval "$wx_cv_use_notifmsg"
10920
10921 if test x"$enablestring" = xdisable; then
10922 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10923 result=no
10924 else
10925 result=yes
10926 fi
10927 else
10928 result=$wxUSE_NOTIFICATION_MESSAGE
10929 fi
10930
10931 { echo "$as_me:$LINENO: result: $result" >&5
10932 echo "${ECHO_T}$result" >&6; }
10933
10934
10935 enablestring=
10936 defaultval=$wxUSE_ALL_FEATURES
10937 if test -z "$defaultval"; then
10938 if test x"$enablestring" = xdisable; then
10939 defaultval=yes
10940 else
10941 defaultval=no
10942 fi
10943 fi
10944
10945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10947 # Check whether --enable-odcombobox was given.
10948 if test "${enable_odcombobox+set}" = set; then
10949 enableval=$enable_odcombobox;
10950 if test "$enableval" = yes; then
10951 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10952 else
10953 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10954 fi
10955
10956 else
10957
10958 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10959
10960 fi
10961
10962
10963 eval "$wx_cv_use_odcombobox"
10964
10965 if test x"$enablestring" = xdisable; then
10966 if test $wxUSE_ODCOMBOBOX = yes; then
10967 result=no
10968 else
10969 result=yes
10970 fi
10971 else
10972 result=$wxUSE_ODCOMBOBOX
10973 fi
10974
10975 { echo "$as_me:$LINENO: result: $result" >&5
10976 echo "${ECHO_T}$result" >&6; }
10977
10978
10979 enablestring=
10980 defaultval=$wxUSE_ALL_FEATURES
10981 if test -z "$defaultval"; then
10982 if test x"$enablestring" = xdisable; then
10983 defaultval=yes
10984 else
10985 defaultval=no
10986 fi
10987 fi
10988
10989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10991 # Check whether --enable-radiobox was given.
10992 if test "${enable_radiobox+set}" = set; then
10993 enableval=$enable_radiobox;
10994 if test "$enableval" = yes; then
10995 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10996 else
10997 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10998 fi
10999
11000 else
11001
11002 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11003
11004 fi
11005
11006
11007 eval "$wx_cv_use_radiobox"
11008
11009 if test x"$enablestring" = xdisable; then
11010 if test $wxUSE_RADIOBOX = yes; then
11011 result=no
11012 else
11013 result=yes
11014 fi
11015 else
11016 result=$wxUSE_RADIOBOX
11017 fi
11018
11019 { echo "$as_me:$LINENO: result: $result" >&5
11020 echo "${ECHO_T}$result" >&6; }
11021
11022
11023 enablestring=
11024 defaultval=$wxUSE_ALL_FEATURES
11025 if test -z "$defaultval"; then
11026 if test x"$enablestring" = xdisable; then
11027 defaultval=yes
11028 else
11029 defaultval=no
11030 fi
11031 fi
11032
11033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11034 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11035 # Check whether --enable-radiobtn was given.
11036 if test "${enable_radiobtn+set}" = set; then
11037 enableval=$enable_radiobtn;
11038 if test "$enableval" = yes; then
11039 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11040 else
11041 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11042 fi
11043
11044 else
11045
11046 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11047
11048 fi
11049
11050
11051 eval "$wx_cv_use_radiobtn"
11052
11053 if test x"$enablestring" = xdisable; then
11054 if test $wxUSE_RADIOBTN = yes; then
11055 result=no
11056 else
11057 result=yes
11058 fi
11059 else
11060 result=$wxUSE_RADIOBTN
11061 fi
11062
11063 { echo "$as_me:$LINENO: result: $result" >&5
11064 echo "${ECHO_T}$result" >&6; }
11065
11066
11067 enablestring=
11068 defaultval=$wxUSE_ALL_FEATURES
11069 if test -z "$defaultval"; then
11070 if test x"$enablestring" = xdisable; then
11071 defaultval=yes
11072 else
11073 defaultval=no
11074 fi
11075 fi
11076
11077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11079 # Check whether --enable-sash was given.
11080 if test "${enable_sash+set}" = set; then
11081 enableval=$enable_sash;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_sash='wxUSE_SASH=yes'
11084 else
11085 wx_cv_use_sash='wxUSE_SASH=no'
11086 fi
11087
11088 else
11089
11090 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11091
11092 fi
11093
11094
11095 eval "$wx_cv_use_sash"
11096
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_SASH = yes; then
11099 result=no
11100 else
11101 result=yes
11102 fi
11103 else
11104 result=$wxUSE_SASH
11105 fi
11106
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11109
11110
11111 enablestring=
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11115 defaultval=yes
11116 else
11117 defaultval=no
11118 fi
11119 fi
11120
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11123 # Check whether --enable-scrollbar was given.
11124 if test "${enable_scrollbar+set}" = set; then
11125 enableval=$enable_scrollbar;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11128 else
11129 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11130 fi
11131
11132 else
11133
11134 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11135
11136 fi
11137
11138
11139 eval "$wx_cv_use_scrollbar"
11140
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_SCROLLBAR = yes; then
11143 result=no
11144 else
11145 result=yes
11146 fi
11147 else
11148 result=$wxUSE_SCROLLBAR
11149 fi
11150
11151 { echo "$as_me:$LINENO: result: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11153
11154
11155 enablestring=
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11159 defaultval=yes
11160 else
11161 defaultval=no
11162 fi
11163 fi
11164
11165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11167 # Check whether --enable-searchctrl was given.
11168 if test "${enable_searchctrl+set}" = set; then
11169 enableval=$enable_searchctrl;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11172 else
11173 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11174 fi
11175
11176 else
11177
11178 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11179
11180 fi
11181
11182
11183 eval "$wx_cv_use_searchctrl"
11184
11185 if test x"$enablestring" = xdisable; then
11186 if test $wxUSE_SEARCHCTRL = yes; then
11187 result=no
11188 else
11189 result=yes
11190 fi
11191 else
11192 result=$wxUSE_SEARCHCTRL
11193 fi
11194
11195 { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11197
11198
11199 enablestring=
11200 defaultval=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x"$enablestring" = xdisable; then
11203 defaultval=yes
11204 else
11205 defaultval=no
11206 fi
11207 fi
11208
11209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11211 # Check whether --enable-slider was given.
11212 if test "${enable_slider+set}" = set; then
11213 enableval=$enable_slider;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_slider='wxUSE_SLIDER=yes'
11216 else
11217 wx_cv_use_slider='wxUSE_SLIDER=no'
11218 fi
11219
11220 else
11221
11222 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11223
11224 fi
11225
11226
11227 eval "$wx_cv_use_slider"
11228
11229 if test x"$enablestring" = xdisable; then
11230 if test $wxUSE_SLIDER = yes; then
11231 result=no
11232 else
11233 result=yes
11234 fi
11235 else
11236 result=$wxUSE_SLIDER
11237 fi
11238
11239 { echo "$as_me:$LINENO: result: $result" >&5
11240 echo "${ECHO_T}$result" >&6; }
11241
11242
11243 enablestring=
11244 defaultval=$wxUSE_ALL_FEATURES
11245 if test -z "$defaultval"; then
11246 if test x"$enablestring" = xdisable; then
11247 defaultval=yes
11248 else
11249 defaultval=no
11250 fi
11251 fi
11252
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11255 # Check whether --enable-spinbtn was given.
11256 if test "${enable_spinbtn+set}" = set; then
11257 enableval=$enable_spinbtn;
11258 if test "$enableval" = yes; then
11259 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11260 else
11261 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11262 fi
11263
11264 else
11265
11266 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11267
11268 fi
11269
11270
11271 eval "$wx_cv_use_spinbtn"
11272
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_SPINBTN = yes; then
11275 result=no
11276 else
11277 result=yes
11278 fi
11279 else
11280 result=$wxUSE_SPINBTN
11281 fi
11282
11283 { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11285
11286
11287 enablestring=
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11291 defaultval=yes
11292 else
11293 defaultval=no
11294 fi
11295 fi
11296
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11299 # Check whether --enable-spinctrl was given.
11300 if test "${enable_spinctrl+set}" = set; then
11301 enableval=$enable_spinctrl;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11304 else
11305 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11306 fi
11307
11308 else
11309
11310 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11311
11312 fi
11313
11314
11315 eval "$wx_cv_use_spinctrl"
11316
11317 if test x"$enablestring" = xdisable; then
11318 if test $wxUSE_SPINCTRL = yes; then
11319 result=no
11320 else
11321 result=yes
11322 fi
11323 else
11324 result=$wxUSE_SPINCTRL
11325 fi
11326
11327 { echo "$as_me:$LINENO: result: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11329
11330
11331 enablestring=
11332 defaultval=$wxUSE_ALL_FEATURES
11333 if test -z "$defaultval"; then
11334 if test x"$enablestring" = xdisable; then
11335 defaultval=yes
11336 else
11337 defaultval=no
11338 fi
11339 fi
11340
11341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11342 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11343 # Check whether --enable-splitter was given.
11344 if test "${enable_splitter+set}" = set; then
11345 enableval=$enable_splitter;
11346 if test "$enableval" = yes; then
11347 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11348 else
11349 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11350 fi
11351
11352 else
11353
11354 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11355
11356 fi
11357
11358
11359 eval "$wx_cv_use_splitter"
11360
11361 if test x"$enablestring" = xdisable; then
11362 if test $wxUSE_SPLITTER = yes; then
11363 result=no
11364 else
11365 result=yes
11366 fi
11367 else
11368 result=$wxUSE_SPLITTER
11369 fi
11370
11371 { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11373
11374
11375 enablestring=
11376 defaultval=$wxUSE_ALL_FEATURES
11377 if test -z "$defaultval"; then
11378 if test x"$enablestring" = xdisable; then
11379 defaultval=yes
11380 else
11381 defaultval=no
11382 fi
11383 fi
11384
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11387 # Check whether --enable-statbmp was given.
11388 if test "${enable_statbmp+set}" = set; then
11389 enableval=$enable_statbmp;
11390 if test "$enableval" = yes; then
11391 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11392 else
11393 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11394 fi
11395
11396 else
11397
11398 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11399
11400 fi
11401
11402
11403 eval "$wx_cv_use_statbmp"
11404
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_STATBMP = yes; then
11407 result=no
11408 else
11409 result=yes
11410 fi
11411 else
11412 result=$wxUSE_STATBMP
11413 fi
11414
11415 { echo "$as_me:$LINENO: result: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11417
11418
11419 enablestring=
11420 defaultval=$wxUSE_ALL_FEATURES
11421 if test -z "$defaultval"; then
11422 if test x"$enablestring" = xdisable; then
11423 defaultval=yes
11424 else
11425 defaultval=no
11426 fi
11427 fi
11428
11429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11431 # Check whether --enable-statbox was given.
11432 if test "${enable_statbox+set}" = set; then
11433 enableval=$enable_statbox;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11436 else
11437 wx_cv_use_statbox='wxUSE_STATBOX=no'
11438 fi
11439
11440 else
11441
11442 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11443
11444 fi
11445
11446
11447 eval "$wx_cv_use_statbox"
11448
11449 if test x"$enablestring" = xdisable; then
11450 if test $wxUSE_STATBOX = yes; then
11451 result=no
11452 else
11453 result=yes
11454 fi
11455 else
11456 result=$wxUSE_STATBOX
11457 fi
11458
11459 { echo "$as_me:$LINENO: result: $result" >&5
11460 echo "${ECHO_T}$result" >&6; }
11461
11462
11463 enablestring=
11464 defaultval=$wxUSE_ALL_FEATURES
11465 if test -z "$defaultval"; then
11466 if test x"$enablestring" = xdisable; then
11467 defaultval=yes
11468 else
11469 defaultval=no
11470 fi
11471 fi
11472
11473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11475 # Check whether --enable-statline was given.
11476 if test "${enable_statline+set}" = set; then
11477 enableval=$enable_statline;
11478 if test "$enableval" = yes; then
11479 wx_cv_use_statline='wxUSE_STATLINE=yes'
11480 else
11481 wx_cv_use_statline='wxUSE_STATLINE=no'
11482 fi
11483
11484 else
11485
11486 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11487
11488 fi
11489
11490
11491 eval "$wx_cv_use_statline"
11492
11493 if test x"$enablestring" = xdisable; then
11494 if test $wxUSE_STATLINE = yes; then
11495 result=no
11496 else
11497 result=yes
11498 fi
11499 else
11500 result=$wxUSE_STATLINE
11501 fi
11502
11503 { echo "$as_me:$LINENO: result: $result" >&5
11504 echo "${ECHO_T}$result" >&6; }
11505
11506
11507 enablestring=
11508 defaultval=$wxUSE_ALL_FEATURES
11509 if test -z "$defaultval"; then
11510 if test x"$enablestring" = xdisable; then
11511 defaultval=yes
11512 else
11513 defaultval=no
11514 fi
11515 fi
11516
11517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11519 # Check whether --enable-stattext was given.
11520 if test "${enable_stattext+set}" = set; then
11521 enableval=$enable_stattext;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11524 else
11525 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11526 fi
11527
11528 else
11529
11530 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11531
11532 fi
11533
11534
11535 eval "$wx_cv_use_stattext"
11536
11537 if test x"$enablestring" = xdisable; then
11538 if test $wxUSE_STATTEXT = yes; then
11539 result=no
11540 else
11541 result=yes
11542 fi
11543 else
11544 result=$wxUSE_STATTEXT
11545 fi
11546
11547 { echo "$as_me:$LINENO: result: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11549
11550
11551 enablestring=
11552 defaultval=$wxUSE_ALL_FEATURES
11553 if test -z "$defaultval"; then
11554 if test x"$enablestring" = xdisable; then
11555 defaultval=yes
11556 else
11557 defaultval=no
11558 fi
11559 fi
11560
11561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11563 # Check whether --enable-statusbar was given.
11564 if test "${enable_statusbar+set}" = set; then
11565 enableval=$enable_statusbar;
11566 if test "$enableval" = yes; then
11567 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11568 else
11569 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11570 fi
11571
11572 else
11573
11574 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11575
11576 fi
11577
11578
11579 eval "$wx_cv_use_statusbar"
11580
11581 if test x"$enablestring" = xdisable; then
11582 if test $wxUSE_STATUSBAR = yes; then
11583 result=no
11584 else
11585 result=yes
11586 fi
11587 else
11588 result=$wxUSE_STATUSBAR
11589 fi
11590
11591 { echo "$as_me:$LINENO: result: $result" >&5
11592 echo "${ECHO_T}$result" >&6; }
11593
11594
11595 enablestring=
11596 defaultval=$wxUSE_ALL_FEATURES
11597 if test -z "$defaultval"; then
11598 if test x"$enablestring" = xdisable; then
11599 defaultval=yes
11600 else
11601 defaultval=no
11602 fi
11603 fi
11604
11605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11607 # Check whether --enable-tabdialog was given.
11608 if test "${enable_tabdialog+set}" = set; then
11609 enableval=$enable_tabdialog;
11610 if test "$enableval" = yes; then
11611 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11612 else
11613 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11614 fi
11615
11616 else
11617
11618 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11619
11620 fi
11621
11622
11623 eval "$wx_cv_use_tabdialog"
11624
11625 if test x"$enablestring" = xdisable; then
11626 if test $wxUSE_TAB_DIALOG = yes; then
11627 result=no
11628 else
11629 result=yes
11630 fi
11631 else
11632 result=$wxUSE_TAB_DIALOG
11633 fi
11634
11635 { echo "$as_me:$LINENO: result: $result" >&5
11636 echo "${ECHO_T}$result" >&6; }
11637
11638
11639 enablestring=
11640 defaultval=$wxUSE_ALL_FEATURES
11641 if test -z "$defaultval"; then
11642 if test x"$enablestring" = xdisable; then
11643 defaultval=yes
11644 else
11645 defaultval=no
11646 fi
11647 fi
11648
11649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11651 # Check whether --enable-taskbaricon was given.
11652 if test "${enable_taskbaricon+set}" = set; then
11653 enableval=$enable_taskbaricon;
11654 if test "$enableval" = yes; then
11655 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11656 else
11657 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11658 fi
11659
11660 else
11661
11662 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11663
11664 fi
11665
11666
11667 eval "$wx_cv_use_taskbaricon"
11668
11669 if test x"$enablestring" = xdisable; then
11670 if test $wxUSE_TASKBARICON = yes; then
11671 result=no
11672 else
11673 result=yes
11674 fi
11675 else
11676 result=$wxUSE_TASKBARICON
11677 fi
11678
11679 { echo "$as_me:$LINENO: result: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11681
11682
11683 enablestring=
11684 defaultval=$wxUSE_ALL_FEATURES
11685 if test -z "$defaultval"; then
11686 if test x"$enablestring" = xdisable; then
11687 defaultval=yes
11688 else
11689 defaultval=no
11690 fi
11691 fi
11692
11693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11695 # Check whether --enable-textctrl was given.
11696 if test "${enable_textctrl+set}" = set; then
11697 enableval=$enable_textctrl;
11698 if test "$enableval" = yes; then
11699 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11700 else
11701 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11702 fi
11703
11704 else
11705
11706 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11707
11708 fi
11709
11710
11711 eval "$wx_cv_use_textctrl"
11712
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_TEXTCTRL = yes; then
11715 result=no
11716 else
11717 result=yes
11718 fi
11719 else
11720 result=$wxUSE_TEXTCTRL
11721 fi
11722
11723 { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11725
11726
11727 enablestring=
11728 defaultval=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x"$enablestring" = xdisable; then
11731 defaultval=yes
11732 else
11733 defaultval=no
11734 fi
11735 fi
11736
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11739 # Check whether --enable-togglebtn was given.
11740 if test "${enable_togglebtn+set}" = set; then
11741 enableval=$enable_togglebtn;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11744 else
11745 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11746 fi
11747
11748 else
11749
11750 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11751
11752 fi
11753
11754
11755 eval "$wx_cv_use_togglebtn"
11756
11757 if test x"$enablestring" = xdisable; then
11758 if test $wxUSE_TOGGLEBTN = yes; then
11759 result=no
11760 else
11761 result=yes
11762 fi
11763 else
11764 result=$wxUSE_TOGGLEBTN
11765 fi
11766
11767 { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11769
11770
11771 enablestring=
11772 defaultval=$wxUSE_ALL_FEATURES
11773 if test -z "$defaultval"; then
11774 if test x"$enablestring" = xdisable; then
11775 defaultval=yes
11776 else
11777 defaultval=no
11778 fi
11779 fi
11780
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11783 # Check whether --enable-toolbar was given.
11784 if test "${enable_toolbar+set}" = set; then
11785 enableval=$enable_toolbar;
11786 if test "$enableval" = yes; then
11787 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11788 else
11789 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11790 fi
11791
11792 else
11793
11794 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11795
11796 fi
11797
11798
11799 eval "$wx_cv_use_toolbar"
11800
11801 if test x"$enablestring" = xdisable; then
11802 if test $wxUSE_TOOLBAR = yes; then
11803 result=no
11804 else
11805 result=yes
11806 fi
11807 else
11808 result=$wxUSE_TOOLBAR
11809 fi
11810
11811 { echo "$as_me:$LINENO: result: $result" >&5
11812 echo "${ECHO_T}$result" >&6; }
11813
11814
11815 enablestring=
11816 defaultval=$wxUSE_ALL_FEATURES
11817 if test -z "$defaultval"; then
11818 if test x"$enablestring" = xdisable; then
11819 defaultval=yes
11820 else
11821 defaultval=no
11822 fi
11823 fi
11824
11825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11827 # Check whether --enable-tbarnative was given.
11828 if test "${enable_tbarnative+set}" = set; then
11829 enableval=$enable_tbarnative;
11830 if test "$enableval" = yes; then
11831 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11832 else
11833 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11834 fi
11835
11836 else
11837
11838 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11839
11840 fi
11841
11842
11843 eval "$wx_cv_use_tbarnative"
11844
11845 if test x"$enablestring" = xdisable; then
11846 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11847 result=no
11848 else
11849 result=yes
11850 fi
11851 else
11852 result=$wxUSE_TOOLBAR_NATIVE
11853 fi
11854
11855 { echo "$as_me:$LINENO: result: $result" >&5
11856 echo "${ECHO_T}$result" >&6; }
11857
11858
11859 enablestring=
11860 defaultval=$wxUSE_ALL_FEATURES
11861 if test -z "$defaultval"; then
11862 if test x"$enablestring" = xdisable; then
11863 defaultval=yes
11864 else
11865 defaultval=no
11866 fi
11867 fi
11868
11869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11870 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11871 # Check whether --enable-treebook was given.
11872 if test "${enable_treebook+set}" = set; then
11873 enableval=$enable_treebook;
11874 if test "$enableval" = yes; then
11875 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11876 else
11877 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11878 fi
11879
11880 else
11881
11882 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11883
11884 fi
11885
11886
11887 eval "$wx_cv_use_treebook"
11888
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_TREEBOOK = yes; then
11891 result=no
11892 else
11893 result=yes
11894 fi
11895 else
11896 result=$wxUSE_TREEBOOK
11897 fi
11898
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11901
11902
11903 enablestring=
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11907 defaultval=yes
11908 else
11909 defaultval=no
11910 fi
11911 fi
11912
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11915 # Check whether --enable-toolbook was given.
11916 if test "${enable_toolbook+set}" = set; then
11917 enableval=$enable_toolbook;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11920 else
11921 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11922 fi
11923
11924 else
11925
11926 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11927
11928 fi
11929
11930
11931 eval "$wx_cv_use_toolbook"
11932
11933 if test x"$enablestring" = xdisable; then
11934 if test $wxUSE_TOOLBOOK = yes; then
11935 result=no
11936 else
11937 result=yes
11938 fi
11939 else
11940 result=$wxUSE_TOOLBOOK
11941 fi
11942
11943 { echo "$as_me:$LINENO: result: $result" >&5
11944 echo "${ECHO_T}$result" >&6; }
11945
11946
11947 enablestring=
11948 defaultval=$wxUSE_ALL_FEATURES
11949 if test -z "$defaultval"; then
11950 if test x"$enablestring" = xdisable; then
11951 defaultval=yes
11952 else
11953 defaultval=no
11954 fi
11955 fi
11956
11957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11958 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11959 # Check whether --enable-treectrl was given.
11960 if test "${enable_treectrl+set}" = set; then
11961 enableval=$enable_treectrl;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11964 else
11965 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11966 fi
11967
11968 else
11969
11970 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11971
11972 fi
11973
11974
11975 eval "$wx_cv_use_treectrl"
11976
11977 if test x"$enablestring" = xdisable; then
11978 if test $wxUSE_TREECTRL = yes; then
11979 result=no
11980 else
11981 result=yes
11982 fi
11983 else
11984 result=$wxUSE_TREECTRL
11985 fi
11986
11987 { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11989
11990
11991 enablestring=
11992 defaultval=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x"$enablestring" = xdisable; then
11995 defaultval=yes
11996 else
11997 defaultval=no
11998 fi
11999 fi
12000
12001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12003 # Check whether --enable-tipwindow was given.
12004 if test "${enable_tipwindow+set}" = set; then
12005 enableval=$enable_tipwindow;
12006 if test "$enableval" = yes; then
12007 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12008 else
12009 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12010 fi
12011
12012 else
12013
12014 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12015
12016 fi
12017
12018
12019 eval "$wx_cv_use_tipwindow"
12020
12021 if test x"$enablestring" = xdisable; then
12022 if test $wxUSE_TIPWINDOW = yes; then
12023 result=no
12024 else
12025 result=yes
12026 fi
12027 else
12028 result=$wxUSE_TIPWINDOW
12029 fi
12030
12031 { echo "$as_me:$LINENO: result: $result" >&5
12032 echo "${ECHO_T}$result" >&6; }
12033
12034
12035 enablestring=
12036 defaultval=$wxUSE_ALL_FEATURES
12037 if test -z "$defaultval"; then
12038 if test x"$enablestring" = xdisable; then
12039 defaultval=yes
12040 else
12041 defaultval=no
12042 fi
12043 fi
12044
12045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12046 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12047 # Check whether --enable-popupwin was given.
12048 if test "${enable_popupwin+set}" = set; then
12049 enableval=$enable_popupwin;
12050 if test "$enableval" = yes; then
12051 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12052 else
12053 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12054 fi
12055
12056 else
12057
12058 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12059
12060 fi
12061
12062
12063 eval "$wx_cv_use_popupwin"
12064
12065 if test x"$enablestring" = xdisable; then
12066 if test $wxUSE_POPUPWIN = yes; then
12067 result=no
12068 else
12069 result=yes
12070 fi
12071 else
12072 result=$wxUSE_POPUPWIN
12073 fi
12074
12075 { echo "$as_me:$LINENO: result: $result" >&5
12076 echo "${ECHO_T}$result" >&6; }
12077
12078
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12093 # Check whether --enable-commondlg was given.
12094 if test "${enable_commondlg+set}" = set; then
12095 enableval=$enable_commondlg;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12098 else
12099 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12100 fi
12101
12102 else
12103
12104 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_commondlg"
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_COMMONDLGS = yes; then
12113 result=no
12114 else
12115 result=yes
12116 fi
12117 else
12118 result=$wxUSE_COMMONDLGS
12119 fi
12120
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12123
12124
12125 enablestring=
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12129 defaultval=yes
12130 else
12131 defaultval=no
12132 fi
12133 fi
12134
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12137 # Check whether --enable-aboutdlg was given.
12138 if test "${enable_aboutdlg+set}" = set; then
12139 enableval=$enable_aboutdlg;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12142 else
12143 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12144 fi
12145
12146 else
12147
12148 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12149
12150 fi
12151
12152
12153 eval "$wx_cv_use_aboutdlg"
12154
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_ABOUTDLG = yes; then
12157 result=no
12158 else
12159 result=yes
12160 fi
12161 else
12162 result=$wxUSE_ABOUTDLG
12163 fi
12164
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12167
12168
12169 enablestring=
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12173 defaultval=yes
12174 else
12175 defaultval=no
12176 fi
12177 fi
12178
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12181 # Check whether --enable-choicedlg was given.
12182 if test "${enable_choicedlg+set}" = set; then
12183 enableval=$enable_choicedlg;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12186 else
12187 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12188 fi
12189
12190 else
12191
12192 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12193
12194 fi
12195
12196
12197 eval "$wx_cv_use_choicedlg"
12198
12199 if test x"$enablestring" = xdisable; then
12200 if test $wxUSE_CHOICEDLG = yes; then
12201 result=no
12202 else
12203 result=yes
12204 fi
12205 else
12206 result=$wxUSE_CHOICEDLG
12207 fi
12208
12209 { echo "$as_me:$LINENO: result: $result" >&5
12210 echo "${ECHO_T}$result" >&6; }
12211
12212
12213 enablestring=
12214 defaultval=$wxUSE_ALL_FEATURES
12215 if test -z "$defaultval"; then
12216 if test x"$enablestring" = xdisable; then
12217 defaultval=yes
12218 else
12219 defaultval=no
12220 fi
12221 fi
12222
12223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12224 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12225 # Check whether --enable-coldlg was given.
12226 if test "${enable_coldlg+set}" = set; then
12227 enableval=$enable_coldlg;
12228 if test "$enableval" = yes; then
12229 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12230 else
12231 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12232 fi
12233
12234 else
12235
12236 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12237
12238 fi
12239
12240
12241 eval "$wx_cv_use_coldlg"
12242
12243 if test x"$enablestring" = xdisable; then
12244 if test $wxUSE_COLOURDLG = yes; then
12245 result=no
12246 else
12247 result=yes
12248 fi
12249 else
12250 result=$wxUSE_COLOURDLG
12251 fi
12252
12253 { echo "$as_me:$LINENO: result: $result" >&5
12254 echo "${ECHO_T}$result" >&6; }
12255
12256
12257 enablestring=
12258 defaultval=$wxUSE_ALL_FEATURES
12259 if test -z "$defaultval"; then
12260 if test x"$enablestring" = xdisable; then
12261 defaultval=yes
12262 else
12263 defaultval=no
12264 fi
12265 fi
12266
12267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12268 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12269 # Check whether --enable-filedlg was given.
12270 if test "${enable_filedlg+set}" = set; then
12271 enableval=$enable_filedlg;
12272 if test "$enableval" = yes; then
12273 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12274 else
12275 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12276 fi
12277
12278 else
12279
12280 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12281
12282 fi
12283
12284
12285 eval "$wx_cv_use_filedlg"
12286
12287 if test x"$enablestring" = xdisable; then
12288 if test $wxUSE_FILEDLG = yes; then
12289 result=no
12290 else
12291 result=yes
12292 fi
12293 else
12294 result=$wxUSE_FILEDLG
12295 fi
12296
12297 { echo "$as_me:$LINENO: result: $result" >&5
12298 echo "${ECHO_T}$result" >&6; }
12299
12300
12301 enablestring=
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12305 defaultval=yes
12306 else
12307 defaultval=no
12308 fi
12309 fi
12310
12311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12313 # Check whether --enable-finddlg was given.
12314 if test "${enable_finddlg+set}" = set; then
12315 enableval=$enable_finddlg;
12316 if test "$enableval" = yes; then
12317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12318 else
12319 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12320 fi
12321
12322 else
12323
12324 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12325
12326 fi
12327
12328
12329 eval "$wx_cv_use_finddlg"
12330
12331 if test x"$enablestring" = xdisable; then
12332 if test $wxUSE_FINDREPLDLG = yes; then
12333 result=no
12334 else
12335 result=yes
12336 fi
12337 else
12338 result=$wxUSE_FINDREPLDLG
12339 fi
12340
12341 { echo "$as_me:$LINENO: result: $result" >&5
12342 echo "${ECHO_T}$result" >&6; }
12343
12344
12345 enablestring=
12346 defaultval=$wxUSE_ALL_FEATURES
12347 if test -z "$defaultval"; then
12348 if test x"$enablestring" = xdisable; then
12349 defaultval=yes
12350 else
12351 defaultval=no
12352 fi
12353 fi
12354
12355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12356 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12357 # Check whether --enable-fontdlg was given.
12358 if test "${enable_fontdlg+set}" = set; then
12359 enableval=$enable_fontdlg;
12360 if test "$enableval" = yes; then
12361 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12362 else
12363 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12364 fi
12365
12366 else
12367
12368 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12369
12370 fi
12371
12372
12373 eval "$wx_cv_use_fontdlg"
12374
12375 if test x"$enablestring" = xdisable; then
12376 if test $wxUSE_FONTDLG = yes; then
12377 result=no
12378 else
12379 result=yes
12380 fi
12381 else
12382 result=$wxUSE_FONTDLG
12383 fi
12384
12385 { echo "$as_me:$LINENO: result: $result" >&5
12386 echo "${ECHO_T}$result" >&6; }
12387
12388
12389 enablestring=
12390 defaultval=$wxUSE_ALL_FEATURES
12391 if test -z "$defaultval"; then
12392 if test x"$enablestring" = xdisable; then
12393 defaultval=yes
12394 else
12395 defaultval=no
12396 fi
12397 fi
12398
12399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12400 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12401 # Check whether --enable-dirdlg was given.
12402 if test "${enable_dirdlg+set}" = set; then
12403 enableval=$enable_dirdlg;
12404 if test "$enableval" = yes; then
12405 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12406 else
12407 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12408 fi
12409
12410 else
12411
12412 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12413
12414 fi
12415
12416
12417 eval "$wx_cv_use_dirdlg"
12418
12419 if test x"$enablestring" = xdisable; then
12420 if test $wxUSE_DIRDLG = yes; then
12421 result=no
12422 else
12423 result=yes
12424 fi
12425 else
12426 result=$wxUSE_DIRDLG
12427 fi
12428
12429 { echo "$as_me:$LINENO: result: $result" >&5
12430 echo "${ECHO_T}$result" >&6; }
12431
12432
12433 enablestring=
12434 defaultval=$wxUSE_ALL_FEATURES
12435 if test -z "$defaultval"; then
12436 if test x"$enablestring" = xdisable; then
12437 defaultval=yes
12438 else
12439 defaultval=no
12440 fi
12441 fi
12442
12443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12444 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12445 # Check whether --enable-msgdlg was given.
12446 if test "${enable_msgdlg+set}" = set; then
12447 enableval=$enable_msgdlg;
12448 if test "$enableval" = yes; then
12449 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12450 else
12451 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12452 fi
12453
12454 else
12455
12456 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12457
12458 fi
12459
12460
12461 eval "$wx_cv_use_msgdlg"
12462
12463 if test x"$enablestring" = xdisable; then
12464 if test $wxUSE_MSGDLG = yes; then
12465 result=no
12466 else
12467 result=yes
12468 fi
12469 else
12470 result=$wxUSE_MSGDLG
12471 fi
12472
12473 { echo "$as_me:$LINENO: result: $result" >&5
12474 echo "${ECHO_T}$result" >&6; }
12475
12476
12477 enablestring=
12478 defaultval=$wxUSE_ALL_FEATURES
12479 if test -z "$defaultval"; then
12480 if test x"$enablestring" = xdisable; then
12481 defaultval=yes
12482 else
12483 defaultval=no
12484 fi
12485 fi
12486
12487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12488 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12489 # Check whether --enable-numberdlg was given.
12490 if test "${enable_numberdlg+set}" = set; then
12491 enableval=$enable_numberdlg;
12492 if test "$enableval" = yes; then
12493 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12494 else
12495 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12496 fi
12497
12498 else
12499
12500 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12501
12502 fi
12503
12504
12505 eval "$wx_cv_use_numberdlg"
12506
12507 if test x"$enablestring" = xdisable; then
12508 if test $wxUSE_NUMBERDLG = yes; then
12509 result=no
12510 else
12511 result=yes
12512 fi
12513 else
12514 result=$wxUSE_NUMBERDLG
12515 fi
12516
12517 { echo "$as_me:$LINENO: result: $result" >&5
12518 echo "${ECHO_T}$result" >&6; }
12519
12520
12521 enablestring=
12522 defaultval=$wxUSE_ALL_FEATURES
12523 if test -z "$defaultval"; then
12524 if test x"$enablestring" = xdisable; then
12525 defaultval=yes
12526 else
12527 defaultval=no
12528 fi
12529 fi
12530
12531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12532 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12533 # Check whether --enable-splash was given.
12534 if test "${enable_splash+set}" = set; then
12535 enableval=$enable_splash;
12536 if test "$enableval" = yes; then
12537 wx_cv_use_splash='wxUSE_SPLASH=yes'
12538 else
12539 wx_cv_use_splash='wxUSE_SPLASH=no'
12540 fi
12541
12542 else
12543
12544 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12545
12546 fi
12547
12548
12549 eval "$wx_cv_use_splash"
12550
12551 if test x"$enablestring" = xdisable; then
12552 if test $wxUSE_SPLASH = yes; then
12553 result=no
12554 else
12555 result=yes
12556 fi
12557 else
12558 result=$wxUSE_SPLASH
12559 fi
12560
12561 { echo "$as_me:$LINENO: result: $result" >&5
12562 echo "${ECHO_T}$result" >&6; }
12563
12564
12565 enablestring=
12566 defaultval=$wxUSE_ALL_FEATURES
12567 if test -z "$defaultval"; then
12568 if test x"$enablestring" = xdisable; then
12569 defaultval=yes
12570 else
12571 defaultval=no
12572 fi
12573 fi
12574
12575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12576 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12577 # Check whether --enable-textdlg was given.
12578 if test "${enable_textdlg+set}" = set; then
12579 enableval=$enable_textdlg;
12580 if test "$enableval" = yes; then
12581 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12582 else
12583 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12584 fi
12585
12586 else
12587
12588 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12589
12590 fi
12591
12592
12593 eval "$wx_cv_use_textdlg"
12594
12595 if test x"$enablestring" = xdisable; then
12596 if test $wxUSE_TEXTDLG = yes; then
12597 result=no
12598 else
12599 result=yes
12600 fi
12601 else
12602 result=$wxUSE_TEXTDLG
12603 fi
12604
12605 { echo "$as_me:$LINENO: result: $result" >&5
12606 echo "${ECHO_T}$result" >&6; }
12607
12608
12609 enablestring=
12610 defaultval=$wxUSE_ALL_FEATURES
12611 if test -z "$defaultval"; then
12612 if test x"$enablestring" = xdisable; then
12613 defaultval=yes
12614 else
12615 defaultval=no
12616 fi
12617 fi
12618
12619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12620 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12621 # Check whether --enable-tipdlg was given.
12622 if test "${enable_tipdlg+set}" = set; then
12623 enableval=$enable_tipdlg;
12624 if test "$enableval" = yes; then
12625 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12626 else
12627 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12628 fi
12629
12630 else
12631
12632 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12633
12634 fi
12635
12636
12637 eval "$wx_cv_use_tipdlg"
12638
12639 if test x"$enablestring" = xdisable; then
12640 if test $wxUSE_STARTUP_TIPS = yes; then
12641 result=no
12642 else
12643 result=yes
12644 fi
12645 else
12646 result=$wxUSE_STARTUP_TIPS
12647 fi
12648
12649 { echo "$as_me:$LINENO: result: $result" >&5
12650 echo "${ECHO_T}$result" >&6; }
12651
12652
12653 enablestring=
12654 defaultval=$wxUSE_ALL_FEATURES
12655 if test -z "$defaultval"; then
12656 if test x"$enablestring" = xdisable; then
12657 defaultval=yes
12658 else
12659 defaultval=no
12660 fi
12661 fi
12662
12663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12664 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12665 # Check whether --enable-progressdlg was given.
12666 if test "${enable_progressdlg+set}" = set; then
12667 enableval=$enable_progressdlg;
12668 if test "$enableval" = yes; then
12669 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12670 else
12671 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12672 fi
12673
12674 else
12675
12676 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12677
12678 fi
12679
12680
12681 eval "$wx_cv_use_progressdlg"
12682
12683 if test x"$enablestring" = xdisable; then
12684 if test $wxUSE_PROGRESSDLG = yes; then
12685 result=no
12686 else
12687 result=yes
12688 fi
12689 else
12690 result=$wxUSE_PROGRESSDLG
12691 fi
12692
12693 { echo "$as_me:$LINENO: result: $result" >&5
12694 echo "${ECHO_T}$result" >&6; }
12695
12696
12697 enablestring=
12698 defaultval=$wxUSE_ALL_FEATURES
12699 if test -z "$defaultval"; then
12700 if test x"$enablestring" = xdisable; then
12701 defaultval=yes
12702 else
12703 defaultval=no
12704 fi
12705 fi
12706
12707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12708 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12709 # Check whether --enable-wizarddlg was given.
12710 if test "${enable_wizarddlg+set}" = set; then
12711 enableval=$enable_wizarddlg;
12712 if test "$enableval" = yes; then
12713 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12714 else
12715 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12716 fi
12717
12718 else
12719
12720 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12721
12722 fi
12723
12724
12725 eval "$wx_cv_use_wizarddlg"
12726
12727 if test x"$enablestring" = xdisable; then
12728 if test $wxUSE_WIZARDDLG = yes; then
12729 result=no
12730 else
12731 result=yes
12732 fi
12733 else
12734 result=$wxUSE_WIZARDDLG
12735 fi
12736
12737 { echo "$as_me:$LINENO: result: $result" >&5
12738 echo "${ECHO_T}$result" >&6; }
12739
12740
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12755 # Check whether --enable-menus was given.
12756 if test "${enable_menus+set}" = set; then
12757 enableval=$enable_menus;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_menus='wxUSE_MENUS=yes'
12760 else
12761 wx_cv_use_menus='wxUSE_MENUS=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_menus"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_MENUS = yes; then
12775 result=no
12776 else
12777 result=yes
12778 fi
12779 else
12780 result=$wxUSE_MENUS
12781 fi
12782
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12799 # Check whether --enable-miniframe was given.
12800 if test "${enable_miniframe+set}" = set; then
12801 enableval=$enable_miniframe;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12804 else
12805 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12806 fi
12807
12808 else
12809
12810 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_miniframe"
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_MINIFRAME = yes; then
12819 result=no
12820 else
12821 result=yes
12822 fi
12823 else
12824 result=$wxUSE_MINIFRAME
12825 fi
12826
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12829
12830
12831 enablestring=
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12835 defaultval=yes
12836 else
12837 defaultval=no
12838 fi
12839 fi
12840
12841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12842 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12843 # Check whether --enable-tooltips was given.
12844 if test "${enable_tooltips+set}" = set; then
12845 enableval=$enable_tooltips;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12848 else
12849 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12850 fi
12851
12852 else
12853
12854 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12855
12856 fi
12857
12858
12859 eval "$wx_cv_use_tooltips"
12860
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_TOOLTIPS = yes; then
12863 result=no
12864 else
12865 result=yes
12866 fi
12867 else
12868 result=$wxUSE_TOOLTIPS
12869 fi
12870
12871 { echo "$as_me:$LINENO: result: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12873
12874
12875 enablestring=
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12879 defaultval=yes
12880 else
12881 defaultval=no
12882 fi
12883 fi
12884
12885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12886 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12887 # Check whether --enable-splines was given.
12888 if test "${enable_splines+set}" = set; then
12889 enableval=$enable_splines;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_splines='wxUSE_SPLINES=yes'
12892 else
12893 wx_cv_use_splines='wxUSE_SPLINES=no'
12894 fi
12895
12896 else
12897
12898 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12899
12900 fi
12901
12902
12903 eval "$wx_cv_use_splines"
12904
12905 if test x"$enablestring" = xdisable; then
12906 if test $wxUSE_SPLINES = yes; then
12907 result=no
12908 else
12909 result=yes
12910 fi
12911 else
12912 result=$wxUSE_SPLINES
12913 fi
12914
12915 { echo "$as_me:$LINENO: result: $result" >&5
12916 echo "${ECHO_T}$result" >&6; }
12917
12918
12919 enablestring=
12920 defaultval=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x"$enablestring" = xdisable; then
12923 defaultval=yes
12924 else
12925 defaultval=no
12926 fi
12927 fi
12928
12929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12930 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12931 # Check whether --enable-mousewheel was given.
12932 if test "${enable_mousewheel+set}" = set; then
12933 enableval=$enable_mousewheel;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12936 else
12937 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12938 fi
12939
12940 else
12941
12942 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12943
12944 fi
12945
12946
12947 eval "$wx_cv_use_mousewheel"
12948
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_MOUSEWHEEL = yes; then
12951 result=no
12952 else
12953 result=yes
12954 fi
12955 else
12956 result=$wxUSE_MOUSEWHEEL
12957 fi
12958
12959 { echo "$as_me:$LINENO: result: $result" >&5
12960 echo "${ECHO_T}$result" >&6; }
12961
12962
12963 enablestring=
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12967 defaultval=yes
12968 else
12969 defaultval=no
12970 fi
12971 fi
12972
12973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12975 # Check whether --enable-validators was given.
12976 if test "${enable_validators+set}" = set; then
12977 enableval=$enable_validators;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12980 else
12981 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12982 fi
12983
12984 else
12985
12986 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12987
12988 fi
12989
12990
12991 eval "$wx_cv_use_validators"
12992
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_VALIDATORS = yes; then
12995 result=no
12996 else
12997 result=yes
12998 fi
12999 else
13000 result=$wxUSE_VALIDATORS
13001 fi
13002
13003 { echo "$as_me:$LINENO: result: $result" >&5
13004 echo "${ECHO_T}$result" >&6; }
13005
13006
13007 enablestring=
13008 defaultval=$wxUSE_ALL_FEATURES
13009 if test -z "$defaultval"; then
13010 if test x"$enablestring" = xdisable; then
13011 defaultval=yes
13012 else
13013 defaultval=no
13014 fi
13015 fi
13016
13017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13018 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13019 # Check whether --enable-busyinfo was given.
13020 if test "${enable_busyinfo+set}" = set; then
13021 enableval=$enable_busyinfo;
13022 if test "$enableval" = yes; then
13023 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13024 else
13025 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13026 fi
13027
13028 else
13029
13030 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13031
13032 fi
13033
13034
13035 eval "$wx_cv_use_busyinfo"
13036
13037 if test x"$enablestring" = xdisable; then
13038 if test $wxUSE_BUSYINFO = yes; then
13039 result=no
13040 else
13041 result=yes
13042 fi
13043 else
13044 result=$wxUSE_BUSYINFO
13045 fi
13046
13047 { echo "$as_me:$LINENO: result: $result" >&5
13048 echo "${ECHO_T}$result" >&6; }
13049
13050
13051 enablestring=
13052 defaultval=$wxUSE_ALL_FEATURES
13053 if test -z "$defaultval"; then
13054 if test x"$enablestring" = xdisable; then
13055 defaultval=yes
13056 else
13057 defaultval=no
13058 fi
13059 fi
13060
13061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13062 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13063 # Check whether --enable-joystick was given.
13064 if test "${enable_joystick+set}" = set; then
13065 enableval=$enable_joystick;
13066 if test "$enableval" = yes; then
13067 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13068 else
13069 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13070 fi
13071
13072 else
13073
13074 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13075
13076 fi
13077
13078
13079 eval "$wx_cv_use_joystick"
13080
13081 if test x"$enablestring" = xdisable; then
13082 if test $wxUSE_JOYSTICK = yes; then
13083 result=no
13084 else
13085 result=yes
13086 fi
13087 else
13088 result=$wxUSE_JOYSTICK
13089 fi
13090
13091 { echo "$as_me:$LINENO: result: $result" >&5
13092 echo "${ECHO_T}$result" >&6; }
13093
13094
13095 enablestring=
13096 defaultval=$wxUSE_ALL_FEATURES
13097 if test -z "$defaultval"; then
13098 if test x"$enablestring" = xdisable; then
13099 defaultval=yes
13100 else
13101 defaultval=no
13102 fi
13103 fi
13104
13105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13106 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13107 # Check whether --enable-metafile was given.
13108 if test "${enable_metafile+set}" = set; then
13109 enableval=$enable_metafile;
13110 if test "$enableval" = yes; then
13111 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13112 else
13113 wx_cv_use_metafile='wxUSE_METAFILE=no'
13114 fi
13115
13116 else
13117
13118 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13119
13120 fi
13121
13122
13123 eval "$wx_cv_use_metafile"
13124
13125 if test x"$enablestring" = xdisable; then
13126 if test $wxUSE_METAFILE = yes; then
13127 result=no
13128 else
13129 result=yes
13130 fi
13131 else
13132 result=$wxUSE_METAFILE
13133 fi
13134
13135 { echo "$as_me:$LINENO: result: $result" >&5
13136 echo "${ECHO_T}$result" >&6; }
13137
13138
13139 enablestring=
13140 defaultval=$wxUSE_ALL_FEATURES
13141 if test -z "$defaultval"; then
13142 if test x"$enablestring" = xdisable; then
13143 defaultval=yes
13144 else
13145 defaultval=no
13146 fi
13147 fi
13148
13149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13150 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13151 # Check whether --enable-dragimage was given.
13152 if test "${enable_dragimage+set}" = set; then
13153 enableval=$enable_dragimage;
13154 if test "$enableval" = yes; then
13155 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13156 else
13157 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13158 fi
13159
13160 else
13161
13162 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13163
13164 fi
13165
13166
13167 eval "$wx_cv_use_dragimage"
13168
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_DRAGIMAGE = yes; then
13171 result=no
13172 else
13173 result=yes
13174 fi
13175 else
13176 result=$wxUSE_DRAGIMAGE
13177 fi
13178
13179 { echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6; }
13181
13182
13183 enablestring=
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13187 defaultval=yes
13188 else
13189 defaultval=no
13190 fi
13191 fi
13192
13193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13195 # Check whether --enable-accessibility was given.
13196 if test "${enable_accessibility+set}" = set; then
13197 enableval=$enable_accessibility;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13200 else
13201 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13202 fi
13203
13204 else
13205
13206 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13207
13208 fi
13209
13210
13211 eval "$wx_cv_use_accessibility"
13212
13213 if test x"$enablestring" = xdisable; then
13214 if test $wxUSE_ACCESSIBILITY = yes; then
13215 result=no
13216 else
13217 result=yes
13218 fi
13219 else
13220 result=$wxUSE_ACCESSIBILITY
13221 fi
13222
13223 { echo "$as_me:$LINENO: result: $result" >&5
13224 echo "${ECHO_T}$result" >&6; }
13225
13226
13227
13228
13229 enablestring=
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13233 defaultval=yes
13234 else
13235 defaultval=no
13236 fi
13237 fi
13238
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13241 # Check whether --enable-palette was given.
13242 if test "${enable_palette+set}" = set; then
13243 enableval=$enable_palette;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_palette='wxUSE_PALETTE=yes'
13246 else
13247 wx_cv_use_palette='wxUSE_PALETTE=no'
13248 fi
13249
13250 else
13251
13252 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_palette"
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_PALETTE = yes; then
13261 result=no
13262 else
13263 result=yes
13264 fi
13265 else
13266 result=$wxUSE_PALETTE
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273 enablestring=
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13277 defaultval=yes
13278 else
13279 defaultval=no
13280 fi
13281 fi
13282
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13285 # Check whether --enable-image was given.
13286 if test "${enable_image+set}" = set; then
13287 enableval=$enable_image;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_image='wxUSE_IMAGE=yes'
13290 else
13291 wx_cv_use_image='wxUSE_IMAGE=no'
13292 fi
13293
13294 else
13295
13296 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13297
13298 fi
13299
13300
13301 eval "$wx_cv_use_image"
13302
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_IMAGE = yes; then
13305 result=no
13306 else
13307 result=yes
13308 fi
13309 else
13310 result=$wxUSE_IMAGE
13311 fi
13312
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13315
13316
13317 enablestring=
13318 defaultval=$wxUSE_ALL_FEATURES
13319 if test -z "$defaultval"; then
13320 if test x"$enablestring" = xdisable; then
13321 defaultval=yes
13322 else
13323 defaultval=no
13324 fi
13325 fi
13326
13327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13328 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13329 # Check whether --enable-gif was given.
13330 if test "${enable_gif+set}" = set; then
13331 enableval=$enable_gif;
13332 if test "$enableval" = yes; then
13333 wx_cv_use_gif='wxUSE_GIF=yes'
13334 else
13335 wx_cv_use_gif='wxUSE_GIF=no'
13336 fi
13337
13338 else
13339
13340 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13341
13342 fi
13343
13344
13345 eval "$wx_cv_use_gif"
13346
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_GIF = yes; then
13349 result=no
13350 else
13351 result=yes
13352 fi
13353 else
13354 result=$wxUSE_GIF
13355 fi
13356
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13359
13360
13361 enablestring=
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13365 defaultval=yes
13366 else
13367 defaultval=no
13368 fi
13369 fi
13370
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13373 # Check whether --enable-pcx was given.
13374 if test "${enable_pcx+set}" = set; then
13375 enableval=$enable_pcx;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_pcx='wxUSE_PCX=yes'
13378 else
13379 wx_cv_use_pcx='wxUSE_PCX=no'
13380 fi
13381
13382 else
13383
13384 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13385
13386 fi
13387
13388
13389 eval "$wx_cv_use_pcx"
13390
13391 if test x"$enablestring" = xdisable; then
13392 if test $wxUSE_PCX = yes; then
13393 result=no
13394 else
13395 result=yes
13396 fi
13397 else
13398 result=$wxUSE_PCX
13399 fi
13400
13401 { echo "$as_me:$LINENO: result: $result" >&5
13402 echo "${ECHO_T}$result" >&6; }
13403
13404
13405 enablestring=
13406 defaultval=$wxUSE_ALL_FEATURES
13407 if test -z "$defaultval"; then
13408 if test x"$enablestring" = xdisable; then
13409 defaultval=yes
13410 else
13411 defaultval=no
13412 fi
13413 fi
13414
13415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13416 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13417 # Check whether --enable-tga was given.
13418 if test "${enable_tga+set}" = set; then
13419 enableval=$enable_tga;
13420 if test "$enableval" = yes; then
13421 wx_cv_use_tga='wxUSE_TGA=yes'
13422 else
13423 wx_cv_use_tga='wxUSE_TGA=no'
13424 fi
13425
13426 else
13427
13428 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13429
13430 fi
13431
13432
13433 eval "$wx_cv_use_tga"
13434
13435 if test x"$enablestring" = xdisable; then
13436 if test $wxUSE_TGA = yes; then
13437 result=no
13438 else
13439 result=yes
13440 fi
13441 else
13442 result=$wxUSE_TGA
13443 fi
13444
13445 { echo "$as_me:$LINENO: result: $result" >&5
13446 echo "${ECHO_T}$result" >&6; }
13447
13448
13449 enablestring=
13450 defaultval=$wxUSE_ALL_FEATURES
13451 if test -z "$defaultval"; then
13452 if test x"$enablestring" = xdisable; then
13453 defaultval=yes
13454 else
13455 defaultval=no
13456 fi
13457 fi
13458
13459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13461 # Check whether --enable-iff was given.
13462 if test "${enable_iff+set}" = set; then
13463 enableval=$enable_iff;
13464 if test "$enableval" = yes; then
13465 wx_cv_use_iff='wxUSE_IFF=yes'
13466 else
13467 wx_cv_use_iff='wxUSE_IFF=no'
13468 fi
13469
13470 else
13471
13472 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13473
13474 fi
13475
13476
13477 eval "$wx_cv_use_iff"
13478
13479 if test x"$enablestring" = xdisable; then
13480 if test $wxUSE_IFF = yes; then
13481 result=no
13482 else
13483 result=yes
13484 fi
13485 else
13486 result=$wxUSE_IFF
13487 fi
13488
13489 { echo "$as_me:$LINENO: result: $result" >&5
13490 echo "${ECHO_T}$result" >&6; }
13491
13492
13493 enablestring=
13494 defaultval=$wxUSE_ALL_FEATURES
13495 if test -z "$defaultval"; then
13496 if test x"$enablestring" = xdisable; then
13497 defaultval=yes
13498 else
13499 defaultval=no
13500 fi
13501 fi
13502
13503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13504 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13505 # Check whether --enable-pnm was given.
13506 if test "${enable_pnm+set}" = set; then
13507 enableval=$enable_pnm;
13508 if test "$enableval" = yes; then
13509 wx_cv_use_pnm='wxUSE_PNM=yes'
13510 else
13511 wx_cv_use_pnm='wxUSE_PNM=no'
13512 fi
13513
13514 else
13515
13516 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13517
13518 fi
13519
13520
13521 eval "$wx_cv_use_pnm"
13522
13523 if test x"$enablestring" = xdisable; then
13524 if test $wxUSE_PNM = yes; then
13525 result=no
13526 else
13527 result=yes
13528 fi
13529 else
13530 result=$wxUSE_PNM
13531 fi
13532
13533 { echo "$as_me:$LINENO: result: $result" >&5
13534 echo "${ECHO_T}$result" >&6; }
13535
13536
13537 enablestring=
13538 defaultval=$wxUSE_ALL_FEATURES
13539 if test -z "$defaultval"; then
13540 if test x"$enablestring" = xdisable; then
13541 defaultval=yes
13542 else
13543 defaultval=no
13544 fi
13545 fi
13546
13547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13548 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13549 # Check whether --enable-xpm was given.
13550 if test "${enable_xpm+set}" = set; then
13551 enableval=$enable_xpm;
13552 if test "$enableval" = yes; then
13553 wx_cv_use_xpm='wxUSE_XPM=yes'
13554 else
13555 wx_cv_use_xpm='wxUSE_XPM=no'
13556 fi
13557
13558 else
13559
13560 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13561
13562 fi
13563
13564
13565 eval "$wx_cv_use_xpm"
13566
13567 if test x"$enablestring" = xdisable; then
13568 if test $wxUSE_XPM = yes; then
13569 result=no
13570 else
13571 result=yes
13572 fi
13573 else
13574 result=$wxUSE_XPM
13575 fi
13576
13577 { echo "$as_me:$LINENO: result: $result" >&5
13578 echo "${ECHO_T}$result" >&6; }
13579
13580
13581 enablestring=
13582 defaultval=$wxUSE_ALL_FEATURES
13583 if test -z "$defaultval"; then
13584 if test x"$enablestring" = xdisable; then
13585 defaultval=yes
13586 else
13587 defaultval=no
13588 fi
13589 fi
13590
13591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13592 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13593 # Check whether --enable-ico_cur was given.
13594 if test "${enable_ico_cur+set}" = set; then
13595 enableval=$enable_ico_cur;
13596 if test "$enableval" = yes; then
13597 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13598 else
13599 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13600 fi
13601
13602 else
13603
13604 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13605
13606 fi
13607
13608
13609 eval "$wx_cv_use_ico_cur"
13610
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_ICO_CUR = yes; then
13613 result=no
13614 else
13615 result=yes
13616 fi
13617 else
13618 result=$wxUSE_ICO_CUR
13619 fi
13620
13621 { echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6; }
13623
13624
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13639 # Check whether --enable-dccache was given.
13640 if test "${enable_dccache+set}" = set; then
13641 enableval=$enable_dccache;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13644 else
13645 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_dccache"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_DC_CACHEING = yes; then
13659 result=no
13660 else
13661 result=yes
13662 fi
13663 else
13664 result=$wxUSE_DC_CACHEING
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13683 # Check whether --enable-ps-in-msw was given.
13684 if test "${enable_ps_in_msw+set}" = set; then
13685 enableval=$enable_ps_in_msw;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13688 else
13689 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13690 fi
13691
13692 else
13693
13694 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13695
13696 fi
13697
13698
13699 eval "$wx_cv_use_ps_in_msw"
13700
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13703 result=no
13704 else
13705 result=yes
13706 fi
13707 else
13708 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13709 fi
13710
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13713
13714
13715 enablestring=
13716 defaultval=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x"$enablestring" = xdisable; then
13719 defaultval=yes
13720 else
13721 defaultval=no
13722 fi
13723 fi
13724
13725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13726 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13727 # Check whether --enable-ownerdrawn was given.
13728 if test "${enable_ownerdrawn+set}" = set; then
13729 enableval=$enable_ownerdrawn;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13732 else
13733 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13734 fi
13735
13736 else
13737
13738 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13739
13740 fi
13741
13742
13743 eval "$wx_cv_use_ownerdrawn"
13744
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_OWNER_DRAWN = yes; then
13747 result=no
13748 else
13749 result=yes
13750 fi
13751 else
13752 result=$wxUSE_OWNER_DRAWN
13753 fi
13754
13755 { echo "$as_me:$LINENO: result: $result" >&5
13756 echo "${ECHO_T}$result" >&6; }
13757
13758
13759 enablestring=
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13763 defaultval=yes
13764 else
13765 defaultval=no
13766 fi
13767 fi
13768
13769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13770 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13771 # Check whether --enable-uxtheme was given.
13772 if test "${enable_uxtheme+set}" = set; then
13773 enableval=$enable_uxtheme;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13776 else
13777 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13778 fi
13779
13780 else
13781
13782 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13783
13784 fi
13785
13786
13787 eval "$wx_cv_use_uxtheme"
13788
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_UXTHEME = yes; then
13791 result=no
13792 else
13793 result=yes
13794 fi
13795 else
13796 result=$wxUSE_UXTHEME
13797 fi
13798
13799 { echo "$as_me:$LINENO: result: $result" >&5
13800 echo "${ECHO_T}$result" >&6; }
13801
13802
13803 enablestring=
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13807 defaultval=yes
13808 else
13809 defaultval=no
13810 fi
13811 fi
13812
13813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13814 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13815 # Check whether --enable-wxdib was given.
13816 if test "${enable_wxdib+set}" = set; then
13817 enableval=$enable_wxdib;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_wxdib='wxUSE_DIB=yes'
13820 else
13821 wx_cv_use_wxdib='wxUSE_DIB=no'
13822 fi
13823
13824 else
13825
13826 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13827
13828 fi
13829
13830
13831 eval "$wx_cv_use_wxdib"
13832
13833 if test x"$enablestring" = xdisable; then
13834 if test $wxUSE_DIB = yes; then
13835 result=no
13836 else
13837 result=yes
13838 fi
13839 else
13840 result=$wxUSE_DIB
13841 fi
13842
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13845
13846
13847 if test "$wxUSE_MSW" != 1; then
13848 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13849 fi
13850
13851
13852 enablestring=
13853 defaultval=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x"$enablestring" = xdisable; then
13856 defaultval=yes
13857 else
13858 defaultval=no
13859 fi
13860 fi
13861
13862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13863 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13864 # Check whether --enable-autoidman was given.
13865 if test "${enable_autoidman+set}" = set; then
13866 enableval=$enable_autoidman;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13869 else
13870 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13871 fi
13872
13873 else
13874
13875 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13876
13877 fi
13878
13879
13880 eval "$wx_cv_use_autoidman"
13881
13882 if test x"$enablestring" = xdisable; then
13883 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13884 result=no
13885 else
13886 result=yes
13887 fi
13888 else
13889 result=$wxUSE_AUTOID_MANAGEMENT
13890 fi
13891
13892 { echo "$as_me:$LINENO: result: $result" >&5
13893 echo "${ECHO_T}$result" >&6; }
13894
13895
13896 fi
13897
13898
13899 cat >confcache <<\_ACEOF
13900 # This file is a shell script that caches the results of configure
13901 # tests run on this system so they can be shared between configure
13902 # scripts and configure runs, see configure's option --config-cache.
13903 # It is not useful on other systems. If it contains results you don't
13904 # want to keep, you may remove or edit it.
13905 #
13906 # config.status only pays attention to the cache file if you give it
13907 # the --recheck option to rerun configure.
13908 #
13909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13911 # following values.
13912
13913 _ACEOF
13914
13915 # The following way of writing the cache mishandles newlines in values,
13916 # but we know of no workaround that is simple, portable, and efficient.
13917 # So, we kill variables containing newlines.
13918 # Ultrix sh set writes to stderr and can't be redirected directly,
13919 # and sets the high bit in the cache file unless we assign to the vars.
13920 (
13921 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13922 eval ac_val=\$$ac_var
13923 case $ac_val in #(
13924 *${as_nl}*)
13925 case $ac_var in #(
13926 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13927 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13928 esac
13929 case $ac_var in #(
13930 _ | IFS | as_nl) ;; #(
13931 *) $as_unset $ac_var ;;
13932 esac ;;
13933 esac
13934 done
13935
13936 (set) 2>&1 |
13937 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13938 *${as_nl}ac_space=\ *)
13939 # `set' does not quote correctly, so add quotes (double-quote
13940 # substitution turns \\\\ into \\, and sed turns \\ into \).
13941 sed -n \
13942 "s/'/'\\\\''/g;
13943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13944 ;; #(
13945 *)
13946 # `set' quotes correctly as required by POSIX, so do not add quotes.
13947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13948 ;;
13949 esac |
13950 sort
13951 ) |
13952 sed '
13953 /^ac_cv_env_/b end
13954 t clear
13955 :clear
13956 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13957 t end
13958 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13959 :end' >>confcache
13960 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13961 if test -w "$cache_file"; then
13962 test "x$cache_file" != "x/dev/null" &&
13963 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13964 echo "$as_me: updating cache $cache_file" >&6;}
13965 cat confcache >$cache_file
13966 else
13967 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13968 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13969 fi
13970 fi
13971 rm -f confcache
13972
13973 CFLAGS=${CFLAGS:=}
13974
13975
13976
13977 ac_ext=c
13978 ac_cpp='$CPP $CPPFLAGS'
13979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13982 if test -n "$ac_tool_prefix"; then
13983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13984 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13987 if test "${ac_cv_prog_CC+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 else
13990 if test -n "$CC"; then
13991 ac_cv_prog_CC="$CC" # Let the user override the test.
13992 else
13993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13994 for as_dir in $PATH
13995 do
13996 IFS=$as_save_IFS
13997 test -z "$as_dir" && as_dir=.
13998 for ac_exec_ext in '' $ac_executable_extensions; do
13999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14000 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14002 break 2
14003 fi
14004 done
14005 done
14006 IFS=$as_save_IFS
14007
14008 fi
14009 fi
14010 CC=$ac_cv_prog_CC
14011 if test -n "$CC"; then
14012 { echo "$as_me:$LINENO: result: $CC" >&5
14013 echo "${ECHO_T}$CC" >&6; }
14014 else
14015 { echo "$as_me:$LINENO: result: no" >&5
14016 echo "${ECHO_T}no" >&6; }
14017 fi
14018
14019
14020 fi
14021 if test -z "$ac_cv_prog_CC"; then
14022 ac_ct_CC=$CC
14023 # Extract the first word of "gcc", so it can be a program name with args.
14024 set dummy gcc; ac_word=$2
14025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 else
14030 if test -n "$ac_ct_CC"; then
14031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14032 else
14033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14034 for as_dir in $PATH
14035 do
14036 IFS=$as_save_IFS
14037 test -z "$as_dir" && as_dir=.
14038 for ac_exec_ext in '' $ac_executable_extensions; do
14039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14040 ac_cv_prog_ac_ct_CC="gcc"
14041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14042 break 2
14043 fi
14044 done
14045 done
14046 IFS=$as_save_IFS
14047
14048 fi
14049 fi
14050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14051 if test -n "$ac_ct_CC"; then
14052 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14053 echo "${ECHO_T}$ac_ct_CC" >&6; }
14054 else
14055 { echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6; }
14057 fi
14058
14059 if test "x$ac_ct_CC" = x; then
14060 CC=""
14061 else
14062 case $cross_compiling:$ac_tool_warned in
14063 yes:)
14064 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14065 whose name does not start with the host triplet. If you think this
14066 configuration is useful to you, please write to autoconf@gnu.org." >&5
14067 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14068 whose name does not start with the host triplet. If you think this
14069 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14070 ac_tool_warned=yes ;;
14071 esac
14072 CC=$ac_ct_CC
14073 fi
14074 else
14075 CC="$ac_cv_prog_CC"
14076 fi
14077
14078 if test -z "$CC"; then
14079 if test -n "$ac_tool_prefix"; then
14080 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14081 set dummy ${ac_tool_prefix}cc; ac_word=$2
14082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14084 if test "${ac_cv_prog_CC+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 else
14087 if test -n "$CC"; then
14088 ac_cv_prog_CC="$CC" # Let the user override the test.
14089 else
14090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14091 for as_dir in $PATH
14092 do
14093 IFS=$as_save_IFS
14094 test -z "$as_dir" && as_dir=.
14095 for ac_exec_ext in '' $ac_executable_extensions; do
14096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14097 ac_cv_prog_CC="${ac_tool_prefix}cc"
14098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 break 2
14100 fi
14101 done
14102 done
14103 IFS=$as_save_IFS
14104
14105 fi
14106 fi
14107 CC=$ac_cv_prog_CC
14108 if test -n "$CC"; then
14109 { echo "$as_me:$LINENO: result: $CC" >&5
14110 echo "${ECHO_T}$CC" >&6; }
14111 else
14112 { echo "$as_me:$LINENO: result: no" >&5
14113 echo "${ECHO_T}no" >&6; }
14114 fi
14115
14116
14117 fi
14118 fi
14119 if test -z "$CC"; then
14120 # Extract the first word of "cc", so it can be a program name with args.
14121 set dummy cc; ac_word=$2
14122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14124 if test "${ac_cv_prog_CC+set}" = set; then
14125 echo $ECHO_N "(cached) $ECHO_C" >&6
14126 else
14127 if test -n "$CC"; then
14128 ac_cv_prog_CC="$CC" # Let the user override the test.
14129 else
14130 ac_prog_rejected=no
14131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14132 for as_dir in $PATH
14133 do
14134 IFS=$as_save_IFS
14135 test -z "$as_dir" && as_dir=.
14136 for ac_exec_ext in '' $ac_executable_extensions; do
14137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14138 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14139 ac_prog_rejected=yes
14140 continue
14141 fi
14142 ac_cv_prog_CC="cc"
14143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14144 break 2
14145 fi
14146 done
14147 done
14148 IFS=$as_save_IFS
14149
14150 if test $ac_prog_rejected = yes; then
14151 # We found a bogon in the path, so make sure we never use it.
14152 set dummy $ac_cv_prog_CC
14153 shift
14154 if test $# != 0; then
14155 # We chose a different compiler from the bogus one.
14156 # However, it has the same basename, so the bogon will be chosen
14157 # first if we set CC to just the basename; use the full file name.
14158 shift
14159 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14160 fi
14161 fi
14162 fi
14163 fi
14164 CC=$ac_cv_prog_CC
14165 if test -n "$CC"; then
14166 { echo "$as_me:$LINENO: result: $CC" >&5
14167 echo "${ECHO_T}$CC" >&6; }
14168 else
14169 { echo "$as_me:$LINENO: result: no" >&5
14170 echo "${ECHO_T}no" >&6; }
14171 fi
14172
14173
14174 fi
14175 if test -z "$CC"; then
14176 if test -n "$ac_tool_prefix"; then
14177 for ac_prog in cl.exe
14178 do
14179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14180 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14183 if test "${ac_cv_prog_CC+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 else
14186 if test -n "$CC"; then
14187 ac_cv_prog_CC="$CC" # Let the user override the test.
14188 else
14189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14190 for as_dir in $PATH
14191 do
14192 IFS=$as_save_IFS
14193 test -z "$as_dir" && as_dir=.
14194 for ac_exec_ext in '' $ac_executable_extensions; do
14195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14196 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 break 2
14199 fi
14200 done
14201 done
14202 IFS=$as_save_IFS
14203
14204 fi
14205 fi
14206 CC=$ac_cv_prog_CC
14207 if test -n "$CC"; then
14208 { echo "$as_me:$LINENO: result: $CC" >&5
14209 echo "${ECHO_T}$CC" >&6; }
14210 else
14211 { echo "$as_me:$LINENO: result: no" >&5
14212 echo "${ECHO_T}no" >&6; }
14213 fi
14214
14215
14216 test -n "$CC" && break
14217 done
14218 fi
14219 if test -z "$CC"; then
14220 ac_ct_CC=$CC
14221 for ac_prog in cl.exe
14222 do
14223 # Extract the first word of "$ac_prog", so it can be a program name with args.
14224 set dummy $ac_prog; ac_word=$2
14225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14227 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 if test -n "$ac_ct_CC"; then
14231 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14232 else
14233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14234 for as_dir in $PATH
14235 do
14236 IFS=$as_save_IFS
14237 test -z "$as_dir" && as_dir=.
14238 for ac_exec_ext in '' $ac_executable_extensions; do
14239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14240 ac_cv_prog_ac_ct_CC="$ac_prog"
14241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14242 break 2
14243 fi
14244 done
14245 done
14246 IFS=$as_save_IFS
14247
14248 fi
14249 fi
14250 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14251 if test -n "$ac_ct_CC"; then
14252 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14253 echo "${ECHO_T}$ac_ct_CC" >&6; }
14254 else
14255 { echo "$as_me:$LINENO: result: no" >&5
14256 echo "${ECHO_T}no" >&6; }
14257 fi
14258
14259
14260 test -n "$ac_ct_CC" && break
14261 done
14262
14263 if test "x$ac_ct_CC" = x; then
14264 CC=""
14265 else
14266 case $cross_compiling:$ac_tool_warned in
14267 yes:)
14268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14269 whose name does not start with the host triplet. If you think this
14270 configuration is useful to you, please write to autoconf@gnu.org." >&5
14271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14272 whose name does not start with the host triplet. If you think this
14273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14274 ac_tool_warned=yes ;;
14275 esac
14276 CC=$ac_ct_CC
14277 fi
14278 fi
14279
14280 fi
14281
14282
14283 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14284 See \`config.log' for more details." >&5
14285 echo "$as_me: error: no acceptable C compiler found in \$PATH
14286 See \`config.log' for more details." >&2;}
14287 { (exit 1); exit 1; }; }
14288
14289 # Provide some information about the compiler.
14290 echo "$as_me:$LINENO: checking for C compiler version" >&5
14291 ac_compiler=`set X $ac_compile; echo $2`
14292 { (ac_try="$ac_compiler --version >&5"
14293 case "(($ac_try" in
14294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14295 *) ac_try_echo=$ac_try;;
14296 esac
14297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14298 (eval "$ac_compiler --version >&5") 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }
14302 { (ac_try="$ac_compiler -v >&5"
14303 case "(($ac_try" in
14304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14305 *) ac_try_echo=$ac_try;;
14306 esac
14307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14308 (eval "$ac_compiler -v >&5") 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }
14312 { (ac_try="$ac_compiler -V >&5"
14313 case "(($ac_try" in
14314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14315 *) ac_try_echo=$ac_try;;
14316 esac
14317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14318 (eval "$ac_compiler -V >&5") 2>&5
14319 ac_status=$?
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }
14322
14323 cat >conftest.$ac_ext <<_ACEOF
14324 /* confdefs.h. */
14325 _ACEOF
14326 cat confdefs.h >>conftest.$ac_ext
14327 cat >>conftest.$ac_ext <<_ACEOF
14328 /* end confdefs.h. */
14329
14330 int
14331 main ()
14332 {
14333
14334 ;
14335 return 0;
14336 }
14337 _ACEOF
14338 ac_clean_files_save=$ac_clean_files
14339 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14340 # Try to create an executable without -o first, disregard a.out.
14341 # It will help us diagnose broken compilers, and finding out an intuition
14342 # of exeext.
14343 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14344 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14345 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14346 #
14347 # List of possible output files, starting from the most likely.
14348 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14349 # only as a last resort. b.out is created by i960 compilers.
14350 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14351 #
14352 # The IRIX 6 linker writes into existing files which may not be
14353 # executable, retaining their permissions. Remove them first so a
14354 # subsequent execution test works.
14355 ac_rmfiles=
14356 for ac_file in $ac_files
14357 do
14358 case $ac_file in
14359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14360 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14361 esac
14362 done
14363 rm -f $ac_rmfiles
14364
14365 if { (ac_try="$ac_link_default"
14366 case "(($ac_try" in
14367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14368 *) ac_try_echo=$ac_try;;
14369 esac
14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14371 (eval "$ac_link_default") 2>&5
14372 ac_status=$?
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; then
14375 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14376 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14377 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14378 # so that the user can short-circuit this test for compilers unknown to
14379 # Autoconf.
14380 for ac_file in $ac_files ''
14381 do
14382 test -f "$ac_file" || continue
14383 case $ac_file in
14384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14385 ;;
14386 [ab].out )
14387 # We found the default executable, but exeext='' is most
14388 # certainly right.
14389 break;;
14390 *.* )
14391 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14392 then :; else
14393 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14394 fi
14395 # We set ac_cv_exeext here because the later test for it is not
14396 # safe: cross compilers may not add the suffix if given an `-o'
14397 # argument, so we may need to know it at that point already.
14398 # Even if this section looks crufty: it has the advantage of
14399 # actually working.
14400 break;;
14401 * )
14402 break;;
14403 esac
14404 done
14405 test "$ac_cv_exeext" = no && ac_cv_exeext=
14406
14407 else
14408 ac_file=''
14409 fi
14410
14411 { echo "$as_me:$LINENO: result: $ac_file" >&5
14412 echo "${ECHO_T}$ac_file" >&6; }
14413 if test -z "$ac_file"; then
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.$ac_ext >&5
14416
14417 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14418 See \`config.log' for more details." >&5
14419 echo "$as_me: error: C compiler cannot create executables
14420 See \`config.log' for more details." >&2;}
14421 { (exit 77); exit 77; }; }
14422 fi
14423
14424 ac_exeext=$ac_cv_exeext
14425
14426 # Check that the compiler produces executables we can run. If not, either
14427 # the compiler is broken, or we cross compile.
14428 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14429 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14430 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14431 # If not cross compiling, check that we can run a simple program.
14432 if test "$cross_compiling" != yes; then
14433 if { ac_try='./$ac_file'
14434 { (case "(($ac_try" in
14435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14436 *) ac_try_echo=$ac_try;;
14437 esac
14438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14439 (eval "$ac_try") 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; }; then
14443 cross_compiling=no
14444 else
14445 if test "$cross_compiling" = maybe; then
14446 cross_compiling=yes
14447 else
14448 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14449 If you meant to cross compile, use \`--host'.
14450 See \`config.log' for more details." >&5
14451 echo "$as_me: error: cannot run C compiled programs.
14452 If you meant to cross compile, use \`--host'.
14453 See \`config.log' for more details." >&2;}
14454 { (exit 1); exit 1; }; }
14455 fi
14456 fi
14457 fi
14458 { echo "$as_me:$LINENO: result: yes" >&5
14459 echo "${ECHO_T}yes" >&6; }
14460
14461 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14462 ac_clean_files=$ac_clean_files_save
14463 # Check that the compiler produces executables we can run. If not, either
14464 # the compiler is broken, or we cross compile.
14465 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14466 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14467 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14468 echo "${ECHO_T}$cross_compiling" >&6; }
14469
14470 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14471 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14472 if { (ac_try="$ac_link"
14473 case "(($ac_try" in
14474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14475 *) ac_try_echo=$ac_try;;
14476 esac
14477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14478 (eval "$ac_link") 2>&5
14479 ac_status=$?
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; then
14482 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14483 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14484 # work properly (i.e., refer to `conftest.exe'), while it won't with
14485 # `rm'.
14486 for ac_file in conftest.exe conftest conftest.*; do
14487 test -f "$ac_file" || continue
14488 case $ac_file in
14489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14490 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14491 break;;
14492 * ) break;;
14493 esac
14494 done
14495 else
14496 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14497 See \`config.log' for more details." >&5
14498 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14499 See \`config.log' for more details." >&2;}
14500 { (exit 1); exit 1; }; }
14501 fi
14502
14503 rm -f conftest$ac_cv_exeext
14504 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14505 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14506
14507 rm -f conftest.$ac_ext
14508 EXEEXT=$ac_cv_exeext
14509 ac_exeext=$EXEEXT
14510 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14511 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14512 if test "${ac_cv_objext+set}" = set; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14514 else
14515 cat >conftest.$ac_ext <<_ACEOF
14516 /* confdefs.h. */
14517 _ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14521
14522 int
14523 main ()
14524 {
14525
14526 ;
14527 return 0;
14528 }
14529 _ACEOF
14530 rm -f conftest.o conftest.obj
14531 if { (ac_try="$ac_compile"
14532 case "(($ac_try" in
14533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14534 *) ac_try_echo=$ac_try;;
14535 esac
14536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14537 (eval "$ac_compile") 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; then
14541 for ac_file in conftest.o conftest.obj conftest.*; do
14542 test -f "$ac_file" || continue;
14543 case $ac_file in
14544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14545 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14546 break;;
14547 esac
14548 done
14549 else
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.$ac_ext >&5
14552
14553 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14554 See \`config.log' for more details." >&5
14555 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14556 See \`config.log' for more details." >&2;}
14557 { (exit 1); exit 1; }; }
14558 fi
14559
14560 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14561 fi
14562 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14563 echo "${ECHO_T}$ac_cv_objext" >&6; }
14564 OBJEXT=$ac_cv_objext
14565 ac_objext=$OBJEXT
14566 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14567 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14568 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14569 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 else
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577
14578 int
14579 main ()
14580 {
14581 #ifndef __GNUC__
14582 choke me
14583 #endif
14584
14585 ;
14586 return 0;
14587 }
14588 _ACEOF
14589 rm -f conftest.$ac_objext
14590 if { (ac_try="$ac_compile"
14591 case "(($ac_try" in
14592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14593 *) ac_try_echo=$ac_try;;
14594 esac
14595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14596 (eval "$ac_compile") 2>conftest.er1
14597 ac_status=$?
14598 grep -v '^ *+' conftest.er1 >conftest.err
14599 rm -f conftest.er1
14600 cat conftest.err >&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); } && {
14603 test -z "$ac_c_werror_flag" ||
14604 test ! -s conftest.err
14605 } && test -s conftest.$ac_objext; then
14606 ac_compiler_gnu=yes
14607 else
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.$ac_ext >&5
14610
14611 ac_compiler_gnu=no
14612 fi
14613
14614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14616
14617 fi
14618 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14619 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14620 GCC=`test $ac_compiler_gnu = yes && echo yes`
14621 ac_test_CFLAGS=${CFLAGS+set}
14622 ac_save_CFLAGS=$CFLAGS
14623 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14624 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14625 if test "${ac_cv_prog_cc_g+set}" = set; then
14626 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 else
14628 ac_save_c_werror_flag=$ac_c_werror_flag
14629 ac_c_werror_flag=yes
14630 ac_cv_prog_cc_g=no
14631 CFLAGS="-g"
14632 cat >conftest.$ac_ext <<_ACEOF
14633 /* confdefs.h. */
14634 _ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638
14639 int
14640 main ()
14641 {
14642
14643 ;
14644 return 0;
14645 }
14646 _ACEOF
14647 rm -f conftest.$ac_objext
14648 if { (ac_try="$ac_compile"
14649 case "(($ac_try" in
14650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651 *) ac_try_echo=$ac_try;;
14652 esac
14653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14654 (eval "$ac_compile") 2>conftest.er1
14655 ac_status=$?
14656 grep -v '^ *+' conftest.er1 >conftest.err
14657 rm -f conftest.er1
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } && {
14661 test -z "$ac_c_werror_flag" ||
14662 test ! -s conftest.err
14663 } && test -s conftest.$ac_objext; then
14664 ac_cv_prog_cc_g=yes
14665 else
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14668
14669 CFLAGS=""
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676
14677 int
14678 main ()
14679 {
14680
14681 ;
14682 return 0;
14683 }
14684 _ACEOF
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14690 esac
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14693 ac_status=$?
14694 grep -v '^ *+' conftest.er1 >conftest.err
14695 rm -f conftest.er1
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } && {
14699 test -z "$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14701 } && test -s conftest.$ac_objext; then
14702 :
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14706
14707 ac_c_werror_flag=$ac_save_c_werror_flag
14708 CFLAGS="-g"
14709 cat >conftest.$ac_ext <<_ACEOF
14710 /* confdefs.h. */
14711 _ACEOF
14712 cat confdefs.h >>conftest.$ac_ext
14713 cat >>conftest.$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14715
14716 int
14717 main ()
14718 {
14719
14720 ;
14721 return 0;
14722 }
14723 _ACEOF
14724 rm -f conftest.$ac_objext
14725 if { (ac_try="$ac_compile"
14726 case "(($ac_try" in
14727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14728 *) ac_try_echo=$ac_try;;
14729 esac
14730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14731 (eval "$ac_compile") 2>conftest.er1
14732 ac_status=$?
14733 grep -v '^ *+' conftest.er1 >conftest.err
14734 rm -f conftest.er1
14735 cat conftest.err >&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } && {
14738 test -z "$ac_c_werror_flag" ||
14739 test ! -s conftest.err
14740 } && test -s conftest.$ac_objext; then
14741 ac_cv_prog_cc_g=yes
14742 else
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.$ac_ext >&5
14745
14746
14747 fi
14748
14749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14750 fi
14751
14752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14753 fi
14754
14755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14756 ac_c_werror_flag=$ac_save_c_werror_flag
14757 fi
14758 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14759 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14760 if test "$ac_test_CFLAGS" = set; then
14761 CFLAGS=$ac_save_CFLAGS
14762 elif test $ac_cv_prog_cc_g = yes; then
14763 if test "$GCC" = yes; then
14764 CFLAGS="-g -O2"
14765 else
14766 CFLAGS="-g"
14767 fi
14768 else
14769 if test "$GCC" = yes; then
14770 CFLAGS="-O2"
14771 else
14772 CFLAGS=
14773 fi
14774 fi
14775 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14776 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14777 if test "${ac_cv_prog_cc_c89+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 ac_cv_prog_cc_c89=no
14781 ac_save_CC=$CC
14782 cat >conftest.$ac_ext <<_ACEOF
14783 /* confdefs.h. */
14784 _ACEOF
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 #include <stdarg.h>
14789 #include <stdio.h>
14790 #include <sys/types.h>
14791 #include <sys/stat.h>
14792 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14793 struct buf { int x; };
14794 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14795 static char *e (p, i)
14796 char **p;
14797 int i;
14798 {
14799 return p[i];
14800 }
14801 static char *f (char * (*g) (char **, int), char **p, ...)
14802 {
14803 char *s;
14804 va_list v;
14805 va_start (v,p);
14806 s = g (p, va_arg (v,int));
14807 va_end (v);
14808 return s;
14809 }
14810
14811 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14812 function prototypes and stuff, but not '\xHH' hex character constants.
14813 These don't provoke an error unfortunately, instead are silently treated
14814 as 'x'. The following induces an error, until -std is added to get
14815 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14816 array size at least. It's necessary to write '\x00'==0 to get something
14817 that's true only with -std. */
14818 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14819
14820 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14821 inside strings and character constants. */
14822 #define FOO(x) 'x'
14823 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14824
14825 int test (int i, double x);
14826 struct s1 {int (*f) (int a);};
14827 struct s2 {int (*f) (double a);};
14828 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14829 int argc;
14830 char **argv;
14831 int
14832 main ()
14833 {
14834 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14835 ;
14836 return 0;
14837 }
14838 _ACEOF
14839 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14840 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14841 do
14842 CC="$ac_save_CC $ac_arg"
14843 rm -f conftest.$ac_objext
14844 if { (ac_try="$ac_compile"
14845 case "(($ac_try" in
14846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14847 *) ac_try_echo=$ac_try;;
14848 esac
14849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14850 (eval "$ac_compile") 2>conftest.er1
14851 ac_status=$?
14852 grep -v '^ *+' conftest.er1 >conftest.err
14853 rm -f conftest.er1
14854 cat conftest.err >&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); } && {
14857 test -z "$ac_c_werror_flag" ||
14858 test ! -s conftest.err
14859 } && test -s conftest.$ac_objext; then
14860 ac_cv_prog_cc_c89=$ac_arg
14861 else
14862 echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.$ac_ext >&5
14864
14865
14866 fi
14867
14868 rm -f core conftest.err conftest.$ac_objext
14869 test "x$ac_cv_prog_cc_c89" != "xno" && break
14870 done
14871 rm -f conftest.$ac_ext
14872 CC=$ac_save_CC
14873
14874 fi
14875 # AC_CACHE_VAL
14876 case "x$ac_cv_prog_cc_c89" in
14877 x)
14878 { echo "$as_me:$LINENO: result: none needed" >&5
14879 echo "${ECHO_T}none needed" >&6; } ;;
14880 xno)
14881 { echo "$as_me:$LINENO: result: unsupported" >&5
14882 echo "${ECHO_T}unsupported" >&6; } ;;
14883 *)
14884 CC="$CC $ac_cv_prog_cc_c89"
14885 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14886 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14887 esac
14888
14889
14890 ac_ext=c
14891 ac_cpp='$CPP $CPPFLAGS'
14892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14895
14896
14897
14898
14899 ac_ext=c
14900 ac_cpp='$CPP $CPPFLAGS'
14901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14904
14905 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14906 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14907 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14908 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 else
14910 cat >conftest.$ac_ext <<_ACEOF
14911 /* confdefs.h. */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916
14917 int
14918 main ()
14919 {
14920
14921 #ifndef __INTEL_COMPILER
14922 choke me
14923 #endif
14924
14925 ;
14926 return 0;
14927 }
14928 _ACEOF
14929 rm -f conftest.$ac_objext
14930 if { (ac_try="$ac_compile"
14931 case "(($ac_try" in
14932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14933 *) ac_try_echo=$ac_try;;
14934 esac
14935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14936 (eval "$ac_compile") 2>conftest.er1
14937 ac_status=$?
14938 grep -v '^ *+' conftest.er1 >conftest.err
14939 rm -f conftest.er1
14940 cat conftest.err >&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } && {
14943 test -z "$ac_c_werror_flag" ||
14944 test ! -s conftest.err
14945 } && test -s conftest.$ac_objext; then
14946 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14947 else
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.$ac_ext >&5
14950
14951 bakefile_cv_c_compiler___INTEL_COMPILER=no
14952
14953 fi
14954
14955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14956
14957
14958 fi
14959 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14960 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14961 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14962 :; INTELCC=yes
14963 else
14964 :;
14965 fi
14966 ac_ext=c
14967 ac_cpp='$CPP $CPPFLAGS'
14968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14971
14972
14973
14974
14975 if test "x$GCC" != "xyes"; then
14976 if test "xCC" = "xC"; then
14977 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14978 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14979 if test "${bakefile_cv_c_exto+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982 cat >conftest.$ac_ext <<_ACEOF
14983 /* confdefs.h. */
14984 _ACEOF
14985 cat confdefs.h >>conftest.$ac_ext
14986 cat >>conftest.$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14988
14989 int
14990 main ()
14991 {
14992
14993 ;
14994 return 0;
14995 }
14996 _ACEOF
14997 rm -f conftest.$ac_objext conftest.$ac_ext.o
14998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14999 (eval $ac_compile) 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; then
15003 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15004 case $ac_file in
15005 conftest.$ac_ext.o)
15006 bakefile_cv_c_exto="-ext o"
15007 ;;
15008 *)
15009 ;;
15010 esac
15011 done
15012 else
15013 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15014 See \`config.log' for more details." >&5
15015 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15016 See \`config.log' for more details." >&2;}
15017 { (exit 1); exit 1; }; }
15018
15019 fi
15020
15021 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15022
15023 fi
15024 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15025 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15026 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15027 if test "c" = "c"; then
15028 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15029 fi
15030 if test "c" = "cxx"; then
15031 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15032 fi
15033 fi
15034
15035 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15036 unset ac_cv_prog_cc_g
15037 ac_test_CFLAGS=${CFLAGS+set}
15038 ac_save_CFLAGS=$CFLAGS
15039 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15040 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15041 if test "${ac_cv_prog_cc_g+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 else
15044 ac_save_c_werror_flag=$ac_c_werror_flag
15045 ac_c_werror_flag=yes
15046 ac_cv_prog_cc_g=no
15047 CFLAGS="-g"
15048 cat >conftest.$ac_ext <<_ACEOF
15049 /* confdefs.h. */
15050 _ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054
15055 int
15056 main ()
15057 {
15058
15059 ;
15060 return 0;
15061 }
15062 _ACEOF
15063 rm -f conftest.$ac_objext
15064 if { (ac_try="$ac_compile"
15065 case "(($ac_try" in
15066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15067 *) ac_try_echo=$ac_try;;
15068 esac
15069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15070 (eval "$ac_compile") 2>conftest.er1
15071 ac_status=$?
15072 grep -v '^ *+' conftest.er1 >conftest.err
15073 rm -f conftest.er1
15074 cat conftest.err >&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } && {
15077 test -z "$ac_c_werror_flag" ||
15078 test ! -s conftest.err
15079 } && test -s conftest.$ac_objext; then
15080 ac_cv_prog_cc_g=yes
15081 else
15082 echo "$as_me: failed program was:" >&5
15083 sed 's/^/| /' conftest.$ac_ext >&5
15084
15085 CFLAGS=""
15086 cat >conftest.$ac_ext <<_ACEOF
15087 /* confdefs.h. */
15088 _ACEOF
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15092
15093 int
15094 main ()
15095 {
15096
15097 ;
15098 return 0;
15099 }
15100 _ACEOF
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15106 esac
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compile") 2>conftest.er1
15109 ac_status=$?
15110 grep -v '^ *+' conftest.er1 >conftest.err
15111 rm -f conftest.er1
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } && {
15115 test -z "$ac_c_werror_flag" ||
15116 test ! -s conftest.err
15117 } && test -s conftest.$ac_objext; then
15118 :
15119 else
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.$ac_ext >&5
15122
15123 ac_c_werror_flag=$ac_save_c_werror_flag
15124 CFLAGS="-g"
15125 cat >conftest.$ac_ext <<_ACEOF
15126 /* confdefs.h. */
15127 _ACEOF
15128 cat confdefs.h >>conftest.$ac_ext
15129 cat >>conftest.$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15131
15132 int
15133 main ()
15134 {
15135
15136 ;
15137 return 0;
15138 }
15139 _ACEOF
15140 rm -f conftest.$ac_objext
15141 if { (ac_try="$ac_compile"
15142 case "(($ac_try" in
15143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15144 *) ac_try_echo=$ac_try;;
15145 esac
15146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15147 (eval "$ac_compile") 2>conftest.er1
15148 ac_status=$?
15149 grep -v '^ *+' conftest.er1 >conftest.err
15150 rm -f conftest.er1
15151 cat conftest.err >&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } && {
15154 test -z "$ac_c_werror_flag" ||
15155 test ! -s conftest.err
15156 } && test -s conftest.$ac_objext; then
15157 ac_cv_prog_cc_g=yes
15158 else
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.$ac_ext >&5
15161
15162
15163 fi
15164
15165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15166 fi
15167
15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15169 fi
15170
15171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 ac_c_werror_flag=$ac_save_c_werror_flag
15173 fi
15174 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15175 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15176 if test "$ac_test_CFLAGS" = set; then
15177 CFLAGS=$ac_save_CFLAGS
15178 elif test $ac_cv_prog_cc_g = yes; then
15179 if test "$GCC" = yes; then
15180 CFLAGS="-g -O2"
15181 else
15182 CFLAGS="-g"
15183 fi
15184 else
15185 if test "$GCC" = yes; then
15186 CFLAGS="-O2"
15187 else
15188 CFLAGS=
15189 fi
15190 fi
15191 fi
15192 fi
15193
15194 case `uname -s` in
15195 AIX*)
15196
15197
15198 ac_ext=c
15199 ac_cpp='$CPP $CPPFLAGS'
15200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15203
15204 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15205 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15206 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 else
15209 cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215
15216 int
15217 main ()
15218 {
15219
15220 #ifndef __xlC__
15221 choke me
15222 #endif
15223
15224 ;
15225 return 0;
15226 }
15227 _ACEOF
15228 rm -f conftest.$ac_objext
15229 if { (ac_try="$ac_compile"
15230 case "(($ac_try" in
15231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232 *) ac_try_echo=$ac_try;;
15233 esac
15234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15235 (eval "$ac_compile") 2>conftest.er1
15236 ac_status=$?
15237 grep -v '^ *+' conftest.er1 >conftest.err
15238 rm -f conftest.er1
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } && {
15242 test -z "$ac_c_werror_flag" ||
15243 test ! -s conftest.err
15244 } && test -s conftest.$ac_objext; then
15245 bakefile_cv_c_compiler___xlC__=yes
15246 else
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15249
15250 bakefile_cv_c_compiler___xlC__=no
15251
15252 fi
15253
15254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15255
15256
15257 fi
15258 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15259 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15260 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15261 :; XLCC=yes
15262 else
15263 :;
15264 fi
15265 ac_ext=c
15266 ac_cpp='$CPP $CPPFLAGS'
15267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15270
15271
15272
15273 ;;
15274
15275 Darwin)
15276
15277
15278 ac_ext=c
15279 ac_cpp='$CPP $CPPFLAGS'
15280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15283
15284 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15285 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15286 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 else
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295
15296 int
15297 main ()
15298 {
15299
15300 #ifndef __MWERKS__
15301 choke me
15302 #endif
15303
15304 ;
15305 return 0;
15306 }
15307 _ACEOF
15308 rm -f conftest.$ac_objext
15309 if { (ac_try="$ac_compile"
15310 case "(($ac_try" in
15311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15312 *) ac_try_echo=$ac_try;;
15313 esac
15314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15315 (eval "$ac_compile") 2>conftest.er1
15316 ac_status=$?
15317 grep -v '^ *+' conftest.er1 >conftest.err
15318 rm -f conftest.er1
15319 cat conftest.err >&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } && {
15322 test -z "$ac_c_werror_flag" ||
15323 test ! -s conftest.err
15324 } && test -s conftest.$ac_objext; then
15325 bakefile_cv_c_compiler___MWERKS__=yes
15326 else
15327 echo "$as_me: failed program was:" >&5
15328 sed 's/^/| /' conftest.$ac_ext >&5
15329
15330 bakefile_cv_c_compiler___MWERKS__=no
15331
15332 fi
15333
15334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15335
15336
15337 fi
15338 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15339 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15340 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15341 :; MWCC=yes
15342 else
15343 :;
15344 fi
15345 ac_ext=c
15346 ac_cpp='$CPP $CPPFLAGS'
15347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15350
15351
15352
15353
15354
15355 ac_ext=c
15356 ac_cpp='$CPP $CPPFLAGS'
15357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15360
15361 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15362 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15363 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15365 else
15366 cat >conftest.$ac_ext <<_ACEOF
15367 /* confdefs.h. */
15368 _ACEOF
15369 cat confdefs.h >>conftest.$ac_ext
15370 cat >>conftest.$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15372
15373 int
15374 main ()
15375 {
15376
15377 #ifndef __xlC__
15378 choke me
15379 #endif
15380
15381 ;
15382 return 0;
15383 }
15384 _ACEOF
15385 rm -f conftest.$ac_objext
15386 if { (ac_try="$ac_compile"
15387 case "(($ac_try" in
15388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15389 *) ac_try_echo=$ac_try;;
15390 esac
15391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15392 (eval "$ac_compile") 2>conftest.er1
15393 ac_status=$?
15394 grep -v '^ *+' conftest.er1 >conftest.err
15395 rm -f conftest.er1
15396 cat conftest.err >&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } && {
15399 test -z "$ac_c_werror_flag" ||
15400 test ! -s conftest.err
15401 } && test -s conftest.$ac_objext; then
15402 bakefile_cv_c_compiler___xlC__=yes
15403 else
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15406
15407 bakefile_cv_c_compiler___xlC__=no
15408
15409 fi
15410
15411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15412
15413
15414 fi
15415 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15416 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15417 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15418 :; XLCC=yes
15419 else
15420 :;
15421 fi
15422 ac_ext=c
15423 ac_cpp='$CPP $CPPFLAGS'
15424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15427
15428
15429
15430 ;;
15431
15432 IRIX*)
15433
15434
15435 ac_ext=c
15436 ac_cpp='$CPP $CPPFLAGS'
15437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15440
15441 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15442 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15443 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15444 echo $ECHO_N "(cached) $ECHO_C" >&6
15445 else
15446 cat >conftest.$ac_ext <<_ACEOF
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452
15453 int
15454 main ()
15455 {
15456
15457 #ifndef _SGI_COMPILER_VERSION
15458 choke me
15459 #endif
15460
15461 ;
15462 return 0;
15463 }
15464 _ACEOF
15465 rm -f conftest.$ac_objext
15466 if { (ac_try="$ac_compile"
15467 case "(($ac_try" in
15468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15469 *) ac_try_echo=$ac_try;;
15470 esac
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472 (eval "$ac_compile") 2>conftest.er1
15473 ac_status=$?
15474 grep -v '^ *+' conftest.er1 >conftest.err
15475 rm -f conftest.er1
15476 cat conftest.err >&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } && {
15479 test -z "$ac_c_werror_flag" ||
15480 test ! -s conftest.err
15481 } && test -s conftest.$ac_objext; then
15482 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15483 else
15484 echo "$as_me: failed program was:" >&5
15485 sed 's/^/| /' conftest.$ac_ext >&5
15486
15487 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15488
15489 fi
15490
15491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15492
15493
15494 fi
15495 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15496 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15497 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15498 :; SGICC=yes
15499 else
15500 :;
15501 fi
15502 ac_ext=c
15503 ac_cpp='$CPP $CPPFLAGS'
15504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15507
15508
15509
15510 ;;
15511
15512 Linux*)
15513
15514
15515 ac_ext=c
15516 ac_cpp='$CPP $CPPFLAGS'
15517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15520
15521 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15522 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15523 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 else
15526 cat >conftest.$ac_ext <<_ACEOF
15527 /* confdefs.h. */
15528 _ACEOF
15529 cat confdefs.h >>conftest.$ac_ext
15530 cat >>conftest.$ac_ext <<_ACEOF
15531 /* end confdefs.h. */
15532
15533 int
15534 main ()
15535 {
15536
15537 #ifndef __SUNPRO_C
15538 choke me
15539 #endif
15540
15541 ;
15542 return 0;
15543 }
15544 _ACEOF
15545 rm -f conftest.$ac_objext
15546 if { (ac_try="$ac_compile"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15550 esac
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_compile") 2>conftest.er1
15553 ac_status=$?
15554 grep -v '^ *+' conftest.er1 >conftest.err
15555 rm -f conftest.er1
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest.$ac_objext; then
15562 bakefile_cv_c_compiler___SUNPRO_C=yes
15563 else
15564 echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.$ac_ext >&5
15566
15567 bakefile_cv_c_compiler___SUNPRO_C=no
15568
15569 fi
15570
15571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572
15573
15574 fi
15575 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15576 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15577 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15578 :; SUNCC=yes
15579 else
15580 :;
15581 fi
15582 ac_ext=c
15583 ac_cpp='$CPP $CPPFLAGS'
15584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15587
15588
15589
15590 ;;
15591
15592 HP-UX*)
15593
15594
15595 ac_ext=c
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15600
15601 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15602 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15603 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15604 echo $ECHO_N "(cached) $ECHO_C" >&6
15605 else
15606 cat >conftest.$ac_ext <<_ACEOF
15607 /* confdefs.h. */
15608 _ACEOF
15609 cat confdefs.h >>conftest.$ac_ext
15610 cat >>conftest.$ac_ext <<_ACEOF
15611 /* end confdefs.h. */
15612
15613 int
15614 main ()
15615 {
15616
15617 #ifndef __HP_cc
15618 choke me
15619 #endif
15620
15621 ;
15622 return 0;
15623 }
15624 _ACEOF
15625 rm -f conftest.$ac_objext
15626 if { (ac_try="$ac_compile"
15627 case "(($ac_try" in
15628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15629 *) ac_try_echo=$ac_try;;
15630 esac
15631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15632 (eval "$ac_compile") 2>conftest.er1
15633 ac_status=$?
15634 grep -v '^ *+' conftest.er1 >conftest.err
15635 rm -f conftest.er1
15636 cat conftest.err >&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } && {
15639 test -z "$ac_c_werror_flag" ||
15640 test ! -s conftest.err
15641 } && test -s conftest.$ac_objext; then
15642 bakefile_cv_c_compiler___HP_cc=yes
15643 else
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15646
15647 bakefile_cv_c_compiler___HP_cc=no
15648
15649 fi
15650
15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15652
15653
15654 fi
15655 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15656 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15657 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15658 :; HPCC=yes
15659 else
15660 :;
15661 fi
15662 ac_ext=c
15663 ac_cpp='$CPP $CPPFLAGS'
15664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15667
15668
15669
15670 ;;
15671
15672 OSF1)
15673
15674
15675 ac_ext=c
15676 ac_cpp='$CPP $CPPFLAGS'
15677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15680
15681 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15682 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15683 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15684 echo $ECHO_N "(cached) $ECHO_C" >&6
15685 else
15686 cat >conftest.$ac_ext <<_ACEOF
15687 /* confdefs.h. */
15688 _ACEOF
15689 cat confdefs.h >>conftest.$ac_ext
15690 cat >>conftest.$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15692
15693 int
15694 main ()
15695 {
15696
15697 #ifndef __DECC
15698 choke me
15699 #endif
15700
15701 ;
15702 return 0;
15703 }
15704 _ACEOF
15705 rm -f conftest.$ac_objext
15706 if { (ac_try="$ac_compile"
15707 case "(($ac_try" in
15708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15709 *) ac_try_echo=$ac_try;;
15710 esac
15711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15712 (eval "$ac_compile") 2>conftest.er1
15713 ac_status=$?
15714 grep -v '^ *+' conftest.er1 >conftest.err
15715 rm -f conftest.er1
15716 cat conftest.err >&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } && {
15719 test -z "$ac_c_werror_flag" ||
15720 test ! -s conftest.err
15721 } && test -s conftest.$ac_objext; then
15722 bakefile_cv_c_compiler___DECC=yes
15723 else
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.$ac_ext >&5
15726
15727 bakefile_cv_c_compiler___DECC=no
15728
15729 fi
15730
15731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15732
15733
15734 fi
15735 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15736 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15737 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15738 :; COMPAQCC=yes
15739 else
15740 :;
15741 fi
15742 ac_ext=c
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15747
15748
15749
15750 ;;
15751
15752 SunOS)
15753
15754
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15762 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15763 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 else
15766 cat >conftest.$ac_ext <<_ACEOF
15767 /* confdefs.h. */
15768 _ACEOF
15769 cat confdefs.h >>conftest.$ac_ext
15770 cat >>conftest.$ac_ext <<_ACEOF
15771 /* end confdefs.h. */
15772
15773 int
15774 main ()
15775 {
15776
15777 #ifndef __SUNPRO_C
15778 choke me
15779 #endif
15780
15781 ;
15782 return 0;
15783 }
15784 _ACEOF
15785 rm -f conftest.$ac_objext
15786 if { (ac_try="$ac_compile"
15787 case "(($ac_try" in
15788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15789 *) ac_try_echo=$ac_try;;
15790 esac
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_compile") 2>conftest.er1
15793 ac_status=$?
15794 grep -v '^ *+' conftest.er1 >conftest.err
15795 rm -f conftest.er1
15796 cat conftest.err >&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } && {
15799 test -z "$ac_c_werror_flag" ||
15800 test ! -s conftest.err
15801 } && test -s conftest.$ac_objext; then
15802 bakefile_cv_c_compiler___SUNPRO_C=yes
15803 else
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15806
15807 bakefile_cv_c_compiler___SUNPRO_C=no
15808
15809 fi
15810
15811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15812
15813
15814 fi
15815 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15816 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15817 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15818 :; SUNCC=yes
15819 else
15820 :;
15821 fi
15822 ac_ext=c
15823 ac_cpp='$CPP $CPPFLAGS'
15824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15827
15828
15829
15830 ;;
15831 esac
15832 fi
15833
15834
15835
15836 ac_ext=c
15837 ac_cpp='$CPP $CPPFLAGS'
15838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15841 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15842 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15843 # On Suns, sometimes $CPP names a directory.
15844 if test -n "$CPP" && test -d "$CPP"; then
15845 CPP=
15846 fi
15847 if test -z "$CPP"; then
15848 if test "${ac_cv_prog_CPP+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851 # Double quotes because CPP needs to be expanded
15852 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15853 do
15854 ac_preproc_ok=false
15855 for ac_c_preproc_warn_flag in '' yes
15856 do
15857 # Use a header file that comes with gcc, so configuring glibc
15858 # with a fresh cross-compiler works.
15859 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15860 # <limits.h> exists even on freestanding compilers.
15861 # On the NeXT, cc -E runs the code through the compiler's parser,
15862 # not just through cpp. "Syntax error" is here to catch this case.
15863 cat >conftest.$ac_ext <<_ACEOF
15864 /* confdefs.h. */
15865 _ACEOF
15866 cat confdefs.h >>conftest.$ac_ext
15867 cat >>conftest.$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 #ifdef __STDC__
15870 # include <limits.h>
15871 #else
15872 # include <assert.h>
15873 #endif
15874 Syntax error
15875 _ACEOF
15876 if { (ac_try="$ac_cpp conftest.$ac_ext"
15877 case "(($ac_try" in
15878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15880 esac
15881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } >/dev/null && {
15889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15891 }; then
15892 :
15893 else
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15896
15897 # Broken: fails on valid input.
15898 continue
15899 fi
15900
15901 rm -f conftest.err conftest.$ac_ext
15902
15903 # OK, works on sane cases. Now check whether nonexistent headers
15904 # can be detected and how.
15905 cat >conftest.$ac_ext <<_ACEOF
15906 /* confdefs.h. */
15907 _ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911 #include <ac_nonexistent.h>
15912 _ACEOF
15913 if { (ac_try="$ac_cpp conftest.$ac_ext"
15914 case "(($ac_try" in
15915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15916 *) ac_try_echo=$ac_try;;
15917 esac
15918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15920 ac_status=$?
15921 grep -v '^ *+' conftest.er1 >conftest.err
15922 rm -f conftest.er1
15923 cat conftest.err >&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } >/dev/null && {
15926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15927 test ! -s conftest.err
15928 }; then
15929 # Broken: success on invalid input.
15930 continue
15931 else
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.$ac_ext >&5
15934
15935 # Passes both tests.
15936 ac_preproc_ok=:
15937 break
15938 fi
15939
15940 rm -f conftest.err conftest.$ac_ext
15941
15942 done
15943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15944 rm -f conftest.err conftest.$ac_ext
15945 if $ac_preproc_ok; then
15946 break
15947 fi
15948
15949 done
15950 ac_cv_prog_CPP=$CPP
15951
15952 fi
15953 CPP=$ac_cv_prog_CPP
15954 else
15955 ac_cv_prog_CPP=$CPP
15956 fi
15957 { echo "$as_me:$LINENO: result: $CPP" >&5
15958 echo "${ECHO_T}$CPP" >&6; }
15959 ac_preproc_ok=false
15960 for ac_c_preproc_warn_flag in '' yes
15961 do
15962 # Use a header file that comes with gcc, so configuring glibc
15963 # with a fresh cross-compiler works.
15964 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15965 # <limits.h> exists even on freestanding compilers.
15966 # On the NeXT, cc -E runs the code through the compiler's parser,
15967 # not just through cpp. "Syntax error" is here to catch this case.
15968 cat >conftest.$ac_ext <<_ACEOF
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 #ifdef __STDC__
15975 # include <limits.h>
15976 #else
15977 # include <assert.h>
15978 #endif
15979 Syntax error
15980 _ACEOF
15981 if { (ac_try="$ac_cpp conftest.$ac_ext"
15982 case "(($ac_try" in
15983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15984 *) ac_try_echo=$ac_try;;
15985 esac
15986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15988 ac_status=$?
15989 grep -v '^ *+' conftest.er1 >conftest.err
15990 rm -f conftest.er1
15991 cat conftest.err >&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } >/dev/null && {
15994 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15995 test ! -s conftest.err
15996 }; then
15997 :
15998 else
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002 # Broken: fails on valid input.
16003 continue
16004 fi
16005
16006 rm -f conftest.err conftest.$ac_ext
16007
16008 # OK, works on sane cases. Now check whether nonexistent headers
16009 # can be detected and how.
16010 cat >conftest.$ac_ext <<_ACEOF
16011 /* confdefs.h. */
16012 _ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 #include <ac_nonexistent.h>
16017 _ACEOF
16018 if { (ac_try="$ac_cpp conftest.$ac_ext"
16019 case "(($ac_try" in
16020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16021 *) ac_try_echo=$ac_try;;
16022 esac
16023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } >/dev/null && {
16031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16032 test ! -s conftest.err
16033 }; then
16034 # Broken: success on invalid input.
16035 continue
16036 else
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16039
16040 # Passes both tests.
16041 ac_preproc_ok=:
16042 break
16043 fi
16044
16045 rm -f conftest.err conftest.$ac_ext
16046
16047 done
16048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16049 rm -f conftest.err conftest.$ac_ext
16050 if $ac_preproc_ok; then
16051 :
16052 else
16053 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16054 See \`config.log' for more details." >&5
16055 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16056 See \`config.log' for more details." >&2;}
16057 { (exit 1); exit 1; }; }
16058 fi
16059
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066
16067 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16068 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16069 if test "${ac_cv_path_GREP+set}" = set; then
16070 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 else
16072 # Extract the first word of "grep ggrep" to use in msg output
16073 if test -z "$GREP"; then
16074 set dummy grep ggrep; ac_prog_name=$2
16075 if test "${ac_cv_path_GREP+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 else
16078 ac_path_GREP_found=false
16079 # Loop through the user's path and test for each of PROGNAME-LIST
16080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16081 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16082 do
16083 IFS=$as_save_IFS
16084 test -z "$as_dir" && as_dir=.
16085 for ac_prog in grep ggrep; do
16086 for ac_exec_ext in '' $ac_executable_extensions; do
16087 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16088 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16089 # Check for GNU ac_path_GREP and select it if it is found.
16090 # Check for GNU $ac_path_GREP
16091 case `"$ac_path_GREP" --version 2>&1` in
16092 *GNU*)
16093 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16094 *)
16095 ac_count=0
16096 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16097 while :
16098 do
16099 cat "conftest.in" "conftest.in" >"conftest.tmp"
16100 mv "conftest.tmp" "conftest.in"
16101 cp "conftest.in" "conftest.nl"
16102 echo 'GREP' >> "conftest.nl"
16103 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16104 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16105 ac_count=`expr $ac_count + 1`
16106 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16107 # Best one so far, save it but keep looking for a better one
16108 ac_cv_path_GREP="$ac_path_GREP"
16109 ac_path_GREP_max=$ac_count
16110 fi
16111 # 10*(2^10) chars as input seems more than enough
16112 test $ac_count -gt 10 && break
16113 done
16114 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16115 esac
16116
16117
16118 $ac_path_GREP_found && break 3
16119 done
16120 done
16121
16122 done
16123 IFS=$as_save_IFS
16124
16125
16126 fi
16127
16128 GREP="$ac_cv_path_GREP"
16129 if test -z "$GREP"; then
16130 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16131 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16132 { (exit 1); exit 1; }; }
16133 fi
16134
16135 else
16136 ac_cv_path_GREP=$GREP
16137 fi
16138
16139
16140 fi
16141 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16142 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16143 GREP="$ac_cv_path_GREP"
16144
16145
16146 { echo "$as_me:$LINENO: checking for egrep" >&5
16147 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16148 if test "${ac_cv_path_EGREP+set}" = set; then
16149 echo $ECHO_N "(cached) $ECHO_C" >&6
16150 else
16151 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16152 then ac_cv_path_EGREP="$GREP -E"
16153 else
16154 # Extract the first word of "egrep" to use in msg output
16155 if test -z "$EGREP"; then
16156 set dummy egrep; ac_prog_name=$2
16157 if test "${ac_cv_path_EGREP+set}" = set; then
16158 echo $ECHO_N "(cached) $ECHO_C" >&6
16159 else
16160 ac_path_EGREP_found=false
16161 # Loop through the user's path and test for each of PROGNAME-LIST
16162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16164 do
16165 IFS=$as_save_IFS
16166 test -z "$as_dir" && as_dir=.
16167 for ac_prog in egrep; do
16168 for ac_exec_ext in '' $ac_executable_extensions; do
16169 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16170 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16171 # Check for GNU ac_path_EGREP and select it if it is found.
16172 # Check for GNU $ac_path_EGREP
16173 case `"$ac_path_EGREP" --version 2>&1` in
16174 *GNU*)
16175 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16176 *)
16177 ac_count=0
16178 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16179 while :
16180 do
16181 cat "conftest.in" "conftest.in" >"conftest.tmp"
16182 mv "conftest.tmp" "conftest.in"
16183 cp "conftest.in" "conftest.nl"
16184 echo 'EGREP' >> "conftest.nl"
16185 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16186 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16187 ac_count=`expr $ac_count + 1`
16188 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16189 # Best one so far, save it but keep looking for a better one
16190 ac_cv_path_EGREP="$ac_path_EGREP"
16191 ac_path_EGREP_max=$ac_count
16192 fi
16193 # 10*(2^10) chars as input seems more than enough
16194 test $ac_count -gt 10 && break
16195 done
16196 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16197 esac
16198
16199
16200 $ac_path_EGREP_found && break 3
16201 done
16202 done
16203
16204 done
16205 IFS=$as_save_IFS
16206
16207
16208 fi
16209
16210 EGREP="$ac_cv_path_EGREP"
16211 if test -z "$EGREP"; then
16212 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16213 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16214 { (exit 1); exit 1; }; }
16215 fi
16216
16217 else
16218 ac_cv_path_EGREP=$EGREP
16219 fi
16220
16221
16222 fi
16223 fi
16224 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16225 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16226 EGREP="$ac_cv_path_EGREP"
16227
16228
16229 if test $ac_cv_c_compiler_gnu = yes; then
16230 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16231 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16232 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16233 echo $ECHO_N "(cached) $ECHO_C" >&6
16234 else
16235 ac_pattern="Autoconf.*'x'"
16236 cat >conftest.$ac_ext <<_ACEOF
16237 /* confdefs.h. */
16238 _ACEOF
16239 cat confdefs.h >>conftest.$ac_ext
16240 cat >>conftest.$ac_ext <<_ACEOF
16241 /* end confdefs.h. */
16242 #include <sgtty.h>
16243 Autoconf TIOCGETP
16244 _ACEOF
16245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16246 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16247 ac_cv_prog_gcc_traditional=yes
16248 else
16249 ac_cv_prog_gcc_traditional=no
16250 fi
16251 rm -f conftest*
16252
16253
16254 if test $ac_cv_prog_gcc_traditional = no; then
16255 cat >conftest.$ac_ext <<_ACEOF
16256 /* confdefs.h. */
16257 _ACEOF
16258 cat confdefs.h >>conftest.$ac_ext
16259 cat >>conftest.$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261 #include <termio.h>
16262 Autoconf TCGETA
16263 _ACEOF
16264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16265 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16266 ac_cv_prog_gcc_traditional=yes
16267 fi
16268 rm -f conftest*
16269
16270 fi
16271 fi
16272 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16273 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16274 if test $ac_cv_prog_gcc_traditional = yes; then
16275 CC="$CC -traditional"
16276 fi
16277 fi
16278
16279
16280 CXXFLAGS=${CXXFLAGS:=}
16281
16282
16283
16284 ac_ext=cpp
16285 ac_cpp='$CXXCPP $CPPFLAGS'
16286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16289 if test -z "$CXX"; then
16290 if test -n "$CCC"; then
16291 CXX=$CCC
16292 else
16293 if test -n "$ac_tool_prefix"; then
16294 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16295 do
16296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16300 if test "${ac_cv_prog_CXX+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 if test -n "$CXX"; then
16304 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16305 else
16306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16307 for as_dir in $PATH
16308 do
16309 IFS=$as_save_IFS
16310 test -z "$as_dir" && as_dir=.
16311 for ac_exec_ext in '' $ac_executable_extensions; do
16312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16313 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16315 break 2
16316 fi
16317 done
16318 done
16319 IFS=$as_save_IFS
16320
16321 fi
16322 fi
16323 CXX=$ac_cv_prog_CXX
16324 if test -n "$CXX"; then
16325 { echo "$as_me:$LINENO: result: $CXX" >&5
16326 echo "${ECHO_T}$CXX" >&6; }
16327 else
16328 { echo "$as_me:$LINENO: result: no" >&5
16329 echo "${ECHO_T}no" >&6; }
16330 fi
16331
16332
16333 test -n "$CXX" && break
16334 done
16335 fi
16336 if test -z "$CXX"; then
16337 ac_ct_CXX=$CXX
16338 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16339 do
16340 # Extract the first word of "$ac_prog", so it can be a program name with args.
16341 set dummy $ac_prog; ac_word=$2
16342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16344 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16345 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 else
16347 if test -n "$ac_ct_CXX"; then
16348 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16349 else
16350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16351 for as_dir in $PATH
16352 do
16353 IFS=$as_save_IFS
16354 test -z "$as_dir" && as_dir=.
16355 for ac_exec_ext in '' $ac_executable_extensions; do
16356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16357 ac_cv_prog_ac_ct_CXX="$ac_prog"
16358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16359 break 2
16360 fi
16361 done
16362 done
16363 IFS=$as_save_IFS
16364
16365 fi
16366 fi
16367 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16368 if test -n "$ac_ct_CXX"; then
16369 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16370 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16371 else
16372 { echo "$as_me:$LINENO: result: no" >&5
16373 echo "${ECHO_T}no" >&6; }
16374 fi
16375
16376
16377 test -n "$ac_ct_CXX" && break
16378 done
16379
16380 if test "x$ac_ct_CXX" = x; then
16381 CXX="g++"
16382 else
16383 case $cross_compiling:$ac_tool_warned in
16384 yes:)
16385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16386 whose name does not start with the host triplet. If you think this
16387 configuration is useful to you, please write to autoconf@gnu.org." >&5
16388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16389 whose name does not start with the host triplet. If you think this
16390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16391 ac_tool_warned=yes ;;
16392 esac
16393 CXX=$ac_ct_CXX
16394 fi
16395 fi
16396
16397 fi
16398 fi
16399 # Provide some information about the compiler.
16400 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16401 ac_compiler=`set X $ac_compile; echo $2`
16402 { (ac_try="$ac_compiler --version >&5"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16406 esac
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compiler --version >&5") 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }
16412 { (ac_try="$ac_compiler -v >&5"
16413 case "(($ac_try" in
16414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16415 *) ac_try_echo=$ac_try;;
16416 esac
16417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16418 (eval "$ac_compiler -v >&5") 2>&5
16419 ac_status=$?
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }
16422 { (ac_try="$ac_compiler -V >&5"
16423 case "(($ac_try" in
16424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16425 *) ac_try_echo=$ac_try;;
16426 esac
16427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16428 (eval "$ac_compiler -V >&5") 2>&5
16429 ac_status=$?
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }
16432
16433 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16434 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16435 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 else
16438 cat >conftest.$ac_ext <<_ACEOF
16439 /* confdefs.h. */
16440 _ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444
16445 int
16446 main ()
16447 {
16448 #ifndef __GNUC__
16449 choke me
16450 #endif
16451
16452 ;
16453 return 0;
16454 }
16455 _ACEOF
16456 rm -f conftest.$ac_objext
16457 if { (ac_try="$ac_compile"
16458 case "(($ac_try" in
16459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16460 *) ac_try_echo=$ac_try;;
16461 esac
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_compile") 2>conftest.er1
16464 ac_status=$?
16465 grep -v '^ *+' conftest.er1 >conftest.err
16466 rm -f conftest.er1
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_cxx_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest.$ac_objext; then
16473 ac_compiler_gnu=yes
16474 else
16475 echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.$ac_ext >&5
16477
16478 ac_compiler_gnu=no
16479 fi
16480
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16483
16484 fi
16485 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16486 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16487 GXX=`test $ac_compiler_gnu = yes && echo yes`
16488 ac_test_CXXFLAGS=${CXXFLAGS+set}
16489 ac_save_CXXFLAGS=$CXXFLAGS
16490 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16491 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16492 if test "${ac_cv_prog_cxx_g+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 else
16495 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16496 ac_cxx_werror_flag=yes
16497 ac_cv_prog_cxx_g=no
16498 CXXFLAGS="-g"
16499 cat >conftest.$ac_ext <<_ACEOF
16500 /* confdefs.h. */
16501 _ACEOF
16502 cat confdefs.h >>conftest.$ac_ext
16503 cat >>conftest.$ac_ext <<_ACEOF
16504 /* end confdefs.h. */
16505
16506 int
16507 main ()
16508 {
16509
16510 ;
16511 return 0;
16512 }
16513 _ACEOF
16514 rm -f conftest.$ac_objext
16515 if { (ac_try="$ac_compile"
16516 case "(($ac_try" in
16517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16518 *) ac_try_echo=$ac_try;;
16519 esac
16520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16521 (eval "$ac_compile") 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } && {
16528 test -z "$ac_cxx_werror_flag" ||
16529 test ! -s conftest.err
16530 } && test -s conftest.$ac_objext; then
16531 ac_cv_prog_cxx_g=yes
16532 else
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16535
16536 CXXFLAGS=""
16537 cat >conftest.$ac_ext <<_ACEOF
16538 /* confdefs.h. */
16539 _ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543
16544 int
16545 main ()
16546 {
16547
16548 ;
16549 return 0;
16550 }
16551 _ACEOF
16552 rm -f conftest.$ac_objext
16553 if { (ac_try="$ac_compile"
16554 case "(($ac_try" in
16555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16556 *) ac_try_echo=$ac_try;;
16557 esac
16558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16559 (eval "$ac_compile") 2>conftest.er1
16560 ac_status=$?
16561 grep -v '^ *+' conftest.er1 >conftest.err
16562 rm -f conftest.er1
16563 cat conftest.err >&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && {
16566 test -z "$ac_cxx_werror_flag" ||
16567 test ! -s conftest.err
16568 } && test -s conftest.$ac_objext; then
16569 :
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16573
16574 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16575 CXXFLAGS="-g"
16576 cat >conftest.$ac_ext <<_ACEOF
16577 /* confdefs.h. */
16578 _ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582
16583 int
16584 main ()
16585 {
16586
16587 ;
16588 return 0;
16589 }
16590 _ACEOF
16591 rm -f conftest.$ac_objext
16592 if { (ac_try="$ac_compile"
16593 case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16596 esac
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_compile") 2>conftest.er1
16599 ac_status=$?
16600 grep -v '^ *+' conftest.er1 >conftest.err
16601 rm -f conftest.er1
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && {
16605 test -z "$ac_cxx_werror_flag" ||
16606 test ! -s conftest.err
16607 } && test -s conftest.$ac_objext; then
16608 ac_cv_prog_cxx_g=yes
16609 else
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16612
16613
16614 fi
16615
16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16617 fi
16618
16619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16620 fi
16621
16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16623 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16624 fi
16625 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16626 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16627 if test "$ac_test_CXXFLAGS" = set; then
16628 CXXFLAGS=$ac_save_CXXFLAGS
16629 elif test $ac_cv_prog_cxx_g = yes; then
16630 if test "$GXX" = yes; then
16631 CXXFLAGS="-g -O2"
16632 else
16633 CXXFLAGS="-g"
16634 fi
16635 else
16636 if test "$GXX" = yes; then
16637 CXXFLAGS="-O2"
16638 else
16639 CXXFLAGS=
16640 fi
16641 fi
16642 ac_ext=c
16643 ac_cpp='$CPP $CPPFLAGS'
16644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16647
16648
16649
16650
16651 ac_ext=cpp
16652 ac_cpp='$CXXCPP $CPPFLAGS'
16653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16656
16657 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16658 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16659 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16661 else
16662 cat >conftest.$ac_ext <<_ACEOF
16663 /* confdefs.h. */
16664 _ACEOF
16665 cat confdefs.h >>conftest.$ac_ext
16666 cat >>conftest.$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668
16669 int
16670 main ()
16671 {
16672
16673 #ifndef __INTEL_COMPILER
16674 choke me
16675 #endif
16676
16677 ;
16678 return 0;
16679 }
16680 _ACEOF
16681 rm -f conftest.$ac_objext
16682 if { (ac_try="$ac_compile"
16683 case "(($ac_try" in
16684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16685 *) ac_try_echo=$ac_try;;
16686 esac
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_compile") 2>conftest.er1
16689 ac_status=$?
16690 grep -v '^ *+' conftest.er1 >conftest.err
16691 rm -f conftest.er1
16692 cat conftest.err >&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } && {
16695 test -z "$ac_cxx_werror_flag" ||
16696 test ! -s conftest.err
16697 } && test -s conftest.$ac_objext; then
16698 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16699 else
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.$ac_ext >&5
16702
16703 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16704
16705 fi
16706
16707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16708
16709
16710 fi
16711 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16712 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16713 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16714 :; INTELCXX=yes
16715 else
16716 :;
16717 fi
16718 ac_ext=c
16719 ac_cpp='$CPP $CPPFLAGS'
16720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16723
16724
16725
16726
16727 if test "x$GCXX" != "xyes"; then
16728 if test "xCXX" = "xC"; then
16729 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16730 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16731 if test "${bakefile_cv_c_exto+set}" = set; then
16732 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 else
16734 cat >conftest.$ac_ext <<_ACEOF
16735 /* confdefs.h. */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740
16741 int
16742 main ()
16743 {
16744
16745 ;
16746 return 0;
16747 }
16748 _ACEOF
16749 rm -f conftest.$ac_objext conftest.$ac_ext.o
16750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16751 (eval $ac_compile) 2>&5
16752 ac_status=$?
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; then
16755 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16756 case $ac_file in
16757 conftest.$ac_ext.o)
16758 bakefile_cv_c_exto="-ext o"
16759 ;;
16760 *)
16761 ;;
16762 esac
16763 done
16764 else
16765 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16766 See \`config.log' for more details." >&5
16767 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16768 See \`config.log' for more details." >&2;}
16769 { (exit 1); exit 1; }; }
16770
16771 fi
16772
16773 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16774
16775 fi
16776 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16777 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16778 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16779 if test "c" = "c"; then
16780 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16781 fi
16782 if test "c" = "cxx"; then
16783 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16784 fi
16785 fi
16786
16787 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16788 unset ac_cv_prog_cc_g
16789 ac_test_CFLAGS=${CFLAGS+set}
16790 ac_save_CFLAGS=$CFLAGS
16791 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16792 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16793 if test "${ac_cv_prog_cc_g+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 else
16796 ac_save_c_werror_flag=$ac_c_werror_flag
16797 ac_c_werror_flag=yes
16798 ac_cv_prog_cc_g=no
16799 CFLAGS="-g"
16800 cat >conftest.$ac_ext <<_ACEOF
16801 /* confdefs.h. */
16802 _ACEOF
16803 cat confdefs.h >>conftest.$ac_ext
16804 cat >>conftest.$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16806
16807 int
16808 main ()
16809 {
16810
16811 ;
16812 return 0;
16813 }
16814 _ACEOF
16815 rm -f conftest.$ac_objext
16816 if { (ac_try="$ac_compile"
16817 case "(($ac_try" in
16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16820 esac
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_compile") 2>conftest.er1
16823 ac_status=$?
16824 grep -v '^ *+' conftest.er1 >conftest.err
16825 rm -f conftest.er1
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } && {
16829 test -z "$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 } && test -s conftest.$ac_objext; then
16832 ac_cv_prog_cc_g=yes
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16836
16837 CFLAGS=""
16838 cat >conftest.$ac_ext <<_ACEOF
16839 /* confdefs.h. */
16840 _ACEOF
16841 cat confdefs.h >>conftest.$ac_ext
16842 cat >>conftest.$ac_ext <<_ACEOF
16843 /* end confdefs.h. */
16844
16845 int
16846 main ()
16847 {
16848
16849 ;
16850 return 0;
16851 }
16852 _ACEOF
16853 rm -f conftest.$ac_objext
16854 if { (ac_try="$ac_compile"
16855 case "(($ac_try" in
16856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16857 *) ac_try_echo=$ac_try;;
16858 esac
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_compile") 2>conftest.er1
16861 ac_status=$?
16862 grep -v '^ *+' conftest.er1 >conftest.err
16863 rm -f conftest.er1
16864 cat conftest.err >&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } && {
16867 test -z "$ac_c_werror_flag" ||
16868 test ! -s conftest.err
16869 } && test -s conftest.$ac_objext; then
16870 :
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16874
16875 ac_c_werror_flag=$ac_save_c_werror_flag
16876 CFLAGS="-g"
16877 cat >conftest.$ac_ext <<_ACEOF
16878 /* confdefs.h. */
16879 _ACEOF
16880 cat confdefs.h >>conftest.$ac_ext
16881 cat >>conftest.$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16883
16884 int
16885 main ()
16886 {
16887
16888 ;
16889 return 0;
16890 }
16891 _ACEOF
16892 rm -f conftest.$ac_objext
16893 if { (ac_try="$ac_compile"
16894 case "(($ac_try" in
16895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16896 *) ac_try_echo=$ac_try;;
16897 esac
16898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16899 (eval "$ac_compile") 2>conftest.er1
16900 ac_status=$?
16901 grep -v '^ *+' conftest.er1 >conftest.err
16902 rm -f conftest.er1
16903 cat conftest.err >&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } && {
16906 test -z "$ac_c_werror_flag" ||
16907 test ! -s conftest.err
16908 } && test -s conftest.$ac_objext; then
16909 ac_cv_prog_cc_g=yes
16910 else
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16913
16914
16915 fi
16916
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 fi
16919
16920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16921 fi
16922
16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16924 ac_c_werror_flag=$ac_save_c_werror_flag
16925 fi
16926 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16927 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16928 if test "$ac_test_CFLAGS" = set; then
16929 CFLAGS=$ac_save_CFLAGS
16930 elif test $ac_cv_prog_cc_g = yes; then
16931 if test "$GCC" = yes; then
16932 CFLAGS="-g -O2"
16933 else
16934 CFLAGS="-g"
16935 fi
16936 else
16937 if test "$GCC" = yes; then
16938 CFLAGS="-O2"
16939 else
16940 CFLAGS=
16941 fi
16942 fi
16943 fi
16944 fi
16945
16946 case `uname -s` in
16947 AIX*)
16948
16949
16950 ac_ext=cpp
16951 ac_cpp='$CXXCPP $CPPFLAGS'
16952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16955
16956 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16957 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16958 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 else
16961 cat >conftest.$ac_ext <<_ACEOF
16962 /* confdefs.h. */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967
16968 int
16969 main ()
16970 {
16971
16972 #ifndef __xlC__
16973 choke me
16974 #endif
16975
16976 ;
16977 return 0;
16978 }
16979 _ACEOF
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16985 esac
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_cxx_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 bakefile_cv_cxx_compiler___xlC__=yes
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17001
17002 bakefile_cv_cxx_compiler___xlC__=no
17003
17004 fi
17005
17006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007
17008
17009 fi
17010 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17011 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17012 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17013 :; XLCXX=yes
17014 else
17015 :;
17016 fi
17017 ac_ext=c
17018 ac_cpp='$CPP $CPPFLAGS'
17019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17022
17023
17024
17025 ;;
17026
17027 Darwin)
17028
17029
17030 ac_ext=cpp
17031 ac_cpp='$CXXCPP $CPPFLAGS'
17032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17035
17036 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17037 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17038 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 else
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047
17048 int
17049 main ()
17050 {
17051
17052 #ifndef __MWERKS__
17053 choke me
17054 #endif
17055
17056 ;
17057 return 0;
17058 }
17059 _ACEOF
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17065 esac
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17068 ac_status=$?
17069 grep -v '^ *+' conftest.er1 >conftest.err
17070 rm -f conftest.er1
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_cxx_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 bakefile_cv_cxx_compiler___MWERKS__=yes
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17081
17082 bakefile_cv_cxx_compiler___MWERKS__=no
17083
17084 fi
17085
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087
17088
17089 fi
17090 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17091 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17092 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17093 :; MWCXX=yes
17094 else
17095 :;
17096 fi
17097 ac_ext=c
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17102
17103
17104
17105
17106
17107 ac_ext=cpp
17108 ac_cpp='$CXXCPP $CPPFLAGS'
17109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17112
17113 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17114 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17115 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17117 else
17118 cat >conftest.$ac_ext <<_ACEOF
17119 /* confdefs.h. */
17120 _ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124
17125 int
17126 main ()
17127 {
17128
17129 #ifndef __xlC__
17130 choke me
17131 #endif
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 rm -f conftest.$ac_objext
17138 if { (ac_try="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17142 esac
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_compile") 2>conftest.er1
17145 ac_status=$?
17146 grep -v '^ *+' conftest.er1 >conftest.err
17147 rm -f conftest.er1
17148 cat conftest.err >&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } && {
17151 test -z "$ac_cxx_werror_flag" ||
17152 test ! -s conftest.err
17153 } && test -s conftest.$ac_objext; then
17154 bakefile_cv_cxx_compiler___xlC__=yes
17155 else
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.$ac_ext >&5
17158
17159 bakefile_cv_cxx_compiler___xlC__=no
17160
17161 fi
17162
17163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17164
17165
17166 fi
17167 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17168 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17169 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17170 :; XLCXX=yes
17171 else
17172 :;
17173 fi
17174 ac_ext=c
17175 ac_cpp='$CPP $CPPFLAGS'
17176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17179
17180
17181
17182 ;;
17183
17184 IRIX*)
17185
17186
17187 ac_ext=cpp
17188 ac_cpp='$CXXCPP $CPPFLAGS'
17189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17192
17193 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17194 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17195 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17197 else
17198 cat >conftest.$ac_ext <<_ACEOF
17199 /* confdefs.h. */
17200 _ACEOF
17201 cat confdefs.h >>conftest.$ac_ext
17202 cat >>conftest.$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17204
17205 int
17206 main ()
17207 {
17208
17209 #ifndef _SGI_COMPILER_VERSION
17210 choke me
17211 #endif
17212
17213 ;
17214 return 0;
17215 }
17216 _ACEOF
17217 rm -f conftest.$ac_objext
17218 if { (ac_try="$ac_compile"
17219 case "(($ac_try" in
17220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17221 *) ac_try_echo=$ac_try;;
17222 esac
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_compile") 2>conftest.er1
17225 ac_status=$?
17226 grep -v '^ *+' conftest.er1 >conftest.err
17227 rm -f conftest.er1
17228 cat conftest.err >&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } && {
17231 test -z "$ac_cxx_werror_flag" ||
17232 test ! -s conftest.err
17233 } && test -s conftest.$ac_objext; then
17234 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17235 else
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17238
17239 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17240
17241 fi
17242
17243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17244
17245
17246 fi
17247 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17248 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17249 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17250 :; SGICXX=yes
17251 else
17252 :;
17253 fi
17254 ac_ext=c
17255 ac_cpp='$CPP $CPPFLAGS'
17256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17259
17260
17261
17262 ;;
17263
17264 Linux*)
17265
17266
17267 ac_ext=cpp
17268 ac_cpp='$CXXCPP $CPPFLAGS'
17269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17272
17273 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17274 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17275 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 else
17278 cat >conftest.$ac_ext <<_ACEOF
17279 /* confdefs.h. */
17280 _ACEOF
17281 cat confdefs.h >>conftest.$ac_ext
17282 cat >>conftest.$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17284
17285 int
17286 main ()
17287 {
17288
17289 #ifndef __SUNPRO_CC
17290 choke me
17291 #endif
17292
17293 ;
17294 return 0;
17295 }
17296 _ACEOF
17297 rm -f conftest.$ac_objext
17298 if { (ac_try="$ac_compile"
17299 case "(($ac_try" in
17300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17301 *) ac_try_echo=$ac_try;;
17302 esac
17303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17304 (eval "$ac_compile") 2>conftest.er1
17305 ac_status=$?
17306 grep -v '^ *+' conftest.er1 >conftest.err
17307 rm -f conftest.er1
17308 cat conftest.err >&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } && {
17311 test -z "$ac_cxx_werror_flag" ||
17312 test ! -s conftest.err
17313 } && test -s conftest.$ac_objext; then
17314 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17315 else
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17318
17319 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17320
17321 fi
17322
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17324
17325
17326 fi
17327 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17328 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17329 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17330 :; SUNCXX=yes
17331 else
17332 :;
17333 fi
17334 ac_ext=c
17335 ac_cpp='$CPP $CPPFLAGS'
17336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17339
17340
17341
17342 ;;
17343
17344 HP-UX*)
17345
17346
17347 ac_ext=cpp
17348 ac_cpp='$CXXCPP $CPPFLAGS'
17349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17352
17353 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17354 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17355 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 else
17358 cat >conftest.$ac_ext <<_ACEOF
17359 /* confdefs.h. */
17360 _ACEOF
17361 cat confdefs.h >>conftest.$ac_ext
17362 cat >>conftest.$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17364
17365 int
17366 main ()
17367 {
17368
17369 #ifndef __HP_aCC
17370 choke me
17371 #endif
17372
17373 ;
17374 return 0;
17375 }
17376 _ACEOF
17377 rm -f conftest.$ac_objext
17378 if { (ac_try="$ac_compile"
17379 case "(($ac_try" in
17380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17381 *) ac_try_echo=$ac_try;;
17382 esac
17383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17384 (eval "$ac_compile") 2>conftest.er1
17385 ac_status=$?
17386 grep -v '^ *+' conftest.er1 >conftest.err
17387 rm -f conftest.er1
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } && {
17391 test -z "$ac_cxx_werror_flag" ||
17392 test ! -s conftest.err
17393 } && test -s conftest.$ac_objext; then
17394 bakefile_cv_cxx_compiler___HP_aCC=yes
17395 else
17396 echo "$as_me: failed program was:" >&5
17397 sed 's/^/| /' conftest.$ac_ext >&5
17398
17399 bakefile_cv_cxx_compiler___HP_aCC=no
17400
17401 fi
17402
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17404
17405
17406 fi
17407 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17408 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17409 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17410 :; HPCXX=yes
17411 else
17412 :;
17413 fi
17414 ac_ext=c
17415 ac_cpp='$CPP $CPPFLAGS'
17416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17419
17420
17421
17422 ;;
17423
17424 OSF1)
17425
17426
17427 ac_ext=cpp
17428 ac_cpp='$CXXCPP $CPPFLAGS'
17429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17432
17433 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17434 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17435 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 else
17438 cat >conftest.$ac_ext <<_ACEOF
17439 /* confdefs.h. */
17440 _ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444
17445 int
17446 main ()
17447 {
17448
17449 #ifndef __DECCXX
17450 choke me
17451 #endif
17452
17453 ;
17454 return 0;
17455 }
17456 _ACEOF
17457 rm -f conftest.$ac_objext
17458 if { (ac_try="$ac_compile"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17462 esac
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_compile") 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_cxx_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest.$ac_objext; then
17474 bakefile_cv_cxx_compiler___DECCXX=yes
17475 else
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.$ac_ext >&5
17478
17479 bakefile_cv_cxx_compiler___DECCXX=no
17480
17481 fi
17482
17483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17484
17485
17486 fi
17487 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17488 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17489 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17490 :; COMPAQCXX=yes
17491 else
17492 :;
17493 fi
17494 ac_ext=c
17495 ac_cpp='$CPP $CPPFLAGS'
17496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17499
17500
17501
17502 ;;
17503
17504 SunOS)
17505
17506
17507 ac_ext=cpp
17508 ac_cpp='$CXXCPP $CPPFLAGS'
17509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17512
17513 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17514 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17515 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17517 else
17518 cat >conftest.$ac_ext <<_ACEOF
17519 /* confdefs.h. */
17520 _ACEOF
17521 cat confdefs.h >>conftest.$ac_ext
17522 cat >>conftest.$ac_ext <<_ACEOF
17523 /* end confdefs.h. */
17524
17525 int
17526 main ()
17527 {
17528
17529 #ifndef __SUNPRO_CC
17530 choke me
17531 #endif
17532
17533 ;
17534 return 0;
17535 }
17536 _ACEOF
17537 rm -f conftest.$ac_objext
17538 if { (ac_try="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17542 esac
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } && {
17551 test -z "$ac_cxx_werror_flag" ||
17552 test ! -s conftest.err
17553 } && test -s conftest.$ac_objext; then
17554 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17555 else
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17558
17559 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17560
17561 fi
17562
17563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17564
17565
17566 fi
17567 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17568 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17569 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17570 :; SUNCXX=yes
17571 else
17572 :;
17573 fi
17574 ac_ext=c
17575 ac_cpp='$CPP $CPPFLAGS'
17576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17579
17580
17581
17582 ;;
17583 esac
17584 fi
17585
17586
17587
17588 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17589 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17590 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17591 { (exit 1); exit 1; }; }
17592 fi
17593
17594 if test "x$SUNCXX" != xyes; then
17595 if test -n "$ac_tool_prefix"; then
17596 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17597 set dummy ${ac_tool_prefix}ar; ac_word=$2
17598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17600 if test "${ac_cv_prog_AR+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 else
17603 if test -n "$AR"; then
17604 ac_cv_prog_AR="$AR" # Let the user override the test.
17605 else
17606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17607 for as_dir in $PATH
17608 do
17609 IFS=$as_save_IFS
17610 test -z "$as_dir" && as_dir=.
17611 for ac_exec_ext in '' $ac_executable_extensions; do
17612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17613 ac_cv_prog_AR="${ac_tool_prefix}ar"
17614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17615 break 2
17616 fi
17617 done
17618 done
17619 IFS=$as_save_IFS
17620
17621 fi
17622 fi
17623 AR=$ac_cv_prog_AR
17624 if test -n "$AR"; then
17625 { echo "$as_me:$LINENO: result: $AR" >&5
17626 echo "${ECHO_T}$AR" >&6; }
17627 else
17628 { echo "$as_me:$LINENO: result: no" >&5
17629 echo "${ECHO_T}no" >&6; }
17630 fi
17631
17632
17633 fi
17634 if test -z "$ac_cv_prog_AR"; then
17635 ac_ct_AR=$AR
17636 # Extract the first word of "ar", so it can be a program name with args.
17637 set dummy ar; ac_word=$2
17638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17640 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 if test -n "$ac_ct_AR"; then
17644 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17645 else
17646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17647 for as_dir in $PATH
17648 do
17649 IFS=$as_save_IFS
17650 test -z "$as_dir" && as_dir=.
17651 for ac_exec_ext in '' $ac_executable_extensions; do
17652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17653 ac_cv_prog_ac_ct_AR="ar"
17654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17655 break 2
17656 fi
17657 done
17658 done
17659 IFS=$as_save_IFS
17660
17661 fi
17662 fi
17663 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17664 if test -n "$ac_ct_AR"; then
17665 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17666 echo "${ECHO_T}$ac_ct_AR" >&6; }
17667 else
17668 { echo "$as_me:$LINENO: result: no" >&5
17669 echo "${ECHO_T}no" >&6; }
17670 fi
17671
17672 if test "x$ac_ct_AR" = x; then
17673 AR=""
17674 else
17675 case $cross_compiling:$ac_tool_warned in
17676 yes:)
17677 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17678 whose name does not start with the host triplet. If you think this
17679 configuration is useful to you, please write to autoconf@gnu.org." >&5
17680 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17681 whose name does not start with the host triplet. If you think this
17682 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17683 ac_tool_warned=yes ;;
17684 esac
17685 AR=$ac_ct_AR
17686 fi
17687 else
17688 AR="$ac_cv_prog_AR"
17689 fi
17690
17691 if test "x$AR" = "x" ; then
17692 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17693 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17694 { (exit 1); exit 1; }; }
17695 fi
17696 fi
17697
17698 retest_macosx_linking=no
17699
17700 #if test "$wxUSE_MAC" = 1; then
17701 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17702 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17703 # Implicitly turn on the new --with-macosx-sdk using the default
17704 # SDK which provides the behavior this option has always had.
17705 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17706 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17707 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17708 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17709 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17710 wxUSE_MACOSX_SDK=yes
17711 fi
17712 else
17713 # Complain to user if he specified an argument to --enable-universal_binary
17714 # and also 1) specified --with-macosx-sdk using the default (yes) or
17715 # 2) specified --with-macosx-sdk using a path or 3) specified
17716 # --without-macosx-sdk (no).
17717 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17718 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17719 See \`config.log' for more details." >&5
17720 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17721 See \`config.log' for more details." >&2;}
17722 { (exit 1); exit 1; }; }
17723 else
17724 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17725 # special-case the empty string because the below test simply
17726 # converts "no" to the empty string anyway.
17727 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17728 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17729 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17730 fi
17731 fi
17732 OSX_UNIV_OPTS="-arch ppc -arch i386"
17733 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17734 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17735 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17736 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17737 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17738 retest_macosx_linking=yes
17739
17740 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17741 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17742 bk_use_pch=no
17743 fi
17744 #fi
17745
17746 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17747 wxUSE_MACOSX_SDK=
17748 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17749 # TODO: Search for most recent SDK and use it.
17750 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17751 fi
17752
17753
17754 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17755 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17756 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17757 if ! test -d "$wxUSE_MACOSX_SDK"; then
17758 { { echo "$as_me:$LINENO: error: not found
17759 See \`config.log' for more details." >&5
17760 echo "$as_me: error: not found
17761 See \`config.log' for more details." >&2;}
17762 { (exit 1); exit 1; }; }
17763 else
17764 { echo "$as_me:$LINENO: result: exists" >&5
17765 echo "${ECHO_T}exists" >&6; }
17766 fi
17767 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17768 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17769 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17770 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17771 retest_macosx_linking=yes
17772 fi
17773
17774 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17775 wxUSE_MACOSX_VERSION_MIN=
17776 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17777 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17778 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17779 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17780
17781 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/'`
17782
17783 # If that failed, try again with the new key
17784 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17785
17786 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/'`
17787
17788 fi
17789
17790 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17791 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17792 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17793 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17794 else
17795 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17796 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17797 wxUSE_MACOSX_VERSION_MIN=
17798 fi
17799 else
17800 wxUSE_MACOSX_VERSION_MIN=
17801 fi
17802 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17803 if test "$wxUSE_MAC" = 1; then
17804 # otherwise configure stops on leopard for universal_binary
17805 wxUSE_MACOSX_VERSION_MIN=10.4
17806 fi
17807 fi
17808
17809 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17810 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17811 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17812 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17813 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17814 retest_macosx_linking=yes
17815 fi
17816
17817 if test "x$retest_macosx_linking" = "xyes"; then
17818 ac_ext=c
17819 ac_cpp='$CPP $CPPFLAGS'
17820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17823
17824 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17825 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832
17833 int
17834 main ()
17835 {
17836
17837 ;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest.$ac_objext conftest$ac_exeext
17842 if { (ac_try="$ac_link"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17846 esac
17847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_link") 2>conftest.er1
17849 ac_status=$?
17850 grep -v '^ *+' conftest.er1 >conftest.err
17851 rm -f conftest.er1
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } && {
17855 test -z "$ac_c_werror_flag" ||
17856 test ! -s conftest.err
17857 } && test -s conftest$ac_exeext &&
17858 $as_test_x conftest$ac_exeext; then
17859 { echo "$as_me:$LINENO: result: yes" >&5
17860 echo "${ECHO_T}yes" >&6; }
17861 else
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.$ac_ext >&5
17864
17865 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17866 See \`config.log' for more details." >&5
17867 echo "$as_me: error: no. Try a different SDK
17868 See \`config.log' for more details." >&2;}
17869 { (exit 1); exit 1; }; }; exit 1
17870 fi
17871
17872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17873 conftest$ac_exeext conftest.$ac_ext
17874 ac_ext=c
17875 ac_cpp='$CPP $CPPFLAGS'
17876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17879
17880
17881 ac_ext=cpp
17882 ac_cpp='$CXXCPP $CPPFLAGS'
17883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17886
17887 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17888 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895
17896 int
17897 main ()
17898 {
17899
17900 ;
17901 return 0;
17902 }
17903 _ACEOF
17904 rm -f conftest.$ac_objext conftest$ac_exeext
17905 if { (ac_try="$ac_link"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_link") 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest$ac_exeext &&
17921 $as_test_x conftest$ac_exeext; then
17922 { echo "$as_me:$LINENO: result: yes" >&5
17923 echo "${ECHO_T}yes" >&6; }
17924 else
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.$ac_ext >&5
17927
17928 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17929 See \`config.log' for more details." >&5
17930 echo "$as_me: error: no. Try a different SDK
17931 See \`config.log' for more details." >&2;}
17932 { (exit 1); exit 1; }; }; exit 1
17933 fi
17934
17935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17936 conftest$ac_exeext conftest.$ac_ext
17937 ac_ext=c
17938 ac_cpp='$CPP $CPPFLAGS'
17939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17942
17943 fi
17944
17945
17946 case "${host}" in
17947
17948 *-*-darwin* )
17949 INSTALL_PROGRAM="cp -fp"
17950 INSTALL_DATA="cp -fp"
17951 ;;
17952 *)
17953 ;;
17954 esac
17955
17956
17957 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17958 CXXFLAGS="-qunique $CXXFLAGS"
17959 fi
17960
17961 case "${host}" in
17962 powerpc-*-darwin* )
17963 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17964 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17965 cat >conftest.$ac_ext <<_ACEOF
17966 /* confdefs.h. */
17967 _ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17971
17972 int
17973 main ()
17974 {
17975 #ifndef __POWERPC__
17976 choke me for lack of PowerPC
17977 #endif
17978
17979 ;
17980 return 0;
17981 }
17982 _ACEOF
17983 rm -f conftest.$ac_objext
17984 if { (ac_try="$ac_compile"
17985 case "(($ac_try" in
17986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17988 esac
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_compile") 2>conftest.er1
17991 ac_status=$?
17992 grep -v '^ *+' conftest.er1 >conftest.err
17993 rm -f conftest.er1
17994 cat conftest.err >&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } && {
17997 test -z "$ac_c_werror_flag" ||
17998 test ! -s conftest.err
17999 } && test -s conftest.$ac_objext; then
18000 { echo "$as_me:$LINENO: result: yes" >&5
18001 echo "${ECHO_T}yes" >&6; }
18002 else
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18005
18006 { echo "$as_me:$LINENO: result: no" >&5
18007 echo "${ECHO_T}no" >&6; }
18008 cat >>confdefs.h <<\_ACEOF
18009 #define __POWERPC__ 1
18010 _ACEOF
18011
18012
18013 fi
18014
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 ;;
18017 esac
18018
18019 case "${host}" in
18020 *-*-darwin* )
18021 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18022 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18023 cat >conftest.$ac_ext <<_ACEOF
18024 /* confdefs.h. */
18025 _ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 #include <CoreFoundation/CFBase.h>
18030
18031 int
18032 main ()
18033 {
18034
18035 ;
18036 return 0;
18037 }
18038 _ACEOF
18039 rm -f conftest.$ac_objext
18040 if { (ac_try="$ac_compile"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18043 *) ac_try_echo=$ac_try;;
18044 esac
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compile") 2>conftest.er1
18047 ac_status=$?
18048 grep -v '^ *+' conftest.er1 >conftest.err
18049 rm -f conftest.er1
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && {
18053 test -z "$ac_c_werror_flag" ||
18054 test ! -s conftest.err
18055 } && test -s conftest.$ac_objext; then
18056 { echo "$as_me:$LINENO: result: yes" >&5
18057 echo "${ECHO_T}yes" >&6; }
18058 else
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18061
18062 { echo "$as_me:$LINENO: result: no" >&5
18063 echo "${ECHO_T}no" >&6; }
18064 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18065 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #define __CF_USE_FRAMEWORK_INCLUDES__
18073 #include <CoreFoundation/CFBase.h>
18074
18075 int
18076 main ()
18077 {
18078
18079 ;
18080 return 0;
18081 }
18082 _ACEOF
18083 rm -f conftest.$ac_objext
18084 if { (ac_try="$ac_compile"
18085 case "(($ac_try" in
18086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18087 *) ac_try_echo=$ac_try;;
18088 esac
18089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18090 (eval "$ac_compile") 2>conftest.er1
18091 ac_status=$?
18092 grep -v '^ *+' conftest.er1 >conftest.err
18093 rm -f conftest.er1
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && {
18097 test -z "$ac_c_werror_flag" ||
18098 test ! -s conftest.err
18099 } && test -s conftest.$ac_objext; then
18100 { echo "$as_me:$LINENO: result: yes" >&5
18101 echo "${ECHO_T}yes" >&6; }
18102 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18103 else
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18106
18107 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18108 See \`config.log' for more details." >&5
18109 echo "$as_me: error: no. CoreFoundation not available.
18110 See \`config.log' for more details." >&2;}
18111 { (exit 1); exit 1; }; }
18112
18113 fi
18114
18115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18116
18117
18118 fi
18119
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121 ;;
18122 esac
18123
18124 wants_win32=0
18125 doesnt_want_win32=0
18126 case "${host}" in
18127 *-*-cygwin*)
18128 if test "$wxUSE_MSW" = 1 ; then
18129 wants_win32=1
18130 else
18131 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18132 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18133 if test "${wx_cv_nocygwin+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136
18137 cat >conftest.$ac_ext <<_ACEOF
18138 /* confdefs.h. */
18139 _ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18143
18144 int
18145 main ()
18146 {
18147
18148 #ifdef __MINGW32__
18149 choke me
18150 #endif
18151
18152 ;
18153 return 0;
18154 }
18155 _ACEOF
18156 rm -f conftest.$ac_objext
18157 if { (ac_try="$ac_compile"
18158 case "(($ac_try" in
18159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18160 *) ac_try_echo=$ac_try;;
18161 esac
18162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18163 (eval "$ac_compile") 2>conftest.er1
18164 ac_status=$?
18165 grep -v '^ *+' conftest.er1 >conftest.err
18166 rm -f conftest.er1
18167 cat conftest.err >&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } && {
18170 test -z "$ac_c_werror_flag" ||
18171 test ! -s conftest.err
18172 } && test -s conftest.$ac_objext; then
18173 wx_cv_nocygwin=no
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 wx_cv_nocygwin=yes
18179
18180 fi
18181
18182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18183
18184
18185 fi
18186 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18187 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18188
18189 if test "$wx_cv_nocygwin" = "yes"; then
18190 wants_win32=1
18191 else
18192 doesnt_want_win32=1
18193 fi
18194 fi
18195 if test "$wants_win32" = 1 ; then
18196 BAKEFILE_FORCE_PLATFORM=win32
18197 fi
18198 ;;
18199 *-*-mingw*)
18200 wants_win32=1
18201 ;;
18202 esac
18203
18204 if test "$wxUSE_WINE" = "yes"; then
18205 wants_win32=1
18206 LDFLAGS_GUI="-mwindows"
18207 fi
18208
18209 if test "$wants_win32" = 1 ; then
18210 USE_UNIX=0
18211 USE_WIN32=1
18212 cat >>confdefs.h <<\_ACEOF
18213 #define __WIN32__ 1
18214 _ACEOF
18215
18216 cat >>confdefs.h <<\_ACEOF
18217 #define __WIN95__ 1
18218 _ACEOF
18219
18220 cat >>confdefs.h <<\_ACEOF
18221 #define __WINDOWS__ 1
18222 _ACEOF
18223
18224 cat >>confdefs.h <<\_ACEOF
18225 #define __GNUWIN32__ 1
18226 _ACEOF
18227
18228 cat >>confdefs.h <<\_ACEOF
18229 #define STRICT 1
18230 _ACEOF
18231
18232 fi
18233 if test "$doesnt_want_win32" = 1 ; then
18234 USE_UNIX=1
18235 USE_WIN32=0
18236 fi
18237
18238 if test "$USE_UNIX" = 1 ; then
18239 wxUSE_UNIX=yes
18240 cat >>confdefs.h <<\_ACEOF
18241 #define __UNIX__ 1
18242 _ACEOF
18243
18244 fi
18245
18246 case "${host}" in
18247 *-pc-os2_emx | *-pc-os2-emx )
18248 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18249 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18250 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18251 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 else
18254 ac_check_lib_save_LIBS=$LIBS
18255 LIBS="-lcExt $LIBS"
18256 cat >conftest.$ac_ext <<_ACEOF
18257 /* confdefs.h. */
18258 _ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18262
18263 /* Override any GCC internal prototype to avoid an error.
18264 Use char because int might match the return type of a GCC
18265 builtin and then its argument prototype would still apply. */
18266 #ifdef __cplusplus
18267 extern "C"
18268 #endif
18269 char drand48 ();
18270 int
18271 main ()
18272 {
18273 return drand48 ();
18274 ;
18275 return 0;
18276 }
18277 _ACEOF
18278 rm -f conftest.$ac_objext conftest$ac_exeext
18279 if { (ac_try="$ac_link"
18280 case "(($ac_try" in
18281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18282 *) ac_try_echo=$ac_try;;
18283 esac
18284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18285 (eval "$ac_link") 2>conftest.er1
18286 ac_status=$?
18287 grep -v '^ *+' conftest.er1 >conftest.err
18288 rm -f conftest.er1
18289 cat conftest.err >&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } && {
18292 test -z "$ac_c_werror_flag" ||
18293 test ! -s conftest.err
18294 } && test -s conftest$ac_exeext &&
18295 $as_test_x conftest$ac_exeext; then
18296 ac_cv_lib_cExt_drand48=yes
18297 else
18298 echo "$as_me: failed program was:" >&5
18299 sed 's/^/| /' conftest.$ac_ext >&5
18300
18301 ac_cv_lib_cExt_drand48=no
18302 fi
18303
18304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18305 conftest$ac_exeext conftest.$ac_ext
18306 LIBS=$ac_check_lib_save_LIBS
18307 fi
18308 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18309 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18310 if test $ac_cv_lib_cExt_drand48 = yes; then
18311 LIBS="$LIBS -lcExt"
18312 fi
18313
18314 else
18315 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18316 fi
18317 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18318 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18319 if test "${wx_cv_gccversion+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322
18323 if test "$cross_compiling" = yes; then
18324 wx_cv_gccversion="EMX2"
18325
18326 else
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h. */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333
18334 #include <stdio.h>
18335
18336 int main()
18337 {
18338 FILE *f=fopen("conftestval", "w");
18339 if (!f) exit(1);
18340 fprintf(f,
18341 #if (__GNUC__ < 3)
18342 "EMX2"
18343 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18344 "EMX3"
18345 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18346 "Innotek5"
18347 #else
18348 "Innotek6"
18349 #endif
18350 );
18351 exit(0);
18352 }
18353
18354 _ACEOF
18355 rm -f conftest$ac_exeext
18356 if { (ac_try="$ac_link"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18360 esac
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_link") 2>&5
18363 ac_status=$?
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18366 { (case "(($ac_try" in
18367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18368 *) ac_try_echo=$ac_try;;
18369 esac
18370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18371 (eval "$ac_try") 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; }; then
18375 wx_cv_gccversion=`cat conftestval`
18376 else
18377 echo "$as_me: program exited with status $ac_status" >&5
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18380
18381 ( exit $ac_status )
18382 wx_cv_gccversion="EMX2"
18383 fi
18384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18385 fi
18386
18387
18388
18389 fi
18390 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18391 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18392 if test "$wx_cv_gccversion" = "EMX2"; then
18393 LIBS="$LIBS -lstdcpp"
18394 LDFLAGS="$LDFLAGS -Zsysv-signals"
18395 else
18396 if test "$wx_cv_gccversion" = "EMX3"; then
18397 LIBS="$LIBS -lstdcxx -lgcc"
18398 LDFLAGS="$LDFLAGS -Zsysv-signals"
18399 else
18400 LIBS="$LIBS -lstdc++"
18401 fi
18402 fi
18403 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18404 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18405 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18406 wxUSE_OMF=yes
18407 enable_omf=yes
18408 fi
18409 ;;
18410 *)
18411
18412 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18413 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18414 if test "${ac_cv_string_strcasecmp+set}" = set; then
18415 echo $ECHO_N "(cached) $ECHO_C" >&6
18416 else
18417
18418 cat >conftest.$ac_ext <<_ACEOF
18419 /* confdefs.h. */
18420 _ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18424
18425 #include <string.h>
18426
18427 int
18428 main ()
18429 {
18430
18431 strcasecmp("foo", "bar");
18432
18433 ;
18434 return 0;
18435 }
18436 _ACEOF
18437 rm -f conftest.$ac_objext conftest$ac_exeext
18438 if { (ac_try="$ac_link"
18439 case "(($ac_try" in
18440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18442 esac
18443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_link") 2>conftest.er1
18445 ac_status=$?
18446 grep -v '^ *+' conftest.er1 >conftest.err
18447 rm -f conftest.er1
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest$ac_exeext &&
18454 $as_test_x conftest$ac_exeext; then
18455 ac_cv_string_strcasecmp=yes
18456 else
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.$ac_ext >&5
18459
18460 ac_cv_string_strcasecmp=no
18461
18462 fi
18463
18464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18465 conftest$ac_exeext conftest.$ac_ext
18466
18467 fi
18468 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18469 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18470
18471 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18472 cat >>confdefs.h <<\_ACEOF
18473 #define HAVE_STRCASECMP_IN_STRING_H 1
18474 _ACEOF
18475
18476 else
18477 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18478 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18479 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18481 else
18482
18483 cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h. */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489
18490 #include <strings.h>
18491
18492 int
18493 main ()
18494 {
18495
18496 strcasecmp("foo", "bar");
18497
18498 ;
18499 return 0;
18500 }
18501 _ACEOF
18502 rm -f conftest.$ac_objext conftest$ac_exeext
18503 if { (ac_try="$ac_link"
18504 case "(($ac_try" in
18505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18506 *) ac_try_echo=$ac_try;;
18507 esac
18508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18509 (eval "$ac_link") 2>conftest.er1
18510 ac_status=$?
18511 grep -v '^ *+' conftest.er1 >conftest.err
18512 rm -f conftest.er1
18513 cat conftest.err >&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); } && {
18516 test -z "$ac_c_werror_flag" ||
18517 test ! -s conftest.err
18518 } && test -s conftest$ac_exeext &&
18519 $as_test_x conftest$ac_exeext; then
18520 ac_cv_strings_strcasecmp=yes
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18524
18525 ac_cv_strings_strcasecmp=no
18526
18527 fi
18528
18529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18530 conftest$ac_exeext conftest.$ac_ext
18531
18532 fi
18533 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18534 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18535
18536 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18537 cat >>confdefs.h <<\_ACEOF
18538 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18539 _ACEOF
18540
18541 else
18542 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18543 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18544 { (exit 1); exit 1; }; }
18545 fi
18546 fi
18547
18548 ;;
18549 esac
18550
18551
18552 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18553 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18554 if test "${ac_cv_header_stdc+set}" = set; then
18555 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 else
18557 cat >conftest.$ac_ext <<_ACEOF
18558 /* confdefs.h. */
18559 _ACEOF
18560 cat confdefs.h >>conftest.$ac_ext
18561 cat >>conftest.$ac_ext <<_ACEOF
18562 /* end confdefs.h. */
18563 #include <stdlib.h>
18564 #include <stdarg.h>
18565 #include <string.h>
18566 #include <float.h>
18567
18568 int
18569 main ()
18570 {
18571
18572 ;
18573 return 0;
18574 }
18575 _ACEOF
18576 rm -f conftest.$ac_objext
18577 if { (ac_try="$ac_compile"
18578 case "(($ac_try" in
18579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18580 *) ac_try_echo=$ac_try;;
18581 esac
18582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18583 (eval "$ac_compile") 2>conftest.er1
18584 ac_status=$?
18585 grep -v '^ *+' conftest.er1 >conftest.err
18586 rm -f conftest.er1
18587 cat conftest.err >&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); } && {
18590 test -z "$ac_c_werror_flag" ||
18591 test ! -s conftest.err
18592 } && test -s conftest.$ac_objext; then
18593 ac_cv_header_stdc=yes
18594 else
18595 echo "$as_me: failed program was:" >&5
18596 sed 's/^/| /' conftest.$ac_ext >&5
18597
18598 ac_cv_header_stdc=no
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602
18603 if test $ac_cv_header_stdc = yes; then
18604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18605 cat >conftest.$ac_ext <<_ACEOF
18606 /* confdefs.h. */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 #include <string.h>
18612
18613 _ACEOF
18614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18615 $EGREP "memchr" >/dev/null 2>&1; then
18616 :
18617 else
18618 ac_cv_header_stdc=no
18619 fi
18620 rm -f conftest*
18621
18622 fi
18623
18624 if test $ac_cv_header_stdc = yes; then
18625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18626 cat >conftest.$ac_ext <<_ACEOF
18627 /* confdefs.h. */
18628 _ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <stdlib.h>
18633
18634 _ACEOF
18635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18636 $EGREP "free" >/dev/null 2>&1; then
18637 :
18638 else
18639 ac_cv_header_stdc=no
18640 fi
18641 rm -f conftest*
18642
18643 fi
18644
18645 if test $ac_cv_header_stdc = yes; then
18646 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18647 if test "$cross_compiling" = yes; then
18648 :
18649 else
18650 cat >conftest.$ac_ext <<_ACEOF
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 #include <ctype.h>
18657 #include <stdlib.h>
18658 #if ((' ' & 0x0FF) == 0x020)
18659 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18660 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18661 #else
18662 # define ISLOWER(c) \
18663 (('a' <= (c) && (c) <= 'i') \
18664 || ('j' <= (c) && (c) <= 'r') \
18665 || ('s' <= (c) && (c) <= 'z'))
18666 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18667 #endif
18668
18669 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18670 int
18671 main ()
18672 {
18673 int i;
18674 for (i = 0; i < 256; i++)
18675 if (XOR (islower (i), ISLOWER (i))
18676 || toupper (i) != TOUPPER (i))
18677 return 2;
18678 return 0;
18679 }
18680 _ACEOF
18681 rm -f conftest$ac_exeext
18682 if { (ac_try="$ac_link"
18683 case "(($ac_try" in
18684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18685 *) ac_try_echo=$ac_try;;
18686 esac
18687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18688 (eval "$ac_link") 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18692 { (case "(($ac_try" in
18693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18694 *) ac_try_echo=$ac_try;;
18695 esac
18696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18697 (eval "$ac_try") 2>&5
18698 ac_status=$?
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
18701 :
18702 else
18703 echo "$as_me: program exited with status $ac_status" >&5
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18706
18707 ( exit $ac_status )
18708 ac_cv_header_stdc=no
18709 fi
18710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18711 fi
18712
18713
18714 fi
18715 fi
18716 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18717 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18718 if test $ac_cv_header_stdc = yes; then
18719
18720 cat >>confdefs.h <<\_ACEOF
18721 #define STDC_HEADERS 1
18722 _ACEOF
18723
18724 fi
18725
18726 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18737 inttypes.h stdint.h unistd.h
18738 do
18739 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18740 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else
18745 cat >conftest.$ac_ext <<_ACEOF
18746 /* confdefs.h. */
18747 _ACEOF
18748 cat confdefs.h >>conftest.$ac_ext
18749 cat >>conftest.$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18751 $ac_includes_default
18752
18753 #include <$ac_header>
18754 _ACEOF
18755 rm -f conftest.$ac_objext
18756 if { (ac_try="$ac_compile"
18757 case "(($ac_try" in
18758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18759 *) ac_try_echo=$ac_try;;
18760 esac
18761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18762 (eval "$ac_compile") 2>conftest.er1
18763 ac_status=$?
18764 grep -v '^ *+' conftest.er1 >conftest.err
18765 rm -f conftest.er1
18766 cat conftest.err >&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } && {
18769 test -z "$ac_c_werror_flag" ||
18770 test ! -s conftest.err
18771 } && test -s conftest.$ac_objext; then
18772 eval "$as_ac_Header=yes"
18773 else
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18776
18777 eval "$as_ac_Header=no"
18778 fi
18779
18780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18781 fi
18782 ac_res=`eval echo '${'$as_ac_Header'}'`
18783 { echo "$as_me:$LINENO: result: $ac_res" >&5
18784 echo "${ECHO_T}$ac_res" >&6; }
18785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18786 cat >>confdefs.h <<_ACEOF
18787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18788 _ACEOF
18789
18790 fi
18791
18792 done
18793
18794
18795
18796
18797 for ac_header in langinfo.h wchar.h
18798 do
18799 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18800 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18802 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 else
18805 cat >conftest.$ac_ext <<_ACEOF
18806 /* confdefs.h. */
18807 _ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 $ac_includes_default
18812
18813 #include <$ac_header>
18814 _ACEOF
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18820 esac
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_c_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.$ac_objext; then
18832 eval "$as_ac_Header=yes"
18833 else
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18836
18837 eval "$as_ac_Header=no"
18838 fi
18839
18840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 fi
18842 ac_res=`eval echo '${'$as_ac_Header'}'`
18843 { echo "$as_me:$LINENO: result: $ac_res" >&5
18844 echo "${ECHO_T}$ac_res" >&6; }
18845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18846 cat >>confdefs.h <<_ACEOF
18847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18848 _ACEOF
18849
18850 fi
18851
18852 done
18853
18854
18855 if test "$ac_cv_header_wchar_h" != "yes"; then
18856
18857 for ac_header in wcstr.h
18858 do
18859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18860 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 else
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 $ac_includes_default
18872
18873 #include <$ac_header>
18874 _ACEOF
18875 rm -f conftest.$ac_objext
18876 if { (ac_try="$ac_compile"
18877 case "(($ac_try" in
18878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18879 *) ac_try_echo=$ac_try;;
18880 esac
18881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18882 (eval "$ac_compile") 2>conftest.er1
18883 ac_status=$?
18884 grep -v '^ *+' conftest.er1 >conftest.err
18885 rm -f conftest.er1
18886 cat conftest.err >&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); } && {
18889 test -z "$ac_c_werror_flag" ||
18890 test ! -s conftest.err
18891 } && test -s conftest.$ac_objext; then
18892 eval "$as_ac_Header=yes"
18893 else
18894 echo "$as_me: failed program was:" >&5
18895 sed 's/^/| /' conftest.$ac_ext >&5
18896
18897 eval "$as_ac_Header=no"
18898 fi
18899
18900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18901 fi
18902 ac_res=`eval echo '${'$as_ac_Header'}'`
18903 { echo "$as_me:$LINENO: result: $ac_res" >&5
18904 echo "${ECHO_T}$ac_res" >&6; }
18905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18906 cat >>confdefs.h <<_ACEOF
18907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18908 _ACEOF
18909
18910 fi
18911
18912 done
18913
18914 fi
18915
18916 case "${host}" in
18917 *-pc-os2_emx | *-pc-os2-emx )
18918 if test $ac_cv_header_langinfo_h = "yes" \
18919 -a \( "$wx_cv_gccversion" = "EMX2" \
18920 -o "$wx_cv_gccversion" = "EMX3" \
18921 -o "$wx_cv_gccversion" = "Innotek5" \); then
18922 LIBS="$LIBS -lintl"
18923 fi
18924 ;;
18925 esac
18926
18927 if test "$USE_UNIX" = 1 ; then
18928
18929 for ac_header in sys/select.h
18930 do
18931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18932 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18934 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 else
18937 cat >conftest.$ac_ext <<_ACEOF
18938 /* confdefs.h. */
18939 _ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 $ac_includes_default
18944
18945 #include <$ac_header>
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18952 esac
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 eval "$as_ac_Header=yes"
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18968
18969 eval "$as_ac_Header=no"
18970 fi
18971
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18973 fi
18974 ac_res=`eval echo '${'$as_ac_Header'}'`
18975 { echo "$as_me:$LINENO: result: $ac_res" >&5
18976 echo "${ECHO_T}$ac_res" >&6; }
18977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18978 cat >>confdefs.h <<_ACEOF
18979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18980 _ACEOF
18981
18982 fi
18983
18984 done
18985
18986 fi
18987
18988
18989 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18990 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18991 if test "${ac_cv_c_const+set}" = set; then
18992 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 else
18994 cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h. */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000
19001 int
19002 main ()
19003 {
19004 /* FIXME: Include the comments suggested by Paul. */
19005 #ifndef __cplusplus
19006 /* Ultrix mips cc rejects this. */
19007 typedef int charset[2];
19008 const charset cs;
19009 /* SunOS 4.1.1 cc rejects this. */
19010 char const *const *pcpcc;
19011 char **ppc;
19012 /* NEC SVR4.0.2 mips cc rejects this. */
19013 struct point {int x, y;};
19014 static struct point const zero = {0,0};
19015 /* AIX XL C 1.02.0.0 rejects this.
19016 It does not let you subtract one const X* pointer from another in
19017 an arm of an if-expression whose if-part is not a constant
19018 expression */
19019 const char *g = "string";
19020 pcpcc = &g + (g ? g-g : 0);
19021 /* HPUX 7.0 cc rejects these. */
19022 ++pcpcc;
19023 ppc = (char**) pcpcc;
19024 pcpcc = (char const *const *) ppc;
19025 { /* SCO 3.2v4 cc rejects this. */
19026 char *t;
19027 char const *s = 0 ? (char *) 0 : (char const *) 0;
19028
19029 *t++ = 0;
19030 if (s) return 0;
19031 }
19032 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19033 int x[] = {25, 17};
19034 const int *foo = &x[0];
19035 ++foo;
19036 }
19037 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19038 typedef const int *iptr;
19039 iptr p = 0;
19040 ++p;
19041 }
19042 { /* AIX XL C 1.02.0.0 rejects this saying
19043 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19044 struct s { int j; const int *ap[3]; };
19045 struct s *b; b->j = 5;
19046 }
19047 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19048 const int foo = 10;
19049 if (!foo) return 0;
19050 }
19051 return !cs[0] && !zero.x;
19052 #endif
19053
19054 ;
19055 return 0;
19056 }
19057 _ACEOF
19058 rm -f conftest.$ac_objext
19059 if { (ac_try="$ac_compile"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19063 esac
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_compile") 2>conftest.er1
19066 ac_status=$?
19067 grep -v '^ *+' conftest.er1 >conftest.err
19068 rm -f conftest.er1
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err
19074 } && test -s conftest.$ac_objext; then
19075 ac_cv_c_const=yes
19076 else
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19079
19080 ac_cv_c_const=no
19081 fi
19082
19083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084 fi
19085 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19086 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19087 if test $ac_cv_c_const = no; then
19088
19089 cat >>confdefs.h <<\_ACEOF
19090 #define const
19091 _ACEOF
19092
19093 fi
19094
19095 { echo "$as_me:$LINENO: checking for inline" >&5
19096 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19097 if test "${ac_cv_c_inline+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19100 ac_cv_c_inline=no
19101 for ac_kw in inline __inline__ __inline; do
19102 cat >conftest.$ac_ext <<_ACEOF
19103 /* confdefs.h. */
19104 _ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 #ifndef __cplusplus
19109 typedef int foo_t;
19110 static $ac_kw foo_t static_foo () {return 0; }
19111 $ac_kw foo_t foo () {return 0; }
19112 #endif
19113
19114 _ACEOF
19115 rm -f conftest.$ac_objext
19116 if { (ac_try="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19132 ac_cv_c_inline=$ac_kw
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19136
19137
19138 fi
19139
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 test "$ac_cv_c_inline" != no && break
19142 done
19143
19144 fi
19145 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19146 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19147
19148
19149 case $ac_cv_c_inline in
19150 inline | yes) ;;
19151 *)
19152 case $ac_cv_c_inline in
19153 no) ac_val=;;
19154 *) ac_val=$ac_cv_c_inline;;
19155 esac
19156 cat >>confdefs.h <<_ACEOF
19157 #ifndef __cplusplus
19158 #define inline $ac_val
19159 #endif
19160 _ACEOF
19161 ;;
19162 esac
19163
19164
19165 { echo "$as_me:$LINENO: checking for short" >&5
19166 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19167 if test "${ac_cv_type_short+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 typedef short ac__type_new_;
19178 int
19179 main ()
19180 {
19181 if ((ac__type_new_ *) 0)
19182 return 0;
19183 if (sizeof (ac__type_new_))
19184 return 0;
19185 ;
19186 return 0;
19187 }
19188 _ACEOF
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19194 esac
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_c_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 ac_cv_type_short=yes
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19210
19211 ac_cv_type_short=no
19212 fi
19213
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 fi
19216 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19217 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19218
19219 # The cast to long int works around a bug in the HP C Compiler
19220 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19221 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19222 # This bug is HP SR number 8606223364.
19223 { echo "$as_me:$LINENO: checking size of short" >&5
19224 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19225 if test "${ac_cv_sizeof_short+set}" = set; then
19226 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 else
19228 if test "$cross_compiling" = yes; then
19229 # Depending upon the size, compute the lo and hi bounds.
19230 cat >conftest.$ac_ext <<_ACEOF
19231 /* confdefs.h. */
19232 _ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 $ac_includes_default
19237 typedef short ac__type_sizeof_;
19238 int
19239 main ()
19240 {
19241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19242 test_array [0] = 0
19243
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 rm -f conftest.$ac_objext
19249 if { (ac_try="$ac_compile"
19250 case "(($ac_try" in
19251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19252 *) ac_try_echo=$ac_try;;
19253 esac
19254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19255 (eval "$ac_compile") 2>conftest.er1
19256 ac_status=$?
19257 grep -v '^ *+' conftest.er1 >conftest.err
19258 rm -f conftest.er1
19259 cat conftest.err >&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); } && {
19262 test -z "$ac_c_werror_flag" ||
19263 test ! -s conftest.err
19264 } && test -s conftest.$ac_objext; then
19265 ac_lo=0 ac_mid=0
19266 while :; do
19267 cat >conftest.$ac_ext <<_ACEOF
19268 /* confdefs.h. */
19269 _ACEOF
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 $ac_includes_default
19274 typedef short ac__type_sizeof_;
19275 int
19276 main ()
19277 {
19278 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19279 test_array [0] = 0
19280
19281 ;
19282 return 0;
19283 }
19284 _ACEOF
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19290 esac
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19293 ac_status=$?
19294 grep -v '^ *+' conftest.er1 >conftest.err
19295 rm -f conftest.er1
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 ac_hi=$ac_mid; break
19303 else
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19306
19307 ac_lo=`expr $ac_mid + 1`
19308 if test $ac_lo -le $ac_mid; then
19309 ac_lo= ac_hi=
19310 break
19311 fi
19312 ac_mid=`expr 2 '*' $ac_mid + 1`
19313 fi
19314
19315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19316 done
19317 else
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19320
19321 cat >conftest.$ac_ext <<_ACEOF
19322 /* confdefs.h. */
19323 _ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 $ac_includes_default
19328 typedef short ac__type_sizeof_;
19329 int
19330 main ()
19331 {
19332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19333 test_array [0] = 0
19334
19335 ;
19336 return 0;
19337 }
19338 _ACEOF
19339 rm -f conftest.$ac_objext
19340 if { (ac_try="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19344 esac
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19347 ac_status=$?
19348 grep -v '^ *+' conftest.er1 >conftest.err
19349 rm -f conftest.er1
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19356 ac_hi=-1 ac_mid=-1
19357 while :; do
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19365 typedef short ac__type_sizeof_;
19366 int
19367 main ()
19368 {
19369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19370 test_array [0] = 0
19371
19372 ;
19373 return 0;
19374 }
19375 _ACEOF
19376 rm -f conftest.$ac_objext
19377 if { (ac_try="$ac_compile"
19378 case "(($ac_try" in
19379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19381 esac
19382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_compile") 2>conftest.er1
19384 ac_status=$?
19385 grep -v '^ *+' conftest.er1 >conftest.err
19386 rm -f conftest.er1
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } && {
19390 test -z "$ac_c_werror_flag" ||
19391 test ! -s conftest.err
19392 } && test -s conftest.$ac_objext; then
19393 ac_lo=$ac_mid; break
19394 else
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19397
19398 ac_hi=`expr '(' $ac_mid ')' - 1`
19399 if test $ac_mid -le $ac_hi; then
19400 ac_lo= ac_hi=
19401 break
19402 fi
19403 ac_mid=`expr 2 '*' $ac_mid`
19404 fi
19405
19406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19407 done
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19411
19412 ac_lo= ac_hi=
19413 fi
19414
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19416 fi
19417
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 # Binary search between lo and hi bounds.
19420 while test "x$ac_lo" != "x$ac_hi"; do
19421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19422 cat >conftest.$ac_ext <<_ACEOF
19423 /* confdefs.h. */
19424 _ACEOF
19425 cat confdefs.h >>conftest.$ac_ext
19426 cat >>conftest.$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 $ac_includes_default
19429 typedef short ac__type_sizeof_;
19430 int
19431 main ()
19432 {
19433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19434 test_array [0] = 0
19435
19436 ;
19437 return 0;
19438 }
19439 _ACEOF
19440 rm -f conftest.$ac_objext
19441 if { (ac_try="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19445 esac
19446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19448 ac_status=$?
19449 grep -v '^ *+' conftest.er1 >conftest.err
19450 rm -f conftest.er1
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.$ac_objext; then
19457 ac_hi=$ac_mid
19458 else
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19461
19462 ac_lo=`expr '(' $ac_mid ')' + 1`
19463 fi
19464
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466 done
19467 case $ac_lo in
19468 ?*) ac_cv_sizeof_short=$ac_lo;;
19469 '') if test "$ac_cv_type_short" = yes; then
19470 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19471 See \`config.log' for more details." >&5
19472 echo "$as_me: error: cannot compute sizeof (short)
19473 See \`config.log' for more details." >&2;}
19474 { (exit 77); exit 77; }; }
19475 else
19476 ac_cv_sizeof_short=0
19477 fi ;;
19478 esac
19479 else
19480 cat >conftest.$ac_ext <<_ACEOF
19481 /* confdefs.h. */
19482 _ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 typedef short ac__type_sizeof_;
19488 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19489 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19490 #include <stdio.h>
19491 #include <stdlib.h>
19492 int
19493 main ()
19494 {
19495
19496 FILE *f = fopen ("conftest.val", "w");
19497 if (! f)
19498 return 1;
19499 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19500 {
19501 long int i = longval ();
19502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19503 return 1;
19504 fprintf (f, "%ld\n", i);
19505 }
19506 else
19507 {
19508 unsigned long int i = ulongval ();
19509 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19510 return 1;
19511 fprintf (f, "%lu\n", i);
19512 }
19513 return ferror (f) || fclose (f) != 0;
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest$ac_exeext
19520 if { (ac_try="$ac_link"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19524 esac
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_link") 2>&5
19527 ac_status=$?
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_sizeof_short=`cat conftest.val`
19540 else
19541 echo "$as_me: program exited with status $ac_status" >&5
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545 ( exit $ac_status )
19546 if test "$ac_cv_type_short" = yes; then
19547 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19548 See \`config.log' for more details." >&5
19549 echo "$as_me: error: cannot compute sizeof (short)
19550 See \`config.log' for more details." >&2;}
19551 { (exit 77); exit 77; }; }
19552 else
19553 ac_cv_sizeof_short=0
19554 fi
19555 fi
19556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19557 fi
19558 rm -f conftest.val
19559 fi
19560 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19561 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19562
19563
19564
19565 cat >>confdefs.h <<_ACEOF
19566 #define SIZEOF_SHORT $ac_cv_sizeof_short
19567 _ACEOF
19568
19569
19570 { echo "$as_me:$LINENO: checking for void *" >&5
19571 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19572 if test "${ac_cv_type_void_p+set}" = set; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19574 else
19575 cat >conftest.$ac_ext <<_ACEOF
19576 /* confdefs.h. */
19577 _ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef void * ac__type_new_;
19583 int
19584 main ()
19585 {
19586 if ((ac__type_new_ *) 0)
19587 return 0;
19588 if (sizeof (ac__type_new_))
19589 return 0;
19590 ;
19591 return 0;
19592 }
19593 _ACEOF
19594 rm -f conftest.$ac_objext
19595 if { (ac_try="$ac_compile"
19596 case "(($ac_try" in
19597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19598 *) ac_try_echo=$ac_try;;
19599 esac
19600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19601 (eval "$ac_compile") 2>conftest.er1
19602 ac_status=$?
19603 grep -v '^ *+' conftest.er1 >conftest.err
19604 rm -f conftest.er1
19605 cat conftest.err >&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } && {
19608 test -z "$ac_c_werror_flag" ||
19609 test ! -s conftest.err
19610 } && test -s conftest.$ac_objext; then
19611 ac_cv_type_void_p=yes
19612 else
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19615
19616 ac_cv_type_void_p=no
19617 fi
19618
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 fi
19621 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19622 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19623
19624 # The cast to long int works around a bug in the HP C Compiler
19625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19627 # This bug is HP SR number 8606223364.
19628 { echo "$as_me:$LINENO: checking size of void *" >&5
19629 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19630 if test "${ac_cv_sizeof_void_p+set}" = set; then
19631 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 else
19633 if test "$cross_compiling" = yes; then
19634 # Depending upon the size, compute the lo and hi bounds.
19635 cat >conftest.$ac_ext <<_ACEOF
19636 /* confdefs.h. */
19637 _ACEOF
19638 cat confdefs.h >>conftest.$ac_ext
19639 cat >>conftest.$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19642 typedef void * ac__type_sizeof_;
19643 int
19644 main ()
19645 {
19646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19647 test_array [0] = 0
19648
19649 ;
19650 return 0;
19651 }
19652 _ACEOF
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19658 esac
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19661 ac_status=$?
19662 grep -v '^ *+' conftest.er1 >conftest.err
19663 rm -f conftest.er1
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19670 ac_lo=0 ac_mid=0
19671 while :; do
19672 cat >conftest.$ac_ext <<_ACEOF
19673 /* confdefs.h. */
19674 _ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19679 typedef void * ac__type_sizeof_;
19680 int
19681 main ()
19682 {
19683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19684 test_array [0] = 0
19685
19686 ;
19687 return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_hi=$ac_mid; break
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_lo=`expr $ac_mid + 1`
19713 if test $ac_lo -le $ac_mid; then
19714 ac_lo= ac_hi=
19715 break
19716 fi
19717 ac_mid=`expr 2 '*' $ac_mid + 1`
19718 fi
19719
19720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 done
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 cat >conftest.$ac_ext <<_ACEOF
19727 /* confdefs.h. */
19728 _ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19733 typedef void * ac__type_sizeof_;
19734 int
19735 main ()
19736 {
19737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19738 test_array [0] = 0
19739
19740 ;
19741 return 0;
19742 }
19743 _ACEOF
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19749 esac
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19752 ac_status=$?
19753 grep -v '^ *+' conftest.er1 >conftest.err
19754 rm -f conftest.er1
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19761 ac_hi=-1 ac_mid=-1
19762 while :; do
19763 cat >conftest.$ac_ext <<_ACEOF
19764 /* confdefs.h. */
19765 _ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769 $ac_includes_default
19770 typedef void * ac__type_sizeof_;
19771 int
19772 main ()
19773 {
19774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19775 test_array [0] = 0
19776
19777 ;
19778 return 0;
19779 }
19780 _ACEOF
19781 rm -f conftest.$ac_objext
19782 if { (ac_try="$ac_compile"
19783 case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19786 esac
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_compile") 2>conftest.er1
19789 ac_status=$?
19790 grep -v '^ *+' conftest.er1 >conftest.err
19791 rm -f conftest.er1
19792 cat conftest.err >&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } && {
19795 test -z "$ac_c_werror_flag" ||
19796 test ! -s conftest.err
19797 } && test -s conftest.$ac_objext; then
19798 ac_lo=$ac_mid; break
19799 else
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.$ac_ext >&5
19802
19803 ac_hi=`expr '(' $ac_mid ')' - 1`
19804 if test $ac_mid -le $ac_hi; then
19805 ac_lo= ac_hi=
19806 break
19807 fi
19808 ac_mid=`expr 2 '*' $ac_mid`
19809 fi
19810
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812 done
19813 else
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19816
19817 ac_lo= ac_hi=
19818 fi
19819
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 fi
19822
19823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824 # Binary search between lo and hi bounds.
19825 while test "x$ac_lo" != "x$ac_hi"; do
19826 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19827 cat >conftest.$ac_ext <<_ACEOF
19828 /* confdefs.h. */
19829 _ACEOF
19830 cat confdefs.h >>conftest.$ac_ext
19831 cat >>conftest.$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 $ac_includes_default
19834 typedef void * ac__type_sizeof_;
19835 int
19836 main ()
19837 {
19838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19839 test_array [0] = 0
19840
19841 ;
19842 return 0;
19843 }
19844 _ACEOF
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19850 esac
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19853 ac_status=$?
19854 grep -v '^ *+' conftest.er1 >conftest.err
19855 rm -f conftest.er1
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } && {
19859 test -z "$ac_c_werror_flag" ||
19860 test ! -s conftest.err
19861 } && test -s conftest.$ac_objext; then
19862 ac_hi=$ac_mid
19863 else
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19866
19867 ac_lo=`expr '(' $ac_mid ')' + 1`
19868 fi
19869
19870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19871 done
19872 case $ac_lo in
19873 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19874 '') if test "$ac_cv_type_void_p" = yes; then
19875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19876 See \`config.log' for more details." >&5
19877 echo "$as_me: error: cannot compute sizeof (void *)
19878 See \`config.log' for more details." >&2;}
19879 { (exit 77); exit 77; }; }
19880 else
19881 ac_cv_sizeof_void_p=0
19882 fi ;;
19883 esac
19884 else
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19892 typedef void * ac__type_sizeof_;
19893 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19894 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19895 #include <stdio.h>
19896 #include <stdlib.h>
19897 int
19898 main ()
19899 {
19900
19901 FILE *f = fopen ("conftest.val", "w");
19902 if (! f)
19903 return 1;
19904 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19905 {
19906 long int i = longval ();
19907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19908 return 1;
19909 fprintf (f, "%ld\n", i);
19910 }
19911 else
19912 {
19913 unsigned long int i = ulongval ();
19914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19915 return 1;
19916 fprintf (f, "%lu\n", i);
19917 }
19918 return ferror (f) || fclose (f) != 0;
19919
19920 ;
19921 return 0;
19922 }
19923 _ACEOF
19924 rm -f conftest$ac_exeext
19925 if { (ac_try="$ac_link"
19926 case "(($ac_try" in
19927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19928 *) ac_try_echo=$ac_try;;
19929 esac
19930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19931 (eval "$ac_link") 2>&5
19932 ac_status=$?
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19935 { (case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19938 esac
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_try") 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19944 ac_cv_sizeof_void_p=`cat conftest.val`
19945 else
19946 echo "$as_me: program exited with status $ac_status" >&5
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19949
19950 ( exit $ac_status )
19951 if test "$ac_cv_type_void_p" = yes; then
19952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19953 See \`config.log' for more details." >&5
19954 echo "$as_me: error: cannot compute sizeof (void *)
19955 See \`config.log' for more details." >&2;}
19956 { (exit 77); exit 77; }; }
19957 else
19958 ac_cv_sizeof_void_p=0
19959 fi
19960 fi
19961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19962 fi
19963 rm -f conftest.val
19964 fi
19965 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19966 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19967
19968
19969
19970 cat >>confdefs.h <<_ACEOF
19971 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19972 _ACEOF
19973
19974
19975 { echo "$as_me:$LINENO: checking for int" >&5
19976 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19977 if test "${ac_cv_type_int+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19979 else
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_new_;
19988 int
19989 main ()
19990 {
19991 if ((ac__type_new_ *) 0)
19992 return 0;
19993 if (sizeof (ac__type_new_))
19994 return 0;
19995 ;
19996 return 0;
19997 }
19998 _ACEOF
19999 rm -f conftest.$ac_objext
20000 if { (ac_try="$ac_compile"
20001 case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20004 esac
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_compile") 2>conftest.er1
20007 ac_status=$?
20008 grep -v '^ *+' conftest.er1 >conftest.err
20009 rm -f conftest.er1
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest.$ac_objext; then
20016 ac_cv_type_int=yes
20017 else
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20020
20021 ac_cv_type_int=no
20022 fi
20023
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 fi
20026 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20027 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20028
20029 # The cast to long int works around a bug in the HP C Compiler
20030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20032 # This bug is HP SR number 8606223364.
20033 { echo "$as_me:$LINENO: checking size of int" >&5
20034 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20035 if test "${ac_cv_sizeof_int+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 else
20038 if test "$cross_compiling" = yes; then
20039 # Depending upon the size, compute the lo and hi bounds.
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 typedef int ac__type_sizeof_;
20048 int
20049 main ()
20050 {
20051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20052 test_array [0] = 0
20053
20054 ;
20055 return 0;
20056 }
20057 _ACEOF
20058 rm -f conftest.$ac_objext
20059 if { (ac_try="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20063 esac
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20066 ac_status=$?
20067 grep -v '^ *+' conftest.er1 >conftest.err
20068 rm -f conftest.er1
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.$ac_objext; then
20075 ac_lo=0 ac_mid=0
20076 while :; do
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 $ac_includes_default
20084 typedef int ac__type_sizeof_;
20085 int
20086 main ()
20087 {
20088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20089 test_array [0] = 0
20090
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20103 ac_status=$?
20104 grep -v '^ *+' conftest.er1 >conftest.err
20105 rm -f conftest.er1
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20112 ac_hi=$ac_mid; break
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 ac_lo=`expr $ac_mid + 1`
20118 if test $ac_lo -le $ac_mid; then
20119 ac_lo= ac_hi=
20120 break
20121 fi
20122 ac_mid=`expr 2 '*' $ac_mid + 1`
20123 fi
20124
20125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20126 done
20127 else
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20130
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 $ac_includes_default
20138 typedef int ac__type_sizeof_;
20139 int
20140 main ()
20141 {
20142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20143 test_array [0] = 0
20144
20145 ;
20146 return 0;
20147 }
20148 _ACEOF
20149 rm -f conftest.$ac_objext
20150 if { (ac_try="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20154 esac
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20157 ac_status=$?
20158 grep -v '^ *+' conftest.er1 >conftest.err
20159 rm -f conftest.er1
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.$ac_objext; then
20166 ac_hi=-1 ac_mid=-1
20167 while :; do
20168 cat >conftest.$ac_ext <<_ACEOF
20169 /* confdefs.h. */
20170 _ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20175 typedef int ac__type_sizeof_;
20176 int
20177 main ()
20178 {
20179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20180 test_array [0] = 0
20181
20182 ;
20183 return 0;
20184 }
20185 _ACEOF
20186 rm -f conftest.$ac_objext
20187 if { (ac_try="$ac_compile"
20188 case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20191 esac
20192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_compile") 2>conftest.er1
20194 ac_status=$?
20195 grep -v '^ *+' conftest.er1 >conftest.err
20196 rm -f conftest.er1
20197 cat conftest.err >&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } && {
20200 test -z "$ac_c_werror_flag" ||
20201 test ! -s conftest.err
20202 } && test -s conftest.$ac_objext; then
20203 ac_lo=$ac_mid; break
20204 else
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.$ac_ext >&5
20207
20208 ac_hi=`expr '(' $ac_mid ')' - 1`
20209 if test $ac_mid -le $ac_hi; then
20210 ac_lo= ac_hi=
20211 break
20212 fi
20213 ac_mid=`expr 2 '*' $ac_mid`
20214 fi
20215
20216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20217 done
20218 else
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20221
20222 ac_lo= ac_hi=
20223 fi
20224
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 fi
20227
20228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20229 # Binary search between lo and hi bounds.
20230 while test "x$ac_lo" != "x$ac_hi"; do
20231 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20232 cat >conftest.$ac_ext <<_ACEOF
20233 /* confdefs.h. */
20234 _ACEOF
20235 cat confdefs.h >>conftest.$ac_ext
20236 cat >>conftest.$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20238 $ac_includes_default
20239 typedef int ac__type_sizeof_;
20240 int
20241 main ()
20242 {
20243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20244 test_array [0] = 0
20245
20246 ;
20247 return 0;
20248 }
20249 _ACEOF
20250 rm -f conftest.$ac_objext
20251 if { (ac_try="$ac_compile"
20252 case "(($ac_try" in
20253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20254 *) ac_try_echo=$ac_try;;
20255 esac
20256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20257 (eval "$ac_compile") 2>conftest.er1
20258 ac_status=$?
20259 grep -v '^ *+' conftest.er1 >conftest.err
20260 rm -f conftest.er1
20261 cat conftest.err >&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } && {
20264 test -z "$ac_c_werror_flag" ||
20265 test ! -s conftest.err
20266 } && test -s conftest.$ac_objext; then
20267 ac_hi=$ac_mid
20268 else
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.$ac_ext >&5
20271
20272 ac_lo=`expr '(' $ac_mid ')' + 1`
20273 fi
20274
20275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20276 done
20277 case $ac_lo in
20278 ?*) ac_cv_sizeof_int=$ac_lo;;
20279 '') if test "$ac_cv_type_int" = yes; then
20280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20281 See \`config.log' for more details." >&5
20282 echo "$as_me: error: cannot compute sizeof (int)
20283 See \`config.log' for more details." >&2;}
20284 { (exit 77); exit 77; }; }
20285 else
20286 ac_cv_sizeof_int=0
20287 fi ;;
20288 esac
20289 else
20290 cat >conftest.$ac_ext <<_ACEOF
20291 /* confdefs.h. */
20292 _ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 typedef int ac__type_sizeof_;
20298 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20299 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20300 #include <stdio.h>
20301 #include <stdlib.h>
20302 int
20303 main ()
20304 {
20305
20306 FILE *f = fopen ("conftest.val", "w");
20307 if (! f)
20308 return 1;
20309 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20310 {
20311 long int i = longval ();
20312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20313 return 1;
20314 fprintf (f, "%ld\n", i);
20315 }
20316 else
20317 {
20318 unsigned long int i = ulongval ();
20319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20320 return 1;
20321 fprintf (f, "%lu\n", i);
20322 }
20323 return ferror (f) || fclose (f) != 0;
20324
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest$ac_exeext
20330 if { (ac_try="$ac_link"
20331 case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20333 *) ac_try_echo=$ac_try;;
20334 esac
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_link") 2>&5
20337 ac_status=$?
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20340 { (case "(($ac_try" in
20341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20342 *) ac_try_echo=$ac_try;;
20343 esac
20344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20345 (eval "$ac_try") 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; }; then
20349 ac_cv_sizeof_int=`cat conftest.val`
20350 else
20351 echo "$as_me: program exited with status $ac_status" >&5
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 ( exit $ac_status )
20356 if test "$ac_cv_type_int" = yes; then
20357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20358 See \`config.log' for more details." >&5
20359 echo "$as_me: error: cannot compute sizeof (int)
20360 See \`config.log' for more details." >&2;}
20361 { (exit 77); exit 77; }; }
20362 else
20363 ac_cv_sizeof_int=0
20364 fi
20365 fi
20366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20367 fi
20368 rm -f conftest.val
20369 fi
20370 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20371 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20372
20373
20374
20375 cat >>confdefs.h <<_ACEOF
20376 #define SIZEOF_INT $ac_cv_sizeof_int
20377 _ACEOF
20378
20379
20380 { echo "$as_me:$LINENO: checking for long" >&5
20381 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20382 if test "${ac_cv_type_long+set}" = set; then
20383 echo $ECHO_N "(cached) $ECHO_C" >&6
20384 else
20385 cat >conftest.$ac_ext <<_ACEOF
20386 /* confdefs.h. */
20387 _ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef long ac__type_new_;
20393 int
20394 main ()
20395 {
20396 if ((ac__type_new_ *) 0)
20397 return 0;
20398 if (sizeof (ac__type_new_))
20399 return 0;
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (ac_try="$ac_compile"
20406 case "(($ac_try" in
20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20408 *) ac_try_echo=$ac_try;;
20409 esac
20410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20411 (eval "$ac_compile") 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } && {
20418 test -z "$ac_c_werror_flag" ||
20419 test ! -s conftest.err
20420 } && test -s conftest.$ac_objext; then
20421 ac_cv_type_long=yes
20422 else
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20425
20426 ac_cv_type_long=no
20427 fi
20428
20429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20430 fi
20431 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20432 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20433
20434 # The cast to long int works around a bug in the HP C Compiler
20435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20437 # This bug is HP SR number 8606223364.
20438 { echo "$as_me:$LINENO: checking size of long" >&5
20439 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20440 if test "${ac_cv_sizeof_long+set}" = set; then
20441 echo $ECHO_N "(cached) $ECHO_C" >&6
20442 else
20443 if test "$cross_compiling" = yes; then
20444 # Depending upon the size, compute the lo and hi bounds.
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h. */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 typedef long ac__type_sizeof_;
20453 int
20454 main ()
20455 {
20456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20457 test_array [0] = 0
20458
20459 ;
20460 return 0;
20461 }
20462 _ACEOF
20463 rm -f conftest.$ac_objext
20464 if { (ac_try="$ac_compile"
20465 case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20468 esac
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_compile") 2>conftest.er1
20471 ac_status=$?
20472 grep -v '^ *+' conftest.er1 >conftest.err
20473 rm -f conftest.er1
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_c_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest.$ac_objext; then
20480 ac_lo=0 ac_mid=0
20481 while :; do
20482 cat >conftest.$ac_ext <<_ACEOF
20483 /* confdefs.h. */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 $ac_includes_default
20489 typedef long ac__type_sizeof_;
20490 int
20491 main ()
20492 {
20493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20494 test_array [0] = 0
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest.$ac_objext
20501 if { (ac_try="$ac_compile"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20505 esac
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_compile") 2>conftest.er1
20508 ac_status=$?
20509 grep -v '^ *+' conftest.er1 >conftest.err
20510 rm -f conftest.er1
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest.$ac_objext; then
20517 ac_hi=$ac_mid; break
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 ac_lo=`expr $ac_mid + 1`
20523 if test $ac_lo -le $ac_mid; then
20524 ac_lo= ac_hi=
20525 break
20526 fi
20527 ac_mid=`expr 2 '*' $ac_mid + 1`
20528 fi
20529
20530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20531 done
20532 else
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.$ac_ext >&5
20535
20536 cat >conftest.$ac_ext <<_ACEOF
20537 /* confdefs.h. */
20538 _ACEOF
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 $ac_includes_default
20543 typedef long ac__type_sizeof_;
20544 int
20545 main ()
20546 {
20547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20548 test_array [0] = 0
20549
20550 ;
20551 return 0;
20552 }
20553 _ACEOF
20554 rm -f conftest.$ac_objext
20555 if { (ac_try="$ac_compile"
20556 case "(($ac_try" in
20557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20558 *) ac_try_echo=$ac_try;;
20559 esac
20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_compile") 2>conftest.er1
20562 ac_status=$?
20563 grep -v '^ *+' conftest.er1 >conftest.err
20564 rm -f conftest.er1
20565 cat conftest.err >&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } && {
20568 test -z "$ac_c_werror_flag" ||
20569 test ! -s conftest.err
20570 } && test -s conftest.$ac_objext; then
20571 ac_hi=-1 ac_mid=-1
20572 while :; do
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h. */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 $ac_includes_default
20580 typedef long ac__type_sizeof_;
20581 int
20582 main ()
20583 {
20584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20585 test_array [0] = 0
20586
20587 ;
20588 return 0;
20589 }
20590 _ACEOF
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20596 esac
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20599 ac_status=$?
20600 grep -v '^ *+' conftest.er1 >conftest.err
20601 rm -f conftest.er1
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } && {
20605 test -z "$ac_c_werror_flag" ||
20606 test ! -s conftest.err
20607 } && test -s conftest.$ac_objext; then
20608 ac_lo=$ac_mid; break
20609 else
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20612
20613 ac_hi=`expr '(' $ac_mid ')' - 1`
20614 if test $ac_mid -le $ac_hi; then
20615 ac_lo= ac_hi=
20616 break
20617 fi
20618 ac_mid=`expr 2 '*' $ac_mid`
20619 fi
20620
20621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20622 done
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 ac_lo= ac_hi=
20628 fi
20629
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20631 fi
20632
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 # Binary search between lo and hi bounds.
20635 while test "x$ac_lo" != "x$ac_hi"; do
20636 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20637 cat >conftest.$ac_ext <<_ACEOF
20638 /* confdefs.h. */
20639 _ACEOF
20640 cat confdefs.h >>conftest.$ac_ext
20641 cat >>conftest.$ac_ext <<_ACEOF
20642 /* end confdefs.h. */
20643 $ac_includes_default
20644 typedef long ac__type_sizeof_;
20645 int
20646 main ()
20647 {
20648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20649 test_array [0] = 0
20650
20651 ;
20652 return 0;
20653 }
20654 _ACEOF
20655 rm -f conftest.$ac_objext
20656 if { (ac_try="$ac_compile"
20657 case "(($ac_try" in
20658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20659 *) ac_try_echo=$ac_try;;
20660 esac
20661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20662 (eval "$ac_compile") 2>conftest.er1
20663 ac_status=$?
20664 grep -v '^ *+' conftest.er1 >conftest.err
20665 rm -f conftest.er1
20666 cat conftest.err >&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); } && {
20669 test -z "$ac_c_werror_flag" ||
20670 test ! -s conftest.err
20671 } && test -s conftest.$ac_objext; then
20672 ac_hi=$ac_mid
20673 else
20674 echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20676
20677 ac_lo=`expr '(' $ac_mid ')' + 1`
20678 fi
20679
20680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681 done
20682 case $ac_lo in
20683 ?*) ac_cv_sizeof_long=$ac_lo;;
20684 '') if test "$ac_cv_type_long" = yes; then
20685 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20686 See \`config.log' for more details." >&5
20687 echo "$as_me: error: cannot compute sizeof (long)
20688 See \`config.log' for more details." >&2;}
20689 { (exit 77); exit 77; }; }
20690 else
20691 ac_cv_sizeof_long=0
20692 fi ;;
20693 esac
20694 else
20695 cat >conftest.$ac_ext <<_ACEOF
20696 /* confdefs.h. */
20697 _ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 $ac_includes_default
20702 typedef long ac__type_sizeof_;
20703 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20704 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20705 #include <stdio.h>
20706 #include <stdlib.h>
20707 int
20708 main ()
20709 {
20710
20711 FILE *f = fopen ("conftest.val", "w");
20712 if (! f)
20713 return 1;
20714 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20715 {
20716 long int i = longval ();
20717 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20718 return 1;
20719 fprintf (f, "%ld\n", i);
20720 }
20721 else
20722 {
20723 unsigned long int i = ulongval ();
20724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20725 return 1;
20726 fprintf (f, "%lu\n", i);
20727 }
20728 return ferror (f) || fclose (f) != 0;
20729
20730 ;
20731 return 0;
20732 }
20733 _ACEOF
20734 rm -f conftest$ac_exeext
20735 if { (ac_try="$ac_link"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20739 esac
20740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_link") 2>&5
20742 ac_status=$?
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20745 { (case "(($ac_try" in
20746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20747 *) ac_try_echo=$ac_try;;
20748 esac
20749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20750 (eval "$ac_try") 2>&5
20751 ac_status=$?
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_sizeof_long=`cat conftest.val`
20755 else
20756 echo "$as_me: program exited with status $ac_status" >&5
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20759
20760 ( exit $ac_status )
20761 if test "$ac_cv_type_long" = yes; then
20762 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20763 See \`config.log' for more details." >&5
20764 echo "$as_me: error: cannot compute sizeof (long)
20765 See \`config.log' for more details." >&2;}
20766 { (exit 77); exit 77; }; }
20767 else
20768 ac_cv_sizeof_long=0
20769 fi
20770 fi
20771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20772 fi
20773 rm -f conftest.val
20774 fi
20775 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20776 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20777
20778
20779
20780 cat >>confdefs.h <<_ACEOF
20781 #define SIZEOF_LONG $ac_cv_sizeof_long
20782 _ACEOF
20783
20784
20785 { echo "$as_me:$LINENO: checking for size_t" >&5
20786 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20787 if test "${ac_cv_type_size_t+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20789 else
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef size_t ac__type_new_;
20798 int
20799 main ()
20800 {
20801 if ((ac__type_new_ *) 0)
20802 return 0;
20803 if (sizeof (ac__type_new_))
20804 return 0;
20805 ;
20806 return 0;
20807 }
20808 _ACEOF
20809 rm -f conftest.$ac_objext
20810 if { (ac_try="$ac_compile"
20811 case "(($ac_try" in
20812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813 *) ac_try_echo=$ac_try;;
20814 esac
20815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816 (eval "$ac_compile") 2>conftest.er1
20817 ac_status=$?
20818 grep -v '^ *+' conftest.er1 >conftest.err
20819 rm -f conftest.er1
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } && {
20823 test -z "$ac_c_werror_flag" ||
20824 test ! -s conftest.err
20825 } && test -s conftest.$ac_objext; then
20826 ac_cv_type_size_t=yes
20827 else
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20830
20831 ac_cv_type_size_t=no
20832 fi
20833
20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835 fi
20836 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20837 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20838
20839 # The cast to long int works around a bug in the HP C Compiler
20840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20842 # This bug is HP SR number 8606223364.
20843 { echo "$as_me:$LINENO: checking size of size_t" >&5
20844 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20845 if test "${ac_cv_sizeof_size_t+set}" = set; then
20846 echo $ECHO_N "(cached) $ECHO_C" >&6
20847 else
20848 if test "$cross_compiling" = yes; then
20849 # Depending upon the size, compute the lo and hi bounds.
20850 cat >conftest.$ac_ext <<_ACEOF
20851 /* confdefs.h. */
20852 _ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 $ac_includes_default
20857 typedef size_t ac__type_sizeof_;
20858 int
20859 main ()
20860 {
20861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20862 test_array [0] = 0
20863
20864 ;
20865 return 0;
20866 }
20867 _ACEOF
20868 rm -f conftest.$ac_objext
20869 if { (ac_try="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20873 esac
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20876 ac_status=$?
20877 grep -v '^ *+' conftest.er1 >conftest.err
20878 rm -f conftest.er1
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } && {
20882 test -z "$ac_c_werror_flag" ||
20883 test ! -s conftest.err
20884 } && test -s conftest.$ac_objext; then
20885 ac_lo=0 ac_mid=0
20886 while :; do
20887 cat >conftest.$ac_ext <<_ACEOF
20888 /* confdefs.h. */
20889 _ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20893 $ac_includes_default
20894 typedef size_t ac__type_sizeof_;
20895 int
20896 main ()
20897 {
20898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20899 test_array [0] = 0
20900
20901 ;
20902 return 0;
20903 }
20904 _ACEOF
20905 rm -f conftest.$ac_objext
20906 if { (ac_try="$ac_compile"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20910 esac
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_compile") 2>conftest.er1
20913 ac_status=$?
20914 grep -v '^ *+' conftest.er1 >conftest.err
20915 rm -f conftest.er1
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest.$ac_objext; then
20922 ac_hi=$ac_mid; break
20923 else
20924 echo "$as_me: failed program was:" >&5
20925 sed 's/^/| /' conftest.$ac_ext >&5
20926
20927 ac_lo=`expr $ac_mid + 1`
20928 if test $ac_lo -le $ac_mid; then
20929 ac_lo= ac_hi=
20930 break
20931 fi
20932 ac_mid=`expr 2 '*' $ac_mid + 1`
20933 fi
20934
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20936 done
20937 else
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.$ac_ext >&5
20940
20941 cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h. */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 $ac_includes_default
20948 typedef size_t ac__type_sizeof_;
20949 int
20950 main ()
20951 {
20952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20953 test_array [0] = 0
20954
20955 ;
20956 return 0;
20957 }
20958 _ACEOF
20959 rm -f conftest.$ac_objext
20960 if { (ac_try="$ac_compile"
20961 case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20964 esac
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_compile") 2>conftest.er1
20967 ac_status=$?
20968 grep -v '^ *+' conftest.er1 >conftest.err
20969 rm -f conftest.er1
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } && {
20973 test -z "$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20975 } && test -s conftest.$ac_objext; then
20976 ac_hi=-1 ac_mid=-1
20977 while :; do
20978 cat >conftest.$ac_ext <<_ACEOF
20979 /* confdefs.h. */
20980 _ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20985 typedef size_t ac__type_sizeof_;
20986 int
20987 main ()
20988 {
20989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20990 test_array [0] = 0
20991
20992 ;
20993 return 0;
20994 }
20995 _ACEOF
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001 esac
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_lo=$ac_mid; break
21014 else
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21017
21018 ac_hi=`expr '(' $ac_mid ')' - 1`
21019 if test $ac_mid -le $ac_hi; then
21020 ac_lo= ac_hi=
21021 break
21022 fi
21023 ac_mid=`expr 2 '*' $ac_mid`
21024 fi
21025
21026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21027 done
21028 else
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21031
21032 ac_lo= ac_hi=
21033 fi
21034
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 fi
21037
21038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21039 # Binary search between lo and hi bounds.
21040 while test "x$ac_lo" != "x$ac_hi"; do
21041 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21042 cat >conftest.$ac_ext <<_ACEOF
21043 /* confdefs.h. */
21044 _ACEOF
21045 cat confdefs.h >>conftest.$ac_ext
21046 cat >>conftest.$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 $ac_includes_default
21049 typedef size_t ac__type_sizeof_;
21050 int
21051 main ()
21052 {
21053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21054 test_array [0] = 0
21055
21056 ;
21057 return 0;
21058 }
21059 _ACEOF
21060 rm -f conftest.$ac_objext
21061 if { (ac_try="$ac_compile"
21062 case "(($ac_try" in
21063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21064 *) ac_try_echo=$ac_try;;
21065 esac
21066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21067 (eval "$ac_compile") 2>conftest.er1
21068 ac_status=$?
21069 grep -v '^ *+' conftest.er1 >conftest.err
21070 rm -f conftest.er1
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } && {
21074 test -z "$ac_c_werror_flag" ||
21075 test ! -s conftest.err
21076 } && test -s conftest.$ac_objext; then
21077 ac_hi=$ac_mid
21078 else
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21081
21082 ac_lo=`expr '(' $ac_mid ')' + 1`
21083 fi
21084
21085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21086 done
21087 case $ac_lo in
21088 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21089 '') if test "$ac_cv_type_size_t" = yes; then
21090 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21091 See \`config.log' for more details." >&5
21092 echo "$as_me: error: cannot compute sizeof (size_t)
21093 See \`config.log' for more details." >&2;}
21094 { (exit 77); exit 77; }; }
21095 else
21096 ac_cv_sizeof_size_t=0
21097 fi ;;
21098 esac
21099 else
21100 cat >conftest.$ac_ext <<_ACEOF
21101 /* confdefs.h. */
21102 _ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef size_t ac__type_sizeof_;
21108 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21109 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21110 #include <stdio.h>
21111 #include <stdlib.h>
21112 int
21113 main ()
21114 {
21115
21116 FILE *f = fopen ("conftest.val", "w");
21117 if (! f)
21118 return 1;
21119 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21120 {
21121 long int i = longval ();
21122 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21123 return 1;
21124 fprintf (f, "%ld\n", i);
21125 }
21126 else
21127 {
21128 unsigned long int i = ulongval ();
21129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21130 return 1;
21131 fprintf (f, "%lu\n", i);
21132 }
21133 return ferror (f) || fclose (f) != 0;
21134
21135 ;
21136 return 0;
21137 }
21138 _ACEOF
21139 rm -f conftest$ac_exeext
21140 if { (ac_try="$ac_link"
21141 case "(($ac_try" in
21142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21143 *) ac_try_echo=$ac_try;;
21144 esac
21145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21146 (eval "$ac_link") 2>&5
21147 ac_status=$?
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21150 { (case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21153 esac
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_try") 2>&5
21156 ac_status=$?
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; }; then
21159 ac_cv_sizeof_size_t=`cat conftest.val`
21160 else
21161 echo "$as_me: program exited with status $ac_status" >&5
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21164
21165 ( exit $ac_status )
21166 if test "$ac_cv_type_size_t" = yes; then
21167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21168 See \`config.log' for more details." >&5
21169 echo "$as_me: error: cannot compute sizeof (size_t)
21170 See \`config.log' for more details." >&2;}
21171 { (exit 77); exit 77; }; }
21172 else
21173 ac_cv_sizeof_size_t=0
21174 fi
21175 fi
21176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21177 fi
21178 rm -f conftest.val
21179 fi
21180 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21181 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21182
21183
21184
21185 cat >>confdefs.h <<_ACEOF
21186 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21187 _ACEOF
21188
21189
21190
21191 case "${host}" in
21192 arm-*-linux* )
21193 { echo "$as_me:$LINENO: checking for long long" >&5
21194 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21195 if test "${ac_cv_type_long_long+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 else
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long long ac__type_new_;
21206 int
21207 main ()
21208 {
21209 if ((ac__type_new_ *) 0)
21210 return 0;
21211 if (sizeof (ac__type_new_))
21212 return 0;
21213 ;
21214 return 0;
21215 }
21216 _ACEOF
21217 rm -f conftest.$ac_objext
21218 if { (ac_try="$ac_compile"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21222 esac
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_compile") 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest.$ac_objext; then
21234 ac_cv_type_long_long=yes
21235 else
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21238
21239 ac_cv_type_long_long=no
21240 fi
21241
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 fi
21244 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21245 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21246
21247 # The cast to long int works around a bug in the HP C Compiler
21248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21250 # This bug is HP SR number 8606223364.
21251 { echo "$as_me:$LINENO: checking size of long long" >&5
21252 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21253 if test "${ac_cv_sizeof_long_long+set}" = set; then
21254 echo $ECHO_N "(cached) $ECHO_C" >&6
21255 else
21256 if test "$cross_compiling" = yes; then
21257 # Depending upon the size, compute the lo and hi bounds.
21258 cat >conftest.$ac_ext <<_ACEOF
21259 /* confdefs.h. */
21260 _ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 $ac_includes_default
21265 typedef long long ac__type_sizeof_;
21266 int
21267 main ()
21268 {
21269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21270 test_array [0] = 0
21271
21272 ;
21273 return 0;
21274 }
21275 _ACEOF
21276 rm -f conftest.$ac_objext
21277 if { (ac_try="$ac_compile"
21278 case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280 *) ac_try_echo=$ac_try;;
21281 esac
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_compile") 2>conftest.er1
21284 ac_status=$?
21285 grep -v '^ *+' conftest.er1 >conftest.err
21286 rm -f conftest.er1
21287 cat conftest.err >&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } && {
21290 test -z "$ac_c_werror_flag" ||
21291 test ! -s conftest.err
21292 } && test -s conftest.$ac_objext; then
21293 ac_lo=0 ac_mid=0
21294 while :; do
21295 cat >conftest.$ac_ext <<_ACEOF
21296 /* confdefs.h. */
21297 _ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 $ac_includes_default
21302 typedef long long ac__type_sizeof_;
21303 int
21304 main ()
21305 {
21306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21307 test_array [0] = 0
21308
21309 ;
21310 return 0;
21311 }
21312 _ACEOF
21313 rm -f conftest.$ac_objext
21314 if { (ac_try="$ac_compile"
21315 case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 *) ac_try_echo=$ac_try;;
21318 esac
21319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_compile") 2>conftest.er1
21321 ac_status=$?
21322 grep -v '^ *+' conftest.er1 >conftest.err
21323 rm -f conftest.er1
21324 cat conftest.err >&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } && {
21327 test -z "$ac_c_werror_flag" ||
21328 test ! -s conftest.err
21329 } && test -s conftest.$ac_objext; then
21330 ac_hi=$ac_mid; break
21331 else
21332 echo "$as_me: failed program was:" >&5
21333 sed 's/^/| /' conftest.$ac_ext >&5
21334
21335 ac_lo=`expr $ac_mid + 1`
21336 if test $ac_lo -le $ac_mid; then
21337 ac_lo= ac_hi=
21338 break
21339 fi
21340 ac_mid=`expr 2 '*' $ac_mid + 1`
21341 fi
21342
21343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21344 done
21345 else
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.$ac_ext >&5
21348
21349 cat >conftest.$ac_ext <<_ACEOF
21350 /* confdefs.h. */
21351 _ACEOF
21352 cat confdefs.h >>conftest.$ac_ext
21353 cat >>conftest.$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21355 $ac_includes_default
21356 typedef long long ac__type_sizeof_;
21357 int
21358 main ()
21359 {
21360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21361 test_array [0] = 0
21362
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 rm -f conftest.$ac_objext
21368 if { (ac_try="$ac_compile"
21369 case "(($ac_try" in
21370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21371 *) ac_try_echo=$ac_try;;
21372 esac
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_compile") 2>conftest.er1
21375 ac_status=$?
21376 grep -v '^ *+' conftest.er1 >conftest.err
21377 rm -f conftest.er1
21378 cat conftest.err >&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && {
21381 test -z "$ac_c_werror_flag" ||
21382 test ! -s conftest.err
21383 } && test -s conftest.$ac_objext; then
21384 ac_hi=-1 ac_mid=-1
21385 while :; do
21386 cat >conftest.$ac_ext <<_ACEOF
21387 /* confdefs.h. */
21388 _ACEOF
21389 cat confdefs.h >>conftest.$ac_ext
21390 cat >>conftest.$ac_ext <<_ACEOF
21391 /* end confdefs.h. */
21392 $ac_includes_default
21393 typedef long long ac__type_sizeof_;
21394 int
21395 main ()
21396 {
21397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21398 test_array [0] = 0
21399
21400 ;
21401 return 0;
21402 }
21403 _ACEOF
21404 rm -f conftest.$ac_objext
21405 if { (ac_try="$ac_compile"
21406 case "(($ac_try" in
21407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408 *) ac_try_echo=$ac_try;;
21409 esac
21410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_compile") 2>conftest.er1
21412 ac_status=$?
21413 grep -v '^ *+' conftest.er1 >conftest.err
21414 rm -f conftest.er1
21415 cat conftest.err >&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } && {
21418 test -z "$ac_c_werror_flag" ||
21419 test ! -s conftest.err
21420 } && test -s conftest.$ac_objext; then
21421 ac_lo=$ac_mid; break
21422 else
21423 echo "$as_me: failed program was:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21425
21426 ac_hi=`expr '(' $ac_mid ')' - 1`
21427 if test $ac_mid -le $ac_hi; then
21428 ac_lo= ac_hi=
21429 break
21430 fi
21431 ac_mid=`expr 2 '*' $ac_mid`
21432 fi
21433
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 done
21436 else
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21439
21440 ac_lo= ac_hi=
21441 fi
21442
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444 fi
21445
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 # Binary search between lo and hi bounds.
21448 while test "x$ac_lo" != "x$ac_hi"; do
21449 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21450 cat >conftest.$ac_ext <<_ACEOF
21451 /* confdefs.h. */
21452 _ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21456 $ac_includes_default
21457 typedef long long ac__type_sizeof_;
21458 int
21459 main ()
21460 {
21461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21462 test_array [0] = 0
21463
21464 ;
21465 return 0;
21466 }
21467 _ACEOF
21468 rm -f conftest.$ac_objext
21469 if { (ac_try="$ac_compile"
21470 case "(($ac_try" in
21471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21472 *) ac_try_echo=$ac_try;;
21473 esac
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_compile") 2>conftest.er1
21476 ac_status=$?
21477 grep -v '^ *+' conftest.er1 >conftest.err
21478 rm -f conftest.er1
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } && {
21482 test -z "$ac_c_werror_flag" ||
21483 test ! -s conftest.err
21484 } && test -s conftest.$ac_objext; then
21485 ac_hi=$ac_mid
21486 else
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.$ac_ext >&5
21489
21490 ac_lo=`expr '(' $ac_mid ')' + 1`
21491 fi
21492
21493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21494 done
21495 case $ac_lo in
21496 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21497 '') if test "$ac_cv_type_long_long" = yes; then
21498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21499 See \`config.log' for more details." >&5
21500 echo "$as_me: error: cannot compute sizeof (long long)
21501 See \`config.log' for more details." >&2;}
21502 { (exit 77); exit 77; }; }
21503 else
21504 ac_cv_sizeof_long_long=0
21505 fi ;;
21506 esac
21507 else
21508 cat >conftest.$ac_ext <<_ACEOF
21509 /* confdefs.h. */
21510 _ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 $ac_includes_default
21515 typedef long long ac__type_sizeof_;
21516 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21517 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21518 #include <stdio.h>
21519 #include <stdlib.h>
21520 int
21521 main ()
21522 {
21523
21524 FILE *f = fopen ("conftest.val", "w");
21525 if (! f)
21526 return 1;
21527 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21528 {
21529 long int i = longval ();
21530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21531 return 1;
21532 fprintf (f, "%ld\n", i);
21533 }
21534 else
21535 {
21536 unsigned long int i = ulongval ();
21537 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21538 return 1;
21539 fprintf (f, "%lu\n", i);
21540 }
21541 return ferror (f) || fclose (f) != 0;
21542
21543 ;
21544 return 0;
21545 }
21546 _ACEOF
21547 rm -f conftest$ac_exeext
21548 if { (ac_try="$ac_link"
21549 case "(($ac_try" in
21550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21551 *) ac_try_echo=$ac_try;;
21552 esac
21553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21554 (eval "$ac_link") 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21558 { (case "(($ac_try" in
21559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21560 *) ac_try_echo=$ac_try;;
21561 esac
21562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21563 (eval "$ac_try") 2>&5
21564 ac_status=$?
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; }; then
21567 ac_cv_sizeof_long_long=`cat conftest.val`
21568 else
21569 echo "$as_me: program exited with status $ac_status" >&5
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21572
21573 ( exit $ac_status )
21574 if test "$ac_cv_type_long_long" = yes; then
21575 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21576 See \`config.log' for more details." >&5
21577 echo "$as_me: error: cannot compute sizeof (long long)
21578 See \`config.log' for more details." >&2;}
21579 { (exit 77); exit 77; }; }
21580 else
21581 ac_cv_sizeof_long_long=0
21582 fi
21583 fi
21584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21585 fi
21586 rm -f conftest.val
21587 fi
21588 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21589 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21590
21591
21592
21593 cat >>confdefs.h <<_ACEOF
21594 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21595 _ACEOF
21596
21597
21598 ;;
21599 *-hp-hpux* )
21600 { echo "$as_me:$LINENO: checking for long long" >&5
21601 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21602 if test "${ac_cv_type_long_long+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 else
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_new_;
21613 int
21614 main ()
21615 {
21616 if ((ac__type_new_ *) 0)
21617 return 0;
21618 if (sizeof (ac__type_new_))
21619 return 0;
21620 ;
21621 return 0;
21622 }
21623 _ACEOF
21624 rm -f conftest.$ac_objext
21625 if { (ac_try="$ac_compile"
21626 case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21629 esac
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_compile") 2>conftest.er1
21632 ac_status=$?
21633 grep -v '^ *+' conftest.er1 >conftest.err
21634 rm -f conftest.er1
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && {
21638 test -z "$ac_c_werror_flag" ||
21639 test ! -s conftest.err
21640 } && test -s conftest.$ac_objext; then
21641 ac_cv_type_long_long=yes
21642 else
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.$ac_ext >&5
21645
21646 ac_cv_type_long_long=no
21647 fi
21648
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650 fi
21651 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21652 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21653
21654 # The cast to long int works around a bug in the HP C Compiler
21655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21657 # This bug is HP SR number 8606223364.
21658 { echo "$as_me:$LINENO: checking size of long long" >&5
21659 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21660 if test "${ac_cv_sizeof_long_long+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 else
21663 if test "$cross_compiling" = yes; then
21664 # Depending upon the size, compute the lo and hi bounds.
21665 cat >conftest.$ac_ext <<_ACEOF
21666 /* confdefs.h. */
21667 _ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21672 typedef long long ac__type_sizeof_;
21673 int
21674 main ()
21675 {
21676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21677 test_array [0] = 0
21678
21679 ;
21680 return 0;
21681 }
21682 _ACEOF
21683 rm -f conftest.$ac_objext
21684 if { (ac_try="$ac_compile"
21685 case "(($ac_try" in
21686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21687 *) ac_try_echo=$ac_try;;
21688 esac
21689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21690 (eval "$ac_compile") 2>conftest.er1
21691 ac_status=$?
21692 grep -v '^ *+' conftest.er1 >conftest.err
21693 rm -f conftest.er1
21694 cat conftest.err >&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } && {
21697 test -z "$ac_c_werror_flag" ||
21698 test ! -s conftest.err
21699 } && test -s conftest.$ac_objext; then
21700 ac_lo=0 ac_mid=0
21701 while :; do
21702 cat >conftest.$ac_ext <<_ACEOF
21703 /* confdefs.h. */
21704 _ACEOF
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21708 $ac_includes_default
21709 typedef long long ac__type_sizeof_;
21710 int
21711 main ()
21712 {
21713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21714 test_array [0] = 0
21715
21716 ;
21717 return 0;
21718 }
21719 _ACEOF
21720 rm -f conftest.$ac_objext
21721 if { (ac_try="$ac_compile"
21722 case "(($ac_try" in
21723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21724 *) ac_try_echo=$ac_try;;
21725 esac
21726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21727 (eval "$ac_compile") 2>conftest.er1
21728 ac_status=$?
21729 grep -v '^ *+' conftest.er1 >conftest.err
21730 rm -f conftest.er1
21731 cat conftest.err >&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } && {
21734 test -z "$ac_c_werror_flag" ||
21735 test ! -s conftest.err
21736 } && test -s conftest.$ac_objext; then
21737 ac_hi=$ac_mid; break
21738 else
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.$ac_ext >&5
21741
21742 ac_lo=`expr $ac_mid + 1`
21743 if test $ac_lo -le $ac_mid; then
21744 ac_lo= ac_hi=
21745 break
21746 fi
21747 ac_mid=`expr 2 '*' $ac_mid + 1`
21748 fi
21749
21750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751 done
21752 else
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.$ac_ext >&5
21755
21756 cat >conftest.$ac_ext <<_ACEOF
21757 /* confdefs.h. */
21758 _ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21763 typedef long long ac__type_sizeof_;
21764 int
21765 main ()
21766 {
21767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21768 test_array [0] = 0
21769
21770 ;
21771 return 0;
21772 }
21773 _ACEOF
21774 rm -f conftest.$ac_objext
21775 if { (ac_try="$ac_compile"
21776 case "(($ac_try" in
21777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21779 esac
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_compile") 2>conftest.er1
21782 ac_status=$?
21783 grep -v '^ *+' conftest.er1 >conftest.err
21784 rm -f conftest.er1
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } && {
21788 test -z "$ac_c_werror_flag" ||
21789 test ! -s conftest.err
21790 } && test -s conftest.$ac_objext; then
21791 ac_hi=-1 ac_mid=-1
21792 while :; do
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 $ac_includes_default
21800 typedef long long ac__type_sizeof_;
21801 int
21802 main ()
21803 {
21804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21805 test_array [0] = 0
21806
21807 ;
21808 return 0;
21809 }
21810 _ACEOF
21811 rm -f conftest.$ac_objext
21812 if { (ac_try="$ac_compile"
21813 case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21816 esac
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_compile") 2>conftest.er1
21819 ac_status=$?
21820 grep -v '^ *+' conftest.er1 >conftest.err
21821 rm -f conftest.er1
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && {
21825 test -z "$ac_c_werror_flag" ||
21826 test ! -s conftest.err
21827 } && test -s conftest.$ac_objext; then
21828 ac_lo=$ac_mid; break
21829 else
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.$ac_ext >&5
21832
21833 ac_hi=`expr '(' $ac_mid ')' - 1`
21834 if test $ac_mid -le $ac_hi; then
21835 ac_lo= ac_hi=
21836 break
21837 fi
21838 ac_mid=`expr 2 '*' $ac_mid`
21839 fi
21840
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21842 done
21843 else
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.$ac_ext >&5
21846
21847 ac_lo= ac_hi=
21848 fi
21849
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 fi
21852
21853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21854 # Binary search between lo and hi bounds.
21855 while test "x$ac_lo" != "x$ac_hi"; do
21856 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_sizeof_;
21865 int
21866 main ()
21867 {
21868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21869 test_array [0] = 0
21870
21871 ;
21872 return 0;
21873 }
21874 _ACEOF
21875 rm -f conftest.$ac_objext
21876 if { (ac_try="$ac_compile"
21877 case "(($ac_try" in
21878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21879 *) ac_try_echo=$ac_try;;
21880 esac
21881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21882 (eval "$ac_compile") 2>conftest.er1
21883 ac_status=$?
21884 grep -v '^ *+' conftest.er1 >conftest.err
21885 rm -f conftest.er1
21886 cat conftest.err >&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); } && {
21889 test -z "$ac_c_werror_flag" ||
21890 test ! -s conftest.err
21891 } && test -s conftest.$ac_objext; then
21892 ac_hi=$ac_mid
21893 else
21894 echo "$as_me: failed program was:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21896
21897 ac_lo=`expr '(' $ac_mid ')' + 1`
21898 fi
21899
21900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21901 done
21902 case $ac_lo in
21903 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21904 '') if test "$ac_cv_type_long_long" = yes; then
21905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21906 See \`config.log' for more details." >&5
21907 echo "$as_me: error: cannot compute sizeof (long long)
21908 See \`config.log' for more details." >&2;}
21909 { (exit 77); exit 77; }; }
21910 else
21911 ac_cv_sizeof_long_long=0
21912 fi ;;
21913 esac
21914 else
21915 cat >conftest.$ac_ext <<_ACEOF
21916 /* confdefs.h. */
21917 _ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21921 $ac_includes_default
21922 typedef long long ac__type_sizeof_;
21923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21925 #include <stdio.h>
21926 #include <stdlib.h>
21927 int
21928 main ()
21929 {
21930
21931 FILE *f = fopen ("conftest.val", "w");
21932 if (! f)
21933 return 1;
21934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21935 {
21936 long int i = longval ();
21937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21938 return 1;
21939 fprintf (f, "%ld\n", i);
21940 }
21941 else
21942 {
21943 unsigned long int i = ulongval ();
21944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21945 return 1;
21946 fprintf (f, "%lu\n", i);
21947 }
21948 return ferror (f) || fclose (f) != 0;
21949
21950 ;
21951 return 0;
21952 }
21953 _ACEOF
21954 rm -f conftest$ac_exeext
21955 if { (ac_try="$ac_link"
21956 case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21959 esac
21960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_link") 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21965 { (case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21968 esac
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_try") 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 ac_cv_sizeof_long_long=`cat conftest.val`
21975 else
21976 echo "$as_me: program exited with status $ac_status" >&5
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21979
21980 ( exit $ac_status )
21981 if test "$ac_cv_type_long_long" = yes; then
21982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21983 See \`config.log' for more details." >&5
21984 echo "$as_me: error: cannot compute sizeof (long long)
21985 See \`config.log' for more details." >&2;}
21986 { (exit 77); exit 77; }; }
21987 else
21988 ac_cv_sizeof_long_long=0
21989 fi
21990 fi
21991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21992 fi
21993 rm -f conftest.val
21994 fi
21995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21996 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21997
21998
21999
22000 cat >>confdefs.h <<_ACEOF
22001 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22002 _ACEOF
22003
22004
22005 if test "$ac_cv_sizeof_long_long" != 0; then
22006 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22007 fi
22008 ;;
22009 * )
22010 { echo "$as_me:$LINENO: checking for long long" >&5
22011 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22012 if test "${ac_cv_type_long_long+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 else
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef long long ac__type_new_;
22023 int
22024 main ()
22025 {
22026 if ((ac__type_new_ *) 0)
22027 return 0;
22028 if (sizeof (ac__type_new_))
22029 return 0;
22030 ;
22031 return 0;
22032 }
22033 _ACEOF
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22039 esac
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22042 ac_status=$?
22043 grep -v '^ *+' conftest.er1 >conftest.err
22044 rm -f conftest.er1
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && {
22048 test -z "$ac_c_werror_flag" ||
22049 test ! -s conftest.err
22050 } && test -s conftest.$ac_objext; then
22051 ac_cv_type_long_long=yes
22052 else
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22055
22056 ac_cv_type_long_long=no
22057 fi
22058
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 fi
22061 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22062 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22063
22064 # The cast to long int works around a bug in the HP C Compiler
22065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22067 # This bug is HP SR number 8606223364.
22068 { echo "$as_me:$LINENO: checking size of long long" >&5
22069 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22070 if test "${ac_cv_sizeof_long_long+set}" = set; then
22071 echo $ECHO_N "(cached) $ECHO_C" >&6
22072 else
22073 if test "$cross_compiling" = yes; then
22074 # Depending upon the size, compute the lo and hi bounds.
22075 cat >conftest.$ac_ext <<_ACEOF
22076 /* confdefs.h. */
22077 _ACEOF
22078 cat confdefs.h >>conftest.$ac_ext
22079 cat >>conftest.$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081 $ac_includes_default
22082 typedef long long ac__type_sizeof_;
22083 int
22084 main ()
22085 {
22086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22087 test_array [0] = 0
22088
22089 ;
22090 return 0;
22091 }
22092 _ACEOF
22093 rm -f conftest.$ac_objext
22094 if { (ac_try="$ac_compile"
22095 case "(($ac_try" in
22096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22097 *) ac_try_echo=$ac_try;;
22098 esac
22099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22100 (eval "$ac_compile") 2>conftest.er1
22101 ac_status=$?
22102 grep -v '^ *+' conftest.er1 >conftest.err
22103 rm -f conftest.er1
22104 cat conftest.err >&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } && {
22107 test -z "$ac_c_werror_flag" ||
22108 test ! -s conftest.err
22109 } && test -s conftest.$ac_objext; then
22110 ac_lo=0 ac_mid=0
22111 while :; do
22112 cat >conftest.$ac_ext <<_ACEOF
22113 /* confdefs.h. */
22114 _ACEOF
22115 cat confdefs.h >>conftest.$ac_ext
22116 cat >>conftest.$ac_ext <<_ACEOF
22117 /* end confdefs.h. */
22118 $ac_includes_default
22119 typedef long long ac__type_sizeof_;
22120 int
22121 main ()
22122 {
22123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22124 test_array [0] = 0
22125
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 rm -f conftest.$ac_objext
22131 if { (ac_try="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22135 esac
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22138 ac_status=$?
22139 grep -v '^ *+' conftest.er1 >conftest.err
22140 rm -f conftest.er1
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.$ac_objext; then
22147 ac_hi=$ac_mid; break
22148 else
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 ac_lo=`expr $ac_mid + 1`
22153 if test $ac_lo -le $ac_mid; then
22154 ac_lo= ac_hi=
22155 break
22156 fi
22157 ac_mid=`expr 2 '*' $ac_mid + 1`
22158 fi
22159
22160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161 done
22162 else
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.$ac_ext >&5
22165
22166 cat >conftest.$ac_ext <<_ACEOF
22167 /* confdefs.h. */
22168 _ACEOF
22169 cat confdefs.h >>conftest.$ac_ext
22170 cat >>conftest.$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22172 $ac_includes_default
22173 typedef long long ac__type_sizeof_;
22174 int
22175 main ()
22176 {
22177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22178 test_array [0] = 0
22179
22180 ;
22181 return 0;
22182 }
22183 _ACEOF
22184 rm -f conftest.$ac_objext
22185 if { (ac_try="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22188 *) ac_try_echo=$ac_try;;
22189 esac
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22192 ac_status=$?
22193 grep -v '^ *+' conftest.er1 >conftest.err
22194 rm -f conftest.er1
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && {
22198 test -z "$ac_c_werror_flag" ||
22199 test ! -s conftest.err
22200 } && test -s conftest.$ac_objext; then
22201 ac_hi=-1 ac_mid=-1
22202 while :; do
22203 cat >conftest.$ac_ext <<_ACEOF
22204 /* confdefs.h. */
22205 _ACEOF
22206 cat confdefs.h >>conftest.$ac_ext
22207 cat >>conftest.$ac_ext <<_ACEOF
22208 /* end confdefs.h. */
22209 $ac_includes_default
22210 typedef long long ac__type_sizeof_;
22211 int
22212 main ()
22213 {
22214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22215 test_array [0] = 0
22216
22217 ;
22218 return 0;
22219 }
22220 _ACEOF
22221 rm -f conftest.$ac_objext
22222 if { (ac_try="$ac_compile"
22223 case "(($ac_try" in
22224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22225 *) ac_try_echo=$ac_try;;
22226 esac
22227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22228 (eval "$ac_compile") 2>conftest.er1
22229 ac_status=$?
22230 grep -v '^ *+' conftest.er1 >conftest.err
22231 rm -f conftest.er1
22232 cat conftest.err >&5
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); } && {
22235 test -z "$ac_c_werror_flag" ||
22236 test ! -s conftest.err
22237 } && test -s conftest.$ac_objext; then
22238 ac_lo=$ac_mid; break
22239 else
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22242
22243 ac_hi=`expr '(' $ac_mid ')' - 1`
22244 if test $ac_mid -le $ac_hi; then
22245 ac_lo= ac_hi=
22246 break
22247 fi
22248 ac_mid=`expr 2 '*' $ac_mid`
22249 fi
22250
22251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22252 done
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 ac_lo= ac_hi=
22258 fi
22259
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261 fi
22262
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 # Binary search between lo and hi bounds.
22265 while test "x$ac_lo" != "x$ac_hi"; do
22266 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22267 cat >conftest.$ac_ext <<_ACEOF
22268 /* confdefs.h. */
22269 _ACEOF
22270 cat confdefs.h >>conftest.$ac_ext
22271 cat >>conftest.$ac_ext <<_ACEOF
22272 /* end confdefs.h. */
22273 $ac_includes_default
22274 typedef long long ac__type_sizeof_;
22275 int
22276 main ()
22277 {
22278 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22279 test_array [0] = 0
22280
22281 ;
22282 return 0;
22283 }
22284 _ACEOF
22285 rm -f conftest.$ac_objext
22286 if { (ac_try="$ac_compile"
22287 case "(($ac_try" in
22288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22290 esac
22291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_compile") 2>conftest.er1
22293 ac_status=$?
22294 grep -v '^ *+' conftest.er1 >conftest.err
22295 rm -f conftest.er1
22296 cat conftest.err >&5
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); } && {
22299 test -z "$ac_c_werror_flag" ||
22300 test ! -s conftest.err
22301 } && test -s conftest.$ac_objext; then
22302 ac_hi=$ac_mid
22303 else
22304 echo "$as_me: failed program was:" >&5
22305 sed 's/^/| /' conftest.$ac_ext >&5
22306
22307 ac_lo=`expr '(' $ac_mid ')' + 1`
22308 fi
22309
22310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22311 done
22312 case $ac_lo in
22313 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22314 '') if test "$ac_cv_type_long_long" = yes; then
22315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22316 See \`config.log' for more details." >&5
22317 echo "$as_me: error: cannot compute sizeof (long long)
22318 See \`config.log' for more details." >&2;}
22319 { (exit 77); exit 77; }; }
22320 else
22321 ac_cv_sizeof_long_long=0
22322 fi ;;
22323 esac
22324 else
22325 cat >conftest.$ac_ext <<_ACEOF
22326 /* confdefs.h. */
22327 _ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22331 $ac_includes_default
22332 typedef long long ac__type_sizeof_;
22333 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22334 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22335 #include <stdio.h>
22336 #include <stdlib.h>
22337 int
22338 main ()
22339 {
22340
22341 FILE *f = fopen ("conftest.val", "w");
22342 if (! f)
22343 return 1;
22344 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22345 {
22346 long int i = longval ();
22347 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22348 return 1;
22349 fprintf (f, "%ld\n", i);
22350 }
22351 else
22352 {
22353 unsigned long int i = ulongval ();
22354 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22355 return 1;
22356 fprintf (f, "%lu\n", i);
22357 }
22358 return ferror (f) || fclose (f) != 0;
22359
22360 ;
22361 return 0;
22362 }
22363 _ACEOF
22364 rm -f conftest$ac_exeext
22365 if { (ac_try="$ac_link"
22366 case "(($ac_try" in
22367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22369 esac
22370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_link") 2>&5
22372 ac_status=$?
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22375 { (case "(($ac_try" in
22376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22377 *) ac_try_echo=$ac_try;;
22378 esac
22379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22380 (eval "$ac_try") 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; }; then
22384 ac_cv_sizeof_long_long=`cat conftest.val`
22385 else
22386 echo "$as_me: program exited with status $ac_status" >&5
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22389
22390 ( exit $ac_status )
22391 if test "$ac_cv_type_long_long" = yes; then
22392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22393 See \`config.log' for more details." >&5
22394 echo "$as_me: error: cannot compute sizeof (long long)
22395 See \`config.log' for more details." >&2;}
22396 { (exit 77); exit 77; }; }
22397 else
22398 ac_cv_sizeof_long_long=0
22399 fi
22400 fi
22401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22402 fi
22403 rm -f conftest.val
22404 fi
22405 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22406 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22407
22408
22409
22410 cat >>confdefs.h <<_ACEOF
22411 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22412 _ACEOF
22413
22414
22415 esac
22416
22417 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22418 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22419 if test "${ac_cv_type_wchar_t+set}" = set; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22421 else
22422 cat >conftest.$ac_ext <<_ACEOF
22423 /* confdefs.h. */
22424 _ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428
22429 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22430 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22431 # error "fake wchar_t"
22432 #endif
22433 #ifdef HAVE_WCHAR_H
22434 # ifdef __CYGWIN__
22435 # include <stddef.h>
22436 # endif
22437 # include <wchar.h>
22438 #endif
22439 #ifdef HAVE_STDLIB_H
22440 # include <stdlib.h>
22441 #endif
22442 #include <stdio.h>
22443
22444
22445
22446 typedef wchar_t ac__type_new_;
22447 int
22448 main ()
22449 {
22450 if ((ac__type_new_ *) 0)
22451 return 0;
22452 if (sizeof (ac__type_new_))
22453 return 0;
22454 ;
22455 return 0;
22456 }
22457 _ACEOF
22458 rm -f conftest.$ac_objext
22459 if { (ac_try="$ac_compile"
22460 case "(($ac_try" in
22461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22462 *) ac_try_echo=$ac_try;;
22463 esac
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_compile") 2>conftest.er1
22466 ac_status=$?
22467 grep -v '^ *+' conftest.er1 >conftest.err
22468 rm -f conftest.er1
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } && {
22472 test -z "$ac_c_werror_flag" ||
22473 test ! -s conftest.err
22474 } && test -s conftest.$ac_objext; then
22475 ac_cv_type_wchar_t=yes
22476 else
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 ac_cv_type_wchar_t=no
22481 fi
22482
22483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22484 fi
22485 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22486 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22487
22488 # The cast to long int works around a bug in the HP C Compiler
22489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22491 # This bug is HP SR number 8606223364.
22492 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22493 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22494 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22495 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 else
22497 if test "$cross_compiling" = yes; then
22498 # Depending upon the size, compute the lo and hi bounds.
22499 cat >conftest.$ac_ext <<_ACEOF
22500 /* confdefs.h. */
22501 _ACEOF
22502 cat confdefs.h >>conftest.$ac_ext
22503 cat >>conftest.$ac_ext <<_ACEOF
22504 /* end confdefs.h. */
22505
22506 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22507 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22508 # error "fake wchar_t"
22509 #endif
22510 #ifdef HAVE_WCHAR_H
22511 # ifdef __CYGWIN__
22512 # include <stddef.h>
22513 # endif
22514 # include <wchar.h>
22515 #endif
22516 #ifdef HAVE_STDLIB_H
22517 # include <stdlib.h>
22518 #endif
22519 #include <stdio.h>
22520
22521
22522
22523 typedef wchar_t ac__type_sizeof_;
22524 int
22525 main ()
22526 {
22527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22528 test_array [0] = 0
22529
22530 ;
22531 return 0;
22532 }
22533 _ACEOF
22534 rm -f conftest.$ac_objext
22535 if { (ac_try="$ac_compile"
22536 case "(($ac_try" in
22537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22538 *) ac_try_echo=$ac_try;;
22539 esac
22540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22541 (eval "$ac_compile") 2>conftest.er1
22542 ac_status=$?
22543 grep -v '^ *+' conftest.er1 >conftest.err
22544 rm -f conftest.er1
22545 cat conftest.err >&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); } && {
22548 test -z "$ac_c_werror_flag" ||
22549 test ! -s conftest.err
22550 } && test -s conftest.$ac_objext; then
22551 ac_lo=0 ac_mid=0
22552 while :; do
22553 cat >conftest.$ac_ext <<_ACEOF
22554 /* confdefs.h. */
22555 _ACEOF
22556 cat confdefs.h >>conftest.$ac_ext
22557 cat >>conftest.$ac_ext <<_ACEOF
22558 /* end confdefs.h. */
22559
22560 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22561 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22562 # error "fake wchar_t"
22563 #endif
22564 #ifdef HAVE_WCHAR_H
22565 # ifdef __CYGWIN__
22566 # include <stddef.h>
22567 # endif
22568 # include <wchar.h>
22569 #endif
22570 #ifdef HAVE_STDLIB_H
22571 # include <stdlib.h>
22572 #endif
22573 #include <stdio.h>
22574
22575
22576
22577 typedef wchar_t ac__type_sizeof_;
22578 int
22579 main ()
22580 {
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22582 test_array [0] = 0
22583
22584 ;
22585 return 0;
22586 }
22587 _ACEOF
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22593 esac
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22596 ac_status=$?
22597 grep -v '^ *+' conftest.er1 >conftest.err
22598 rm -f conftest.er1
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22605 ac_hi=$ac_mid; break
22606 else
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22609
22610 ac_lo=`expr $ac_mid + 1`
22611 if test $ac_lo -le $ac_mid; then
22612 ac_lo= ac_hi=
22613 break
22614 fi
22615 ac_mid=`expr 2 '*' $ac_mid + 1`
22616 fi
22617
22618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619 done
22620 else
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.$ac_ext >&5
22623
22624 cat >conftest.$ac_ext <<_ACEOF
22625 /* confdefs.h. */
22626 _ACEOF
22627 cat confdefs.h >>conftest.$ac_ext
22628 cat >>conftest.$ac_ext <<_ACEOF
22629 /* end confdefs.h. */
22630
22631 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22632 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22633 # error "fake wchar_t"
22634 #endif
22635 #ifdef HAVE_WCHAR_H
22636 # ifdef __CYGWIN__
22637 # include <stddef.h>
22638 # endif
22639 # include <wchar.h>
22640 #endif
22641 #ifdef HAVE_STDLIB_H
22642 # include <stdlib.h>
22643 #endif
22644 #include <stdio.h>
22645
22646
22647
22648 typedef wchar_t ac__type_sizeof_;
22649 int
22650 main ()
22651 {
22652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22653 test_array [0] = 0
22654
22655 ;
22656 return 0;
22657 }
22658 _ACEOF
22659 rm -f conftest.$ac_objext
22660 if { (ac_try="$ac_compile"
22661 case "(($ac_try" in
22662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22663 *) ac_try_echo=$ac_try;;
22664 esac
22665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22666 (eval "$ac_compile") 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } && {
22673 test -z "$ac_c_werror_flag" ||
22674 test ! -s conftest.err
22675 } && test -s conftest.$ac_objext; then
22676 ac_hi=-1 ac_mid=-1
22677 while :; do
22678 cat >conftest.$ac_ext <<_ACEOF
22679 /* confdefs.h. */
22680 _ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684
22685 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22686 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22687 # error "fake wchar_t"
22688 #endif
22689 #ifdef HAVE_WCHAR_H
22690 # ifdef __CYGWIN__
22691 # include <stddef.h>
22692 # endif
22693 # include <wchar.h>
22694 #endif
22695 #ifdef HAVE_STDLIB_H
22696 # include <stdlib.h>
22697 #endif
22698 #include <stdio.h>
22699
22700
22701
22702 typedef wchar_t ac__type_sizeof_;
22703 int
22704 main ()
22705 {
22706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22707 test_array [0] = 0
22708
22709 ;
22710 return 0;
22711 }
22712 _ACEOF
22713 rm -f conftest.$ac_objext
22714 if { (ac_try="$ac_compile"
22715 case "(($ac_try" in
22716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22717 *) ac_try_echo=$ac_try;;
22718 esac
22719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22720 (eval "$ac_compile") 2>conftest.er1
22721 ac_status=$?
22722 grep -v '^ *+' conftest.er1 >conftest.err
22723 rm -f conftest.er1
22724 cat conftest.err >&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } && {
22727 test -z "$ac_c_werror_flag" ||
22728 test ! -s conftest.err
22729 } && test -s conftest.$ac_objext; then
22730 ac_lo=$ac_mid; break
22731 else
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.$ac_ext >&5
22734
22735 ac_hi=`expr '(' $ac_mid ')' - 1`
22736 if test $ac_mid -le $ac_hi; then
22737 ac_lo= ac_hi=
22738 break
22739 fi
22740 ac_mid=`expr 2 '*' $ac_mid`
22741 fi
22742
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 done
22745 else
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22748
22749 ac_lo= ac_hi=
22750 fi
22751
22752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22753 fi
22754
22755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22756 # Binary search between lo and hi bounds.
22757 while test "x$ac_lo" != "x$ac_hi"; do
22758 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22759 cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h. */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765
22766 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22767 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22768 # error "fake wchar_t"
22769 #endif
22770 #ifdef HAVE_WCHAR_H
22771 # ifdef __CYGWIN__
22772 # include <stddef.h>
22773 # endif
22774 # include <wchar.h>
22775 #endif
22776 #ifdef HAVE_STDLIB_H
22777 # include <stdlib.h>
22778 #endif
22779 #include <stdio.h>
22780
22781
22782
22783 typedef wchar_t ac__type_sizeof_;
22784 int
22785 main ()
22786 {
22787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22788 test_array [0] = 0
22789
22790 ;
22791 return 0;
22792 }
22793 _ACEOF
22794 rm -f conftest.$ac_objext
22795 if { (ac_try="$ac_compile"
22796 case "(($ac_try" in
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22799 esac
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_compile") 2>conftest.er1
22802 ac_status=$?
22803 grep -v '^ *+' conftest.er1 >conftest.err
22804 rm -f conftest.er1
22805 cat conftest.err >&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } && {
22808 test -z "$ac_c_werror_flag" ||
22809 test ! -s conftest.err
22810 } && test -s conftest.$ac_objext; then
22811 ac_hi=$ac_mid
22812 else
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.$ac_ext >&5
22815
22816 ac_lo=`expr '(' $ac_mid ')' + 1`
22817 fi
22818
22819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22820 done
22821 case $ac_lo in
22822 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22823 '') if test "$ac_cv_type_wchar_t" = yes; then
22824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22825 See \`config.log' for more details." >&5
22826 echo "$as_me: error: cannot compute sizeof (wchar_t)
22827 See \`config.log' for more details." >&2;}
22828 { (exit 77); exit 77; }; }
22829 else
22830 ac_cv_sizeof_wchar_t=0
22831 fi ;;
22832 esac
22833 else
22834 cat >conftest.$ac_ext <<_ACEOF
22835 /* confdefs.h. */
22836 _ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840
22841 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22842 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22843 # error "fake wchar_t"
22844 #endif
22845 #ifdef HAVE_WCHAR_H
22846 # ifdef __CYGWIN__
22847 # include <stddef.h>
22848 # endif
22849 # include <wchar.h>
22850 #endif
22851 #ifdef HAVE_STDLIB_H
22852 # include <stdlib.h>
22853 #endif
22854 #include <stdio.h>
22855
22856
22857
22858 typedef wchar_t ac__type_sizeof_;
22859 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22860 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22861 #include <stdio.h>
22862 #include <stdlib.h>
22863 int
22864 main ()
22865 {
22866
22867 FILE *f = fopen ("conftest.val", "w");
22868 if (! f)
22869 return 1;
22870 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22871 {
22872 long int i = longval ();
22873 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22874 return 1;
22875 fprintf (f, "%ld\n", i);
22876 }
22877 else
22878 {
22879 unsigned long int i = ulongval ();
22880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22881 return 1;
22882 fprintf (f, "%lu\n", i);
22883 }
22884 return ferror (f) || fclose (f) != 0;
22885
22886 ;
22887 return 0;
22888 }
22889 _ACEOF
22890 rm -f conftest$ac_exeext
22891 if { (ac_try="$ac_link"
22892 case "(($ac_try" in
22893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22895 esac
22896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_link") 2>&5
22898 ac_status=$?
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22901 { (case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22904 esac
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_try") 2>&5
22907 ac_status=$?
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 ac_cv_sizeof_wchar_t=`cat conftest.val`
22911 else
22912 echo "$as_me: program exited with status $ac_status" >&5
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22915
22916 ( exit $ac_status )
22917 if test "$ac_cv_type_wchar_t" = yes; then
22918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22919 See \`config.log' for more details." >&5
22920 echo "$as_me: error: cannot compute sizeof (wchar_t)
22921 See \`config.log' for more details." >&2;}
22922 { (exit 77); exit 77; }; }
22923 else
22924 ac_cv_sizeof_wchar_t=0
22925 fi
22926 fi
22927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22928 fi
22929 rm -f conftest.val
22930 fi
22931 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22932 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22933
22934
22935
22936 cat >>confdefs.h <<_ACEOF
22937 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22938 _ACEOF
22939
22940
22941 if test "$ac_cv_sizeof_wchar_t" != 0; then
22942 wxUSE_WCHAR_T=yes
22943 else
22944 wxUSE_WCHAR_T=no
22945 fi
22946
22947 { echo "$as_me:$LINENO: checking for va_copy" >&5
22948 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22949 if test "${wx_cv_func_va_copy+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22951 else
22952
22953 ac_ext=cpp
22954 ac_cpp='$CXXCPP $CPPFLAGS'
22955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22958
22959 cat >conftest.$ac_ext <<_ACEOF
22960
22961 #include <stdarg.h>
22962 void foo(char *f, ...)
22963 {
22964 va_list ap1, ap2;
22965 va_start(ap1, f);
22966 va_copy(ap2, ap1);
22967 va_end(ap2);
22968 va_end(ap1);
22969 }
22970 int main()
22971 {
22972 foo("hi", 17);
22973 return 0;
22974 }
22975 _ACEOF
22976 rm -f conftest.$ac_objext conftest$ac_exeext
22977 if { (ac_try="$ac_link"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22981 esac
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_link") 2>conftest.er1
22984 ac_status=$?
22985 grep -v '^ *+' conftest.er1 >conftest.err
22986 rm -f conftest.er1
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest$ac_exeext &&
22993 $as_test_x conftest$ac_exeext; then
22994 wx_cv_func_va_copy=yes
22995 else
22996 echo "$as_me: failed program was:" >&5
22997 sed 's/^/| /' conftest.$ac_ext >&5
22998
22999 wx_cv_func_va_copy=no
23000
23001 fi
23002
23003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23004 conftest$ac_exeext conftest.$ac_ext
23005 ac_ext=c
23006 ac_cpp='$CPP $CPPFLAGS'
23007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23010
23011
23012
23013 fi
23014 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23015 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23016
23017 if test $wx_cv_func_va_copy = "yes"; then
23018 cat >>confdefs.h <<\_ACEOF
23019 #define HAVE_VA_COPY 1
23020 _ACEOF
23021
23022 else
23023 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23024 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23025 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 else
23028
23029 if test "$cross_compiling" = yes; then
23030 wx_cv_type_va_list_lvalue=yes
23031
23032 else
23033 cat >conftest.$ac_ext <<_ACEOF
23034
23035 #include <stdarg.h>
23036 int foo(char *f, ...)
23037 {
23038 va_list ap1, ap2;
23039 va_start(ap1, f);
23040 ap2 = ap1;
23041 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23042 return 1;
23043 va_end(ap2);
23044 va_end(ap1);
23045 return 0;
23046 }
23047 int main()
23048 {
23049 return foo("hi", 17);
23050 }
23051 _ACEOF
23052 rm -f conftest$ac_exeext
23053 if { (ac_try="$ac_link"
23054 case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23057 esac
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_link") 2>&5
23060 ac_status=$?
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23063 { (case "(($ac_try" in
23064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23065 *) ac_try_echo=$ac_try;;
23066 esac
23067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23068 (eval "$ac_try") 2>&5
23069 ac_status=$?
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 wx_cv_type_va_list_lvalue=yes
23073 else
23074 echo "$as_me: program exited with status $ac_status" >&5
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ( exit $ac_status )
23079 wx_cv_type_va_list_lvalue=no
23080 fi
23081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23082 fi
23083
23084
23085
23086
23087 fi
23088 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23089 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23090
23091 if test $wx_cv_type_va_list_lvalue != "yes"; then
23092 cat >>confdefs.h <<\_ACEOF
23093 #define VA_LIST_IS_ARRAY 1
23094 _ACEOF
23095
23096 fi
23097 fi
23098
23099 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23100
23101 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23102 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23103 if test "${wx_cv_have_variadic_macros+set}" = set; then
23104 echo $ECHO_N "(cached) $ECHO_C" >&6
23105 else
23106
23107 ac_ext=cpp
23108 ac_cpp='$CXXCPP $CPPFLAGS'
23109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23112
23113 cat >conftest.$ac_ext <<_ACEOF
23114 /* confdefs.h. */
23115 _ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119
23120 #include <stdio.h>
23121 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23122
23123 int
23124 main ()
23125 {
23126
23127 test("%s %d %p", "test", 1, 0);
23128
23129
23130 ;
23131 return 0;
23132 }
23133 _ACEOF
23134 rm -f conftest.$ac_objext
23135 if { (ac_try="$ac_compile"
23136 case "(($ac_try" in
23137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23138 *) ac_try_echo=$ac_try;;
23139 esac
23140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23141 (eval "$ac_compile") 2>conftest.er1
23142 ac_status=$?
23143 grep -v '^ *+' conftest.er1 >conftest.err
23144 rm -f conftest.er1
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } && {
23148 test -z "$ac_cxx_werror_flag" ||
23149 test ! -s conftest.err
23150 } && test -s conftest.$ac_objext; then
23151 wx_cv_have_variadic_macros=yes
23152 else
23153 echo "$as_me: failed program was:" >&5
23154 sed 's/^/| /' conftest.$ac_ext >&5
23155
23156 wx_cv_have_variadic_macros=no
23157
23158 fi
23159
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 ac_ext=c
23162 ac_cpp='$CPP $CPPFLAGS'
23163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23166
23167
23168
23169 fi
23170 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23171 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23172
23173 if test $wx_cv_have_variadic_macros = "yes"; then
23174 cat >>confdefs.h <<\_ACEOF
23175 #define HAVE_VARIADIC_MACROS 1
23176 _ACEOF
23177
23178 fi
23179
23180 fi
23181 # Check whether --enable-largefile was given.
23182 if test "${enable_largefile+set}" = set; then
23183 enableval=$enable_largefile;
23184 fi
23185
23186 if test "$enable_largefile" != no; then
23187 wx_largefile=no
23188
23189 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23190 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23191 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 else
23194
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 #define _FILE_OFFSET_BITS 64
23202 #include <sys/types.h>
23203 int
23204 main ()
23205 {
23206 typedef struct {
23207 unsigned int field: sizeof(off_t) == 8;
23208 } wxlf;
23209
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23219 esac
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_c_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 ac_cv_sys_file_offset_bits=64
23232 else
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 ac_cv_sys_file_offset_bits=no
23237 fi
23238
23239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240
23241
23242 fi
23243 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23244 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23245
23246 if test "$ac_cv_sys_file_offset_bits" != no; then
23247 wx_largefile=yes
23248 cat >>confdefs.h <<_ACEOF
23249 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23250 _ACEOF
23251
23252 fi
23253
23254 if test "x$wx_largefile" != "xyes"; then
23255
23256 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23257 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23258 if test "${ac_cv_sys_large_files+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23260 else
23261
23262 cat >conftest.$ac_ext <<_ACEOF
23263 /* confdefs.h. */
23264 _ACEOF
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 #define _LARGE_FILES 1
23269 #include <sys/types.h>
23270 int
23271 main ()
23272 {
23273 typedef struct {
23274 unsigned int field: sizeof(off_t) == 8;
23275 } wxlf;
23276
23277 ;
23278 return 0;
23279 }
23280 _ACEOF
23281 rm -f conftest.$ac_objext
23282 if { (ac_try="$ac_compile"
23283 case "(($ac_try" in
23284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23285 *) ac_try_echo=$ac_try;;
23286 esac
23287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23288 (eval "$ac_compile") 2>conftest.er1
23289 ac_status=$?
23290 grep -v '^ *+' conftest.er1 >conftest.err
23291 rm -f conftest.er1
23292 cat conftest.err >&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } && {
23295 test -z "$ac_c_werror_flag" ||
23296 test ! -s conftest.err
23297 } && test -s conftest.$ac_objext; then
23298 ac_cv_sys_large_files=1
23299 else
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5
23302
23303 ac_cv_sys_large_files=no
23304 fi
23305
23306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23307
23308
23309 fi
23310 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23311 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23312
23313 if test "$ac_cv_sys_large_files" != no; then
23314 wx_largefile=yes
23315 cat >>confdefs.h <<_ACEOF
23316 #define _LARGE_FILES $ac_cv_sys_large_files
23317 _ACEOF
23318
23319 fi
23320
23321 fi
23322
23323 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23324 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23325 if test "x$wx_largefile" = "xyes"; then
23326 cat >>confdefs.h <<\_ACEOF
23327 #define HAVE_LARGEFILE_SUPPORT 1
23328 _ACEOF
23329
23330 fi
23331 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23332 echo "${ECHO_T}$wx_largefile" >&6; }
23333 fi
23334
23335
23336 if test "x$wx_largefile" = "xyes"; then
23337 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23339
23340 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23341 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23342 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23343 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23345 else
23346
23347 ac_ext=cpp
23348 ac_cpp='$CXXCPP $CPPFLAGS'
23349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23352
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359
23360 int
23361 main ()
23362 {
23363
23364 #ifndef __STDC_EXT__
23365 choke me
23366 #endif
23367
23368 ;
23369 return 0;
23370 }
23371 _ACEOF
23372 rm -f conftest.$ac_objext
23373 if { (ac_try="$ac_compile"
23374 case "(($ac_try" in
23375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376 *) ac_try_echo=$ac_try;;
23377 esac
23378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379 (eval "$ac_compile") 2>conftest.er1
23380 ac_status=$?
23381 grep -v '^ *+' conftest.er1 >conftest.err
23382 rm -f conftest.er1
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } && {
23386 test -z "$ac_cxx_werror_flag" ||
23387 test ! -s conftest.err
23388 } && test -s conftest.$ac_objext; then
23389 wx_cv_STDC_EXT_required=no
23390 else
23391 echo "$as_me: failed program was:" >&5
23392 sed 's/^/| /' conftest.$ac_ext >&5
23393
23394 wx_cv_STDC_EXT_required=yes
23395
23396 fi
23397
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23399 ac_ext=c
23400 ac_cpp='$CPP $CPPFLAGS'
23401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23404
23405
23406
23407 fi
23408 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23409 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23410 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23411 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23412 fi
23413 fi
23414 else
23415 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23416 fi
23417 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23418 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23419 if test "${ac_cv_sys_largefile_source+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23421 else
23422 while :; do
23423 cat >conftest.$ac_ext <<_ACEOF
23424 /* confdefs.h. */
23425 _ACEOF
23426 cat confdefs.h >>conftest.$ac_ext
23427 cat >>conftest.$ac_ext <<_ACEOF
23428 /* end confdefs.h. */
23429 #include <sys/types.h> /* for off_t */
23430 #include <stdio.h>
23431 int
23432 main ()
23433 {
23434 int (*fp) (FILE *, off_t, int) = fseeko;
23435 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23436 ;
23437 return 0;
23438 }
23439 _ACEOF
23440 rm -f conftest.$ac_objext conftest$ac_exeext
23441 if { (ac_try="$ac_link"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23444 *) ac_try_echo=$ac_try;;
23445 esac
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_link") 2>conftest.er1
23448 ac_status=$?
23449 grep -v '^ *+' conftest.er1 >conftest.err
23450 rm -f conftest.er1
23451 cat conftest.err >&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest$ac_exeext &&
23457 $as_test_x conftest$ac_exeext; then
23458 ac_cv_sys_largefile_source=no; break
23459 else
23460 echo "$as_me: failed program was:" >&5
23461 sed 's/^/| /' conftest.$ac_ext >&5
23462
23463
23464 fi
23465
23466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23467 conftest$ac_exeext conftest.$ac_ext
23468 cat >conftest.$ac_ext <<_ACEOF
23469 /* confdefs.h. */
23470 _ACEOF
23471 cat confdefs.h >>conftest.$ac_ext
23472 cat >>conftest.$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23474 #define _LARGEFILE_SOURCE 1
23475 #include <sys/types.h> /* for off_t */
23476 #include <stdio.h>
23477 int
23478 main ()
23479 {
23480 int (*fp) (FILE *, off_t, int) = fseeko;
23481 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23482 ;
23483 return 0;
23484 }
23485 _ACEOF
23486 rm -f conftest.$ac_objext conftest$ac_exeext
23487 if { (ac_try="$ac_link"
23488 case "(($ac_try" in
23489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23490 *) ac_try_echo=$ac_try;;
23491 esac
23492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23493 (eval "$ac_link") 2>conftest.er1
23494 ac_status=$?
23495 grep -v '^ *+' conftest.er1 >conftest.err
23496 rm -f conftest.er1
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && {
23500 test -z "$ac_c_werror_flag" ||
23501 test ! -s conftest.err
23502 } && test -s conftest$ac_exeext &&
23503 $as_test_x conftest$ac_exeext; then
23504 ac_cv_sys_largefile_source=1; break
23505 else
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23508
23509
23510 fi
23511
23512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23513 conftest$ac_exeext conftest.$ac_ext
23514 ac_cv_sys_largefile_source=unknown
23515 break
23516 done
23517 fi
23518 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23519 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23520 case $ac_cv_sys_largefile_source in #(
23521 no | unknown) ;;
23522 *)
23523 cat >>confdefs.h <<_ACEOF
23524 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23525 _ACEOF
23526 ;;
23527 esac
23528 rm -f conftest*
23529
23530 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23531 # in glibc 2.1.3, but that breaks too many other things.
23532 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23533 if test $ac_cv_sys_largefile_source != unknown; then
23534
23535 cat >>confdefs.h <<\_ACEOF
23536 #define HAVE_FSEEKO 1
23537 _ACEOF
23538
23539 fi
23540
23541 if test "$ac_cv_sys_largefile_source" != no; then
23542 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23543 fi
23544 fi
23545
23546 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23547 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23548 if test "${ac_cv_c_bigendian+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23550 else
23551 ac_cv_c_bigendian=unknown
23552 # See if sys/param.h defines the BYTE_ORDER macro.
23553 cat >conftest.$ac_ext <<_ACEOF
23554 /* confdefs.h. */
23555 _ACEOF
23556 cat confdefs.h >>conftest.$ac_ext
23557 cat >>conftest.$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 #include <sys/types.h>
23560 #include <sys/param.h>
23561 int
23562 main ()
23563 {
23564
23565 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23566 bogus endian macros
23567 #endif
23568 ;
23569 return 0;
23570 }
23571 _ACEOF
23572 rm -f conftest.$ac_objext
23573 if { (ac_try="$ac_compile"
23574 case "(($ac_try" in
23575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23576 *) ac_try_echo=$ac_try;;
23577 esac
23578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23579 (eval "$ac_compile") 2>conftest.er1
23580 ac_status=$?
23581 grep -v '^ *+' conftest.er1 >conftest.err
23582 rm -f conftest.er1
23583 cat conftest.err >&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } && {
23586 test -z "$ac_c_werror_flag" ||
23587 test ! -s conftest.err
23588 } && test -s conftest.$ac_objext; then
23589 # It does; now see whether it defined to BIG_ENDIAN or not.
23590 cat >conftest.$ac_ext <<_ACEOF
23591 /* confdefs.h. */
23592 _ACEOF
23593 cat confdefs.h >>conftest.$ac_ext
23594 cat >>conftest.$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23596 #include <sys/types.h>
23597 #include <sys/param.h>
23598 int
23599 main ()
23600 {
23601
23602 #if BYTE_ORDER != BIG_ENDIAN
23603 not big endian
23604 #endif
23605 ;
23606 return 0;
23607 }
23608 _ACEOF
23609 rm -f conftest.$ac_objext
23610 if { (ac_try="$ac_compile"
23611 case "(($ac_try" in
23612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23613 *) ac_try_echo=$ac_try;;
23614 esac
23615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23616 (eval "$ac_compile") 2>conftest.er1
23617 ac_status=$?
23618 grep -v '^ *+' conftest.er1 >conftest.err
23619 rm -f conftest.er1
23620 cat conftest.err >&5
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); } && {
23623 test -z "$ac_c_werror_flag" ||
23624 test ! -s conftest.err
23625 } && test -s conftest.$ac_objext; then
23626 ac_cv_c_bigendian=yes
23627 else
23628 echo "$as_me: failed program was:" >&5
23629 sed 's/^/| /' conftest.$ac_ext >&5
23630
23631 ac_cv_c_bigendian=no
23632 fi
23633
23634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23635 else
23636 echo "$as_me: failed program was:" >&5
23637 sed 's/^/| /' conftest.$ac_ext >&5
23638
23639
23640 fi
23641
23642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23643 if test $ac_cv_c_bigendian = unknown; then
23644 if test "$cross_compiling" = yes; then
23645 ac_cv_c_bigendian=unknown
23646 else
23647 cat >conftest.$ac_ext <<_ACEOF
23648 /* confdefs.h. */
23649 _ACEOF
23650 cat confdefs.h >>conftest.$ac_ext
23651 cat >>conftest.$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23653 main () {
23654 /* Are we little or big endian? From Harbison&Steele. */
23655 union
23656 {
23657 long l;
23658 char c[sizeof (long)];
23659 } u;
23660 u.l = 1;
23661 exit (u.c[sizeof (long) - 1] == 1);
23662 }
23663 _ACEOF
23664 rm -f conftest$ac_exeext
23665 if { (ac_try="$ac_link"
23666 case "(($ac_try" in
23667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23668 *) ac_try_echo=$ac_try;;
23669 esac
23670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23671 (eval "$ac_link") 2>&5
23672 ac_status=$?
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23675 { (case "(($ac_try" in
23676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23677 *) ac_try_echo=$ac_try;;
23678 esac
23679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23680 (eval "$ac_try") 2>&5
23681 ac_status=$?
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); }; }; then
23684 ac_cv_c_bigendian=no
23685 else
23686 echo "$as_me: program exited with status $ac_status" >&5
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.$ac_ext >&5
23689
23690 ( exit $ac_status )
23691 ac_cv_c_bigendian=yes
23692 fi
23693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23694 fi
23695
23696
23697 fi
23698 fi
23699 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23700 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23701 if test $ac_cv_c_bigendian = unknown; then
23702 { 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
23703 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;}
23704 fi
23705 if test $ac_cv_c_bigendian = yes; then
23706 cat >>confdefs.h <<\_ACEOF
23707 #define WORDS_BIGENDIAN 1
23708 _ACEOF
23709
23710 fi
23711
23712
23713
23714
23715 ac_ext=cpp
23716 ac_cpp='$CXXCPP $CPPFLAGS'
23717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23720
23721
23722
23723 for ac_header in iostream
23724 do
23725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23730 else
23731 cat >conftest.$ac_ext <<_ACEOF
23732 /* confdefs.h. */
23733 _ACEOF
23734 cat confdefs.h >>conftest.$ac_ext
23735 cat >>conftest.$ac_ext <<_ACEOF
23736 /* end confdefs.h. */
23737
23738
23739 #include <$ac_header>
23740 _ACEOF
23741 rm -f conftest.$ac_objext
23742 if { (ac_try="$ac_compile"
23743 case "(($ac_try" in
23744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23745 *) ac_try_echo=$ac_try;;
23746 esac
23747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23748 (eval "$ac_compile") 2>conftest.er1
23749 ac_status=$?
23750 grep -v '^ *+' conftest.er1 >conftest.err
23751 rm -f conftest.er1
23752 cat conftest.err >&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } && {
23755 test -z "$ac_cxx_werror_flag" ||
23756 test ! -s conftest.err
23757 } && test -s conftest.$ac_objext; then
23758 eval "$as_ac_Header=yes"
23759 else
23760 echo "$as_me: failed program was:" >&5
23761 sed 's/^/| /' conftest.$ac_ext >&5
23762
23763 eval "$as_ac_Header=no"
23764 fi
23765
23766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23767 fi
23768 ac_res=`eval echo '${'$as_ac_Header'}'`
23769 { echo "$as_me:$LINENO: result: $ac_res" >&5
23770 echo "${ECHO_T}$ac_res" >&6; }
23771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23772 cat >>confdefs.h <<_ACEOF
23773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23774 _ACEOF
23775
23776 fi
23777
23778 done
23779
23780
23781 if test "$ac_cv_header_iostream" = "yes" ; then
23782 :
23783 else
23784 cat >>confdefs.h <<\_ACEOF
23785 #define wxUSE_IOSTREAMH 1
23786 _ACEOF
23787
23788 fi
23789
23790 ac_ext=c
23791 ac_cpp='$CPP $CPPFLAGS'
23792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23795
23796
23797
23798
23799 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23800 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23801 if test "${wx_cv_cpp_bool+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804
23805
23806 ac_ext=cpp
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811
23812
23813 cat >conftest.$ac_ext <<_ACEOF
23814 /* confdefs.h. */
23815 _ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23819
23820
23821 int
23822 main ()
23823 {
23824
23825 bool b = true;
23826
23827 return 0;
23828
23829 ;
23830 return 0;
23831 }
23832 _ACEOF
23833 rm -f conftest.$ac_objext
23834 if { (ac_try="$ac_compile"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23838 esac
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_compile") 2>conftest.er1
23841 ac_status=$?
23842 grep -v '^ *+' conftest.er1 >conftest.err
23843 rm -f conftest.er1
23844 cat conftest.err >&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_cxx_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest.$ac_objext; then
23850
23851 wx_cv_cpp_bool=yes
23852
23853 else
23854 echo "$as_me: failed program was:" >&5
23855 sed 's/^/| /' conftest.$ac_ext >&5
23856
23857
23858 wx_cv_cpp_bool=no
23859
23860
23861 fi
23862
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864
23865 ac_ext=c
23866 ac_cpp='$CPP $CPPFLAGS'
23867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23870
23871
23872 fi
23873 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23874 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23875
23876 if test "$wx_cv_cpp_bool" = "yes"; then
23877 cat >>confdefs.h <<\_ACEOF
23878 #define HAVE_BOOL 1
23879 _ACEOF
23880
23881 fi
23882
23883
23884
23885 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23886 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23887 if test "${wx_cv_explicit+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 else
23890
23891
23892 ac_ext=cpp
23893 ac_cpp='$CXXCPP $CPPFLAGS'
23894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23897
23898
23899 cat >conftest.$ac_ext <<_ACEOF
23900 /* confdefs.h. */
23901 _ACEOF
23902 cat confdefs.h >>conftest.$ac_ext
23903 cat >>conftest.$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23905
23906 class Foo { public: explicit Foo(int) {} };
23907
23908 int
23909 main ()
23910 {
23911
23912 return 0;
23913
23914 ;
23915 return 0;
23916 }
23917 _ACEOF
23918 rm -f conftest.$ac_objext
23919 if { (ac_try="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23923 esac
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23926 ac_status=$?
23927 grep -v '^ *+' conftest.er1 >conftest.err
23928 rm -f conftest.er1
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_cxx_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23935
23936 cat >conftest.$ac_ext <<_ACEOF
23937 /* confdefs.h. */
23938 _ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942
23943 class Foo { public: explicit Foo(int) {} };
23944 static void TakeFoo(const Foo& foo) { }
23945
23946 int
23947 main ()
23948 {
23949
23950 TakeFoo(17);
23951 return 0;
23952
23953 ;
23954 return 0;
23955 }
23956 _ACEOF
23957 rm -f conftest.$ac_objext
23958 if { (ac_try="$ac_compile"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23962 esac
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_compile") 2>conftest.er1
23965 ac_status=$?
23966 grep -v '^ *+' conftest.er1 >conftest.err
23967 rm -f conftest.er1
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_cxx_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest.$ac_objext; then
23974 wx_cv_explicit=no
23975 else
23976 echo "$as_me: failed program was:" >&5
23977 sed 's/^/| /' conftest.$ac_ext >&5
23978
23979 wx_cv_explicit=yes
23980
23981 fi
23982
23983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23984
23985 else
23986 echo "$as_me: failed program was:" >&5
23987 sed 's/^/| /' conftest.$ac_ext >&5
23988
23989 wx_cv_explicit=no
23990
23991 fi
23992
23993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23994
23995 ac_ext=c
23996 ac_cpp='$CPP $CPPFLAGS'
23997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24000
24001
24002 fi
24003 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24004 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24005
24006 if test "$wx_cv_explicit" = "yes"; then
24007 cat >>confdefs.h <<\_ACEOF
24008 #define HAVE_EXPLICIT 1
24009 _ACEOF
24010
24011 fi
24012
24013
24014 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24015 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24016 if test "${ac_cv_cxx_const_cast+set}" = set; then
24017 echo $ECHO_N "(cached) $ECHO_C" >&6
24018 else
24019
24020 ac_ext=cpp
24021 ac_cpp='$CXXCPP $CPPFLAGS'
24022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24025
24026 cat >conftest.$ac_ext <<_ACEOF
24027 /* confdefs.h. */
24028 _ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032
24033 int
24034 main ()
24035 {
24036 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
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_cxx_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.$ac_objext; then
24058 ac_cv_cxx_const_cast=yes
24059 else
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.$ac_ext >&5
24062
24063 ac_cv_cxx_const_cast=no
24064 fi
24065
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_ext=c
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24072
24073
24074 fi
24075 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24076 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24077 if test "$ac_cv_cxx_const_cast" = yes; then
24078
24079 cat >>confdefs.h <<\_ACEOF
24080 #define HAVE_CONST_CAST
24081 _ACEOF
24082
24083 fi
24084
24085 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24086 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24087 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 else
24090
24091 ac_ext=cpp
24092 ac_cpp='$CXXCPP $CPPFLAGS'
24093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24096
24097 cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h. */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 #include <typeinfo>
24104 class Base { public : Base () {} virtual void f () = 0;};
24105 class Derived : public Base { public : Derived () {} virtual void f () {} };
24106 class Unrelated { public : Unrelated () {} };
24107 int g (Unrelated&) { return 0; }
24108 int
24109 main ()
24110 {
24111
24112 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24113 ;
24114 return 0;
24115 }
24116 _ACEOF
24117 rm -f conftest.$ac_objext
24118 if { (ac_try="$ac_compile"
24119 case "(($ac_try" in
24120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24121 *) ac_try_echo=$ac_try;;
24122 esac
24123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24124 (eval "$ac_compile") 2>conftest.er1
24125 ac_status=$?
24126 grep -v '^ *+' conftest.er1 >conftest.err
24127 rm -f conftest.er1
24128 cat conftest.err >&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } && {
24131 test -z "$ac_cxx_werror_flag" ||
24132 test ! -s conftest.err
24133 } && test -s conftest.$ac_objext; then
24134 ac_cv_cxx_reinterpret_cast=yes
24135 else
24136 echo "$as_me: failed program was:" >&5
24137 sed 's/^/| /' conftest.$ac_ext >&5
24138
24139 ac_cv_cxx_reinterpret_cast=no
24140 fi
24141
24142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143 ac_ext=c
24144 ac_cpp='$CPP $CPPFLAGS'
24145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24148
24149
24150 fi
24151 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24152 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24153 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24154
24155 cat >>confdefs.h <<\_ACEOF
24156 #define HAVE_REINTERPRET_CAST
24157 _ACEOF
24158
24159 fi
24160
24161 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24162 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24163 if test "${ac_cv_cxx_static_cast+set}" = set; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24165 else
24166
24167 ac_ext=cpp
24168 ac_cpp='$CXXCPP $CPPFLAGS'
24169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24172
24173 cat >conftest.$ac_ext <<_ACEOF
24174 /* confdefs.h. */
24175 _ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24179 #include <typeinfo>
24180 class Base { public : Base () {} virtual void f () = 0; };
24181 class Derived : public Base { public : Derived () {} virtual void f () {} };
24182 int g (Derived&) { return 0; }
24183 int
24184 main ()
24185 {
24186
24187 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24188 ;
24189 return 0;
24190 }
24191 _ACEOF
24192 rm -f conftest.$ac_objext
24193 if { (ac_try="$ac_compile"
24194 case "(($ac_try" in
24195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24196 *) ac_try_echo=$ac_try;;
24197 esac
24198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24199 (eval "$ac_compile") 2>conftest.er1
24200 ac_status=$?
24201 grep -v '^ *+' conftest.er1 >conftest.err
24202 rm -f conftest.er1
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } && {
24206 test -z "$ac_cxx_werror_flag" ||
24207 test ! -s conftest.err
24208 } && test -s conftest.$ac_objext; then
24209 ac_cv_cxx_static_cast=yes
24210 else
24211 echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24213
24214 ac_cv_cxx_static_cast=no
24215 fi
24216
24217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24218 ac_ext=c
24219 ac_cpp='$CPP $CPPFLAGS'
24220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24223
24224
24225 fi
24226 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24227 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24228 if test "$ac_cv_cxx_static_cast" = yes; then
24229
24230 cat >>confdefs.h <<\_ACEOF
24231 #define HAVE_STATIC_CAST
24232 _ACEOF
24233
24234 fi
24235
24236
24237 if test "x$SUNCXX" = xyes; then
24238 CXXFLAGS="-features=tmplife $CXXFLAGS"
24239 fi
24240
24241 if test "x$SUNCC" = xyes; then
24242 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24243 fi
24244
24245 if test "x$SGICC" = "xyes"; then
24246 CFLAGS="-woff 3970 $CFLAGS"
24247 fi
24248 if test "x$SGICXX" = "xyes"; then
24249 CXXFLAGS="-woff 3970 $CXXFLAGS"
24250 fi
24251
24252 if test "x$HPCC" = "xyes"; then
24253 CFLAGS="+W 2011,2450 $CFLAGS"
24254 fi
24255 if test "x$HPCXX" = "xyes"; then
24256 CXXFLAGS="+W 2340 $CXXFLAGS"
24257 fi
24258
24259 if test "x$COMPAQCXX" = "xyes"; then
24260 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24261 fi
24262
24263 ac_ext=cpp
24264 ac_cpp='$CXXCPP $CPPFLAGS'
24265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24268
24269
24270 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24271 if test "$wxUSE_UNICODE" = "yes"; then
24272 std_string="std::wstring"
24273 char_type="wchar_t"
24274 else
24275 std_string="std::string"
24276 char_type="char"
24277 fi
24278
24279 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24280 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24281 if test "${wx_cv_class_stdstring+set}" = set; then
24282 echo $ECHO_N "(cached) $ECHO_C" >&6
24283 else
24284
24285 cat >conftest.$ac_ext <<_ACEOF
24286 /* confdefs.h. */
24287 _ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24291 #include <string>
24292 int
24293 main ()
24294 {
24295 $std_string foo;
24296 ;
24297 return 0;
24298 }
24299 _ACEOF
24300 rm -f conftest.$ac_objext
24301 if { (ac_try="$ac_compile"
24302 case "(($ac_try" in
24303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24304 *) ac_try_echo=$ac_try;;
24305 esac
24306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24307 (eval "$ac_compile") 2>conftest.er1
24308 ac_status=$?
24309 grep -v '^ *+' conftest.er1 >conftest.err
24310 rm -f conftest.er1
24311 cat conftest.err >&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } && {
24314 test -z "$ac_cxx_werror_flag" ||
24315 test ! -s conftest.err
24316 } && test -s conftest.$ac_objext; then
24317 wx_cv_class_stdstring=yes
24318 else
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24321
24322 wx_cv_class_stdstring=no
24323
24324 fi
24325
24326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24327
24328
24329 fi
24330 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24331 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24332
24333 if test "$wx_cv_class_stdstring" = yes; then
24334 if test "$wxUSE_UNICODE" = "yes"; then
24335 cat >>confdefs.h <<\_ACEOF
24336 #define HAVE_STD_WSTRING 1
24337 _ACEOF
24338
24339 fi
24340 else
24341 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24342 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24343 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24344 echo $ECHO_N "(cached) $ECHO_C" >&6
24345 else
24346
24347 cat >conftest.$ac_ext <<_ACEOF
24348 /* confdefs.h. */
24349 _ACEOF
24350 cat confdefs.h >>conftest.$ac_ext
24351 cat >>conftest.$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24353
24354 #ifdef HAVE_WCHAR_H
24355 # ifdef __CYGWIN__
24356 # include <stddef.h>
24357 # endif
24358 # include <wchar.h>
24359 #endif
24360 #ifdef HAVE_STDLIB_H
24361 # include <stdlib.h>
24362 #endif
24363 #include <stdio.h>
24364 #include <string>
24365
24366 int
24367 main ()
24368 {
24369 std::basic_string<$char_type> foo;
24370 const $char_type* dummy = foo.c_str();
24371 ;
24372 return 0;
24373 }
24374 _ACEOF
24375 rm -f conftest.$ac_objext
24376 if { (ac_try="$ac_compile"
24377 case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24380 esac
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_compile") 2>conftest.er1
24383 ac_status=$?
24384 grep -v '^ *+' conftest.er1 >conftest.err
24385 rm -f conftest.er1
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } && {
24389 test -z "$ac_cxx_werror_flag" ||
24390 test ! -s conftest.err
24391 } && test -s conftest.$ac_objext; then
24392 wx_cv_class_stdbasicstring=yes
24393 else
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24396
24397 wx_cv_class_stdbasicstring=no
24398
24399 fi
24400
24401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24402
24403
24404 fi
24405 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24406 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24407
24408 if test "$wx_cv_class_stdbasicstring" != yes; then
24409 if test "$wxUSE_STL" = "yes"; then
24410 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24411 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24412 { (exit 1); exit 1; }; }
24413 elif test "$wxUSE_STD_STRING" = "yes"; then
24414 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24415 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24416 { (exit 1); exit 1; }; }
24417 else
24418 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24419 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24420 wxUSE_STD_STRING=no
24421 fi
24422 fi
24423 fi
24424 fi
24425
24426 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24427 { echo "$as_me:$LINENO: checking for std::istream" >&5
24428 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24429 if test "${ac_cv_type_std__istream+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24431 else
24432 cat >conftest.$ac_ext <<_ACEOF
24433 /* confdefs.h. */
24434 _ACEOF
24435 cat confdefs.h >>conftest.$ac_ext
24436 cat >>conftest.$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 #include <iostream>
24439
24440 typedef std::istream ac__type_new_;
24441 int
24442 main ()
24443 {
24444 if ((ac__type_new_ *) 0)
24445 return 0;
24446 if (sizeof (ac__type_new_))
24447 return 0;
24448 ;
24449 return 0;
24450 }
24451 _ACEOF
24452 rm -f conftest.$ac_objext
24453 if { (ac_try="$ac_compile"
24454 case "(($ac_try" in
24455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24456 *) ac_try_echo=$ac_try;;
24457 esac
24458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24459 (eval "$ac_compile") 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } && {
24466 test -z "$ac_cxx_werror_flag" ||
24467 test ! -s conftest.err
24468 } && test -s conftest.$ac_objext; then
24469 ac_cv_type_std__istream=yes
24470 else
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 ac_cv_type_std__istream=no
24475 fi
24476
24477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24478 fi
24479 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24480 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24481 if test $ac_cv_type_std__istream = yes; then
24482
24483 cat >>confdefs.h <<_ACEOF
24484 #define HAVE_STD__ISTREAM 1
24485 _ACEOF
24486
24487
24488 else
24489 wxUSE_STD_IOSTREAM=no
24490 fi
24491 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24492 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24493 if test "${ac_cv_type_std__ostream+set}" = set; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24495 else
24496 cat >conftest.$ac_ext <<_ACEOF
24497 /* confdefs.h. */
24498 _ACEOF
24499 cat confdefs.h >>conftest.$ac_ext
24500 cat >>conftest.$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24502 #include <iostream>
24503
24504 typedef std::ostream ac__type_new_;
24505 int
24506 main ()
24507 {
24508 if ((ac__type_new_ *) 0)
24509 return 0;
24510 if (sizeof (ac__type_new_))
24511 return 0;
24512 ;
24513 return 0;
24514 }
24515 _ACEOF
24516 rm -f conftest.$ac_objext
24517 if { (ac_try="$ac_compile"
24518 case "(($ac_try" in
24519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24520 *) ac_try_echo=$ac_try;;
24521 esac
24522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24523 (eval "$ac_compile") 2>conftest.er1
24524 ac_status=$?
24525 grep -v '^ *+' conftest.er1 >conftest.err
24526 rm -f conftest.er1
24527 cat conftest.err >&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } && {
24530 test -z "$ac_cxx_werror_flag" ||
24531 test ! -s conftest.err
24532 } && test -s conftest.$ac_objext; then
24533 ac_cv_type_std__ostream=yes
24534 else
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.$ac_ext >&5
24537
24538 ac_cv_type_std__ostream=no
24539 fi
24540
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542 fi
24543 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24544 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24545 if test $ac_cv_type_std__ostream = yes; then
24546
24547 cat >>confdefs.h <<_ACEOF
24548 #define HAVE_STD__OSTREAM 1
24549 _ACEOF
24550
24551
24552 else
24553 wxUSE_STD_IOSTREAM=no
24554 fi
24555
24556
24557 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24558 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24559 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24560 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24561 { (exit 1); exit 1; }; }
24562 else
24563 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24564 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24565 fi
24566 fi
24567 fi
24568
24569 if test "$wxUSE_STL" = "yes"; then
24570 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24571 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24572 if test "${wx_cv_lib_stl+set}" = set; then
24573 echo $ECHO_N "(cached) $ECHO_C" >&6
24574 else
24575 cat >conftest.$ac_ext <<_ACEOF
24576 /* confdefs.h. */
24577 _ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 #include <string>
24582 #include <functional>
24583 #include <algorithm>
24584 #include <vector>
24585 #include <list>
24586 int
24587 main ()
24588 {
24589 std::vector<int> moo;
24590 std::list<int> foo;
24591 std::vector<int>::iterator it =
24592 std::find_if(moo.begin(), moo.end(),
24593 std::bind2nd(std::less<int>(), 3));
24594 ;
24595 return 0;
24596 }
24597 _ACEOF
24598 rm -f conftest.$ac_objext
24599 if { (ac_try="$ac_compile"
24600 case "(($ac_try" in
24601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24602 *) ac_try_echo=$ac_try;;
24603 esac
24604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24605 (eval "$ac_compile") 2>conftest.er1
24606 ac_status=$?
24607 grep -v '^ *+' conftest.er1 >conftest.err
24608 rm -f conftest.er1
24609 cat conftest.err >&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); } && {
24612 test -z "$ac_cxx_werror_flag" ||
24613 test ! -s conftest.err
24614 } && test -s conftest.$ac_objext; then
24615 wx_cv_lib_stl=yes
24616 else
24617 echo "$as_me: failed program was:" >&5
24618 sed 's/^/| /' conftest.$ac_ext >&5
24619
24620 wx_cv_lib_stl=no
24621
24622 fi
24623
24624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24625
24626 fi
24627 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24628 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24629
24630 if test "$wx_cv_lib_stl" != yes; then
24631 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24632 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24633 { (exit 1); exit 1; }; }
24634 fi
24635
24636 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24637 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24638 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24639 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 else
24641 cat >conftest.$ac_ext <<_ACEOF
24642 /* confdefs.h. */
24643 _ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24647 #include <string>
24648 int
24649 main ()
24650 {
24651 std::string foo, bar;
24652 foo.compare(bar);
24653 foo.compare(1, 1, bar);
24654 foo.compare(1, 1, bar, 1, 1);
24655 foo.compare("");
24656 foo.compare(1, 1, "");
24657 foo.compare(1, 1, "", 2);
24658 ;
24659 return 0;
24660 }
24661 _ACEOF
24662 rm -f conftest.$ac_objext
24663 if { (ac_try="$ac_compile"
24664 case "(($ac_try" in
24665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24666 *) ac_try_echo=$ac_try;;
24667 esac
24668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24669 (eval "$ac_compile") 2>conftest.er1
24670 ac_status=$?
24671 grep -v '^ *+' conftest.er1 >conftest.err
24672 rm -f conftest.er1
24673 cat conftest.err >&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); } && {
24676 test -z "$ac_cxx_werror_flag" ||
24677 test ! -s conftest.err
24678 } && test -s conftest.$ac_objext; then
24679 wx_cv_func_stdstring_compare=yes
24680 else
24681 echo "$as_me: failed program was:" >&5
24682 sed 's/^/| /' conftest.$ac_ext >&5
24683
24684 wx_cv_func_stdstring_compare=no
24685
24686 fi
24687
24688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24689
24690 fi
24691 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24692 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24693
24694 if test "$wx_cv_func_stdstring_compare" = yes; then
24695 cat >>confdefs.h <<\_ACEOF
24696 #define HAVE_STD_STRING_COMPARE 1
24697 _ACEOF
24698
24699 fi
24700
24701 { echo "$as_me:$LINENO: checking for hash_map" >&5
24702 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24703 if test "${ac_cv_header_hash_map+set}" = set; then
24704 echo $ECHO_N "(cached) $ECHO_C" >&6
24705 else
24706 cat >conftest.$ac_ext <<_ACEOF
24707 /* confdefs.h. */
24708 _ACEOF
24709 cat confdefs.h >>conftest.$ac_ext
24710 cat >>conftest.$ac_ext <<_ACEOF
24711 /* end confdefs.h. */
24712
24713
24714
24715 #include <hash_map>
24716 _ACEOF
24717 rm -f conftest.$ac_objext
24718 if { (ac_try="$ac_compile"
24719 case "(($ac_try" in
24720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24721 *) ac_try_echo=$ac_try;;
24722 esac
24723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24724 (eval "$ac_compile") 2>conftest.er1
24725 ac_status=$?
24726 grep -v '^ *+' conftest.er1 >conftest.err
24727 rm -f conftest.er1
24728 cat conftest.err >&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } && {
24731 test -z "$ac_cxx_werror_flag" ||
24732 test ! -s conftest.err
24733 } && test -s conftest.$ac_objext; then
24734 ac_cv_header_hash_map=yes
24735 else
24736 echo "$as_me: failed program was:" >&5
24737 sed 's/^/| /' conftest.$ac_ext >&5
24738
24739 ac_cv_header_hash_map=no
24740 fi
24741
24742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24743 fi
24744 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24745 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24746 if test $ac_cv_header_hash_map = yes; then
24747 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24748 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24749 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24750 echo $ECHO_N "(cached) $ECHO_C" >&6
24751 else
24752 cat >conftest.$ac_ext <<_ACEOF
24753 /* confdefs.h. */
24754 _ACEOF
24755 cat confdefs.h >>conftest.$ac_ext
24756 cat >>conftest.$ac_ext <<_ACEOF
24757 /* end confdefs.h. */
24758 #include <hash_map>
24759 #include <hash_set>
24760 int
24761 main ()
24762 {
24763 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24764 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24765 ;
24766 return 0;
24767 }
24768 _ACEOF
24769 rm -f conftest.$ac_objext
24770 if { (ac_try="$ac_compile"
24771 case "(($ac_try" in
24772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24773 *) ac_try_echo=$ac_try;;
24774 esac
24775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24776 (eval "$ac_compile") 2>conftest.er1
24777 ac_status=$?
24778 grep -v '^ *+' conftest.er1 >conftest.err
24779 rm -f conftest.er1
24780 cat conftest.err >&5
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); } && {
24783 test -z "$ac_cxx_werror_flag" ||
24784 test ! -s conftest.err
24785 } && test -s conftest.$ac_objext; then
24786 wx_cv_class_stdhashmapset=yes
24787 else
24788 echo "$as_me: failed program was:" >&5
24789 sed 's/^/| /' conftest.$ac_ext >&5
24790
24791 wx_cv_class_stdhashmapset=no
24792 fi
24793
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795
24796
24797 fi
24798 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24799 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24800 fi
24801
24802
24803
24804 if test "$wx_cv_class_stdhashmapset" = yes; then
24805 cat >>confdefs.h <<\_ACEOF
24806 #define HAVE_HASH_MAP 1
24807 _ACEOF
24808
24809 cat >>confdefs.h <<\_ACEOF
24810 #define HAVE_STD_HASH_MAP 1
24811 _ACEOF
24812
24813 fi
24814
24815 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24816 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24817 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24818 echo $ECHO_N "(cached) $ECHO_C" >&6
24819 else
24820 cat >conftest.$ac_ext <<_ACEOF
24821 /* confdefs.h. */
24822 _ACEOF
24823 cat confdefs.h >>conftest.$ac_ext
24824 cat >>conftest.$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826
24827
24828
24829 #include <ext/hash_map>
24830 _ACEOF
24831 rm -f conftest.$ac_objext
24832 if { (ac_try="$ac_compile"
24833 case "(($ac_try" in
24834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24835 *) ac_try_echo=$ac_try;;
24836 esac
24837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24838 (eval "$ac_compile") 2>conftest.er1
24839 ac_status=$?
24840 grep -v '^ *+' conftest.er1 >conftest.err
24841 rm -f conftest.er1
24842 cat conftest.err >&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } && {
24845 test -z "$ac_cxx_werror_flag" ||
24846 test ! -s conftest.err
24847 } && test -s conftest.$ac_objext; then
24848 ac_cv_header_ext_hash_map=yes
24849 else
24850 echo "$as_me: failed program was:" >&5
24851 sed 's/^/| /' conftest.$ac_ext >&5
24852
24853 ac_cv_header_ext_hash_map=no
24854 fi
24855
24856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24857 fi
24858 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24859 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24860 if test $ac_cv_header_ext_hash_map = yes; then
24861 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24862 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24863 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24864 echo $ECHO_N "(cached) $ECHO_C" >&6
24865 else
24866 cat >conftest.$ac_ext <<_ACEOF
24867 /* confdefs.h. */
24868 _ACEOF
24869 cat confdefs.h >>conftest.$ac_ext
24870 cat >>conftest.$ac_ext <<_ACEOF
24871 /* end confdefs.h. */
24872 #include <ext/hash_map>
24873 #include <ext/hash_set>
24874 int
24875 main ()
24876 {
24877 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24878 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24879 ;
24880 return 0;
24881 }
24882 _ACEOF
24883 rm -f conftest.$ac_objext
24884 if { (ac_try="$ac_compile"
24885 case "(($ac_try" in
24886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24887 *) ac_try_echo=$ac_try;;
24888 esac
24889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24890 (eval "$ac_compile") 2>conftest.er1
24891 ac_status=$?
24892 grep -v '^ *+' conftest.er1 >conftest.err
24893 rm -f conftest.er1
24894 cat conftest.err >&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } && {
24897 test -z "$ac_cxx_werror_flag" ||
24898 test ! -s conftest.err
24899 } && test -s conftest.$ac_objext; then
24900 wx_cv_class_gnuhashmapset=yes
24901 else
24902 echo "$as_me: failed program was:" >&5
24903 sed 's/^/| /' conftest.$ac_ext >&5
24904
24905 wx_cv_class_gnuhashmapset=no
24906 fi
24907
24908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24909
24910
24911 fi
24912 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24913 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24914 fi
24915
24916
24917
24918 if test "$wx_cv_class_gnuhashmapset" = yes; then
24919 cat >>confdefs.h <<\_ACEOF
24920 #define HAVE_EXT_HASH_MAP 1
24921 _ACEOF
24922
24923 cat >>confdefs.h <<\_ACEOF
24924 #define HAVE_GNU_CXX_HASH_MAP 1
24925 _ACEOF
24926
24927 fi
24928
24929 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24930 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24931 if test "${ac_cv_header_unordered_map+set}" = set; then
24932 echo $ECHO_N "(cached) $ECHO_C" >&6
24933 else
24934 cat >conftest.$ac_ext <<_ACEOF
24935 /* confdefs.h. */
24936 _ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h. */
24940
24941
24942
24943 #include <unordered_map>
24944 _ACEOF
24945 rm -f conftest.$ac_objext
24946 if { (ac_try="$ac_compile"
24947 case "(($ac_try" in
24948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24949 *) ac_try_echo=$ac_try;;
24950 esac
24951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24952 (eval "$ac_compile") 2>conftest.er1
24953 ac_status=$?
24954 grep -v '^ *+' conftest.er1 >conftest.err
24955 rm -f conftest.er1
24956 cat conftest.err >&5
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); } && {
24959 test -z "$ac_cxx_werror_flag" ||
24960 test ! -s conftest.err
24961 } && test -s conftest.$ac_objext; then
24962 ac_cv_header_unordered_map=yes
24963 else
24964 echo "$as_me: failed program was:" >&5
24965 sed 's/^/| /' conftest.$ac_ext >&5
24966
24967 ac_cv_header_unordered_map=no
24968 fi
24969
24970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971 fi
24972 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24973 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24974 if test $ac_cv_header_unordered_map = yes; then
24975 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24976 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24977 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 else
24980 cat >conftest.$ac_ext <<_ACEOF
24981 /* confdefs.h. */
24982 _ACEOF
24983 cat confdefs.h >>conftest.$ac_ext
24984 cat >>conftest.$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24986 #include <unordered_map>
24987 #include <unordered_set>
24988 int
24989 main ()
24990 {
24991 std::unordered_map<double*, char*> test1;
24992 std::unordered_set<char*> test2;
24993 ;
24994 return 0;
24995 }
24996 _ACEOF
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25002 esac
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25005 ac_status=$?
25006 grep -v '^ *+' conftest.er1 >conftest.err
25007 rm -f conftest.er1
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_cxx_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 wx_cv_class_stdunorderedmapset=yes
25015 else
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.$ac_ext >&5
25018
25019 wx_cv_class_stdunorderedmapset=no
25020 fi
25021
25022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25023
25024
25025 fi
25026 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25027 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25028 fi
25029
25030
25031
25032 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25033 cat >>confdefs.h <<\_ACEOF
25034 #define HAVE_STD_UNORDERED_MAP 1
25035 _ACEOF
25036
25037 cat >>confdefs.h <<\_ACEOF
25038 #define HAVE_STD_UNORDERED_SET 1
25039 _ACEOF
25040
25041 else
25042 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25043 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25044 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25045 echo $ECHO_N "(cached) $ECHO_C" >&6
25046 else
25047 cat >conftest.$ac_ext <<_ACEOF
25048 /* confdefs.h. */
25049 _ACEOF
25050 cat confdefs.h >>conftest.$ac_ext
25051 cat >>conftest.$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25053
25054
25055
25056 #include <tr1/unordered_map>
25057 _ACEOF
25058 rm -f conftest.$ac_objext
25059 if { (ac_try="$ac_compile"
25060 case "(($ac_try" in
25061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25062 *) ac_try_echo=$ac_try;;
25063 esac
25064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25065 (eval "$ac_compile") 2>conftest.er1
25066 ac_status=$?
25067 grep -v '^ *+' conftest.er1 >conftest.err
25068 rm -f conftest.er1
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } && {
25072 test -z "$ac_cxx_werror_flag" ||
25073 test ! -s conftest.err
25074 } && test -s conftest.$ac_objext; then
25075 ac_cv_header_tr1_unordered_map=yes
25076 else
25077 echo "$as_me: failed program was:" >&5
25078 sed 's/^/| /' conftest.$ac_ext >&5
25079
25080 ac_cv_header_tr1_unordered_map=no
25081 fi
25082
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 fi
25085 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25086 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25087 if test $ac_cv_header_tr1_unordered_map = yes; then
25088 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25089 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25090 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25091 echo $ECHO_N "(cached) $ECHO_C" >&6
25092 else
25093 cat >conftest.$ac_ext <<_ACEOF
25094 /* confdefs.h. */
25095 _ACEOF
25096 cat confdefs.h >>conftest.$ac_ext
25097 cat >>conftest.$ac_ext <<_ACEOF
25098 /* end confdefs.h. */
25099 #include <tr1/unordered_map>
25100 #include <tr1/unordered_set>
25101 int
25102 main ()
25103 {
25104 std::tr1::unordered_map<double*, char*> test1;
25105 std::tr1::unordered_set<char*> test2;
25106 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25107 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25108 #endif
25109 ;
25110 return 0;
25111 }
25112 _ACEOF
25113 rm -f conftest.$ac_objext
25114 if { (ac_try="$ac_compile"
25115 case "(($ac_try" in
25116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25117 *) ac_try_echo=$ac_try;;
25118 esac
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_compile") 2>conftest.er1
25121 ac_status=$?
25122 grep -v '^ *+' conftest.er1 >conftest.err
25123 rm -f conftest.er1
25124 cat conftest.err >&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && {
25127 test -z "$ac_cxx_werror_flag" ||
25128 test ! -s conftest.err
25129 } && test -s conftest.$ac_objext; then
25130 wx_cv_class_tr1unorderedmapset=yes
25131 else
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25134
25135 wx_cv_class_tr1unorderedmapset=no
25136 fi
25137
25138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25139
25140
25141 fi
25142 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25143 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25144 fi
25145
25146
25147
25148 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25149 cat >>confdefs.h <<\_ACEOF
25150 #define HAVE_TR1_UNORDERED_MAP 1
25151 _ACEOF
25152
25153 cat >>confdefs.h <<\_ACEOF
25154 #define HAVE_TR1_UNORDERED_SET 1
25155 _ACEOF
25156
25157 fi
25158 fi
25159 fi
25160
25161
25162
25163 if test -n "$GCC"; then
25164 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25165 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25166 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25168 else
25169
25170 cat >conftest.$ac_ext <<_ACEOF
25171 /* confdefs.h. */
25172 _ACEOF
25173 cat confdefs.h >>conftest.$ac_ext
25174 cat >>conftest.$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25176
25177 int
25178 main ()
25179 {
25180
25181 unsigned int value=0;
25182 /* wxAtomicInc doesn't use return value here */
25183 __sync_fetch_and_add(&value, 2);
25184 __sync_sub_and_fetch(&value, 1);
25185 /* but wxAtomicDec does, so mimic that: */
25186 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25187
25188 ;
25189 return 0;
25190 }
25191 _ACEOF
25192 rm -f conftest.$ac_objext conftest$ac_exeext
25193 if { (ac_try="$ac_link"
25194 case "(($ac_try" in
25195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25197 esac
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_link") 2>conftest.er1
25200 ac_status=$?
25201 grep -v '^ *+' conftest.er1 >conftest.err
25202 rm -f conftest.er1
25203 cat conftest.err >&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); } && {
25206 test -z "$ac_cxx_werror_flag" ||
25207 test ! -s conftest.err
25208 } && test -s conftest$ac_exeext &&
25209 $as_test_x conftest$ac_exeext; then
25210 wx_cv_cc_gcc_atomic_builtins=yes
25211 else
25212 echo "$as_me: failed program was:" >&5
25213 sed 's/^/| /' conftest.$ac_ext >&5
25214
25215 wx_cv_cc_gcc_atomic_builtins=no
25216 fi
25217
25218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25219 conftest$ac_exeext conftest.$ac_ext
25220
25221 fi
25222
25223 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25224 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25225 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25226 cat >>confdefs.h <<\_ACEOF
25227 #define HAVE_GCC_ATOMIC_BUILTINS 1
25228 _ACEOF
25229
25230 fi
25231 fi
25232
25233
25234 ac_ext=c
25235 ac_cpp='$CPP $CPPFLAGS'
25236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25239
25240
25241
25242 SEARCH_INCLUDE="\
25243 /usr/local/include \
25244 \
25245 /usr/Motif-2.1/include \
25246 /usr/Motif-1.2/include \
25247 /usr/include/Motif1.2 \
25248 \
25249 /usr/dt/include \
25250 /usr/openwin/include \
25251 \
25252 /usr/include/Xm \
25253 \
25254 /usr/X11R6/include \
25255 /usr/X11R6.4/include \
25256 /usr/X11R5/include \
25257 /usr/X11R4/include \
25258 \
25259 /usr/include/X11R6 \
25260 /usr/include/X11R5 \
25261 /usr/include/X11R4 \
25262 \
25263 /usr/local/X11R6/include \
25264 /usr/local/X11R5/include \
25265 /usr/local/X11R4/include \
25266 \
25267 /usr/local/include/X11R6 \
25268 /usr/local/include/X11R5 \
25269 /usr/local/include/X11R4 \
25270 \
25271 /usr/X11/include \
25272 /usr/include/X11 \
25273 /usr/local/X11/include \
25274 /usr/local/include/X11 \
25275 \
25276 /usr/XFree86/include/X11 \
25277 /usr/pkg/include \
25278 \
25279 /usr/openwin/share/include"
25280
25281 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25282 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25283
25284 case "${host}" in
25285 *-*-irix6* )
25286 if test "${wx_cv_std_libpath+set}" = set; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25288 else
25289
25290 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25291 for e in a so sl dylib dll.a; do
25292 libc="$d/libc.$e"
25293 if test -f $libc; then
25294 save_LIBS="$LIBS"
25295 LIBS="$libc"
25296 cat >conftest.$ac_ext <<_ACEOF
25297 int main() { return 0; }
25298 _ACEOF
25299 rm -f conftest.$ac_objext conftest$ac_exeext
25300 if { (ac_try="$ac_link"
25301 case "(($ac_try" in
25302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25303 *) ac_try_echo=$ac_try;;
25304 esac
25305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25306 (eval "$ac_link") 2>conftest.er1
25307 ac_status=$?
25308 grep -v '^ *+' conftest.er1 >conftest.err
25309 rm -f conftest.er1
25310 cat conftest.err >&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); } && {
25313 test -z "$ac_c_werror_flag" ||
25314 test ! -s conftest.err
25315 } && test -s conftest$ac_exeext &&
25316 $as_test_x conftest$ac_exeext; then
25317 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25318 else
25319 echo "$as_me: failed program was:" >&5
25320 sed 's/^/| /' conftest.$ac_ext >&5
25321
25322
25323 fi
25324
25325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25326 conftest$ac_exeext conftest.$ac_ext
25327 LIBS="$save_LIBS"
25328 if test "x$wx_cv_std_libpath" != "x"; then
25329 break 2
25330 fi
25331 fi
25332 done
25333 done
25334 if test "x$wx_cv_std_libpath" = "x"; then
25335 wx_cv_std_libpath="lib"
25336 fi
25337
25338
25339 fi
25340
25341 ;;
25342
25343 *-*-solaris2* )
25344 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25345 wx_cv_std_libpath="lib/64"
25346 else
25347 wx_cv_std_libpath="lib"
25348 fi
25349 ;;
25350
25351 *-*-linux* )
25352 if test "$ac_cv_sizeof_void_p" = 8 -a \
25353 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25354 wx_cv_std_libpath="lib64"
25355 else
25356 wx_cv_std_libpath="lib"
25357 fi
25358 ;;
25359
25360 *)
25361 wx_cv_std_libpath="lib";
25362 ;;
25363 esac
25364
25365 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25366 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25367
25368 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25369
25370 if test "$build" != "$host" -a "$GCC" = yes; then
25371 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25372 cross_root=`dirname $cross_root`
25373 cross_root=`dirname $cross_root`
25374
25375 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25376 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25377 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25378
25379 if test -z "$PKG_CONFIG_PATH"; then
25380 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25381 export PKG_CONFIG_PATH
25382 fi
25383
25384 if test -z "$x_includes" -o "$x_includes" = NONE; then
25385
25386 ac_find_includes=
25387 for ac_dir in $SEARCH_INCLUDE /usr/include;
25388 do
25389 if test -f "$ac_dir/X11/Intrinsic.h"; then
25390 ac_find_includes=$ac_dir
25391 break
25392 fi
25393 done
25394
25395 x_includes=$ac_find_includes
25396 fi
25397 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25398
25399 ac_find_libraries=
25400 for ac_dir in $SEARCH_LIB;
25401 do
25402 for ac_extension in a so sl dylib dll.a; do
25403 if test -f "$ac_dir/libXt.$ac_extension"; then
25404 ac_find_libraries=$ac_dir
25405 break 2
25406 fi
25407 done
25408 done
25409
25410 x_libraries=$ac_find_libraries
25411 fi
25412 fi
25413 fi
25414
25415
25416 cat >confcache <<\_ACEOF
25417 # This file is a shell script that caches the results of configure
25418 # tests run on this system so they can be shared between configure
25419 # scripts and configure runs, see configure's option --config-cache.
25420 # It is not useful on other systems. If it contains results you don't
25421 # want to keep, you may remove or edit it.
25422 #
25423 # config.status only pays attention to the cache file if you give it
25424 # the --recheck option to rerun configure.
25425 #
25426 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25427 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25428 # following values.
25429
25430 _ACEOF
25431
25432 # The following way of writing the cache mishandles newlines in values,
25433 # but we know of no workaround that is simple, portable, and efficient.
25434 # So, we kill variables containing newlines.
25435 # Ultrix sh set writes to stderr and can't be redirected directly,
25436 # and sets the high bit in the cache file unless we assign to the vars.
25437 (
25438 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25439 eval ac_val=\$$ac_var
25440 case $ac_val in #(
25441 *${as_nl}*)
25442 case $ac_var in #(
25443 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25444 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25445 esac
25446 case $ac_var in #(
25447 _ | IFS | as_nl) ;; #(
25448 *) $as_unset $ac_var ;;
25449 esac ;;
25450 esac
25451 done
25452
25453 (set) 2>&1 |
25454 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25455 *${as_nl}ac_space=\ *)
25456 # `set' does not quote correctly, so add quotes (double-quote
25457 # substitution turns \\\\ into \\, and sed turns \\ into \).
25458 sed -n \
25459 "s/'/'\\\\''/g;
25460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25461 ;; #(
25462 *)
25463 # `set' quotes correctly as required by POSIX, so do not add quotes.
25464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25465 ;;
25466 esac |
25467 sort
25468 ) |
25469 sed '
25470 /^ac_cv_env_/b end
25471 t clear
25472 :clear
25473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25474 t end
25475 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25476 :end' >>confcache
25477 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25478 if test -w "$cache_file"; then
25479 test "x$cache_file" != "x/dev/null" &&
25480 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25481 echo "$as_me: updating cache $cache_file" >&6;}
25482 cat confcache >$cache_file
25483 else
25484 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25485 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25486 fi
25487 fi
25488 rm -f confcache
25489
25490 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25491 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25492 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25493 if test "${wx_cv_lib_glibc21+set}" = set; then
25494 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 else
25496
25497 cat >conftest.$ac_ext <<_ACEOF
25498 /* confdefs.h. */
25499 _ACEOF
25500 cat confdefs.h >>conftest.$ac_ext
25501 cat >>conftest.$ac_ext <<_ACEOF
25502 /* end confdefs.h. */
25503 #include <features.h>
25504 int
25505 main ()
25506 {
25507
25508 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25509 not glibc 2.1
25510 #endif
25511
25512 ;
25513 return 0;
25514 }
25515 _ACEOF
25516 rm -f conftest.$ac_objext
25517 if { (ac_try="$ac_compile"
25518 case "(($ac_try" in
25519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25520 *) ac_try_echo=$ac_try;;
25521 esac
25522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25523 (eval "$ac_compile") 2>conftest.er1
25524 ac_status=$?
25525 grep -v '^ *+' conftest.er1 >conftest.err
25526 rm -f conftest.er1
25527 cat conftest.err >&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); } && {
25530 test -z "$ac_c_werror_flag" ||
25531 test ! -s conftest.err
25532 } && test -s conftest.$ac_objext; then
25533
25534 wx_cv_lib_glibc21=yes
25535
25536 else
25537 echo "$as_me: failed program was:" >&5
25538 sed 's/^/| /' conftest.$ac_ext >&5
25539
25540
25541 wx_cv_lib_glibc21=no
25542
25543
25544 fi
25545
25546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547
25548 fi
25549 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25550 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25551 if test "$wx_cv_lib_glibc21" = "yes"; then
25552 cat >>confdefs.h <<\_ACEOF
25553 #define wxHAVE_GLIBC2 1
25554 _ACEOF
25555
25556 fi
25557 fi
25558
25559 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25560 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25561 cat >>confdefs.h <<\_ACEOF
25562 #define _GNU_SOURCE 1
25563 _ACEOF
25564
25565 fi
25566 fi
25567
25568 have_cos=0
25569 have_floor=0
25570
25571 for ac_func in cos
25572 do
25573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25577 echo $ECHO_N "(cached) $ECHO_C" >&6
25578 else
25579 cat >conftest.$ac_ext <<_ACEOF
25580 /* confdefs.h. */
25581 _ACEOF
25582 cat confdefs.h >>conftest.$ac_ext
25583 cat >>conftest.$ac_ext <<_ACEOF
25584 /* end confdefs.h. */
25585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25587 #define $ac_func innocuous_$ac_func
25588
25589 /* System header to define __stub macros and hopefully few prototypes,
25590 which can conflict with char $ac_func (); below.
25591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25592 <limits.h> exists even on freestanding compilers. */
25593
25594 #ifdef __STDC__
25595 # include <limits.h>
25596 #else
25597 # include <assert.h>
25598 #endif
25599
25600 #undef $ac_func
25601
25602 /* Override any GCC internal prototype to avoid an error.
25603 Use char because int might match the return type of a GCC
25604 builtin and then its argument prototype would still apply. */
25605 #ifdef __cplusplus
25606 extern "C"
25607 #endif
25608 char $ac_func ();
25609 /* The GNU C library defines this for functions which it implements
25610 to always fail with ENOSYS. Some functions are actually named
25611 something starting with __ and the normal name is an alias. */
25612 #if defined __stub_$ac_func || defined __stub___$ac_func
25613 choke me
25614 #endif
25615
25616 int
25617 main ()
25618 {
25619 return $ac_func ();
25620 ;
25621 return 0;
25622 }
25623 _ACEOF
25624 rm -f conftest.$ac_objext conftest$ac_exeext
25625 if { (ac_try="$ac_link"
25626 case "(($ac_try" in
25627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25628 *) ac_try_echo=$ac_try;;
25629 esac
25630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25631 (eval "$ac_link") 2>conftest.er1
25632 ac_status=$?
25633 grep -v '^ *+' conftest.er1 >conftest.err
25634 rm -f conftest.er1
25635 cat conftest.err >&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } && {
25638 test -z "$ac_c_werror_flag" ||
25639 test ! -s conftest.err
25640 } && test -s conftest$ac_exeext &&
25641 $as_test_x conftest$ac_exeext; then
25642 eval "$as_ac_var=yes"
25643 else
25644 echo "$as_me: failed program was:" >&5
25645 sed 's/^/| /' conftest.$ac_ext >&5
25646
25647 eval "$as_ac_var=no"
25648 fi
25649
25650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25651 conftest$ac_exeext conftest.$ac_ext
25652 fi
25653 ac_res=`eval echo '${'$as_ac_var'}'`
25654 { echo "$as_me:$LINENO: result: $ac_res" >&5
25655 echo "${ECHO_T}$ac_res" >&6; }
25656 if test `eval echo '${'$as_ac_var'}'` = yes; then
25657 cat >>confdefs.h <<_ACEOF
25658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25659 _ACEOF
25660 have_cos=1
25661 fi
25662 done
25663
25664
25665 for ac_func in floor
25666 do
25667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25668 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25670 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673 cat >conftest.$ac_ext <<_ACEOF
25674 /* confdefs.h. */
25675 _ACEOF
25676 cat confdefs.h >>conftest.$ac_ext
25677 cat >>conftest.$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25681 #define $ac_func innocuous_$ac_func
25682
25683 /* System header to define __stub macros and hopefully few prototypes,
25684 which can conflict with char $ac_func (); below.
25685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25686 <limits.h> exists even on freestanding compilers. */
25687
25688 #ifdef __STDC__
25689 # include <limits.h>
25690 #else
25691 # include <assert.h>
25692 #endif
25693
25694 #undef $ac_func
25695
25696 /* Override any GCC internal prototype to avoid an error.
25697 Use char because int might match the return type of a GCC
25698 builtin and then its argument prototype would still apply. */
25699 #ifdef __cplusplus
25700 extern "C"
25701 #endif
25702 char $ac_func ();
25703 /* The GNU C library defines this for functions which it implements
25704 to always fail with ENOSYS. Some functions are actually named
25705 something starting with __ and the normal name is an alias. */
25706 #if defined __stub_$ac_func || defined __stub___$ac_func
25707 choke me
25708 #endif
25709
25710 int
25711 main ()
25712 {
25713 return $ac_func ();
25714 ;
25715 return 0;
25716 }
25717 _ACEOF
25718 rm -f conftest.$ac_objext conftest$ac_exeext
25719 if { (ac_try="$ac_link"
25720 case "(($ac_try" in
25721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25722 *) ac_try_echo=$ac_try;;
25723 esac
25724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25725 (eval "$ac_link") 2>conftest.er1
25726 ac_status=$?
25727 grep -v '^ *+' conftest.er1 >conftest.err
25728 rm -f conftest.er1
25729 cat conftest.err >&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } && {
25732 test -z "$ac_c_werror_flag" ||
25733 test ! -s conftest.err
25734 } && test -s conftest$ac_exeext &&
25735 $as_test_x conftest$ac_exeext; then
25736 eval "$as_ac_var=yes"
25737 else
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25740
25741 eval "$as_ac_var=no"
25742 fi
25743
25744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25745 conftest$ac_exeext conftest.$ac_ext
25746 fi
25747 ac_res=`eval echo '${'$as_ac_var'}'`
25748 { echo "$as_me:$LINENO: result: $ac_res" >&5
25749 echo "${ECHO_T}$ac_res" >&6; }
25750 if test `eval echo '${'$as_ac_var'}'` = yes; then
25751 cat >>confdefs.h <<_ACEOF
25752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25753 _ACEOF
25754 have_floor=1
25755 fi
25756 done
25757
25758 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25759 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25760 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25761 { echo "$as_me:$LINENO: result: yes" >&5
25762 echo "${ECHO_T}yes" >&6; }
25763 else
25764 { echo "$as_me:$LINENO: result: no" >&5
25765 echo "${ECHO_T}no" >&6; }
25766 LIBS="$LIBS -lm"
25767 # use different functions to avoid configure caching
25768 have_sin=0
25769 have_ceil=0
25770
25771 for ac_func in sin
25772 do
25773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25774 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25776 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 else
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h. */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25787 #define $ac_func innocuous_$ac_func
25788
25789 /* System header to define __stub macros and hopefully few prototypes,
25790 which can conflict with char $ac_func (); below.
25791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25792 <limits.h> exists even on freestanding compilers. */
25793
25794 #ifdef __STDC__
25795 # include <limits.h>
25796 #else
25797 # include <assert.h>
25798 #endif
25799
25800 #undef $ac_func
25801
25802 /* Override any GCC internal prototype to avoid an error.
25803 Use char because int might match the return type of a GCC
25804 builtin and then its argument prototype would still apply. */
25805 #ifdef __cplusplus
25806 extern "C"
25807 #endif
25808 char $ac_func ();
25809 /* The GNU C library defines this for functions which it implements
25810 to always fail with ENOSYS. Some functions are actually named
25811 something starting with __ and the normal name is an alias. */
25812 #if defined __stub_$ac_func || defined __stub___$ac_func
25813 choke me
25814 #endif
25815
25816 int
25817 main ()
25818 {
25819 return $ac_func ();
25820 ;
25821 return 0;
25822 }
25823 _ACEOF
25824 rm -f conftest.$ac_objext conftest$ac_exeext
25825 if { (ac_try="$ac_link"
25826 case "(($ac_try" in
25827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25829 esac
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_link") 2>conftest.er1
25832 ac_status=$?
25833 grep -v '^ *+' conftest.er1 >conftest.err
25834 rm -f conftest.er1
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && {
25838 test -z "$ac_c_werror_flag" ||
25839 test ! -s conftest.err
25840 } && test -s conftest$ac_exeext &&
25841 $as_test_x conftest$ac_exeext; then
25842 eval "$as_ac_var=yes"
25843 else
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25846
25847 eval "$as_ac_var=no"
25848 fi
25849
25850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25851 conftest$ac_exeext conftest.$ac_ext
25852 fi
25853 ac_res=`eval echo '${'$as_ac_var'}'`
25854 { echo "$as_me:$LINENO: result: $ac_res" >&5
25855 echo "${ECHO_T}$ac_res" >&6; }
25856 if test `eval echo '${'$as_ac_var'}'` = yes; then
25857 cat >>confdefs.h <<_ACEOF
25858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25859 _ACEOF
25860 have_sin=1
25861 fi
25862 done
25863
25864
25865 for ac_func in ceil
25866 do
25867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25872 else
25873 cat >conftest.$ac_ext <<_ACEOF
25874 /* confdefs.h. */
25875 _ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25881 #define $ac_func innocuous_$ac_func
25882
25883 /* System header to define __stub macros and hopefully few prototypes,
25884 which can conflict with char $ac_func (); below.
25885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25886 <limits.h> exists even on freestanding compilers. */
25887
25888 #ifdef __STDC__
25889 # include <limits.h>
25890 #else
25891 # include <assert.h>
25892 #endif
25893
25894 #undef $ac_func
25895
25896 /* Override any GCC internal prototype to avoid an error.
25897 Use char because int might match the return type of a GCC
25898 builtin and then its argument prototype would still apply. */
25899 #ifdef __cplusplus
25900 extern "C"
25901 #endif
25902 char $ac_func ();
25903 /* The GNU C library defines this for functions which it implements
25904 to always fail with ENOSYS. Some functions are actually named
25905 something starting with __ and the normal name is an alias. */
25906 #if defined __stub_$ac_func || defined __stub___$ac_func
25907 choke me
25908 #endif
25909
25910 int
25911 main ()
25912 {
25913 return $ac_func ();
25914 ;
25915 return 0;
25916 }
25917 _ACEOF
25918 rm -f conftest.$ac_objext conftest$ac_exeext
25919 if { (ac_try="$ac_link"
25920 case "(($ac_try" in
25921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25922 *) ac_try_echo=$ac_try;;
25923 esac
25924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25925 (eval "$ac_link") 2>conftest.er1
25926 ac_status=$?
25927 grep -v '^ *+' conftest.er1 >conftest.err
25928 rm -f conftest.er1
25929 cat conftest.err >&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } && {
25932 test -z "$ac_c_werror_flag" ||
25933 test ! -s conftest.err
25934 } && test -s conftest$ac_exeext &&
25935 $as_test_x conftest$ac_exeext; then
25936 eval "$as_ac_var=yes"
25937 else
25938 echo "$as_me: failed program was:" >&5
25939 sed 's/^/| /' conftest.$ac_ext >&5
25940
25941 eval "$as_ac_var=no"
25942 fi
25943
25944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25945 conftest$ac_exeext conftest.$ac_ext
25946 fi
25947 ac_res=`eval echo '${'$as_ac_var'}'`
25948 { echo "$as_me:$LINENO: result: $ac_res" >&5
25949 echo "${ECHO_T}$ac_res" >&6; }
25950 if test `eval echo '${'$as_ac_var'}'` = yes; then
25951 cat >>confdefs.h <<_ACEOF
25952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25953 _ACEOF
25954 have_ceil=1
25955 fi
25956 done
25957
25958 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25959 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25960 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25961 { echo "$as_me:$LINENO: result: yes" >&5
25962 echo "${ECHO_T}yes" >&6; }
25963 else
25964 { echo "$as_me:$LINENO: result: no" >&5
25965 echo "${ECHO_T}no" >&6; }
25966 # not sure we should warn the user, crash, etc.
25967 fi
25968 fi
25969
25970 ac_ext=cpp
25971 ac_cpp='$CXXCPP $CPPFLAGS'
25972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25975
25976 if test "wxUSE_UNICODE" = "yes"; then
25977
25978 for wx_func in wcstoull
25979 do
25980 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25981 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25982 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25983 echo $ECHO_N "(cached) $ECHO_C" >&6
25984 else
25985
25986 cat >conftest.$ac_ext <<_ACEOF
25987
25988 /* confdefs.h. */
25989 _ACEOF
25990 cat confdefs.h >>conftest.$ac_ext
25991 cat >>conftest.$ac_ext <<_ACEOF
25992 /* end confdefs.h. */
25993
25994
25995 $ac_includes_default
25996
25997 int
25998 main ()
25999 {
26000
26001 #ifndef $wx_func
26002 &$wx_func;
26003 #endif
26004
26005
26006 ;
26007 return 0;
26008 }
26009
26010 _ACEOF
26011 rm -f conftest.$ac_objext conftest$ac_exeext
26012 if { (ac_try="$ac_link"
26013 case "(($ac_try" in
26014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26015 *) ac_try_echo=$ac_try;;
26016 esac
26017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26018 (eval "$ac_link") 2>conftest.er1
26019 ac_status=$?
26020 grep -v '^ *+' conftest.er1 >conftest.err
26021 rm -f conftest.er1
26022 cat conftest.err >&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); } && {
26025 test -z "$ac_cxx_werror_flag" ||
26026 test ! -s conftest.err
26027 } && test -s conftest$ac_exeext &&
26028 $as_test_x conftest$ac_exeext; then
26029 eval wx_cv_func_$wx_func=yes
26030 else
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26033
26034 eval wx_cv_func_$wx_func=no
26035 fi
26036
26037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26038 conftest$ac_exeext conftest.$ac_ext
26039
26040 fi
26041 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26042 { echo "$as_me:$LINENO: result: $ac_res" >&5
26043 echo "${ECHO_T}$ac_res" >&6; }
26044
26045 if eval test \$wx_cv_func_$wx_func = yes
26046 then
26047 cat >>confdefs.h <<_ACEOF
26048 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26049 _ACEOF
26050
26051
26052 else
26053 :
26054
26055 fi
26056 done
26057
26058 else
26059
26060 for wx_func in strtoull
26061 do
26062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26064 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26067
26068 cat >conftest.$ac_ext <<_ACEOF
26069
26070 /* confdefs.h. */
26071 _ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26075
26076
26077 $ac_includes_default
26078
26079 int
26080 main ()
26081 {
26082
26083 #ifndef $wx_func
26084 &$wx_func;
26085 #endif
26086
26087
26088 ;
26089 return 0;
26090 }
26091
26092 _ACEOF
26093 rm -f conftest.$ac_objext conftest$ac_exeext
26094 if { (ac_try="$ac_link"
26095 case "(($ac_try" in
26096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26097 *) ac_try_echo=$ac_try;;
26098 esac
26099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26100 (eval "$ac_link") 2>conftest.er1
26101 ac_status=$?
26102 grep -v '^ *+' conftest.er1 >conftest.err
26103 rm -f conftest.er1
26104 cat conftest.err >&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } && {
26107 test -z "$ac_cxx_werror_flag" ||
26108 test ! -s conftest.err
26109 } && test -s conftest$ac_exeext &&
26110 $as_test_x conftest$ac_exeext; then
26111 eval wx_cv_func_$wx_func=yes
26112 else
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.$ac_ext >&5
26115
26116 eval wx_cv_func_$wx_func=no
26117 fi
26118
26119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26120 conftest$ac_exeext conftest.$ac_ext
26121
26122 fi
26123 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26124 { echo "$as_me:$LINENO: result: $ac_res" >&5
26125 echo "${ECHO_T}$ac_res" >&6; }
26126
26127 if eval test \$wx_cv_func_$wx_func = yes
26128 then
26129 cat >>confdefs.h <<_ACEOF
26130 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26131 _ACEOF
26132
26133
26134 else
26135 :
26136
26137 fi
26138 done
26139
26140 fi
26141 ac_ext=c
26142 ac_cpp='$CPP $CPPFLAGS'
26143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26146
26147
26148
26149
26150 if test "$wxUSE_REGEX" != "no"; then
26151 cat >>confdefs.h <<\_ACEOF
26152 #define wxUSE_REGEX 1
26153 _ACEOF
26154
26155
26156 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26157 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26158 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26159 wxUSE_REGEX=builtin
26160 fi
26161
26162 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26163 { echo "$as_me:$LINENO: checking for regex.h" >&5
26164 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26165 if test "${ac_cv_header_regex_h+set}" = set; then
26166 echo $ECHO_N "(cached) $ECHO_C" >&6
26167 else
26168 cat >conftest.$ac_ext <<_ACEOF
26169 /* confdefs.h. */
26170 _ACEOF
26171 cat confdefs.h >>conftest.$ac_ext
26172 cat >>conftest.$ac_ext <<_ACEOF
26173 /* end confdefs.h. */
26174
26175
26176 #include <regex.h>
26177 _ACEOF
26178 rm -f conftest.$ac_objext
26179 if { (ac_try="$ac_compile"
26180 case "(($ac_try" in
26181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26182 *) ac_try_echo=$ac_try;;
26183 esac
26184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26185 (eval "$ac_compile") 2>conftest.er1
26186 ac_status=$?
26187 grep -v '^ *+' conftest.er1 >conftest.err
26188 rm -f conftest.er1
26189 cat conftest.err >&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); } && {
26192 test -z "$ac_c_werror_flag" ||
26193 test ! -s conftest.err
26194 } && test -s conftest.$ac_objext; then
26195 ac_cv_header_regex_h=yes
26196 else
26197 echo "$as_me: failed program was:" >&5
26198 sed 's/^/| /' conftest.$ac_ext >&5
26199
26200 ac_cv_header_regex_h=no
26201 fi
26202
26203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26204 fi
26205 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26206 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26207 if test $ac_cv_header_regex_h = yes; then
26208
26209
26210 for ac_func in regcomp re_search
26211 do
26212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26217 else
26218 cat >conftest.$ac_ext <<_ACEOF
26219 /* confdefs.h. */
26220 _ACEOF
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26226 #define $ac_func innocuous_$ac_func
26227
26228 /* System header to define __stub macros and hopefully few prototypes,
26229 which can conflict with char $ac_func (); below.
26230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26231 <limits.h> exists even on freestanding compilers. */
26232
26233 #ifdef __STDC__
26234 # include <limits.h>
26235 #else
26236 # include <assert.h>
26237 #endif
26238
26239 #undef $ac_func
26240
26241 /* Override any GCC internal prototype to avoid an error.
26242 Use char because int might match the return type of a GCC
26243 builtin and then its argument prototype would still apply. */
26244 #ifdef __cplusplus
26245 extern "C"
26246 #endif
26247 char $ac_func ();
26248 /* The GNU C library defines this for functions which it implements
26249 to always fail with ENOSYS. Some functions are actually named
26250 something starting with __ and the normal name is an alias. */
26251 #if defined __stub_$ac_func || defined __stub___$ac_func
26252 choke me
26253 #endif
26254
26255 int
26256 main ()
26257 {
26258 return $ac_func ();
26259 ;
26260 return 0;
26261 }
26262 _ACEOF
26263 rm -f conftest.$ac_objext conftest$ac_exeext
26264 if { (ac_try="$ac_link"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26268 esac
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_link") 2>conftest.er1
26271 ac_status=$?
26272 grep -v '^ *+' conftest.er1 >conftest.err
26273 rm -f conftest.er1
26274 cat conftest.err >&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_c_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest$ac_exeext &&
26280 $as_test_x conftest$ac_exeext; then
26281 eval "$as_ac_var=yes"
26282 else
26283 echo "$as_me: failed program was:" >&5
26284 sed 's/^/| /' conftest.$ac_ext >&5
26285
26286 eval "$as_ac_var=no"
26287 fi
26288
26289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26290 conftest$ac_exeext conftest.$ac_ext
26291 fi
26292 ac_res=`eval echo '${'$as_ac_var'}'`
26293 { echo "$as_me:$LINENO: result: $ac_res" >&5
26294 echo "${ECHO_T}$ac_res" >&6; }
26295 if test `eval echo '${'$as_ac_var'}'` = yes; then
26296 cat >>confdefs.h <<_ACEOF
26297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26298 _ACEOF
26299
26300 fi
26301 done
26302
26303 fi
26304
26305
26306
26307 if test "x$ac_cv_func_regcomp" != "xyes"; then
26308 if test "$wxUSE_REGEX" = "sys" ; then
26309 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26310 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26311 { (exit 1); exit 1; }; }
26312 else
26313 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26314 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26315 wxUSE_REGEX=builtin
26316 fi
26317 else
26318 wxUSE_REGEX=sys
26319 cat >>confdefs.h <<\_ACEOF
26320 #define WX_NO_REGEX_ADVANCED 1
26321 _ACEOF
26322
26323 fi
26324 fi
26325 fi
26326
26327
26328 ZLIB_LINK=
26329 if test "$wxUSE_ZLIB" != "no" ; then
26330 cat >>confdefs.h <<\_ACEOF
26331 #define wxUSE_ZLIB 1
26332 _ACEOF
26333
26334
26335 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26336 if test "$USE_DARWIN" = 1; then
26337 system_zlib_h_ok="yes"
26338 else
26339 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26340 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26341 if test "${ac_cv_header_zlib_h+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26343 else
26344 if test "$cross_compiling" = yes; then
26345 unset ac_cv_header_zlib_h
26346
26347 else
26348 cat >conftest.$ac_ext <<_ACEOF
26349 /* confdefs.h. */
26350 _ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354
26355 #include <zlib.h>
26356 #include <stdio.h>
26357
26358 int main()
26359 {
26360 FILE *f=fopen("conftestval", "w");
26361 if (!f) exit(1);
26362 fprintf(f, "%s",
26363 ZLIB_VERSION[0] == '1' &&
26364 (ZLIB_VERSION[2] > '1' ||
26365 (ZLIB_VERSION[2] == '1' &&
26366 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26367 exit(0);
26368 }
26369
26370 _ACEOF
26371 rm -f conftest$ac_exeext
26372 if { (ac_try="$ac_link"
26373 case "(($ac_try" in
26374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26375 *) ac_try_echo=$ac_try;;
26376 esac
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378 (eval "$ac_link") 2>&5
26379 ac_status=$?
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26382 { (case "(($ac_try" in
26383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26384 *) ac_try_echo=$ac_try;;
26385 esac
26386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26387 (eval "$ac_try") 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391 ac_cv_header_zlib_h=`cat conftestval`
26392 else
26393 echo "$as_me: program exited with status $ac_status" >&5
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26396
26397 ( exit $ac_status )
26398 ac_cv_header_zlib_h=no
26399 fi
26400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26401 fi
26402
26403
26404
26405 fi
26406 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26407 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26408 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26409 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26410 if test "${ac_cv_header_zlib_h+set}" = set; then
26411 echo $ECHO_N "(cached) $ECHO_C" >&6
26412 else
26413 cat >conftest.$ac_ext <<_ACEOF
26414 /* confdefs.h. */
26415 _ACEOF
26416 cat confdefs.h >>conftest.$ac_ext
26417 cat >>conftest.$ac_ext <<_ACEOF
26418 /* end confdefs.h. */
26419
26420
26421 #include <zlib.h>
26422 _ACEOF
26423 rm -f conftest.$ac_objext
26424 if { (ac_try="$ac_compile"
26425 case "(($ac_try" in
26426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26427 *) ac_try_echo=$ac_try;;
26428 esac
26429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26430 (eval "$ac_compile") 2>conftest.er1
26431 ac_status=$?
26432 grep -v '^ *+' conftest.er1 >conftest.err
26433 rm -f conftest.er1
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } && {
26437 test -z "$ac_c_werror_flag" ||
26438 test ! -s conftest.err
26439 } && test -s conftest.$ac_objext; then
26440 ac_cv_header_zlib_h=yes
26441 else
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.$ac_ext >&5
26444
26445 ac_cv_header_zlib_h=no
26446 fi
26447
26448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26449 fi
26450 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26451 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26452
26453
26454
26455 system_zlib_h_ok=$ac_cv_header_zlib_h
26456 fi
26457
26458 if test "$system_zlib_h_ok" = "yes"; then
26459 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26460 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26461 if test "${ac_cv_lib_z_deflate+set}" = set; then
26462 echo $ECHO_N "(cached) $ECHO_C" >&6
26463 else
26464 ac_check_lib_save_LIBS=$LIBS
26465 LIBS="-lz $LIBS"
26466 cat >conftest.$ac_ext <<_ACEOF
26467 /* confdefs.h. */
26468 _ACEOF
26469 cat confdefs.h >>conftest.$ac_ext
26470 cat >>conftest.$ac_ext <<_ACEOF
26471 /* end confdefs.h. */
26472
26473 /* Override any GCC internal prototype to avoid an error.
26474 Use char because int might match the return type of a GCC
26475 builtin and then its argument prototype would still apply. */
26476 #ifdef __cplusplus
26477 extern "C"
26478 #endif
26479 char deflate ();
26480 int
26481 main ()
26482 {
26483 return deflate ();
26484 ;
26485 return 0;
26486 }
26487 _ACEOF
26488 rm -f conftest.$ac_objext conftest$ac_exeext
26489 if { (ac_try="$ac_link"
26490 case "(($ac_try" in
26491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26492 *) ac_try_echo=$ac_try;;
26493 esac
26494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26495 (eval "$ac_link") 2>conftest.er1
26496 ac_status=$?
26497 grep -v '^ *+' conftest.er1 >conftest.err
26498 rm -f conftest.er1
26499 cat conftest.err >&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } && {
26502 test -z "$ac_c_werror_flag" ||
26503 test ! -s conftest.err
26504 } && test -s conftest$ac_exeext &&
26505 $as_test_x conftest$ac_exeext; then
26506 ac_cv_lib_z_deflate=yes
26507 else
26508 echo "$as_me: failed program was:" >&5
26509 sed 's/^/| /' conftest.$ac_ext >&5
26510
26511 ac_cv_lib_z_deflate=no
26512 fi
26513
26514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26515 conftest$ac_exeext conftest.$ac_ext
26516 LIBS=$ac_check_lib_save_LIBS
26517 fi
26518 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26519 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26520 if test $ac_cv_lib_z_deflate = yes; then
26521 ZLIB_LINK=" -lz"
26522 fi
26523
26524 fi
26525
26526 if test "x$ZLIB_LINK" = "x" ; then
26527 if test "$wxUSE_ZLIB" = "sys" ; then
26528 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26529 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26530 { (exit 1); exit 1; }; }
26531 else
26532 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26533 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26534 wxUSE_ZLIB=builtin
26535 fi
26536 else
26537 wxUSE_ZLIB=sys
26538 fi
26539 fi
26540 fi
26541
26542
26543 PNG_LINK=
26544 if test "$wxUSE_LIBPNG" != "no" ; then
26545 cat >>confdefs.h <<\_ACEOF
26546 #define wxUSE_LIBPNG 1
26547 _ACEOF
26548
26549
26550 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26551 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26552 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26553 wxUSE_LIBPNG=sys
26554 fi
26555
26556 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26557 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26558 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26559 wxUSE_LIBPNG=builtin
26560 fi
26561
26562 if test "$wxUSE_MGL" != 1 ; then
26563 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26564 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26565 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26566 if test "${ac_cv_header_png_h+set}" = set; then
26567 echo $ECHO_N "(cached) $ECHO_C" >&6
26568 else
26569 if test "$cross_compiling" = yes; then
26570 unset ac_cv_header_png_h
26571
26572 else
26573 cat >conftest.$ac_ext <<_ACEOF
26574 /* confdefs.h. */
26575 _ACEOF
26576 cat confdefs.h >>conftest.$ac_ext
26577 cat >>conftest.$ac_ext <<_ACEOF
26578 /* end confdefs.h. */
26579
26580 #include <png.h>
26581 #include <stdio.h>
26582
26583 int main()
26584 {
26585 FILE *f=fopen("conftestval", "w");
26586 if (!f) exit(1);
26587 fprintf(f, "%s",
26588 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26589 exit(0);
26590 }
26591
26592 _ACEOF
26593 rm -f conftest$ac_exeext
26594 if { (ac_try="$ac_link"
26595 case "(($ac_try" in
26596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26597 *) ac_try_echo=$ac_try;;
26598 esac
26599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26600 (eval "$ac_link") 2>&5
26601 ac_status=$?
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26604 { (case "(($ac_try" in
26605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26606 *) ac_try_echo=$ac_try;;
26607 esac
26608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26609 (eval "$ac_try") 2>&5
26610 ac_status=$?
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); }; }; then
26613 ac_cv_header_png_h=`cat conftestval`
26614 else
26615 echo "$as_me: program exited with status $ac_status" >&5
26616 echo "$as_me: failed program was:" >&5
26617 sed 's/^/| /' conftest.$ac_ext >&5
26618
26619 ( exit $ac_status )
26620 ac_cv_header_png_h=no
26621 fi
26622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26623 fi
26624
26625
26626
26627 fi
26628 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26629 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26630 { echo "$as_me:$LINENO: checking for png.h" >&5
26631 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26632 if test "${ac_cv_header_png_h+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26634 else
26635 cat >conftest.$ac_ext <<_ACEOF
26636 /* confdefs.h. */
26637 _ACEOF
26638 cat confdefs.h >>conftest.$ac_ext
26639 cat >>conftest.$ac_ext <<_ACEOF
26640 /* end confdefs.h. */
26641
26642
26643 #include <png.h>
26644 _ACEOF
26645 rm -f conftest.$ac_objext
26646 if { (ac_try="$ac_compile"
26647 case "(($ac_try" in
26648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26649 *) ac_try_echo=$ac_try;;
26650 esac
26651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26652 (eval "$ac_compile") 2>conftest.er1
26653 ac_status=$?
26654 grep -v '^ *+' conftest.er1 >conftest.err
26655 rm -f conftest.er1
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } && {
26659 test -z "$ac_c_werror_flag" ||
26660 test ! -s conftest.err
26661 } && test -s conftest.$ac_objext; then
26662 ac_cv_header_png_h=yes
26663 else
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.$ac_ext >&5
26666
26667 ac_cv_header_png_h=no
26668 fi
26669
26670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26671 fi
26672 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26673 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26674
26675
26676
26677 if test "$ac_cv_header_png_h" = "yes"; then
26678 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26679 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26680 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26681 echo $ECHO_N "(cached) $ECHO_C" >&6
26682 else
26683 ac_check_lib_save_LIBS=$LIBS
26684 LIBS="-lpng -lz -lm $LIBS"
26685 cat >conftest.$ac_ext <<_ACEOF
26686 /* confdefs.h. */
26687 _ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691
26692 /* Override any GCC internal prototype to avoid an error.
26693 Use char because int might match the return type of a GCC
26694 builtin and then its argument prototype would still apply. */
26695 #ifdef __cplusplus
26696 extern "C"
26697 #endif
26698 char png_check_sig ();
26699 int
26700 main ()
26701 {
26702 return png_check_sig ();
26703 ;
26704 return 0;
26705 }
26706 _ACEOF
26707 rm -f conftest.$ac_objext conftest$ac_exeext
26708 if { (ac_try="$ac_link"
26709 case "(($ac_try" in
26710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26711 *) ac_try_echo=$ac_try;;
26712 esac
26713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26714 (eval "$ac_link") 2>conftest.er1
26715 ac_status=$?
26716 grep -v '^ *+' conftest.er1 >conftest.err
26717 rm -f conftest.er1
26718 cat conftest.err >&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } && {
26721 test -z "$ac_c_werror_flag" ||
26722 test ! -s conftest.err
26723 } && test -s conftest$ac_exeext &&
26724 $as_test_x conftest$ac_exeext; then
26725 ac_cv_lib_png_png_check_sig=yes
26726 else
26727 echo "$as_me: failed program was:" >&5
26728 sed 's/^/| /' conftest.$ac_ext >&5
26729
26730 ac_cv_lib_png_png_check_sig=no
26731 fi
26732
26733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26734 conftest$ac_exeext conftest.$ac_ext
26735 LIBS=$ac_check_lib_save_LIBS
26736 fi
26737 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26738 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26739 if test $ac_cv_lib_png_png_check_sig = yes; then
26740 PNG_LINK=" -lpng -lz"
26741 fi
26742
26743 fi
26744
26745 if test "x$PNG_LINK" = "x" ; then
26746 if test "$wxUSE_LIBPNG" = "sys" ; then
26747 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26748 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26749 { (exit 1); exit 1; }; }
26750 else
26751 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26752 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26753 wxUSE_LIBPNG=builtin
26754 fi
26755 else
26756 wxUSE_LIBPNG=sys
26757 fi
26758 fi
26759 fi
26760 fi
26761
26762
26763 JPEG_LINK=
26764 if test "$wxUSE_LIBJPEG" != "no" ; then
26765 cat >>confdefs.h <<\_ACEOF
26766 #define wxUSE_LIBJPEG 1
26767 _ACEOF
26768
26769
26770 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26771 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26772 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26773 wxUSE_LIBJPEG=sys
26774 fi
26775
26776 if test "$wxUSE_MGL" != 1 ; then
26777 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26778 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26779 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26780 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26781 echo $ECHO_N "(cached) $ECHO_C" >&6
26782 else
26783 cat >conftest.$ac_ext <<_ACEOF
26784 /* confdefs.h. */
26785 _ACEOF
26786 cat confdefs.h >>conftest.$ac_ext
26787 cat >>conftest.$ac_ext <<_ACEOF
26788 /* end confdefs.h. */
26789
26790 #undef HAVE_STDLIB_H
26791 #include <stdio.h>
26792 #include <jpeglib.h>
26793
26794 int
26795 main ()
26796 {
26797
26798
26799 ;
26800 return 0;
26801 }
26802 _ACEOF
26803 rm -f conftest.$ac_objext
26804 if { (ac_try="$ac_compile"
26805 case "(($ac_try" in
26806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26807 *) ac_try_echo=$ac_try;;
26808 esac
26809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26810 (eval "$ac_compile") 2>conftest.er1
26811 ac_status=$?
26812 grep -v '^ *+' conftest.er1 >conftest.err
26813 rm -f conftest.er1
26814 cat conftest.err >&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } && {
26817 test -z "$ac_c_werror_flag" ||
26818 test ! -s conftest.err
26819 } && test -s conftest.$ac_objext; then
26820 ac_cv_header_jpeglib_h=yes
26821 else
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.$ac_ext >&5
26824
26825 ac_cv_header_jpeglib_h=no
26826
26827 fi
26828
26829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26830
26831 fi
26832
26833 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26834 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26835
26836 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26837 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26838 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26839 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 else
26842 ac_check_lib_save_LIBS=$LIBS
26843 LIBS="-ljpeg $LIBS"
26844 cat >conftest.$ac_ext <<_ACEOF
26845 /* confdefs.h. */
26846 _ACEOF
26847 cat confdefs.h >>conftest.$ac_ext
26848 cat >>conftest.$ac_ext <<_ACEOF
26849 /* end confdefs.h. */
26850
26851 /* Override any GCC internal prototype to avoid an error.
26852 Use char because int might match the return type of a GCC
26853 builtin and then its argument prototype would still apply. */
26854 #ifdef __cplusplus
26855 extern "C"
26856 #endif
26857 char jpeg_read_header ();
26858 int
26859 main ()
26860 {
26861 return jpeg_read_header ();
26862 ;
26863 return 0;
26864 }
26865 _ACEOF
26866 rm -f conftest.$ac_objext conftest$ac_exeext
26867 if { (ac_try="$ac_link"
26868 case "(($ac_try" in
26869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26870 *) ac_try_echo=$ac_try;;
26871 esac
26872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26873 (eval "$ac_link") 2>conftest.er1
26874 ac_status=$?
26875 grep -v '^ *+' conftest.er1 >conftest.err
26876 rm -f conftest.er1
26877 cat conftest.err >&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); } && {
26880 test -z "$ac_c_werror_flag" ||
26881 test ! -s conftest.err
26882 } && test -s conftest$ac_exeext &&
26883 $as_test_x conftest$ac_exeext; then
26884 ac_cv_lib_jpeg_jpeg_read_header=yes
26885 else
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26888
26889 ac_cv_lib_jpeg_jpeg_read_header=no
26890 fi
26891
26892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26893 conftest$ac_exeext conftest.$ac_ext
26894 LIBS=$ac_check_lib_save_LIBS
26895 fi
26896 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26897 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26898 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26899 JPEG_LINK=" -ljpeg"
26900 fi
26901
26902 fi
26903
26904 if test "x$JPEG_LINK" = "x" ; then
26905 if test "$wxUSE_LIBJPEG" = "sys" ; then
26906 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26907 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26908 { (exit 1); exit 1; }; }
26909 else
26910 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26911 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26912 wxUSE_LIBJPEG=builtin
26913 fi
26914 else
26915 wxUSE_LIBJPEG=sys
26916
26917 if test "$wxUSE_MSW" = 1; then
26918 { echo "$as_me:$LINENO: checking for boolean" >&5
26919 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26920 if test "${ac_cv_type_boolean+set}" = set; then
26921 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 else
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h. */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 #include <windows.h>
26930
26931 typedef boolean ac__type_new_;
26932 int
26933 main ()
26934 {
26935 if ((ac__type_new_ *) 0)
26936 return 0;
26937 if (sizeof (ac__type_new_))
26938 return 0;
26939 ;
26940 return 0;
26941 }
26942 _ACEOF
26943 rm -f conftest.$ac_objext
26944 if { (ac_try="$ac_compile"
26945 case "(($ac_try" in
26946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26948 esac
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_compile") 2>conftest.er1
26951 ac_status=$?
26952 grep -v '^ *+' conftest.er1 >conftest.err
26953 rm -f conftest.er1
26954 cat conftest.err >&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } && {
26957 test -z "$ac_c_werror_flag" ||
26958 test ! -s conftest.err
26959 } && test -s conftest.$ac_objext; then
26960 ac_cv_type_boolean=yes
26961 else
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26964
26965 ac_cv_type_boolean=no
26966 fi
26967
26968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26969 fi
26970 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26971 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26972 if test $ac_cv_type_boolean = yes; then
26973
26974 cat >>confdefs.h <<_ACEOF
26975 #define HAVE_BOOLEAN 1
26976 _ACEOF
26977
26978
26979 { echo "$as_me:$LINENO: checking for boolean" >&5
26980 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26981 if test "${ac_cv_type_boolean+set}" = set; then
26982 echo $ECHO_N "(cached) $ECHO_C" >&6
26983 else
26984 cat >conftest.$ac_ext <<_ACEOF
26985 /* confdefs.h. */
26986 _ACEOF
26987 cat confdefs.h >>conftest.$ac_ext
26988 cat >>conftest.$ac_ext <<_ACEOF
26989 /* end confdefs.h. */
26990
26991 #undef HAVE_BOOLEAN
26992 #include <stdio.h>
26993 #include <jpeglib.h>
26994
26995
26996 typedef boolean ac__type_new_;
26997 int
26998 main ()
26999 {
27000 if ((ac__type_new_ *) 0)
27001 return 0;
27002 if (sizeof (ac__type_new_))
27003 return 0;
27004 ;
27005 return 0;
27006 }
27007 _ACEOF
27008 rm -f conftest.$ac_objext
27009 if { (ac_try="$ac_compile"
27010 case "(($ac_try" in
27011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27012 *) ac_try_echo=$ac_try;;
27013 esac
27014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27015 (eval "$ac_compile") 2>conftest.er1
27016 ac_status=$?
27017 grep -v '^ *+' conftest.er1 >conftest.err
27018 rm -f conftest.er1
27019 cat conftest.err >&5
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); } && {
27022 test -z "$ac_c_werror_flag" ||
27023 test ! -s conftest.err
27024 } && test -s conftest.$ac_objext; then
27025 ac_cv_type_boolean=yes
27026 else
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.$ac_ext >&5
27029
27030 ac_cv_type_boolean=no
27031 fi
27032
27033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27034 fi
27035 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27036 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27037
27038 # The cast to long int works around a bug in the HP C Compiler
27039 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27040 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27041 # This bug is HP SR number 8606223364.
27042 { echo "$as_me:$LINENO: checking size of boolean" >&5
27043 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27044 if test "${ac_cv_sizeof_boolean+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 else
27047 if test "$cross_compiling" = yes; then
27048 # Depending upon the size, compute the lo and hi bounds.
27049 cat >conftest.$ac_ext <<_ACEOF
27050 /* confdefs.h. */
27051 _ACEOF
27052 cat confdefs.h >>conftest.$ac_ext
27053 cat >>conftest.$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27055
27056 #undef HAVE_BOOLEAN
27057 #include <stdio.h>
27058 #include <jpeglib.h>
27059
27060
27061 typedef boolean ac__type_sizeof_;
27062 int
27063 main ()
27064 {
27065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27066 test_array [0] = 0
27067
27068 ;
27069 return 0;
27070 }
27071 _ACEOF
27072 rm -f conftest.$ac_objext
27073 if { (ac_try="$ac_compile"
27074 case "(($ac_try" in
27075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27076 *) ac_try_echo=$ac_try;;
27077 esac
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_compile") 2>conftest.er1
27080 ac_status=$?
27081 grep -v '^ *+' conftest.er1 >conftest.err
27082 rm -f conftest.er1
27083 cat conftest.err >&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } && {
27086 test -z "$ac_c_werror_flag" ||
27087 test ! -s conftest.err
27088 } && test -s conftest.$ac_objext; then
27089 ac_lo=0 ac_mid=0
27090 while :; do
27091 cat >conftest.$ac_ext <<_ACEOF
27092 /* confdefs.h. */
27093 _ACEOF
27094 cat confdefs.h >>conftest.$ac_ext
27095 cat >>conftest.$ac_ext <<_ACEOF
27096 /* end confdefs.h. */
27097
27098 #undef HAVE_BOOLEAN
27099 #include <stdio.h>
27100 #include <jpeglib.h>
27101
27102
27103 typedef boolean ac__type_sizeof_;
27104 int
27105 main ()
27106 {
27107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27108 test_array [0] = 0
27109
27110 ;
27111 return 0;
27112 }
27113 _ACEOF
27114 rm -f conftest.$ac_objext
27115 if { (ac_try="$ac_compile"
27116 case "(($ac_try" in
27117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27118 *) ac_try_echo=$ac_try;;
27119 esac
27120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27121 (eval "$ac_compile") 2>conftest.er1
27122 ac_status=$?
27123 grep -v '^ *+' conftest.er1 >conftest.err
27124 rm -f conftest.er1
27125 cat conftest.err >&5
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); } && {
27128 test -z "$ac_c_werror_flag" ||
27129 test ! -s conftest.err
27130 } && test -s conftest.$ac_objext; then
27131 ac_hi=$ac_mid; break
27132 else
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.$ac_ext >&5
27135
27136 ac_lo=`expr $ac_mid + 1`
27137 if test $ac_lo -le $ac_mid; then
27138 ac_lo= ac_hi=
27139 break
27140 fi
27141 ac_mid=`expr 2 '*' $ac_mid + 1`
27142 fi
27143
27144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27145 done
27146 else
27147 echo "$as_me: failed program was:" >&5
27148 sed 's/^/| /' conftest.$ac_ext >&5
27149
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156
27157 #undef HAVE_BOOLEAN
27158 #include <stdio.h>
27159 #include <jpeglib.h>
27160
27161
27162 typedef boolean ac__type_sizeof_;
27163 int
27164 main ()
27165 {
27166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27167 test_array [0] = 0
27168
27169 ;
27170 return 0;
27171 }
27172 _ACEOF
27173 rm -f conftest.$ac_objext
27174 if { (ac_try="$ac_compile"
27175 case "(($ac_try" in
27176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27177 *) ac_try_echo=$ac_try;;
27178 esac
27179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27180 (eval "$ac_compile") 2>conftest.er1
27181 ac_status=$?
27182 grep -v '^ *+' conftest.er1 >conftest.err
27183 rm -f conftest.er1
27184 cat conftest.err >&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); } && {
27187 test -z "$ac_c_werror_flag" ||
27188 test ! -s conftest.err
27189 } && test -s conftest.$ac_objext; then
27190 ac_hi=-1 ac_mid=-1
27191 while :; do
27192 cat >conftest.$ac_ext <<_ACEOF
27193 /* confdefs.h. */
27194 _ACEOF
27195 cat confdefs.h >>conftest.$ac_ext
27196 cat >>conftest.$ac_ext <<_ACEOF
27197 /* end confdefs.h. */
27198
27199 #undef HAVE_BOOLEAN
27200 #include <stdio.h>
27201 #include <jpeglib.h>
27202
27203
27204 typedef boolean ac__type_sizeof_;
27205 int
27206 main ()
27207 {
27208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27209 test_array [0] = 0
27210
27211 ;
27212 return 0;
27213 }
27214 _ACEOF
27215 rm -f conftest.$ac_objext
27216 if { (ac_try="$ac_compile"
27217 case "(($ac_try" in
27218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27219 *) ac_try_echo=$ac_try;;
27220 esac
27221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27222 (eval "$ac_compile") 2>conftest.er1
27223 ac_status=$?
27224 grep -v '^ *+' conftest.er1 >conftest.err
27225 rm -f conftest.er1
27226 cat conftest.err >&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); } && {
27229 test -z "$ac_c_werror_flag" ||
27230 test ! -s conftest.err
27231 } && test -s conftest.$ac_objext; then
27232 ac_lo=$ac_mid; break
27233 else
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.$ac_ext >&5
27236
27237 ac_hi=`expr '(' $ac_mid ')' - 1`
27238 if test $ac_mid -le $ac_hi; then
27239 ac_lo= ac_hi=
27240 break
27241 fi
27242 ac_mid=`expr 2 '*' $ac_mid`
27243 fi
27244
27245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27246 done
27247 else
27248 echo "$as_me: failed program was:" >&5
27249 sed 's/^/| /' conftest.$ac_ext >&5
27250
27251 ac_lo= ac_hi=
27252 fi
27253
27254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27255 fi
27256
27257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27258 # Binary search between lo and hi bounds.
27259 while test "x$ac_lo" != "x$ac_hi"; do
27260 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27261 cat >conftest.$ac_ext <<_ACEOF
27262 /* confdefs.h. */
27263 _ACEOF
27264 cat confdefs.h >>conftest.$ac_ext
27265 cat >>conftest.$ac_ext <<_ACEOF
27266 /* end confdefs.h. */
27267
27268 #undef HAVE_BOOLEAN
27269 #include <stdio.h>
27270 #include <jpeglib.h>
27271
27272
27273 typedef boolean ac__type_sizeof_;
27274 int
27275 main ()
27276 {
27277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27278 test_array [0] = 0
27279
27280 ;
27281 return 0;
27282 }
27283 _ACEOF
27284 rm -f conftest.$ac_objext
27285 if { (ac_try="$ac_compile"
27286 case "(($ac_try" in
27287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27288 *) ac_try_echo=$ac_try;;
27289 esac
27290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27291 (eval "$ac_compile") 2>conftest.er1
27292 ac_status=$?
27293 grep -v '^ *+' conftest.er1 >conftest.err
27294 rm -f conftest.er1
27295 cat conftest.err >&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); } && {
27298 test -z "$ac_c_werror_flag" ||
27299 test ! -s conftest.err
27300 } && test -s conftest.$ac_objext; then
27301 ac_hi=$ac_mid
27302 else
27303 echo "$as_me: failed program was:" >&5
27304 sed 's/^/| /' conftest.$ac_ext >&5
27305
27306 ac_lo=`expr '(' $ac_mid ')' + 1`
27307 fi
27308
27309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27310 done
27311 case $ac_lo in
27312 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27313 '') if test "$ac_cv_type_boolean" = yes; then
27314 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27315 See \`config.log' for more details." >&5
27316 echo "$as_me: error: cannot compute sizeof (boolean)
27317 See \`config.log' for more details." >&2;}
27318 { (exit 77); exit 77; }; }
27319 else
27320 ac_cv_sizeof_boolean=0
27321 fi ;;
27322 esac
27323 else
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h. */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330
27331 #undef HAVE_BOOLEAN
27332 #include <stdio.h>
27333 #include <jpeglib.h>
27334
27335
27336 typedef boolean ac__type_sizeof_;
27337 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27338 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27339 #include <stdio.h>
27340 #include <stdlib.h>
27341 int
27342 main ()
27343 {
27344
27345 FILE *f = fopen ("conftest.val", "w");
27346 if (! f)
27347 return 1;
27348 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27349 {
27350 long int i = longval ();
27351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27352 return 1;
27353 fprintf (f, "%ld\n", i);
27354 }
27355 else
27356 {
27357 unsigned long int i = ulongval ();
27358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27359 return 1;
27360 fprintf (f, "%lu\n", i);
27361 }
27362 return ferror (f) || fclose (f) != 0;
27363
27364 ;
27365 return 0;
27366 }
27367 _ACEOF
27368 rm -f conftest$ac_exeext
27369 if { (ac_try="$ac_link"
27370 case "(($ac_try" in
27371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27372 *) ac_try_echo=$ac_try;;
27373 esac
27374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27375 (eval "$ac_link") 2>&5
27376 ac_status=$?
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27379 { (case "(($ac_try" in
27380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27381 *) ac_try_echo=$ac_try;;
27382 esac
27383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27384 (eval "$ac_try") 2>&5
27385 ac_status=$?
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); }; }; then
27388 ac_cv_sizeof_boolean=`cat conftest.val`
27389 else
27390 echo "$as_me: program exited with status $ac_status" >&5
27391 echo "$as_me: failed program was:" >&5
27392 sed 's/^/| /' conftest.$ac_ext >&5
27393
27394 ( exit $ac_status )
27395 if test "$ac_cv_type_boolean" = yes; then
27396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27397 See \`config.log' for more details." >&5
27398 echo "$as_me: error: cannot compute sizeof (boolean)
27399 See \`config.log' for more details." >&2;}
27400 { (exit 77); exit 77; }; }
27401 else
27402 ac_cv_sizeof_boolean=0
27403 fi
27404 fi
27405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27406 fi
27407 rm -f conftest.val
27408 fi
27409 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27410 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27411
27412
27413
27414 cat >>confdefs.h <<_ACEOF
27415 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27416 _ACEOF
27417
27418
27419 cat >>confdefs.h <<_ACEOF
27420 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27421 _ACEOF
27422
27423
27424 fi
27425
27426 fi
27427 fi
27428 fi
27429 fi
27430 fi
27431
27432
27433 TIFF_LINK=
27434 TIFF_PREREQ_LINKS=-lm
27435 if test "$wxUSE_LIBTIFF" != "no" ; then
27436 cat >>confdefs.h <<\_ACEOF
27437 #define wxUSE_LIBTIFF 1
27438 _ACEOF
27439
27440
27441 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27442 if test "$wxUSE_LIBJPEG" = "sys"; then
27443 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27444 fi
27445 if test "$wxUSE_ZLIB" = "sys"; then
27446 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27447 fi
27448 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27449 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27450 if test "${ac_cv_header_tiffio_h+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453 cat >conftest.$ac_ext <<_ACEOF
27454 /* confdefs.h. */
27455 _ACEOF
27456 cat confdefs.h >>conftest.$ac_ext
27457 cat >>conftest.$ac_ext <<_ACEOF
27458 /* end confdefs.h. */
27459
27460
27461
27462 #include <tiffio.h>
27463 _ACEOF
27464 rm -f conftest.$ac_objext
27465 if { (ac_try="$ac_compile"
27466 case "(($ac_try" in
27467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27468 *) ac_try_echo=$ac_try;;
27469 esac
27470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27471 (eval "$ac_compile") 2>conftest.er1
27472 ac_status=$?
27473 grep -v '^ *+' conftest.er1 >conftest.err
27474 rm -f conftest.er1
27475 cat conftest.err >&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); } && {
27478 test -z "$ac_c_werror_flag" ||
27479 test ! -s conftest.err
27480 } && test -s conftest.$ac_objext; then
27481 ac_cv_header_tiffio_h=yes
27482 else
27483 echo "$as_me: failed program was:" >&5
27484 sed 's/^/| /' conftest.$ac_ext >&5
27485
27486 ac_cv_header_tiffio_h=no
27487 fi
27488
27489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27490 fi
27491 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27492 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27493 if test $ac_cv_header_tiffio_h = yes; then
27494
27495 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27496 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27497 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27499 else
27500 ac_check_lib_save_LIBS=$LIBS
27501 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27502 cat >conftest.$ac_ext <<_ACEOF
27503 /* confdefs.h. */
27504 _ACEOF
27505 cat confdefs.h >>conftest.$ac_ext
27506 cat >>conftest.$ac_ext <<_ACEOF
27507 /* end confdefs.h. */
27508
27509 /* Override any GCC internal prototype to avoid an error.
27510 Use char because int might match the return type of a GCC
27511 builtin and then its argument prototype would still apply. */
27512 #ifdef __cplusplus
27513 extern "C"
27514 #endif
27515 char TIFFError ();
27516 int
27517 main ()
27518 {
27519 return TIFFError ();
27520 ;
27521 return 0;
27522 }
27523 _ACEOF
27524 rm -f conftest.$ac_objext conftest$ac_exeext
27525 if { (ac_try="$ac_link"
27526 case "(($ac_try" in
27527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27528 *) ac_try_echo=$ac_try;;
27529 esac
27530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27531 (eval "$ac_link") 2>conftest.er1
27532 ac_status=$?
27533 grep -v '^ *+' conftest.er1 >conftest.err
27534 rm -f conftest.er1
27535 cat conftest.err >&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); } && {
27538 test -z "$ac_c_werror_flag" ||
27539 test ! -s conftest.err
27540 } && test -s conftest$ac_exeext &&
27541 $as_test_x conftest$ac_exeext; then
27542 ac_cv_lib_tiff_TIFFError=yes
27543 else
27544 echo "$as_me: failed program was:" >&5
27545 sed 's/^/| /' conftest.$ac_ext >&5
27546
27547 ac_cv_lib_tiff_TIFFError=no
27548 fi
27549
27550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27551 conftest$ac_exeext conftest.$ac_ext
27552 LIBS=$ac_check_lib_save_LIBS
27553 fi
27554 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27555 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27556 if test $ac_cv_lib_tiff_TIFFError = yes; then
27557 TIFF_LINK=" -ltiff"
27558 fi
27559
27560
27561 fi
27562
27563
27564
27565 if test "x$TIFF_LINK" = "x" ; then
27566 if test "$wxUSE_LIBTIFF" = "sys" ; then
27567 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27568 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27569 { (exit 1); exit 1; }; }
27570 else
27571 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27572 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27573 wxUSE_LIBTIFF=builtin
27574 fi
27575 else
27576 wxUSE_LIBTIFF=sys
27577 fi
27578 fi
27579 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27580 if test "$wxUSE_LIBJPEG" = "no"; then
27581 ac_configure_args="$ac_configure_args --disable-jpeg"
27582 fi
27583 subdirs="$subdirs src/tiff"
27584
27585 fi
27586 fi
27587
27588
27589 if test "$wxUSE_WCHAR_T" != "yes"; then
27590 if test "$wxUSE_EXPAT" != "no"; then
27591 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27592 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27593 wxUSE_EXPAT=no
27594 fi
27595 if test "$wxUSE_XML" != "no"; then
27596 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27597 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27598 wxUSE_XML=no
27599 fi
27600 fi
27601
27602 if test "$wxUSE_EXPAT" != "no"; then
27603 wxUSE_XML=yes
27604 cat >>confdefs.h <<\_ACEOF
27605 #define wxUSE_EXPAT 1
27606 _ACEOF
27607
27608 cat >>confdefs.h <<\_ACEOF
27609 #define wxUSE_XML 1
27610 _ACEOF
27611
27612
27613 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27614 { echo "$as_me:$LINENO: checking for expat.h" >&5
27615 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27616 if test "${ac_cv_header_expat_h+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 else
27619 cat >conftest.$ac_ext <<_ACEOF
27620 /* confdefs.h. */
27621 _ACEOF
27622 cat confdefs.h >>conftest.$ac_ext
27623 cat >>conftest.$ac_ext <<_ACEOF
27624 /* end confdefs.h. */
27625
27626
27627 #include <expat.h>
27628 _ACEOF
27629 rm -f conftest.$ac_objext
27630 if { (ac_try="$ac_compile"
27631 case "(($ac_try" in
27632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27633 *) ac_try_echo=$ac_try;;
27634 esac
27635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27636 (eval "$ac_compile") 2>conftest.er1
27637 ac_status=$?
27638 grep -v '^ *+' conftest.er1 >conftest.err
27639 rm -f conftest.er1
27640 cat conftest.err >&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } && {
27643 test -z "$ac_c_werror_flag" ||
27644 test ! -s conftest.err
27645 } && test -s conftest.$ac_objext; then
27646 ac_cv_header_expat_h=yes
27647 else
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27650
27651 ac_cv_header_expat_h=no
27652 fi
27653
27654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27655 fi
27656 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27657 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27658 if test $ac_cv_header_expat_h = yes; then
27659 found_expat_h=1
27660 fi
27661
27662
27663 if test "x$found_expat_h" = "x1"; then
27664 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27665 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27666 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27667 echo $ECHO_N "(cached) $ECHO_C" >&6
27668 else
27669
27670 ac_ext=cpp
27671 ac_cpp='$CXXCPP $CPPFLAGS'
27672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27675
27676 cat >conftest.$ac_ext <<_ACEOF
27677 /* confdefs.h. */
27678 _ACEOF
27679 cat confdefs.h >>conftest.$ac_ext
27680 cat >>conftest.$ac_ext <<_ACEOF
27681 /* end confdefs.h. */
27682 #include <expat.h>
27683 int
27684 main ()
27685 {
27686
27687 ;
27688 return 0;
27689 }
27690 _ACEOF
27691 rm -f conftest.$ac_objext
27692 if { (ac_try="$ac_compile"
27693 case "(($ac_try" in
27694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27695 *) ac_try_echo=$ac_try;;
27696 esac
27697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27698 (eval "$ac_compile") 2>conftest.er1
27699 ac_status=$?
27700 grep -v '^ *+' conftest.er1 >conftest.err
27701 rm -f conftest.er1
27702 cat conftest.err >&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } && {
27705 test -z "$ac_cxx_werror_flag" ||
27706 test ! -s conftest.err
27707 } && test -s conftest.$ac_objext; then
27708 wx_cv_expat_is_not_broken=yes
27709 else
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.$ac_ext >&5
27712
27713 wx_cv_expat_is_not_broken=no
27714
27715 fi
27716
27717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27718 ac_ext=c
27719 ac_cpp='$CPP $CPPFLAGS'
27720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27723
27724
27725
27726 fi
27727 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27728 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27729 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27730 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27731 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27732 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27733 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 else
27735 ac_check_lib_save_LIBS=$LIBS
27736 LIBS="-lexpat $LIBS"
27737 cat >conftest.$ac_ext <<_ACEOF
27738 /* confdefs.h. */
27739 _ACEOF
27740 cat confdefs.h >>conftest.$ac_ext
27741 cat >>conftest.$ac_ext <<_ACEOF
27742 /* end confdefs.h. */
27743
27744 /* Override any GCC internal prototype to avoid an error.
27745 Use char because int might match the return type of a GCC
27746 builtin and then its argument prototype would still apply. */
27747 #ifdef __cplusplus
27748 extern "C"
27749 #endif
27750 char XML_ParserCreate ();
27751 int
27752 main ()
27753 {
27754 return XML_ParserCreate ();
27755 ;
27756 return 0;
27757 }
27758 _ACEOF
27759 rm -f conftest.$ac_objext conftest$ac_exeext
27760 if { (ac_try="$ac_link"
27761 case "(($ac_try" in
27762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27763 *) ac_try_echo=$ac_try;;
27764 esac
27765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27766 (eval "$ac_link") 2>conftest.er1
27767 ac_status=$?
27768 grep -v '^ *+' conftest.er1 >conftest.err
27769 rm -f conftest.er1
27770 cat conftest.err >&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); } && {
27773 test -z "$ac_c_werror_flag" ||
27774 test ! -s conftest.err
27775 } && test -s conftest$ac_exeext &&
27776 $as_test_x conftest$ac_exeext; then
27777 ac_cv_lib_expat_XML_ParserCreate=yes
27778 else
27779 echo "$as_me: failed program was:" >&5
27780 sed 's/^/| /' conftest.$ac_ext >&5
27781
27782 ac_cv_lib_expat_XML_ParserCreate=no
27783 fi
27784
27785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27786 conftest$ac_exeext conftest.$ac_ext
27787 LIBS=$ac_check_lib_save_LIBS
27788 fi
27789 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27790 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27791 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27792 EXPAT_LINK=" -lexpat"
27793 fi
27794
27795 fi
27796 fi
27797 if test "x$EXPAT_LINK" = "x" ; then
27798 if test "$wxUSE_EXPAT" = "sys" ; then
27799 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27800 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27801 { (exit 1); exit 1; }; }
27802 else
27803 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27804 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27805 wxUSE_EXPAT=builtin
27806 fi
27807 else
27808 wxUSE_EXPAT=sys
27809 fi
27810 fi
27811 if test "$wxUSE_EXPAT" = "builtin" ; then
27812 subdirs="$subdirs src/expat"
27813
27814 fi
27815 fi
27816
27817
27818
27819 if test "$wxUSE_LIBMSPACK" != "no"; then
27820 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27821 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27822 if test "${ac_cv_header_mspack_h+set}" = set; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 else
27825 cat >conftest.$ac_ext <<_ACEOF
27826 /* confdefs.h. */
27827 _ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831
27832
27833 #include <mspack.h>
27834 _ACEOF
27835 rm -f conftest.$ac_objext
27836 if { (ac_try="$ac_compile"
27837 case "(($ac_try" in
27838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27839 *) ac_try_echo=$ac_try;;
27840 esac
27841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27842 (eval "$ac_compile") 2>conftest.er1
27843 ac_status=$?
27844 grep -v '^ *+' conftest.er1 >conftest.err
27845 rm -f conftest.er1
27846 cat conftest.err >&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } && {
27849 test -z "$ac_c_werror_flag" ||
27850 test ! -s conftest.err
27851 } && test -s conftest.$ac_objext; then
27852 ac_cv_header_mspack_h=yes
27853 else
27854 echo "$as_me: failed program was:" >&5
27855 sed 's/^/| /' conftest.$ac_ext >&5
27856
27857 ac_cv_header_mspack_h=no
27858 fi
27859
27860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27861 fi
27862 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27863 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27864 if test $ac_cv_header_mspack_h = yes; then
27865 found_mspack_h=1
27866 fi
27867
27868
27869 if test "x$found_mspack_h" = "x1"; then
27870 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27871 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27872 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27873 echo $ECHO_N "(cached) $ECHO_C" >&6
27874 else
27875 ac_check_lib_save_LIBS=$LIBS
27876 LIBS="-lmspack $LIBS"
27877 cat >conftest.$ac_ext <<_ACEOF
27878 /* confdefs.h. */
27879 _ACEOF
27880 cat confdefs.h >>conftest.$ac_ext
27881 cat >>conftest.$ac_ext <<_ACEOF
27882 /* end confdefs.h. */
27883
27884 /* Override any GCC internal prototype to avoid an error.
27885 Use char because int might match the return type of a GCC
27886 builtin and then its argument prototype would still apply. */
27887 #ifdef __cplusplus
27888 extern "C"
27889 #endif
27890 char mspack_create_chm_decompressor ();
27891 int
27892 main ()
27893 {
27894 return mspack_create_chm_decompressor ();
27895 ;
27896 return 0;
27897 }
27898 _ACEOF
27899 rm -f conftest.$ac_objext conftest$ac_exeext
27900 if { (ac_try="$ac_link"
27901 case "(($ac_try" in
27902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27903 *) ac_try_echo=$ac_try;;
27904 esac
27905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27906 (eval "$ac_link") 2>conftest.er1
27907 ac_status=$?
27908 grep -v '^ *+' conftest.er1 >conftest.err
27909 rm -f conftest.er1
27910 cat conftest.err >&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } && {
27913 test -z "$ac_c_werror_flag" ||
27914 test ! -s conftest.err
27915 } && test -s conftest$ac_exeext &&
27916 $as_test_x conftest$ac_exeext; then
27917 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27918 else
27919 echo "$as_me: failed program was:" >&5
27920 sed 's/^/| /' conftest.$ac_ext >&5
27921
27922 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27923 fi
27924
27925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27926 conftest$ac_exeext conftest.$ac_ext
27927 LIBS=$ac_check_lib_save_LIBS
27928 fi
27929 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27930 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27931 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27932 MSPACK_LINK=" -lmspack"
27933 fi
27934
27935 fi
27936 if test "x$MSPACK_LINK" = "x" ; then
27937 wxUSE_LIBMSPACK=no
27938 fi
27939 fi
27940
27941 if test "$wxUSE_LIBMSPACK" != "no"; then
27942 cat >>confdefs.h <<\_ACEOF
27943 #define wxUSE_LIBMSPACK 1
27944 _ACEOF
27945
27946 fi
27947
27948
27949
27950 AFMINSTALL=
27951 WIN32INSTALL=
27952
27953 TOOLKIT=
27954 TOOLKIT_INCLUDE=
27955 WIDGET_SET=
27956
27957 if test "$USE_WIN32" = 1 ; then
27958
27959 for ac_header in w32api.h
27960 do
27961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27965 echo $ECHO_N "(cached) $ECHO_C" >&6
27966 else
27967 cat >conftest.$ac_ext <<_ACEOF
27968 /* confdefs.h. */
27969 _ACEOF
27970 cat confdefs.h >>conftest.$ac_ext
27971 cat >>conftest.$ac_ext <<_ACEOF
27972 /* end confdefs.h. */
27973
27974
27975 #include <$ac_header>
27976 _ACEOF
27977 rm -f conftest.$ac_objext
27978 if { (ac_try="$ac_compile"
27979 case "(($ac_try" in
27980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27982 esac
27983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_compile") 2>conftest.er1
27985 ac_status=$?
27986 grep -v '^ *+' conftest.er1 >conftest.err
27987 rm -f conftest.er1
27988 cat conftest.err >&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } && {
27991 test -z "$ac_c_werror_flag" ||
27992 test ! -s conftest.err
27993 } && test -s conftest.$ac_objext; then
27994 eval "$as_ac_Header=yes"
27995 else
27996 echo "$as_me: failed program was:" >&5
27997 sed 's/^/| /' conftest.$ac_ext >&5
27998
27999 eval "$as_ac_Header=no"
28000 fi
28001
28002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28003 fi
28004 ac_res=`eval echo '${'$as_ac_Header'}'`
28005 { echo "$as_me:$LINENO: result: $ac_res" >&5
28006 echo "${ECHO_T}$ac_res" >&6; }
28007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28008 cat >>confdefs.h <<_ACEOF
28009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28010 _ACEOF
28011
28012 fi
28013
28014 done
28015
28016 { echo "$as_me:$LINENO: checking for windows.h" >&5
28017 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28018 if test "${ac_cv_header_windows_h+set}" = set; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28020 else
28021 cat >conftest.$ac_ext <<_ACEOF
28022 /* confdefs.h. */
28023 _ACEOF
28024 cat confdefs.h >>conftest.$ac_ext
28025 cat >>conftest.$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28027
28028
28029 #include <windows.h>
28030 _ACEOF
28031 rm -f conftest.$ac_objext
28032 if { (ac_try="$ac_compile"
28033 case "(($ac_try" in
28034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28035 *) ac_try_echo=$ac_try;;
28036 esac
28037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28038 (eval "$ac_compile") 2>conftest.er1
28039 ac_status=$?
28040 grep -v '^ *+' conftest.er1 >conftest.err
28041 rm -f conftest.er1
28042 cat conftest.err >&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); } && {
28045 test -z "$ac_c_werror_flag" ||
28046 test ! -s conftest.err
28047 } && test -s conftest.$ac_objext; then
28048 ac_cv_header_windows_h=yes
28049 else
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28052
28053 ac_cv_header_windows_h=no
28054 fi
28055
28056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28057 fi
28058 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28059 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28060 if test $ac_cv_header_windows_h = yes; then
28061 :
28062 else
28063
28064 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28065 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28066 { (exit 1); exit 1; }; }
28067
28068 fi
28069
28070
28071
28072 case "${host}" in
28073 x86_64-*-mingw32* )
28074 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28075 ;;
28076 * )
28077 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28078 ;;
28079 esac
28080 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28081 LIBS="$LIBS -loleacc"
28082 fi
28083
28084 case "${host}" in
28085 *-*-cygwin* )
28086 LIBS="$LIBS -lkernel32 -luser32"
28087 esac
28088
28089 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28090 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28091
28092 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28093
28094 WIN32INSTALL=win32install
28095
28096 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28097 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28098 if test "${ac_cv_header_pbt_h+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28100 else
28101 cat >conftest.$ac_ext <<_ACEOF
28102 /* confdefs.h. */
28103 _ACEOF
28104 cat confdefs.h >>conftest.$ac_ext
28105 cat >>conftest.$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28107
28108
28109 #include <pbt.h>
28110 _ACEOF
28111 rm -f conftest.$ac_objext
28112 if { (ac_try="$ac_compile"
28113 case "(($ac_try" in
28114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28115 *) ac_try_echo=$ac_try;;
28116 esac
28117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28118 (eval "$ac_compile") 2>conftest.er1
28119 ac_status=$?
28120 grep -v '^ *+' conftest.er1 >conftest.err
28121 rm -f conftest.er1
28122 cat conftest.err >&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); } && {
28125 test -z "$ac_c_werror_flag" ||
28126 test ! -s conftest.err
28127 } && test -s conftest.$ac_objext; then
28128 ac_cv_header_pbt_h=yes
28129 else
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28132
28133 ac_cv_header_pbt_h=no
28134 fi
28135
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 fi
28138 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28139 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28140 if test $ac_cv_header_pbt_h = yes; then
28141 :
28142 else
28143 cat >>confdefs.h <<\_ACEOF
28144 #define NEED_PBT_H 1
28145 _ACEOF
28146
28147 fi
28148
28149
28150 fi
28151
28152 if test "$wxUSE_GUI" = "yes"; then
28153 USE_GUI=1
28154
28155 GUI_TK_LIBRARY=
28156
28157 WXGTK12=
28158 WXGTK127=
28159 WXGTK2=
28160 WXGPE=
28161
28162 if test "$wxUSE_COCOA" = 1 ; then
28163 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28164 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28165 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28166 wxUSE_PRINTING_ARCHITECTURE=no
28167 fi
28168 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28169 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28170 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28171 wxUSE_DRAG_AND_DROP=no
28172 fi
28173 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28174 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28175 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28176 wxUSE_DRAGIMAGE=no
28177 fi
28178 fi
28179
28180 if test "$wxUSE_MSW" = 1 ; then
28181 TOOLKIT=MSW
28182 GUIDIST=MSW_DIST
28183
28184 case "${host}" in
28185 *-*-mingw32* )
28186 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28187 esac
28188 fi
28189
28190 if test "$wxUSE_GTK" = 1; then
28191 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28192 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28193
28194 gtk_version_cached=1
28195 if test "${wx_cv_lib_gtk+set}" = set; then
28196 echo $ECHO_N "(cached) $ECHO_C" >&6
28197 else
28198
28199 gtk_version_cached=0
28200 { echo "$as_me:$LINENO: result: " >&5
28201 echo "${ECHO_T}" >&6; }
28202
28203 GTK_MODULES=
28204 if test "$wxUSE_THREADS" = "yes"; then
28205 GTK_MODULES=gthread
28206 fi
28207
28208 wx_cv_lib_gtk=
28209 if test "x$wxGTK_VERSION" != "x1"
28210 then
28211 case "${host}" in
28212 *-*-solaris2* )
28213 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28214 enable_gtktest=no
28215 fi
28216 esac
28217
28218 # Check whether --enable-gtktest was given.
28219 if test "${enable_gtktest+set}" = set; then
28220 enableval=$enable_gtktest;
28221 else
28222 enable_gtktest=yes
28223 fi
28224
28225
28226 pkg_config_args=gtk+-2.0
28227 for module in . $GTK_MODULES
28228 do
28229 case "$module" in
28230 gthread)
28231 pkg_config_args="$pkg_config_args gthread-2.0"
28232 ;;
28233 esac
28234 done
28235
28236 no_gtk=""
28237
28238 # Extract the first word of "pkg-config", so it can be a program name with args.
28239 set dummy pkg-config; ac_word=$2
28240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28242 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 else
28245 case $PKG_CONFIG in
28246 [\\/]* | ?:[\\/]*)
28247 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28248 ;;
28249 *)
28250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28251 for as_dir in $PATH
28252 do
28253 IFS=$as_save_IFS
28254 test -z "$as_dir" && as_dir=.
28255 for ac_exec_ext in '' $ac_executable_extensions; do
28256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28257 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28259 break 2
28260 fi
28261 done
28262 done
28263 IFS=$as_save_IFS
28264
28265 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28266 ;;
28267 esac
28268 fi
28269 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28270 if test -n "$PKG_CONFIG"; then
28271 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28272 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28273 else
28274 { echo "$as_me:$LINENO: result: no" >&5
28275 echo "${ECHO_T}no" >&6; }
28276 fi
28277
28278
28279
28280 if test x$PKG_CONFIG != xno ; then
28281 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28282 :
28283 else
28284 echo "*** pkg-config too old; version 0.7 or better required."
28285 no_gtk=yes
28286 PKG_CONFIG=no
28287 fi
28288 else
28289 no_gtk=yes
28290 fi
28291
28292 min_gtk_version=2.4.0
28293 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28294 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28295
28296 if test x$PKG_CONFIG != xno ; then
28297 ## don't try to run the test against uninstalled libtool libs
28298 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28299 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28300 enable_gtktest=no
28301 fi
28302
28303 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28304 :
28305 else
28306 no_gtk=yes
28307 fi
28308 fi
28309
28310 if test x"$no_gtk" = x ; then
28311 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28312 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28313 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28315 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28317 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28318 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28319 if test "x$enable_gtktest" = "xyes" ; then
28320 ac_save_CFLAGS="$CFLAGS"
28321 ac_save_LIBS="$LIBS"
28322 CFLAGS="$CFLAGS $GTK_CFLAGS"
28323 LIBS="$GTK_LIBS $LIBS"
28324 rm -f conf.gtktest
28325 if test "$cross_compiling" = yes; then
28326 echo $ac_n "cross compiling; assumed OK... $ac_c"
28327 else
28328 cat >conftest.$ac_ext <<_ACEOF
28329 /* confdefs.h. */
28330 _ACEOF
28331 cat confdefs.h >>conftest.$ac_ext
28332 cat >>conftest.$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28334
28335 #include <gtk/gtk.h>
28336 #include <stdio.h>
28337 #include <stdlib.h>
28338
28339 int
28340 main ()
28341 {
28342 int major, minor, micro;
28343 char *tmp_version;
28344
28345 system ("touch conf.gtktest");
28346
28347 /* HP/UX 9 (%@#!) writes to sscanf strings */
28348 tmp_version = g_strdup("$min_gtk_version");
28349 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28350 printf("%s, bad version string\n", "$min_gtk_version");
28351 exit(1);
28352 }
28353
28354 if ((gtk_major_version != $gtk_config_major_version) ||
28355 (gtk_minor_version != $gtk_config_minor_version) ||
28356 (gtk_micro_version != $gtk_config_micro_version))
28357 {
28358 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28359 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28360 gtk_major_version, gtk_minor_version, gtk_micro_version);
28361 printf ("*** was found! If pkg-config was correct, then it is best\n");
28362 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28363 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28364 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28365 printf("*** required on your system.\n");
28366 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28367 printf("*** to point to the correct configuration files\n");
28368 }
28369 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28370 (gtk_minor_version != GTK_MINOR_VERSION) ||
28371 (gtk_micro_version != GTK_MICRO_VERSION))
28372 {
28373 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28374 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28375 printf("*** library (version %d.%d.%d)\n",
28376 gtk_major_version, gtk_minor_version, gtk_micro_version);
28377 }
28378 else
28379 {
28380 if ((gtk_major_version > major) ||
28381 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28382 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28383 {
28384 return 0;
28385 }
28386 else
28387 {
28388 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28389 gtk_major_version, gtk_minor_version, gtk_micro_version);
28390 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28391 major, minor, micro);
28392 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28393 printf("***\n");
28394 printf("*** If you have already installed a sufficiently new version, this error\n");
28395 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28396 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28397 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28398 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28399 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28400 printf("*** so that the correct libraries are found at run-time))\n");
28401 }
28402 }
28403 return 1;
28404 }
28405
28406 _ACEOF
28407 rm -f conftest$ac_exeext
28408 if { (ac_try="$ac_link"
28409 case "(($ac_try" in
28410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28411 *) ac_try_echo=$ac_try;;
28412 esac
28413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28414 (eval "$ac_link") 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28418 { (case "(($ac_try" in
28419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28420 *) ac_try_echo=$ac_try;;
28421 esac
28422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28423 (eval "$ac_try") 2>&5
28424 ac_status=$?
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); }; }; then
28427 :
28428 else
28429 echo "$as_me: program exited with status $ac_status" >&5
28430 echo "$as_me: failed program was:" >&5
28431 sed 's/^/| /' conftest.$ac_ext >&5
28432
28433 ( exit $ac_status )
28434 no_gtk=yes
28435 fi
28436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28437 fi
28438
28439
28440 CFLAGS="$ac_save_CFLAGS"
28441 LIBS="$ac_save_LIBS"
28442 fi
28443 fi
28444 if test "x$no_gtk" = x ; then
28445 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28446 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28447 wx_cv_lib_gtk=2.0
28448 else
28449 { echo "$as_me:$LINENO: result: no" >&5
28450 echo "${ECHO_T}no" >&6; }
28451 if test "$PKG_CONFIG" = "no" ; then
28452 echo "*** A new enough version of pkg-config was not found."
28453 echo "*** See http://pkgconfig.sourceforge.net"
28454 else
28455 if test -f conf.gtktest ; then
28456 :
28457 else
28458 echo "*** Could not run GTK+ test program, checking why..."
28459 ac_save_CFLAGS="$CFLAGS"
28460 ac_save_LIBS="$LIBS"
28461 CFLAGS="$CFLAGS $GTK_CFLAGS"
28462 LIBS="$LIBS $GTK_LIBS"
28463 cat >conftest.$ac_ext <<_ACEOF
28464 /* confdefs.h. */
28465 _ACEOF
28466 cat confdefs.h >>conftest.$ac_ext
28467 cat >>conftest.$ac_ext <<_ACEOF
28468 /* end confdefs.h. */
28469
28470 #include <gtk/gtk.h>
28471 #include <stdio.h>
28472
28473 int
28474 main ()
28475 {
28476 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28477 ;
28478 return 0;
28479 }
28480 _ACEOF
28481 rm -f conftest.$ac_objext conftest$ac_exeext
28482 if { (ac_try="$ac_link"
28483 case "(($ac_try" in
28484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28485 *) ac_try_echo=$ac_try;;
28486 esac
28487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28488 (eval "$ac_link") 2>conftest.er1
28489 ac_status=$?
28490 grep -v '^ *+' conftest.er1 >conftest.err
28491 rm -f conftest.er1
28492 cat conftest.err >&5
28493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494 (exit $ac_status); } && {
28495 test -z "$ac_c_werror_flag" ||
28496 test ! -s conftest.err
28497 } && test -s conftest$ac_exeext &&
28498 $as_test_x conftest$ac_exeext; then
28499 echo "*** The test program compiled, but did not run. This usually means"
28500 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28501 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28502 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28503 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28504 echo "*** is required on your system"
28505 echo "***"
28506 echo "*** If you have an old version installed, it is best to remove it, although"
28507 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28508 else
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28511
28512 echo "*** The test program failed to compile or link. See the file config.log for the"
28513 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28514 fi
28515
28516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28517 conftest$ac_exeext conftest.$ac_ext
28518 CFLAGS="$ac_save_CFLAGS"
28519 LIBS="$ac_save_LIBS"
28520 fi
28521 fi
28522 GTK_CFLAGS=""
28523 GTK_LIBS=""
28524 :
28525 fi
28526
28527
28528 rm -f conf.gtktest
28529
28530
28531 case "${host}" in
28532 *-*-solaris2* )
28533 if test "$wxUSE_SHARED" != "yes"; then
28534 GTK_LIBS="$GTK_LIBS -lX11"
28535 fi
28536 esac
28537 fi
28538
28539 if test -z "$wx_cv_lib_gtk"; then
28540 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28541
28542 # Check whether --with-gtk-prefix was given.
28543 if test "${with_gtk_prefix+set}" = set; then
28544 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28545 else
28546 gtk_config_prefix=""
28547 fi
28548
28549
28550 # Check whether --with-gtk-exec-prefix was given.
28551 if test "${with_gtk_exec_prefix+set}" = set; then
28552 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28553 else
28554 gtk_config_exec_prefix=""
28555 fi
28556
28557 # Check whether --enable-gtktest was given.
28558 if test "${enable_gtktest+set}" = set; then
28559 enableval=$enable_gtktest;
28560 else
28561 enable_gtktest=yes
28562 fi
28563
28564
28565 for module in . $GTK_MODULES
28566 do
28567 case "$module" in
28568 gthread)
28569 gtk_config_args="$gtk_config_args gthread"
28570 ;;
28571 esac
28572 done
28573
28574 if test x$gtk_config_exec_prefix != x ; then
28575 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28576 if test x${GTK_CONFIG+set} != xset ; then
28577 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28578 fi
28579 fi
28580 if test x$gtk_config_prefix != x ; then
28581 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28582 if test x${GTK_CONFIG+set} != xset ; then
28583 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28584 fi
28585 fi
28586
28587 # Extract the first word of "gtk-config", so it can be a program name with args.
28588 set dummy gtk-config; ac_word=$2
28589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28591 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28593 else
28594 case $GTK_CONFIG in
28595 [\\/]* | ?:[\\/]*)
28596 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28597 ;;
28598 *)
28599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28600 for as_dir in $PATH
28601 do
28602 IFS=$as_save_IFS
28603 test -z "$as_dir" && as_dir=.
28604 for ac_exec_ext in '' $ac_executable_extensions; do
28605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28606 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28608 break 2
28609 fi
28610 done
28611 done
28612 IFS=$as_save_IFS
28613
28614 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28615 ;;
28616 esac
28617 fi
28618 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28619 if test -n "$GTK_CONFIG"; then
28620 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28621 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28622 else
28623 { echo "$as_me:$LINENO: result: no" >&5
28624 echo "${ECHO_T}no" >&6; }
28625 fi
28626
28627
28628 min_gtk_version=1.2.7
28629 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28630 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28631 no_gtk=""
28632 if test "$GTK_CONFIG" = "no" ; then
28633 no_gtk=yes
28634 else
28635 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28636 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28637 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28639 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28641 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28643 if test "x$enable_gtktest" = "xyes" ; then
28644 ac_save_CFLAGS="$CFLAGS"
28645 ac_save_LIBS="$LIBS"
28646 CFLAGS="$CFLAGS $GTK_CFLAGS"
28647 LIBS="$GTK_LIBS $LIBS"
28648 rm -f conf.gtktest
28649 if test "$cross_compiling" = yes; then
28650 echo $ac_n "cross compiling; assumed OK... $ac_c"
28651 else
28652 cat >conftest.$ac_ext <<_ACEOF
28653 /* confdefs.h. */
28654 _ACEOF
28655 cat confdefs.h >>conftest.$ac_ext
28656 cat >>conftest.$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28658
28659 #include <gtk/gtk.h>
28660 #include <stdio.h>
28661 #include <stdlib.h>
28662
28663 int
28664 main ()
28665 {
28666 int major, minor, micro;
28667 char *tmp_version;
28668
28669 system ("touch conf.gtktest");
28670
28671 /* HP/UX 9 (%@#!) writes to sscanf strings */
28672 tmp_version = g_strdup("$min_gtk_version");
28673 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28674 printf("%s, bad version string\n", "$min_gtk_version");
28675 exit(1);
28676 }
28677
28678 if ((gtk_major_version != $gtk_config_major_version) ||
28679 (gtk_minor_version != $gtk_config_minor_version) ||
28680 (gtk_micro_version != $gtk_config_micro_version))
28681 {
28682 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28683 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28684 gtk_major_version, gtk_minor_version, gtk_micro_version);
28685 printf ("*** was found! If gtk-config was correct, then it is best\n");
28686 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28687 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28688 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28689 printf("*** required on your system.\n");
28690 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28691 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28692 printf("*** before re-running configure\n");
28693 }
28694 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28695 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28696 (gtk_minor_version != GTK_MINOR_VERSION) ||
28697 (gtk_micro_version != GTK_MICRO_VERSION))
28698 {
28699 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28700 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28701 printf("*** library (version %d.%d.%d)\n",
28702 gtk_major_version, gtk_minor_version, gtk_micro_version);
28703 }
28704 #endif /* defined (GTK_MAJOR_VERSION) ... */
28705 else
28706 {
28707 if ((gtk_major_version > major) ||
28708 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28709 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28710 {
28711 return 0;
28712 }
28713 else
28714 {
28715 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28716 gtk_major_version, gtk_minor_version, gtk_micro_version);
28717 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28718 major, minor, micro);
28719 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28720 printf("***\n");
28721 printf("*** If you have already installed a sufficiently new version, this error\n");
28722 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28723 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28724 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28725 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28726 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28727 printf("*** so that the correct libraries are found at run-time))\n");
28728 }
28729 }
28730 return 1;
28731 }
28732
28733 _ACEOF
28734 rm -f conftest$ac_exeext
28735 if { (ac_try="$ac_link"
28736 case "(($ac_try" in
28737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28738 *) ac_try_echo=$ac_try;;
28739 esac
28740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28741 (eval "$ac_link") 2>&5
28742 ac_status=$?
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28745 { (case "(($ac_try" in
28746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28747 *) ac_try_echo=$ac_try;;
28748 esac
28749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28750 (eval "$ac_try") 2>&5
28751 ac_status=$?
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; }; then
28754 :
28755 else
28756 echo "$as_me: program exited with status $ac_status" >&5
28757 echo "$as_me: failed program was:" >&5
28758 sed 's/^/| /' conftest.$ac_ext >&5
28759
28760 ( exit $ac_status )
28761 no_gtk=yes
28762 fi
28763 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28764 fi
28765
28766
28767 CFLAGS="$ac_save_CFLAGS"
28768 LIBS="$ac_save_LIBS"
28769 fi
28770 fi
28771 if test "x$no_gtk" = x ; then
28772 { echo "$as_me:$LINENO: result: yes" >&5
28773 echo "${ECHO_T}yes" >&6; }
28774 wx_cv_lib_gtk=1.2.7
28775 else
28776 { echo "$as_me:$LINENO: result: no" >&5
28777 echo "${ECHO_T}no" >&6; }
28778 if test "$GTK_CONFIG" = "no" ; then
28779 echo "*** The gtk-config script installed by GTK could not be found"
28780 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28781 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28782 echo "*** full path to gtk-config."
28783 else
28784 if test -f conf.gtktest ; then
28785 :
28786 else
28787 echo "*** Could not run GTK test program, checking why..."
28788 CFLAGS="$CFLAGS $GTK_CFLAGS"
28789 LIBS="$LIBS $GTK_LIBS"
28790 cat >conftest.$ac_ext <<_ACEOF
28791 /* confdefs.h. */
28792 _ACEOF
28793 cat confdefs.h >>conftest.$ac_ext
28794 cat >>conftest.$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28796
28797 #include <gtk/gtk.h>
28798 #include <stdio.h>
28799
28800 int
28801 main ()
28802 {
28803 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28804 ;
28805 return 0;
28806 }
28807 _ACEOF
28808 rm -f conftest.$ac_objext conftest$ac_exeext
28809 if { (ac_try="$ac_link"
28810 case "(($ac_try" in
28811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28812 *) ac_try_echo=$ac_try;;
28813 esac
28814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28815 (eval "$ac_link") 2>conftest.er1
28816 ac_status=$?
28817 grep -v '^ *+' conftest.er1 >conftest.err
28818 rm -f conftest.er1
28819 cat conftest.err >&5
28820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821 (exit $ac_status); } && {
28822 test -z "$ac_c_werror_flag" ||
28823 test ! -s conftest.err
28824 } && test -s conftest$ac_exeext &&
28825 $as_test_x conftest$ac_exeext; then
28826 echo "*** The test program compiled, but did not run. This usually means"
28827 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28828 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28829 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28830 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28831 echo "*** is required on your system"
28832 echo "***"
28833 echo "*** If you have an old version installed, it is best to remove it, although"
28834 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28835 echo "***"
28836 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28837 echo "*** came with the system with the command"
28838 echo "***"
28839 echo "*** rpm --erase --nodeps gtk gtk-devel"
28840 else
28841 echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.$ac_ext >&5
28843
28844 echo "*** The test program failed to compile or link. See the file config.log for the"
28845 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28846 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28847 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28848 fi
28849
28850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28851 conftest$ac_exeext conftest.$ac_ext
28852 CFLAGS="$ac_save_CFLAGS"
28853 LIBS="$ac_save_LIBS"
28854 fi
28855 fi
28856 GTK_CFLAGS=""
28857 GTK_LIBS=""
28858 :
28859 fi
28860
28861
28862 rm -f conf.gtktest
28863
28864
28865 if test -z "$wx_cv_lib_gtk"; then
28866
28867 # Check whether --with-gtk-prefix was given.
28868 if test "${with_gtk_prefix+set}" = set; then
28869 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28870 else
28871 gtk_config_prefix=""
28872 fi
28873
28874
28875 # Check whether --with-gtk-exec-prefix was given.
28876 if test "${with_gtk_exec_prefix+set}" = set; then
28877 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28878 else
28879 gtk_config_exec_prefix=""
28880 fi
28881
28882 # Check whether --enable-gtktest was given.
28883 if test "${enable_gtktest+set}" = set; then
28884 enableval=$enable_gtktest;
28885 else
28886 enable_gtktest=yes
28887 fi
28888
28889
28890 for module in . $GTK_MODULES
28891 do
28892 case "$module" in
28893 gthread)
28894 gtk_config_args="$gtk_config_args gthread"
28895 ;;
28896 esac
28897 done
28898
28899 if test x$gtk_config_exec_prefix != x ; then
28900 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28901 if test x${GTK_CONFIG+set} != xset ; then
28902 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28903 fi
28904 fi
28905 if test x$gtk_config_prefix != x ; then
28906 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28907 if test x${GTK_CONFIG+set} != xset ; then
28908 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28909 fi
28910 fi
28911
28912 # Extract the first word of "gtk-config", so it can be a program name with args.
28913 set dummy gtk-config; ac_word=$2
28914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28916 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 else
28919 case $GTK_CONFIG in
28920 [\\/]* | ?:[\\/]*)
28921 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28922 ;;
28923 *)
28924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28925 for as_dir in $PATH
28926 do
28927 IFS=$as_save_IFS
28928 test -z "$as_dir" && as_dir=.
28929 for ac_exec_ext in '' $ac_executable_extensions; do
28930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28931 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28933 break 2
28934 fi
28935 done
28936 done
28937 IFS=$as_save_IFS
28938
28939 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28940 ;;
28941 esac
28942 fi
28943 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28944 if test -n "$GTK_CONFIG"; then
28945 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28946 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28947 else
28948 { echo "$as_me:$LINENO: result: no" >&5
28949 echo "${ECHO_T}no" >&6; }
28950 fi
28951
28952
28953 min_gtk_version=1.2.3
28954 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28955 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28956 no_gtk=""
28957 if test "$GTK_CONFIG" = "no" ; then
28958 no_gtk=yes
28959 else
28960 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28961 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28962 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28964 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28966 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28968 if test "x$enable_gtktest" = "xyes" ; then
28969 ac_save_CFLAGS="$CFLAGS"
28970 ac_save_LIBS="$LIBS"
28971 CFLAGS="$CFLAGS $GTK_CFLAGS"
28972 LIBS="$GTK_LIBS $LIBS"
28973 rm -f conf.gtktest
28974 if test "$cross_compiling" = yes; then
28975 echo $ac_n "cross compiling; assumed OK... $ac_c"
28976 else
28977 cat >conftest.$ac_ext <<_ACEOF
28978 /* confdefs.h. */
28979 _ACEOF
28980 cat confdefs.h >>conftest.$ac_ext
28981 cat >>conftest.$ac_ext <<_ACEOF
28982 /* end confdefs.h. */
28983
28984 #include <gtk/gtk.h>
28985 #include <stdio.h>
28986 #include <stdlib.h>
28987
28988 int
28989 main ()
28990 {
28991 int major, minor, micro;
28992 char *tmp_version;
28993
28994 system ("touch conf.gtktest");
28995
28996 /* HP/UX 9 (%@#!) writes to sscanf strings */
28997 tmp_version = g_strdup("$min_gtk_version");
28998 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28999 printf("%s, bad version string\n", "$min_gtk_version");
29000 exit(1);
29001 }
29002
29003 if ((gtk_major_version != $gtk_config_major_version) ||
29004 (gtk_minor_version != $gtk_config_minor_version) ||
29005 (gtk_micro_version != $gtk_config_micro_version))
29006 {
29007 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29008 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29009 gtk_major_version, gtk_minor_version, gtk_micro_version);
29010 printf ("*** was found! If gtk-config was correct, then it is best\n");
29011 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29012 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29013 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29014 printf("*** required on your system.\n");
29015 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29016 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29017 printf("*** before re-running configure\n");
29018 }
29019 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29020 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29021 (gtk_minor_version != GTK_MINOR_VERSION) ||
29022 (gtk_micro_version != GTK_MICRO_VERSION))
29023 {
29024 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29025 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29026 printf("*** library (version %d.%d.%d)\n",
29027 gtk_major_version, gtk_minor_version, gtk_micro_version);
29028 }
29029 #endif /* defined (GTK_MAJOR_VERSION) ... */
29030 else
29031 {
29032 if ((gtk_major_version > major) ||
29033 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29034 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29035 {
29036 return 0;
29037 }
29038 else
29039 {
29040 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29041 gtk_major_version, gtk_minor_version, gtk_micro_version);
29042 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29043 major, minor, micro);
29044 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29045 printf("***\n");
29046 printf("*** If you have already installed a sufficiently new version, this error\n");
29047 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29048 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29049 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29050 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29051 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29052 printf("*** so that the correct libraries are found at run-time))\n");
29053 }
29054 }
29055 return 1;
29056 }
29057
29058 _ACEOF
29059 rm -f conftest$ac_exeext
29060 if { (ac_try="$ac_link"
29061 case "(($ac_try" in
29062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29063 *) ac_try_echo=$ac_try;;
29064 esac
29065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29066 (eval "$ac_link") 2>&5
29067 ac_status=$?
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29070 { (case "(($ac_try" in
29071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29072 *) ac_try_echo=$ac_try;;
29073 esac
29074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29075 (eval "$ac_try") 2>&5
29076 ac_status=$?
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29079 :
29080 else
29081 echo "$as_me: program exited with status $ac_status" >&5
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.$ac_ext >&5
29084
29085 ( exit $ac_status )
29086 no_gtk=yes
29087 fi
29088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29089 fi
29090
29091
29092 CFLAGS="$ac_save_CFLAGS"
29093 LIBS="$ac_save_LIBS"
29094 fi
29095 fi
29096 if test "x$no_gtk" = x ; then
29097 { echo "$as_me:$LINENO: result: yes" >&5
29098 echo "${ECHO_T}yes" >&6; }
29099 wx_cv_lib_gtk=1.2.3
29100 else
29101 { echo "$as_me:$LINENO: result: no" >&5
29102 echo "${ECHO_T}no" >&6; }
29103 if test "$GTK_CONFIG" = "no" ; then
29104 echo "*** The gtk-config script installed by GTK could not be found"
29105 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29106 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29107 echo "*** full path to gtk-config."
29108 else
29109 if test -f conf.gtktest ; then
29110 :
29111 else
29112 echo "*** Could not run GTK test program, checking why..."
29113 CFLAGS="$CFLAGS $GTK_CFLAGS"
29114 LIBS="$LIBS $GTK_LIBS"
29115 cat >conftest.$ac_ext <<_ACEOF
29116 /* confdefs.h. */
29117 _ACEOF
29118 cat confdefs.h >>conftest.$ac_ext
29119 cat >>conftest.$ac_ext <<_ACEOF
29120 /* end confdefs.h. */
29121
29122 #include <gtk/gtk.h>
29123 #include <stdio.h>
29124
29125 int
29126 main ()
29127 {
29128 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29129 ;
29130 return 0;
29131 }
29132 _ACEOF
29133 rm -f conftest.$ac_objext conftest$ac_exeext
29134 if { (ac_try="$ac_link"
29135 case "(($ac_try" in
29136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29137 *) ac_try_echo=$ac_try;;
29138 esac
29139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29140 (eval "$ac_link") 2>conftest.er1
29141 ac_status=$?
29142 grep -v '^ *+' conftest.er1 >conftest.err
29143 rm -f conftest.er1
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } && {
29147 test -z "$ac_c_werror_flag" ||
29148 test ! -s conftest.err
29149 } && test -s conftest$ac_exeext &&
29150 $as_test_x conftest$ac_exeext; then
29151 echo "*** The test program compiled, but did not run. This usually means"
29152 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29153 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29154 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29155 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29156 echo "*** is required on your system"
29157 echo "***"
29158 echo "*** If you have an old version installed, it is best to remove it, although"
29159 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29160 echo "***"
29161 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29162 echo "*** came with the system with the command"
29163 echo "***"
29164 echo "*** rpm --erase --nodeps gtk gtk-devel"
29165 else
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29168
29169 echo "*** The test program failed to compile or link. See the file config.log for the"
29170 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29171 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29172 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29173 fi
29174
29175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29176 conftest$ac_exeext conftest.$ac_ext
29177 CFLAGS="$ac_save_CFLAGS"
29178 LIBS="$ac_save_LIBS"
29179 fi
29180 fi
29181 GTK_CFLAGS=""
29182 GTK_LIBS=""
29183 :
29184 fi
29185
29186
29187 rm -f conf.gtktest
29188
29189 fi
29190 fi
29191 fi
29192
29193 if test -z "$wx_cv_lib_gtk"; then
29194 wx_cv_lib_gtk=none
29195 else
29196 wx_cv_cflags_gtk=$GTK_CFLAGS
29197 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29198 fi
29199
29200
29201 fi
29202
29203
29204 if test "$gtk_version_cached" = 1; then
29205 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29206 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29207 fi
29208
29209 case "$wx_cv_lib_gtk" in
29210 2.0) WXGTK2=1
29211 TOOLKIT_VERSION=2
29212 ;;
29213 1.2.7) WXGTK127=1
29214 WXGTK12=1
29215 ;;
29216 1.2.3) WXGTK12=1
29217 ;;
29218 *) { { echo "$as_me:$LINENO: error:
29219 The development files for GTK+ were not found. For GTK+ 2, please
29220 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29221 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29222 and that the version is 1.2.3 or above. Also check that the
29223 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29224 --libs' are in the LD_LIBRARY_PATH or equivalent.
29225 " >&5
29226 echo "$as_me: error:
29227 The development files for GTK+ were not found. For GTK+ 2, please
29228 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29229 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29230 and that the version is 1.2.3 or above. Also check that the
29231 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29232 --libs' are in the LD_LIBRARY_PATH or equivalent.
29233 " >&2;}
29234 { (exit 1); exit 1; }; }
29235 ;;
29236 esac
29237
29238 if test "$WXGTK2" = 1; then
29239 save_CFLAGS="$CFLAGS"
29240 save_LIBS="$LIBS"
29241 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29242 LIBS="$LIBS $wx_cv_libs_gtk"
29243
29244 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29245 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29246 cat >conftest.$ac_ext <<_ACEOF
29247 /* confdefs.h. */
29248 _ACEOF
29249 cat confdefs.h >>conftest.$ac_ext
29250 cat >>conftest.$ac_ext <<_ACEOF
29251 /* end confdefs.h. */
29252
29253 #include <gtk/gtk.h>
29254
29255 int
29256 main ()
29257 {
29258
29259 #if !GTK_CHECK_VERSION(2,10,0)
29260 Not GTK+ 2.10
29261 #endif
29262
29263 ;
29264 return 0;
29265 }
29266 _ACEOF
29267 rm -f conftest.$ac_objext
29268 if { (ac_try="$ac_compile"
29269 case "(($ac_try" in
29270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29271 *) ac_try_echo=$ac_try;;
29272 esac
29273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29274 (eval "$ac_compile") 2>conftest.er1
29275 ac_status=$?
29276 grep -v '^ *+' conftest.er1 >conftest.err
29277 rm -f conftest.er1
29278 cat conftest.err >&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } && {
29281 test -z "$ac_c_werror_flag" ||
29282 test ! -s conftest.err
29283 } && test -s conftest.$ac_objext; then
29284
29285 cat >>confdefs.h <<\_ACEOF
29286 #define __WXGTK210__ 1
29287 _ACEOF
29288
29289 cat >>confdefs.h <<\_ACEOF
29290 #define __WXGTK26__ 1
29291 _ACEOF
29292
29293 { echo "$as_me:$LINENO: result: yes" >&5
29294 echo "${ECHO_T}yes" >&6; }
29295 ac_wxgtk210=1
29296
29297 else
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29300
29301
29302 { echo "$as_me:$LINENO: result: no" >&5
29303 echo "${ECHO_T}no" >&6; }
29304 ac_wxgtk210=0
29305
29306 fi
29307
29308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29309
29310 if test "$ac_wxgtk210" = 0; then
29311 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29312 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29313 cat >conftest.$ac_ext <<_ACEOF
29314 /* confdefs.h. */
29315 _ACEOF
29316 cat confdefs.h >>conftest.$ac_ext
29317 cat >>conftest.$ac_ext <<_ACEOF
29318 /* end confdefs.h. */
29319
29320 #include <gtk/gtk.h>
29321
29322 int
29323 main ()
29324 {
29325
29326 #if !GTK_CHECK_VERSION(2,6,0)
29327 Not GTK+ 2.6
29328 #endif
29329
29330 ;
29331 return 0;
29332 }
29333 _ACEOF
29334 rm -f conftest.$ac_objext
29335 if { (ac_try="$ac_compile"
29336 case "(($ac_try" in
29337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29338 *) ac_try_echo=$ac_try;;
29339 esac
29340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29341 (eval "$ac_compile") 2>conftest.er1
29342 ac_status=$?
29343 grep -v '^ *+' conftest.er1 >conftest.err
29344 rm -f conftest.er1
29345 cat conftest.err >&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } && {
29348 test -z "$ac_c_werror_flag" ||
29349 test ! -s conftest.err
29350 } && test -s conftest.$ac_objext; then
29351
29352 cat >>confdefs.h <<\_ACEOF
29353 #define __WXGTK26__ 1
29354 _ACEOF
29355
29356 { echo "$as_me:$LINENO: result: yes" >&5
29357 echo "${ECHO_T}yes" >&6; }
29358 ac_wxgtk26=1
29359
29360 else
29361 echo "$as_me: failed program was:" >&5
29362 sed 's/^/| /' conftest.$ac_ext >&5
29363
29364
29365 { echo "$as_me:$LINENO: result: no" >&5
29366 echo "${ECHO_T}no" >&6; }
29367 ac_wxgtk26=0
29368
29369 fi
29370
29371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29372 fi
29373
29374 CFLAGS="$save_CFLAGS"
29375 LIBS="$save_LIBS"
29376 else
29377 if test "$wxUSE_UNICODE" = "yes"; then
29378 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29379 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29380 wxUSE_UNICODE=no
29381 fi
29382
29383 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29384 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29385 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29386 echo $ECHO_N "(cached) $ECHO_C" >&6
29387 else
29388 ac_check_lib_save_LIBS=$LIBS
29389 LIBS="-lgdk $LIBS"
29390 cat >conftest.$ac_ext <<_ACEOF
29391 /* confdefs.h. */
29392 _ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29396
29397 /* Override any GCC internal prototype to avoid an error.
29398 Use char because int might match the return type of a GCC
29399 builtin and then its argument prototype would still apply. */
29400 #ifdef __cplusplus
29401 extern "C"
29402 #endif
29403 char gdk_im_open ();
29404 int
29405 main ()
29406 {
29407 return gdk_im_open ();
29408 ;
29409 return 0;
29410 }
29411 _ACEOF
29412 rm -f conftest.$ac_objext conftest$ac_exeext
29413 if { (ac_try="$ac_link"
29414 case "(($ac_try" in
29415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416 *) ac_try_echo=$ac_try;;
29417 esac
29418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_link") 2>conftest.er1
29420 ac_status=$?
29421 grep -v '^ *+' conftest.er1 >conftest.err
29422 rm -f conftest.er1
29423 cat conftest.err >&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } && {
29426 test -z "$ac_c_werror_flag" ||
29427 test ! -s conftest.err
29428 } && test -s conftest$ac_exeext &&
29429 $as_test_x conftest$ac_exeext; then
29430 ac_cv_lib_gdk_gdk_im_open=yes
29431 else
29432 echo "$as_me: failed program was:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29434
29435 ac_cv_lib_gdk_gdk_im_open=no
29436 fi
29437
29438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29439 conftest$ac_exeext conftest.$ac_ext
29440 LIBS=$ac_check_lib_save_LIBS
29441 fi
29442 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29443 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29444 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29445 cat >>confdefs.h <<\_ACEOF
29446 #define HAVE_XIM 1
29447 _ACEOF
29448
29449 fi
29450
29451
29452 if test "$USE_DARWIN" != 1; then
29453
29454 for ac_func in poll
29455 do
29456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29457 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29459 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29460 echo $ECHO_N "(cached) $ECHO_C" >&6
29461 else
29462 cat >conftest.$ac_ext <<_ACEOF
29463 /* confdefs.h. */
29464 _ACEOF
29465 cat confdefs.h >>conftest.$ac_ext
29466 cat >>conftest.$ac_ext <<_ACEOF
29467 /* end confdefs.h. */
29468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29470 #define $ac_func innocuous_$ac_func
29471
29472 /* System header to define __stub macros and hopefully few prototypes,
29473 which can conflict with char $ac_func (); below.
29474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29475 <limits.h> exists even on freestanding compilers. */
29476
29477 #ifdef __STDC__
29478 # include <limits.h>
29479 #else
29480 # include <assert.h>
29481 #endif
29482
29483 #undef $ac_func
29484
29485 /* Override any GCC internal prototype to avoid an error.
29486 Use char because int might match the return type of a GCC
29487 builtin and then its argument prototype would still apply. */
29488 #ifdef __cplusplus
29489 extern "C"
29490 #endif
29491 char $ac_func ();
29492 /* The GNU C library defines this for functions which it implements
29493 to always fail with ENOSYS. Some functions are actually named
29494 something starting with __ and the normal name is an alias. */
29495 #if defined __stub_$ac_func || defined __stub___$ac_func
29496 choke me
29497 #endif
29498
29499 int
29500 main ()
29501 {
29502 return $ac_func ();
29503 ;
29504 return 0;
29505 }
29506 _ACEOF
29507 rm -f conftest.$ac_objext conftest$ac_exeext
29508 if { (ac_try="$ac_link"
29509 case "(($ac_try" in
29510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29511 *) ac_try_echo=$ac_try;;
29512 esac
29513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29514 (eval "$ac_link") 2>conftest.er1
29515 ac_status=$?
29516 grep -v '^ *+' conftest.er1 >conftest.err
29517 rm -f conftest.er1
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } && {
29521 test -z "$ac_c_werror_flag" ||
29522 test ! -s conftest.err
29523 } && test -s conftest$ac_exeext &&
29524 $as_test_x conftest$ac_exeext; then
29525 eval "$as_ac_var=yes"
29526 else
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29529
29530 eval "$as_ac_var=no"
29531 fi
29532
29533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29534 conftest$ac_exeext conftest.$ac_ext
29535 fi
29536 ac_res=`eval echo '${'$as_ac_var'}'`
29537 { echo "$as_me:$LINENO: result: $ac_res" >&5
29538 echo "${ECHO_T}$ac_res" >&6; }
29539 if test `eval echo '${'$as_ac_var'}'` = yes; then
29540 cat >>confdefs.h <<_ACEOF
29541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29542 _ACEOF
29543
29544 fi
29545 done
29546
29547 fi
29548 fi
29549
29550 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29551 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29552
29553 AFMINSTALL=afminstall
29554 TOOLKIT=GTK
29555 GUIDIST=GTK_DIST
29556
29557 if test "$wxUSE_GPE" = "yes"; then
29558 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29559 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29560
29561 ac_find_libraries=
29562 for ac_dir in $SEARCH_LIB;
29563 do
29564 for ac_extension in a so sl dylib dll.a; do
29565 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29566 ac_find_libraries=$ac_dir
29567 break 2
29568 fi
29569 done
29570 done
29571
29572 if test "$ac_find_libraries" != "" ; then
29573
29574 if test "$ac_find_libraries" = "default location"; then
29575 ac_path_to_link=""
29576 else
29577 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29578 result=$?
29579 if test $result = 0; then
29580 ac_path_to_link=""
29581 else
29582 ac_path_to_link=" -L$ac_find_libraries"
29583 fi
29584 fi
29585
29586 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29587 WXGPE=1
29588 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29589 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29590 else
29591 { echo "$as_me:$LINENO: result: not found" >&5
29592 echo "${ECHO_T}not found" >&6; }
29593 fi
29594
29595 fi
29596 fi
29597
29598 if test "$wxUSE_MGL" = 1; then
29599 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29600 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29601 if test "x$MGL_ROOT" = x ; then
29602 { echo "$as_me:$LINENO: result: not found" >&5
29603 echo "${ECHO_T}not found" >&6; }
29604 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29605 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29606 { (exit 1); exit 1; }; }
29607 else
29608 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29609 echo "${ECHO_T}$MGL_ROOT" >&6; }
29610 fi
29611
29612 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29613 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29614 case "${host}" in
29615 *-*-linux* )
29616 if test "x$wxUSE_SHARED" = xyes ; then
29617 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29618 else
29619 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29620 fi
29621 ;;
29622 *-pc-msdosdjgpp )
29623 mgl_os_candidates="dos32/dj2"
29624 ;;
29625 *)
29626 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29627 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29628 { (exit 1); exit 1; }; }
29629 esac
29630
29631 mgl_lib_type=""
29632 mgl_os=""
29633
29634 for mgl_os_i in $mgl_os_candidates ; do
29635 if test "x$mgl_os" = x ; then
29636 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29637 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29638 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29639 mgl_lib_type=debug
29640 mgl_os=$mgl_os_i
29641 fi
29642 fi
29643 if test "x$mgl_lib_type" = x ; then
29644 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29645 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29646 mgl_lib_type=release
29647 mgl_os=$mgl_os_i
29648 fi
29649 fi
29650 fi
29651 done
29652
29653 if test "x$mgl_os" = x ; then
29654 { echo "$as_me:$LINENO: result: not found" >&5
29655 echo "${ECHO_T}not found" >&6; }
29656 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29657 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29658 { (exit 1); exit 1; }; }
29659 fi
29660 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29661 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29662
29663 wxUSE_UNIVERSAL="yes"
29664
29665 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29666 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29667
29668 AFMINSTALL=afminstall
29669 TOOLKIT=MGL
29670 GUIDIST=MGL_DIST
29671 fi
29672
29673 if test "$wxUSE_DFB" = 1; then
29674
29675
29676 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29677 if test -n "$ac_tool_prefix"; then
29678 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29679 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29682 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29683 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 else
29685 case $PKG_CONFIG in
29686 [\\/]* | ?:[\\/]*)
29687 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29688 ;;
29689 *)
29690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29691 for as_dir in $PATH
29692 do
29693 IFS=$as_save_IFS
29694 test -z "$as_dir" && as_dir=.
29695 for ac_exec_ext in '' $ac_executable_extensions; do
29696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29697 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29699 break 2
29700 fi
29701 done
29702 done
29703 IFS=$as_save_IFS
29704
29705 ;;
29706 esac
29707 fi
29708 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29709 if test -n "$PKG_CONFIG"; then
29710 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29711 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29712 else
29713 { echo "$as_me:$LINENO: result: no" >&5
29714 echo "${ECHO_T}no" >&6; }
29715 fi
29716
29717
29718 fi
29719 if test -z "$ac_cv_path_PKG_CONFIG"; then
29720 ac_pt_PKG_CONFIG=$PKG_CONFIG
29721 # Extract the first word of "pkg-config", so it can be a program name with args.
29722 set dummy pkg-config; ac_word=$2
29723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29725 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29726 echo $ECHO_N "(cached) $ECHO_C" >&6
29727 else
29728 case $ac_pt_PKG_CONFIG in
29729 [\\/]* | ?:[\\/]*)
29730 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29731 ;;
29732 *)
29733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29734 for as_dir in $PATH
29735 do
29736 IFS=$as_save_IFS
29737 test -z "$as_dir" && as_dir=.
29738 for ac_exec_ext in '' $ac_executable_extensions; do
29739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29740 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29742 break 2
29743 fi
29744 done
29745 done
29746 IFS=$as_save_IFS
29747
29748 ;;
29749 esac
29750 fi
29751 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29752 if test -n "$ac_pt_PKG_CONFIG"; then
29753 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29754 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29755 else
29756 { echo "$as_me:$LINENO: result: no" >&5
29757 echo "${ECHO_T}no" >&6; }
29758 fi
29759
29760 if test "x$ac_pt_PKG_CONFIG" = x; then
29761 PKG_CONFIG=""
29762 else
29763 case $cross_compiling:$ac_tool_warned in
29764 yes:)
29765 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29766 whose name does not start with the host triplet. If you think this
29767 configuration is useful to you, please write to autoconf@gnu.org." >&5
29768 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29769 whose name does not start with the host triplet. If you think this
29770 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29771 ac_tool_warned=yes ;;
29772 esac
29773 PKG_CONFIG=$ac_pt_PKG_CONFIG
29774 fi
29775 else
29776 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29777 fi
29778
29779 fi
29780 if test -n "$PKG_CONFIG"; then
29781 _pkg_min_version=0.9.0
29782 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29783 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29784 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29785 { echo "$as_me:$LINENO: result: yes" >&5
29786 echo "${ECHO_T}yes" >&6; }
29787 else
29788 { echo "$as_me:$LINENO: result: no" >&5
29789 echo "${ECHO_T}no" >&6; }
29790 PKG_CONFIG=""
29791 fi
29792
29793 fi
29794
29795
29796 pkg_failed=no
29797 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29798 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29799
29800 if test -n "$PKG_CONFIG"; then
29801 if test -n "$DIRECTFB_CFLAGS"; then
29802 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29803 else
29804 if test -n "$PKG_CONFIG" && \
29805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29806 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29807 ac_status=$?
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; then
29810 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29811 else
29812 pkg_failed=yes
29813 fi
29814 fi
29815 else
29816 pkg_failed=untried
29817 fi
29818 if test -n "$PKG_CONFIG"; then
29819 if test -n "$DIRECTFB_LIBS"; then
29820 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29821 else
29822 if test -n "$PKG_CONFIG" && \
29823 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29824 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29825 ac_status=$?
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; then
29828 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29829 else
29830 pkg_failed=yes
29831 fi
29832 fi
29833 else
29834 pkg_failed=untried
29835 fi
29836
29837
29838
29839 if test $pkg_failed = yes; then
29840
29841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29842 _pkg_short_errors_supported=yes
29843 else
29844 _pkg_short_errors_supported=no
29845 fi
29846 if test $_pkg_short_errors_supported = yes; then
29847 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29848 else
29849 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29850 fi
29851 # Put the nasty error message in config.log where it belongs
29852 echo "$DIRECTFB_PKG_ERRORS" >&5
29853
29854
29855 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29856 echo "$as_me: error: DirectFB not found." >&2;}
29857 { (exit 1); exit 1; }; }
29858
29859
29860 elif test $pkg_failed = untried; then
29861
29862 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29863 echo "$as_me: error: DirectFB not found." >&2;}
29864 { (exit 1); exit 1; }; }
29865
29866
29867 else
29868 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29869 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29870 { echo "$as_me:$LINENO: result: yes" >&5
29871 echo "${ECHO_T}yes" >&6; }
29872
29873 wxUSE_UNIVERSAL="yes"
29874 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29875 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29876 TOOLKIT=DFB
29877 GUIDIST=DFB_DIST
29878
29879 fi
29880 fi
29881
29882 if test "$wxUSE_MICROWIN" = 1; then
29883 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29884 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29885 if test "x$MICROWINDOWS" = x ; then
29886 { echo "$as_me:$LINENO: result: not found" >&5
29887 echo "${ECHO_T}not found" >&6; }
29888 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29889 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29890 { (exit 1); exit 1; }; }
29891 else
29892 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29893 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29894 fi
29895
29896 if test -f $MICROWINDOWS/lib/libmwin.a; then
29897 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29898 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29899 else
29900 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29901 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29902 { (exit 1); exit 1; }; }
29903 fi
29904
29905 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29906 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29907
29908 wxUSE_UNIVERSAL="yes"
29909
29910 AFMINSTALL=afminstall
29911 TOOLKIT=MICROWIN
29912 GUIDIST=MICROWIN_DIST
29913
29914 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29915 fi
29916
29917 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29918 { echo "$as_me:$LINENO: checking for X" >&5
29919 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29920
29921
29922 # Check whether --with-x was given.
29923 if test "${with_x+set}" = set; then
29924 withval=$with_x;
29925 fi
29926
29927 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29928 if test "x$with_x" = xno; then
29929 # The user explicitly disabled X.
29930 have_x=disabled
29931 else
29932 case $x_includes,$x_libraries in #(
29933 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29934 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29935 { (exit 1); exit 1; }; };; #(
29936 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
29939 # One or both of the vars are not set, and there is no cached value.
29940 ac_x_includes=no ac_x_libraries=no
29941 rm -f -r conftest.dir
29942 if mkdir conftest.dir; then
29943 cd conftest.dir
29944 cat >Imakefile <<'_ACEOF'
29945 incroot:
29946 @echo incroot='${INCROOT}'
29947 usrlibdir:
29948 @echo usrlibdir='${USRLIBDIR}'
29949 libdir:
29950 @echo libdir='${LIBDIR}'
29951 _ACEOF
29952 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29953 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29954 for ac_var in incroot usrlibdir libdir; do
29955 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29956 done
29957 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29958 for ac_extension in a so sl; do
29959 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29960 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29961 ac_im_usrlibdir=$ac_im_libdir; break
29962 fi
29963 done
29964 # Screen out bogus values from the imake configuration. They are
29965 # bogus both because they are the default anyway, and because
29966 # using them would break gcc on systems where it needs fixed includes.
29967 case $ac_im_incroot in
29968 /usr/include) ac_x_includes= ;;
29969 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29970 esac
29971 case $ac_im_usrlibdir in
29972 /usr/lib | /lib) ;;
29973 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29974 esac
29975 fi
29976 cd ..
29977 rm -f -r conftest.dir
29978 fi
29979
29980 # Standard set of common directories for X headers.
29981 # Check X11 before X11Rn because it is often a symlink to the current release.
29982 ac_x_header_dirs='
29983 /usr/X11/include
29984 /usr/X11R6/include
29985 /usr/X11R5/include
29986 /usr/X11R4/include
29987
29988 /usr/include/X11
29989 /usr/include/X11R6
29990 /usr/include/X11R5
29991 /usr/include/X11R4
29992
29993 /usr/local/X11/include
29994 /usr/local/X11R6/include
29995 /usr/local/X11R5/include
29996 /usr/local/X11R4/include
29997
29998 /usr/local/include/X11
29999 /usr/local/include/X11R6
30000 /usr/local/include/X11R5
30001 /usr/local/include/X11R4
30002
30003 /usr/X386/include
30004 /usr/x386/include
30005 /usr/XFree86/include/X11
30006
30007 /usr/include
30008 /usr/local/include
30009 /usr/unsupported/include
30010 /usr/athena/include
30011 /usr/local/x11r5/include
30012 /usr/lpp/Xamples/include
30013
30014 /usr/openwin/include
30015 /usr/openwin/share/include'
30016
30017 if test "$ac_x_includes" = no; then
30018 # Guess where to find include files, by looking for Xlib.h.
30019 # First, try using that file with no special directory specified.
30020 cat >conftest.$ac_ext <<_ACEOF
30021 /* confdefs.h. */
30022 _ACEOF
30023 cat confdefs.h >>conftest.$ac_ext
30024 cat >>conftest.$ac_ext <<_ACEOF
30025 /* end confdefs.h. */
30026 #include <X11/Xlib.h>
30027 _ACEOF
30028 if { (ac_try="$ac_cpp conftest.$ac_ext"
30029 case "(($ac_try" in
30030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30031 *) ac_try_echo=$ac_try;;
30032 esac
30033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } >/dev/null && {
30041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30042 test ! -s conftest.err
30043 }; then
30044 # We can compile using X headers with no special include directory.
30045 ac_x_includes=
30046 else
30047 echo "$as_me: failed program was:" >&5
30048 sed 's/^/| /' conftest.$ac_ext >&5
30049
30050 for ac_dir in $ac_x_header_dirs; do
30051 if test -r "$ac_dir/X11/Xlib.h"; then
30052 ac_x_includes=$ac_dir
30053 break
30054 fi
30055 done
30056 fi
30057
30058 rm -f conftest.err conftest.$ac_ext
30059 fi # $ac_x_includes = no
30060
30061 if test "$ac_x_libraries" = no; then
30062 # Check for the libraries.
30063 # See if we find them without any special options.
30064 # Don't add to $LIBS permanently.
30065 ac_save_LIBS=$LIBS
30066 LIBS="-lX11 $LIBS"
30067 cat >conftest.$ac_ext <<_ACEOF
30068 /* confdefs.h. */
30069 _ACEOF
30070 cat confdefs.h >>conftest.$ac_ext
30071 cat >>conftest.$ac_ext <<_ACEOF
30072 /* end confdefs.h. */
30073 #include <X11/Xlib.h>
30074 int
30075 main ()
30076 {
30077 XrmInitialize ()
30078 ;
30079 return 0;
30080 }
30081 _ACEOF
30082 rm -f conftest.$ac_objext conftest$ac_exeext
30083 if { (ac_try="$ac_link"
30084 case "(($ac_try" in
30085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30086 *) ac_try_echo=$ac_try;;
30087 esac
30088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30089 (eval "$ac_link") 2>conftest.er1
30090 ac_status=$?
30091 grep -v '^ *+' conftest.er1 >conftest.err
30092 rm -f conftest.er1
30093 cat conftest.err >&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); } && {
30096 test -z "$ac_c_werror_flag" ||
30097 test ! -s conftest.err
30098 } && test -s conftest$ac_exeext &&
30099 $as_test_x conftest$ac_exeext; then
30100 LIBS=$ac_save_LIBS
30101 # We can link X programs with no special library path.
30102 ac_x_libraries=
30103 else
30104 echo "$as_me: failed program was:" >&5
30105 sed 's/^/| /' conftest.$ac_ext >&5
30106
30107 LIBS=$ac_save_LIBS
30108 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30109 do
30110 # Don't even attempt the hair of trying to link an X program!
30111 for ac_extension in a so sl; do
30112 if test -r "$ac_dir/libX11.$ac_extension"; then
30113 ac_x_libraries=$ac_dir
30114 break 2
30115 fi
30116 done
30117 done
30118 fi
30119
30120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30121 conftest$ac_exeext conftest.$ac_ext
30122 fi # $ac_x_libraries = no
30123
30124 case $ac_x_includes,$ac_x_libraries in #(
30125 no,* | *,no | *\'*)
30126 # Didn't find X, or a directory has "'" in its name.
30127 ac_cv_have_x="have_x=no";; #(
30128 *)
30129 # Record where we found X for the cache.
30130 ac_cv_have_x="have_x=yes\
30131 ac_x_includes='$ac_x_includes'\
30132 ac_x_libraries='$ac_x_libraries'"
30133 esac
30134 fi
30135 ;; #(
30136 *) have_x=yes;;
30137 esac
30138 eval "$ac_cv_have_x"
30139 fi # $with_x != no
30140
30141 if test "$have_x" != yes; then
30142 { echo "$as_me:$LINENO: result: $have_x" >&5
30143 echo "${ECHO_T}$have_x" >&6; }
30144 no_x=yes
30145 else
30146 # If each of the values was on the command line, it overrides each guess.
30147 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30148 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30149 # Update the cache value to reflect the command line values.
30150 ac_cv_have_x="have_x=yes\
30151 ac_x_includes='$x_includes'\
30152 ac_x_libraries='$x_libraries'"
30153 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30154 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30155 fi
30156
30157 if test "$no_x" = yes; then
30158 # Not all programs may use this symbol, but it does not hurt to define it.
30159
30160 cat >>confdefs.h <<\_ACEOF
30161 #define X_DISPLAY_MISSING 1
30162 _ACEOF
30163
30164 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30165 else
30166 if test -n "$x_includes"; then
30167 X_CFLAGS="$X_CFLAGS -I$x_includes"
30168 fi
30169
30170 # It would also be nice to do this for all -L options, not just this one.
30171 if test -n "$x_libraries"; then
30172 X_LIBS="$X_LIBS -L$x_libraries"
30173 # For Solaris; some versions of Sun CC require a space after -R and
30174 # others require no space. Words are not sufficient . . . .
30175 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30176 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30177 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30178 ac_xsave_c_werror_flag=$ac_c_werror_flag
30179 ac_c_werror_flag=yes
30180 cat >conftest.$ac_ext <<_ACEOF
30181 /* confdefs.h. */
30182 _ACEOF
30183 cat confdefs.h >>conftest.$ac_ext
30184 cat >>conftest.$ac_ext <<_ACEOF
30185 /* end confdefs.h. */
30186
30187 int
30188 main ()
30189 {
30190
30191 ;
30192 return 0;
30193 }
30194 _ACEOF
30195 rm -f conftest.$ac_objext conftest$ac_exeext
30196 if { (ac_try="$ac_link"
30197 case "(($ac_try" in
30198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30199 *) ac_try_echo=$ac_try;;
30200 esac
30201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30202 (eval "$ac_link") 2>conftest.er1
30203 ac_status=$?
30204 grep -v '^ *+' conftest.er1 >conftest.err
30205 rm -f conftest.er1
30206 cat conftest.err >&5
30207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30208 (exit $ac_status); } && {
30209 test -z "$ac_c_werror_flag" ||
30210 test ! -s conftest.err
30211 } && test -s conftest$ac_exeext &&
30212 $as_test_x conftest$ac_exeext; then
30213 { echo "$as_me:$LINENO: result: no" >&5
30214 echo "${ECHO_T}no" >&6; }
30215 X_LIBS="$X_LIBS -R$x_libraries"
30216 else
30217 echo "$as_me: failed program was:" >&5
30218 sed 's/^/| /' conftest.$ac_ext >&5
30219
30220 LIBS="$ac_xsave_LIBS -R $x_libraries"
30221 cat >conftest.$ac_ext <<_ACEOF
30222 /* confdefs.h. */
30223 _ACEOF
30224 cat confdefs.h >>conftest.$ac_ext
30225 cat >>conftest.$ac_ext <<_ACEOF
30226 /* end confdefs.h. */
30227
30228 int
30229 main ()
30230 {
30231
30232 ;
30233 return 0;
30234 }
30235 _ACEOF
30236 rm -f conftest.$ac_objext conftest$ac_exeext
30237 if { (ac_try="$ac_link"
30238 case "(($ac_try" in
30239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30240 *) ac_try_echo=$ac_try;;
30241 esac
30242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30243 (eval "$ac_link") 2>conftest.er1
30244 ac_status=$?
30245 grep -v '^ *+' conftest.er1 >conftest.err
30246 rm -f conftest.er1
30247 cat conftest.err >&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } && {
30250 test -z "$ac_c_werror_flag" ||
30251 test ! -s conftest.err
30252 } && test -s conftest$ac_exeext &&
30253 $as_test_x conftest$ac_exeext; then
30254 { echo "$as_me:$LINENO: result: yes" >&5
30255 echo "${ECHO_T}yes" >&6; }
30256 X_LIBS="$X_LIBS -R $x_libraries"
30257 else
30258 echo "$as_me: failed program was:" >&5
30259 sed 's/^/| /' conftest.$ac_ext >&5
30260
30261 { echo "$as_me:$LINENO: result: neither works" >&5
30262 echo "${ECHO_T}neither works" >&6; }
30263 fi
30264
30265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30266 conftest$ac_exeext conftest.$ac_ext
30267 fi
30268
30269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30270 conftest$ac_exeext conftest.$ac_ext
30271 ac_c_werror_flag=$ac_xsave_c_werror_flag
30272 LIBS=$ac_xsave_LIBS
30273 fi
30274
30275 # Check for system-dependent libraries X programs must link with.
30276 # Do this before checking for the system-independent R6 libraries
30277 # (-lICE), since we may need -lsocket or whatever for X linking.
30278
30279 if test "$ISC" = yes; then
30280 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30281 else
30282 # Martyn Johnson says this is needed for Ultrix, if the X
30283 # libraries were built with DECnet support. And Karl Berry says
30284 # the Alpha needs dnet_stub (dnet does not exist).
30285 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30286 cat >conftest.$ac_ext <<_ACEOF
30287 /* confdefs.h. */
30288 _ACEOF
30289 cat confdefs.h >>conftest.$ac_ext
30290 cat >>conftest.$ac_ext <<_ACEOF
30291 /* end confdefs.h. */
30292
30293 /* Override any GCC internal prototype to avoid an error.
30294 Use char because int might match the return type of a GCC
30295 builtin and then its argument prototype would still apply. */
30296 #ifdef __cplusplus
30297 extern "C"
30298 #endif
30299 char XOpenDisplay ();
30300 int
30301 main ()
30302 {
30303 return XOpenDisplay ();
30304 ;
30305 return 0;
30306 }
30307 _ACEOF
30308 rm -f conftest.$ac_objext conftest$ac_exeext
30309 if { (ac_try="$ac_link"
30310 case "(($ac_try" in
30311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30312 *) ac_try_echo=$ac_try;;
30313 esac
30314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30315 (eval "$ac_link") 2>conftest.er1
30316 ac_status=$?
30317 grep -v '^ *+' conftest.er1 >conftest.err
30318 rm -f conftest.er1
30319 cat conftest.err >&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } && {
30322 test -z "$ac_c_werror_flag" ||
30323 test ! -s conftest.err
30324 } && test -s conftest$ac_exeext &&
30325 $as_test_x conftest$ac_exeext; then
30326 :
30327 else
30328 echo "$as_me: failed program was:" >&5
30329 sed 's/^/| /' conftest.$ac_ext >&5
30330
30331 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30332 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30333 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30334 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 else
30336 ac_check_lib_save_LIBS=$LIBS
30337 LIBS="-ldnet $LIBS"
30338 cat >conftest.$ac_ext <<_ACEOF
30339 /* confdefs.h. */
30340 _ACEOF
30341 cat confdefs.h >>conftest.$ac_ext
30342 cat >>conftest.$ac_ext <<_ACEOF
30343 /* end confdefs.h. */
30344
30345 /* Override any GCC internal prototype to avoid an error.
30346 Use char because int might match the return type of a GCC
30347 builtin and then its argument prototype would still apply. */
30348 #ifdef __cplusplus
30349 extern "C"
30350 #endif
30351 char dnet_ntoa ();
30352 int
30353 main ()
30354 {
30355 return dnet_ntoa ();
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 ac_cv_lib_dnet_dnet_ntoa=yes
30379 else
30380 echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30382
30383 ac_cv_lib_dnet_dnet_ntoa=no
30384 fi
30385
30386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30387 conftest$ac_exeext conftest.$ac_ext
30388 LIBS=$ac_check_lib_save_LIBS
30389 fi
30390 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30391 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30392 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30393 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30394 fi
30395
30396 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30397 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30398 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30399 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30400 echo $ECHO_N "(cached) $ECHO_C" >&6
30401 else
30402 ac_check_lib_save_LIBS=$LIBS
30403 LIBS="-ldnet_stub $LIBS"
30404 cat >conftest.$ac_ext <<_ACEOF
30405 /* confdefs.h. */
30406 _ACEOF
30407 cat confdefs.h >>conftest.$ac_ext
30408 cat >>conftest.$ac_ext <<_ACEOF
30409 /* end confdefs.h. */
30410
30411 /* Override any GCC internal prototype to avoid an error.
30412 Use char because int might match the return type of a GCC
30413 builtin and then its argument prototype would still apply. */
30414 #ifdef __cplusplus
30415 extern "C"
30416 #endif
30417 char dnet_ntoa ();
30418 int
30419 main ()
30420 {
30421 return dnet_ntoa ();
30422 ;
30423 return 0;
30424 }
30425 _ACEOF
30426 rm -f conftest.$ac_objext conftest$ac_exeext
30427 if { (ac_try="$ac_link"
30428 case "(($ac_try" in
30429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30430 *) ac_try_echo=$ac_try;;
30431 esac
30432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30433 (eval "$ac_link") 2>conftest.er1
30434 ac_status=$?
30435 grep -v '^ *+' conftest.er1 >conftest.err
30436 rm -f conftest.er1
30437 cat conftest.err >&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); } && {
30440 test -z "$ac_c_werror_flag" ||
30441 test ! -s conftest.err
30442 } && test -s conftest$ac_exeext &&
30443 $as_test_x conftest$ac_exeext; then
30444 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30445 else
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.$ac_ext >&5
30448
30449 ac_cv_lib_dnet_stub_dnet_ntoa=no
30450 fi
30451
30452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30453 conftest$ac_exeext conftest.$ac_ext
30454 LIBS=$ac_check_lib_save_LIBS
30455 fi
30456 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30457 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30458 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30459 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30460 fi
30461
30462 fi
30463 fi
30464
30465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30466 conftest$ac_exeext conftest.$ac_ext
30467 LIBS="$ac_xsave_LIBS"
30468
30469 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30470 # to get the SysV transport functions.
30471 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30472 # needs -lnsl.
30473 # The nsl library prevents programs from opening the X display
30474 # on Irix 5.2, according to T.E. Dickey.
30475 # The functions gethostbyname, getservbyname, and inet_addr are
30476 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30477 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30478 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30479 if test "${ac_cv_func_gethostbyname+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482 cat >conftest.$ac_ext <<_ACEOF
30483 /* confdefs.h. */
30484 _ACEOF
30485 cat confdefs.h >>conftest.$ac_ext
30486 cat >>conftest.$ac_ext <<_ACEOF
30487 /* end confdefs.h. */
30488 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30490 #define gethostbyname innocuous_gethostbyname
30491
30492 /* System header to define __stub macros and hopefully few prototypes,
30493 which can conflict with char gethostbyname (); below.
30494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30495 <limits.h> exists even on freestanding compilers. */
30496
30497 #ifdef __STDC__
30498 # include <limits.h>
30499 #else
30500 # include <assert.h>
30501 #endif
30502
30503 #undef gethostbyname
30504
30505 /* Override any GCC internal prototype to avoid an error.
30506 Use char because int might match the return type of a GCC
30507 builtin and then its argument prototype would still apply. */
30508 #ifdef __cplusplus
30509 extern "C"
30510 #endif
30511 char gethostbyname ();
30512 /* The GNU C library defines this for functions which it implements
30513 to always fail with ENOSYS. Some functions are actually named
30514 something starting with __ and the normal name is an alias. */
30515 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30516 choke me
30517 #endif
30518
30519 int
30520 main ()
30521 {
30522 return gethostbyname ();
30523 ;
30524 return 0;
30525 }
30526 _ACEOF
30527 rm -f conftest.$ac_objext conftest$ac_exeext
30528 if { (ac_try="$ac_link"
30529 case "(($ac_try" in
30530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30531 *) ac_try_echo=$ac_try;;
30532 esac
30533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30534 (eval "$ac_link") 2>conftest.er1
30535 ac_status=$?
30536 grep -v '^ *+' conftest.er1 >conftest.err
30537 rm -f conftest.er1
30538 cat conftest.err >&5
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); } && {
30541 test -z "$ac_c_werror_flag" ||
30542 test ! -s conftest.err
30543 } && test -s conftest$ac_exeext &&
30544 $as_test_x conftest$ac_exeext; then
30545 ac_cv_func_gethostbyname=yes
30546 else
30547 echo "$as_me: failed program was:" >&5
30548 sed 's/^/| /' conftest.$ac_ext >&5
30549
30550 ac_cv_func_gethostbyname=no
30551 fi
30552
30553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30554 conftest$ac_exeext conftest.$ac_ext
30555 fi
30556 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30557 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30558
30559 if test $ac_cv_func_gethostbyname = no; then
30560 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30561 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30562 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30563 echo $ECHO_N "(cached) $ECHO_C" >&6
30564 else
30565 ac_check_lib_save_LIBS=$LIBS
30566 LIBS="-lnsl $LIBS"
30567 cat >conftest.$ac_ext <<_ACEOF
30568 /* confdefs.h. */
30569 _ACEOF
30570 cat confdefs.h >>conftest.$ac_ext
30571 cat >>conftest.$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30573
30574 /* Override any GCC internal prototype to avoid an error.
30575 Use char because int might match the return type of a GCC
30576 builtin and then its argument prototype would still apply. */
30577 #ifdef __cplusplus
30578 extern "C"
30579 #endif
30580 char gethostbyname ();
30581 int
30582 main ()
30583 {
30584 return gethostbyname ();
30585 ;
30586 return 0;
30587 }
30588 _ACEOF
30589 rm -f conftest.$ac_objext conftest$ac_exeext
30590 if { (ac_try="$ac_link"
30591 case "(($ac_try" in
30592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30593 *) ac_try_echo=$ac_try;;
30594 esac
30595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30596 (eval "$ac_link") 2>conftest.er1
30597 ac_status=$?
30598 grep -v '^ *+' conftest.er1 >conftest.err
30599 rm -f conftest.er1
30600 cat conftest.err >&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); } && {
30603 test -z "$ac_c_werror_flag" ||
30604 test ! -s conftest.err
30605 } && test -s conftest$ac_exeext &&
30606 $as_test_x conftest$ac_exeext; then
30607 ac_cv_lib_nsl_gethostbyname=yes
30608 else
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.$ac_ext >&5
30611
30612 ac_cv_lib_nsl_gethostbyname=no
30613 fi
30614
30615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30616 conftest$ac_exeext conftest.$ac_ext
30617 LIBS=$ac_check_lib_save_LIBS
30618 fi
30619 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30620 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30621 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30622 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30623 fi
30624
30625 if test $ac_cv_lib_nsl_gethostbyname = no; then
30626 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30627 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30628 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30629 echo $ECHO_N "(cached) $ECHO_C" >&6
30630 else
30631 ac_check_lib_save_LIBS=$LIBS
30632 LIBS="-lbsd $LIBS"
30633 cat >conftest.$ac_ext <<_ACEOF
30634 /* confdefs.h. */
30635 _ACEOF
30636 cat confdefs.h >>conftest.$ac_ext
30637 cat >>conftest.$ac_ext <<_ACEOF
30638 /* end confdefs.h. */
30639
30640 /* Override any GCC internal prototype to avoid an error.
30641 Use char because int might match the return type of a GCC
30642 builtin and then its argument prototype would still apply. */
30643 #ifdef __cplusplus
30644 extern "C"
30645 #endif
30646 char gethostbyname ();
30647 int
30648 main ()
30649 {
30650 return gethostbyname ();
30651 ;
30652 return 0;
30653 }
30654 _ACEOF
30655 rm -f conftest.$ac_objext conftest$ac_exeext
30656 if { (ac_try="$ac_link"
30657 case "(($ac_try" in
30658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30659 *) ac_try_echo=$ac_try;;
30660 esac
30661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30662 (eval "$ac_link") 2>conftest.er1
30663 ac_status=$?
30664 grep -v '^ *+' conftest.er1 >conftest.err
30665 rm -f conftest.er1
30666 cat conftest.err >&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); } && {
30669 test -z "$ac_c_werror_flag" ||
30670 test ! -s conftest.err
30671 } && test -s conftest$ac_exeext &&
30672 $as_test_x conftest$ac_exeext; then
30673 ac_cv_lib_bsd_gethostbyname=yes
30674 else
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.$ac_ext >&5
30677
30678 ac_cv_lib_bsd_gethostbyname=no
30679 fi
30680
30681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30682 conftest$ac_exeext conftest.$ac_ext
30683 LIBS=$ac_check_lib_save_LIBS
30684 fi
30685 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30686 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30687 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30688 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30689 fi
30690
30691 fi
30692 fi
30693
30694 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30695 # socket/setsockopt and other routines are undefined under SCO ODT
30696 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30697 # on later versions), says Simon Leinen: it contains gethostby*
30698 # variants that don't use the name server (or something). -lsocket
30699 # must be given before -lnsl if both are needed. We assume that
30700 # if connect needs -lnsl, so does gethostbyname.
30701 { echo "$as_me:$LINENO: checking for connect" >&5
30702 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30703 if test "${ac_cv_func_connect+set}" = set; then
30704 echo $ECHO_N "(cached) $ECHO_C" >&6
30705 else
30706 cat >conftest.$ac_ext <<_ACEOF
30707 /* confdefs.h. */
30708 _ACEOF
30709 cat confdefs.h >>conftest.$ac_ext
30710 cat >>conftest.$ac_ext <<_ACEOF
30711 /* end confdefs.h. */
30712 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30714 #define connect innocuous_connect
30715
30716 /* System header to define __stub macros and hopefully few prototypes,
30717 which can conflict with char connect (); below.
30718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30719 <limits.h> exists even on freestanding compilers. */
30720
30721 #ifdef __STDC__
30722 # include <limits.h>
30723 #else
30724 # include <assert.h>
30725 #endif
30726
30727 #undef connect
30728
30729 /* Override any GCC internal prototype to avoid an error.
30730 Use char because int might match the return type of a GCC
30731 builtin and then its argument prototype would still apply. */
30732 #ifdef __cplusplus
30733 extern "C"
30734 #endif
30735 char connect ();
30736 /* The GNU C library defines this for functions which it implements
30737 to always fail with ENOSYS. Some functions are actually named
30738 something starting with __ and the normal name is an alias. */
30739 #if defined __stub_connect || defined __stub___connect
30740 choke me
30741 #endif
30742
30743 int
30744 main ()
30745 {
30746 return connect ();
30747 ;
30748 return 0;
30749 }
30750 _ACEOF
30751 rm -f conftest.$ac_objext conftest$ac_exeext
30752 if { (ac_try="$ac_link"
30753 case "(($ac_try" in
30754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30755 *) ac_try_echo=$ac_try;;
30756 esac
30757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30758 (eval "$ac_link") 2>conftest.er1
30759 ac_status=$?
30760 grep -v '^ *+' conftest.er1 >conftest.err
30761 rm -f conftest.er1
30762 cat conftest.err >&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); } && {
30765 test -z "$ac_c_werror_flag" ||
30766 test ! -s conftest.err
30767 } && test -s conftest$ac_exeext &&
30768 $as_test_x conftest$ac_exeext; then
30769 ac_cv_func_connect=yes
30770 else
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.$ac_ext >&5
30773
30774 ac_cv_func_connect=no
30775 fi
30776
30777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30778 conftest$ac_exeext conftest.$ac_ext
30779 fi
30780 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30781 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30782
30783 if test $ac_cv_func_connect = no; then
30784 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30785 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30786 if test "${ac_cv_lib_socket_connect+set}" = set; then
30787 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 else
30789 ac_check_lib_save_LIBS=$LIBS
30790 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30791 cat >conftest.$ac_ext <<_ACEOF
30792 /* confdefs.h. */
30793 _ACEOF
30794 cat confdefs.h >>conftest.$ac_ext
30795 cat >>conftest.$ac_ext <<_ACEOF
30796 /* end confdefs.h. */
30797
30798 /* Override any GCC internal prototype to avoid an error.
30799 Use char because int might match the return type of a GCC
30800 builtin and then its argument prototype would still apply. */
30801 #ifdef __cplusplus
30802 extern "C"
30803 #endif
30804 char connect ();
30805 int
30806 main ()
30807 {
30808 return connect ();
30809 ;
30810 return 0;
30811 }
30812 _ACEOF
30813 rm -f conftest.$ac_objext conftest$ac_exeext
30814 if { (ac_try="$ac_link"
30815 case "(($ac_try" in
30816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30817 *) ac_try_echo=$ac_try;;
30818 esac
30819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30820 (eval "$ac_link") 2>conftest.er1
30821 ac_status=$?
30822 grep -v '^ *+' conftest.er1 >conftest.err
30823 rm -f conftest.er1
30824 cat conftest.err >&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } && {
30827 test -z "$ac_c_werror_flag" ||
30828 test ! -s conftest.err
30829 } && test -s conftest$ac_exeext &&
30830 $as_test_x conftest$ac_exeext; then
30831 ac_cv_lib_socket_connect=yes
30832 else
30833 echo "$as_me: failed program was:" >&5
30834 sed 's/^/| /' conftest.$ac_ext >&5
30835
30836 ac_cv_lib_socket_connect=no
30837 fi
30838
30839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30840 conftest$ac_exeext conftest.$ac_ext
30841 LIBS=$ac_check_lib_save_LIBS
30842 fi
30843 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30844 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30845 if test $ac_cv_lib_socket_connect = yes; then
30846 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30847 fi
30848
30849 fi
30850
30851 # Guillermo Gomez says -lposix is necessary on A/UX.
30852 { echo "$as_me:$LINENO: checking for remove" >&5
30853 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30854 if test "${ac_cv_func_remove+set}" = set; then
30855 echo $ECHO_N "(cached) $ECHO_C" >&6
30856 else
30857 cat >conftest.$ac_ext <<_ACEOF
30858 /* confdefs.h. */
30859 _ACEOF
30860 cat confdefs.h >>conftest.$ac_ext
30861 cat >>conftest.$ac_ext <<_ACEOF
30862 /* end confdefs.h. */
30863 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30865 #define remove innocuous_remove
30866
30867 /* System header to define __stub macros and hopefully few prototypes,
30868 which can conflict with char remove (); below.
30869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30870 <limits.h> exists even on freestanding compilers. */
30871
30872 #ifdef __STDC__
30873 # include <limits.h>
30874 #else
30875 # include <assert.h>
30876 #endif
30877
30878 #undef remove
30879
30880 /* Override any GCC internal prototype to avoid an error.
30881 Use char because int might match the return type of a GCC
30882 builtin and then its argument prototype would still apply. */
30883 #ifdef __cplusplus
30884 extern "C"
30885 #endif
30886 char remove ();
30887 /* The GNU C library defines this for functions which it implements
30888 to always fail with ENOSYS. Some functions are actually named
30889 something starting with __ and the normal name is an alias. */
30890 #if defined __stub_remove || defined __stub___remove
30891 choke me
30892 #endif
30893
30894 int
30895 main ()
30896 {
30897 return remove ();
30898 ;
30899 return 0;
30900 }
30901 _ACEOF
30902 rm -f conftest.$ac_objext conftest$ac_exeext
30903 if { (ac_try="$ac_link"
30904 case "(($ac_try" in
30905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30906 *) ac_try_echo=$ac_try;;
30907 esac
30908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30909 (eval "$ac_link") 2>conftest.er1
30910 ac_status=$?
30911 grep -v '^ *+' conftest.er1 >conftest.err
30912 rm -f conftest.er1
30913 cat conftest.err >&5
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); } && {
30916 test -z "$ac_c_werror_flag" ||
30917 test ! -s conftest.err
30918 } && test -s conftest$ac_exeext &&
30919 $as_test_x conftest$ac_exeext; then
30920 ac_cv_func_remove=yes
30921 else
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.$ac_ext >&5
30924
30925 ac_cv_func_remove=no
30926 fi
30927
30928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30929 conftest$ac_exeext conftest.$ac_ext
30930 fi
30931 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30932 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30933
30934 if test $ac_cv_func_remove = no; then
30935 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30936 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30937 if test "${ac_cv_lib_posix_remove+set}" = set; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30939 else
30940 ac_check_lib_save_LIBS=$LIBS
30941 LIBS="-lposix $LIBS"
30942 cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h. */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948
30949 /* Override any GCC internal prototype to avoid an error.
30950 Use char because int might match the return type of a GCC
30951 builtin and then its argument prototype would still apply. */
30952 #ifdef __cplusplus
30953 extern "C"
30954 #endif
30955 char remove ();
30956 int
30957 main ()
30958 {
30959 return remove ();
30960 ;
30961 return 0;
30962 }
30963 _ACEOF
30964 rm -f conftest.$ac_objext conftest$ac_exeext
30965 if { (ac_try="$ac_link"
30966 case "(($ac_try" in
30967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30968 *) ac_try_echo=$ac_try;;
30969 esac
30970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30971 (eval "$ac_link") 2>conftest.er1
30972 ac_status=$?
30973 grep -v '^ *+' conftest.er1 >conftest.err
30974 rm -f conftest.er1
30975 cat conftest.err >&5
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); } && {
30978 test -z "$ac_c_werror_flag" ||
30979 test ! -s conftest.err
30980 } && test -s conftest$ac_exeext &&
30981 $as_test_x conftest$ac_exeext; then
30982 ac_cv_lib_posix_remove=yes
30983 else
30984 echo "$as_me: failed program was:" >&5
30985 sed 's/^/| /' conftest.$ac_ext >&5
30986
30987 ac_cv_lib_posix_remove=no
30988 fi
30989
30990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30991 conftest$ac_exeext conftest.$ac_ext
30992 LIBS=$ac_check_lib_save_LIBS
30993 fi
30994 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30995 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30996 if test $ac_cv_lib_posix_remove = yes; then
30997 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30998 fi
30999
31000 fi
31001
31002 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31003 { echo "$as_me:$LINENO: checking for shmat" >&5
31004 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31005 if test "${ac_cv_func_shmat+set}" = set; then
31006 echo $ECHO_N "(cached) $ECHO_C" >&6
31007 else
31008 cat >conftest.$ac_ext <<_ACEOF
31009 /* confdefs.h. */
31010 _ACEOF
31011 cat confdefs.h >>conftest.$ac_ext
31012 cat >>conftest.$ac_ext <<_ACEOF
31013 /* end confdefs.h. */
31014 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31016 #define shmat innocuous_shmat
31017
31018 /* System header to define __stub macros and hopefully few prototypes,
31019 which can conflict with char shmat (); below.
31020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31021 <limits.h> exists even on freestanding compilers. */
31022
31023 #ifdef __STDC__
31024 # include <limits.h>
31025 #else
31026 # include <assert.h>
31027 #endif
31028
31029 #undef shmat
31030
31031 /* Override any GCC internal prototype to avoid an error.
31032 Use char because int might match the return type of a GCC
31033 builtin and then its argument prototype would still apply. */
31034 #ifdef __cplusplus
31035 extern "C"
31036 #endif
31037 char shmat ();
31038 /* The GNU C library defines this for functions which it implements
31039 to always fail with ENOSYS. Some functions are actually named
31040 something starting with __ and the normal name is an alias. */
31041 #if defined __stub_shmat || defined __stub___shmat
31042 choke me
31043 #endif
31044
31045 int
31046 main ()
31047 {
31048 return shmat ();
31049 ;
31050 return 0;
31051 }
31052 _ACEOF
31053 rm -f conftest.$ac_objext conftest$ac_exeext
31054 if { (ac_try="$ac_link"
31055 case "(($ac_try" in
31056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31057 *) ac_try_echo=$ac_try;;
31058 esac
31059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31060 (eval "$ac_link") 2>conftest.er1
31061 ac_status=$?
31062 grep -v '^ *+' conftest.er1 >conftest.err
31063 rm -f conftest.er1
31064 cat conftest.err >&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } && {
31067 test -z "$ac_c_werror_flag" ||
31068 test ! -s conftest.err
31069 } && test -s conftest$ac_exeext &&
31070 $as_test_x conftest$ac_exeext; then
31071 ac_cv_func_shmat=yes
31072 else
31073 echo "$as_me: failed program was:" >&5
31074 sed 's/^/| /' conftest.$ac_ext >&5
31075
31076 ac_cv_func_shmat=no
31077 fi
31078
31079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31080 conftest$ac_exeext conftest.$ac_ext
31081 fi
31082 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31083 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31084
31085 if test $ac_cv_func_shmat = no; then
31086 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31087 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31088 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31089 echo $ECHO_N "(cached) $ECHO_C" >&6
31090 else
31091 ac_check_lib_save_LIBS=$LIBS
31092 LIBS="-lipc $LIBS"
31093 cat >conftest.$ac_ext <<_ACEOF
31094 /* confdefs.h. */
31095 _ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31099
31100 /* Override any GCC internal prototype to avoid an error.
31101 Use char because int might match the return type of a GCC
31102 builtin and then its argument prototype would still apply. */
31103 #ifdef __cplusplus
31104 extern "C"
31105 #endif
31106 char shmat ();
31107 int
31108 main ()
31109 {
31110 return shmat ();
31111 ;
31112 return 0;
31113 }
31114 _ACEOF
31115 rm -f conftest.$ac_objext conftest$ac_exeext
31116 if { (ac_try="$ac_link"
31117 case "(($ac_try" in
31118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31119 *) ac_try_echo=$ac_try;;
31120 esac
31121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31122 (eval "$ac_link") 2>conftest.er1
31123 ac_status=$?
31124 grep -v '^ *+' conftest.er1 >conftest.err
31125 rm -f conftest.er1
31126 cat conftest.err >&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); } && {
31129 test -z "$ac_c_werror_flag" ||
31130 test ! -s conftest.err
31131 } && test -s conftest$ac_exeext &&
31132 $as_test_x conftest$ac_exeext; then
31133 ac_cv_lib_ipc_shmat=yes
31134 else
31135 echo "$as_me: failed program was:" >&5
31136 sed 's/^/| /' conftest.$ac_ext >&5
31137
31138 ac_cv_lib_ipc_shmat=no
31139 fi
31140
31141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31142 conftest$ac_exeext conftest.$ac_ext
31143 LIBS=$ac_check_lib_save_LIBS
31144 fi
31145 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31146 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31147 if test $ac_cv_lib_ipc_shmat = yes; then
31148 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31149 fi
31150
31151 fi
31152 fi
31153
31154 # Check for libraries that X11R6 Xt/Xaw programs need.
31155 ac_save_LDFLAGS=$LDFLAGS
31156 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31157 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31158 # check for ICE first), but we must link in the order -lSM -lICE or
31159 # we get undefined symbols. So assume we have SM if we have ICE.
31160 # These have to be linked with before -lX11, unlike the other
31161 # libraries we check for below, so use a different variable.
31162 # John Interrante, Karl Berry
31163 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31164 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31165 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31166 echo $ECHO_N "(cached) $ECHO_C" >&6
31167 else
31168 ac_check_lib_save_LIBS=$LIBS
31169 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31170 cat >conftest.$ac_ext <<_ACEOF
31171 /* confdefs.h. */
31172 _ACEOF
31173 cat confdefs.h >>conftest.$ac_ext
31174 cat >>conftest.$ac_ext <<_ACEOF
31175 /* end confdefs.h. */
31176
31177 /* Override any GCC internal prototype to avoid an error.
31178 Use char because int might match the return type of a GCC
31179 builtin and then its argument prototype would still apply. */
31180 #ifdef __cplusplus
31181 extern "C"
31182 #endif
31183 char IceConnectionNumber ();
31184 int
31185 main ()
31186 {
31187 return IceConnectionNumber ();
31188 ;
31189 return 0;
31190 }
31191 _ACEOF
31192 rm -f conftest.$ac_objext conftest$ac_exeext
31193 if { (ac_try="$ac_link"
31194 case "(($ac_try" in
31195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31196 *) ac_try_echo=$ac_try;;
31197 esac
31198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31199 (eval "$ac_link") 2>conftest.er1
31200 ac_status=$?
31201 grep -v '^ *+' conftest.er1 >conftest.err
31202 rm -f conftest.er1
31203 cat conftest.err >&5
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); } && {
31206 test -z "$ac_c_werror_flag" ||
31207 test ! -s conftest.err
31208 } && test -s conftest$ac_exeext &&
31209 $as_test_x conftest$ac_exeext; then
31210 ac_cv_lib_ICE_IceConnectionNumber=yes
31211 else
31212 echo "$as_me: failed program was:" >&5
31213 sed 's/^/| /' conftest.$ac_ext >&5
31214
31215 ac_cv_lib_ICE_IceConnectionNumber=no
31216 fi
31217
31218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31219 conftest$ac_exeext conftest.$ac_ext
31220 LIBS=$ac_check_lib_save_LIBS
31221 fi
31222 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31223 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31224 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31225 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31226 fi
31227
31228 LDFLAGS=$ac_save_LDFLAGS
31229
31230 fi
31231
31232
31233 if test "$no_x" = "yes"; then
31234 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31235 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31236 { (exit 1); exit 1; }; }
31237 fi
31238
31239 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31240 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31241 AFMINSTALL=afminstall
31242 COMPILED_X_PROGRAM=0
31243
31244 fi
31245
31246 if test "$wxUSE_X11" = 1; then
31247 if test "$wxUSE_NANOX" = "yes"; then
31248 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31249 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31250 if test "x$MICROWIN" = x ; then
31251 { echo "$as_me:$LINENO: result: not found" >&5
31252 echo "${ECHO_T}not found" >&6; }
31253 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31254 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31255 { (exit 1); exit 1; }; }
31256 else
31257 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31258 echo "${ECHO_T}$MICROWIN" >&6; }
31259 cat >>confdefs.h <<\_ACEOF
31260 #define wxUSE_NANOX 1
31261 _ACEOF
31262
31263 fi
31264 fi
31265
31266 if test "$wxUSE_UNICODE" = "yes"; then
31267
31268
31269 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31270 if test -n "$ac_tool_prefix"; then
31271 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31272 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31275 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31276 echo $ECHO_N "(cached) $ECHO_C" >&6
31277 else
31278 case $PKG_CONFIG in
31279 [\\/]* | ?:[\\/]*)
31280 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31281 ;;
31282 *)
31283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31284 for as_dir in $PATH
31285 do
31286 IFS=$as_save_IFS
31287 test -z "$as_dir" && as_dir=.
31288 for ac_exec_ext in '' $ac_executable_extensions; do
31289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31290 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31292 break 2
31293 fi
31294 done
31295 done
31296 IFS=$as_save_IFS
31297
31298 ;;
31299 esac
31300 fi
31301 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31302 if test -n "$PKG_CONFIG"; then
31303 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31304 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31305 else
31306 { echo "$as_me:$LINENO: result: no" >&5
31307 echo "${ECHO_T}no" >&6; }
31308 fi
31309
31310
31311 fi
31312 if test -z "$ac_cv_path_PKG_CONFIG"; then
31313 ac_pt_PKG_CONFIG=$PKG_CONFIG
31314 # Extract the first word of "pkg-config", so it can be a program name with args.
31315 set dummy pkg-config; ac_word=$2
31316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31318 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31319 echo $ECHO_N "(cached) $ECHO_C" >&6
31320 else
31321 case $ac_pt_PKG_CONFIG in
31322 [\\/]* | ?:[\\/]*)
31323 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31324 ;;
31325 *)
31326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31327 for as_dir in $PATH
31328 do
31329 IFS=$as_save_IFS
31330 test -z "$as_dir" && as_dir=.
31331 for ac_exec_ext in '' $ac_executable_extensions; do
31332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31333 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31335 break 2
31336 fi
31337 done
31338 done
31339 IFS=$as_save_IFS
31340
31341 ;;
31342 esac
31343 fi
31344 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31345 if test -n "$ac_pt_PKG_CONFIG"; then
31346 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31347 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31348 else
31349 { echo "$as_me:$LINENO: result: no" >&5
31350 echo "${ECHO_T}no" >&6; }
31351 fi
31352
31353 if test "x$ac_pt_PKG_CONFIG" = x; then
31354 PKG_CONFIG=""
31355 else
31356 case $cross_compiling:$ac_tool_warned in
31357 yes:)
31358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31359 whose name does not start with the host triplet. If you think this
31360 configuration is useful to you, please write to autoconf@gnu.org." >&5
31361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31362 whose name does not start with the host triplet. If you think this
31363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31364 ac_tool_warned=yes ;;
31365 esac
31366 PKG_CONFIG=$ac_pt_PKG_CONFIG
31367 fi
31368 else
31369 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31370 fi
31371
31372 fi
31373 if test -n "$PKG_CONFIG"; then
31374 _pkg_min_version=0.9.0
31375 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31376 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31377 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31378 { echo "$as_me:$LINENO: result: yes" >&5
31379 echo "${ECHO_T}yes" >&6; }
31380 else
31381 { echo "$as_me:$LINENO: result: no" >&5
31382 echo "${ECHO_T}no" >&6; }
31383 PKG_CONFIG=""
31384 fi
31385
31386 fi
31387
31388
31389 pkg_failed=no
31390 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31391 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31392
31393 if test -n "$PKG_CONFIG"; then
31394 if test -n "$PANGOX_CFLAGS"; then
31395 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31396 else
31397 if test -n "$PKG_CONFIG" && \
31398 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31399 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; then
31403 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31404 else
31405 pkg_failed=yes
31406 fi
31407 fi
31408 else
31409 pkg_failed=untried
31410 fi
31411 if test -n "$PKG_CONFIG"; then
31412 if test -n "$PANGOX_LIBS"; then
31413 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31414 else
31415 if test -n "$PKG_CONFIG" && \
31416 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31417 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; then
31421 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31422 else
31423 pkg_failed=yes
31424 fi
31425 fi
31426 else
31427 pkg_failed=untried
31428 fi
31429
31430
31431
31432 if test $pkg_failed = yes; then
31433
31434 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31435 _pkg_short_errors_supported=yes
31436 else
31437 _pkg_short_errors_supported=no
31438 fi
31439 if test $_pkg_short_errors_supported = yes; then
31440 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31441 else
31442 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31443 fi
31444 # Put the nasty error message in config.log where it belongs
31445 echo "$PANGOX_PKG_ERRORS" >&5
31446
31447
31448 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31449 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31450 { (exit 1); exit 1; }; }
31451
31452
31453 elif test $pkg_failed = untried; then
31454
31455 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31456 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31457 { (exit 1); exit 1; }; }
31458
31459
31460 else
31461 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31462 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31463 { echo "$as_me:$LINENO: result: yes" >&5
31464 echo "${ECHO_T}yes" >&6; }
31465
31466 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31467 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31468 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31469
31470 fi
31471
31472 pkg_failed=no
31473 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31474 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31475
31476 if test -n "$PKG_CONFIG"; then
31477 if test -n "$PANGOFT2_CFLAGS"; then
31478 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31479 else
31480 if test -n "$PKG_CONFIG" && \
31481 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31482 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31483 ac_status=$?
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; then
31486 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31487 else
31488 pkg_failed=yes
31489 fi
31490 fi
31491 else
31492 pkg_failed=untried
31493 fi
31494 if test -n "$PKG_CONFIG"; then
31495 if test -n "$PANGOFT2_LIBS"; then
31496 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31497 else
31498 if test -n "$PKG_CONFIG" && \
31499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31500 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31501 ac_status=$?
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); }; then
31504 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31505 else
31506 pkg_failed=yes
31507 fi
31508 fi
31509 else
31510 pkg_failed=untried
31511 fi
31512
31513
31514
31515 if test $pkg_failed = yes; then
31516
31517 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31518 _pkg_short_errors_supported=yes
31519 else
31520 _pkg_short_errors_supported=no
31521 fi
31522 if test $_pkg_short_errors_supported = yes; then
31523 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31524 else
31525 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31526 fi
31527 # Put the nasty error message in config.log where it belongs
31528 echo "$PANGOFT2_PKG_ERRORS" >&5
31529
31530
31531 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31532 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31533 wxUSE_PRINTING_ARCHITECTURE="no"
31534
31535
31536 elif test $pkg_failed = untried; then
31537
31538 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31539 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31540 wxUSE_PRINTING_ARCHITECTURE="no"
31541
31542
31543 else
31544 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31545 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31546 { echo "$as_me:$LINENO: result: yes" >&5
31547 echo "${ECHO_T}yes" >&6; }
31548
31549 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31550 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31551 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31552
31553 fi
31554
31555 pkg_failed=no
31556 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31557 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31558
31559 if test -n "$PKG_CONFIG"; then
31560 if test -n "$PANGOXFT_CFLAGS"; then
31561 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31562 else
31563 if test -n "$PKG_CONFIG" && \
31564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31565 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31566 ac_status=$?
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; then
31569 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31570 else
31571 pkg_failed=yes
31572 fi
31573 fi
31574 else
31575 pkg_failed=untried
31576 fi
31577 if test -n "$PKG_CONFIG"; then
31578 if test -n "$PANGOXFT_LIBS"; then
31579 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31580 else
31581 if test -n "$PKG_CONFIG" && \
31582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31583 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31584 ac_status=$?
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; then
31587 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31588 else
31589 pkg_failed=yes
31590 fi
31591 fi
31592 else
31593 pkg_failed=untried
31594 fi
31595
31596
31597
31598 if test $pkg_failed = yes; then
31599
31600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31601 _pkg_short_errors_supported=yes
31602 else
31603 _pkg_short_errors_supported=no
31604 fi
31605 if test $_pkg_short_errors_supported = yes; then
31606 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31607 else
31608 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31609 fi
31610 # Put the nasty error message in config.log where it belongs
31611 echo "$PANGOXFT_PKG_ERRORS" >&5
31612
31613
31614 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31615 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31616
31617
31618 elif test $pkg_failed = untried; then
31619
31620 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31621 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31622
31623
31624 else
31625 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31626 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31627 { echo "$as_me:$LINENO: result: yes" >&5
31628 echo "${ECHO_T}yes" >&6; }
31629
31630 cat >>confdefs.h <<\_ACEOF
31631 #define HAVE_PANGO_XFT 1
31632 _ACEOF
31633
31634 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31635 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31636 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31637
31638 fi
31639 save_LIBS="$LIBS"
31640 LIBS="$LIBS $PANGOX_LIBS"
31641
31642 for ac_func in pango_font_family_is_monospace
31643 do
31644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31645 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31647 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 else
31650 cat >conftest.$ac_ext <<_ACEOF
31651 /* confdefs.h. */
31652 _ACEOF
31653 cat confdefs.h >>conftest.$ac_ext
31654 cat >>conftest.$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31658 #define $ac_func innocuous_$ac_func
31659
31660 /* System header to define __stub macros and hopefully few prototypes,
31661 which can conflict with char $ac_func (); below.
31662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31663 <limits.h> exists even on freestanding compilers. */
31664
31665 #ifdef __STDC__
31666 # include <limits.h>
31667 #else
31668 # include <assert.h>
31669 #endif
31670
31671 #undef $ac_func
31672
31673 /* Override any GCC internal prototype to avoid an error.
31674 Use char because int might match the return type of a GCC
31675 builtin and then its argument prototype would still apply. */
31676 #ifdef __cplusplus
31677 extern "C"
31678 #endif
31679 char $ac_func ();
31680 /* The GNU C library defines this for functions which it implements
31681 to always fail with ENOSYS. Some functions are actually named
31682 something starting with __ and the normal name is an alias. */
31683 #if defined __stub_$ac_func || defined __stub___$ac_func
31684 choke me
31685 #endif
31686
31687 int
31688 main ()
31689 {
31690 return $ac_func ();
31691 ;
31692 return 0;
31693 }
31694 _ACEOF
31695 rm -f conftest.$ac_objext conftest$ac_exeext
31696 if { (ac_try="$ac_link"
31697 case "(($ac_try" in
31698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31700 esac
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_link") 2>conftest.er1
31703 ac_status=$?
31704 grep -v '^ *+' conftest.er1 >conftest.err
31705 rm -f conftest.er1
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } && {
31709 test -z "$ac_c_werror_flag" ||
31710 test ! -s conftest.err
31711 } && test -s conftest$ac_exeext &&
31712 $as_test_x conftest$ac_exeext; then
31713 eval "$as_ac_var=yes"
31714 else
31715 echo "$as_me: failed program was:" >&5
31716 sed 's/^/| /' conftest.$ac_ext >&5
31717
31718 eval "$as_ac_var=no"
31719 fi
31720
31721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31722 conftest$ac_exeext conftest.$ac_ext
31723 fi
31724 ac_res=`eval echo '${'$as_ac_var'}'`
31725 { echo "$as_me:$LINENO: result: $ac_res" >&5
31726 echo "${ECHO_T}$ac_res" >&6; }
31727 if test `eval echo '${'$as_ac_var'}'` = yes; then
31728 cat >>confdefs.h <<_ACEOF
31729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31730 _ACEOF
31731
31732 fi
31733 done
31734
31735 LIBS="$save_LIBS"
31736 fi
31737
31738 wxUSE_UNIVERSAL="yes"
31739
31740 if test "$wxUSE_NANOX" = "yes"; then
31741 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31742 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"
31743 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31744 else
31745 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31746 fi
31747
31748 TOOLKIT=X11
31749 GUIDIST=X11_DIST
31750 fi
31751
31752 if test "$wxUSE_MOTIF" = 1; then
31753 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31754 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31755
31756 ac_find_includes=
31757 for ac_dir in $SEARCH_INCLUDE /usr/include;
31758 do
31759 if test -f "$ac_dir/Xm/Xm.h"; then
31760 ac_find_includes=$ac_dir
31761 break
31762 fi
31763 done
31764
31765 if test "$ac_find_includes" != "" ; then
31766 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31767 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31768
31769 if test "x$ac_find_includes" = "x/usr/include"; then
31770 ac_path_to_include=""
31771 else
31772 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31773 result=$?
31774 if test $result = 0; then
31775 ac_path_to_include=""
31776 else
31777 ac_path_to_include=" -I$ac_find_includes"
31778 fi
31779 fi
31780
31781 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31782 else
31783 save_CFLAGS=$CFLAGS
31784 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31785
31786 cat >conftest.$ac_ext <<_ACEOF
31787 /* confdefs.h. */
31788 _ACEOF
31789 cat confdefs.h >>conftest.$ac_ext
31790 cat >>conftest.$ac_ext <<_ACEOF
31791 /* end confdefs.h. */
31792
31793 #include <Xm/Xm.h>
31794
31795 int
31796 main ()
31797 {
31798
31799 int version;
31800 version = xmUseVersion;
31801
31802 ;
31803 return 0;
31804 }
31805 _ACEOF
31806 rm -f conftest.$ac_objext
31807 if { (ac_try="$ac_compile"
31808 case "(($ac_try" in
31809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31810 *) ac_try_echo=$ac_try;;
31811 esac
31812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31813 (eval "$ac_compile") 2>conftest.er1
31814 ac_status=$?
31815 grep -v '^ *+' conftest.er1 >conftest.err
31816 rm -f conftest.er1
31817 cat conftest.err >&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } && {
31820 test -z "$ac_c_werror_flag" ||
31821 test ! -s conftest.err
31822 } && test -s conftest.$ac_objext; then
31823
31824 { echo "$as_me:$LINENO: result: found in default search path" >&5
31825 echo "${ECHO_T}found in default search path" >&6; }
31826 COMPILED_X_PROGRAM=1
31827
31828 else
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31831
31832
31833 { echo "$as_me:$LINENO: result: no" >&5
31834 echo "${ECHO_T}no" >&6; }
31835 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31836 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31837 { (exit 1); exit 1; }; }
31838
31839
31840 fi
31841
31842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31843
31844 CFLAGS=$save_CFLAGS
31845 fi
31846
31847
31848 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31849 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31850
31851 ac_find_libraries=
31852 for ac_dir in $SEARCH_LIB;
31853 do
31854 for ac_extension in a so sl dylib dll.a; do
31855 if test -f "$ac_dir/libXm.$ac_extension"; then
31856 ac_find_libraries=$ac_dir
31857 break 2
31858 fi
31859 done
31860 done
31861
31862
31863 if test "x$ac_find_libraries" != "x" ; then
31864 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31865 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31866
31867
31868 if test "$ac_find_libraries" = "default location"; then
31869 ac_path_to_link=""
31870 else
31871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31872 result=$?
31873 if test $result = 0; then
31874 ac_path_to_link=""
31875 else
31876 ac_path_to_link=" -L$ac_find_libraries"
31877 fi
31878 fi
31879
31880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31881 else
31882 save_CFLAGS=$CFLAGS
31883 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31884 save_LIBS="$LIBS"
31885 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31886
31887 cat >conftest.$ac_ext <<_ACEOF
31888 /* confdefs.h. */
31889 _ACEOF
31890 cat confdefs.h >>conftest.$ac_ext
31891 cat >>conftest.$ac_ext <<_ACEOF
31892 /* end confdefs.h. */
31893
31894 #include <Xm/Xm.h>
31895
31896 int
31897 main ()
31898 {
31899
31900 int version;
31901 version = xmUseVersion;
31902
31903 ;
31904 return 0;
31905 }
31906 _ACEOF
31907 rm -f conftest.$ac_objext conftest$ac_exeext
31908 if { (ac_try="$ac_link"
31909 case "(($ac_try" in
31910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31911 *) ac_try_echo=$ac_try;;
31912 esac
31913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31914 (eval "$ac_link") 2>conftest.er1
31915 ac_status=$?
31916 grep -v '^ *+' conftest.er1 >conftest.err
31917 rm -f conftest.er1
31918 cat conftest.err >&5
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); } && {
31921 test -z "$ac_c_werror_flag" ||
31922 test ! -s conftest.err
31923 } && test -s conftest$ac_exeext &&
31924 $as_test_x conftest$ac_exeext; then
31925
31926 { echo "$as_me:$LINENO: result: found in default search path" >&5
31927 echo "${ECHO_T}found in default search path" >&6; }
31928 COMPILED_X_PROGRAM=1
31929
31930 else
31931 echo "$as_me: failed program was:" >&5
31932 sed 's/^/| /' conftest.$ac_ext >&5
31933
31934
31935 { echo "$as_me:$LINENO: result: no" >&5
31936 echo "${ECHO_T}no" >&6; }
31937 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31938 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31939 { (exit 1); exit 1; }; }
31940
31941
31942 fi
31943
31944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31945 conftest$ac_exeext conftest.$ac_ext
31946
31947 CFLAGS=$save_CFLAGS
31948 LIBS="$save_LIBS"
31949 fi
31950
31951 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31952 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31953 libp_link=""
31954 libsm_ice_link=""
31955 libs_found=0
31956 for libp in "" " -lXp"; do
31957 if test "$libs_found" = 0; then
31958 for libsm_ice in "" " -lSM -lICE"; do
31959 if test "$libs_found" = 0; then
31960 save_LIBS="$LIBS"
31961 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31962 save_CFLAGS=$CFLAGS
31963 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31964
31965 cat >conftest.$ac_ext <<_ACEOF
31966 /* confdefs.h. */
31967 _ACEOF
31968 cat confdefs.h >>conftest.$ac_ext
31969 cat >>conftest.$ac_ext <<_ACEOF
31970 /* end confdefs.h. */
31971
31972 #include <Xm/Xm.h>
31973 #include <Xm/List.h>
31974
31975 int
31976 main ()
31977 {
31978
31979 XmString string = NULL;
31980 Widget w = NULL;
31981 int position = 0;
31982 XmListAddItem(w, string, position);
31983
31984 ;
31985 return 0;
31986 }
31987 _ACEOF
31988 rm -f conftest.$ac_objext conftest$ac_exeext
31989 if { (ac_try="$ac_link"
31990 case "(($ac_try" in
31991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31992 *) ac_try_echo=$ac_try;;
31993 esac
31994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31995 (eval "$ac_link") 2>conftest.er1
31996 ac_status=$?
31997 grep -v '^ *+' conftest.er1 >conftest.err
31998 rm -f conftest.er1
31999 cat conftest.err >&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); } && {
32002 test -z "$ac_c_werror_flag" ||
32003 test ! -s conftest.err
32004 } && test -s conftest$ac_exeext &&
32005 $as_test_x conftest$ac_exeext; then
32006
32007 libp_link="$libp"
32008 libsm_ice_link="$libsm_ice"
32009 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32010 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32011 libs_found=1
32012
32013 else
32014 echo "$as_me: failed program was:" >&5
32015 sed 's/^/| /' conftest.$ac_ext >&5
32016
32017
32018
32019 fi
32020
32021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32022 conftest$ac_exeext conftest.$ac_ext
32023
32024 LIBS="$save_LIBS"
32025 CFLAGS=$save_CFLAGS
32026 fi
32027 done
32028 fi
32029 done
32030
32031 if test "$libs_found" = 0; then
32032 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32033 echo "${ECHO_T}can't find the right libraries" >&6; }
32034 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32035 echo "$as_me: error: can't link a simple motif program" >&2;}
32036 { (exit 1); exit 1; }; }
32037 fi
32038
32039 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32040 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32041 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32043 else
32044 ac_check_lib_save_LIBS=$LIBS
32045 LIBS="-lSgm $LIBS"
32046 cat >conftest.$ac_ext <<_ACEOF
32047 /* confdefs.h. */
32048 _ACEOF
32049 cat confdefs.h >>conftest.$ac_ext
32050 cat >>conftest.$ac_ext <<_ACEOF
32051 /* end confdefs.h. */
32052
32053 /* Override any GCC internal prototype to avoid an error.
32054 Use char because int might match the return type of a GCC
32055 builtin and then its argument prototype would still apply. */
32056 #ifdef __cplusplus
32057 extern "C"
32058 #endif
32059 char SgCreateList ();
32060 int
32061 main ()
32062 {
32063 return SgCreateList ();
32064 ;
32065 return 0;
32066 }
32067 _ACEOF
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (ac_try="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32073 esac
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32076 ac_status=$?
32077 grep -v '^ *+' conftest.er1 >conftest.err
32078 rm -f conftest.er1
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest$ac_exeext &&
32085 $as_test_x conftest$ac_exeext; then
32086 ac_cv_lib_Sgm_SgCreateList=yes
32087 else
32088 echo "$as_me: failed program was:" >&5
32089 sed 's/^/| /' conftest.$ac_ext >&5
32090
32091 ac_cv_lib_Sgm_SgCreateList=no
32092 fi
32093
32094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32095 conftest$ac_exeext conftest.$ac_ext
32096 LIBS=$ac_check_lib_save_LIBS
32097 fi
32098 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32099 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32100 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32101 libsgm_link=" -lSgm"
32102 fi
32103
32104
32105 save_CFLAGS=$CFLAGS
32106 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32107
32108 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32109 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32110 if test "${wx_cv_lib_motif2+set}" = set; then
32111 echo $ECHO_N "(cached) $ECHO_C" >&6
32112 else
32113 cat >conftest.$ac_ext <<_ACEOF
32114 /* confdefs.h. */
32115 _ACEOF
32116 cat confdefs.h >>conftest.$ac_ext
32117 cat >>conftest.$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32119
32120 #include <Xm/Xm.h>
32121
32122 int
32123 main ()
32124 {
32125
32126 #if XmVersion < 2000
32127 Not Motif 2
32128 #endif
32129
32130 ;
32131 return 0;
32132 }
32133 _ACEOF
32134 rm -f conftest.$ac_objext
32135 if { (ac_try="$ac_compile"
32136 case "(($ac_try" in
32137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32138 *) ac_try_echo=$ac_try;;
32139 esac
32140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32141 (eval "$ac_compile") 2>conftest.er1
32142 ac_status=$?
32143 grep -v '^ *+' conftest.er1 >conftest.err
32144 rm -f conftest.er1
32145 cat conftest.err >&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } && {
32148 test -z "$ac_c_werror_flag" ||
32149 test ! -s conftest.err
32150 } && test -s conftest.$ac_objext; then
32151 wx_cv_lib_motif2="yes"
32152 else
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32155
32156 wx_cv_lib_motif2="no"
32157 fi
32158
32159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32160 fi
32161 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32162 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32163 if test "$wx_cv_lib_motif2" = "yes"; then
32164 cat >>confdefs.h <<\_ACEOF
32165 #define __WXMOTIF20__ 1
32166 _ACEOF
32167
32168 else
32169 cat >>confdefs.h <<\_ACEOF
32170 #define __WXMOTIF20__ 0
32171 _ACEOF
32172
32173 fi
32174
32175 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32176 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32177 if test "${wx_cv_lib_lesstif+set}" = set; then
32178 echo $ECHO_N "(cached) $ECHO_C" >&6
32179 else
32180 cat >conftest.$ac_ext <<_ACEOF
32181 /* confdefs.h. */
32182 _ACEOF
32183 cat confdefs.h >>conftest.$ac_ext
32184 cat >>conftest.$ac_ext <<_ACEOF
32185 /* end confdefs.h. */
32186
32187 #include <Xm/Xm.h>
32188
32189 int
32190 main ()
32191 {
32192
32193 #if !defined(LesstifVersion) || LesstifVersion <= 0
32194 Not Lesstif
32195 #endif
32196
32197 ;
32198 return 0;
32199 }
32200 _ACEOF
32201 rm -f conftest.$ac_objext
32202 if { (ac_try="$ac_compile"
32203 case "(($ac_try" in
32204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32205 *) ac_try_echo=$ac_try;;
32206 esac
32207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32208 (eval "$ac_compile") 2>conftest.er1
32209 ac_status=$?
32210 grep -v '^ *+' conftest.er1 >conftest.err
32211 rm -f conftest.er1
32212 cat conftest.err >&5
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); } && {
32215 test -z "$ac_c_werror_flag" ||
32216 test ! -s conftest.err
32217 } && test -s conftest.$ac_objext; then
32218 wx_cv_lib_lesstif="yes"
32219 else
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.$ac_ext >&5
32222
32223 wx_cv_lib_lesstif="no"
32224 fi
32225
32226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32227
32228 fi
32229 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32230 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32231 if test "$wx_cv_lib_lesstif" = "yes"; then
32232 cat >>confdefs.h <<\_ACEOF
32233 #define __WXLESSTIF__ 1
32234 _ACEOF
32235
32236 else
32237 cat >>confdefs.h <<\_ACEOF
32238 #define __WXLESSTIF__ 0
32239 _ACEOF
32240
32241 fi
32242
32243 CFLAGS=$save_CFLAGS
32244
32245 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32246 TOOLKIT=MOTIF
32247 GUIDIST=MOTIF_DIST
32248 fi
32249
32250 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32251 if test "$wxUSE_LIBXPM" = "sys"; then
32252 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32253 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32254
32255 ac_find_libraries=
32256 for ac_dir in $SEARCH_LIB;
32257 do
32258 for ac_extension in a so sl dylib dll.a; do
32259 if test -f "$ac_dir/libXpm.$ac_extension"; then
32260 ac_find_libraries=$ac_dir
32261 break 2
32262 fi
32263 done
32264 done
32265
32266 if test "$ac_find_libraries" != "" ; then
32267
32268 if test "$ac_find_libraries" = "default location"; then
32269 ac_path_to_link=""
32270 else
32271 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32272 result=$?
32273 if test $result = 0; then
32274 ac_path_to_link=""
32275 else
32276 ac_path_to_link=" -L$ac_find_libraries"
32277 fi
32278 fi
32279
32280 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32281 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32282 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32283
32284 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32285 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32286 if test "${wx_cv_x11_xpm_h+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32288 else
32289
32290 save_CFLAGS=$CFLAGS
32291 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32292
32293 cat >conftest.$ac_ext <<_ACEOF
32294 /* confdefs.h. */
32295 _ACEOF
32296 cat confdefs.h >>conftest.$ac_ext
32297 cat >>conftest.$ac_ext <<_ACEOF
32298 /* end confdefs.h. */
32299
32300 #include <X11/xpm.h>
32301
32302 int
32303 main ()
32304 {
32305
32306 int version;
32307 version = XpmLibraryVersion();
32308
32309 ;
32310 return 0;
32311 }
32312 _ACEOF
32313 rm -f conftest.$ac_objext
32314 if { (ac_try="$ac_compile"
32315 case "(($ac_try" in
32316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32317 *) ac_try_echo=$ac_try;;
32318 esac
32319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32320 (eval "$ac_compile") 2>conftest.er1
32321 ac_status=$?
32322 grep -v '^ *+' conftest.er1 >conftest.err
32323 rm -f conftest.er1
32324 cat conftest.err >&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); } && {
32327 test -z "$ac_c_werror_flag" ||
32328 test ! -s conftest.err
32329 } && test -s conftest.$ac_objext; then
32330 wx_cv_x11_xpm_h=yes
32331 else
32332 echo "$as_me: failed program was:" >&5
32333 sed 's/^/| /' conftest.$ac_ext >&5
32334
32335 wx_cv_x11_xpm_h=no
32336
32337 fi
32338
32339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32340
32341 CFLAGS=$save_CFLAGS
32342
32343
32344 fi
32345 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32346 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32347
32348 if test $wx_cv_x11_xpm_h = "yes"; then
32349 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32350 cat >>confdefs.h <<\_ACEOF
32351 #define wxHAVE_LIB_XPM 1
32352 _ACEOF
32353
32354 else
32355 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32356 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32357 fi
32358 fi
32359
32360 fi
32361
32362 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32363 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32364 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 else
32367 ac_check_lib_save_LIBS=$LIBS
32368 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32369 cat >conftest.$ac_ext <<_ACEOF
32370 /* confdefs.h. */
32371 _ACEOF
32372 cat confdefs.h >>conftest.$ac_ext
32373 cat >>conftest.$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32375
32376 /* Override any GCC internal prototype to avoid an error.
32377 Use char because int might match the return type of a GCC
32378 builtin and then its argument prototype would still apply. */
32379 #ifdef __cplusplus
32380 extern "C"
32381 #endif
32382 char XShapeQueryExtension ();
32383 int
32384 main ()
32385 {
32386 return XShapeQueryExtension ();
32387 ;
32388 return 0;
32389 }
32390 _ACEOF
32391 rm -f conftest.$ac_objext conftest$ac_exeext
32392 if { (ac_try="$ac_link"
32393 case "(($ac_try" in
32394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32395 *) ac_try_echo=$ac_try;;
32396 esac
32397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32398 (eval "$ac_link") 2>conftest.er1
32399 ac_status=$?
32400 grep -v '^ *+' conftest.er1 >conftest.err
32401 rm -f conftest.er1
32402 cat conftest.err >&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); } && {
32405 test -z "$ac_c_werror_flag" ||
32406 test ! -s conftest.err
32407 } && test -s conftest$ac_exeext &&
32408 $as_test_x conftest$ac_exeext; then
32409 ac_cv_lib_Xext_XShapeQueryExtension=yes
32410 else
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.$ac_ext >&5
32413
32414 ac_cv_lib_Xext_XShapeQueryExtension=no
32415 fi
32416
32417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32418 conftest$ac_exeext conftest.$ac_ext
32419 LIBS=$ac_check_lib_save_LIBS
32420 fi
32421 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32422 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32423 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32424
32425 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32426 wxHAVE_XEXT_LIB=1
32427
32428 fi
32429
32430
32431 if test "$wxHAVE_XEXT_LIB" = 1; then
32432 save_CFLAGS="$CFLAGS"
32433 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32434
32435 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32436 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32437 cat >conftest.$ac_ext <<_ACEOF
32438 /* confdefs.h. */
32439 _ACEOF
32440 cat confdefs.h >>conftest.$ac_ext
32441 cat >>conftest.$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32443
32444 #include <X11/Xlib.h>
32445 #include <X11/extensions/shape.h>
32446
32447 int
32448 main ()
32449 {
32450
32451 int dummy1, dummy2;
32452 XShapeQueryExtension((Display*)NULL,
32453 (int*)NULL, (int*)NULL);
32454
32455 ;
32456 return 0;
32457 }
32458 _ACEOF
32459 rm -f conftest.$ac_objext
32460 if { (ac_try="$ac_compile"
32461 case "(($ac_try" in
32462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32463 *) ac_try_echo=$ac_try;;
32464 esac
32465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32466 (eval "$ac_compile") 2>conftest.er1
32467 ac_status=$?
32468 grep -v '^ *+' conftest.er1 >conftest.err
32469 rm -f conftest.er1
32470 cat conftest.err >&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); } && {
32473 test -z "$ac_c_werror_flag" ||
32474 test ! -s conftest.err
32475 } && test -s conftest.$ac_objext; then
32476
32477 cat >>confdefs.h <<\_ACEOF
32478 #define HAVE_XSHAPE 1
32479 _ACEOF
32480
32481 { echo "$as_me:$LINENO: result: found" >&5
32482 echo "${ECHO_T}found" >&6; }
32483
32484 else
32485 echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.$ac_ext >&5
32487
32488
32489 { echo "$as_me:$LINENO: result: not found" >&5
32490 echo "${ECHO_T}not found" >&6; }
32491
32492 fi
32493
32494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32495 CFLAGS="$save_CFLAGS"
32496
32497 fi
32498 fi
32499
32500 if test "$wxUSE_MAC" = 1; then
32501 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32502 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32503 if test "$GCC" = yes; then
32504 { echo "$as_me:$LINENO: result: gcc" >&5
32505 echo "${ECHO_T}gcc" >&6; }
32506 CPPFLAGS_PASCAL="-fpascal-strings"
32507 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32508 { echo "$as_me:$LINENO: result: xlc" >&5
32509 echo "${ECHO_T}xlc" >&6; }
32510 CPPFLAGS_PASCAL="-qmacpstr"
32511 else
32512 { echo "$as_me:$LINENO: result: none" >&5
32513 echo "${ECHO_T}none" >&6; }
32514 fi
32515
32516 if test "x$wxUSE_UNIX" = "xyes"; then
32517 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32518 else
32519 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32520 fi
32521
32522 TOOLKIT=MAC
32523 GUIDIST=MACX_DIST
32524 WXBASEPORT="_carbon"
32525 fi
32526
32527 if test "$wxUSE_COCOA" = 1; then
32528 TOOLKIT=COCOA
32529 GUIDIST=COCOA_DIST
32530 fi
32531
32532 if test "$wxUSE_PM" = 1; then
32533 TOOLKIT=PM
32534 GUIDIST=PM_DIST
32535 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32536 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32537 if test "${wx_cv_spbcdata+set}" = set; then
32538 echo $ECHO_N "(cached) $ECHO_C" >&6
32539 else
32540
32541 cat >conftest.$ac_ext <<_ACEOF
32542 /* confdefs.h. */
32543 _ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547
32548 #define INCL_PM
32549 #include <os2.h>
32550
32551 int
32552 main ()
32553 {
32554
32555 SPBCDATA test;
32556
32557 ;
32558 return 0;
32559 }
32560 _ACEOF
32561 rm -f conftest.$ac_objext
32562 if { (ac_try="$ac_compile"
32563 case "(($ac_try" in
32564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32565 *) ac_try_echo=$ac_try;;
32566 esac
32567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32568 (eval "$ac_compile") 2>conftest.er1
32569 ac_status=$?
32570 grep -v '^ *+' conftest.er1 >conftest.err
32571 rm -f conftest.er1
32572 cat conftest.err >&5
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); } && {
32575 test -z "$ac_c_werror_flag" ||
32576 test ! -s conftest.err
32577 } && test -s conftest.$ac_objext; then
32578 wx_cv_spbcdata=yes
32579 else
32580 echo "$as_me: failed program was:" >&5
32581 sed 's/^/| /' conftest.$ac_ext >&5
32582
32583 wx_cv_spbcdata=no
32584
32585 fi
32586
32587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32588
32589
32590 fi
32591 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32592 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32593
32594 if test $wx_cv_spbcdata = "yes"; then
32595 cat >>confdefs.h <<\_ACEOF
32596 #define HAVE_SPBCDATA 1
32597 _ACEOF
32598
32599 fi
32600 fi
32601
32602 if test "$TOOLKIT" = "PM" ; then
32603 TOOLKIT_DIR="os2"
32604 else
32605 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32606 fi
32607
32608 if test "$wxUSE_UNIVERSAL" = "yes"; then
32609 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32610 WIDGET_SET=univ
32611 fi
32612
32613 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32614 DISTDIR="wx\$(TOOLKIT)"
32615 else
32616 USE_GUI=0
32617
32618 TOOLKIT_DIR="base"
32619
32620 if test "$USE_WIN32" = 1 ; then
32621 TOOLKIT="MSW"
32622 fi
32623
32624 GUIDIST="BASE_DIST"
32625 DISTDIR="wxBase"
32626 fi
32627
32628
32629
32630 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32631 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32632 wxUSE_UNICODE_UTF8=yes
32633 elif test "$USE_OS2" = 1 ; then
32634 wxUSE_UNICODE_UTF8=yes
32635 else
32636 wxUSE_UNICODE_UTF8=no
32637 fi
32638 fi
32639
32640
32641 if test "$wxUSE_GUI" = "yes"; then
32642 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32643
32644 for ac_header in X11/Xlib.h
32645 do
32646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32650 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 else
32652 cat >conftest.$ac_ext <<_ACEOF
32653 /* confdefs.h. */
32654 _ACEOF
32655 cat confdefs.h >>conftest.$ac_ext
32656 cat >>conftest.$ac_ext <<_ACEOF
32657 /* end confdefs.h. */
32658
32659
32660 #include <$ac_header>
32661 _ACEOF
32662 rm -f conftest.$ac_objext
32663 if { (ac_try="$ac_compile"
32664 case "(($ac_try" in
32665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32666 *) ac_try_echo=$ac_try;;
32667 esac
32668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32669 (eval "$ac_compile") 2>conftest.er1
32670 ac_status=$?
32671 grep -v '^ *+' conftest.er1 >conftest.err
32672 rm -f conftest.er1
32673 cat conftest.err >&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); } && {
32676 test -z "$ac_c_werror_flag" ||
32677 test ! -s conftest.err
32678 } && test -s conftest.$ac_objext; then
32679 eval "$as_ac_Header=yes"
32680 else
32681 echo "$as_me: failed program was:" >&5
32682 sed 's/^/| /' conftest.$ac_ext >&5
32683
32684 eval "$as_ac_Header=no"
32685 fi
32686
32687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32688 fi
32689 ac_res=`eval echo '${'$as_ac_Header'}'`
32690 { echo "$as_me:$LINENO: result: $ac_res" >&5
32691 echo "${ECHO_T}$ac_res" >&6; }
32692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32693 cat >>confdefs.h <<_ACEOF
32694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32695 _ACEOF
32696
32697 fi
32698
32699 done
32700
32701
32702 for ac_header in X11/XKBlib.h
32703 do
32704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 else
32710 cat >conftest.$ac_ext <<_ACEOF
32711 /* confdefs.h. */
32712 _ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32716
32717 #if HAVE_X11_XLIB_H
32718 #include <X11/Xlib.h>
32719 #endif
32720
32721
32722 #include <$ac_header>
32723 _ACEOF
32724 rm -f conftest.$ac_objext
32725 if { (ac_try="$ac_compile"
32726 case "(($ac_try" in
32727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32728 *) ac_try_echo=$ac_try;;
32729 esac
32730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32731 (eval "$ac_compile") 2>conftest.er1
32732 ac_status=$?
32733 grep -v '^ *+' conftest.er1 >conftest.err
32734 rm -f conftest.er1
32735 cat conftest.err >&5
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); } && {
32738 test -z "$ac_c_werror_flag" ||
32739 test ! -s conftest.err
32740 } && test -s conftest.$ac_objext; then
32741 eval "$as_ac_Header=yes"
32742 else
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.$ac_ext >&5
32745
32746 eval "$as_ac_Header=no"
32747 fi
32748
32749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32750 fi
32751 ac_res=`eval echo '${'$as_ac_Header'}'`
32752 { echo "$as_me:$LINENO: result: $ac_res" >&5
32753 echo "${ECHO_T}$ac_res" >&6; }
32754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32755 cat >>confdefs.h <<_ACEOF
32756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32757 _ACEOF
32758
32759 fi
32760
32761 done
32762
32763 fi
32764 fi
32765
32766
32767
32768 if test "$wxUSE_DISPLAY" = "yes"; then
32769 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32770 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32771 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32772
32773 ac_find_libraries=
32774 for ac_dir in $SEARCH_LIB;
32775 do
32776 for ac_extension in a so sl dylib dll.a; do
32777 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32778 ac_find_libraries=$ac_dir
32779 break 2
32780 fi
32781 done
32782 done
32783
32784 if test "$ac_find_libraries" != "" ; then
32785
32786 if test "$ac_find_libraries" = "default location"; then
32787 ac_path_to_link=""
32788 else
32789 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32790 result=$?
32791 if test $result = 0; then
32792 ac_path_to_link=""
32793 else
32794 ac_path_to_link=" -L$ac_find_libraries"
32795 fi
32796 fi
32797
32798 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32799 LDFLAGS="$LDFLAGS $ac_path_to_link"
32800 fi
32801 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32802 { echo "$as_me:$LINENO: result: yes" >&5
32803 echo "${ECHO_T}yes" >&6; }
32804
32805 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32806 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32807
32808 ac_find_libraries=
32809 for ac_dir in $SEARCH_LIB;
32810 do
32811 for ac_extension in a so sl dylib dll.a; do
32812 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32813 ac_find_libraries=$ac_dir
32814 break 2
32815 fi
32816 done
32817 done
32818
32819 if test "$ac_find_libraries" != "" ; then
32820 { echo "$as_me:$LINENO: result: yes" >&5
32821 echo "${ECHO_T}yes" >&6; }
32822
32823 for ac_header in X11/extensions/xf86vmode.h
32824 do
32825 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32826 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32829 echo $ECHO_N "(cached) $ECHO_C" >&6
32830 else
32831 cat >conftest.$ac_ext <<_ACEOF
32832 /* confdefs.h. */
32833 _ACEOF
32834 cat confdefs.h >>conftest.$ac_ext
32835 cat >>conftest.$ac_ext <<_ACEOF
32836 /* end confdefs.h. */
32837
32838 #if HAVE_X11_XLIB_H
32839 #include <X11/Xlib.h>
32840 #endif
32841
32842
32843 #include <$ac_header>
32844 _ACEOF
32845 rm -f conftest.$ac_objext
32846 if { (ac_try="$ac_compile"
32847 case "(($ac_try" in
32848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32849 *) ac_try_echo=$ac_try;;
32850 esac
32851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32852 (eval "$ac_compile") 2>conftest.er1
32853 ac_status=$?
32854 grep -v '^ *+' conftest.er1 >conftest.err
32855 rm -f conftest.er1
32856 cat conftest.err >&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } && {
32859 test -z "$ac_c_werror_flag" ||
32860 test ! -s conftest.err
32861 } && test -s conftest.$ac_objext; then
32862 eval "$as_ac_Header=yes"
32863 else
32864 echo "$as_me: failed program was:" >&5
32865 sed 's/^/| /' conftest.$ac_ext >&5
32866
32867 eval "$as_ac_Header=no"
32868 fi
32869
32870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32871 fi
32872 ac_res=`eval echo '${'$as_ac_Header'}'`
32873 { echo "$as_me:$LINENO: result: $ac_res" >&5
32874 echo "${ECHO_T}$ac_res" >&6; }
32875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32876 cat >>confdefs.h <<_ACEOF
32877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32878 _ACEOF
32879
32880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32881
32882 fi
32883
32884 done
32885
32886 else
32887 { echo "$as_me:$LINENO: result: no" >&5
32888 echo "${ECHO_T}no" >&6; }
32889 fi
32890
32891 else
32892 { echo "$as_me:$LINENO: result: no" >&5
32893 echo "${ECHO_T}no" >&6; }
32894 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32895 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32896 wxUSE_DISPLAY="no"
32897 fi
32898 elif test "$wxUSE_MSW" = 1; then
32899 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32900 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32901 if test "${ac_cv_header_ddraw_h+set}" = set; then
32902 echo $ECHO_N "(cached) $ECHO_C" >&6
32903 else
32904 cat >conftest.$ac_ext <<_ACEOF
32905 /* confdefs.h. */
32906 _ACEOF
32907 cat confdefs.h >>conftest.$ac_ext
32908 cat >>conftest.$ac_ext <<_ACEOF
32909 /* end confdefs.h. */
32910 #include <windows.h>
32911
32912 #include <ddraw.h>
32913 _ACEOF
32914 rm -f conftest.$ac_objext
32915 if { (ac_try="$ac_compile"
32916 case "(($ac_try" in
32917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32918 *) ac_try_echo=$ac_try;;
32919 esac
32920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32921 (eval "$ac_compile") 2>conftest.er1
32922 ac_status=$?
32923 grep -v '^ *+' conftest.er1 >conftest.err
32924 rm -f conftest.er1
32925 cat conftest.err >&5
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); } && {
32928 test -z "$ac_c_werror_flag" ||
32929 test ! -s conftest.err
32930 } && test -s conftest.$ac_objext; then
32931 ac_cv_header_ddraw_h=yes
32932 else
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.$ac_ext >&5
32935
32936 ac_cv_header_ddraw_h=no
32937 fi
32938
32939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32940 fi
32941 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32942 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32943
32944
32945 fi
32946 fi
32947
32948 if test "$wxUSE_DETECT_SM" = "yes"; then
32949 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32950 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32951 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32952
32953 ac_find_libraries=
32954 for ac_dir in $SEARCH_LIB;
32955 do
32956 for ac_extension in a so sl dylib dll.a; do
32957 if test -f "$ac_dir/libSM.$ac_extension"; then
32958 ac_find_libraries=$ac_dir
32959 break 2
32960 fi
32961 done
32962 done
32963
32964 if test "$ac_find_libraries" != "" ; then
32965
32966 if test "$ac_find_libraries" = "default location"; then
32967 ac_path_to_link=""
32968 else
32969 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32970 result=$?
32971 if test $result = 0; then
32972 ac_path_to_link=""
32973 else
32974 ac_path_to_link=" -L$ac_find_libraries"
32975 fi
32976 fi
32977
32978 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32979 LDFLAGS="$LDFLAGS $ac_path_to_link"
32980 fi
32981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32982 { echo "$as_me:$LINENO: result: yes" >&5
32983 echo "${ECHO_T}yes" >&6; }
32984 else
32985 { echo "$as_me:$LINENO: result: no" >&5
32986 echo "${ECHO_T}no" >&6; }
32987 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32988 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32989 wxUSE_DETECT_SM="no"
32990 fi
32991 else
32992 wxUSE_DETECT_SM="no"
32993 fi
32994 fi
32995
32996
32997
32998 USE_OPENGL=0
32999 if test "$wxUSE_OPENGL" = "yes"; then
33000 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33001 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33002 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33003 wxUSE_OPENGL="no"
33004 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33005 OPENGL_LIBS="-framework OpenGL -framework AGL"
33006 elif test "$wxUSE_MSW" = 1; then
33007 OPENGL_LIBS="-lopengl32 -lglu32"
33008 else
33009 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33010 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33011
33012 ac_find_includes=
33013 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33014 do
33015 if test -f "$ac_dir/GL/gl.h"; then
33016 ac_find_includes=$ac_dir
33017 break
33018 fi
33019 done
33020
33021 if test "$ac_find_includes" != "" ; then
33022 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33023 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33024
33025 if test "x$ac_find_includes" = "x/usr/include"; then
33026 ac_path_to_include=""
33027 else
33028 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33029 result=$?
33030 if test $result = 0; then
33031 ac_path_to_include=""
33032 else
33033 ac_path_to_include=" -I$ac_find_includes"
33034 fi
33035 fi
33036
33037 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33038 else
33039 { echo "$as_me:$LINENO: result: not found" >&5
33040 echo "${ECHO_T}not found" >&6; }
33041 fi
33042
33043 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33044 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33045 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33046 echo $ECHO_N "(cached) $ECHO_C" >&6
33047 else
33048 cat >conftest.$ac_ext <<_ACEOF
33049 /* confdefs.h. */
33050 _ACEOF
33051 cat confdefs.h >>conftest.$ac_ext
33052 cat >>conftest.$ac_ext <<_ACEOF
33053 /* end confdefs.h. */
33054
33055
33056 #include <GL/gl.h>
33057 _ACEOF
33058 rm -f conftest.$ac_objext
33059 if { (ac_try="$ac_compile"
33060 case "(($ac_try" in
33061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33062 *) ac_try_echo=$ac_try;;
33063 esac
33064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33065 (eval "$ac_compile") 2>conftest.er1
33066 ac_status=$?
33067 grep -v '^ *+' conftest.er1 >conftest.err
33068 rm -f conftest.er1
33069 cat conftest.err >&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } && {
33072 test -z "$ac_c_werror_flag" ||
33073 test ! -s conftest.err
33074 } && test -s conftest.$ac_objext; then
33075 ac_cv_header_GL_gl_h=yes
33076 else
33077 echo "$as_me: failed program was:" >&5
33078 sed 's/^/| /' conftest.$ac_ext >&5
33079
33080 ac_cv_header_GL_gl_h=no
33081 fi
33082
33083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33084 fi
33085 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33086 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33087 if test $ac_cv_header_GL_gl_h = yes; then
33088
33089 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33090 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33091 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33092 echo $ECHO_N "(cached) $ECHO_C" >&6
33093 else
33094 cat >conftest.$ac_ext <<_ACEOF
33095 /* confdefs.h. */
33096 _ACEOF
33097 cat confdefs.h >>conftest.$ac_ext
33098 cat >>conftest.$ac_ext <<_ACEOF
33099 /* end confdefs.h. */
33100
33101
33102 #include <GL/glu.h>
33103 _ACEOF
33104 rm -f conftest.$ac_objext
33105 if { (ac_try="$ac_compile"
33106 case "(($ac_try" in
33107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33108 *) ac_try_echo=$ac_try;;
33109 esac
33110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33111 (eval "$ac_compile") 2>conftest.er1
33112 ac_status=$?
33113 grep -v '^ *+' conftest.er1 >conftest.err
33114 rm -f conftest.er1
33115 cat conftest.err >&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); } && {
33118 test -z "$ac_c_werror_flag" ||
33119 test ! -s conftest.err
33120 } && test -s conftest.$ac_objext; then
33121 ac_cv_header_GL_glu_h=yes
33122 else
33123 echo "$as_me: failed program was:" >&5
33124 sed 's/^/| /' conftest.$ac_ext >&5
33125
33126 ac_cv_header_GL_glu_h=no
33127 fi
33128
33129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33130 fi
33131 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33132 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33133 if test $ac_cv_header_GL_glu_h = yes; then
33134
33135 found_gl=0
33136
33137 { echo "$as_me:$LINENO: checking for -lGL" >&5
33138 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33139
33140 ac_find_libraries=
33141 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33142 do
33143 for ac_extension in a so sl dylib dll.a; do
33144 if test -f "$ac_dir/libGL.$ac_extension"; then
33145 ac_find_libraries=$ac_dir
33146 break 2
33147 fi
33148 done
33149 done
33150
33151 if test "$ac_find_libraries" != "" ; then
33152 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33153 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33154
33155
33156 if test "$ac_find_libraries" = "default location"; then
33157 ac_path_to_link=""
33158 else
33159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33160 result=$?
33161 if test $result = 0; then
33162 ac_path_to_link=""
33163 else
33164 ac_path_to_link=" -L$ac_find_libraries"
33165 fi
33166 fi
33167
33168 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33169 LDFLAGS_GL="$ac_path_to_link"
33170 fi
33171
33172 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33173 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33174
33175 ac_find_libraries=
33176 for ac_dir in $SEARCH_LIB;
33177 do
33178 for ac_extension in a so sl dylib dll.a; do
33179 if test -f "$ac_dir/libGLU.$ac_extension"; then
33180 ac_find_libraries=$ac_dir
33181 break 2
33182 fi
33183 done
33184 done
33185
33186 if test "$ac_find_libraries" != "" ; then
33187
33188 if test "$ac_find_libraries" = "default location"; then
33189 ac_path_to_link=""
33190 else
33191 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33192 result=$?
33193 if test $result = 0; then
33194 ac_path_to_link=""
33195 else
33196 ac_path_to_link=" -L$ac_find_libraries"
33197 fi
33198 fi
33199
33200 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33201 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33202 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33203 fi
33204
33205 found_gl=1
33206 OPENGL_LIBS="-lGL -lGLU"
33207 { echo "$as_me:$LINENO: result: yes" >&5
33208 echo "${ECHO_T}yes" >&6; }
33209 else
33210 { echo "$as_me:$LINENO: result: no" >&5
33211 echo "${ECHO_T}no" >&6; }
33212 fi
33213 else
33214 { echo "$as_me:$LINENO: result: no" >&5
33215 echo "${ECHO_T}no" >&6; }
33216 fi
33217
33218 if test "$found_gl" != 1; then
33219 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33220 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33221
33222 ac_find_libraries=
33223 for ac_dir in $SEARCH_LIB;
33224 do
33225 for ac_extension in a so sl dylib dll.a; do
33226 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33227 ac_find_libraries=$ac_dir
33228 break 2
33229 fi
33230 done
33231 done
33232
33233 if test "$ac_find_libraries" != "" ; then
33234
33235 if test "$ac_find_libraries" = "default location"; then
33236 ac_path_to_link=""
33237 else
33238 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33239 result=$?
33240 if test $result = 0; then
33241 ac_path_to_link=""
33242 else
33243 ac_path_to_link=" -L$ac_find_libraries"
33244 fi
33245 fi
33246
33247 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33248 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33249 { echo "$as_me:$LINENO: result: yes" >&5
33250 echo "${ECHO_T}yes" >&6; }
33251 else
33252 { echo "$as_me:$LINENO: result: no" >&5
33253 echo "${ECHO_T}no" >&6; }
33254 fi
33255 fi
33256
33257 fi
33258
33259
33260
33261 fi
33262
33263
33264
33265 if test "x$OPENGL_LIBS" = "x"; then
33266 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33267 echo "$as_me: error: OpenGL libraries not available" >&2;}
33268 { (exit 1); exit 1; }; }
33269 fi
33270 fi
33271
33272 if test "$wxUSE_OPENGL" = "yes"; then
33273 USE_OPENGL=1
33274 cat >>confdefs.h <<\_ACEOF
33275 #define wxUSE_OPENGL 1
33276 _ACEOF
33277
33278 cat >>confdefs.h <<\_ACEOF
33279 #define wxUSE_GLCANVAS 1
33280 _ACEOF
33281
33282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33283 fi
33284 fi
33285
33286
33287 if test -n "$TOOLKIT" ; then
33288 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33289 fi
33290
33291
33292
33293 if test "$wxUSE_SHARED" = "yes"; then
33294 case "${host}" in
33295 *-pc-msdosdjgpp )
33296 wxUSE_SHARED=no
33297 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33298 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33299 ;;
33300 esac
33301 fi
33302
33303 if test "$wxUSE_SHARED" = "yes"; then
33304
33305
33306 case "${host}" in
33307 *-*-cygwin* | *-*-mingw* )
33308 wx_cv_version_script=no
33309 ;;
33310
33311 *)
33312 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33313 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33314 if test "${wx_cv_version_script+set}" = set; then
33315 echo $ECHO_N "(cached) $ECHO_C" >&6
33316 else
33317
33318 echo "VER_1 { *; };" >conftest.sym
33319 echo "int main() { return 0; }" >conftest.cpp
33320
33321 if { ac_try='
33322 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33323 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33325 (eval $ac_try) 2>&5
33326 ac_status=$?
33327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33328 (exit $ac_status); }; } ; then
33329 if test -s conftest.stderr ; then
33330 wx_cv_version_script=no
33331 else
33332 wx_cv_version_script=yes
33333 fi
33334 else
33335 wx_cv_version_script=no
33336 fi
33337
33338 if test $wx_cv_version_script = yes
33339 then
33340 echo "struct B { virtual ~B() { } }; \
33341 struct D : public B { }; \
33342 void F() { D d; }" > conftest.cpp
33343
33344 if { ac_try='
33345 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33346 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33348 (eval $ac_try) 2>&5
33349 ac_status=$?
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); }; } &&
33352 { ac_try='
33353 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33354 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33356 (eval $ac_try) 2>&5
33357 ac_status=$?
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); }; }
33360 then
33361 if { ac_try='
33362 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33363 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33366 ac_status=$?
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; }
33369 then
33370 wx_cv_version_script=yes
33371 else
33372 wx_cv_version_script=no
33373 fi
33374 fi
33375 fi
33376
33377 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33378 rm -f conftest1.output conftest2.output conftest3.output
33379
33380 fi
33381 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33382 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33383
33384 if test $wx_cv_version_script = yes ; then
33385 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33386 fi
33387 ;;
33388 esac
33389
33390
33391 if test "$wxUSE_VISIBILITY" != "no"; then
33392
33393
33394 if test -n "$GCC"; then
33395 CFLAGS_VISIBILITY="-fvisibility=hidden"
33396 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33397 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33398 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33399 if test "${wx_cv_cc_visibility+set}" = set; then
33400 echo $ECHO_N "(cached) $ECHO_C" >&6
33401 else
33402
33403 wx_save_CXXFLAGS="$CXXFLAGS"
33404 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33405 ac_ext=cpp
33406 ac_cpp='$CXXCPP $CPPFLAGS'
33407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33410
33411 cat >conftest.$ac_ext <<_ACEOF
33412 /* confdefs.h. */
33413 _ACEOF
33414 cat confdefs.h >>conftest.$ac_ext
33415 cat >>conftest.$ac_ext <<_ACEOF
33416 /* end confdefs.h. */
33417
33418 /* we need gcc >= 4.0, older versions with visibility support
33419 didn't have class visibility: */
33420 #if defined(__GNUC__) && __GNUC__ < 4
33421 error this gcc is too old;
33422 #endif
33423
33424 /* visibility only makes sense for ELF shared libs: */
33425 #if !defined(__ELF__) && !defined(__APPLE__)
33426 error this platform has no visibility;
33427 #endif
33428
33429 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33430 extern __attribute__((__visibility__("default"))) int exportedvar;
33431 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33432 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33433 class __attribute__((__visibility__("default"))) Foo {
33434 Foo() {}
33435 };
33436
33437 int
33438 main ()
33439 {
33440
33441 ;
33442 return 0;
33443 }
33444 _ACEOF
33445 rm -f conftest.$ac_objext
33446 if { (ac_try="$ac_compile"
33447 case "(($ac_try" in
33448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33449 *) ac_try_echo=$ac_try;;
33450 esac
33451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33452 (eval "$ac_compile") 2>conftest.er1
33453 ac_status=$?
33454 grep -v '^ *+' conftest.er1 >conftest.err
33455 rm -f conftest.er1
33456 cat conftest.err >&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); } && {
33459 test -z "$ac_cxx_werror_flag" ||
33460 test ! -s conftest.err
33461 } && test -s conftest.$ac_objext; then
33462 wx_cv_cc_visibility=yes
33463 else
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.$ac_ext >&5
33466
33467 wx_cv_cc_visibility=no
33468 fi
33469
33470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33471 ac_ext=c
33472 ac_cpp='$CPP $CPPFLAGS'
33473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33476
33477 CXXFLAGS="$wx_save_CXXFLAGS"
33478 fi
33479
33480 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33481 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33482 if test $wx_cv_cc_visibility = yes; then
33483 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33484 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33485 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33486 echo $ECHO_N "(cached) $ECHO_C" >&6
33487 else
33488
33489 wx_save_CXXFLAGS="$CXXFLAGS"
33490 wx_save_LDFLAGS="$LDFLAGS"
33491 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33492 LDFLAGS="$LDFLAGS -shared -fPIC"
33493 ac_ext=cpp
33494 ac_cpp='$CXXCPP $CPPFLAGS'
33495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33498
33499 cat >conftest.$ac_ext <<_ACEOF
33500 /* confdefs.h. */
33501 _ACEOF
33502 cat confdefs.h >>conftest.$ac_ext
33503 cat >>conftest.$ac_ext <<_ACEOF
33504 /* end confdefs.h. */
33505
33506 #include <string>
33507
33508 int
33509 main ()
33510 {
33511
33512 std::string s("hello");
33513 return s.length();
33514
33515 ;
33516 return 0;
33517 }
33518 _ACEOF
33519 rm -f conftest.$ac_objext conftest$ac_exeext
33520 if { (ac_try="$ac_link"
33521 case "(($ac_try" in
33522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33523 *) ac_try_echo=$ac_try;;
33524 esac
33525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33526 (eval "$ac_link") 2>conftest.er1
33527 ac_status=$?
33528 grep -v '^ *+' conftest.er1 >conftest.err
33529 rm -f conftest.er1
33530 cat conftest.err >&5
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); } && {
33533 test -z "$ac_cxx_werror_flag" ||
33534 test ! -s conftest.err
33535 } && test -s conftest$ac_exeext &&
33536 $as_test_x conftest$ac_exeext; then
33537 wx_cv_cc_broken_libstdcxx_visibility=no
33538 else
33539 echo "$as_me: failed program was:" >&5
33540 sed 's/^/| /' conftest.$ac_ext >&5
33541
33542 wx_cv_cc_broken_libstdcxx_visibility=yes
33543 fi
33544
33545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33546 conftest$ac_exeext conftest.$ac_ext
33547 ac_ext=c
33548 ac_cpp='$CPP $CPPFLAGS'
33549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33552
33553 CXXFLAGS="$wx_save_CXXFLAGS"
33554 LDFLAGS="$wx_save_LDFLAGS"
33555 fi
33556
33557 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33558 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33559
33560 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33561 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33562 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33563 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33565 else
33566
33567 ac_ext=cpp
33568 ac_cpp='$CXXCPP $CPPFLAGS'
33569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33572
33573 cat >conftest.$ac_ext <<_ACEOF
33574 /* confdefs.h. */
33575 _ACEOF
33576 cat confdefs.h >>conftest.$ac_ext
33577 cat >>conftest.$ac_ext <<_ACEOF
33578 /* end confdefs.h. */
33579
33580 #pragma GCC visibility push(default)
33581 #include <string>
33582 #pragma GCC visibility pop
33583
33584 int
33585 main ()
33586 {
33587
33588 std::string s("hello");
33589 return s.length();
33590
33591 ;
33592 return 0;
33593 }
33594 _ACEOF
33595 rm -f conftest.$ac_objext conftest$ac_exeext
33596 if { (ac_try="$ac_link"
33597 case "(($ac_try" in
33598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33599 *) ac_try_echo=$ac_try;;
33600 esac
33601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33602 (eval "$ac_link") 2>conftest.er1
33603 ac_status=$?
33604 grep -v '^ *+' conftest.er1 >conftest.err
33605 rm -f conftest.er1
33606 cat conftest.err >&5
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); } && {
33609 test -z "$ac_cxx_werror_flag" ||
33610 test ! -s conftest.err
33611 } && test -s conftest$ac_exeext &&
33612 $as_test_x conftest$ac_exeext; then
33613 wx_cv_cc_visibility_workaround=no
33614 else
33615 echo "$as_me: failed program was:" >&5
33616 sed 's/^/| /' conftest.$ac_ext >&5
33617
33618 wx_cv_cc_visibility_workaround=yes
33619 fi
33620
33621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33622 conftest$ac_exeext conftest.$ac_ext
33623 ac_ext=c
33624 ac_cpp='$CPP $CPPFLAGS'
33625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33628
33629
33630 fi
33631
33632 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33633 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33634
33635 if test $wx_cv_cc_visibility_workaround = no; then
33636 wx_cv_cc_visibility=no
33637 fi
33638 fi
33639 fi
33640
33641 if test $wx_cv_cc_visibility = yes; then
33642 cat >>confdefs.h <<\_ACEOF
33643 #define HAVE_VISIBILITY 1
33644 _ACEOF
33645
33646 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33647 cat >>confdefs.h <<\_ACEOF
33648 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33649 _ACEOF
33650
33651 fi
33652 else
33653 CFLAGS_VISIBILITY=""
33654 CXXFLAGS_VISIBILITY=""
33655 fi
33656
33657
33658 fi
33659
33660 fi
33661
33662 if test "x$SUNCXX" = xyes; then
33663 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33664 WXCONFIG_RPATH="-R\$libdir"
33665 else
33666 case "${host}" in
33667 *-*-linux* | *-*-gnu* )
33668 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33669 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33670 ;;
33671
33672 *-*-solaris2* )
33673
33674 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33675
33676 saveLdflags="$LDFLAGS"
33677 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33678 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33679 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33680 cat >conftest.$ac_ext <<_ACEOF
33681 /* confdefs.h. */
33682 _ACEOF
33683 cat confdefs.h >>conftest.$ac_ext
33684 cat >>conftest.$ac_ext <<_ACEOF
33685 /* end confdefs.h. */
33686
33687 int
33688 main ()
33689 {
33690
33691 ;
33692 return 0;
33693 }
33694 _ACEOF
33695 rm -f conftest.$ac_objext conftest$ac_exeext
33696 if { (ac_try="$ac_link"
33697 case "(($ac_try" in
33698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33699 *) ac_try_echo=$ac_try;;
33700 esac
33701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33702 (eval "$ac_link") 2>conftest.er1
33703 ac_status=$?
33704 grep -v '^ *+' conftest.er1 >conftest.err
33705 rm -f conftest.er1
33706 cat conftest.err >&5
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); } && {
33709 test -z "$ac_c_werror_flag" ||
33710 test ! -s conftest.err
33711 } && test -s conftest$ac_exeext &&
33712 $as_test_x conftest$ac_exeext; then
33713
33714 { echo "$as_me:$LINENO: result: yes" >&5
33715 echo "${ECHO_T}yes" >&6; }
33716 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33717 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33718
33719 else
33720 echo "$as_me: failed program was:" >&5
33721 sed 's/^/| /' conftest.$ac_ext >&5
33722
33723
33724 { echo "$as_me:$LINENO: result: no" >&5
33725 echo "${ECHO_T}no" >&6; }
33726 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33727 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33728 LDFLAGS="$saveLdflags -Wl,-R,/"
33729 cat >conftest.$ac_ext <<_ACEOF
33730 /* confdefs.h. */
33731 _ACEOF
33732 cat confdefs.h >>conftest.$ac_ext
33733 cat >>conftest.$ac_ext <<_ACEOF
33734 /* end confdefs.h. */
33735
33736 int
33737 main ()
33738 {
33739
33740 ;
33741 return 0;
33742 }
33743 _ACEOF
33744 rm -f conftest.$ac_objext conftest$ac_exeext
33745 if { (ac_try="$ac_link"
33746 case "(($ac_try" in
33747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33748 *) ac_try_echo=$ac_try;;
33749 esac
33750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33751 (eval "$ac_link") 2>conftest.er1
33752 ac_status=$?
33753 grep -v '^ *+' conftest.er1 >conftest.err
33754 rm -f conftest.er1
33755 cat conftest.err >&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); } && {
33758 test -z "$ac_c_werror_flag" ||
33759 test ! -s conftest.err
33760 } && test -s conftest$ac_exeext &&
33761 $as_test_x conftest$ac_exeext; then
33762
33763 { echo "$as_me:$LINENO: result: yes" >&5
33764 echo "${ECHO_T}yes" >&6; }
33765 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33766 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33767
33768 else
33769 echo "$as_me: failed program was:" >&5
33770 sed 's/^/| /' conftest.$ac_ext >&5
33771
33772
33773 { echo "$as_me:$LINENO: result: no" >&5
33774 echo "${ECHO_T}no" >&6; }
33775
33776 fi
33777
33778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33779 conftest$ac_exeext conftest.$ac_ext
33780
33781 fi
33782
33783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33784 conftest$ac_exeext conftest.$ac_ext
33785 LDFLAGS="$saveLdflags"
33786 ;;
33787
33788 *-*-darwin* )
33789 install_name_tool=`which install_name_tool`
33790 if test "$install_name_tool" -a -x "$install_name_tool"; then
33791 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33792 cat <<EOF >change-install-names
33793 #!/bin/sh
33794 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33795 inst_cmd="install_name_tool "
33796 for i in \${libnames} ; do
33797 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33798 done
33799 \${inst_cmd} \${3}
33800 EOF
33801 chmod +x change-install-names
33802 fi
33803 ;;
33804
33805 *-*-cygwin* | *-*-mingw32* )
33806 ;;
33807
33808 *-*-hpux* )
33809 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33810 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33811 ;;
33812
33813 esac
33814 fi
33815
33816 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33817
33818 if test $wxUSE_RPATH = "no"; then
33819 SAMPLES_RPATH_FLAG=''
33820 SAMPLES_RPATH_POSTLINK=''
33821 WXCONFIG_RPATH=''
33822 fi
33823
33824 SHARED=1
33825
33826 else
33827
33828 config_linkage_component="-static"
33829 SHARED=0
33830
33831 fi
33832
33833
33834 UNICODE=0
33835 lib_unicode_suffix=
33836 WX_CHARTYPE="ansi"
33837 if test "$wxUSE_UNICODE" = "yes"; then
33838 lib_unicode_suffix=u
33839 WX_CHARTYPE="unicode"
33840 UNICODE=1
33841 fi
33842
33843 lib_debug_suffix=
33844 WX_DEBUGTYPE="release"
33845 DEBUG_FLAG=0
33846 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33847 lib_debug_suffix=d
33848 WX_DEBUGTYPE="debug"
33849 DEBUG_FLAG=1
33850 fi
33851
33852 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33853 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33854
33855 DEBUG_INFO=0
33856 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33857 DEBUG_INFO=1
33858 fi
33859
33860 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33861
33862 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33863
33864 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33865
33866 if test "$cross_compiling" = "yes"; then
33867 HOST_SUFFIX="-$host_alias"
33868 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33869 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33870 fi
33871
33872 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33873 if test "${TOOLKIT_DIR}" = "os2"; then
33874 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33875 else
33876 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33877 fi
33878
33879
33880
33881 if test "$wxUSE_COCOA" = 1; then
33882
33883 ac_ext=c
33884 ac_cpp='$CPP $CPPFLAGS'
33885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33888
33889 ac_ext=m
33890
33891 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33892 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33893 cat >conftest.$ac_ext <<_ACEOF
33894 /* confdefs.h. */
33895 _ACEOF
33896 cat confdefs.h >>conftest.$ac_ext
33897 cat >>conftest.$ac_ext <<_ACEOF
33898 /* end confdefs.h. */
33899 #include <AppKit/NSEvent.h>
33900 #include <CoreFoundation/CoreFoundation.h>
33901
33902 int
33903 main ()
33904 {
33905
33906 ;
33907 return 0;
33908 }
33909 _ACEOF
33910 rm -f conftest.$ac_objext
33911 if { (ac_try="$ac_compile"
33912 case "(($ac_try" in
33913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33914 *) ac_try_echo=$ac_try;;
33915 esac
33916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33917 (eval "$ac_compile") 2>conftest.er1
33918 ac_status=$?
33919 grep -v '^ *+' conftest.er1 >conftest.err
33920 rm -f conftest.er1
33921 cat conftest.err >&5
33922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923 (exit $ac_status); } && {
33924 test -z "$ac_c_werror_flag" ||
33925 test ! -s conftest.err
33926 } && test -s conftest.$ac_objext; then
33927 { echo "$as_me:$LINENO: result: no" >&5
33928 echo "${ECHO_T}no" >&6; }
33929 else
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33932
33933 { echo "$as_me:$LINENO: result: yes" >&5
33934 echo "${ECHO_T}yes" >&6; }
33935 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33936 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33937 cat >conftest.$ac_ext <<_ACEOF
33938 /* confdefs.h. */
33939 _ACEOF
33940 cat confdefs.h >>conftest.$ac_ext
33941 cat >>conftest.$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 #define __Point__ 1
33944 #include <AppKit/NSEvent.h>
33945 #include <CoreFoundation/CoreFoundation.h>
33946
33947 int
33948 main ()
33949 {
33950
33951 ;
33952 return 0;
33953 }
33954 _ACEOF
33955 rm -f conftest.$ac_objext
33956 if { (ac_try="$ac_compile"
33957 case "(($ac_try" in
33958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33959 *) ac_try_echo=$ac_try;;
33960 esac
33961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33962 (eval "$ac_compile") 2>conftest.er1
33963 ac_status=$?
33964 grep -v '^ *+' conftest.er1 >conftest.err
33965 rm -f conftest.er1
33966 cat conftest.err >&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); } && {
33969 test -z "$ac_c_werror_flag" ||
33970 test ! -s conftest.err
33971 } && test -s conftest.$ac_objext; then
33972 { echo "$as_me:$LINENO: result: yes" >&5
33973 echo "${ECHO_T}yes" >&6; }
33974 cat >>confdefs.h <<\_ACEOF
33975 #define __Point__ 1
33976 _ACEOF
33977
33978
33979 else
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33982
33983 { { echo "$as_me:$LINENO: error: no
33984 See \`config.log' for more details." >&5
33985 echo "$as_me: error: no
33986 See \`config.log' for more details." >&2;}
33987 { (exit 1); exit 1; }; }
33988
33989 fi
33990
33991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33992
33993 fi
33994
33995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33996 ac_ext=c
33997 ac_cpp='$CPP $CPPFLAGS'
33998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34001
34002 fi
34003
34004
34005 { echo "$as_me:$LINENO: checking for mode_t" >&5
34006 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34007 if test "${ac_cv_type_mode_t+set}" = set; then
34008 echo $ECHO_N "(cached) $ECHO_C" >&6
34009 else
34010 cat >conftest.$ac_ext <<_ACEOF
34011 /* confdefs.h. */
34012 _ACEOF
34013 cat confdefs.h >>conftest.$ac_ext
34014 cat >>conftest.$ac_ext <<_ACEOF
34015 /* end confdefs.h. */
34016 $ac_includes_default
34017 typedef mode_t ac__type_new_;
34018 int
34019 main ()
34020 {
34021 if ((ac__type_new_ *) 0)
34022 return 0;
34023 if (sizeof (ac__type_new_))
34024 return 0;
34025 ;
34026 return 0;
34027 }
34028 _ACEOF
34029 rm -f conftest.$ac_objext
34030 if { (ac_try="$ac_compile"
34031 case "(($ac_try" in
34032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34033 *) ac_try_echo=$ac_try;;
34034 esac
34035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34036 (eval "$ac_compile") 2>conftest.er1
34037 ac_status=$?
34038 grep -v '^ *+' conftest.er1 >conftest.err
34039 rm -f conftest.er1
34040 cat conftest.err >&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } && {
34043 test -z "$ac_c_werror_flag" ||
34044 test ! -s conftest.err
34045 } && test -s conftest.$ac_objext; then
34046 ac_cv_type_mode_t=yes
34047 else
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34050
34051 ac_cv_type_mode_t=no
34052 fi
34053
34054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34055 fi
34056 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34057 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34058 if test $ac_cv_type_mode_t = yes; then
34059 :
34060 else
34061
34062 cat >>confdefs.h <<_ACEOF
34063 #define mode_t int
34064 _ACEOF
34065
34066 fi
34067
34068 { echo "$as_me:$LINENO: checking for off_t" >&5
34069 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34070 if test "${ac_cv_type_off_t+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 else
34073 cat >conftest.$ac_ext <<_ACEOF
34074 /* confdefs.h. */
34075 _ACEOF
34076 cat confdefs.h >>conftest.$ac_ext
34077 cat >>conftest.$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 $ac_includes_default
34080 typedef off_t ac__type_new_;
34081 int
34082 main ()
34083 {
34084 if ((ac__type_new_ *) 0)
34085 return 0;
34086 if (sizeof (ac__type_new_))
34087 return 0;
34088 ;
34089 return 0;
34090 }
34091 _ACEOF
34092 rm -f conftest.$ac_objext
34093 if { (ac_try="$ac_compile"
34094 case "(($ac_try" in
34095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34096 *) ac_try_echo=$ac_try;;
34097 esac
34098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34099 (eval "$ac_compile") 2>conftest.er1
34100 ac_status=$?
34101 grep -v '^ *+' conftest.er1 >conftest.err
34102 rm -f conftest.er1
34103 cat conftest.err >&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); } && {
34106 test -z "$ac_c_werror_flag" ||
34107 test ! -s conftest.err
34108 } && test -s conftest.$ac_objext; then
34109 ac_cv_type_off_t=yes
34110 else
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.$ac_ext >&5
34113
34114 ac_cv_type_off_t=no
34115 fi
34116
34117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34118 fi
34119 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34120 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34121 if test $ac_cv_type_off_t = yes; then
34122 :
34123 else
34124
34125 cat >>confdefs.h <<_ACEOF
34126 #define off_t long int
34127 _ACEOF
34128
34129 fi
34130
34131 { echo "$as_me:$LINENO: checking for pid_t" >&5
34132 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34133 if test "${ac_cv_type_pid_t+set}" = set; then
34134 echo $ECHO_N "(cached) $ECHO_C" >&6
34135 else
34136 cat >conftest.$ac_ext <<_ACEOF
34137 /* confdefs.h. */
34138 _ACEOF
34139 cat confdefs.h >>conftest.$ac_ext
34140 cat >>conftest.$ac_ext <<_ACEOF
34141 /* end confdefs.h. */
34142 $ac_includes_default
34143 typedef pid_t ac__type_new_;
34144 int
34145 main ()
34146 {
34147 if ((ac__type_new_ *) 0)
34148 return 0;
34149 if (sizeof (ac__type_new_))
34150 return 0;
34151 ;
34152 return 0;
34153 }
34154 _ACEOF
34155 rm -f conftest.$ac_objext
34156 if { (ac_try="$ac_compile"
34157 case "(($ac_try" in
34158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34159 *) ac_try_echo=$ac_try;;
34160 esac
34161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34162 (eval "$ac_compile") 2>conftest.er1
34163 ac_status=$?
34164 grep -v '^ *+' conftest.er1 >conftest.err
34165 rm -f conftest.er1
34166 cat conftest.err >&5
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); } && {
34169 test -z "$ac_c_werror_flag" ||
34170 test ! -s conftest.err
34171 } && test -s conftest.$ac_objext; then
34172 ac_cv_type_pid_t=yes
34173 else
34174 echo "$as_me: failed program was:" >&5
34175 sed 's/^/| /' conftest.$ac_ext >&5
34176
34177 ac_cv_type_pid_t=no
34178 fi
34179
34180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34181 fi
34182 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34183 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34184 if test $ac_cv_type_pid_t = yes; then
34185 :
34186 else
34187
34188 cat >>confdefs.h <<_ACEOF
34189 #define pid_t int
34190 _ACEOF
34191
34192 fi
34193
34194 { echo "$as_me:$LINENO: checking for size_t" >&5
34195 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34196 if test "${ac_cv_type_size_t+set}" = set; then
34197 echo $ECHO_N "(cached) $ECHO_C" >&6
34198 else
34199 cat >conftest.$ac_ext <<_ACEOF
34200 /* confdefs.h. */
34201 _ACEOF
34202 cat confdefs.h >>conftest.$ac_ext
34203 cat >>conftest.$ac_ext <<_ACEOF
34204 /* end confdefs.h. */
34205 $ac_includes_default
34206 typedef size_t ac__type_new_;
34207 int
34208 main ()
34209 {
34210 if ((ac__type_new_ *) 0)
34211 return 0;
34212 if (sizeof (ac__type_new_))
34213 return 0;
34214 ;
34215 return 0;
34216 }
34217 _ACEOF
34218 rm -f conftest.$ac_objext
34219 if { (ac_try="$ac_compile"
34220 case "(($ac_try" in
34221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34222 *) ac_try_echo=$ac_try;;
34223 esac
34224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34225 (eval "$ac_compile") 2>conftest.er1
34226 ac_status=$?
34227 grep -v '^ *+' conftest.er1 >conftest.err
34228 rm -f conftest.er1
34229 cat conftest.err >&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } && {
34232 test -z "$ac_c_werror_flag" ||
34233 test ! -s conftest.err
34234 } && test -s conftest.$ac_objext; then
34235 ac_cv_type_size_t=yes
34236 else
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.$ac_ext >&5
34239
34240 ac_cv_type_size_t=no
34241 fi
34242
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 fi
34245 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34246 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34247 if test $ac_cv_type_size_t = yes; then
34248 :
34249 else
34250
34251 cat >>confdefs.h <<_ACEOF
34252 #define size_t unsigned int
34253 _ACEOF
34254
34255 fi
34256
34257
34258 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34259 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34260 if test "${ac_cv_type_ssize_t+set}" = set; then
34261 echo $ECHO_N "(cached) $ECHO_C" >&6
34262 else
34263 cat >conftest.$ac_ext <<_ACEOF
34264 /* confdefs.h. */
34265 _ACEOF
34266 cat confdefs.h >>conftest.$ac_ext
34267 cat >>conftest.$ac_ext <<_ACEOF
34268 /* end confdefs.h. */
34269 $ac_includes_default
34270 typedef ssize_t ac__type_new_;
34271 int
34272 main ()
34273 {
34274 if ((ac__type_new_ *) 0)
34275 return 0;
34276 if (sizeof (ac__type_new_))
34277 return 0;
34278 ;
34279 return 0;
34280 }
34281 _ACEOF
34282 rm -f conftest.$ac_objext
34283 if { (ac_try="$ac_compile"
34284 case "(($ac_try" in
34285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34286 *) ac_try_echo=$ac_try;;
34287 esac
34288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34289 (eval "$ac_compile") 2>conftest.er1
34290 ac_status=$?
34291 grep -v '^ *+' conftest.er1 >conftest.err
34292 rm -f conftest.er1
34293 cat conftest.err >&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } && {
34296 test -z "$ac_c_werror_flag" ||
34297 test ! -s conftest.err
34298 } && test -s conftest.$ac_objext; then
34299 ac_cv_type_ssize_t=yes
34300 else
34301 echo "$as_me: failed program was:" >&5
34302 sed 's/^/| /' conftest.$ac_ext >&5
34303
34304 ac_cv_type_ssize_t=no
34305 fi
34306
34307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34308 fi
34309 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34310 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34311 if test $ac_cv_type_ssize_t = yes; then
34312
34313 cat >>confdefs.h <<_ACEOF
34314 #define HAVE_SSIZE_T 1
34315 _ACEOF
34316
34317
34318 fi
34319
34320
34321 ac_ext=cpp
34322 ac_cpp='$CXXCPP $CPPFLAGS'
34323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34326 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34327 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34328 if test "${wx_cv_size_t_is_uint+set}" = set; then
34329 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 else
34331
34332 cat >conftest.$ac_ext <<_ACEOF
34333 /* confdefs.h. */
34334 _ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34338 #include <stddef.h>
34339 int
34340 main ()
34341 {
34342
34343 return 0; }
34344
34345 struct Foo { void foo(size_t); void foo(unsigned int); };
34346
34347 int bar() {
34348
34349 ;
34350 return 0;
34351 }
34352 _ACEOF
34353 rm -f conftest.$ac_objext
34354 if { (ac_try="$ac_compile"
34355 case "(($ac_try" in
34356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34357 *) ac_try_echo=$ac_try;;
34358 esac
34359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34360 (eval "$ac_compile") 2>conftest.er1
34361 ac_status=$?
34362 grep -v '^ *+' conftest.er1 >conftest.err
34363 rm -f conftest.er1
34364 cat conftest.err >&5
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); } && {
34367 test -z "$ac_cxx_werror_flag" ||
34368 test ! -s conftest.err
34369 } && test -s conftest.$ac_objext; then
34370 wx_cv_size_t_is_uint=no
34371 else
34372 echo "$as_me: failed program was:" >&5
34373 sed 's/^/| /' conftest.$ac_ext >&5
34374
34375 wx_cv_size_t_is_uint=yes
34376
34377 fi
34378
34379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34380
34381
34382 fi
34383 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34384 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34385
34386 if test "$wx_cv_size_t_is_uint" = "yes"; then
34387 cat >>confdefs.h <<\_ACEOF
34388 #define wxSIZE_T_IS_UINT 1
34389 _ACEOF
34390
34391 else
34392 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34393 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34394 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34395 echo $ECHO_N "(cached) $ECHO_C" >&6
34396 else
34397 cat >conftest.$ac_ext <<_ACEOF
34398 /* confdefs.h. */
34399 _ACEOF
34400 cat confdefs.h >>conftest.$ac_ext
34401 cat >>conftest.$ac_ext <<_ACEOF
34402 /* end confdefs.h. */
34403 #include <stddef.h>
34404 int
34405 main ()
34406 {
34407
34408 return 0; }
34409
34410 struct Foo { void foo(size_t); void foo(unsigned long); };
34411
34412 int bar() {
34413
34414 ;
34415 return 0;
34416 }
34417 _ACEOF
34418 rm -f conftest.$ac_objext
34419 if { (ac_try="$ac_compile"
34420 case "(($ac_try" in
34421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34422 *) ac_try_echo=$ac_try;;
34423 esac
34424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34425 (eval "$ac_compile") 2>conftest.er1
34426 ac_status=$?
34427 grep -v '^ *+' conftest.er1 >conftest.err
34428 rm -f conftest.er1
34429 cat conftest.err >&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); } && {
34432 test -z "$ac_cxx_werror_flag" ||
34433 test ! -s conftest.err
34434 } && test -s conftest.$ac_objext; then
34435 wx_cv_size_t_is_ulong=no
34436 else
34437 echo "$as_me: failed program was:" >&5
34438 sed 's/^/| /' conftest.$ac_ext >&5
34439
34440 wx_cv_size_t_is_ulong=yes
34441
34442 fi
34443
34444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34445
34446 fi
34447 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34448 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34449
34450 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34451 cat >>confdefs.h <<\_ACEOF
34452 #define wxSIZE_T_IS_ULONG 1
34453 _ACEOF
34454
34455 fi
34456 fi
34457
34458 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34459 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34460 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34461 echo $ECHO_N "(cached) $ECHO_C" >&6
34462 else
34463 cat >conftest.$ac_ext <<_ACEOF
34464 /* confdefs.h. */
34465 _ACEOF
34466 cat confdefs.h >>conftest.$ac_ext
34467 cat >>conftest.$ac_ext <<_ACEOF
34468 /* end confdefs.h. */
34469 #include <wchar.h>
34470 int
34471 main ()
34472 {
34473
34474 return 0; }
34475
34476 struct Foo { void foo(wchar_t);
34477 void foo(unsigned short);
34478 void foo(unsigned int);
34479 void foo(unsigned long); };
34480
34481 int bar() {
34482
34483 ;
34484 return 0;
34485 }
34486 _ACEOF
34487 rm -f conftest.$ac_objext
34488 if { (ac_try="$ac_compile"
34489 case "(($ac_try" in
34490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34491 *) ac_try_echo=$ac_try;;
34492 esac
34493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34494 (eval "$ac_compile") 2>conftest.er1
34495 ac_status=$?
34496 grep -v '^ *+' conftest.er1 >conftest.err
34497 rm -f conftest.er1
34498 cat conftest.err >&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); } && {
34501 test -z "$ac_cxx_werror_flag" ||
34502 test ! -s conftest.err
34503 } && test -s conftest.$ac_objext; then
34504 wx_cv_wchar_t_is_separate_type=yes
34505 else
34506 echo "$as_me: failed program was:" >&5
34507 sed 's/^/| /' conftest.$ac_ext >&5
34508
34509 wx_cv_wchar_t_is_separate_type=no
34510
34511 fi
34512
34513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34514
34515 fi
34516 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34517 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34518
34519 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34520 cat >>confdefs.h <<\_ACEOF
34521 #define wxWCHAR_T_IS_REAL_TYPE 1
34522 _ACEOF
34523
34524 else
34525 cat >>confdefs.h <<\_ACEOF
34526 #define wxWCHAR_T_IS_REAL_TYPE 0
34527 _ACEOF
34528
34529 fi
34530
34531 ac_ext=c
34532 ac_cpp='$CPP $CPPFLAGS'
34533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34536
34537
34538 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34539 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34540 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34541 echo $ECHO_N "(cached) $ECHO_C" >&6
34542 else
34543
34544 cat >conftest.$ac_ext <<_ACEOF
34545 /* confdefs.h. */
34546 _ACEOF
34547 cat confdefs.h >>conftest.$ac_ext
34548 cat >>conftest.$ac_ext <<_ACEOF
34549 /* end confdefs.h. */
34550 #include <pwd.h>
34551 int
34552 main ()
34553 {
34554
34555 char *p;
34556 struct passwd *pw;
34557 p = pw->pw_gecos;
34558
34559 ;
34560 return 0;
34561 }
34562 _ACEOF
34563 rm -f conftest.$ac_objext
34564 if { (ac_try="$ac_compile"
34565 case "(($ac_try" in
34566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34567 *) ac_try_echo=$ac_try;;
34568 esac
34569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34570 (eval "$ac_compile") 2>conftest.er1
34571 ac_status=$?
34572 grep -v '^ *+' conftest.er1 >conftest.err
34573 rm -f conftest.er1
34574 cat conftest.err >&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); } && {
34577 test -z "$ac_c_werror_flag" ||
34578 test ! -s conftest.err
34579 } && test -s conftest.$ac_objext; then
34580
34581 wx_cv_struct_pw_gecos=yes
34582
34583 else
34584 echo "$as_me: failed program was:" >&5
34585 sed 's/^/| /' conftest.$ac_ext >&5
34586
34587
34588 wx_cv_struct_pw_gecos=no
34589
34590
34591 fi
34592
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594
34595
34596 fi
34597 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34598 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34599
34600 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34601 cat >>confdefs.h <<\_ACEOF
34602 #define HAVE_PW_GECOS 1
34603 _ACEOF
34604
34605 fi
34606
34607
34608 if test "$wxUSE_WCHAR_T" = "yes"; then
34609 cat >>confdefs.h <<\_ACEOF
34610 #define wxUSE_WCHAR_T 1
34611 _ACEOF
34612
34613
34614 WCSLEN_FOUND=0
34615 WCHAR_LINK=
34616
34617 for ac_func in wcslen
34618 do
34619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34623 echo $ECHO_N "(cached) $ECHO_C" >&6
34624 else
34625 cat >conftest.$ac_ext <<_ACEOF
34626 /* confdefs.h. */
34627 _ACEOF
34628 cat confdefs.h >>conftest.$ac_ext
34629 cat >>conftest.$ac_ext <<_ACEOF
34630 /* end confdefs.h. */
34631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34633 #define $ac_func innocuous_$ac_func
34634
34635 /* System header to define __stub macros and hopefully few prototypes,
34636 which can conflict with char $ac_func (); below.
34637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34638 <limits.h> exists even on freestanding compilers. */
34639
34640 #ifdef __STDC__
34641 # include <limits.h>
34642 #else
34643 # include <assert.h>
34644 #endif
34645
34646 #undef $ac_func
34647
34648 /* Override any GCC internal prototype to avoid an error.
34649 Use char because int might match the return type of a GCC
34650 builtin and then its argument prototype would still apply. */
34651 #ifdef __cplusplus
34652 extern "C"
34653 #endif
34654 char $ac_func ();
34655 /* The GNU C library defines this for functions which it implements
34656 to always fail with ENOSYS. Some functions are actually named
34657 something starting with __ and the normal name is an alias. */
34658 #if defined __stub_$ac_func || defined __stub___$ac_func
34659 choke me
34660 #endif
34661
34662 int
34663 main ()
34664 {
34665 return $ac_func ();
34666 ;
34667 return 0;
34668 }
34669 _ACEOF
34670 rm -f conftest.$ac_objext conftest$ac_exeext
34671 if { (ac_try="$ac_link"
34672 case "(($ac_try" in
34673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34674 *) ac_try_echo=$ac_try;;
34675 esac
34676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34677 (eval "$ac_link") 2>conftest.er1
34678 ac_status=$?
34679 grep -v '^ *+' conftest.er1 >conftest.err
34680 rm -f conftest.er1
34681 cat conftest.err >&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } && {
34684 test -z "$ac_c_werror_flag" ||
34685 test ! -s conftest.err
34686 } && test -s conftest$ac_exeext &&
34687 $as_test_x conftest$ac_exeext; then
34688 eval "$as_ac_var=yes"
34689 else
34690 echo "$as_me: failed program was:" >&5
34691 sed 's/^/| /' conftest.$ac_ext >&5
34692
34693 eval "$as_ac_var=no"
34694 fi
34695
34696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34697 conftest$ac_exeext conftest.$ac_ext
34698 fi
34699 ac_res=`eval echo '${'$as_ac_var'}'`
34700 { echo "$as_me:$LINENO: result: $ac_res" >&5
34701 echo "${ECHO_T}$ac_res" >&6; }
34702 if test `eval echo '${'$as_ac_var'}'` = yes; then
34703 cat >>confdefs.h <<_ACEOF
34704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34705 _ACEOF
34706 WCSLEN_FOUND=1
34707 fi
34708 done
34709
34710
34711 if test "$WCSLEN_FOUND" = 0; then
34712 if test "$TOOLKIT" = "MSW"; then
34713 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34714 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34715 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34716 echo $ECHO_N "(cached) $ECHO_C" >&6
34717 else
34718 ac_check_lib_save_LIBS=$LIBS
34719 LIBS="-lmsvcrt $LIBS"
34720 cat >conftest.$ac_ext <<_ACEOF
34721 /* confdefs.h. */
34722 _ACEOF
34723 cat confdefs.h >>conftest.$ac_ext
34724 cat >>conftest.$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726
34727 /* Override any GCC internal prototype to avoid an error.
34728 Use char because int might match the return type of a GCC
34729 builtin and then its argument prototype would still apply. */
34730 #ifdef __cplusplus
34731 extern "C"
34732 #endif
34733 char wcslen ();
34734 int
34735 main ()
34736 {
34737 return wcslen ();
34738 ;
34739 return 0;
34740 }
34741 _ACEOF
34742 rm -f conftest.$ac_objext conftest$ac_exeext
34743 if { (ac_try="$ac_link"
34744 case "(($ac_try" in
34745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34746 *) ac_try_echo=$ac_try;;
34747 esac
34748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34749 (eval "$ac_link") 2>conftest.er1
34750 ac_status=$?
34751 grep -v '^ *+' conftest.er1 >conftest.err
34752 rm -f conftest.er1
34753 cat conftest.err >&5
34754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34755 (exit $ac_status); } && {
34756 test -z "$ac_c_werror_flag" ||
34757 test ! -s conftest.err
34758 } && test -s conftest$ac_exeext &&
34759 $as_test_x conftest$ac_exeext; then
34760 ac_cv_lib_msvcrt_wcslen=yes
34761 else
34762 echo "$as_me: failed program was:" >&5
34763 sed 's/^/| /' conftest.$ac_ext >&5
34764
34765 ac_cv_lib_msvcrt_wcslen=no
34766 fi
34767
34768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34769 conftest$ac_exeext conftest.$ac_ext
34770 LIBS=$ac_check_lib_save_LIBS
34771 fi
34772 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34773 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34774 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34775 WCHAR_OK=1
34776 fi
34777
34778 else
34779 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34780 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34781 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34782 echo $ECHO_N "(cached) $ECHO_C" >&6
34783 else
34784 ac_check_lib_save_LIBS=$LIBS
34785 LIBS="-lw $LIBS"
34786 cat >conftest.$ac_ext <<_ACEOF
34787 /* confdefs.h. */
34788 _ACEOF
34789 cat confdefs.h >>conftest.$ac_ext
34790 cat >>conftest.$ac_ext <<_ACEOF
34791 /* end confdefs.h. */
34792
34793 /* Override any GCC internal prototype to avoid an error.
34794 Use char because int might match the return type of a GCC
34795 builtin and then its argument prototype would still apply. */
34796 #ifdef __cplusplus
34797 extern "C"
34798 #endif
34799 char wcslen ();
34800 int
34801 main ()
34802 {
34803 return wcslen ();
34804 ;
34805 return 0;
34806 }
34807 _ACEOF
34808 rm -f conftest.$ac_objext conftest$ac_exeext
34809 if { (ac_try="$ac_link"
34810 case "(($ac_try" in
34811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34812 *) ac_try_echo=$ac_try;;
34813 esac
34814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34815 (eval "$ac_link") 2>conftest.er1
34816 ac_status=$?
34817 grep -v '^ *+' conftest.er1 >conftest.err
34818 rm -f conftest.er1
34819 cat conftest.err >&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); } && {
34822 test -z "$ac_c_werror_flag" ||
34823 test ! -s conftest.err
34824 } && test -s conftest$ac_exeext &&
34825 $as_test_x conftest$ac_exeext; then
34826 ac_cv_lib_w_wcslen=yes
34827 else
34828 echo "$as_me: failed program was:" >&5
34829 sed 's/^/| /' conftest.$ac_ext >&5
34830
34831 ac_cv_lib_w_wcslen=no
34832 fi
34833
34834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34835 conftest$ac_exeext conftest.$ac_ext
34836 LIBS=$ac_check_lib_save_LIBS
34837 fi
34838 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34839 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34840 if test $ac_cv_lib_w_wcslen = yes; then
34841
34842 WCHAR_LINK=" -lw"
34843 WCSLEN_FOUND=1
34844
34845 fi
34846
34847 fi
34848 fi
34849
34850 if test "$WCSLEN_FOUND" = 1; then
34851 cat >>confdefs.h <<\_ACEOF
34852 #define HAVE_WCSLEN 1
34853 _ACEOF
34854
34855 fi
34856
34857
34858 for ac_func in wcsdup
34859 do
34860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34861 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34863 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34864 echo $ECHO_N "(cached) $ECHO_C" >&6
34865 else
34866 cat >conftest.$ac_ext <<_ACEOF
34867 /* confdefs.h. */
34868 _ACEOF
34869 cat confdefs.h >>conftest.$ac_ext
34870 cat >>conftest.$ac_ext <<_ACEOF
34871 /* end confdefs.h. */
34872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34874 #define $ac_func innocuous_$ac_func
34875
34876 /* System header to define __stub macros and hopefully few prototypes,
34877 which can conflict with char $ac_func (); below.
34878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34879 <limits.h> exists even on freestanding compilers. */
34880
34881 #ifdef __STDC__
34882 # include <limits.h>
34883 #else
34884 # include <assert.h>
34885 #endif
34886
34887 #undef $ac_func
34888
34889 /* Override any GCC internal prototype to avoid an error.
34890 Use char because int might match the return type of a GCC
34891 builtin and then its argument prototype would still apply. */
34892 #ifdef __cplusplus
34893 extern "C"
34894 #endif
34895 char $ac_func ();
34896 /* The GNU C library defines this for functions which it implements
34897 to always fail with ENOSYS. Some functions are actually named
34898 something starting with __ and the normal name is an alias. */
34899 #if defined __stub_$ac_func || defined __stub___$ac_func
34900 choke me
34901 #endif
34902
34903 int
34904 main ()
34905 {
34906 return $ac_func ();
34907 ;
34908 return 0;
34909 }
34910 _ACEOF
34911 rm -f conftest.$ac_objext conftest$ac_exeext
34912 if { (ac_try="$ac_link"
34913 case "(($ac_try" in
34914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34915 *) ac_try_echo=$ac_try;;
34916 esac
34917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34918 (eval "$ac_link") 2>conftest.er1
34919 ac_status=$?
34920 grep -v '^ *+' conftest.er1 >conftest.err
34921 rm -f conftest.er1
34922 cat conftest.err >&5
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); } && {
34925 test -z "$ac_c_werror_flag" ||
34926 test ! -s conftest.err
34927 } && test -s conftest$ac_exeext &&
34928 $as_test_x conftest$ac_exeext; then
34929 eval "$as_ac_var=yes"
34930 else
34931 echo "$as_me: failed program was:" >&5
34932 sed 's/^/| /' conftest.$ac_ext >&5
34933
34934 eval "$as_ac_var=no"
34935 fi
34936
34937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34938 conftest$ac_exeext conftest.$ac_ext
34939 fi
34940 ac_res=`eval echo '${'$as_ac_var'}'`
34941 { echo "$as_me:$LINENO: result: $ac_res" >&5
34942 echo "${ECHO_T}$ac_res" >&6; }
34943 if test `eval echo '${'$as_ac_var'}'` = yes; then
34944 cat >>confdefs.h <<_ACEOF
34945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34946 _ACEOF
34947
34948 fi
34949 done
34950
34951
34952 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34953 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34954 fi
34955
34956 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34957 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34958 if test "${ac_cv_type_mbstate_t+set}" = set; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34961 cat >conftest.$ac_ext <<_ACEOF
34962 /* confdefs.h. */
34963 _ACEOF
34964 cat confdefs.h >>conftest.$ac_ext
34965 cat >>conftest.$ac_ext <<_ACEOF
34966 /* end confdefs.h. */
34967 #include <wchar.h>
34968
34969 typedef mbstate_t ac__type_new_;
34970 int
34971 main ()
34972 {
34973 if ((ac__type_new_ *) 0)
34974 return 0;
34975 if (sizeof (ac__type_new_))
34976 return 0;
34977 ;
34978 return 0;
34979 }
34980 _ACEOF
34981 rm -f conftest.$ac_objext
34982 if { (ac_try="$ac_compile"
34983 case "(($ac_try" in
34984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34985 *) ac_try_echo=$ac_try;;
34986 esac
34987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34988 (eval "$ac_compile") 2>conftest.er1
34989 ac_status=$?
34990 grep -v '^ *+' conftest.er1 >conftest.err
34991 rm -f conftest.er1
34992 cat conftest.err >&5
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); } && {
34995 test -z "$ac_c_werror_flag" ||
34996 test ! -s conftest.err
34997 } && test -s conftest.$ac_objext; then
34998 ac_cv_type_mbstate_t=yes
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003 ac_cv_type_mbstate_t=no
35004 fi
35005
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007 fi
35008 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35009 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35010 if test $ac_cv_type_mbstate_t = yes; then
35011
35012 cat >>confdefs.h <<_ACEOF
35013 #define HAVE_MBSTATE_T 1
35014 _ACEOF
35015
35016
35017 for ac_func in wcsrtombs
35018 do
35019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35022 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35023 echo $ECHO_N "(cached) $ECHO_C" >&6
35024 else
35025 cat >conftest.$ac_ext <<_ACEOF
35026 /* confdefs.h. */
35027 _ACEOF
35028 cat confdefs.h >>conftest.$ac_ext
35029 cat >>conftest.$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35033 #define $ac_func innocuous_$ac_func
35034
35035 /* System header to define __stub macros and hopefully few prototypes,
35036 which can conflict with char $ac_func (); below.
35037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35038 <limits.h> exists even on freestanding compilers. */
35039
35040 #ifdef __STDC__
35041 # include <limits.h>
35042 #else
35043 # include <assert.h>
35044 #endif
35045
35046 #undef $ac_func
35047
35048 /* Override any GCC internal prototype to avoid an error.
35049 Use char because int might match the return type of a GCC
35050 builtin and then its argument prototype would still apply. */
35051 #ifdef __cplusplus
35052 extern "C"
35053 #endif
35054 char $ac_func ();
35055 /* The GNU C library defines this for functions which it implements
35056 to always fail with ENOSYS. Some functions are actually named
35057 something starting with __ and the normal name is an alias. */
35058 #if defined __stub_$ac_func || defined __stub___$ac_func
35059 choke me
35060 #endif
35061
35062 int
35063 main ()
35064 {
35065 return $ac_func ();
35066 ;
35067 return 0;
35068 }
35069 _ACEOF
35070 rm -f conftest.$ac_objext conftest$ac_exeext
35071 if { (ac_try="$ac_link"
35072 case "(($ac_try" in
35073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35074 *) ac_try_echo=$ac_try;;
35075 esac
35076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35077 (eval "$ac_link") 2>conftest.er1
35078 ac_status=$?
35079 grep -v '^ *+' conftest.er1 >conftest.err
35080 rm -f conftest.er1
35081 cat conftest.err >&5
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); } && {
35084 test -z "$ac_c_werror_flag" ||
35085 test ! -s conftest.err
35086 } && test -s conftest$ac_exeext &&
35087 $as_test_x conftest$ac_exeext; then
35088 eval "$as_ac_var=yes"
35089 else
35090 echo "$as_me: failed program was:" >&5
35091 sed 's/^/| /' conftest.$ac_ext >&5
35092
35093 eval "$as_ac_var=no"
35094 fi
35095
35096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35097 conftest$ac_exeext conftest.$ac_ext
35098 fi
35099 ac_res=`eval echo '${'$as_ac_var'}'`
35100 { echo "$as_me:$LINENO: result: $ac_res" >&5
35101 echo "${ECHO_T}$ac_res" >&6; }
35102 if test `eval echo '${'$as_ac_var'}'` = yes; then
35103 cat >>confdefs.h <<_ACEOF
35104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35105 _ACEOF
35106
35107 fi
35108 done
35109
35110 fi
35111
35112 else
35113 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35114 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35115 fi
35116
35117
35118
35119
35120 for ac_func in snprintf vsnprintf vsscanf
35121 do
35122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35126 echo $ECHO_N "(cached) $ECHO_C" >&6
35127 else
35128 cat >conftest.$ac_ext <<_ACEOF
35129 /* confdefs.h. */
35130 _ACEOF
35131 cat confdefs.h >>conftest.$ac_ext
35132 cat >>conftest.$ac_ext <<_ACEOF
35133 /* end confdefs.h. */
35134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35136 #define $ac_func innocuous_$ac_func
35137
35138 /* System header to define __stub macros and hopefully few prototypes,
35139 which can conflict with char $ac_func (); below.
35140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35141 <limits.h> exists even on freestanding compilers. */
35142
35143 #ifdef __STDC__
35144 # include <limits.h>
35145 #else
35146 # include <assert.h>
35147 #endif
35148
35149 #undef $ac_func
35150
35151 /* Override any GCC internal prototype to avoid an error.
35152 Use char because int might match the return type of a GCC
35153 builtin and then its argument prototype would still apply. */
35154 #ifdef __cplusplus
35155 extern "C"
35156 #endif
35157 char $ac_func ();
35158 /* The GNU C library defines this for functions which it implements
35159 to always fail with ENOSYS. Some functions are actually named
35160 something starting with __ and the normal name is an alias. */
35161 #if defined __stub_$ac_func || defined __stub___$ac_func
35162 choke me
35163 #endif
35164
35165 int
35166 main ()
35167 {
35168 return $ac_func ();
35169 ;
35170 return 0;
35171 }
35172 _ACEOF
35173 rm -f conftest.$ac_objext conftest$ac_exeext
35174 if { (ac_try="$ac_link"
35175 case "(($ac_try" in
35176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35177 *) ac_try_echo=$ac_try;;
35178 esac
35179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35180 (eval "$ac_link") 2>conftest.er1
35181 ac_status=$?
35182 grep -v '^ *+' conftest.er1 >conftest.err
35183 rm -f conftest.er1
35184 cat conftest.err >&5
35185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35186 (exit $ac_status); } && {
35187 test -z "$ac_c_werror_flag" ||
35188 test ! -s conftest.err
35189 } && test -s conftest$ac_exeext &&
35190 $as_test_x conftest$ac_exeext; then
35191 eval "$as_ac_var=yes"
35192 else
35193 echo "$as_me: failed program was:" >&5
35194 sed 's/^/| /' conftest.$ac_ext >&5
35195
35196 eval "$as_ac_var=no"
35197 fi
35198
35199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35200 conftest$ac_exeext conftest.$ac_ext
35201 fi
35202 ac_res=`eval echo '${'$as_ac_var'}'`
35203 { echo "$as_me:$LINENO: result: $ac_res" >&5
35204 echo "${ECHO_T}$ac_res" >&6; }
35205 if test `eval echo '${'$as_ac_var'}'` = yes; then
35206 cat >>confdefs.h <<_ACEOF
35207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35208 _ACEOF
35209
35210 fi
35211 done
35212
35213
35214 ac_ext=cpp
35215 ac_cpp='$CXXCPP $CPPFLAGS'
35216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35219
35220 if test "$ac_cv_func_vsnprintf" = "yes"; then
35221 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35222 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35223 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35224 echo $ECHO_N "(cached) $ECHO_C" >&6
35225 else
35226
35227 cat >conftest.$ac_ext <<_ACEOF
35228 /* confdefs.h. */
35229 _ACEOF
35230 cat confdefs.h >>conftest.$ac_ext
35231 cat >>conftest.$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35233
35234 #include <stdio.h>
35235 #include <stdarg.h>
35236 #ifdef __MSL__
35237 #if __MSL__ >= 0x6000
35238 namespace std {}
35239 using namespace std;
35240 #endif
35241 #endif
35242
35243 int
35244 main ()
35245 {
35246
35247 char *buf;
35248 va_list ap;
35249 vsnprintf(buf, 10u, "%s", ap);
35250
35251 ;
35252 return 0;
35253 }
35254 _ACEOF
35255 rm -f conftest.$ac_objext
35256 if { (ac_try="$ac_compile"
35257 case "(($ac_try" in
35258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35259 *) ac_try_echo=$ac_try;;
35260 esac
35261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35262 (eval "$ac_compile") 2>conftest.er1
35263 ac_status=$?
35264 grep -v '^ *+' conftest.er1 >conftest.err
35265 rm -f conftest.er1
35266 cat conftest.err >&5
35267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268 (exit $ac_status); } && {
35269 test -z "$ac_cxx_werror_flag" ||
35270 test ! -s conftest.err
35271 } && test -s conftest.$ac_objext; then
35272 wx_cv_func_vsnprintf_decl=yes
35273 else
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.$ac_ext >&5
35276
35277 wx_cv_func_vsnprintf_decl=no
35278
35279 fi
35280
35281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35282
35283
35284 fi
35285 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35286 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35287
35288 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35289 cat >>confdefs.h <<\_ACEOF
35290 #define HAVE_VSNPRINTF_DECL 1
35291 _ACEOF
35292
35293
35294 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35295 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35296 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35297 echo $ECHO_N "(cached) $ECHO_C" >&6
35298 else
35299
35300 cat >conftest.$ac_ext <<_ACEOF
35301 /* confdefs.h. */
35302 _ACEOF
35303 cat confdefs.h >>conftest.$ac_ext
35304 cat >>conftest.$ac_ext <<_ACEOF
35305 /* end confdefs.h. */
35306
35307 #include <stdio.h>
35308 #include <stdarg.h>
35309 #ifdef __MSL__
35310 #if __MSL__ >= 0x6000
35311 namespace std {}
35312 using namespace std;
35313 #endif
35314 #endif
35315
35316 int
35317 main ()
35318 {
35319
35320 char *buf;
35321 va_list ap;
35322 const char *fmt = "%s";
35323 vsnprintf(buf, 10u, fmt, ap);
35324
35325 ;
35326 return 0;
35327 }
35328 _ACEOF
35329 rm -f conftest.$ac_objext
35330 if { (ac_try="$ac_compile"
35331 case "(($ac_try" in
35332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35333 *) ac_try_echo=$ac_try;;
35334 esac
35335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35336 (eval "$ac_compile") 2>conftest.er1
35337 ac_status=$?
35338 grep -v '^ *+' conftest.er1 >conftest.err
35339 rm -f conftest.er1
35340 cat conftest.err >&5
35341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342 (exit $ac_status); } && {
35343 test -z "$ac_cxx_werror_flag" ||
35344 test ! -s conftest.err
35345 } && test -s conftest.$ac_objext; then
35346 wx_cv_func_broken_vsnprintf_decl=no
35347 else
35348 echo "$as_me: failed program was:" >&5
35349 sed 's/^/| /' conftest.$ac_ext >&5
35350
35351 wx_cv_func_broken_vsnprintf_decl=yes
35352
35353 fi
35354
35355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35356
35357
35358 fi
35359 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35360 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35361
35362 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35363 cat >>confdefs.h <<\_ACEOF
35364 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35365 _ACEOF
35366
35367 fi
35368 fi
35369 fi
35370
35371 if test "$ac_cv_func_snprintf" = "yes"; then
35372 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35373 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35374 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35375 echo $ECHO_N "(cached) $ECHO_C" >&6
35376 else
35377
35378 cat >conftest.$ac_ext <<_ACEOF
35379 /* confdefs.h. */
35380 _ACEOF
35381 cat confdefs.h >>conftest.$ac_ext
35382 cat >>conftest.$ac_ext <<_ACEOF
35383 /* end confdefs.h. */
35384
35385 #include <stdio.h>
35386 #include <stdarg.h>
35387 #ifdef __MSL__
35388 #if __MSL__ >= 0x6000
35389 namespace std {}
35390 using namespace std;
35391 #endif
35392 #endif
35393
35394 int
35395 main ()
35396 {
35397
35398 char *buf;
35399 snprintf(buf, 10u, "%s", "wx");
35400
35401 ;
35402 return 0;
35403 }
35404 _ACEOF
35405 rm -f conftest.$ac_objext
35406 if { (ac_try="$ac_compile"
35407 case "(($ac_try" in
35408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35409 *) ac_try_echo=$ac_try;;
35410 esac
35411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35412 (eval "$ac_compile") 2>conftest.er1
35413 ac_status=$?
35414 grep -v '^ *+' conftest.er1 >conftest.err
35415 rm -f conftest.er1
35416 cat conftest.err >&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } && {
35419 test -z "$ac_cxx_werror_flag" ||
35420 test ! -s conftest.err
35421 } && test -s conftest.$ac_objext; then
35422 wx_cv_func_snprintf_decl=yes
35423 else
35424 echo "$as_me: failed program was:" >&5
35425 sed 's/^/| /' conftest.$ac_ext >&5
35426
35427 wx_cv_func_snprintf_decl=no
35428
35429 fi
35430
35431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35432
35433
35434 fi
35435 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35436 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35437
35438 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35439 cat >>confdefs.h <<\_ACEOF
35440 #define HAVE_SNPRINTF_DECL 1
35441 _ACEOF
35442
35443 fi
35444
35445 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35446
35447 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35448 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35449 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35450 echo $ECHO_N "(cached) $ECHO_C" >&6
35451 else
35452
35453 if test "$cross_compiling" = yes; then
35454
35455 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35456 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35457 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35458 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35459 wx_cv_func_snprintf_pos_params=no
35460
35461
35462 else
35463 cat >conftest.$ac_ext <<_ACEOF
35464 /* confdefs.h. */
35465 _ACEOF
35466 cat confdefs.h >>conftest.$ac_ext
35467 cat >>conftest.$ac_ext <<_ACEOF
35468 /* end confdefs.h. */
35469
35470 #include <stdio.h>
35471
35472 int main (void)
35473 {
35474 char buffer[128];
35475 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35476 if (strcmp ("2 3 1", buffer) == 0)
35477 exit (0);
35478 exit (1);
35479 }
35480
35481 _ACEOF
35482 rm -f conftest$ac_exeext
35483 if { (ac_try="$ac_link"
35484 case "(($ac_try" in
35485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35486 *) ac_try_echo=$ac_try;;
35487 esac
35488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35489 (eval "$ac_link") 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35493 { (case "(($ac_try" in
35494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35495 *) ac_try_echo=$ac_try;;
35496 esac
35497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35498 (eval "$ac_try") 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; }; then
35502 wx_cv_func_snprintf_pos_params=no
35503 else
35504 echo "$as_me: program exited with status $ac_status" >&5
35505 echo "$as_me: failed program was:" >&5
35506 sed 's/^/| /' conftest.$ac_ext >&5
35507
35508 ( exit $ac_status )
35509 wx_cv_func_snprintf_pos_params=yes
35510 fi
35511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35512 fi
35513
35514
35515
35516
35517 fi
35518 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35519 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35520
35521 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35522 cat >>confdefs.h <<\_ACEOF
35523 #define HAVE_UNIX98_PRINTF 1
35524 _ACEOF
35525
35526 fi
35527 fi
35528 fi
35529
35530 if test "$ac_cv_func_vsscanf" = "yes"; then
35531 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35532 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35533 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35534 echo $ECHO_N "(cached) $ECHO_C" >&6
35535 else
35536
35537 cat >conftest.$ac_ext <<_ACEOF
35538 /* confdefs.h. */
35539 _ACEOF
35540 cat confdefs.h >>conftest.$ac_ext
35541 cat >>conftest.$ac_ext <<_ACEOF
35542 /* end confdefs.h. */
35543
35544 #include <stdio.h>
35545 #include <stdarg.h>
35546 #ifdef __MSL__
35547 #if __MSL__ >= 0x6000
35548 namespace std {}
35549 using namespace std;
35550 #endif
35551 #endif
35552
35553 int
35554 main ()
35555 {
35556
35557 char *buf;
35558 va_list args;
35559 vsscanf(buf, "%s", args);
35560
35561 ;
35562 return 0;
35563 }
35564 _ACEOF
35565 rm -f conftest.$ac_objext
35566 if { (ac_try="$ac_compile"
35567 case "(($ac_try" in
35568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35569 *) ac_try_echo=$ac_try;;
35570 esac
35571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35572 (eval "$ac_compile") 2>conftest.er1
35573 ac_status=$?
35574 grep -v '^ *+' conftest.er1 >conftest.err
35575 rm -f conftest.er1
35576 cat conftest.err >&5
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); } && {
35579 test -z "$ac_cxx_werror_flag" ||
35580 test ! -s conftest.err
35581 } && test -s conftest.$ac_objext; then
35582 wx_cv_func_vsscanf_decl=yes
35583 else
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.$ac_ext >&5
35586
35587 wx_cv_func_vsscanf_decl=no
35588
35589 fi
35590
35591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592
35593
35594 fi
35595 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35596 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35597
35598 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35599 cat >>confdefs.h <<\_ACEOF
35600 #define HAVE_VSSCANF_DECL 1
35601 _ACEOF
35602
35603 fi
35604 fi
35605 ac_ext=c
35606 ac_cpp='$CPP $CPPFLAGS'
35607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35610
35611
35612 if test "$wxUSE_UNICODE" = yes; then
35613
35614 wchar_headers="#include <stdio.h>
35615 #include <wchar.h>"
35616 case "${host}" in
35617 *-*-solaris2* )
35618
35619 for ac_header in widec.h
35620 do
35621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35625 echo $ECHO_N "(cached) $ECHO_C" >&6
35626 else
35627 cat >conftest.$ac_ext <<_ACEOF
35628 /* confdefs.h. */
35629 _ACEOF
35630 cat confdefs.h >>conftest.$ac_ext
35631 cat >>conftest.$ac_ext <<_ACEOF
35632 /* end confdefs.h. */
35633 $ac_includes_default
35634
35635 #include <$ac_header>
35636 _ACEOF
35637 rm -f conftest.$ac_objext
35638 if { (ac_try="$ac_compile"
35639 case "(($ac_try" in
35640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35641 *) ac_try_echo=$ac_try;;
35642 esac
35643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35644 (eval "$ac_compile") 2>conftest.er1
35645 ac_status=$?
35646 grep -v '^ *+' conftest.er1 >conftest.err
35647 rm -f conftest.er1
35648 cat conftest.err >&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); } && {
35651 test -z "$ac_c_werror_flag" ||
35652 test ! -s conftest.err
35653 } && test -s conftest.$ac_objext; then
35654 eval "$as_ac_Header=yes"
35655 else
35656 echo "$as_me: failed program was:" >&5
35657 sed 's/^/| /' conftest.$ac_ext >&5
35658
35659 eval "$as_ac_Header=no"
35660 fi
35661
35662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35663 fi
35664 ac_res=`eval echo '${'$as_ac_Header'}'`
35665 { echo "$as_me:$LINENO: result: $ac_res" >&5
35666 echo "${ECHO_T}$ac_res" >&6; }
35667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35668 cat >>confdefs.h <<_ACEOF
35669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35670 _ACEOF
35671
35672 fi
35673
35674 done
35675
35676 if test "$ac_cv_header_widec_h" = "yes"; then
35677 wchar_headers="$wchar_headers
35678 #include <widec.h>"
35679 fi
35680 esac
35681
35682
35683 for wx_func in putws fputws wprintf vswprintf vswscanf
35684 do
35685 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35686 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35687 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35688 echo $ECHO_N "(cached) $ECHO_C" >&6
35689 else
35690
35691 cat >conftest.$ac_ext <<_ACEOF
35692
35693 /* confdefs.h. */
35694 _ACEOF
35695 cat confdefs.h >>conftest.$ac_ext
35696 cat >>conftest.$ac_ext <<_ACEOF
35697 /* end confdefs.h. */
35698
35699 $wchar_headers
35700 $ac_includes_default
35701
35702 int
35703 main ()
35704 {
35705
35706 #ifndef $wx_func
35707 &$wx_func;
35708 #endif
35709
35710
35711 ;
35712 return 0;
35713 }
35714
35715 _ACEOF
35716 rm -f conftest.$ac_objext conftest$ac_exeext
35717 if { (ac_try="$ac_link"
35718 case "(($ac_try" in
35719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35720 *) ac_try_echo=$ac_try;;
35721 esac
35722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35723 (eval "$ac_link") 2>conftest.er1
35724 ac_status=$?
35725 grep -v '^ *+' conftest.er1 >conftest.err
35726 rm -f conftest.er1
35727 cat conftest.err >&5
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); } && {
35730 test -z "$ac_c_werror_flag" ||
35731 test ! -s conftest.err
35732 } && test -s conftest$ac_exeext &&
35733 $as_test_x conftest$ac_exeext; then
35734 eval wx_cv_func_$wx_func=yes
35735 else
35736 echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.$ac_ext >&5
35738
35739 eval wx_cv_func_$wx_func=no
35740 fi
35741
35742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35743 conftest$ac_exeext conftest.$ac_ext
35744
35745 fi
35746 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35747 { echo "$as_me:$LINENO: result: $ac_res" >&5
35748 echo "${ECHO_T}$ac_res" >&6; }
35749
35750 if eval test \$wx_cv_func_$wx_func = yes
35751 then
35752 cat >>confdefs.h <<_ACEOF
35753 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35754 _ACEOF
35755
35756
35757 else
35758 :
35759
35760 fi
35761 done
35762
35763
35764 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35765 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35766 cat >conftest.$ac_ext <<_ACEOF
35767 /* confdefs.h. */
35768 _ACEOF
35769 cat confdefs.h >>conftest.$ac_ext
35770 cat >>conftest.$ac_ext <<_ACEOF
35771 /* end confdefs.h. */
35772 #include <wchar.h>
35773 int
35774 main ()
35775 {
35776 &_vsnwprintf;
35777 ;
35778 return 0;
35779 }
35780 _ACEOF
35781 rm -f conftest.$ac_objext
35782 if { (ac_try="$ac_compile"
35783 case "(($ac_try" in
35784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35785 *) ac_try_echo=$ac_try;;
35786 esac
35787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35788 (eval "$ac_compile") 2>conftest.er1
35789 ac_status=$?
35790 grep -v '^ *+' conftest.er1 >conftest.err
35791 rm -f conftest.er1
35792 cat conftest.err >&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } && {
35795 test -z "$ac_c_werror_flag" ||
35796 test ! -s conftest.err
35797 } && test -s conftest.$ac_objext; then
35798 { echo "$as_me:$LINENO: result: yes" >&5
35799 echo "${ECHO_T}yes" >&6; }
35800 cat >>confdefs.h <<\_ACEOF
35801 #define HAVE__VSNWPRINTF 1
35802 _ACEOF
35803
35804 else
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35807
35808 { echo "$as_me:$LINENO: result: no" >&5
35809 echo "${ECHO_T}no" >&6; }
35810 fi
35811
35812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35813 fi
35814
35815 if test "$wxUSE_FILE" = "yes"; then
35816
35817 for wx_func in fsync
35818 do
35819 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35820 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35821 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35822 echo $ECHO_N "(cached) $ECHO_C" >&6
35823 else
35824
35825 cat >conftest.$ac_ext <<_ACEOF
35826
35827 /* confdefs.h. */
35828 _ACEOF
35829 cat confdefs.h >>conftest.$ac_ext
35830 cat >>conftest.$ac_ext <<_ACEOF
35831 /* end confdefs.h. */
35832
35833
35834 $ac_includes_default
35835
35836 int
35837 main ()
35838 {
35839
35840 #ifndef $wx_func
35841 &$wx_func;
35842 #endif
35843
35844
35845 ;
35846 return 0;
35847 }
35848
35849 _ACEOF
35850 rm -f conftest.$ac_objext conftest$ac_exeext
35851 if { (ac_try="$ac_link"
35852 case "(($ac_try" in
35853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35854 *) ac_try_echo=$ac_try;;
35855 esac
35856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35857 (eval "$ac_link") 2>conftest.er1
35858 ac_status=$?
35859 grep -v '^ *+' conftest.er1 >conftest.err
35860 rm -f conftest.er1
35861 cat conftest.err >&5
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); } && {
35864 test -z "$ac_c_werror_flag" ||
35865 test ! -s conftest.err
35866 } && test -s conftest$ac_exeext &&
35867 $as_test_x conftest$ac_exeext; then
35868 eval wx_cv_func_$wx_func=yes
35869 else
35870 echo "$as_me: failed program was:" >&5
35871 sed 's/^/| /' conftest.$ac_ext >&5
35872
35873 eval wx_cv_func_$wx_func=no
35874 fi
35875
35876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35877 conftest$ac_exeext conftest.$ac_ext
35878
35879 fi
35880 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35881 { echo "$as_me:$LINENO: result: $ac_res" >&5
35882 echo "${ECHO_T}$ac_res" >&6; }
35883
35884 if eval test \$wx_cv_func_$wx_func = yes
35885 then
35886 cat >>confdefs.h <<_ACEOF
35887 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35888 _ACEOF
35889
35890
35891 else
35892 :
35893
35894 fi
35895 done
35896
35897 fi
35898
35899 ac_ext=cpp
35900 ac_cpp='$CXXCPP $CPPFLAGS'
35901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35904
35905
35906 for wx_func in round
35907 do
35908 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35909 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35910 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35911 echo $ECHO_N "(cached) $ECHO_C" >&6
35912 else
35913
35914 cat >conftest.$ac_ext <<_ACEOF
35915
35916 /* confdefs.h. */
35917 _ACEOF
35918 cat confdefs.h >>conftest.$ac_ext
35919 cat >>conftest.$ac_ext <<_ACEOF
35920 /* end confdefs.h. */
35921
35922 #include <math.h>
35923 $ac_includes_default
35924
35925 int
35926 main ()
35927 {
35928
35929 #ifndef $wx_func
35930 &$wx_func;
35931 #endif
35932
35933
35934 ;
35935 return 0;
35936 }
35937
35938 _ACEOF
35939 rm -f conftest.$ac_objext conftest$ac_exeext
35940 if { (ac_try="$ac_link"
35941 case "(($ac_try" in
35942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35943 *) ac_try_echo=$ac_try;;
35944 esac
35945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35946 (eval "$ac_link") 2>conftest.er1
35947 ac_status=$?
35948 grep -v '^ *+' conftest.er1 >conftest.err
35949 rm -f conftest.er1
35950 cat conftest.err >&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); } && {
35953 test -z "$ac_cxx_werror_flag" ||
35954 test ! -s conftest.err
35955 } && test -s conftest$ac_exeext &&
35956 $as_test_x conftest$ac_exeext; then
35957 eval wx_cv_func_$wx_func=yes
35958 else
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.$ac_ext >&5
35961
35962 eval wx_cv_func_$wx_func=no
35963 fi
35964
35965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35966 conftest$ac_exeext conftest.$ac_ext
35967
35968 fi
35969 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35970 { echo "$as_me:$LINENO: result: $ac_res" >&5
35971 echo "${ECHO_T}$ac_res" >&6; }
35972
35973 if eval test \$wx_cv_func_$wx_func = yes
35974 then
35975 cat >>confdefs.h <<_ACEOF
35976 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35977 _ACEOF
35978
35979
35980 else
35981 :
35982
35983 fi
35984 done
35985
35986 ac_ext=c
35987 ac_cpp='$CPP $CPPFLAGS'
35988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35991
35992
35993 if test "$TOOLKIT" != "MSW"; then
35994
35995 if test "$wxUSE_LIBICONV" != "no" ; then
35996
35997
35998
35999 # Check whether --with-libiconv-prefix was given.
36000 if test "${with_libiconv_prefix+set}" = set; then
36001 withval=$with_libiconv_prefix;
36002 for dir in `echo "$withval" | tr : ' '`; do
36003 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36004 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36005 done
36006
36007 fi
36008
36009
36010 { echo "$as_me:$LINENO: checking for iconv" >&5
36011 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36012 if test "${am_cv_func_iconv+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 else
36015
36016 am_cv_func_iconv="no, consider installing GNU libiconv"
36017 am_cv_lib_iconv=no
36018 cat >conftest.$ac_ext <<_ACEOF
36019 /* confdefs.h. */
36020 _ACEOF
36021 cat confdefs.h >>conftest.$ac_ext
36022 cat >>conftest.$ac_ext <<_ACEOF
36023 /* end confdefs.h. */
36024 #include <stdlib.h>
36025 #include <iconv.h>
36026 int
36027 main ()
36028 {
36029 iconv_t cd = iconv_open("","");
36030 iconv(cd,NULL,NULL,NULL,NULL);
36031 iconv_close(cd);
36032 ;
36033 return 0;
36034 }
36035 _ACEOF
36036 rm -f conftest.$ac_objext conftest$ac_exeext
36037 if { (ac_try="$ac_link"
36038 case "(($ac_try" in
36039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36040 *) ac_try_echo=$ac_try;;
36041 esac
36042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36043 (eval "$ac_link") 2>conftest.er1
36044 ac_status=$?
36045 grep -v '^ *+' conftest.er1 >conftest.err
36046 rm -f conftest.er1
36047 cat conftest.err >&5
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); } && {
36050 test -z "$ac_c_werror_flag" ||
36051 test ! -s conftest.err
36052 } && test -s conftest$ac_exeext &&
36053 $as_test_x conftest$ac_exeext; then
36054 am_cv_func_iconv=yes
36055 else
36056 echo "$as_me: failed program was:" >&5
36057 sed 's/^/| /' conftest.$ac_ext >&5
36058
36059
36060 fi
36061
36062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36063 conftest$ac_exeext conftest.$ac_ext
36064 if test "$am_cv_func_iconv" != yes; then
36065 am_save_LIBS="$LIBS"
36066 LIBS="$LIBS -liconv"
36067 cat >conftest.$ac_ext <<_ACEOF
36068 /* confdefs.h. */
36069 _ACEOF
36070 cat confdefs.h >>conftest.$ac_ext
36071 cat >>conftest.$ac_ext <<_ACEOF
36072 /* end confdefs.h. */
36073 #include <stdlib.h>
36074 #include <iconv.h>
36075 int
36076 main ()
36077 {
36078 iconv_t cd = iconv_open("","");
36079 iconv(cd,NULL,NULL,NULL,NULL);
36080 iconv_close(cd);
36081 ;
36082 return 0;
36083 }
36084 _ACEOF
36085 rm -f conftest.$ac_objext conftest$ac_exeext
36086 if { (ac_try="$ac_link"
36087 case "(($ac_try" in
36088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36089 *) ac_try_echo=$ac_try;;
36090 esac
36091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36092 (eval "$ac_link") 2>conftest.er1
36093 ac_status=$?
36094 grep -v '^ *+' conftest.er1 >conftest.err
36095 rm -f conftest.er1
36096 cat conftest.err >&5
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); } && {
36099 test -z "$ac_c_werror_flag" ||
36100 test ! -s conftest.err
36101 } && test -s conftest$ac_exeext &&
36102 $as_test_x conftest$ac_exeext; then
36103 am_cv_lib_iconv=yes
36104 am_cv_func_iconv=yes
36105 else
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36108
36109
36110 fi
36111
36112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36113 conftest$ac_exeext conftest.$ac_ext
36114 LIBS="$am_save_LIBS"
36115 fi
36116
36117 fi
36118 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36119 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36120 if test "$am_cv_func_iconv" = yes; then
36121
36122 cat >>confdefs.h <<\_ACEOF
36123 #define HAVE_ICONV 1
36124 _ACEOF
36125
36126 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36127 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36128 if test "${wx_cv_func_iconv_const+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137
36138 #include <stdlib.h>
36139 #include <iconv.h>
36140 extern
36141 #ifdef __cplusplus
36142 "C"
36143 #endif
36144 #if defined(__STDC__) || defined(__cplusplus)
36145 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36146 #else
36147 size_t iconv();
36148 #endif
36149
36150 int
36151 main ()
36152 {
36153
36154 ;
36155 return 0;
36156 }
36157 _ACEOF
36158 rm -f conftest.$ac_objext
36159 if { (ac_try="$ac_compile"
36160 case "(($ac_try" in
36161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36162 *) ac_try_echo=$ac_try;;
36163 esac
36164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36165 (eval "$ac_compile") 2>conftest.er1
36166 ac_status=$?
36167 grep -v '^ *+' conftest.er1 >conftest.err
36168 rm -f conftest.er1
36169 cat conftest.err >&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); } && {
36172 test -z "$ac_c_werror_flag" ||
36173 test ! -s conftest.err
36174 } && test -s conftest.$ac_objext; then
36175 wx_cv_func_iconv_const="no"
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36179
36180 wx_cv_func_iconv_const="yes"
36181
36182 fi
36183
36184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36185
36186 fi
36187 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36188 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36189
36190 iconv_const=
36191 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36192 iconv_const="const"
36193 fi
36194
36195
36196 cat >>confdefs.h <<_ACEOF
36197 #define ICONV_CONST $iconv_const
36198 _ACEOF
36199
36200 fi
36201 LIBICONV=
36202 if test "$am_cv_lib_iconv" = yes; then
36203 LIBICONV="-liconv"
36204 fi
36205
36206
36207 LIBS="$LIBICONV $LIBS"
36208 fi
36209
36210 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36211
36212 for ac_func in sigaction
36213 do
36214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36215 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36218 echo $ECHO_N "(cached) $ECHO_C" >&6
36219 else
36220 cat >conftest.$ac_ext <<_ACEOF
36221 /* confdefs.h. */
36222 _ACEOF
36223 cat confdefs.h >>conftest.$ac_ext
36224 cat >>conftest.$ac_ext <<_ACEOF
36225 /* end confdefs.h. */
36226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36228 #define $ac_func innocuous_$ac_func
36229
36230 /* System header to define __stub macros and hopefully few prototypes,
36231 which can conflict with char $ac_func (); below.
36232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36233 <limits.h> exists even on freestanding compilers. */
36234
36235 #ifdef __STDC__
36236 # include <limits.h>
36237 #else
36238 # include <assert.h>
36239 #endif
36240
36241 #undef $ac_func
36242
36243 /* Override any GCC internal prototype to avoid an error.
36244 Use char because int might match the return type of a GCC
36245 builtin and then its argument prototype would still apply. */
36246 #ifdef __cplusplus
36247 extern "C"
36248 #endif
36249 char $ac_func ();
36250 /* The GNU C library defines this for functions which it implements
36251 to always fail with ENOSYS. Some functions are actually named
36252 something starting with __ and the normal name is an alias. */
36253 #if defined __stub_$ac_func || defined __stub___$ac_func
36254 choke me
36255 #endif
36256
36257 int
36258 main ()
36259 {
36260 return $ac_func ();
36261 ;
36262 return 0;
36263 }
36264 _ACEOF
36265 rm -f conftest.$ac_objext conftest$ac_exeext
36266 if { (ac_try="$ac_link"
36267 case "(($ac_try" in
36268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36269 *) ac_try_echo=$ac_try;;
36270 esac
36271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36272 (eval "$ac_link") 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } && {
36279 test -z "$ac_c_werror_flag" ||
36280 test ! -s conftest.err
36281 } && test -s conftest$ac_exeext &&
36282 $as_test_x conftest$ac_exeext; then
36283 eval "$as_ac_var=yes"
36284 else
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.$ac_ext >&5
36287
36288 eval "$as_ac_var=no"
36289 fi
36290
36291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36292 conftest$ac_exeext conftest.$ac_ext
36293 fi
36294 ac_res=`eval echo '${'$as_ac_var'}'`
36295 { echo "$as_me:$LINENO: result: $ac_res" >&5
36296 echo "${ECHO_T}$ac_res" >&6; }
36297 if test `eval echo '${'$as_ac_var'}'` = yes; then
36298 cat >>confdefs.h <<_ACEOF
36299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36300 _ACEOF
36301
36302 fi
36303 done
36304
36305
36306 if test "$ac_cv_func_sigaction" = "no"; then
36307 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36308 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36309 wxUSE_ON_FATAL_EXCEPTION=no
36310 fi
36311
36312 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36313 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36314 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36315 if test "${wx_cv_type_sa_handler+set}" = set; then
36316 echo $ECHO_N "(cached) $ECHO_C" >&6
36317 else
36318
36319 ac_ext=cpp
36320 ac_cpp='$CXXCPP $CPPFLAGS'
36321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36324
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h. */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 #include <signal.h>
36332 int
36333 main ()
36334 {
36335
36336 extern void testSigHandler(int);
36337
36338 struct sigaction sa;
36339 sa.sa_handler = testSigHandler;
36340
36341 ;
36342 return 0;
36343 }
36344 _ACEOF
36345 rm -f conftest.$ac_objext
36346 if { (ac_try="$ac_compile"
36347 case "(($ac_try" in
36348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36349 *) ac_try_echo=$ac_try;;
36350 esac
36351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36352 (eval "$ac_compile") 2>conftest.er1
36353 ac_status=$?
36354 grep -v '^ *+' conftest.er1 >conftest.err
36355 rm -f conftest.er1
36356 cat conftest.err >&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); } && {
36359 test -z "$ac_cxx_werror_flag" ||
36360 test ! -s conftest.err
36361 } && test -s conftest.$ac_objext; then
36362
36363 wx_cv_type_sa_handler=int
36364
36365 else
36366 echo "$as_me: failed program was:" >&5
36367 sed 's/^/| /' conftest.$ac_ext >&5
36368
36369
36370 wx_cv_type_sa_handler=void
36371
36372 fi
36373
36374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36375 ac_ext=c
36376 ac_cpp='$CPP $CPPFLAGS'
36377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36380
36381
36382 fi
36383 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36384 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36385
36386 cat >>confdefs.h <<_ACEOF
36387 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36388 _ACEOF
36389
36390 fi
36391 fi
36392
36393 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36394 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36395 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36396 if test "${wx_cv_func_backtrace+set}" = set; then
36397 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 else
36399
36400 ac_ext=cpp
36401 ac_cpp='$CXXCPP $CPPFLAGS'
36402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36405
36406 cat >conftest.$ac_ext <<_ACEOF
36407 /* confdefs.h. */
36408 _ACEOF
36409 cat confdefs.h >>conftest.$ac_ext
36410 cat >>conftest.$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412 #include <execinfo.h>
36413 int
36414 main ()
36415 {
36416
36417 void *trace[1];
36418 char **messages;
36419
36420 backtrace(trace, 1);
36421 messages = backtrace_symbols(trace, 1);
36422
36423 ;
36424 return 0;
36425 }
36426 _ACEOF
36427 rm -f conftest.$ac_objext
36428 if { (ac_try="$ac_compile"
36429 case "(($ac_try" in
36430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36431 *) ac_try_echo=$ac_try;;
36432 esac
36433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36434 (eval "$ac_compile") 2>conftest.er1
36435 ac_status=$?
36436 grep -v '^ *+' conftest.er1 >conftest.err
36437 rm -f conftest.er1
36438 cat conftest.err >&5
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); } && {
36441 test -z "$ac_cxx_werror_flag" ||
36442 test ! -s conftest.err
36443 } && test -s conftest.$ac_objext; then
36444 wx_cv_func_backtrace=yes
36445 else
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36448
36449 wx_cv_func_backtrace=no
36450
36451 fi
36452
36453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36459
36460
36461
36462 fi
36463 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36464 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36465
36466
36467 if test "$wx_cv_func_backtrace" = "no"; then
36468 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36469 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36470 wxUSE_STACKWALKER=no
36471 else
36472 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36473 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36474 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 else
36477
36478 ac_ext=cpp
36479 ac_cpp='$CXXCPP $CPPFLAGS'
36480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36483
36484 cat >conftest.$ac_ext <<_ACEOF
36485 /* confdefs.h. */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 #include <cxxabi.h>
36491 int
36492 main ()
36493 {
36494
36495 int rc;
36496 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36497
36498 ;
36499 return 0;
36500 }
36501 _ACEOF
36502 rm -f conftest.$ac_objext conftest$ac_exeext
36503 if { (ac_try="$ac_link"
36504 case "(($ac_try" in
36505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36506 *) ac_try_echo=$ac_try;;
36507 esac
36508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36509 (eval "$ac_link") 2>conftest.er1
36510 ac_status=$?
36511 grep -v '^ *+' conftest.er1 >conftest.err
36512 rm -f conftest.er1
36513 cat conftest.err >&5
36514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36515 (exit $ac_status); } && {
36516 test -z "$ac_cxx_werror_flag" ||
36517 test ! -s conftest.err
36518 } && test -s conftest$ac_exeext &&
36519 $as_test_x conftest$ac_exeext; then
36520 wx_cv_func_cxa_demangle=yes
36521 else
36522 echo "$as_me: failed program was:" >&5
36523 sed 's/^/| /' conftest.$ac_ext >&5
36524
36525 wx_cv_func_cxa_demangle=no
36526
36527 fi
36528
36529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36530 conftest$ac_exeext conftest.$ac_ext
36531 ac_ext=c
36532 ac_cpp='$CPP $CPPFLAGS'
36533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36536
36537
36538
36539 fi
36540 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36541 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36542
36543 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36544 cat >>confdefs.h <<\_ACEOF
36545 #define HAVE_CXA_DEMANGLE 1
36546 _ACEOF
36547
36548 fi
36549 fi
36550 fi
36551
36552 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36553 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36554 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36555 wxUSE_STACKWALKER=no
36556 fi
36557
36558
36559
36560
36561 for ac_func in mkstemp mktemp
36562 do
36563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36568 else
36569 cat >conftest.$ac_ext <<_ACEOF
36570 /* confdefs.h. */
36571 _ACEOF
36572 cat confdefs.h >>conftest.$ac_ext
36573 cat >>conftest.$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36577 #define $ac_func innocuous_$ac_func
36578
36579 /* System header to define __stub macros and hopefully few prototypes,
36580 which can conflict with char $ac_func (); below.
36581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36582 <limits.h> exists even on freestanding compilers. */
36583
36584 #ifdef __STDC__
36585 # include <limits.h>
36586 #else
36587 # include <assert.h>
36588 #endif
36589
36590 #undef $ac_func
36591
36592 /* Override any GCC internal prototype to avoid an error.
36593 Use char because int might match the return type of a GCC
36594 builtin and then its argument prototype would still apply. */
36595 #ifdef __cplusplus
36596 extern "C"
36597 #endif
36598 char $ac_func ();
36599 /* The GNU C library defines this for functions which it implements
36600 to always fail with ENOSYS. Some functions are actually named
36601 something starting with __ and the normal name is an alias. */
36602 #if defined __stub_$ac_func || defined __stub___$ac_func
36603 choke me
36604 #endif
36605
36606 int
36607 main ()
36608 {
36609 return $ac_func ();
36610 ;
36611 return 0;
36612 }
36613 _ACEOF
36614 rm -f conftest.$ac_objext conftest$ac_exeext
36615 if { (ac_try="$ac_link"
36616 case "(($ac_try" in
36617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36618 *) ac_try_echo=$ac_try;;
36619 esac
36620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36621 (eval "$ac_link") 2>conftest.er1
36622 ac_status=$?
36623 grep -v '^ *+' conftest.er1 >conftest.err
36624 rm -f conftest.er1
36625 cat conftest.err >&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); } && {
36628 test -z "$ac_c_werror_flag" ||
36629 test ! -s conftest.err
36630 } && test -s conftest$ac_exeext &&
36631 $as_test_x conftest$ac_exeext; then
36632 eval "$as_ac_var=yes"
36633 else
36634 echo "$as_me: failed program was:" >&5
36635 sed 's/^/| /' conftest.$ac_ext >&5
36636
36637 eval "$as_ac_var=no"
36638 fi
36639
36640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36641 conftest$ac_exeext conftest.$ac_ext
36642 fi
36643 ac_res=`eval echo '${'$as_ac_var'}'`
36644 { echo "$as_me:$LINENO: result: $ac_res" >&5
36645 echo "${ECHO_T}$ac_res" >&6; }
36646 if test `eval echo '${'$as_ac_var'}'` = yes; then
36647 cat >>confdefs.h <<_ACEOF
36648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36649 _ACEOF
36650 break
36651 fi
36652 done
36653
36654
36655 { echo "$as_me:$LINENO: checking for statfs" >&5
36656 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36657 if test "${wx_cv_func_statfs+set}" = set; then
36658 echo $ECHO_N "(cached) $ECHO_C" >&6
36659 else
36660 cat >conftest.$ac_ext <<_ACEOF
36661 /* confdefs.h. */
36662 _ACEOF
36663 cat confdefs.h >>conftest.$ac_ext
36664 cat >>conftest.$ac_ext <<_ACEOF
36665 /* end confdefs.h. */
36666
36667 #if defined(__BSD__)
36668 #include <sys/param.h>
36669 #include <sys/mount.h>
36670 #else
36671 #include <sys/vfs.h>
36672 #endif
36673
36674 int
36675 main ()
36676 {
36677
36678 long l;
36679 struct statfs fs;
36680 statfs("/", &fs);
36681 l = fs.f_bsize;
36682 l += fs.f_blocks;
36683 l += fs.f_bavail;
36684
36685 ;
36686 return 0;
36687 }
36688 _ACEOF
36689 rm -f conftest.$ac_objext
36690 if { (ac_try="$ac_compile"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 *) ac_try_echo=$ac_try;;
36694 esac
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_compile") 2>conftest.er1
36697 ac_status=$?
36698 grep -v '^ *+' conftest.er1 >conftest.err
36699 rm -f conftest.er1
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_c_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest.$ac_objext; then
36706 wx_cv_func_statfs=yes
36707 else
36708 echo "$as_me: failed program was:" >&5
36709 sed 's/^/| /' conftest.$ac_ext >&5
36710
36711 wx_cv_func_statfs=no
36712
36713 fi
36714
36715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36716
36717 fi
36718 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36719 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36720
36721 if test "$wx_cv_func_statfs" = "yes"; then
36722 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36723 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36724 if test "${wx_cv_func_statfs_decl+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36726 else
36727 ac_ext=cpp
36728 ac_cpp='$CXXCPP $CPPFLAGS'
36729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36732
36733 cat >conftest.$ac_ext <<_ACEOF
36734 /* confdefs.h. */
36735 _ACEOF
36736 cat confdefs.h >>conftest.$ac_ext
36737 cat >>conftest.$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36739
36740 #if defined(__BSD__)
36741 #include <sys/param.h>
36742 #include <sys/mount.h>
36743 #else
36744 #include <sys/vfs.h>
36745 #endif
36746
36747 int
36748 main ()
36749 {
36750
36751 struct statfs fs;
36752 statfs("", &fs);
36753
36754 ;
36755 return 0;
36756 }
36757 _ACEOF
36758 rm -f conftest.$ac_objext
36759 if { (ac_try="$ac_compile"
36760 case "(($ac_try" in
36761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36762 *) ac_try_echo=$ac_try;;
36763 esac
36764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36765 (eval "$ac_compile") 2>conftest.er1
36766 ac_status=$?
36767 grep -v '^ *+' conftest.er1 >conftest.err
36768 rm -f conftest.er1
36769 cat conftest.err >&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } && {
36772 test -z "$ac_cxx_werror_flag" ||
36773 test ! -s conftest.err
36774 } && test -s conftest.$ac_objext; then
36775 wx_cv_func_statfs_decl=yes
36776 else
36777 echo "$as_me: failed program was:" >&5
36778 sed 's/^/| /' conftest.$ac_ext >&5
36779
36780 wx_cv_func_statfs_decl=no
36781
36782 fi
36783
36784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36785 ac_ext=c
36786 ac_cpp='$CPP $CPPFLAGS'
36787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36790
36791
36792 fi
36793 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36794 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36795
36796 if test "$wx_cv_func_statfs_decl" = "yes"; then
36797 cat >>confdefs.h <<\_ACEOF
36798 #define HAVE_STATFS_DECL 1
36799 _ACEOF
36800
36801 fi
36802
36803 wx_cv_type_statvfs_t="struct statfs"
36804 cat >>confdefs.h <<\_ACEOF
36805 #define HAVE_STATFS 1
36806 _ACEOF
36807
36808 else
36809 { echo "$as_me:$LINENO: checking for statvfs" >&5
36810 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36811 if test "${wx_cv_func_statvfs+set}" = set; then
36812 echo $ECHO_N "(cached) $ECHO_C" >&6
36813 else
36814 cat >conftest.$ac_ext <<_ACEOF
36815 /* confdefs.h. */
36816 _ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820
36821 #include <stddef.h>
36822 #include <sys/statvfs.h>
36823
36824 int
36825 main ()
36826 {
36827
36828 statvfs("/", NULL);
36829
36830 ;
36831 return 0;
36832 }
36833 _ACEOF
36834 rm -f conftest.$ac_objext
36835 if { (ac_try="$ac_compile"
36836 case "(($ac_try" in
36837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36838 *) ac_try_echo=$ac_try;;
36839 esac
36840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36841 (eval "$ac_compile") 2>conftest.er1
36842 ac_status=$?
36843 grep -v '^ *+' conftest.er1 >conftest.err
36844 rm -f conftest.er1
36845 cat conftest.err >&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); } && {
36848 test -z "$ac_c_werror_flag" ||
36849 test ! -s conftest.err
36850 } && test -s conftest.$ac_objext; then
36851 wx_cv_func_statvfs=yes
36852 else
36853 echo "$as_me: failed program was:" >&5
36854 sed 's/^/| /' conftest.$ac_ext >&5
36855
36856 wx_cv_func_statvfs=no
36857
36858 fi
36859
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861
36862 fi
36863 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36864 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36865
36866 if test "$wx_cv_func_statvfs" = "yes"; then
36867 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36868 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36869 if test "${wx_cv_type_statvfs_t+set}" = set; then
36870 echo $ECHO_N "(cached) $ECHO_C" >&6
36871 else
36872 ac_ext=cpp
36873 ac_cpp='$CXXCPP $CPPFLAGS'
36874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36877
36878 cat >conftest.$ac_ext <<_ACEOF
36879 /* confdefs.h. */
36880 _ACEOF
36881 cat confdefs.h >>conftest.$ac_ext
36882 cat >>conftest.$ac_ext <<_ACEOF
36883 /* end confdefs.h. */
36884
36885 #include <sys/statvfs.h>
36886
36887 int
36888 main ()
36889 {
36890
36891 long l;
36892 statvfs_t fs;
36893 statvfs("/", &fs);
36894 l = fs.f_bsize;
36895 l += fs.f_blocks;
36896 l += fs.f_bavail;
36897
36898 ;
36899 return 0;
36900 }
36901 _ACEOF
36902 rm -f conftest.$ac_objext
36903 if { (ac_try="$ac_compile"
36904 case "(($ac_try" in
36905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36906 *) ac_try_echo=$ac_try;;
36907 esac
36908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36909 (eval "$ac_compile") 2>conftest.er1
36910 ac_status=$?
36911 grep -v '^ *+' conftest.er1 >conftest.err
36912 rm -f conftest.er1
36913 cat conftest.err >&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); } && {
36916 test -z "$ac_cxx_werror_flag" ||
36917 test ! -s conftest.err
36918 } && test -s conftest.$ac_objext; then
36919 wx_cv_type_statvfs_t=statvfs_t
36920 else
36921 echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36923
36924
36925 cat >conftest.$ac_ext <<_ACEOF
36926 /* confdefs.h. */
36927 _ACEOF
36928 cat confdefs.h >>conftest.$ac_ext
36929 cat >>conftest.$ac_ext <<_ACEOF
36930 /* end confdefs.h. */
36931
36932 #include <sys/statvfs.h>
36933
36934 int
36935 main ()
36936 {
36937
36938 long l;
36939 struct statvfs fs;
36940 statvfs("/", &fs);
36941 l = fs.f_bsize;
36942 l += fs.f_blocks;
36943 l += fs.f_bavail;
36944
36945 ;
36946 return 0;
36947 }
36948 _ACEOF
36949 rm -f conftest.$ac_objext
36950 if { (ac_try="$ac_compile"
36951 case "(($ac_try" in
36952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36953 *) ac_try_echo=$ac_try;;
36954 esac
36955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36956 (eval "$ac_compile") 2>conftest.er1
36957 ac_status=$?
36958 grep -v '^ *+' conftest.er1 >conftest.err
36959 rm -f conftest.er1
36960 cat conftest.err >&5
36961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962 (exit $ac_status); } && {
36963 test -z "$ac_cxx_werror_flag" ||
36964 test ! -s conftest.err
36965 } && test -s conftest.$ac_objext; then
36966 wx_cv_type_statvfs_t="struct statvfs"
36967 else
36968 echo "$as_me: failed program was:" >&5
36969 sed 's/^/| /' conftest.$ac_ext >&5
36970
36971 wx_cv_type_statvfs_t="unknown"
36972
36973 fi
36974
36975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36976
36977
36978 fi
36979
36980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36981 ac_ext=c
36982 ac_cpp='$CPP $CPPFLAGS'
36983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36986
36987
36988 fi
36989 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36990 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36991
36992 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36993 cat >>confdefs.h <<\_ACEOF
36994 #define HAVE_STATVFS 1
36995 _ACEOF
36996
36997 fi
36998 else
36999 wx_cv_type_statvfs_t="unknown"
37000 fi
37001 fi
37002
37003 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37004 cat >>confdefs.h <<_ACEOF
37005 #define WX_STATFS_T $wx_cv_type_statvfs_t
37006 _ACEOF
37007
37008 else
37009 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37010 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37011 fi
37012
37013 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37014
37015
37016 for ac_func in fcntl flock
37017 do
37018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37022 echo $ECHO_N "(cached) $ECHO_C" >&6
37023 else
37024 cat >conftest.$ac_ext <<_ACEOF
37025 /* confdefs.h. */
37026 _ACEOF
37027 cat confdefs.h >>conftest.$ac_ext
37028 cat >>conftest.$ac_ext <<_ACEOF
37029 /* end confdefs.h. */
37030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37032 #define $ac_func innocuous_$ac_func
37033
37034 /* System header to define __stub macros and hopefully few prototypes,
37035 which can conflict with char $ac_func (); below.
37036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37037 <limits.h> exists even on freestanding compilers. */
37038
37039 #ifdef __STDC__
37040 # include <limits.h>
37041 #else
37042 # include <assert.h>
37043 #endif
37044
37045 #undef $ac_func
37046
37047 /* Override any GCC internal prototype to avoid an error.
37048 Use char because int might match the return type of a GCC
37049 builtin and then its argument prototype would still apply. */
37050 #ifdef __cplusplus
37051 extern "C"
37052 #endif
37053 char $ac_func ();
37054 /* The GNU C library defines this for functions which it implements
37055 to always fail with ENOSYS. Some functions are actually named
37056 something starting with __ and the normal name is an alias. */
37057 #if defined __stub_$ac_func || defined __stub___$ac_func
37058 choke me
37059 #endif
37060
37061 int
37062 main ()
37063 {
37064 return $ac_func ();
37065 ;
37066 return 0;
37067 }
37068 _ACEOF
37069 rm -f conftest.$ac_objext conftest$ac_exeext
37070 if { (ac_try="$ac_link"
37071 case "(($ac_try" in
37072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37073 *) ac_try_echo=$ac_try;;
37074 esac
37075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37076 (eval "$ac_link") 2>conftest.er1
37077 ac_status=$?
37078 grep -v '^ *+' conftest.er1 >conftest.err
37079 rm -f conftest.er1
37080 cat conftest.err >&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); } && {
37083 test -z "$ac_c_werror_flag" ||
37084 test ! -s conftest.err
37085 } && test -s conftest$ac_exeext &&
37086 $as_test_x conftest$ac_exeext; then
37087 eval "$as_ac_var=yes"
37088 else
37089 echo "$as_me: failed program was:" >&5
37090 sed 's/^/| /' conftest.$ac_ext >&5
37091
37092 eval "$as_ac_var=no"
37093 fi
37094
37095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37096 conftest$ac_exeext conftest.$ac_ext
37097 fi
37098 ac_res=`eval echo '${'$as_ac_var'}'`
37099 { echo "$as_me:$LINENO: result: $ac_res" >&5
37100 echo "${ECHO_T}$ac_res" >&6; }
37101 if test `eval echo '${'$as_ac_var'}'` = yes; then
37102 cat >>confdefs.h <<_ACEOF
37103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37104 _ACEOF
37105 break
37106 fi
37107 done
37108
37109
37110 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37111 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37112 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37113 wxUSE_SNGLINST_CHECKER=no
37114 fi
37115 fi
37116
37117
37118
37119 for ac_func in setenv putenv
37120 do
37121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127 cat >conftest.$ac_ext <<_ACEOF
37128 /* confdefs.h. */
37129 _ACEOF
37130 cat confdefs.h >>conftest.$ac_ext
37131 cat >>conftest.$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37135 #define $ac_func innocuous_$ac_func
37136
37137 /* System header to define __stub macros and hopefully few prototypes,
37138 which can conflict with char $ac_func (); below.
37139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37140 <limits.h> exists even on freestanding compilers. */
37141
37142 #ifdef __STDC__
37143 # include <limits.h>
37144 #else
37145 # include <assert.h>
37146 #endif
37147
37148 #undef $ac_func
37149
37150 /* Override any GCC internal prototype to avoid an error.
37151 Use char because int might match the return type of a GCC
37152 builtin and then its argument prototype would still apply. */
37153 #ifdef __cplusplus
37154 extern "C"
37155 #endif
37156 char $ac_func ();
37157 /* The GNU C library defines this for functions which it implements
37158 to always fail with ENOSYS. Some functions are actually named
37159 something starting with __ and the normal name is an alias. */
37160 #if defined __stub_$ac_func || defined __stub___$ac_func
37161 choke me
37162 #endif
37163
37164 int
37165 main ()
37166 {
37167 return $ac_func ();
37168 ;
37169 return 0;
37170 }
37171 _ACEOF
37172 rm -f conftest.$ac_objext conftest$ac_exeext
37173 if { (ac_try="$ac_link"
37174 case "(($ac_try" in
37175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37176 *) ac_try_echo=$ac_try;;
37177 esac
37178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37179 (eval "$ac_link") 2>conftest.er1
37180 ac_status=$?
37181 grep -v '^ *+' conftest.er1 >conftest.err
37182 rm -f conftest.er1
37183 cat conftest.err >&5
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); } && {
37186 test -z "$ac_c_werror_flag" ||
37187 test ! -s conftest.err
37188 } && test -s conftest$ac_exeext &&
37189 $as_test_x conftest$ac_exeext; then
37190 eval "$as_ac_var=yes"
37191 else
37192 echo "$as_me: failed program was:" >&5
37193 sed 's/^/| /' conftest.$ac_ext >&5
37194
37195 eval "$as_ac_var=no"
37196 fi
37197
37198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37199 conftest$ac_exeext conftest.$ac_ext
37200 fi
37201 ac_res=`eval echo '${'$as_ac_var'}'`
37202 { echo "$as_me:$LINENO: result: $ac_res" >&5
37203 echo "${ECHO_T}$ac_res" >&6; }
37204 if test `eval echo '${'$as_ac_var'}'` = yes; then
37205 cat >>confdefs.h <<_ACEOF
37206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37207 _ACEOF
37208 break
37209 fi
37210 done
37211
37212 if test "$ac_cv_func_setenv" = "yes"; then
37213
37214 for ac_func in unsetenv
37215 do
37216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37230 #define $ac_func innocuous_$ac_func
37231
37232 /* System header to define __stub macros and hopefully few prototypes,
37233 which can conflict with char $ac_func (); below.
37234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37235 <limits.h> exists even on freestanding compilers. */
37236
37237 #ifdef __STDC__
37238 # include <limits.h>
37239 #else
37240 # include <assert.h>
37241 #endif
37242
37243 #undef $ac_func
37244
37245 /* Override any GCC internal prototype to avoid an error.
37246 Use char because int might match the return type of a GCC
37247 builtin and then its argument prototype would still apply. */
37248 #ifdef __cplusplus
37249 extern "C"
37250 #endif
37251 char $ac_func ();
37252 /* The GNU C library defines this for functions which it implements
37253 to always fail with ENOSYS. Some functions are actually named
37254 something starting with __ and the normal name is an alias. */
37255 #if defined __stub_$ac_func || defined __stub___$ac_func
37256 choke me
37257 #endif
37258
37259 int
37260 main ()
37261 {
37262 return $ac_func ();
37263 ;
37264 return 0;
37265 }
37266 _ACEOF
37267 rm -f conftest.$ac_objext conftest$ac_exeext
37268 if { (ac_try="$ac_link"
37269 case "(($ac_try" in
37270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37271 *) ac_try_echo=$ac_try;;
37272 esac
37273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37274 (eval "$ac_link") 2>conftest.er1
37275 ac_status=$?
37276 grep -v '^ *+' conftest.er1 >conftest.err
37277 rm -f conftest.er1
37278 cat conftest.err >&5
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); } && {
37281 test -z "$ac_c_werror_flag" ||
37282 test ! -s conftest.err
37283 } && test -s conftest$ac_exeext &&
37284 $as_test_x conftest$ac_exeext; then
37285 eval "$as_ac_var=yes"
37286 else
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37289
37290 eval "$as_ac_var=no"
37291 fi
37292
37293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37294 conftest$ac_exeext conftest.$ac_ext
37295 fi
37296 ac_res=`eval echo '${'$as_ac_var'}'`
37297 { echo "$as_me:$LINENO: result: $ac_res" >&5
37298 echo "${ECHO_T}$ac_res" >&6; }
37299 if test `eval echo '${'$as_ac_var'}'` = yes; then
37300 cat >>confdefs.h <<_ACEOF
37301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37302 _ACEOF
37303
37304 fi
37305 done
37306
37307 fi
37308
37309 HAVE_SOME_SLEEP_FUNC=0
37310 if test "$USE_BEOS" = 1; then
37311 cat >>confdefs.h <<\_ACEOF
37312 #define HAVE_SLEEP 1
37313 _ACEOF
37314
37315 HAVE_SOME_SLEEP_FUNC=1
37316 fi
37317
37318 if test "$USE_DARWIN" = 1; then
37319 cat >>confdefs.h <<\_ACEOF
37320 #define HAVE_USLEEP 1
37321 _ACEOF
37322
37323 HAVE_SOME_SLEEP_FUNC=1
37324 fi
37325
37326 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37327 POSIX4_LINK=
37328
37329 for ac_func in nanosleep
37330 do
37331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37332 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37334 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37335 echo $ECHO_N "(cached) $ECHO_C" >&6
37336 else
37337 cat >conftest.$ac_ext <<_ACEOF
37338 /* confdefs.h. */
37339 _ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37345 #define $ac_func innocuous_$ac_func
37346
37347 /* System header to define __stub macros and hopefully few prototypes,
37348 which can conflict with char $ac_func (); below.
37349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37350 <limits.h> exists even on freestanding compilers. */
37351
37352 #ifdef __STDC__
37353 # include <limits.h>
37354 #else
37355 # include <assert.h>
37356 #endif
37357
37358 #undef $ac_func
37359
37360 /* Override any GCC internal prototype to avoid an error.
37361 Use char because int might match the return type of a GCC
37362 builtin and then its argument prototype would still apply. */
37363 #ifdef __cplusplus
37364 extern "C"
37365 #endif
37366 char $ac_func ();
37367 /* The GNU C library defines this for functions which it implements
37368 to always fail with ENOSYS. Some functions are actually named
37369 something starting with __ and the normal name is an alias. */
37370 #if defined __stub_$ac_func || defined __stub___$ac_func
37371 choke me
37372 #endif
37373
37374 int
37375 main ()
37376 {
37377 return $ac_func ();
37378 ;
37379 return 0;
37380 }
37381 _ACEOF
37382 rm -f conftest.$ac_objext conftest$ac_exeext
37383 if { (ac_try="$ac_link"
37384 case "(($ac_try" in
37385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37386 *) ac_try_echo=$ac_try;;
37387 esac
37388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37389 (eval "$ac_link") 2>conftest.er1
37390 ac_status=$?
37391 grep -v '^ *+' conftest.er1 >conftest.err
37392 rm -f conftest.er1
37393 cat conftest.err >&5
37394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37395 (exit $ac_status); } && {
37396 test -z "$ac_c_werror_flag" ||
37397 test ! -s conftest.err
37398 } && test -s conftest$ac_exeext &&
37399 $as_test_x conftest$ac_exeext; then
37400 eval "$as_ac_var=yes"
37401 else
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37404
37405 eval "$as_ac_var=no"
37406 fi
37407
37408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37409 conftest$ac_exeext conftest.$ac_ext
37410 fi
37411 ac_res=`eval echo '${'$as_ac_var'}'`
37412 { echo "$as_me:$LINENO: result: $ac_res" >&5
37413 echo "${ECHO_T}$ac_res" >&6; }
37414 if test `eval echo '${'$as_ac_var'}'` = yes; then
37415 cat >>confdefs.h <<_ACEOF
37416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37417 _ACEOF
37418 cat >>confdefs.h <<\_ACEOF
37419 #define HAVE_NANOSLEEP 1
37420 _ACEOF
37421
37422 else
37423
37424 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37425 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37426 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37427 echo $ECHO_N "(cached) $ECHO_C" >&6
37428 else
37429 ac_check_lib_save_LIBS=$LIBS
37430 LIBS="-lposix4 $LIBS"
37431 cat >conftest.$ac_ext <<_ACEOF
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437
37438 /* Override any GCC internal prototype to avoid an error.
37439 Use char because int might match the return type of a GCC
37440 builtin and then its argument prototype would still apply. */
37441 #ifdef __cplusplus
37442 extern "C"
37443 #endif
37444 char nanosleep ();
37445 int
37446 main ()
37447 {
37448 return nanosleep ();
37449 ;
37450 return 0;
37451 }
37452 _ACEOF
37453 rm -f conftest.$ac_objext conftest$ac_exeext
37454 if { (ac_try="$ac_link"
37455 case "(($ac_try" in
37456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37457 *) ac_try_echo=$ac_try;;
37458 esac
37459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37460 (eval "$ac_link") 2>conftest.er1
37461 ac_status=$?
37462 grep -v '^ *+' conftest.er1 >conftest.err
37463 rm -f conftest.er1
37464 cat conftest.err >&5
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); } && {
37467 test -z "$ac_c_werror_flag" ||
37468 test ! -s conftest.err
37469 } && test -s conftest$ac_exeext &&
37470 $as_test_x conftest$ac_exeext; then
37471 ac_cv_lib_posix4_nanosleep=yes
37472 else
37473 echo "$as_me: failed program was:" >&5
37474 sed 's/^/| /' conftest.$ac_ext >&5
37475
37476 ac_cv_lib_posix4_nanosleep=no
37477 fi
37478
37479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37480 conftest$ac_exeext conftest.$ac_ext
37481 LIBS=$ac_check_lib_save_LIBS
37482 fi
37483 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37484 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37485 if test $ac_cv_lib_posix4_nanosleep = yes; then
37486
37487 cat >>confdefs.h <<\_ACEOF
37488 #define HAVE_NANOSLEEP 1
37489 _ACEOF
37490
37491 POSIX4_LINK=" -lposix4"
37492
37493 else
37494
37495
37496 for wx_func in usleep
37497 do
37498 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37499 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37500 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37502 else
37503
37504 cat >conftest.$ac_ext <<_ACEOF
37505
37506 /* confdefs.h. */
37507 _ACEOF
37508 cat confdefs.h >>conftest.$ac_ext
37509 cat >>conftest.$ac_ext <<_ACEOF
37510 /* end confdefs.h. */
37511
37512
37513 $ac_includes_default
37514
37515 int
37516 main ()
37517 {
37518
37519 #ifndef $wx_func
37520 &$wx_func;
37521 #endif
37522
37523
37524 ;
37525 return 0;
37526 }
37527
37528 _ACEOF
37529 rm -f conftest.$ac_objext conftest$ac_exeext
37530 if { (ac_try="$ac_link"
37531 case "(($ac_try" in
37532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37533 *) ac_try_echo=$ac_try;;
37534 esac
37535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37536 (eval "$ac_link") 2>conftest.er1
37537 ac_status=$?
37538 grep -v '^ *+' conftest.er1 >conftest.err
37539 rm -f conftest.er1
37540 cat conftest.err >&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } && {
37543 test -z "$ac_c_werror_flag" ||
37544 test ! -s conftest.err
37545 } && test -s conftest$ac_exeext &&
37546 $as_test_x conftest$ac_exeext; then
37547 eval wx_cv_func_$wx_func=yes
37548 else
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37551
37552 eval wx_cv_func_$wx_func=no
37553 fi
37554
37555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37556 conftest$ac_exeext conftest.$ac_ext
37557
37558 fi
37559 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37560 { echo "$as_me:$LINENO: result: $ac_res" >&5
37561 echo "${ECHO_T}$ac_res" >&6; }
37562
37563 if eval test \$wx_cv_func_$wx_func = yes
37564 then
37565 cat >>confdefs.h <<_ACEOF
37566 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37567 _ACEOF
37568
37569
37570 else
37571 :
37572 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37573 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37574
37575 fi
37576 done
37577
37578
37579
37580 fi
37581
37582
37583
37584 fi
37585 done
37586
37587 fi
37588
37589
37590 for wx_func in uname
37591 do
37592 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37593 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37594 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37595 echo $ECHO_N "(cached) $ECHO_C" >&6
37596 else
37597
37598 cat >conftest.$ac_ext <<_ACEOF
37599
37600 /* confdefs.h. */
37601 _ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605
37606 #include <sys/utsname.h>
37607 $ac_includes_default
37608
37609 int
37610 main ()
37611 {
37612
37613 #ifndef $wx_func
37614 &$wx_func;
37615 #endif
37616
37617
37618 ;
37619 return 0;
37620 }
37621
37622 _ACEOF
37623 rm -f conftest.$ac_objext conftest$ac_exeext
37624 if { (ac_try="$ac_link"
37625 case "(($ac_try" in
37626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37627 *) ac_try_echo=$ac_try;;
37628 esac
37629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37630 (eval "$ac_link") 2>conftest.er1
37631 ac_status=$?
37632 grep -v '^ *+' conftest.er1 >conftest.err
37633 rm -f conftest.er1
37634 cat conftest.err >&5
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); } && {
37637 test -z "$ac_c_werror_flag" ||
37638 test ! -s conftest.err
37639 } && test -s conftest$ac_exeext &&
37640 $as_test_x conftest$ac_exeext; then
37641 eval wx_cv_func_$wx_func=yes
37642 else
37643 echo "$as_me: failed program was:" >&5
37644 sed 's/^/| /' conftest.$ac_ext >&5
37645
37646 eval wx_cv_func_$wx_func=no
37647 fi
37648
37649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37650 conftest$ac_exeext conftest.$ac_ext
37651
37652 fi
37653 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37654 { echo "$as_me:$LINENO: result: $ac_res" >&5
37655 echo "${ECHO_T}$ac_res" >&6; }
37656
37657 if eval test \$wx_cv_func_$wx_func = yes
37658 then
37659 cat >>confdefs.h <<_ACEOF
37660 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37661 _ACEOF
37662
37663
37664 else
37665 :
37666
37667 fi
37668 done
37669
37670 if test "$wx_cv_func_uname" != yes; then
37671
37672 for wx_func in gethostname
37673 do
37674 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37675 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37676 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37677 echo $ECHO_N "(cached) $ECHO_C" >&6
37678 else
37679
37680 cat >conftest.$ac_ext <<_ACEOF
37681
37682 /* confdefs.h. */
37683 _ACEOF
37684 cat confdefs.h >>conftest.$ac_ext
37685 cat >>conftest.$ac_ext <<_ACEOF
37686 /* end confdefs.h. */
37687
37688
37689 $ac_includes_default
37690
37691 int
37692 main ()
37693 {
37694
37695 #ifndef $wx_func
37696 &$wx_func;
37697 #endif
37698
37699
37700 ;
37701 return 0;
37702 }
37703
37704 _ACEOF
37705 rm -f conftest.$ac_objext conftest$ac_exeext
37706 if { (ac_try="$ac_link"
37707 case "(($ac_try" in
37708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37709 *) ac_try_echo=$ac_try;;
37710 esac
37711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37712 (eval "$ac_link") 2>conftest.er1
37713 ac_status=$?
37714 grep -v '^ *+' conftest.er1 >conftest.err
37715 rm -f conftest.er1
37716 cat conftest.err >&5
37717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37718 (exit $ac_status); } && {
37719 test -z "$ac_c_werror_flag" ||
37720 test ! -s conftest.err
37721 } && test -s conftest$ac_exeext &&
37722 $as_test_x conftest$ac_exeext; then
37723 eval wx_cv_func_$wx_func=yes
37724 else
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.$ac_ext >&5
37727
37728 eval wx_cv_func_$wx_func=no
37729 fi
37730
37731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37732 conftest$ac_exeext conftest.$ac_ext
37733
37734 fi
37735 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37736 { echo "$as_me:$LINENO: result: $ac_res" >&5
37737 echo "${ECHO_T}$ac_res" >&6; }
37738
37739 if eval test \$wx_cv_func_$wx_func = yes
37740 then
37741 cat >>confdefs.h <<_ACEOF
37742 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37743 _ACEOF
37744
37745
37746 else
37747 :
37748
37749 fi
37750 done
37751
37752 fi
37753
37754
37755 for wx_func in strtok_r
37756 do
37757 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37758 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37759 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37760 echo $ECHO_N "(cached) $ECHO_C" >&6
37761 else
37762
37763 cat >conftest.$ac_ext <<_ACEOF
37764
37765 /* confdefs.h. */
37766 _ACEOF
37767 cat confdefs.h >>conftest.$ac_ext
37768 cat >>conftest.$ac_ext <<_ACEOF
37769 /* end confdefs.h. */
37770
37771 #define _REENTRANT
37772 $ac_includes_default
37773
37774 int
37775 main ()
37776 {
37777
37778 #ifndef $wx_func
37779 &$wx_func;
37780 #endif
37781
37782
37783 ;
37784 return 0;
37785 }
37786
37787 _ACEOF
37788 rm -f conftest.$ac_objext conftest$ac_exeext
37789 if { (ac_try="$ac_link"
37790 case "(($ac_try" in
37791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37792 *) ac_try_echo=$ac_try;;
37793 esac
37794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37795 (eval "$ac_link") 2>conftest.er1
37796 ac_status=$?
37797 grep -v '^ *+' conftest.er1 >conftest.err
37798 rm -f conftest.er1
37799 cat conftest.err >&5
37800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37801 (exit $ac_status); } && {
37802 test -z "$ac_c_werror_flag" ||
37803 test ! -s conftest.err
37804 } && test -s conftest$ac_exeext &&
37805 $as_test_x conftest$ac_exeext; then
37806 eval wx_cv_func_$wx_func=yes
37807 else
37808 echo "$as_me: failed program was:" >&5
37809 sed 's/^/| /' conftest.$ac_ext >&5
37810
37811 eval wx_cv_func_$wx_func=no
37812 fi
37813
37814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37815 conftest$ac_exeext conftest.$ac_ext
37816
37817 fi
37818 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37819 { echo "$as_me:$LINENO: result: $ac_res" >&5
37820 echo "${ECHO_T}$ac_res" >&6; }
37821
37822 if eval test \$wx_cv_func_$wx_func = yes
37823 then
37824 cat >>confdefs.h <<_ACEOF
37825 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37826 _ACEOF
37827
37828
37829 else
37830 :
37831
37832 fi
37833 done
37834
37835
37836 INET_LINK=
37837
37838 for ac_func in inet_addr
37839 do
37840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37844 echo $ECHO_N "(cached) $ECHO_C" >&6
37845 else
37846 cat >conftest.$ac_ext <<_ACEOF
37847 /* confdefs.h. */
37848 _ACEOF
37849 cat confdefs.h >>conftest.$ac_ext
37850 cat >>conftest.$ac_ext <<_ACEOF
37851 /* end confdefs.h. */
37852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37854 #define $ac_func innocuous_$ac_func
37855
37856 /* System header to define __stub macros and hopefully few prototypes,
37857 which can conflict with char $ac_func (); below.
37858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37859 <limits.h> exists even on freestanding compilers. */
37860
37861 #ifdef __STDC__
37862 # include <limits.h>
37863 #else
37864 # include <assert.h>
37865 #endif
37866
37867 #undef $ac_func
37868
37869 /* Override any GCC internal prototype to avoid an error.
37870 Use char because int might match the return type of a GCC
37871 builtin and then its argument prototype would still apply. */
37872 #ifdef __cplusplus
37873 extern "C"
37874 #endif
37875 char $ac_func ();
37876 /* The GNU C library defines this for functions which it implements
37877 to always fail with ENOSYS. Some functions are actually named
37878 something starting with __ and the normal name is an alias. */
37879 #if defined __stub_$ac_func || defined __stub___$ac_func
37880 choke me
37881 #endif
37882
37883 int
37884 main ()
37885 {
37886 return $ac_func ();
37887 ;
37888 return 0;
37889 }
37890 _ACEOF
37891 rm -f conftest.$ac_objext conftest$ac_exeext
37892 if { (ac_try="$ac_link"
37893 case "(($ac_try" in
37894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37895 *) ac_try_echo=$ac_try;;
37896 esac
37897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37898 (eval "$ac_link") 2>conftest.er1
37899 ac_status=$?
37900 grep -v '^ *+' conftest.er1 >conftest.err
37901 rm -f conftest.er1
37902 cat conftest.err >&5
37903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37904 (exit $ac_status); } && {
37905 test -z "$ac_c_werror_flag" ||
37906 test ! -s conftest.err
37907 } && test -s conftest$ac_exeext &&
37908 $as_test_x conftest$ac_exeext; then
37909 eval "$as_ac_var=yes"
37910 else
37911 echo "$as_me: failed program was:" >&5
37912 sed 's/^/| /' conftest.$ac_ext >&5
37913
37914 eval "$as_ac_var=no"
37915 fi
37916
37917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37918 conftest$ac_exeext conftest.$ac_ext
37919 fi
37920 ac_res=`eval echo '${'$as_ac_var'}'`
37921 { echo "$as_me:$LINENO: result: $ac_res" >&5
37922 echo "${ECHO_T}$ac_res" >&6; }
37923 if test `eval echo '${'$as_ac_var'}'` = yes; then
37924 cat >>confdefs.h <<_ACEOF
37925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37926 _ACEOF
37927 cat >>confdefs.h <<\_ACEOF
37928 #define HAVE_INET_ADDR 1
37929 _ACEOF
37930
37931 else
37932
37933 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37934 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37935 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37936 echo $ECHO_N "(cached) $ECHO_C" >&6
37937 else
37938 ac_check_lib_save_LIBS=$LIBS
37939 LIBS="-lnsl $LIBS"
37940 cat >conftest.$ac_ext <<_ACEOF
37941 /* confdefs.h. */
37942 _ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946
37947 /* Override any GCC internal prototype to avoid an error.
37948 Use char because int might match the return type of a GCC
37949 builtin and then its argument prototype would still apply. */
37950 #ifdef __cplusplus
37951 extern "C"
37952 #endif
37953 char inet_addr ();
37954 int
37955 main ()
37956 {
37957 return inet_addr ();
37958 ;
37959 return 0;
37960 }
37961 _ACEOF
37962 rm -f conftest.$ac_objext conftest$ac_exeext
37963 if { (ac_try="$ac_link"
37964 case "(($ac_try" in
37965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37966 *) ac_try_echo=$ac_try;;
37967 esac
37968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37969 (eval "$ac_link") 2>conftest.er1
37970 ac_status=$?
37971 grep -v '^ *+' conftest.er1 >conftest.err
37972 rm -f conftest.er1
37973 cat conftest.err >&5
37974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37975 (exit $ac_status); } && {
37976 test -z "$ac_c_werror_flag" ||
37977 test ! -s conftest.err
37978 } && test -s conftest$ac_exeext &&
37979 $as_test_x conftest$ac_exeext; then
37980 ac_cv_lib_nsl_inet_addr=yes
37981 else
37982 echo "$as_me: failed program was:" >&5
37983 sed 's/^/| /' conftest.$ac_ext >&5
37984
37985 ac_cv_lib_nsl_inet_addr=no
37986 fi
37987
37988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37989 conftest$ac_exeext conftest.$ac_ext
37990 LIBS=$ac_check_lib_save_LIBS
37991 fi
37992 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37993 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37994 if test $ac_cv_lib_nsl_inet_addr = yes; then
37995 INET_LINK="nsl"
37996 else
37997
37998 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37999 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38000 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38001 echo $ECHO_N "(cached) $ECHO_C" >&6
38002 else
38003 ac_check_lib_save_LIBS=$LIBS
38004 LIBS="-lresolv $LIBS"
38005 cat >conftest.$ac_ext <<_ACEOF
38006 /* confdefs.h. */
38007 _ACEOF
38008 cat confdefs.h >>conftest.$ac_ext
38009 cat >>conftest.$ac_ext <<_ACEOF
38010 /* end confdefs.h. */
38011
38012 /* Override any GCC internal prototype to avoid an error.
38013 Use char because int might match the return type of a GCC
38014 builtin and then its argument prototype would still apply. */
38015 #ifdef __cplusplus
38016 extern "C"
38017 #endif
38018 char inet_addr ();
38019 int
38020 main ()
38021 {
38022 return inet_addr ();
38023 ;
38024 return 0;
38025 }
38026 _ACEOF
38027 rm -f conftest.$ac_objext conftest$ac_exeext
38028 if { (ac_try="$ac_link"
38029 case "(($ac_try" in
38030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38031 *) ac_try_echo=$ac_try;;
38032 esac
38033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38034 (eval "$ac_link") 2>conftest.er1
38035 ac_status=$?
38036 grep -v '^ *+' conftest.er1 >conftest.err
38037 rm -f conftest.er1
38038 cat conftest.err >&5
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); } && {
38041 test -z "$ac_c_werror_flag" ||
38042 test ! -s conftest.err
38043 } && test -s conftest$ac_exeext &&
38044 $as_test_x conftest$ac_exeext; then
38045 ac_cv_lib_resolv_inet_addr=yes
38046 else
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38049
38050 ac_cv_lib_resolv_inet_addr=no
38051 fi
38052
38053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38054 conftest$ac_exeext conftest.$ac_ext
38055 LIBS=$ac_check_lib_save_LIBS
38056 fi
38057 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38058 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38059 if test $ac_cv_lib_resolv_inet_addr = yes; then
38060 INET_LINK="resolv"
38061 else
38062
38063 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38064 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38065 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38066 echo $ECHO_N "(cached) $ECHO_C" >&6
38067 else
38068 ac_check_lib_save_LIBS=$LIBS
38069 LIBS="-lsocket $LIBS"
38070 cat >conftest.$ac_ext <<_ACEOF
38071 /* confdefs.h. */
38072 _ACEOF
38073 cat confdefs.h >>conftest.$ac_ext
38074 cat >>conftest.$ac_ext <<_ACEOF
38075 /* end confdefs.h. */
38076
38077 /* Override any GCC internal prototype to avoid an error.
38078 Use char because int might match the return type of a GCC
38079 builtin and then its argument prototype would still apply. */
38080 #ifdef __cplusplus
38081 extern "C"
38082 #endif
38083 char inet_addr ();
38084 int
38085 main ()
38086 {
38087 return inet_addr ();
38088 ;
38089 return 0;
38090 }
38091 _ACEOF
38092 rm -f conftest.$ac_objext conftest$ac_exeext
38093 if { (ac_try="$ac_link"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_link") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest$ac_exeext &&
38109 $as_test_x conftest$ac_exeext; then
38110 ac_cv_lib_socket_inet_addr=yes
38111 else
38112 echo "$as_me: failed program was:" >&5
38113 sed 's/^/| /' conftest.$ac_ext >&5
38114
38115 ac_cv_lib_socket_inet_addr=no
38116 fi
38117
38118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38119 conftest$ac_exeext conftest.$ac_ext
38120 LIBS=$ac_check_lib_save_LIBS
38121 fi
38122 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38123 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38124 if test $ac_cv_lib_socket_inet_addr = yes; then
38125 INET_LINK="socket"
38126
38127 fi
38128
38129
38130
38131 fi
38132
38133
38134
38135 fi
38136
38137
38138
38139 fi
38140 done
38141
38142
38143
38144 for ac_func in inet_aton
38145 do
38146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38147 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38149 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38152 cat >conftest.$ac_ext <<_ACEOF
38153 /* confdefs.h. */
38154 _ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38160 #define $ac_func innocuous_$ac_func
38161
38162 /* System header to define __stub macros and hopefully few prototypes,
38163 which can conflict with char $ac_func (); below.
38164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38165 <limits.h> exists even on freestanding compilers. */
38166
38167 #ifdef __STDC__
38168 # include <limits.h>
38169 #else
38170 # include <assert.h>
38171 #endif
38172
38173 #undef $ac_func
38174
38175 /* Override any GCC internal prototype to avoid an error.
38176 Use char because int might match the return type of a GCC
38177 builtin and then its argument prototype would still apply. */
38178 #ifdef __cplusplus
38179 extern "C"
38180 #endif
38181 char $ac_func ();
38182 /* The GNU C library defines this for functions which it implements
38183 to always fail with ENOSYS. Some functions are actually named
38184 something starting with __ and the normal name is an alias. */
38185 #if defined __stub_$ac_func || defined __stub___$ac_func
38186 choke me
38187 #endif
38188
38189 int
38190 main ()
38191 {
38192 return $ac_func ();
38193 ;
38194 return 0;
38195 }
38196 _ACEOF
38197 rm -f conftest.$ac_objext conftest$ac_exeext
38198 if { (ac_try="$ac_link"
38199 case "(($ac_try" in
38200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38201 *) ac_try_echo=$ac_try;;
38202 esac
38203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38204 (eval "$ac_link") 2>conftest.er1
38205 ac_status=$?
38206 grep -v '^ *+' conftest.er1 >conftest.err
38207 rm -f conftest.er1
38208 cat conftest.err >&5
38209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38210 (exit $ac_status); } && {
38211 test -z "$ac_c_werror_flag" ||
38212 test ! -s conftest.err
38213 } && test -s conftest$ac_exeext &&
38214 $as_test_x conftest$ac_exeext; then
38215 eval "$as_ac_var=yes"
38216 else
38217 echo "$as_me: failed program was:" >&5
38218 sed 's/^/| /' conftest.$ac_ext >&5
38219
38220 eval "$as_ac_var=no"
38221 fi
38222
38223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38224 conftest$ac_exeext conftest.$ac_ext
38225 fi
38226 ac_res=`eval echo '${'$as_ac_var'}'`
38227 { echo "$as_me:$LINENO: result: $ac_res" >&5
38228 echo "${ECHO_T}$ac_res" >&6; }
38229 if test `eval echo '${'$as_ac_var'}'` = yes; then
38230 cat >>confdefs.h <<_ACEOF
38231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38232 _ACEOF
38233 cat >>confdefs.h <<\_ACEOF
38234 #define HAVE_INET_ATON 1
38235 _ACEOF
38236
38237 else
38238
38239 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38240 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38241 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38242 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38243 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 else
38245 ac_check_lib_save_LIBS=$LIBS
38246 LIBS="-l$INET_LINK $LIBS"
38247 cat >conftest.$ac_ext <<_ACEOF
38248 /* confdefs.h. */
38249 _ACEOF
38250 cat confdefs.h >>conftest.$ac_ext
38251 cat >>conftest.$ac_ext <<_ACEOF
38252 /* end confdefs.h. */
38253
38254 /* Override any GCC internal prototype to avoid an error.
38255 Use char because int might match the return type of a GCC
38256 builtin and then its argument prototype would still apply. */
38257 #ifdef __cplusplus
38258 extern "C"
38259 #endif
38260 char inet_aton ();
38261 int
38262 main ()
38263 {
38264 return inet_aton ();
38265 ;
38266 return 0;
38267 }
38268 _ACEOF
38269 rm -f conftest.$ac_objext conftest$ac_exeext
38270 if { (ac_try="$ac_link"
38271 case "(($ac_try" in
38272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38273 *) ac_try_echo=$ac_try;;
38274 esac
38275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38276 (eval "$ac_link") 2>conftest.er1
38277 ac_status=$?
38278 grep -v '^ *+' conftest.er1 >conftest.err
38279 rm -f conftest.er1
38280 cat conftest.err >&5
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); } && {
38283 test -z "$ac_c_werror_flag" ||
38284 test ! -s conftest.err
38285 } && test -s conftest$ac_exeext &&
38286 $as_test_x conftest$ac_exeext; then
38287 eval "$as_ac_Lib=yes"
38288 else
38289 echo "$as_me: failed program was:" >&5
38290 sed 's/^/| /' conftest.$ac_ext >&5
38291
38292 eval "$as_ac_Lib=no"
38293 fi
38294
38295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38296 conftest$ac_exeext conftest.$ac_ext
38297 LIBS=$ac_check_lib_save_LIBS
38298 fi
38299 ac_res=`eval echo '${'$as_ac_Lib'}'`
38300 { echo "$as_me:$LINENO: result: $ac_res" >&5
38301 echo "${ECHO_T}$ac_res" >&6; }
38302 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38303 cat >>confdefs.h <<\_ACEOF
38304 #define HAVE_INET_ATON 1
38305 _ACEOF
38306
38307 fi
38308
38309
38310 fi
38311 done
38312
38313
38314 if test "x$INET_LINK" != "x"; then
38315 cat >>confdefs.h <<\_ACEOF
38316 #define HAVE_INET_ADDR 1
38317 _ACEOF
38318
38319 INET_LINK=" -l$INET_LINK"
38320 fi
38321
38322
38323 for wx_func in fdopen
38324 do
38325 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38326 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38327 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38329 else
38330
38331 cat >conftest.$ac_ext <<_ACEOF
38332
38333 /* confdefs.h. */
38334 _ACEOF
38335 cat confdefs.h >>conftest.$ac_ext
38336 cat >>conftest.$ac_ext <<_ACEOF
38337 /* end confdefs.h. */
38338
38339
38340 $ac_includes_default
38341
38342 int
38343 main ()
38344 {
38345
38346 #ifndef $wx_func
38347 &$wx_func;
38348 #endif
38349
38350
38351 ;
38352 return 0;
38353 }
38354
38355 _ACEOF
38356 rm -f conftest.$ac_objext conftest$ac_exeext
38357 if { (ac_try="$ac_link"
38358 case "(($ac_try" in
38359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38360 *) ac_try_echo=$ac_try;;
38361 esac
38362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38363 (eval "$ac_link") 2>conftest.er1
38364 ac_status=$?
38365 grep -v '^ *+' conftest.er1 >conftest.err
38366 rm -f conftest.er1
38367 cat conftest.err >&5
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); } && {
38370 test -z "$ac_c_werror_flag" ||
38371 test ! -s conftest.err
38372 } && test -s conftest$ac_exeext &&
38373 $as_test_x conftest$ac_exeext; then
38374 eval wx_cv_func_$wx_func=yes
38375 else
38376 echo "$as_me: failed program was:" >&5
38377 sed 's/^/| /' conftest.$ac_ext >&5
38378
38379 eval wx_cv_func_$wx_func=no
38380 fi
38381
38382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38383 conftest$ac_exeext conftest.$ac_ext
38384
38385 fi
38386 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38387 { echo "$as_me:$LINENO: result: $ac_res" >&5
38388 echo "${ECHO_T}$ac_res" >&6; }
38389
38390 if eval test \$wx_cv_func_$wx_func = yes
38391 then
38392 cat >>confdefs.h <<_ACEOF
38393 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38394 _ACEOF
38395
38396
38397 else
38398 :
38399
38400 fi
38401 done
38402
38403
38404 if test "$wxUSE_TARSTREAM" = "yes"; then
38405
38406 for wx_func in sysconf
38407 do
38408 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38409 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38410 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38411 echo $ECHO_N "(cached) $ECHO_C" >&6
38412 else
38413
38414 cat >conftest.$ac_ext <<_ACEOF
38415
38416 /* confdefs.h. */
38417 _ACEOF
38418 cat confdefs.h >>conftest.$ac_ext
38419 cat >>conftest.$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38421
38422
38423 $ac_includes_default
38424
38425 int
38426 main ()
38427 {
38428
38429 #ifndef $wx_func
38430 &$wx_func;
38431 #endif
38432
38433
38434 ;
38435 return 0;
38436 }
38437
38438 _ACEOF
38439 rm -f conftest.$ac_objext conftest$ac_exeext
38440 if { (ac_try="$ac_link"
38441 case "(($ac_try" in
38442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38443 *) ac_try_echo=$ac_try;;
38444 esac
38445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38446 (eval "$ac_link") 2>conftest.er1
38447 ac_status=$?
38448 grep -v '^ *+' conftest.er1 >conftest.err
38449 rm -f conftest.er1
38450 cat conftest.err >&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); } && {
38453 test -z "$ac_c_werror_flag" ||
38454 test ! -s conftest.err
38455 } && test -s conftest$ac_exeext &&
38456 $as_test_x conftest$ac_exeext; then
38457 eval wx_cv_func_$wx_func=yes
38458 else
38459 echo "$as_me: failed program was:" >&5
38460 sed 's/^/| /' conftest.$ac_ext >&5
38461
38462 eval wx_cv_func_$wx_func=no
38463 fi
38464
38465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38466 conftest$ac_exeext conftest.$ac_ext
38467
38468 fi
38469 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38470 { echo "$as_me:$LINENO: result: $ac_res" >&5
38471 echo "${ECHO_T}$ac_res" >&6; }
38472
38473 if eval test \$wx_cv_func_$wx_func = yes
38474 then
38475 cat >>confdefs.h <<_ACEOF
38476 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38477 _ACEOF
38478
38479
38480 else
38481 :
38482
38483 fi
38484 done
38485
38486
38487
38488 for wx_func in getpwuid_r
38489 do
38490 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38491 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38492 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38493 echo $ECHO_N "(cached) $ECHO_C" >&6
38494 else
38495
38496 cat >conftest.$ac_ext <<_ACEOF
38497
38498 /* confdefs.h. */
38499 _ACEOF
38500 cat confdefs.h >>conftest.$ac_ext
38501 cat >>conftest.$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38503
38504
38505 #define _REENTRANT
38506 #include <pwd.h>
38507
38508 $ac_includes_default
38509
38510 int
38511 main ()
38512 {
38513
38514 #ifndef $wx_func
38515 &$wx_func;
38516 #endif
38517
38518 struct passwd pw, *ppw;
38519 char buf[1024];
38520 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38521
38522
38523 ;
38524 return 0;
38525 }
38526
38527 _ACEOF
38528 rm -f conftest.$ac_objext conftest$ac_exeext
38529 if { (ac_try="$ac_link"
38530 case "(($ac_try" in
38531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38532 *) ac_try_echo=$ac_try;;
38533 esac
38534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38535 (eval "$ac_link") 2>conftest.er1
38536 ac_status=$?
38537 grep -v '^ *+' conftest.er1 >conftest.err
38538 rm -f conftest.er1
38539 cat conftest.err >&5
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); } && {
38542 test -z "$ac_c_werror_flag" ||
38543 test ! -s conftest.err
38544 } && test -s conftest$ac_exeext &&
38545 $as_test_x conftest$ac_exeext; then
38546 eval wx_cv_func_$wx_func=yes
38547 else
38548 echo "$as_me: failed program was:" >&5
38549 sed 's/^/| /' conftest.$ac_ext >&5
38550
38551 eval wx_cv_func_$wx_func=no
38552 fi
38553
38554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38555 conftest$ac_exeext conftest.$ac_ext
38556
38557 fi
38558 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38559 { echo "$as_me:$LINENO: result: $ac_res" >&5
38560 echo "${ECHO_T}$ac_res" >&6; }
38561
38562 if eval test \$wx_cv_func_$wx_func = yes
38563 then
38564 cat >>confdefs.h <<_ACEOF
38565 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38566 _ACEOF
38567
38568
38569 else
38570 :
38571
38572 fi
38573 done
38574
38575
38576
38577 for wx_func in getgrgid_r
38578 do
38579 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38580 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38581 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38582 echo $ECHO_N "(cached) $ECHO_C" >&6
38583 else
38584
38585 cat >conftest.$ac_ext <<_ACEOF
38586
38587 /* confdefs.h. */
38588 _ACEOF
38589 cat confdefs.h >>conftest.$ac_ext
38590 cat >>conftest.$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38592
38593
38594 #define _REENTRANT
38595 #include <grp.h>
38596
38597 $ac_includes_default
38598
38599 int
38600 main ()
38601 {
38602
38603 #ifndef $wx_func
38604 &$wx_func;
38605 #endif
38606
38607 struct group grp, *pgrp;
38608 char buf[1024];
38609 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38610
38611
38612 ;
38613 return 0;
38614 }
38615
38616 _ACEOF
38617 rm -f conftest.$ac_objext conftest$ac_exeext
38618 if { (ac_try="$ac_link"
38619 case "(($ac_try" in
38620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38621 *) ac_try_echo=$ac_try;;
38622 esac
38623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38624 (eval "$ac_link") 2>conftest.er1
38625 ac_status=$?
38626 grep -v '^ *+' conftest.er1 >conftest.err
38627 rm -f conftest.er1
38628 cat conftest.err >&5
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); } && {
38631 test -z "$ac_c_werror_flag" ||
38632 test ! -s conftest.err
38633 } && test -s conftest$ac_exeext &&
38634 $as_test_x conftest$ac_exeext; then
38635 eval wx_cv_func_$wx_func=yes
38636 else
38637 echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38639
38640 eval wx_cv_func_$wx_func=no
38641 fi
38642
38643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38644 conftest$ac_exeext conftest.$ac_ext
38645
38646 fi
38647 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38648 { echo "$as_me:$LINENO: result: $ac_res" >&5
38649 echo "${ECHO_T}$ac_res" >&6; }
38650
38651 if eval test \$wx_cv_func_$wx_func = yes
38652 then
38653 cat >>confdefs.h <<_ACEOF
38654 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38655 _ACEOF
38656
38657
38658 else
38659 :
38660
38661 fi
38662 done
38663
38664 fi
38665
38666 fi
38667
38668
38669
38670 cat >confcache <<\_ACEOF
38671 # This file is a shell script that caches the results of configure
38672 # tests run on this system so they can be shared between configure
38673 # scripts and configure runs, see configure's option --config-cache.
38674 # It is not useful on other systems. If it contains results you don't
38675 # want to keep, you may remove or edit it.
38676 #
38677 # config.status only pays attention to the cache file if you give it
38678 # the --recheck option to rerun configure.
38679 #
38680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38682 # following values.
38683
38684 _ACEOF
38685
38686 # The following way of writing the cache mishandles newlines in values,
38687 # but we know of no workaround that is simple, portable, and efficient.
38688 # So, we kill variables containing newlines.
38689 # Ultrix sh set writes to stderr and can't be redirected directly,
38690 # and sets the high bit in the cache file unless we assign to the vars.
38691 (
38692 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38693 eval ac_val=\$$ac_var
38694 case $ac_val in #(
38695 *${as_nl}*)
38696 case $ac_var in #(
38697 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38698 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38699 esac
38700 case $ac_var in #(
38701 _ | IFS | as_nl) ;; #(
38702 *) $as_unset $ac_var ;;
38703 esac ;;
38704 esac
38705 done
38706
38707 (set) 2>&1 |
38708 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38709 *${as_nl}ac_space=\ *)
38710 # `set' does not quote correctly, so add quotes (double-quote
38711 # substitution turns \\\\ into \\, and sed turns \\ into \).
38712 sed -n \
38713 "s/'/'\\\\''/g;
38714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38715 ;; #(
38716 *)
38717 # `set' quotes correctly as required by POSIX, so do not add quotes.
38718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38719 ;;
38720 esac |
38721 sort
38722 ) |
38723 sed '
38724 /^ac_cv_env_/b end
38725 t clear
38726 :clear
38727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38728 t end
38729 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38730 :end' >>confcache
38731 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38732 if test -w "$cache_file"; then
38733 test "x$cache_file" != "x/dev/null" &&
38734 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38735 echo "$as_me: updating cache $cache_file" >&6;}
38736 cat confcache >$cache_file
38737 else
38738 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38739 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38740 fi
38741 fi
38742 rm -f confcache
38743
38744
38745 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38746
38747
38748 THREADS_LINK=
38749 THREADS_CFLAGS=
38750
38751 if test "$wxUSE_THREADS" = "yes" ; then
38752 if test "$USE_BEOS" = 1; then
38753 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38754 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38755 wxUSE_THREADS="no"
38756 fi
38757 fi
38758
38759 if test "$wxUSE_THREADS" = "yes" ; then
38760
38761
38762 THREAD_OPTS="-pthread"
38763 if test "x$SUNCXX" = xyes; then
38764 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38765 fi
38766
38767 case "${host}" in
38768 *-*-solaris2* | *-*-sunos4* )
38769 if test "x$GCC" = "xyes"; then
38770 THREAD_OPTS="-pthreads $THREAD_OPTS"
38771 fi
38772 ;;
38773 *-*-freebsd*)
38774 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38775 ;;
38776 *-*-darwin* | *-*-cygwin* )
38777 THREAD_OPTS=""
38778 ;;
38779 *-*-aix*)
38780 THREAD_OPTS="pthreads"
38781 ;;
38782 *-hp-hpux* )
38783 if test "x$GCC" = "xyes"; then
38784 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38785 THREAD_OPTS=""
38786 else
38787 THREAD_OPTS="-mt"
38788 fi
38789 ;;
38790
38791 *-*-irix* )
38792 if test "x$GCC" = "xyes"; then
38793 THREAD_OPTS=""
38794 fi
38795 ;;
38796
38797 *-*-*UnixWare*)
38798 if test "x$GCC" != "xyes"; then
38799 THREAD_OPTS="-Ethread"
38800 fi
38801 ;;
38802 esac
38803
38804 THREAD_OPTS="$THREAD_OPTS pthread none"
38805
38806 THREADS_OK=no
38807 for flag in $THREAD_OPTS; do
38808 case $flag in
38809 none)
38810 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38811 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38812 ;;
38813
38814 -*)
38815 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38816 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38817 THREADS_CFLAGS="$flag"
38818 ;;
38819
38820 *)
38821 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38822 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38823 THREADS_LINK="-l$flag"
38824 ;;
38825 esac
38826
38827 save_LIBS="$LIBS"
38828 save_CFLAGS="$CFLAGS"
38829 LIBS="$THREADS_LINK $LIBS"
38830 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38831
38832 cat >conftest.$ac_ext <<_ACEOF
38833 /* confdefs.h. */
38834 _ACEOF
38835 cat confdefs.h >>conftest.$ac_ext
38836 cat >>conftest.$ac_ext <<_ACEOF
38837 /* end confdefs.h. */
38838 #include <pthread.h>
38839 int
38840 main ()
38841 {
38842 pthread_create(0,0,0,0);
38843 ;
38844 return 0;
38845 }
38846 _ACEOF
38847 rm -f conftest.$ac_objext conftest$ac_exeext
38848 if { (ac_try="$ac_link"
38849 case "(($ac_try" in
38850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38851 *) ac_try_echo=$ac_try;;
38852 esac
38853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38854 (eval "$ac_link") 2>conftest.er1
38855 ac_status=$?
38856 grep -v '^ *+' conftest.er1 >conftest.err
38857 rm -f conftest.er1
38858 cat conftest.err >&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); } && {
38861 test -z "$ac_c_werror_flag" ||
38862 test ! -s conftest.err
38863 } && test -s conftest$ac_exeext &&
38864 $as_test_x conftest$ac_exeext; then
38865 THREADS_OK=yes
38866 else
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38869
38870
38871 fi
38872
38873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38874 conftest$ac_exeext conftest.$ac_ext
38875
38876 LIBS="$save_LIBS"
38877 CFLAGS="$save_CFLAGS"
38878
38879 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38880 echo "${ECHO_T}$THREADS_OK" >&6; }
38881 if test "x$THREADS_OK" = "xyes"; then
38882 break;
38883 fi
38884
38885 THREADS_LINK=""
38886 THREADS_CFLAGS=""
38887 done
38888
38889 if test "x$THREADS_OK" != "xyes"; then
38890 wxUSE_THREADS=no
38891 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38892 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38893 else
38894 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38895 LIBS="$THREADS_LINK $LIBS"
38896
38897 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38898 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38899 flag=no
38900 case "${host}" in
38901 *-aix*)
38902 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38903 flag="-D_THREAD_SAFE"
38904 ;;
38905 *-freebsd*)
38906 flag="-D_THREAD_SAFE"
38907 ;;
38908 *-hp-hpux* )
38909 flag="-D_REENTRANT"
38910 if test "x$GCC" != "xyes"; then
38911 flag="$flag -D_RWSTD_MULTI_THREAD"
38912 fi
38913 ;;
38914 *solaris* | alpha*-osf*)
38915 flag="-D_REENTRANT"
38916 ;;
38917 esac
38918 { echo "$as_me:$LINENO: result: ${flag}" >&5
38919 echo "${ECHO_T}${flag}" >&6; }
38920 if test "x$flag" != xno; then
38921 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38922 fi
38923
38924 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38925 fi
38926 fi
38927
38928 if test "$wxUSE_THREADS" = "yes" ; then
38929
38930 for ac_func in thr_setconcurrency
38931 do
38932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38936 echo $ECHO_N "(cached) $ECHO_C" >&6
38937 else
38938 cat >conftest.$ac_ext <<_ACEOF
38939 /* confdefs.h. */
38940 _ACEOF
38941 cat confdefs.h >>conftest.$ac_ext
38942 cat >>conftest.$ac_ext <<_ACEOF
38943 /* end confdefs.h. */
38944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38946 #define $ac_func innocuous_$ac_func
38947
38948 /* System header to define __stub macros and hopefully few prototypes,
38949 which can conflict with char $ac_func (); below.
38950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38951 <limits.h> exists even on freestanding compilers. */
38952
38953 #ifdef __STDC__
38954 # include <limits.h>
38955 #else
38956 # include <assert.h>
38957 #endif
38958
38959 #undef $ac_func
38960
38961 /* Override any GCC internal prototype to avoid an error.
38962 Use char because int might match the return type of a GCC
38963 builtin and then its argument prototype would still apply. */
38964 #ifdef __cplusplus
38965 extern "C"
38966 #endif
38967 char $ac_func ();
38968 /* The GNU C library defines this for functions which it implements
38969 to always fail with ENOSYS. Some functions are actually named
38970 something starting with __ and the normal name is an alias. */
38971 #if defined __stub_$ac_func || defined __stub___$ac_func
38972 choke me
38973 #endif
38974
38975 int
38976 main ()
38977 {
38978 return $ac_func ();
38979 ;
38980 return 0;
38981 }
38982 _ACEOF
38983 rm -f conftest.$ac_objext conftest$ac_exeext
38984 if { (ac_try="$ac_link"
38985 case "(($ac_try" in
38986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38987 *) ac_try_echo=$ac_try;;
38988 esac
38989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38990 (eval "$ac_link") 2>conftest.er1
38991 ac_status=$?
38992 grep -v '^ *+' conftest.er1 >conftest.err
38993 rm -f conftest.er1
38994 cat conftest.err >&5
38995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38996 (exit $ac_status); } && {
38997 test -z "$ac_c_werror_flag" ||
38998 test ! -s conftest.err
38999 } && test -s conftest$ac_exeext &&
39000 $as_test_x conftest$ac_exeext; then
39001 eval "$as_ac_var=yes"
39002 else
39003 echo "$as_me: failed program was:" >&5
39004 sed 's/^/| /' conftest.$ac_ext >&5
39005
39006 eval "$as_ac_var=no"
39007 fi
39008
39009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39010 conftest$ac_exeext conftest.$ac_ext
39011 fi
39012 ac_res=`eval echo '${'$as_ac_var'}'`
39013 { echo "$as_me:$LINENO: result: $ac_res" >&5
39014 echo "${ECHO_T}$ac_res" >&6; }
39015 if test `eval echo '${'$as_ac_var'}'` = yes; then
39016 cat >>confdefs.h <<_ACEOF
39017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39018 _ACEOF
39019
39020 fi
39021 done
39022
39023
39024 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39025 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39026 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39027 echo $ECHO_N "(cached) $ECHO_C" >&6
39028 else
39029
39030 ac_ext=cpp
39031 ac_cpp='$CXXCPP $CPPFLAGS'
39032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39035
39036 cat >conftest.$ac_ext <<_ACEOF
39037 /* confdefs.h. */
39038 _ACEOF
39039 cat confdefs.h >>conftest.$ac_ext
39040 cat >>conftest.$ac_ext <<_ACEOF
39041 /* end confdefs.h. */
39042 #include <pthread.h>
39043 void ThreadCleanupFunc(void *p);
39044
39045 int
39046 main ()
39047 {
39048
39049 void *p;
39050 pthread_cleanup_push(ThreadCleanupFunc, p);
39051 pthread_cleanup_pop(0);
39052
39053 ;
39054 return 0;
39055 }
39056 _ACEOF
39057 rm -f conftest.$ac_objext
39058 if { (ac_try="$ac_compile"
39059 case "(($ac_try" in
39060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39061 *) ac_try_echo=$ac_try;;
39062 esac
39063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39064 (eval "$ac_compile") 2>conftest.er1
39065 ac_status=$?
39066 grep -v '^ *+' conftest.er1 >conftest.err
39067 rm -f conftest.er1
39068 cat conftest.err >&5
39069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39070 (exit $ac_status); } && {
39071 test -z "$ac_cxx_werror_flag" ||
39072 test ! -s conftest.err
39073 } && test -s conftest.$ac_objext; then
39074
39075 wx_cv_func_pthread_cleanup=yes
39076
39077 else
39078 echo "$as_me: failed program was:" >&5
39079 sed 's/^/| /' conftest.$ac_ext >&5
39080
39081
39082 wx_cv_func_pthread_cleanup=no
39083
39084
39085 fi
39086
39087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39088 ac_ext=c
39089 ac_cpp='$CPP $CPPFLAGS'
39090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39093
39094
39095 fi
39096 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39097 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39098 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39099 cat >>confdefs.h <<\_ACEOF
39100 #define wxHAVE_PTHREAD_CLEANUP 1
39101 _ACEOF
39102
39103 fi
39104
39105
39106 for ac_header in sched.h
39107 do
39108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39109 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39112 echo $ECHO_N "(cached) $ECHO_C" >&6
39113 else
39114 cat >conftest.$ac_ext <<_ACEOF
39115 /* confdefs.h. */
39116 _ACEOF
39117 cat confdefs.h >>conftest.$ac_ext
39118 cat >>conftest.$ac_ext <<_ACEOF
39119 /* end confdefs.h. */
39120 $ac_includes_default
39121
39122 #include <$ac_header>
39123 _ACEOF
39124 rm -f conftest.$ac_objext
39125 if { (ac_try="$ac_compile"
39126 case "(($ac_try" in
39127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39128 *) ac_try_echo=$ac_try;;
39129 esac
39130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39131 (eval "$ac_compile") 2>conftest.er1
39132 ac_status=$?
39133 grep -v '^ *+' conftest.er1 >conftest.err
39134 rm -f conftest.er1
39135 cat conftest.err >&5
39136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39137 (exit $ac_status); } && {
39138 test -z "$ac_c_werror_flag" ||
39139 test ! -s conftest.err
39140 } && test -s conftest.$ac_objext; then
39141 eval "$as_ac_Header=yes"
39142 else
39143 echo "$as_me: failed program was:" >&5
39144 sed 's/^/| /' conftest.$ac_ext >&5
39145
39146 eval "$as_ac_Header=no"
39147 fi
39148
39149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39150 fi
39151 ac_res=`eval echo '${'$as_ac_Header'}'`
39152 { echo "$as_me:$LINENO: result: $ac_res" >&5
39153 echo "${ECHO_T}$ac_res" >&6; }
39154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39155 cat >>confdefs.h <<_ACEOF
39156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39157 _ACEOF
39158
39159 fi
39160
39161 done
39162
39163 if test "$ac_cv_header_sched_h" = "yes"; then
39164 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39165 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39166 if test "${ac_cv_func_sched_yield+set}" = set; then
39167 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 else
39169 cat >conftest.$ac_ext <<_ACEOF
39170 /* confdefs.h. */
39171 _ACEOF
39172 cat confdefs.h >>conftest.$ac_ext
39173 cat >>conftest.$ac_ext <<_ACEOF
39174 /* end confdefs.h. */
39175 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39177 #define sched_yield innocuous_sched_yield
39178
39179 /* System header to define __stub macros and hopefully few prototypes,
39180 which can conflict with char sched_yield (); below.
39181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39182 <limits.h> exists even on freestanding compilers. */
39183
39184 #ifdef __STDC__
39185 # include <limits.h>
39186 #else
39187 # include <assert.h>
39188 #endif
39189
39190 #undef sched_yield
39191
39192 /* Override any GCC internal prototype to avoid an error.
39193 Use char because int might match the return type of a GCC
39194 builtin and then its argument prototype would still apply. */
39195 #ifdef __cplusplus
39196 extern "C"
39197 #endif
39198 char sched_yield ();
39199 /* The GNU C library defines this for functions which it implements
39200 to always fail with ENOSYS. Some functions are actually named
39201 something starting with __ and the normal name is an alias. */
39202 #if defined __stub_sched_yield || defined __stub___sched_yield
39203 choke me
39204 #endif
39205
39206 int
39207 main ()
39208 {
39209 return sched_yield ();
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 rm -f conftest.$ac_objext conftest$ac_exeext
39215 if { (ac_try="$ac_link"
39216 case "(($ac_try" in
39217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39218 *) ac_try_echo=$ac_try;;
39219 esac
39220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39221 (eval "$ac_link") 2>conftest.er1
39222 ac_status=$?
39223 grep -v '^ *+' conftest.er1 >conftest.err
39224 rm -f conftest.er1
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } && {
39228 test -z "$ac_c_werror_flag" ||
39229 test ! -s conftest.err
39230 } && test -s conftest$ac_exeext &&
39231 $as_test_x conftest$ac_exeext; then
39232 ac_cv_func_sched_yield=yes
39233 else
39234 echo "$as_me: failed program was:" >&5
39235 sed 's/^/| /' conftest.$ac_ext >&5
39236
39237 ac_cv_func_sched_yield=no
39238 fi
39239
39240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39241 conftest$ac_exeext conftest.$ac_ext
39242 fi
39243 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39244 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39245 if test $ac_cv_func_sched_yield = yes; then
39246 cat >>confdefs.h <<\_ACEOF
39247 #define HAVE_SCHED_YIELD 1
39248 _ACEOF
39249
39250 else
39251
39252 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39253 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39254 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39255 echo $ECHO_N "(cached) $ECHO_C" >&6
39256 else
39257 ac_check_lib_save_LIBS=$LIBS
39258 LIBS="-lposix4 $LIBS"
39259 cat >conftest.$ac_ext <<_ACEOF
39260 /* confdefs.h. */
39261 _ACEOF
39262 cat confdefs.h >>conftest.$ac_ext
39263 cat >>conftest.$ac_ext <<_ACEOF
39264 /* end confdefs.h. */
39265
39266 /* Override any GCC internal prototype to avoid an error.
39267 Use char because int might match the return type of a GCC
39268 builtin and then its argument prototype would still apply. */
39269 #ifdef __cplusplus
39270 extern "C"
39271 #endif
39272 char sched_yield ();
39273 int
39274 main ()
39275 {
39276 return sched_yield ();
39277 ;
39278 return 0;
39279 }
39280 _ACEOF
39281 rm -f conftest.$ac_objext conftest$ac_exeext
39282 if { (ac_try="$ac_link"
39283 case "(($ac_try" in
39284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39285 *) ac_try_echo=$ac_try;;
39286 esac
39287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39288 (eval "$ac_link") 2>conftest.er1
39289 ac_status=$?
39290 grep -v '^ *+' conftest.er1 >conftest.err
39291 rm -f conftest.er1
39292 cat conftest.err >&5
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); } && {
39295 test -z "$ac_c_werror_flag" ||
39296 test ! -s conftest.err
39297 } && test -s conftest$ac_exeext &&
39298 $as_test_x conftest$ac_exeext; then
39299 ac_cv_lib_posix4_sched_yield=yes
39300 else
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39303
39304 ac_cv_lib_posix4_sched_yield=no
39305 fi
39306
39307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39308 conftest$ac_exeext conftest.$ac_ext
39309 LIBS=$ac_check_lib_save_LIBS
39310 fi
39311 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39312 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39313 if test $ac_cv_lib_posix4_sched_yield = yes; then
39314 cat >>confdefs.h <<\_ACEOF
39315 #define HAVE_SCHED_YIELD 1
39316 _ACEOF
39317 POSIX4_LINK=" -lposix4"
39318 else
39319 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39320 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39321
39322 fi
39323
39324
39325
39326 fi
39327
39328 fi
39329
39330 HAVE_PRIOR_FUNCS=0
39331 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39332 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39333 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39344 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39345
39346 /* System header to define __stub macros and hopefully few prototypes,
39347 which can conflict with char pthread_attr_getschedpolicy (); below.
39348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39349 <limits.h> exists even on freestanding compilers. */
39350
39351 #ifdef __STDC__
39352 # include <limits.h>
39353 #else
39354 # include <assert.h>
39355 #endif
39356
39357 #undef pthread_attr_getschedpolicy
39358
39359 /* Override any GCC internal prototype to avoid an error.
39360 Use char because int might match the return type of a GCC
39361 builtin and then its argument prototype would still apply. */
39362 #ifdef __cplusplus
39363 extern "C"
39364 #endif
39365 char pthread_attr_getschedpolicy ();
39366 /* The GNU C library defines this for functions which it implements
39367 to always fail with ENOSYS. Some functions are actually named
39368 something starting with __ and the normal name is an alias. */
39369 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39370 choke me
39371 #endif
39372
39373 int
39374 main ()
39375 {
39376 return pthread_attr_getschedpolicy ();
39377 ;
39378 return 0;
39379 }
39380 _ACEOF
39381 rm -f conftest.$ac_objext conftest$ac_exeext
39382 if { (ac_try="$ac_link"
39383 case "(($ac_try" in
39384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39385 *) ac_try_echo=$ac_try;;
39386 esac
39387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39388 (eval "$ac_link") 2>conftest.er1
39389 ac_status=$?
39390 grep -v '^ *+' conftest.er1 >conftest.err
39391 rm -f conftest.er1
39392 cat conftest.err >&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); } && {
39395 test -z "$ac_c_werror_flag" ||
39396 test ! -s conftest.err
39397 } && test -s conftest$ac_exeext &&
39398 $as_test_x conftest$ac_exeext; then
39399 ac_cv_func_pthread_attr_getschedpolicy=yes
39400 else
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.$ac_ext >&5
39403
39404 ac_cv_func_pthread_attr_getschedpolicy=no
39405 fi
39406
39407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39408 conftest$ac_exeext conftest.$ac_ext
39409 fi
39410 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39411 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39412 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39413 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39414 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39415 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39416 echo $ECHO_N "(cached) $ECHO_C" >&6
39417 else
39418 cat >conftest.$ac_ext <<_ACEOF
39419 /* confdefs.h. */
39420 _ACEOF
39421 cat confdefs.h >>conftest.$ac_ext
39422 cat >>conftest.$ac_ext <<_ACEOF
39423 /* end confdefs.h. */
39424 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39426 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39427
39428 /* System header to define __stub macros and hopefully few prototypes,
39429 which can conflict with char pthread_attr_setschedparam (); below.
39430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39431 <limits.h> exists even on freestanding compilers. */
39432
39433 #ifdef __STDC__
39434 # include <limits.h>
39435 #else
39436 # include <assert.h>
39437 #endif
39438
39439 #undef pthread_attr_setschedparam
39440
39441 /* Override any GCC internal prototype to avoid an error.
39442 Use char because int might match the return type of a GCC
39443 builtin and then its argument prototype would still apply. */
39444 #ifdef __cplusplus
39445 extern "C"
39446 #endif
39447 char pthread_attr_setschedparam ();
39448 /* The GNU C library defines this for functions which it implements
39449 to always fail with ENOSYS. Some functions are actually named
39450 something starting with __ and the normal name is an alias. */
39451 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39452 choke me
39453 #endif
39454
39455 int
39456 main ()
39457 {
39458 return pthread_attr_setschedparam ();
39459 ;
39460 return 0;
39461 }
39462 _ACEOF
39463 rm -f conftest.$ac_objext conftest$ac_exeext
39464 if { (ac_try="$ac_link"
39465 case "(($ac_try" in
39466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39467 *) ac_try_echo=$ac_try;;
39468 esac
39469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39470 (eval "$ac_link") 2>conftest.er1
39471 ac_status=$?
39472 grep -v '^ *+' conftest.er1 >conftest.err
39473 rm -f conftest.er1
39474 cat conftest.err >&5
39475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39476 (exit $ac_status); } && {
39477 test -z "$ac_c_werror_flag" ||
39478 test ! -s conftest.err
39479 } && test -s conftest$ac_exeext &&
39480 $as_test_x conftest$ac_exeext; then
39481 ac_cv_func_pthread_attr_setschedparam=yes
39482 else
39483 echo "$as_me: failed program was:" >&5
39484 sed 's/^/| /' conftest.$ac_ext >&5
39485
39486 ac_cv_func_pthread_attr_setschedparam=no
39487 fi
39488
39489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39490 conftest$ac_exeext conftest.$ac_ext
39491 fi
39492 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39493 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39494 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39495 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39496 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39497 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39498 echo $ECHO_N "(cached) $ECHO_C" >&6
39499 else
39500 cat >conftest.$ac_ext <<_ACEOF
39501 /* confdefs.h. */
39502 _ACEOF
39503 cat confdefs.h >>conftest.$ac_ext
39504 cat >>conftest.$ac_ext <<_ACEOF
39505 /* end confdefs.h. */
39506 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39508 #define sched_get_priority_max innocuous_sched_get_priority_max
39509
39510 /* System header to define __stub macros and hopefully few prototypes,
39511 which can conflict with char sched_get_priority_max (); below.
39512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39513 <limits.h> exists even on freestanding compilers. */
39514
39515 #ifdef __STDC__
39516 # include <limits.h>
39517 #else
39518 # include <assert.h>
39519 #endif
39520
39521 #undef sched_get_priority_max
39522
39523 /* Override any GCC internal prototype to avoid an error.
39524 Use char because int might match the return type of a GCC
39525 builtin and then its argument prototype would still apply. */
39526 #ifdef __cplusplus
39527 extern "C"
39528 #endif
39529 char sched_get_priority_max ();
39530 /* The GNU C library defines this for functions which it implements
39531 to always fail with ENOSYS. Some functions are actually named
39532 something starting with __ and the normal name is an alias. */
39533 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39534 choke me
39535 #endif
39536
39537 int
39538 main ()
39539 {
39540 return sched_get_priority_max ();
39541 ;
39542 return 0;
39543 }
39544 _ACEOF
39545 rm -f conftest.$ac_objext conftest$ac_exeext
39546 if { (ac_try="$ac_link"
39547 case "(($ac_try" in
39548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39549 *) ac_try_echo=$ac_try;;
39550 esac
39551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39552 (eval "$ac_link") 2>conftest.er1
39553 ac_status=$?
39554 grep -v '^ *+' conftest.er1 >conftest.err
39555 rm -f conftest.er1
39556 cat conftest.err >&5
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); } && {
39559 test -z "$ac_c_werror_flag" ||
39560 test ! -s conftest.err
39561 } && test -s conftest$ac_exeext &&
39562 $as_test_x conftest$ac_exeext; then
39563 ac_cv_func_sched_get_priority_max=yes
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39567
39568 ac_cv_func_sched_get_priority_max=no
39569 fi
39570
39571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39572 conftest$ac_exeext conftest.$ac_ext
39573 fi
39574 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39575 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39576 if test $ac_cv_func_sched_get_priority_max = yes; then
39577 HAVE_PRIOR_FUNCS=1
39578 else
39579 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39580 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39581 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39582 echo $ECHO_N "(cached) $ECHO_C" >&6
39583 else
39584 ac_check_lib_save_LIBS=$LIBS
39585 LIBS="-lposix4 $LIBS"
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592
39593 /* Override any GCC internal prototype to avoid an error.
39594 Use char because int might match the return type of a GCC
39595 builtin and then its argument prototype would still apply. */
39596 #ifdef __cplusplus
39597 extern "C"
39598 #endif
39599 char sched_get_priority_max ();
39600 int
39601 main ()
39602 {
39603 return sched_get_priority_max ();
39604 ;
39605 return 0;
39606 }
39607 _ACEOF
39608 rm -f conftest.$ac_objext conftest$ac_exeext
39609 if { (ac_try="$ac_link"
39610 case "(($ac_try" in
39611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39612 *) ac_try_echo=$ac_try;;
39613 esac
39614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39615 (eval "$ac_link") 2>conftest.er1
39616 ac_status=$?
39617 grep -v '^ *+' conftest.er1 >conftest.err
39618 rm -f conftest.er1
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } && {
39622 test -z "$ac_c_werror_flag" ||
39623 test ! -s conftest.err
39624 } && test -s conftest$ac_exeext &&
39625 $as_test_x conftest$ac_exeext; then
39626 ac_cv_lib_posix4_sched_get_priority_max=yes
39627 else
39628 echo "$as_me: failed program was:" >&5
39629 sed 's/^/| /' conftest.$ac_ext >&5
39630
39631 ac_cv_lib_posix4_sched_get_priority_max=no
39632 fi
39633
39634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39635 conftest$ac_exeext conftest.$ac_ext
39636 LIBS=$ac_check_lib_save_LIBS
39637 fi
39638 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39639 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39640 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39641
39642 HAVE_PRIOR_FUNCS=1
39643 POSIX4_LINK=" -lposix4"
39644
39645 fi
39646
39647
39648 fi
39649
39650
39651 fi
39652
39653
39654 fi
39655
39656
39657 if test "$HAVE_PRIOR_FUNCS" = 1; then
39658 cat >>confdefs.h <<\_ACEOF
39659 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39660 _ACEOF
39661
39662 else
39663 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39664 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39665 fi
39666
39667 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39668 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39669 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39670 echo $ECHO_N "(cached) $ECHO_C" >&6
39671 else
39672 cat >conftest.$ac_ext <<_ACEOF
39673 /* confdefs.h. */
39674 _ACEOF
39675 cat confdefs.h >>conftest.$ac_ext
39676 cat >>conftest.$ac_ext <<_ACEOF
39677 /* end confdefs.h. */
39678 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39680 #define pthread_cancel innocuous_pthread_cancel
39681
39682 /* System header to define __stub macros and hopefully few prototypes,
39683 which can conflict with char pthread_cancel (); below.
39684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39685 <limits.h> exists even on freestanding compilers. */
39686
39687 #ifdef __STDC__
39688 # include <limits.h>
39689 #else
39690 # include <assert.h>
39691 #endif
39692
39693 #undef pthread_cancel
39694
39695 /* Override any GCC internal prototype to avoid an error.
39696 Use char because int might match the return type of a GCC
39697 builtin and then its argument prototype would still apply. */
39698 #ifdef __cplusplus
39699 extern "C"
39700 #endif
39701 char pthread_cancel ();
39702 /* The GNU C library defines this for functions which it implements
39703 to always fail with ENOSYS. Some functions are actually named
39704 something starting with __ and the normal name is an alias. */
39705 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39706 choke me
39707 #endif
39708
39709 int
39710 main ()
39711 {
39712 return pthread_cancel ();
39713 ;
39714 return 0;
39715 }
39716 _ACEOF
39717 rm -f conftest.$ac_objext conftest$ac_exeext
39718 if { (ac_try="$ac_link"
39719 case "(($ac_try" in
39720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39721 *) ac_try_echo=$ac_try;;
39722 esac
39723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39724 (eval "$ac_link") 2>conftest.er1
39725 ac_status=$?
39726 grep -v '^ *+' conftest.er1 >conftest.err
39727 rm -f conftest.er1
39728 cat conftest.err >&5
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); } && {
39731 test -z "$ac_c_werror_flag" ||
39732 test ! -s conftest.err
39733 } && test -s conftest$ac_exeext &&
39734 $as_test_x conftest$ac_exeext; then
39735 ac_cv_func_pthread_cancel=yes
39736 else
39737 echo "$as_me: failed program was:" >&5
39738 sed 's/^/| /' conftest.$ac_ext >&5
39739
39740 ac_cv_func_pthread_cancel=no
39741 fi
39742
39743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39744 conftest$ac_exeext conftest.$ac_ext
39745 fi
39746 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39747 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39748 if test $ac_cv_func_pthread_cancel = yes; then
39749 cat >>confdefs.h <<\_ACEOF
39750 #define HAVE_PTHREAD_CANCEL 1
39751 _ACEOF
39752
39753 else
39754 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39755 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39756 fi
39757
39758
39759 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39760 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39761 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39762 echo $ECHO_N "(cached) $ECHO_C" >&6
39763 else
39764 cat >conftest.$ac_ext <<_ACEOF
39765 /* confdefs.h. */
39766 _ACEOF
39767 cat confdefs.h >>conftest.$ac_ext
39768 cat >>conftest.$ac_ext <<_ACEOF
39769 /* end confdefs.h. */
39770 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39772 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39773
39774 /* System header to define __stub macros and hopefully few prototypes,
39775 which can conflict with char pthread_mutex_timedlock (); below.
39776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39777 <limits.h> exists even on freestanding compilers. */
39778
39779 #ifdef __STDC__
39780 # include <limits.h>
39781 #else
39782 # include <assert.h>
39783 #endif
39784
39785 #undef pthread_mutex_timedlock
39786
39787 /* Override any GCC internal prototype to avoid an error.
39788 Use char because int might match the return type of a GCC
39789 builtin and then its argument prototype would still apply. */
39790 #ifdef __cplusplus
39791 extern "C"
39792 #endif
39793 char pthread_mutex_timedlock ();
39794 /* The GNU C library defines this for functions which it implements
39795 to always fail with ENOSYS. Some functions are actually named
39796 something starting with __ and the normal name is an alias. */
39797 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39798 choke me
39799 #endif
39800
39801 int
39802 main ()
39803 {
39804 return pthread_mutex_timedlock ();
39805 ;
39806 return 0;
39807 }
39808 _ACEOF
39809 rm -f conftest.$ac_objext conftest$ac_exeext
39810 if { (ac_try="$ac_link"
39811 case "(($ac_try" in
39812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39813 *) ac_try_echo=$ac_try;;
39814 esac
39815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39816 (eval "$ac_link") 2>conftest.er1
39817 ac_status=$?
39818 grep -v '^ *+' conftest.er1 >conftest.err
39819 rm -f conftest.er1
39820 cat conftest.err >&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); } && {
39823 test -z "$ac_c_werror_flag" ||
39824 test ! -s conftest.err
39825 } && test -s conftest$ac_exeext &&
39826 $as_test_x conftest$ac_exeext; then
39827 ac_cv_func_pthread_mutex_timedlock=yes
39828 else
39829 echo "$as_me: failed program was:" >&5
39830 sed 's/^/| /' conftest.$ac_ext >&5
39831
39832 ac_cv_func_pthread_mutex_timedlock=no
39833 fi
39834
39835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39836 conftest$ac_exeext conftest.$ac_ext
39837 fi
39838 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39839 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39840 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39841 cat >>confdefs.h <<\_ACEOF
39842 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39843 _ACEOF
39844
39845 else
39846 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39847 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39848 fi
39849
39850
39851 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39852 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39853 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39854 echo $ECHO_N "(cached) $ECHO_C" >&6
39855 else
39856 cat >conftest.$ac_ext <<_ACEOF
39857 /* confdefs.h. */
39858 _ACEOF
39859 cat confdefs.h >>conftest.$ac_ext
39860 cat >>conftest.$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39862 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39864 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39865
39866 /* System header to define __stub macros and hopefully few prototypes,
39867 which can conflict with char pthread_attr_setstacksize (); below.
39868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39869 <limits.h> exists even on freestanding compilers. */
39870
39871 #ifdef __STDC__
39872 # include <limits.h>
39873 #else
39874 # include <assert.h>
39875 #endif
39876
39877 #undef pthread_attr_setstacksize
39878
39879 /* Override any GCC internal prototype to avoid an error.
39880 Use char because int might match the return type of a GCC
39881 builtin and then its argument prototype would still apply. */
39882 #ifdef __cplusplus
39883 extern "C"
39884 #endif
39885 char pthread_attr_setstacksize ();
39886 /* The GNU C library defines this for functions which it implements
39887 to always fail with ENOSYS. Some functions are actually named
39888 something starting with __ and the normal name is an alias. */
39889 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39890 choke me
39891 #endif
39892
39893 int
39894 main ()
39895 {
39896 return pthread_attr_setstacksize ();
39897 ;
39898 return 0;
39899 }
39900 _ACEOF
39901 rm -f conftest.$ac_objext conftest$ac_exeext
39902 if { (ac_try="$ac_link"
39903 case "(($ac_try" in
39904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39905 *) ac_try_echo=$ac_try;;
39906 esac
39907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39908 (eval "$ac_link") 2>conftest.er1
39909 ac_status=$?
39910 grep -v '^ *+' conftest.er1 >conftest.err
39911 rm -f conftest.er1
39912 cat conftest.err >&5
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); } && {
39915 test -z "$ac_c_werror_flag" ||
39916 test ! -s conftest.err
39917 } && test -s conftest$ac_exeext &&
39918 $as_test_x conftest$ac_exeext; then
39919 ac_cv_func_pthread_attr_setstacksize=yes
39920 else
39921 echo "$as_me: failed program was:" >&5
39922 sed 's/^/| /' conftest.$ac_ext >&5
39923
39924 ac_cv_func_pthread_attr_setstacksize=no
39925 fi
39926
39927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39928 conftest$ac_exeext conftest.$ac_ext
39929 fi
39930 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39931 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39932 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39933 cat >>confdefs.h <<\_ACEOF
39934 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39935 _ACEOF
39936
39937 fi
39938
39939
39940
39941 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39942 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39943 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39944 echo $ECHO_N "(cached) $ECHO_C" >&6
39945 else
39946
39947 cat >conftest.$ac_ext <<_ACEOF
39948 /* confdefs.h. */
39949 _ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h. */
39953 #include <pthread.h>
39954 int
39955 main ()
39956 {
39957
39958 pthread_mutexattr_t attr;
39959 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39960
39961 ;
39962 return 0;
39963 }
39964 _ACEOF
39965 rm -f conftest.$ac_objext
39966 if { (ac_try="$ac_compile"
39967 case "(($ac_try" in
39968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39969 *) ac_try_echo=$ac_try;;
39970 esac
39971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39972 (eval "$ac_compile") 2>conftest.er1
39973 ac_status=$?
39974 grep -v '^ *+' conftest.er1 >conftest.err
39975 rm -f conftest.er1
39976 cat conftest.err >&5
39977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39978 (exit $ac_status); } && {
39979 test -z "$ac_c_werror_flag" ||
39980 test ! -s conftest.err
39981 } && test -s conftest.$ac_objext; then
39982 wx_cv_type_pthread_mutexattr_t=yes
39983 else
39984 echo "$as_me: failed program was:" >&5
39985 sed 's/^/| /' conftest.$ac_ext >&5
39986
39987 wx_cv_type_pthread_mutexattr_t=no
39988
39989 fi
39990
39991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39992
39993 fi
39994 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39995 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39996
39997 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39998 cat >>confdefs.h <<\_ACEOF
39999 #define HAVE_PTHREAD_MUTEXATTR_T 1
40000 _ACEOF
40001
40002
40003 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40004 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40005 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40006 echo $ECHO_N "(cached) $ECHO_C" >&6
40007 else
40008
40009 cat >conftest.$ac_ext <<_ACEOF
40010 /* confdefs.h. */
40011 _ACEOF
40012 cat confdefs.h >>conftest.$ac_ext
40013 cat >>conftest.$ac_ext <<_ACEOF
40014 /* end confdefs.h. */
40015 #include <pthread.h>
40016 int
40017 main ()
40018 {
40019
40020 pthread_mutexattr_t attr;
40021 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40022
40023 ;
40024 return 0;
40025 }
40026 _ACEOF
40027 rm -f conftest.$ac_objext
40028 if { (ac_try="$ac_compile"
40029 case "(($ac_try" in
40030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40031 *) ac_try_echo=$ac_try;;
40032 esac
40033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40034 (eval "$ac_compile") 2>conftest.er1
40035 ac_status=$?
40036 grep -v '^ *+' conftest.er1 >conftest.err
40037 rm -f conftest.er1
40038 cat conftest.err >&5
40039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40040 (exit $ac_status); } && {
40041 test -z "$ac_c_werror_flag" ||
40042 test ! -s conftest.err
40043 } && test -s conftest.$ac_objext; then
40044 wx_cv_func_pthread_mutexattr_settype_decl=yes
40045 else
40046 echo "$as_me: failed program was:" >&5
40047 sed 's/^/| /' conftest.$ac_ext >&5
40048
40049 wx_cv_func_pthread_mutexattr_settype_decl=no
40050
40051 fi
40052
40053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40054
40055 fi
40056 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40057 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40058 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40059 cat >>confdefs.h <<\_ACEOF
40060 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40061 _ACEOF
40062
40063 fi
40064 else
40065 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40066 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40067 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40068 echo $ECHO_N "(cached) $ECHO_C" >&6
40069 else
40070
40071 cat >conftest.$ac_ext <<_ACEOF
40072 /* confdefs.h. */
40073 _ACEOF
40074 cat confdefs.h >>conftest.$ac_ext
40075 cat >>conftest.$ac_ext <<_ACEOF
40076 /* end confdefs.h. */
40077 #include <pthread.h>
40078 int
40079 main ()
40080 {
40081
40082 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40083
40084 ;
40085 return 0;
40086 }
40087 _ACEOF
40088 rm -f conftest.$ac_objext
40089 if { (ac_try="$ac_compile"
40090 case "(($ac_try" in
40091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40092 *) ac_try_echo=$ac_try;;
40093 esac
40094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40095 (eval "$ac_compile") 2>conftest.er1
40096 ac_status=$?
40097 grep -v '^ *+' conftest.er1 >conftest.err
40098 rm -f conftest.er1
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } && {
40102 test -z "$ac_c_werror_flag" ||
40103 test ! -s conftest.err
40104 } && test -s conftest.$ac_objext; then
40105
40106 wx_cv_type_pthread_rec_mutex_init=yes
40107
40108 else
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40111
40112
40113 wx_cv_type_pthread_rec_mutex_init=no
40114
40115
40116 fi
40117
40118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40119
40120 fi
40121 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40122 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40123 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40124 cat >>confdefs.h <<\_ACEOF
40125 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40126 _ACEOF
40127
40128 else
40129 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40130 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40131 fi
40132 fi
40133 fi
40134
40135 else
40136 if test "$wxUSE_THREADS" = "yes" ; then
40137 case "${host}" in
40138 x86_64-*-mingw32* )
40139 ;;
40140 *-*-mingw32* )
40141 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40142 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40143 if test "${wx_cv_cflags_mthread+set}" = set; then
40144 echo $ECHO_N "(cached) $ECHO_C" >&6
40145 else
40146
40147 CFLAGS_OLD="$CFLAGS"
40148 CFLAGS="-mthreads $CFLAGS"
40149 cat >conftest.$ac_ext <<_ACEOF
40150 /* confdefs.h. */
40151 _ACEOF
40152 cat confdefs.h >>conftest.$ac_ext
40153 cat >>conftest.$ac_ext <<_ACEOF
40154 /* end confdefs.h. */
40155
40156 int
40157 main ()
40158 {
40159
40160 ;
40161 return 0;
40162 }
40163 _ACEOF
40164 rm -f conftest.$ac_objext
40165 if { (ac_try="$ac_compile"
40166 case "(($ac_try" in
40167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40168 *) ac_try_echo=$ac_try;;
40169 esac
40170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40171 (eval "$ac_compile") 2>conftest.er1
40172 ac_status=$?
40173 grep -v '^ *+' conftest.er1 >conftest.err
40174 rm -f conftest.er1
40175 cat conftest.err >&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } && {
40178 test -z "$ac_c_werror_flag" ||
40179 test ! -s conftest.err
40180 } && test -s conftest.$ac_objext; then
40181 wx_cv_cflags_mthread=yes
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40185
40186 wx_cv_cflags_mthread=no
40187
40188 fi
40189
40190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40191
40192
40193 fi
40194 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40195 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40196
40197 if test "$wx_cv_cflags_mthread" = "yes"; then
40198 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40199 LDFLAGS="$LDFLAGS -mthreads"
40200 else
40201 CFLAGS="$CFLAGS_OLD"
40202 fi
40203 ;;
40204 *-pc-os2*emx )
40205 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40206 LDFLAGS="$LDFLAGS -Zmt"
40207 ;;
40208 esac
40209 fi
40210 fi
40211
40212 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40213 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40214 if test "${ac_cv_func_localtime_r+set}" = set; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 else
40217 cat >conftest.$ac_ext <<_ACEOF
40218 /* confdefs.h. */
40219 _ACEOF
40220 cat confdefs.h >>conftest.$ac_ext
40221 cat >>conftest.$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40225 #define localtime_r innocuous_localtime_r
40226
40227 /* System header to define __stub macros and hopefully few prototypes,
40228 which can conflict with char localtime_r (); below.
40229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40230 <limits.h> exists even on freestanding compilers. */
40231
40232 #ifdef __STDC__
40233 # include <limits.h>
40234 #else
40235 # include <assert.h>
40236 #endif
40237
40238 #undef localtime_r
40239
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40243 #ifdef __cplusplus
40244 extern "C"
40245 #endif
40246 char localtime_r ();
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined __stub_localtime_r || defined __stub___localtime_r
40251 choke me
40252 #endif
40253
40254 int
40255 main ()
40256 {
40257 return localtime_r ();
40258 ;
40259 return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext conftest$ac_exeext
40263 if { (ac_try="$ac_link"
40264 case "(($ac_try" in
40265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40266 *) ac_try_echo=$ac_try;;
40267 esac
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_link") 2>conftest.er1
40270 ac_status=$?
40271 grep -v '^ *+' conftest.er1 >conftest.err
40272 rm -f conftest.er1
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest$ac_exeext &&
40279 $as_test_x conftest$ac_exeext; then
40280 ac_cv_func_localtime_r=yes
40281 else
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.$ac_ext >&5
40284
40285 ac_cv_func_localtime_r=no
40286 fi
40287
40288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40289 conftest$ac_exeext conftest.$ac_ext
40290 fi
40291 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40292 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40293 if test $ac_cv_func_localtime_r = yes; then
40294 cat >>confdefs.h <<\_ACEOF
40295 #define HAVE_LOCALTIME_R 1
40296 _ACEOF
40297
40298 fi
40299
40300 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40301 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40302 if test "${ac_cv_func_gmtime_r+set}" = set; then
40303 echo $ECHO_N "(cached) $ECHO_C" >&6
40304 else
40305 cat >conftest.$ac_ext <<_ACEOF
40306 /* confdefs.h. */
40307 _ACEOF
40308 cat confdefs.h >>conftest.$ac_ext
40309 cat >>conftest.$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40311 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40313 #define gmtime_r innocuous_gmtime_r
40314
40315 /* System header to define __stub macros and hopefully few prototypes,
40316 which can conflict with char gmtime_r (); below.
40317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40318 <limits.h> exists even on freestanding compilers. */
40319
40320 #ifdef __STDC__
40321 # include <limits.h>
40322 #else
40323 # include <assert.h>
40324 #endif
40325
40326 #undef gmtime_r
40327
40328 /* Override any GCC internal prototype to avoid an error.
40329 Use char because int might match the return type of a GCC
40330 builtin and then its argument prototype would still apply. */
40331 #ifdef __cplusplus
40332 extern "C"
40333 #endif
40334 char gmtime_r ();
40335 /* The GNU C library defines this for functions which it implements
40336 to always fail with ENOSYS. Some functions are actually named
40337 something starting with __ and the normal name is an alias. */
40338 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40339 choke me
40340 #endif
40341
40342 int
40343 main ()
40344 {
40345 return gmtime_r ();
40346 ;
40347 return 0;
40348 }
40349 _ACEOF
40350 rm -f conftest.$ac_objext conftest$ac_exeext
40351 if { (ac_try="$ac_link"
40352 case "(($ac_try" in
40353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40354 *) ac_try_echo=$ac_try;;
40355 esac
40356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40357 (eval "$ac_link") 2>conftest.er1
40358 ac_status=$?
40359 grep -v '^ *+' conftest.er1 >conftest.err
40360 rm -f conftest.er1
40361 cat conftest.err >&5
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); } && {
40364 test -z "$ac_c_werror_flag" ||
40365 test ! -s conftest.err
40366 } && test -s conftest$ac_exeext &&
40367 $as_test_x conftest$ac_exeext; then
40368 ac_cv_func_gmtime_r=yes
40369 else
40370 echo "$as_me: failed program was:" >&5
40371 sed 's/^/| /' conftest.$ac_ext >&5
40372
40373 ac_cv_func_gmtime_r=no
40374 fi
40375
40376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40377 conftest$ac_exeext conftest.$ac_ext
40378 fi
40379 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40380 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40381 if test $ac_cv_func_gmtime_r = yes; then
40382 cat >>confdefs.h <<\_ACEOF
40383 #define HAVE_GMTIME_R 1
40384 _ACEOF
40385
40386 fi
40387
40388
40389
40390
40391 ac_ext=c
40392 ac_cpp='$CPP $CPPFLAGS'
40393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40396
40397 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40398 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40399
40400 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40401 echo $ECHO_N "(cached) $ECHO_C" >&6
40402 else
40403
40404
40405 ################################################################
40406
40407 ac_cv_func_which_gethostbyname_r=unknown
40408
40409 #
40410 # ONE ARGUMENT (sanity check)
40411 #
40412
40413 # This should fail, as there is no variant of gethostbyname_r() that takes
40414 # a single argument. If it actually compiles, then we can assume that
40415 # netdb.h is not declaring the function, and the compiler is thereby
40416 # assuming an implicit prototype. In which case, we're out of luck.
40417 #
40418 cat >conftest.$ac_ext <<_ACEOF
40419 /* confdefs.h. */
40420 _ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40424 #include <netdb.h>
40425 int
40426 main ()
40427 {
40428
40429 char *name = "www.gnu.org";
40430 (void)gethostbyname_r(name) /* ; */
40431
40432 ;
40433 return 0;
40434 }
40435 _ACEOF
40436 rm -f conftest.$ac_objext
40437 if { (ac_try="$ac_compile"
40438 case "(($ac_try" in
40439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40440 *) ac_try_echo=$ac_try;;
40441 esac
40442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40443 (eval "$ac_compile") 2>conftest.er1
40444 ac_status=$?
40445 grep -v '^ *+' conftest.er1 >conftest.err
40446 rm -f conftest.er1
40447 cat conftest.err >&5
40448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40449 (exit $ac_status); } && {
40450 test -z "$ac_c_werror_flag" ||
40451 test ! -s conftest.err
40452 } && test -s conftest.$ac_objext; then
40453 ac_cv_func_which_gethostbyname_r=no
40454 else
40455 echo "$as_me: failed program was:" >&5
40456 sed 's/^/| /' conftest.$ac_ext >&5
40457
40458
40459 fi
40460
40461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40462
40463 #
40464 # SIX ARGUMENTS
40465 # (e.g. Linux)
40466 #
40467
40468 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40469
40470 cat >conftest.$ac_ext <<_ACEOF
40471 /* confdefs.h. */
40472 _ACEOF
40473 cat confdefs.h >>conftest.$ac_ext
40474 cat >>conftest.$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40476 #include <netdb.h>
40477 int
40478 main ()
40479 {
40480
40481 char *name = "www.gnu.org";
40482 struct hostent ret, *retp;
40483 char buf[1024];
40484 int buflen = 1024;
40485 int my_h_errno;
40486 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40487
40488 ;
40489 return 0;
40490 }
40491 _ACEOF
40492 rm -f conftest.$ac_objext
40493 if { (ac_try="$ac_compile"
40494 case "(($ac_try" in
40495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40496 *) ac_try_echo=$ac_try;;
40497 esac
40498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40499 (eval "$ac_compile") 2>conftest.er1
40500 ac_status=$?
40501 grep -v '^ *+' conftest.er1 >conftest.err
40502 rm -f conftest.er1
40503 cat conftest.err >&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } && {
40506 test -z "$ac_c_werror_flag" ||
40507 test ! -s conftest.err
40508 } && test -s conftest.$ac_objext; then
40509 ac_cv_func_which_gethostbyname_r=six
40510 else
40511 echo "$as_me: failed program was:" >&5
40512 sed 's/^/| /' conftest.$ac_ext >&5
40513
40514
40515 fi
40516
40517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40518
40519 fi
40520
40521 #
40522 # FIVE ARGUMENTS
40523 # (e.g. Solaris)
40524 #
40525
40526 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40527
40528 cat >conftest.$ac_ext <<_ACEOF
40529 /* confdefs.h. */
40530 _ACEOF
40531 cat confdefs.h >>conftest.$ac_ext
40532 cat >>conftest.$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40534 #include <netdb.h>
40535 int
40536 main ()
40537 {
40538
40539 char *name = "www.gnu.org";
40540 struct hostent ret;
40541 char buf[1024];
40542 int buflen = 1024;
40543 int my_h_errno;
40544 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40545
40546 ;
40547 return 0;
40548 }
40549 _ACEOF
40550 rm -f conftest.$ac_objext
40551 if { (ac_try="$ac_compile"
40552 case "(($ac_try" in
40553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40554 *) ac_try_echo=$ac_try;;
40555 esac
40556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40557 (eval "$ac_compile") 2>conftest.er1
40558 ac_status=$?
40559 grep -v '^ *+' conftest.er1 >conftest.err
40560 rm -f conftest.er1
40561 cat conftest.err >&5
40562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40563 (exit $ac_status); } && {
40564 test -z "$ac_c_werror_flag" ||
40565 test ! -s conftest.err
40566 } && test -s conftest.$ac_objext; then
40567 ac_cv_func_which_gethostbyname_r=five
40568 else
40569 echo "$as_me: failed program was:" >&5
40570 sed 's/^/| /' conftest.$ac_ext >&5
40571
40572
40573 fi
40574
40575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40576
40577 fi
40578
40579 #
40580 # THREE ARGUMENTS
40581 # (e.g. AIX, HP-UX, Tru64)
40582 #
40583
40584 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40585
40586 cat >conftest.$ac_ext <<_ACEOF
40587 /* confdefs.h. */
40588 _ACEOF
40589 cat confdefs.h >>conftest.$ac_ext
40590 cat >>conftest.$ac_ext <<_ACEOF
40591 /* end confdefs.h. */
40592 #include <netdb.h>
40593 int
40594 main ()
40595 {
40596
40597 char *name = "www.gnu.org";
40598 struct hostent ret;
40599 struct hostent_data data;
40600 (void)gethostbyname_r(name, &ret, &data) /* ; */
40601
40602 ;
40603 return 0;
40604 }
40605 _ACEOF
40606 rm -f conftest.$ac_objext
40607 if { (ac_try="$ac_compile"
40608 case "(($ac_try" in
40609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40610 *) ac_try_echo=$ac_try;;
40611 esac
40612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40613 (eval "$ac_compile") 2>conftest.er1
40614 ac_status=$?
40615 grep -v '^ *+' conftest.er1 >conftest.err
40616 rm -f conftest.er1
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } && {
40620 test -z "$ac_c_werror_flag" ||
40621 test ! -s conftest.err
40622 } && test -s conftest.$ac_objext; then
40623 ac_cv_func_which_gethostbyname_r=three
40624 else
40625 echo "$as_me: failed program was:" >&5
40626 sed 's/^/| /' conftest.$ac_ext >&5
40627
40628
40629 fi
40630
40631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40632
40633 fi
40634
40635 ################################################################
40636
40637
40638 fi
40639
40640 case "$ac_cv_func_which_gethostbyname_r" in
40641 three)
40642 { echo "$as_me:$LINENO: result: three" >&5
40643 echo "${ECHO_T}three" >&6; }
40644 cat >>confdefs.h <<\_ACEOF
40645 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40646 _ACEOF
40647
40648 ;;
40649
40650 five)
40651 { echo "$as_me:$LINENO: result: five" >&5
40652 echo "${ECHO_T}five" >&6; }
40653 cat >>confdefs.h <<\_ACEOF
40654 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40655 _ACEOF
40656
40657 ;;
40658
40659 six)
40660 { echo "$as_me:$LINENO: result: six" >&5
40661 echo "${ECHO_T}six" >&6; }
40662 cat >>confdefs.h <<\_ACEOF
40663 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40664 _ACEOF
40665
40666 ;;
40667
40668 no)
40669 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40670 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40671 ;;
40672
40673 unknown)
40674 { echo "$as_me:$LINENO: result: can't tell" >&5
40675 echo "${ECHO_T}can't tell" >&6; }
40676 ;;
40677
40678 *)
40679 { { echo "$as_me:$LINENO: error: internal error" >&5
40680 echo "$as_me: error: internal error" >&2;}
40681 { (exit 1); exit 1; }; }
40682 ;;
40683 esac
40684
40685 ac_ext=c
40686 ac_cpp='$CPP $CPPFLAGS'
40687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40690
40691
40692
40693 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40694 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40695 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40696 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40697 if test "${ac_cv_func_gethostbyname+set}" = set; then
40698 echo $ECHO_N "(cached) $ECHO_C" >&6
40699 else
40700 cat >conftest.$ac_ext <<_ACEOF
40701 /* confdefs.h. */
40702 _ACEOF
40703 cat confdefs.h >>conftest.$ac_ext
40704 cat >>conftest.$ac_ext <<_ACEOF
40705 /* end confdefs.h. */
40706 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40708 #define gethostbyname innocuous_gethostbyname
40709
40710 /* System header to define __stub macros and hopefully few prototypes,
40711 which can conflict with char gethostbyname (); below.
40712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40713 <limits.h> exists even on freestanding compilers. */
40714
40715 #ifdef __STDC__
40716 # include <limits.h>
40717 #else
40718 # include <assert.h>
40719 #endif
40720
40721 #undef gethostbyname
40722
40723 /* Override any GCC internal prototype to avoid an error.
40724 Use char because int might match the return type of a GCC
40725 builtin and then its argument prototype would still apply. */
40726 #ifdef __cplusplus
40727 extern "C"
40728 #endif
40729 char gethostbyname ();
40730 /* The GNU C library defines this for functions which it implements
40731 to always fail with ENOSYS. Some functions are actually named
40732 something starting with __ and the normal name is an alias. */
40733 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40734 choke me
40735 #endif
40736
40737 int
40738 main ()
40739 {
40740 return gethostbyname ();
40741 ;
40742 return 0;
40743 }
40744 _ACEOF
40745 rm -f conftest.$ac_objext conftest$ac_exeext
40746 if { (ac_try="$ac_link"
40747 case "(($ac_try" in
40748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40749 *) ac_try_echo=$ac_try;;
40750 esac
40751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40752 (eval "$ac_link") 2>conftest.er1
40753 ac_status=$?
40754 grep -v '^ *+' conftest.er1 >conftest.err
40755 rm -f conftest.er1
40756 cat conftest.err >&5
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); } && {
40759 test -z "$ac_c_werror_flag" ||
40760 test ! -s conftest.err
40761 } && test -s conftest$ac_exeext &&
40762 $as_test_x conftest$ac_exeext; then
40763 ac_cv_func_gethostbyname=yes
40764 else
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.$ac_ext >&5
40767
40768 ac_cv_func_gethostbyname=no
40769 fi
40770
40771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40772 conftest$ac_exeext conftest.$ac_ext
40773 fi
40774 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40775 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40776 if test $ac_cv_func_gethostbyname = yes; then
40777 cat >>confdefs.h <<\_ACEOF
40778 #define HAVE_GETHOSTBYNAME 1
40779 _ACEOF
40780
40781 fi
40782
40783 fi
40784
40785 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40786 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40787 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40788 echo $ECHO_N "(cached) $ECHO_C" >&6
40789 else
40790
40791 ac_ext=cpp
40792 ac_cpp='$CXXCPP $CPPFLAGS'
40793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40796
40797
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 #include <netdb.h>
40805 int
40806 main ()
40807 {
40808
40809 char *name;
40810 char *proto;
40811 struct servent *se, *res;
40812 char buffer[2048];
40813 int buflen = 2048;
40814 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40815
40816 ;
40817 return 0;
40818 }
40819 _ACEOF
40820 rm -f conftest.$ac_objext
40821 if { (ac_try="$ac_compile"
40822 case "(($ac_try" in
40823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40824 *) ac_try_echo=$ac_try;;
40825 esac
40826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40827 (eval "$ac_compile") 2>conftest.er1
40828 ac_status=$?
40829 grep -v '^ *+' conftest.er1 >conftest.err
40830 rm -f conftest.er1
40831 cat conftest.err >&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); } && {
40834 test -z "$ac_cxx_werror_flag" ||
40835 test ! -s conftest.err
40836 } && test -s conftest.$ac_objext; then
40837 ac_cv_func_which_getservbyname_r=six
40838 else
40839 echo "$as_me: failed program was:" >&5
40840 sed 's/^/| /' conftest.$ac_ext >&5
40841
40842
40843 cat >conftest.$ac_ext <<_ACEOF
40844 /* confdefs.h. */
40845 _ACEOF
40846 cat confdefs.h >>conftest.$ac_ext
40847 cat >>conftest.$ac_ext <<_ACEOF
40848 /* end confdefs.h. */
40849 #include <netdb.h>
40850 int
40851 main ()
40852 {
40853
40854 char *name;
40855 char *proto;
40856 struct servent *se;
40857 char buffer[2048];
40858 int buflen = 2048;
40859 (void) getservbyname_r(name, proto, se, buffer, buflen)
40860
40861 ;
40862 return 0;
40863 }
40864 _ACEOF
40865 rm -f conftest.$ac_objext
40866 if { (ac_try="$ac_compile"
40867 case "(($ac_try" in
40868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40869 *) ac_try_echo=$ac_try;;
40870 esac
40871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40872 (eval "$ac_compile") 2>conftest.er1
40873 ac_status=$?
40874 grep -v '^ *+' conftest.er1 >conftest.err
40875 rm -f conftest.er1
40876 cat conftest.err >&5
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); } && {
40879 test -z "$ac_cxx_werror_flag" ||
40880 test ! -s conftest.err
40881 } && test -s conftest.$ac_objext; then
40882 ac_cv_func_which_getservbyname_r=five
40883 else
40884 echo "$as_me: failed program was:" >&5
40885 sed 's/^/| /' conftest.$ac_ext >&5
40886
40887
40888 cat >conftest.$ac_ext <<_ACEOF
40889 /* confdefs.h. */
40890 _ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h. */
40894 #include <netdb.h>
40895 int
40896 main ()
40897 {
40898
40899 char *name;
40900 char *proto;
40901 struct servent *se;
40902 struct servent_data data;
40903 (void) getservbyname_r(name, proto, se, &data);
40904
40905 ;
40906 return 0;
40907 }
40908 _ACEOF
40909 rm -f conftest.$ac_objext
40910 if { (ac_try="$ac_compile"
40911 case "(($ac_try" in
40912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40913 *) ac_try_echo=$ac_try;;
40914 esac
40915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40916 (eval "$ac_compile") 2>conftest.er1
40917 ac_status=$?
40918 grep -v '^ *+' conftest.er1 >conftest.err
40919 rm -f conftest.er1
40920 cat conftest.err >&5
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); } && {
40923 test -z "$ac_cxx_werror_flag" ||
40924 test ! -s conftest.err
40925 } && test -s conftest.$ac_objext; then
40926 ac_cv_func_which_getservbyname_r=four
40927 else
40928 echo "$as_me: failed program was:" >&5
40929 sed 's/^/| /' conftest.$ac_ext >&5
40930
40931 ac_cv_func_which_getservbyname_r=no
40932
40933 fi
40934
40935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40936
40937
40938 fi
40939
40940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40941
40942
40943 fi
40944
40945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40946 ac_ext=c
40947 ac_cpp='$CPP $CPPFLAGS'
40948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40951
40952
40953
40954 fi
40955 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40956 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40957
40958 if test $ac_cv_func_which_getservbyname_r = six; then
40959 cat >>confdefs.h <<\_ACEOF
40960 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40961 _ACEOF
40962
40963 elif test $ac_cv_func_which_getservbyname_r = five; then
40964 cat >>confdefs.h <<\_ACEOF
40965 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40966 _ACEOF
40967
40968 elif test $ac_cv_func_which_getservbyname_r = four; then
40969 cat >>confdefs.h <<\_ACEOF
40970 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40971 _ACEOF
40972
40973 fi
40974
40975
40976 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40977 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40978
40979 for ac_func in getservbyname
40980 do
40981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40985 echo $ECHO_N "(cached) $ECHO_C" >&6
40986 else
40987 cat >conftest.$ac_ext <<_ACEOF
40988 /* confdefs.h. */
40989 _ACEOF
40990 cat confdefs.h >>conftest.$ac_ext
40991 cat >>conftest.$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
40993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40995 #define $ac_func innocuous_$ac_func
40996
40997 /* System header to define __stub macros and hopefully few prototypes,
40998 which can conflict with char $ac_func (); below.
40999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41000 <limits.h> exists even on freestanding compilers. */
41001
41002 #ifdef __STDC__
41003 # include <limits.h>
41004 #else
41005 # include <assert.h>
41006 #endif
41007
41008 #undef $ac_func
41009
41010 /* Override any GCC internal prototype to avoid an error.
41011 Use char because int might match the return type of a GCC
41012 builtin and then its argument prototype would still apply. */
41013 #ifdef __cplusplus
41014 extern "C"
41015 #endif
41016 char $ac_func ();
41017 /* The GNU C library defines this for functions which it implements
41018 to always fail with ENOSYS. Some functions are actually named
41019 something starting with __ and the normal name is an alias. */
41020 #if defined __stub_$ac_func || defined __stub___$ac_func
41021 choke me
41022 #endif
41023
41024 int
41025 main ()
41026 {
41027 return $ac_func ();
41028 ;
41029 return 0;
41030 }
41031 _ACEOF
41032 rm -f conftest.$ac_objext conftest$ac_exeext
41033 if { (ac_try="$ac_link"
41034 case "(($ac_try" in
41035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41036 *) ac_try_echo=$ac_try;;
41037 esac
41038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41039 (eval "$ac_link") 2>conftest.er1
41040 ac_status=$?
41041 grep -v '^ *+' conftest.er1 >conftest.err
41042 rm -f conftest.er1
41043 cat conftest.err >&5
41044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045 (exit $ac_status); } && {
41046 test -z "$ac_c_werror_flag" ||
41047 test ! -s conftest.err
41048 } && test -s conftest$ac_exeext &&
41049 $as_test_x conftest$ac_exeext; then
41050 eval "$as_ac_var=yes"
41051 else
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.$ac_ext >&5
41054
41055 eval "$as_ac_var=no"
41056 fi
41057
41058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41059 conftest$ac_exeext conftest.$ac_ext
41060 fi
41061 ac_res=`eval echo '${'$as_ac_var'}'`
41062 { echo "$as_me:$LINENO: result: $ac_res" >&5
41063 echo "${ECHO_T}$ac_res" >&6; }
41064 if test `eval echo '${'$as_ac_var'}'` = yes; then
41065 cat >>confdefs.h <<_ACEOF
41066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41067 _ACEOF
41068 cat >>confdefs.h <<\_ACEOF
41069 #define HAVE_GETSERVBYNAME 1
41070 _ACEOF
41071
41072 fi
41073 done
41074
41075 fi
41076
41077 if test "$wxUSE_THREADS" = "yes"; then
41078 cat >>confdefs.h <<\_ACEOF
41079 #define wxUSE_THREADS 1
41080 _ACEOF
41081
41082
41083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41084 else
41085 if test "$wx_cv_func_strtok_r" = "yes"; then
41086 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41087 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41088 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41089 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41090 { echo "$as_me:$LINENO: result: yes" >&5
41091 echo "${ECHO_T}yes" >&6; }
41092 else
41093 { echo "$as_me:$LINENO: result: no" >&5
41094 echo "${ECHO_T}no" >&6; }
41095 fi
41096 fi
41097 fi
41098
41099 if test "$WXGTK2" = 1 ; then
41100 cat >>confdefs.h <<_ACEOF
41101 #define __WXGTK20__ $WXGTK2
41102 _ACEOF
41103
41104 WXGTK12=1
41105 fi
41106
41107 if test "$WXGTK12" = 1 ; then
41108 cat >>confdefs.h <<_ACEOF
41109 #define __WXGTK12__ $WXGTK12
41110 _ACEOF
41111
41112 fi
41113
41114 if test "$WXGTK127" = 1 ; then
41115 cat >>confdefs.h <<_ACEOF
41116 #define __WXGTK127__ $WXGTK127
41117 _ACEOF
41118
41119 fi
41120
41121 if test "$WXGPE" = 1 ; then
41122 cat >>confdefs.h <<_ACEOF
41123 #define __WXGPE__ $WXGPE
41124 _ACEOF
41125
41126 fi
41127
41128 DEBUG_CFLAGS=
41129 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41130 DEBUG_CFLAGS="-g"
41131 wxUSE_OPTIMISE=no
41132 fi
41133
41134 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41135 wxUSE_DEBUG_INFO=yes
41136 if test "$GCC" = yes; then
41137 DEBUG_CFLAGS="-ggdb"
41138 fi
41139 fi
41140
41141 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41142 cat >>confdefs.h <<\_ACEOF
41143 #define WXDEBUG 1
41144 _ACEOF
41145
41146 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41147 else
41148 if test "$wxUSE_GTK" = 1 ; then
41149 if test "x$wxGTK_VERSION" = "x1" ; then
41150 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41151 fi
41152 fi
41153 fi
41154
41155 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41156 cat >>confdefs.h <<\_ACEOF
41157 #define wxUSE_MEMORY_TRACING 1
41158 _ACEOF
41159
41160 cat >>confdefs.h <<\_ACEOF
41161 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41162 _ACEOF
41163
41164 cat >>confdefs.h <<\_ACEOF
41165 #define wxUSE_DEBUG_NEW_ALWAYS 1
41166 _ACEOF
41167
41168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41169 fi
41170
41171 if test "$wxUSE_DMALLOC" = "yes" ; then
41172 DMALLOC_LIBS="-ldmallocthcxx"
41173 fi
41174
41175 PROFILE_FLAGS=
41176 if test "$wxUSE_PROFILE" = "yes" ; then
41177 PROFILE_FLAGS=" -pg"
41178 fi
41179
41180 if test "$GCC" = "yes" ; then
41181 if test "$wxUSE_NO_RTTI" = "yes" ; then
41182 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41183 fi
41184 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41185 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41186 fi
41187 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41188 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41189 fi
41190
41191 case "${host}" in
41192 powerpc*-*-aix* )
41193 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41194 ;;
41195 *-hppa* )
41196 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41197 ;;
41198 esac
41199 fi
41200
41201 OPTIMISE_CFLAGS=
41202 if test "$wxUSE_OPTIMISE" = "no" ; then
41203 if test "$GCC" = yes ; then
41204 OPTIMISE_CFLAGS="-O0"
41205 fi
41206 else
41207 if test "$GCC" = yes ; then
41208 case "${host}" in
41209 *-pc-os2_emx | *-pc-os2-emx )
41210 OPTIMISE_CFLAGS="-O2"
41211 ;;
41212 *)
41213 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41214 ;;
41215 esac
41216 else
41217 OPTIMISE_CFLAGS="-O"
41218 fi
41219 fi
41220
41221
41222 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41223 cat >>confdefs.h <<\_ACEOF
41224 #define WXWIN_COMPATIBILITY_2_6 1
41225 _ACEOF
41226
41227
41228 WXWIN_COMPATIBILITY_2_8="yes"
41229 fi
41230
41231 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41232 cat >>confdefs.h <<\_ACEOF
41233 #define WXWIN_COMPATIBILITY_2_8 1
41234 _ACEOF
41235
41236 fi
41237
41238
41239 if test "$wxUSE_GUI" = "yes"; then
41240 cat >>confdefs.h <<\_ACEOF
41241 #define wxUSE_GUI 1
41242 _ACEOF
41243
41244
41245 fi
41246
41247
41248 if test "$wxUSE_UNIX" = "yes"; then
41249 cat >>confdefs.h <<\_ACEOF
41250 #define wxUSE_UNIX 1
41251 _ACEOF
41252
41253 fi
41254
41255
41256 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41257
41258 HAVE_DL_FUNCS=0
41259 HAVE_SHL_FUNCS=0
41260 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41261 if test "$USE_DOS" = 1; then
41262 HAVE_DL_FUNCS=0
41263 else
41264
41265 for ac_func in dlopen
41266 do
41267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41271 echo $ECHO_N "(cached) $ECHO_C" >&6
41272 else
41273 cat >conftest.$ac_ext <<_ACEOF
41274 /* confdefs.h. */
41275 _ACEOF
41276 cat confdefs.h >>conftest.$ac_ext
41277 cat >>conftest.$ac_ext <<_ACEOF
41278 /* end confdefs.h. */
41279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41281 #define $ac_func innocuous_$ac_func
41282
41283 /* System header to define __stub macros and hopefully few prototypes,
41284 which can conflict with char $ac_func (); below.
41285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41286 <limits.h> exists even on freestanding compilers. */
41287
41288 #ifdef __STDC__
41289 # include <limits.h>
41290 #else
41291 # include <assert.h>
41292 #endif
41293
41294 #undef $ac_func
41295
41296 /* Override any GCC internal prototype to avoid an error.
41297 Use char because int might match the return type of a GCC
41298 builtin and then its argument prototype would still apply. */
41299 #ifdef __cplusplus
41300 extern "C"
41301 #endif
41302 char $ac_func ();
41303 /* The GNU C library defines this for functions which it implements
41304 to always fail with ENOSYS. Some functions are actually named
41305 something starting with __ and the normal name is an alias. */
41306 #if defined __stub_$ac_func || defined __stub___$ac_func
41307 choke me
41308 #endif
41309
41310 int
41311 main ()
41312 {
41313 return $ac_func ();
41314 ;
41315 return 0;
41316 }
41317 _ACEOF
41318 rm -f conftest.$ac_objext conftest$ac_exeext
41319 if { (ac_try="$ac_link"
41320 case "(($ac_try" in
41321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41322 *) ac_try_echo=$ac_try;;
41323 esac
41324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41325 (eval "$ac_link") 2>conftest.er1
41326 ac_status=$?
41327 grep -v '^ *+' conftest.er1 >conftest.err
41328 rm -f conftest.er1
41329 cat conftest.err >&5
41330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41331 (exit $ac_status); } && {
41332 test -z "$ac_c_werror_flag" ||
41333 test ! -s conftest.err
41334 } && test -s conftest$ac_exeext &&
41335 $as_test_x conftest$ac_exeext; then
41336 eval "$as_ac_var=yes"
41337 else
41338 echo "$as_me: failed program was:" >&5
41339 sed 's/^/| /' conftest.$ac_ext >&5
41340
41341 eval "$as_ac_var=no"
41342 fi
41343
41344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41345 conftest$ac_exeext conftest.$ac_ext
41346 fi
41347 ac_res=`eval echo '${'$as_ac_var'}'`
41348 { echo "$as_me:$LINENO: result: $ac_res" >&5
41349 echo "${ECHO_T}$ac_res" >&6; }
41350 if test `eval echo '${'$as_ac_var'}'` = yes; then
41351 cat >>confdefs.h <<_ACEOF
41352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41353 _ACEOF
41354
41355 cat >>confdefs.h <<\_ACEOF
41356 #define HAVE_DLOPEN 1
41357 _ACEOF
41358
41359 HAVE_DL_FUNCS=1
41360
41361 else
41362
41363 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41364 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41365 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41366 echo $ECHO_N "(cached) $ECHO_C" >&6
41367 else
41368 ac_check_lib_save_LIBS=$LIBS
41369 LIBS="-ldl $LIBS"
41370 cat >conftest.$ac_ext <<_ACEOF
41371 /* confdefs.h. */
41372 _ACEOF
41373 cat confdefs.h >>conftest.$ac_ext
41374 cat >>conftest.$ac_ext <<_ACEOF
41375 /* end confdefs.h. */
41376
41377 /* Override any GCC internal prototype to avoid an error.
41378 Use char because int might match the return type of a GCC
41379 builtin and then its argument prototype would still apply. */
41380 #ifdef __cplusplus
41381 extern "C"
41382 #endif
41383 char dlopen ();
41384 int
41385 main ()
41386 {
41387 return dlopen ();
41388 ;
41389 return 0;
41390 }
41391 _ACEOF
41392 rm -f conftest.$ac_objext conftest$ac_exeext
41393 if { (ac_try="$ac_link"
41394 case "(($ac_try" in
41395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41396 *) ac_try_echo=$ac_try;;
41397 esac
41398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41399 (eval "$ac_link") 2>conftest.er1
41400 ac_status=$?
41401 grep -v '^ *+' conftest.er1 >conftest.err
41402 rm -f conftest.er1
41403 cat conftest.err >&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } && {
41406 test -z "$ac_c_werror_flag" ||
41407 test ! -s conftest.err
41408 } && test -s conftest$ac_exeext &&
41409 $as_test_x conftest$ac_exeext; then
41410 ac_cv_lib_dl_dlopen=yes
41411 else
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.$ac_ext >&5
41414
41415 ac_cv_lib_dl_dlopen=no
41416 fi
41417
41418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41419 conftest$ac_exeext conftest.$ac_ext
41420 LIBS=$ac_check_lib_save_LIBS
41421 fi
41422 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41423 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41424 if test $ac_cv_lib_dl_dlopen = yes; then
41425
41426 cat >>confdefs.h <<\_ACEOF
41427 #define HAVE_DLOPEN 1
41428 _ACEOF
41429
41430 HAVE_DL_FUNCS=1
41431 DL_LINK=" -ldl$DL_LINK"
41432
41433 else
41434
41435
41436 for ac_func in shl_load
41437 do
41438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41442 echo $ECHO_N "(cached) $ECHO_C" >&6
41443 else
41444 cat >conftest.$ac_ext <<_ACEOF
41445 /* confdefs.h. */
41446 _ACEOF
41447 cat confdefs.h >>conftest.$ac_ext
41448 cat >>conftest.$ac_ext <<_ACEOF
41449 /* end confdefs.h. */
41450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41452 #define $ac_func innocuous_$ac_func
41453
41454 /* System header to define __stub macros and hopefully few prototypes,
41455 which can conflict with char $ac_func (); below.
41456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41457 <limits.h> exists even on freestanding compilers. */
41458
41459 #ifdef __STDC__
41460 # include <limits.h>
41461 #else
41462 # include <assert.h>
41463 #endif
41464
41465 #undef $ac_func
41466
41467 /* Override any GCC internal prototype to avoid an error.
41468 Use char because int might match the return type of a GCC
41469 builtin and then its argument prototype would still apply. */
41470 #ifdef __cplusplus
41471 extern "C"
41472 #endif
41473 char $ac_func ();
41474 /* The GNU C library defines this for functions which it implements
41475 to always fail with ENOSYS. Some functions are actually named
41476 something starting with __ and the normal name is an alias. */
41477 #if defined __stub_$ac_func || defined __stub___$ac_func
41478 choke me
41479 #endif
41480
41481 int
41482 main ()
41483 {
41484 return $ac_func ();
41485 ;
41486 return 0;
41487 }
41488 _ACEOF
41489 rm -f conftest.$ac_objext conftest$ac_exeext
41490 if { (ac_try="$ac_link"
41491 case "(($ac_try" in
41492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41493 *) ac_try_echo=$ac_try;;
41494 esac
41495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41496 (eval "$ac_link") 2>conftest.er1
41497 ac_status=$?
41498 grep -v '^ *+' conftest.er1 >conftest.err
41499 rm -f conftest.er1
41500 cat conftest.err >&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); } && {
41503 test -z "$ac_c_werror_flag" ||
41504 test ! -s conftest.err
41505 } && test -s conftest$ac_exeext &&
41506 $as_test_x conftest$ac_exeext; then
41507 eval "$as_ac_var=yes"
41508 else
41509 echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41511
41512 eval "$as_ac_var=no"
41513 fi
41514
41515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41516 conftest$ac_exeext conftest.$ac_ext
41517 fi
41518 ac_res=`eval echo '${'$as_ac_var'}'`
41519 { echo "$as_me:$LINENO: result: $ac_res" >&5
41520 echo "${ECHO_T}$ac_res" >&6; }
41521 if test `eval echo '${'$as_ac_var'}'` = yes; then
41522 cat >>confdefs.h <<_ACEOF
41523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41524 _ACEOF
41525
41526 cat >>confdefs.h <<\_ACEOF
41527 #define HAVE_SHL_LOAD 1
41528 _ACEOF
41529
41530 HAVE_SHL_FUNCS=1
41531
41532 else
41533
41534 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41535 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41536 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41537 echo $ECHO_N "(cached) $ECHO_C" >&6
41538 else
41539 ac_check_lib_save_LIBS=$LIBS
41540 LIBS="-lshl_load $LIBS"
41541 cat >conftest.$ac_ext <<_ACEOF
41542 /* confdefs.h. */
41543 _ACEOF
41544 cat confdefs.h >>conftest.$ac_ext
41545 cat >>conftest.$ac_ext <<_ACEOF
41546 /* end confdefs.h. */
41547
41548 /* Override any GCC internal prototype to avoid an error.
41549 Use char because int might match the return type of a GCC
41550 builtin and then its argument prototype would still apply. */
41551 #ifdef __cplusplus
41552 extern "C"
41553 #endif
41554 char dld ();
41555 int
41556 main ()
41557 {
41558 return dld ();
41559 ;
41560 return 0;
41561 }
41562 _ACEOF
41563 rm -f conftest.$ac_objext conftest$ac_exeext
41564 if { (ac_try="$ac_link"
41565 case "(($ac_try" in
41566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41567 *) ac_try_echo=$ac_try;;
41568 esac
41569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41570 (eval "$ac_link") 2>conftest.er1
41571 ac_status=$?
41572 grep -v '^ *+' conftest.er1 >conftest.err
41573 rm -f conftest.er1
41574 cat conftest.err >&5
41575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41576 (exit $ac_status); } && {
41577 test -z "$ac_c_werror_flag" ||
41578 test ! -s conftest.err
41579 } && test -s conftest$ac_exeext &&
41580 $as_test_x conftest$ac_exeext; then
41581 ac_cv_lib_shl_load_dld=yes
41582 else
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.$ac_ext >&5
41585
41586 ac_cv_lib_shl_load_dld=no
41587 fi
41588
41589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41590 conftest$ac_exeext conftest.$ac_ext
41591 LIBS=$ac_check_lib_save_LIBS
41592 fi
41593 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41594 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41595 if test $ac_cv_lib_shl_load_dld = yes; then
41596
41597 HAVE_SHL_FUNCS=1
41598 DL_LINK=" -ldld$DL_LINK"
41599
41600 fi
41601
41602
41603 fi
41604 done
41605
41606
41607 fi
41608
41609
41610 fi
41611 done
41612
41613
41614 if test "$HAVE_DL_FUNCS" = 1; then
41615
41616 for ac_func in dlerror
41617 do
41618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41621 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41622 echo $ECHO_N "(cached) $ECHO_C" >&6
41623 else
41624 cat >conftest.$ac_ext <<_ACEOF
41625 /* confdefs.h. */
41626 _ACEOF
41627 cat confdefs.h >>conftest.$ac_ext
41628 cat >>conftest.$ac_ext <<_ACEOF
41629 /* end confdefs.h. */
41630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41632 #define $ac_func innocuous_$ac_func
41633
41634 /* System header to define __stub macros and hopefully few prototypes,
41635 which can conflict with char $ac_func (); below.
41636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41637 <limits.h> exists even on freestanding compilers. */
41638
41639 #ifdef __STDC__
41640 # include <limits.h>
41641 #else
41642 # include <assert.h>
41643 #endif
41644
41645 #undef $ac_func
41646
41647 /* Override any GCC internal prototype to avoid an error.
41648 Use char because int might match the return type of a GCC
41649 builtin and then its argument prototype would still apply. */
41650 #ifdef __cplusplus
41651 extern "C"
41652 #endif
41653 char $ac_func ();
41654 /* The GNU C library defines this for functions which it implements
41655 to always fail with ENOSYS. Some functions are actually named
41656 something starting with __ and the normal name is an alias. */
41657 #if defined __stub_$ac_func || defined __stub___$ac_func
41658 choke me
41659 #endif
41660
41661 int
41662 main ()
41663 {
41664 return $ac_func ();
41665 ;
41666 return 0;
41667 }
41668 _ACEOF
41669 rm -f conftest.$ac_objext conftest$ac_exeext
41670 if { (ac_try="$ac_link"
41671 case "(($ac_try" in
41672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41673 *) ac_try_echo=$ac_try;;
41674 esac
41675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41676 (eval "$ac_link") 2>conftest.er1
41677 ac_status=$?
41678 grep -v '^ *+' conftest.er1 >conftest.err
41679 rm -f conftest.er1
41680 cat conftest.err >&5
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); } && {
41683 test -z "$ac_c_werror_flag" ||
41684 test ! -s conftest.err
41685 } && test -s conftest$ac_exeext &&
41686 $as_test_x conftest$ac_exeext; then
41687 eval "$as_ac_var=yes"
41688 else
41689 echo "$as_me: failed program was:" >&5
41690 sed 's/^/| /' conftest.$ac_ext >&5
41691
41692 eval "$as_ac_var=no"
41693 fi
41694
41695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41696 conftest$ac_exeext conftest.$ac_ext
41697 fi
41698 ac_res=`eval echo '${'$as_ac_var'}'`
41699 { echo "$as_me:$LINENO: result: $ac_res" >&5
41700 echo "${ECHO_T}$ac_res" >&6; }
41701 if test `eval echo '${'$as_ac_var'}'` = yes; then
41702 cat >>confdefs.h <<_ACEOF
41703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41704 _ACEOF
41705 cat >>confdefs.h <<\_ACEOF
41706 #define HAVE_DLERROR 1
41707 _ACEOF
41708
41709 else
41710
41711 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41712 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41713 if test "${ac_cv_lib_dl_dlerror+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 dlerror ();
41732 int
41733 main ()
41734 {
41735 return dlerror ();
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_dlerror=yes
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41762
41763 ac_cv_lib_dl_dlerror=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_dlerror" >&5
41771 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41772 if test $ac_cv_lib_dl_dlerror = yes; then
41773 cat >>confdefs.h <<\_ACEOF
41774 #define HAVE_DLERROR 1
41775 _ACEOF
41776
41777 fi
41778
41779
41780
41781 fi
41782 done
41783
41784 fi
41785 fi
41786
41787 if test "$USE_DARWIN" = 1; then
41788 HAVE_DL_FUNCS=1
41789 fi
41790
41791 if test "$HAVE_DL_FUNCS" = 0; then
41792 if test "$HAVE_SHL_FUNCS" = 0; then
41793 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41794 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41795 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41796 wxUSE_DYNAMIC_LOADER=no
41797 wxUSE_DYNLIB_CLASS=no
41798 else
41799 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41800 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41801 fi
41802 fi
41803 fi
41804 fi
41805 fi
41806
41807 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41808 cat >>confdefs.h <<\_ACEOF
41809 #define wxUSE_DYNAMIC_LOADER 1
41810 _ACEOF
41811
41812 fi
41813 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41814 cat >>confdefs.h <<\_ACEOF
41815 #define wxUSE_DYNLIB_CLASS 1
41816 _ACEOF
41817
41818 fi
41819
41820
41821
41822 if test "$wxUSE_PLUGINS" = "yes" ; then
41823 if test "$wxUSE_SHARED" = "no" ; then
41824 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41825 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41826 wxUSE_PLUGINS=no
41827 fi
41828 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41829 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41830 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41831 wxUSE_PLUGINS=no
41832 fi
41833 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41834 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41835 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41836 wxUSE_PLUGINS=no
41837 fi
41838 if test "$wxUSE_PLUGINS" = "yes" ; then
41839 cat >>confdefs.h <<\_ACEOF
41840 #define wxUSE_PLUGINS 1
41841 _ACEOF
41842
41843 fi
41844 fi
41845
41846
41847 if test "$wxUSE_STL" = "yes"; then
41848 cat >>confdefs.h <<\_ACEOF
41849 #define wxUSE_STL 1
41850 _ACEOF
41851
41852 fi
41853
41854 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41855 cat >>confdefs.h <<\_ACEOF
41856 #define wxUSE_EXTENDED_RTTI 1
41857 _ACEOF
41858
41859 fi
41860
41861 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41862 cat >>confdefs.h <<\_ACEOF
41863 #define wxUSE_APPLE_IEEE 1
41864 _ACEOF
41865
41866 fi
41867
41868 if test "$wxUSE_TIMER" = "yes"; then
41869 cat >>confdefs.h <<\_ACEOF
41870 #define wxUSE_TIMER 1
41871 _ACEOF
41872
41873 fi
41874
41875 if test "$USE_UNIX" = 1 ; then
41876 if test "$wxUSE_MGL" != 1; then
41877 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41878 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41879 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41880 echo $ECHO_N "(cached) $ECHO_C" >&6
41881 else
41882
41883 cat >conftest.$ac_ext <<_ACEOF
41884 /* confdefs.h. */
41885 _ACEOF
41886 cat confdefs.h >>conftest.$ac_ext
41887 cat >>conftest.$ac_ext <<_ACEOF
41888 /* end confdefs.h. */
41889
41890 #include <sys/ioctl.h>
41891 #include <sys/soundcard.h>
41892
41893 int
41894 main ()
41895 {
41896
41897 ioctl(0, SNDCTL_DSP_SPEED, 0);
41898
41899 ;
41900 return 0;
41901 }
41902 _ACEOF
41903 rm -f conftest.$ac_objext conftest$ac_exeext
41904 if { (ac_try="$ac_link"
41905 case "(($ac_try" in
41906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41907 *) ac_try_echo=$ac_try;;
41908 esac
41909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41910 (eval "$ac_link") 2>conftest.er1
41911 ac_status=$?
41912 grep -v '^ *+' conftest.er1 >conftest.err
41913 rm -f conftest.er1
41914 cat conftest.err >&5
41915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41916 (exit $ac_status); } && {
41917 test -z "$ac_c_werror_flag" ||
41918 test ! -s conftest.err
41919 } && test -s conftest$ac_exeext &&
41920 $as_test_x conftest$ac_exeext; then
41921 ac_cv_header_sys_soundcard=yes
41922 else
41923 echo "$as_me: failed program was:" >&5
41924 sed 's/^/| /' conftest.$ac_ext >&5
41925
41926
41927 saveLibs="$LIBS"
41928 LIBS="$saveLibs -lossaudio"
41929 cat >conftest.$ac_ext <<_ACEOF
41930 /* confdefs.h. */
41931 _ACEOF
41932 cat confdefs.h >>conftest.$ac_ext
41933 cat >>conftest.$ac_ext <<_ACEOF
41934 /* end confdefs.h. */
41935
41936 #include <sys/ioctl.h>
41937 #include <sys/soundcard.h>
41938
41939 int
41940 main ()
41941 {
41942
41943 ioctl(0, SNDCTL_DSP_SPEED, 0);
41944
41945 ;
41946 return 0;
41947 }
41948 _ACEOF
41949 rm -f conftest.$ac_objext conftest$ac_exeext
41950 if { (ac_try="$ac_link"
41951 case "(($ac_try" in
41952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41953 *) ac_try_echo=$ac_try;;
41954 esac
41955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41956 (eval "$ac_link") 2>conftest.er1
41957 ac_status=$?
41958 grep -v '^ *+' conftest.er1 >conftest.err
41959 rm -f conftest.er1
41960 cat conftest.err >&5
41961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41962 (exit $ac_status); } && {
41963 test -z "$ac_c_werror_flag" ||
41964 test ! -s conftest.err
41965 } && test -s conftest$ac_exeext &&
41966 $as_test_x conftest$ac_exeext; then
41967 ac_cv_header_sys_soundcard=yes
41968 else
41969 echo "$as_me: failed program was:" >&5
41970 sed 's/^/| /' conftest.$ac_ext >&5
41971
41972
41973 LIBS="$saveLibs"
41974 ac_cv_header_sys_soundcard=no
41975
41976
41977 fi
41978
41979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41980 conftest$ac_exeext conftest.$ac_ext
41981
41982
41983 fi
41984
41985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41986 conftest$ac_exeext conftest.$ac_ext
41987
41988 fi
41989 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41990 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41991 fi
41992
41993 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41994 cat >>confdefs.h <<\_ACEOF
41995 #define HAVE_SYS_SOUNDCARD_H 1
41996 _ACEOF
41997
41998 fi
41999 fi
42000
42001 WITH_PLUGIN_SDL=0
42002 if test "$wxUSE_SOUND" = "yes"; then
42003 if test "$USE_UNIX" = 1 ; then
42004 if test "$wxUSE_LIBSDL" != "no"; then
42005
42006 # Check whether --with-sdl-prefix was given.
42007 if test "${with_sdl_prefix+set}" = set; then
42008 withval=$with_sdl_prefix; sdl_prefix="$withval"
42009 else
42010 sdl_prefix=""
42011 fi
42012
42013
42014 # Check whether --with-sdl-exec-prefix was given.
42015 if test "${with_sdl_exec_prefix+set}" = set; then
42016 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42017 else
42018 sdl_exec_prefix=""
42019 fi
42020
42021 # Check whether --enable-sdltest was given.
42022 if test "${enable_sdltest+set}" = set; then
42023 enableval=$enable_sdltest;
42024 else
42025 enable_sdltest=yes
42026 fi
42027
42028
42029 if test x$sdl_exec_prefix != x ; then
42030 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42031 if test x${SDL_CONFIG+set} != xset ; then
42032 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42033 fi
42034 fi
42035 if test x$sdl_prefix != x ; then
42036 sdl_args="$sdl_args --prefix=$sdl_prefix"
42037 if test x${SDL_CONFIG+set} != xset ; then
42038 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42039 fi
42040 fi
42041
42042 if test "x$prefix" != xNONE; then
42043 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42044 fi
42045 # Extract the first word of "sdl-config", so it can be a program name with args.
42046 set dummy sdl-config; ac_word=$2
42047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42049 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42050 echo $ECHO_N "(cached) $ECHO_C" >&6
42051 else
42052 case $SDL_CONFIG in
42053 [\\/]* | ?:[\\/]*)
42054 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42055 ;;
42056 *)
42057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42058 for as_dir in $PATH
42059 do
42060 IFS=$as_save_IFS
42061 test -z "$as_dir" && as_dir=.
42062 for ac_exec_ext in '' $ac_executable_extensions; do
42063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42064 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42066 break 2
42067 fi
42068 done
42069 done
42070 IFS=$as_save_IFS
42071
42072 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42073 ;;
42074 esac
42075 fi
42076 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42077 if test -n "$SDL_CONFIG"; then
42078 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42079 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42080 else
42081 { echo "$as_me:$LINENO: result: no" >&5
42082 echo "${ECHO_T}no" >&6; }
42083 fi
42084
42085
42086 min_sdl_version=1.2.0
42087 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42088 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42089 no_sdl=""
42090 if test "$SDL_CONFIG" = "no" ; then
42091 no_sdl=yes
42092 else
42093 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42094 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42095
42096 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42097 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42098 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42099 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42100 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42102 if test "x$enable_sdltest" = "xyes" ; then
42103 ac_save_CFLAGS="$CFLAGS"
42104 ac_save_CXXFLAGS="$CXXFLAGS"
42105 ac_save_LIBS="$LIBS"
42106 CFLAGS="$CFLAGS $SDL_CFLAGS"
42107 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42108 LIBS="$LIBS $SDL_LIBS"
42109 rm -f conf.sdltest
42110 if test "$cross_compiling" = yes; then
42111 echo $ac_n "cross compiling; assumed OK... $ac_c"
42112 else
42113 cat >conftest.$ac_ext <<_ACEOF
42114 /* confdefs.h. */
42115 _ACEOF
42116 cat confdefs.h >>conftest.$ac_ext
42117 cat >>conftest.$ac_ext <<_ACEOF
42118 /* end confdefs.h. */
42119
42120 #include <stdio.h>
42121 #include <stdlib.h>
42122 #include <string.h>
42123 #include "SDL.h"
42124
42125 char*
42126 my_strdup (char *str)
42127 {
42128 char *new_str;
42129
42130 if (str)
42131 {
42132 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42133 strcpy (new_str, str);
42134 }
42135 else
42136 new_str = NULL;
42137
42138 return new_str;
42139 }
42140
42141 int main (int argc, char *argv[])
42142 {
42143 int major, minor, micro;
42144 char *tmp_version;
42145
42146 /* This hangs on some systems (?)
42147 system ("touch conf.sdltest");
42148 */
42149 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42150
42151 /* HP/UX 9 (%@#!) writes to sscanf strings */
42152 tmp_version = my_strdup("$min_sdl_version");
42153 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42154 printf("%s, bad version string\n", "$min_sdl_version");
42155 exit(1);
42156 }
42157
42158 if (($sdl_major_version > major) ||
42159 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42160 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42161 {
42162 return 0;
42163 }
42164 else
42165 {
42166 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42167 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42168 printf("*** best to upgrade to the required version.\n");
42169 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42170 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42171 printf("*** config.cache before re-running configure\n");
42172 return 1;
42173 }
42174 }
42175
42176
42177 _ACEOF
42178 rm -f conftest$ac_exeext
42179 if { (ac_try="$ac_link"
42180 case "(($ac_try" in
42181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42182 *) ac_try_echo=$ac_try;;
42183 esac
42184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42185 (eval "$ac_link") 2>&5
42186 ac_status=$?
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42189 { (case "(($ac_try" in
42190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42191 *) ac_try_echo=$ac_try;;
42192 esac
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194 (eval "$ac_try") 2>&5
42195 ac_status=$?
42196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42197 (exit $ac_status); }; }; then
42198 :
42199 else
42200 echo "$as_me: program exited with status $ac_status" >&5
42201 echo "$as_me: failed program was:" >&5
42202 sed 's/^/| /' conftest.$ac_ext >&5
42203
42204 ( exit $ac_status )
42205 no_sdl=yes
42206 fi
42207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42208 fi
42209
42210
42211 CFLAGS="$ac_save_CFLAGS"
42212 CXXFLAGS="$ac_save_CXXFLAGS"
42213 LIBS="$ac_save_LIBS"
42214 fi
42215 fi
42216 if test "x$no_sdl" = x ; then
42217 { echo "$as_me:$LINENO: result: yes" >&5
42218 echo "${ECHO_T}yes" >&6; }
42219
42220 EXTRALIBS_SDL="$SDL_LIBS"
42221 CFLAGS="$SDL_CFLAGS $CFLAGS"
42222 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42223 cat >>confdefs.h <<\_ACEOF
42224 #define wxUSE_LIBSDL 1
42225 _ACEOF
42226
42227
42228 else
42229 { echo "$as_me:$LINENO: result: no" >&5
42230 echo "${ECHO_T}no" >&6; }
42231 if test "$SDL_CONFIG" = "no" ; then
42232 echo "*** The sdl-config script installed by SDL could not be found"
42233 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42234 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42235 echo "*** full path to sdl-config."
42236 else
42237 if test -f conf.sdltest ; then
42238 :
42239 else
42240 echo "*** Could not run SDL test program, checking why..."
42241 CFLAGS="$CFLAGS $SDL_CFLAGS"
42242 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42243 LIBS="$LIBS $SDL_LIBS"
42244 cat >conftest.$ac_ext <<_ACEOF
42245 /* confdefs.h. */
42246 _ACEOF
42247 cat confdefs.h >>conftest.$ac_ext
42248 cat >>conftest.$ac_ext <<_ACEOF
42249 /* end confdefs.h. */
42250
42251 #include <stdio.h>
42252 #include "SDL.h"
42253
42254 int main(int argc, char *argv[])
42255 { return 0; }
42256 #undef main
42257 #define main K_and_R_C_main
42258
42259 int
42260 main ()
42261 {
42262 return 0;
42263 ;
42264 return 0;
42265 }
42266 _ACEOF
42267 rm -f conftest.$ac_objext conftest$ac_exeext
42268 if { (ac_try="$ac_link"
42269 case "(($ac_try" in
42270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42271 *) ac_try_echo=$ac_try;;
42272 esac
42273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42274 (eval "$ac_link") 2>conftest.er1
42275 ac_status=$?
42276 grep -v '^ *+' conftest.er1 >conftest.err
42277 rm -f conftest.er1
42278 cat conftest.err >&5
42279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42280 (exit $ac_status); } && {
42281 test -z "$ac_c_werror_flag" ||
42282 test ! -s conftest.err
42283 } && test -s conftest$ac_exeext &&
42284 $as_test_x conftest$ac_exeext; then
42285 echo "*** The test program compiled, but did not run. This usually means"
42286 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42287 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42288 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42289 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42290 echo "*** is required on your system"
42291 echo "***"
42292 echo "*** If you have an old version installed, it is best to remove it, although"
42293 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42294 else
42295 echo "$as_me: failed program was:" >&5
42296 sed 's/^/| /' conftest.$ac_ext >&5
42297
42298 echo "*** The test program failed to compile or link. See the file config.log for the"
42299 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42300 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42301 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42302 fi
42303
42304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42305 conftest$ac_exeext conftest.$ac_ext
42306 CFLAGS="$ac_save_CFLAGS"
42307 CXXFLAGS="$ac_save_CXXFLAGS"
42308 LIBS="$ac_save_LIBS"
42309 fi
42310 fi
42311 SDL_CFLAGS=""
42312 SDL_LIBS=""
42313 wxUSE_LIBSDL="no"
42314 fi
42315
42316
42317 rm -f conf.sdltest
42318
42319 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42320 WITH_PLUGIN_SDL=1
42321 fi
42322 fi
42323 else
42324 if test "$wxUSE_MGL" = 1; then
42325 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42326 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42327 wxUSE_SOUND="no"
42328 fi
42329 fi
42330 fi
42331
42332 if test "$wxUSE_SOUND" = "yes"; then
42333 cat >>confdefs.h <<\_ACEOF
42334 #define wxUSE_SOUND 1
42335 _ACEOF
42336
42337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42338 fi
42339
42340 if test "$WXGTK2" = 1; then
42341
42342
42343 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42344 if test -n "$ac_tool_prefix"; then
42345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42346 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42349 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42350 echo $ECHO_N "(cached) $ECHO_C" >&6
42351 else
42352 case $PKG_CONFIG in
42353 [\\/]* | ?:[\\/]*)
42354 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42355 ;;
42356 *)
42357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42358 for as_dir in $PATH
42359 do
42360 IFS=$as_save_IFS
42361 test -z "$as_dir" && as_dir=.
42362 for ac_exec_ext in '' $ac_executable_extensions; do
42363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42364 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42366 break 2
42367 fi
42368 done
42369 done
42370 IFS=$as_save_IFS
42371
42372 ;;
42373 esac
42374 fi
42375 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42376 if test -n "$PKG_CONFIG"; then
42377 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42378 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42379 else
42380 { echo "$as_me:$LINENO: result: no" >&5
42381 echo "${ECHO_T}no" >&6; }
42382 fi
42383
42384
42385 fi
42386 if test -z "$ac_cv_path_PKG_CONFIG"; then
42387 ac_pt_PKG_CONFIG=$PKG_CONFIG
42388 # Extract the first word of "pkg-config", so it can be a program name with args.
42389 set dummy pkg-config; ac_word=$2
42390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42392 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42393 echo $ECHO_N "(cached) $ECHO_C" >&6
42394 else
42395 case $ac_pt_PKG_CONFIG in
42396 [\\/]* | ?:[\\/]*)
42397 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42398 ;;
42399 *)
42400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42401 for as_dir in $PATH
42402 do
42403 IFS=$as_save_IFS
42404 test -z "$as_dir" && as_dir=.
42405 for ac_exec_ext in '' $ac_executable_extensions; do
42406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42407 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42409 break 2
42410 fi
42411 done
42412 done
42413 IFS=$as_save_IFS
42414
42415 ;;
42416 esac
42417 fi
42418 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42419 if test -n "$ac_pt_PKG_CONFIG"; then
42420 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42421 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42422 else
42423 { echo "$as_me:$LINENO: result: no" >&5
42424 echo "${ECHO_T}no" >&6; }
42425 fi
42426
42427 if test "x$ac_pt_PKG_CONFIG" = x; then
42428 PKG_CONFIG=""
42429 else
42430 case $cross_compiling:$ac_tool_warned in
42431 yes:)
42432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42433 whose name does not start with the host triplet. If you think this
42434 configuration is useful to you, please write to autoconf@gnu.org." >&5
42435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42436 whose name does not start with the host triplet. If you think this
42437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42438 ac_tool_warned=yes ;;
42439 esac
42440 PKG_CONFIG=$ac_pt_PKG_CONFIG
42441 fi
42442 else
42443 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42444 fi
42445
42446 fi
42447 if test -n "$PKG_CONFIG"; then
42448 _pkg_min_version=0.9.0
42449 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42450 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42451 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42452 { echo "$as_me:$LINENO: result: yes" >&5
42453 echo "${ECHO_T}yes" >&6; }
42454 else
42455 { echo "$as_me:$LINENO: result: no" >&5
42456 echo "${ECHO_T}no" >&6; }
42457 PKG_CONFIG=""
42458 fi
42459
42460 fi
42461
42462 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42463
42464 if test "$wxUSE_GTKPRINT" = "yes" ; then
42465
42466
42467 pkg_failed=no
42468 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42469 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42470
42471 if test -n "$PKG_CONFIG"; then
42472 if test -n "$GTKPRINT_CFLAGS"; then
42473 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42474 else
42475 if test -n "$PKG_CONFIG" && \
42476 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42477 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42478 ac_status=$?
42479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42480 (exit $ac_status); }; then
42481 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42482 else
42483 pkg_failed=yes
42484 fi
42485 fi
42486 else
42487 pkg_failed=untried
42488 fi
42489 if test -n "$PKG_CONFIG"; then
42490 if test -n "$GTKPRINT_LIBS"; then
42491 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42492 else
42493 if test -n "$PKG_CONFIG" && \
42494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42495 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42496 ac_status=$?
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); }; then
42499 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42500 else
42501 pkg_failed=yes
42502 fi
42503 fi
42504 else
42505 pkg_failed=untried
42506 fi
42507
42508
42509
42510 if test $pkg_failed = yes; then
42511
42512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42513 _pkg_short_errors_supported=yes
42514 else
42515 _pkg_short_errors_supported=no
42516 fi
42517 if test $_pkg_short_errors_supported = yes; then
42518 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42519 else
42520 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42521 fi
42522 # Put the nasty error message in config.log where it belongs
42523 echo "$GTKPRINT_PKG_ERRORS" >&5
42524
42525
42526 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42527 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42528 wxUSE_GTKPRINT="no"
42529
42530
42531 elif test $pkg_failed = untried; then
42532
42533 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42534 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42535 wxUSE_GTKPRINT="no"
42536
42537
42538 else
42539 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42540 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42541 { echo "$as_me:$LINENO: result: yes" >&5
42542 echo "${ECHO_T}yes" >&6; }
42543
42544 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42545 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42546 cat >>confdefs.h <<\_ACEOF
42547 #define wxUSE_GTKPRINT 1
42548 _ACEOF
42549
42550
42551 fi
42552 fi
42553
42554 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42555
42556
42557 pkg_failed=no
42558 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42559 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42560
42561 if test -n "$PKG_CONFIG"; then
42562 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42563 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42564 else
42565 if test -n "$PKG_CONFIG" && \
42566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42567 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42568 ac_status=$?
42569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570 (exit $ac_status); }; then
42571 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42572 else
42573 pkg_failed=yes
42574 fi
42575 fi
42576 else
42577 pkg_failed=untried
42578 fi
42579 if test -n "$PKG_CONFIG"; then
42580 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42581 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42582 else
42583 if test -n "$PKG_CONFIG" && \
42584 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42585 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42586 ac_status=$?
42587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42588 (exit $ac_status); }; then
42589 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42590 else
42591 pkg_failed=yes
42592 fi
42593 fi
42594 else
42595 pkg_failed=untried
42596 fi
42597
42598
42599
42600 if test $pkg_failed = yes; then
42601
42602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42603 _pkg_short_errors_supported=yes
42604 else
42605 _pkg_short_errors_supported=no
42606 fi
42607 if test $_pkg_short_errors_supported = yes; then
42608 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42609 else
42610 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42611 fi
42612 # Put the nasty error message in config.log where it belongs
42613 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42614
42615
42616 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42617 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42618 wxUSE_LIBGNOMEPRINT="no"
42619
42620
42621 elif test $pkg_failed = untried; then
42622
42623 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42624 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42625 wxUSE_LIBGNOMEPRINT="no"
42626
42627
42628 else
42629 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42630 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42631 { echo "$as_me:$LINENO: result: yes" >&5
42632 echo "${ECHO_T}yes" >&6; }
42633
42634 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42635 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42636 cat >>confdefs.h <<\_ACEOF
42637 #define wxUSE_LIBGNOMEPRINT 1
42638 _ACEOF
42639
42640
42641 fi
42642 fi
42643 fi
42644
42645 if test "$wxUSE_MIMETYPE" = "yes" ; then
42646 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42647
42648
42649 pkg_failed=no
42650 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42651 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42652
42653 if test -n "$PKG_CONFIG"; then
42654 if test -n "$GNOMEVFS_CFLAGS"; then
42655 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42656 else
42657 if test -n "$PKG_CONFIG" && \
42658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42659 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42660 ac_status=$?
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; then
42663 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42664 else
42665 pkg_failed=yes
42666 fi
42667 fi
42668 else
42669 pkg_failed=untried
42670 fi
42671 if test -n "$PKG_CONFIG"; then
42672 if test -n "$GNOMEVFS_LIBS"; then
42673 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42674 else
42675 if test -n "$PKG_CONFIG" && \
42676 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42677 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42678 ac_status=$?
42679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42680 (exit $ac_status); }; then
42681 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42682 else
42683 pkg_failed=yes
42684 fi
42685 fi
42686 else
42687 pkg_failed=untried
42688 fi
42689
42690
42691
42692 if test $pkg_failed = yes; then
42693
42694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42695 _pkg_short_errors_supported=yes
42696 else
42697 _pkg_short_errors_supported=no
42698 fi
42699 if test $_pkg_short_errors_supported = yes; then
42700 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42701 else
42702 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42703 fi
42704 # Put the nasty error message in config.log where it belongs
42705 echo "$GNOMEVFS_PKG_ERRORS" >&5
42706
42707
42708 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42709 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42710 wxUSE_LIBGNOMEVFS="no"
42711
42712
42713 elif test $pkg_failed = untried; then
42714
42715 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42716 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42717 wxUSE_LIBGNOMEVFS="no"
42718
42719
42720 else
42721 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42722 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42723 { echo "$as_me:$LINENO: result: yes" >&5
42724 echo "${ECHO_T}yes" >&6; }
42725
42726 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42727 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42728 cat >>confdefs.h <<\_ACEOF
42729 #define wxUSE_LIBGNOMEVFS 1
42730 _ACEOF
42731
42732
42733 fi
42734 fi
42735 fi
42736
42737 if test "$wxUSE_LIBHILDON" = "yes" ; then
42738
42739 pkg_failed=no
42740 { echo "$as_me:$LINENO: checking for HILDON" >&5
42741 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42742
42743 if test -n "$PKG_CONFIG"; then
42744 if test -n "$HILDON_CFLAGS"; then
42745 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42746 else
42747 if test -n "$PKG_CONFIG" && \
42748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42749 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42750 ac_status=$?
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); }; then
42753 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42754 else
42755 pkg_failed=yes
42756 fi
42757 fi
42758 else
42759 pkg_failed=untried
42760 fi
42761 if test -n "$PKG_CONFIG"; then
42762 if test -n "$HILDON_LIBS"; then
42763 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42764 else
42765 if test -n "$PKG_CONFIG" && \
42766 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42767 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42768 ac_status=$?
42769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42770 (exit $ac_status); }; then
42771 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42772 else
42773 pkg_failed=yes
42774 fi
42775 fi
42776 else
42777 pkg_failed=untried
42778 fi
42779
42780
42781
42782 if test $pkg_failed = yes; then
42783
42784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42785 _pkg_short_errors_supported=yes
42786 else
42787 _pkg_short_errors_supported=no
42788 fi
42789 if test $_pkg_short_errors_supported = yes; then
42790 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42791 else
42792 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42793 fi
42794 # Put the nasty error message in config.log where it belongs
42795 echo "$HILDON_PKG_ERRORS" >&5
42796
42797
42798 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42799 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42800 wxUSE_LIBHILDON="no"
42801
42802
42803 elif test $pkg_failed = untried; then
42804
42805 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42806 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42807 wxUSE_LIBHILDON="no"
42808
42809
42810 else
42811 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42812 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42813 { echo "$as_me:$LINENO: result: yes" >&5
42814 echo "${ECHO_T}yes" >&6; }
42815
42816 EXTRALIBS_HILDON="$HILDON_LIBS"
42817 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42818 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42819 cat >>confdefs.h <<\_ACEOF
42820 #define wxUSE_LIBHILDON 1
42821 _ACEOF
42822
42823
42824 fi
42825 fi
42826 fi
42827
42828 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42829 cat >>confdefs.h <<\_ACEOF
42830 #define wxUSE_CMDLINE_PARSER 1
42831 _ACEOF
42832
42833 fi
42834
42835 if test "$wxUSE_STOPWATCH" = "yes"; then
42836 cat >>confdefs.h <<\_ACEOF
42837 #define wxUSE_STOPWATCH 1
42838 _ACEOF
42839
42840 fi
42841
42842 if test "$wxUSE_DATETIME" = "yes"; then
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_DATETIME 1
42845 _ACEOF
42846
42847 fi
42848
42849 if test "$wxUSE_FILE" = "yes"; then
42850 cat >>confdefs.h <<\_ACEOF
42851 #define wxUSE_FILE 1
42852 _ACEOF
42853
42854 fi
42855
42856 if test "$wxUSE_FFILE" = "yes"; then
42857 cat >>confdefs.h <<\_ACEOF
42858 #define wxUSE_FFILE 1
42859 _ACEOF
42860
42861 fi
42862
42863 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42864 if test "$wxUSE_STREAMS" != yes; then
42865 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42866 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42867 wxUSE_ARCHIVE_STREAMS=no
42868 else
42869 cat >>confdefs.h <<\_ACEOF
42870 #define wxUSE_ARCHIVE_STREAMS 1
42871 _ACEOF
42872
42873 fi
42874 fi
42875
42876 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42877 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42878 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42879 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42880 elif test "$wxUSE_ZLIB" = "no"; then
42881 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42882 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42883 else
42884 cat >>confdefs.h <<\_ACEOF
42885 #define wxUSE_ZIPSTREAM 1
42886 _ACEOF
42887
42888 fi
42889 fi
42890
42891 if test "$wxUSE_TARSTREAM" = "yes"; then
42892 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42893 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42894 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42895 else
42896 cat >>confdefs.h <<\_ACEOF
42897 #define wxUSE_TARSTREAM 1
42898 _ACEOF
42899
42900 fi
42901 fi
42902
42903 if test "$wxUSE_FILESYSTEM" = "yes"; then
42904 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42905 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42906 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42907 wxUSE_FILESYSTEM=no
42908 else
42909 cat >>confdefs.h <<\_ACEOF
42910 #define wxUSE_FILESYSTEM 1
42911 _ACEOF
42912
42913 fi
42914 fi
42915
42916 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42917 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42918 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42919 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42920 else
42921 cat >>confdefs.h <<\_ACEOF
42922 #define wxUSE_FS_ARCHIVE 1
42923 _ACEOF
42924
42925 fi
42926 fi
42927
42928 if test "$wxUSE_FS_ZIP" = "yes"; then
42929 if test "$wxUSE_FS_ARCHIVE" != yes; then
42930 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42931 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42932 else
42933 cat >>confdefs.h <<\_ACEOF
42934 #define wxUSE_FS_ZIP 1
42935 _ACEOF
42936
42937 fi
42938 fi
42939
42940 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42941 if test "$USE_UNIX" != 1; then
42942 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42943 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42944 wxUSE_ON_FATAL_EXCEPTION=no
42945 else
42946 cat >>confdefs.h <<\_ACEOF
42947 #define wxUSE_ON_FATAL_EXCEPTION 1
42948 _ACEOF
42949
42950 fi
42951 fi
42952
42953 if test "$wxUSE_STACKWALKER" = "yes"; then
42954 cat >>confdefs.h <<\_ACEOF
42955 #define wxUSE_STACKWALKER 1
42956 _ACEOF
42957
42958 fi
42959
42960 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42961 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42962 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42963 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42964 wxUSE_DEBUGREPORT=no
42965 else
42966 cat >>confdefs.h <<\_ACEOF
42967 #define wxUSE_DEBUGREPORT 1
42968 _ACEOF
42969
42970 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42972 fi
42973 fi
42974 fi
42975
42976 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42977 cat >>confdefs.h <<\_ACEOF
42978 #define wxUSE_SNGLINST_CHECKER 1
42979 _ACEOF
42980
42981 fi
42982
42983 if test "$wxUSE_BUSYINFO" = "yes"; then
42984 cat >>confdefs.h <<\_ACEOF
42985 #define wxUSE_BUSYINFO 1
42986 _ACEOF
42987
42988 fi
42989
42990 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42991 cat >>confdefs.h <<\_ACEOF
42992 #define wxUSE_STD_IOSTREAM 1
42993 _ACEOF
42994
42995 fi
42996
42997 if test "$wxUSE_STD_STRING" = "yes"; then
42998 cat >>confdefs.h <<\_ACEOF
42999 #define wxUSE_STD_STRING 1
43000 _ACEOF
43001
43002 fi
43003
43004 if test "$wxUSE_STDPATHS" = "yes"; then
43005 cat >>confdefs.h <<\_ACEOF
43006 #define wxUSE_STDPATHS 1
43007 _ACEOF
43008
43009 fi
43010
43011 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43012 cat >>confdefs.h <<\_ACEOF
43013 #define wxUSE_TEXTBUFFER 1
43014 _ACEOF
43015
43016 fi
43017
43018 if test "$wxUSE_TEXTFILE" = "yes"; then
43019 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43020 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43021 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43022 else
43023 cat >>confdefs.h <<\_ACEOF
43024 #define wxUSE_TEXTFILE 1
43025 _ACEOF
43026
43027 fi
43028 fi
43029
43030 if test "$wxUSE_CONFIG" = "yes" ; then
43031 if test "$wxUSE_TEXTFILE" != "yes"; then
43032 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43033 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43034 else
43035 cat >>confdefs.h <<\_ACEOF
43036 #define wxUSE_CONFIG 1
43037 _ACEOF
43038
43039 cat >>confdefs.h <<\_ACEOF
43040 #define wxUSE_CONFIG_NATIVE 1
43041 _ACEOF
43042
43043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43044 fi
43045 fi
43046
43047 if test "$wxUSE_INTL" = "yes" ; then
43048 if test "$wxUSE_FILE" != "yes"; then
43049 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43050 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43051 else
43052 cat >>confdefs.h <<\_ACEOF
43053 #define wxUSE_INTL 1
43054 _ACEOF
43055
43056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43057 GUIDIST="$GUIDIST INTL_DIST"
43058 fi
43059 fi
43060
43061 if test "$wxUSE_XLOCALE" == "yes" ; then
43062 cat >>confdefs.h <<\_ACEOF
43063 #define wxUSE_XLOCALE 1
43064 _ACEOF
43065
43066 { echo "$as_me:$LINENO: checking for locale_t" >&5
43067 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43068 if test "${ac_cv_type_locale_t+set}" = set; then
43069 echo $ECHO_N "(cached) $ECHO_C" >&6
43070 else
43071 cat >conftest.$ac_ext <<_ACEOF
43072 /* confdefs.h. */
43073 _ACEOF
43074 cat confdefs.h >>conftest.$ac_ext
43075 cat >>conftest.$ac_ext <<_ACEOF
43076 /* end confdefs.h. */
43077 #include <xlocale.h>
43078 #include <locale.h>
43079
43080 typedef locale_t ac__type_new_;
43081 int
43082 main ()
43083 {
43084 if ((ac__type_new_ *) 0)
43085 return 0;
43086 if (sizeof (ac__type_new_))
43087 return 0;
43088 ;
43089 return 0;
43090 }
43091 _ACEOF
43092 rm -f conftest.$ac_objext
43093 if { (ac_try="$ac_compile"
43094 case "(($ac_try" in
43095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43096 *) ac_try_echo=$ac_try;;
43097 esac
43098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43099 (eval "$ac_compile") 2>conftest.er1
43100 ac_status=$?
43101 grep -v '^ *+' conftest.er1 >conftest.err
43102 rm -f conftest.er1
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } && {
43106 test -z "$ac_c_werror_flag" ||
43107 test ! -s conftest.err
43108 } && test -s conftest.$ac_objext; then
43109 ac_cv_type_locale_t=yes
43110 else
43111 echo "$as_me: failed program was:" >&5
43112 sed 's/^/| /' conftest.$ac_ext >&5
43113
43114 ac_cv_type_locale_t=no
43115 fi
43116
43117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43118 fi
43119 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43120 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43121 if test $ac_cv_type_locale_t = yes; then
43122
43123 cat >>confdefs.h <<_ACEOF
43124 #define HAVE_LOCALE_T 1
43125 _ACEOF
43126
43127
43128 fi
43129
43130 fi
43131
43132 if test "$wxUSE_LOG" = "yes"; then
43133 cat >>confdefs.h <<\_ACEOF
43134 #define wxUSE_LOG 1
43135 _ACEOF
43136
43137
43138 if test "$wxUSE_LOGGUI" = "yes"; then
43139 cat >>confdefs.h <<\_ACEOF
43140 #define wxUSE_LOGGUI 1
43141 _ACEOF
43142
43143 fi
43144
43145 if test "$wxUSE_LOGWINDOW" = "yes"; then
43146 cat >>confdefs.h <<\_ACEOF
43147 #define wxUSE_LOGWINDOW 1
43148 _ACEOF
43149
43150 fi
43151
43152 if test "$wxUSE_LOGDIALOG" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define wxUSE_LOG_DIALOG 1
43155 _ACEOF
43156
43157 fi
43158
43159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43160 fi
43161
43162 if test "$wxUSE_LONGLONG" = "yes"; then
43163 cat >>confdefs.h <<\_ACEOF
43164 #define wxUSE_LONGLONG 1
43165 _ACEOF
43166
43167 fi
43168
43169 if test "$wxUSE_GEOMETRY" = "yes"; then
43170 cat >>confdefs.h <<\_ACEOF
43171 #define wxUSE_GEOMETRY 1
43172 _ACEOF
43173
43174 fi
43175
43176 if test "$wxUSE_BASE64" = "yes"; then
43177 cat >>confdefs.h <<\_ACEOF
43178 #define wxUSE_BASE64 1
43179 _ACEOF
43180
43181 fi
43182
43183 if test "$wxUSE_STREAMS" = "yes" ; then
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_STREAMS 1
43186 _ACEOF
43187
43188 fi
43189
43190 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_PRINTF_POS_PARAMS 1
43193 _ACEOF
43194
43195 fi
43196
43197 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43198 cat >>confdefs.h <<\_ACEOF
43199 #define wxUSE_OBJC_UNIQUIFYING 1
43200 _ACEOF
43201
43202 fi
43203
43204
43205 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_CONSOLE_EVENTLOOP 1
43208 _ACEOF
43209
43210
43211 if test "$wxUSE_UNIX" = "yes"; then
43212 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43213 cat >>confdefs.h <<\_ACEOF
43214 #define wxUSE_SELECT_DISPATCHER 1
43215 _ACEOF
43216
43217 fi
43218
43219 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43220
43221 for ac_header in sys/epoll.h
43222 do
43223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43227 echo $ECHO_N "(cached) $ECHO_C" >&6
43228 else
43229 cat >conftest.$ac_ext <<_ACEOF
43230 /* confdefs.h. */
43231 _ACEOF
43232 cat confdefs.h >>conftest.$ac_ext
43233 cat >>conftest.$ac_ext <<_ACEOF
43234 /* end confdefs.h. */
43235 $ac_includes_default
43236
43237 #include <$ac_header>
43238 _ACEOF
43239 rm -f conftest.$ac_objext
43240 if { (ac_try="$ac_compile"
43241 case "(($ac_try" in
43242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43243 *) ac_try_echo=$ac_try;;
43244 esac
43245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43246 (eval "$ac_compile") 2>conftest.er1
43247 ac_status=$?
43248 grep -v '^ *+' conftest.er1 >conftest.err
43249 rm -f conftest.er1
43250 cat conftest.err >&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); } && {
43253 test -z "$ac_c_werror_flag" ||
43254 test ! -s conftest.err
43255 } && test -s conftest.$ac_objext; then
43256 eval "$as_ac_Header=yes"
43257 else
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43260
43261 eval "$as_ac_Header=no"
43262 fi
43263
43264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43265 fi
43266 ac_res=`eval echo '${'$as_ac_Header'}'`
43267 { echo "$as_me:$LINENO: result: $ac_res" >&5
43268 echo "${ECHO_T}$ac_res" >&6; }
43269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43270 cat >>confdefs.h <<_ACEOF
43271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43272 _ACEOF
43273
43274 fi
43275
43276 done
43277
43278 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43279 cat >>confdefs.h <<\_ACEOF
43280 #define wxUSE_EPOLL_DISPATCHER 1
43281 _ACEOF
43282
43283 else
43284 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43285 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43286 fi
43287 fi
43288 fi
43289 fi
43290
43291
43292
43293
43294 for ac_func in gettimeofday ftime
43295 do
43296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43300 echo $ECHO_N "(cached) $ECHO_C" >&6
43301 else
43302 cat >conftest.$ac_ext <<_ACEOF
43303 /* confdefs.h. */
43304 _ACEOF
43305 cat confdefs.h >>conftest.$ac_ext
43306 cat >>conftest.$ac_ext <<_ACEOF
43307 /* end confdefs.h. */
43308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43310 #define $ac_func innocuous_$ac_func
43311
43312 /* System header to define __stub macros and hopefully few prototypes,
43313 which can conflict with char $ac_func (); below.
43314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43315 <limits.h> exists even on freestanding compilers. */
43316
43317 #ifdef __STDC__
43318 # include <limits.h>
43319 #else
43320 # include <assert.h>
43321 #endif
43322
43323 #undef $ac_func
43324
43325 /* Override any GCC internal prototype to avoid an error.
43326 Use char because int might match the return type of a GCC
43327 builtin and then its argument prototype would still apply. */
43328 #ifdef __cplusplus
43329 extern "C"
43330 #endif
43331 char $ac_func ();
43332 /* The GNU C library defines this for functions which it implements
43333 to always fail with ENOSYS. Some functions are actually named
43334 something starting with __ and the normal name is an alias. */
43335 #if defined __stub_$ac_func || defined __stub___$ac_func
43336 choke me
43337 #endif
43338
43339 int
43340 main ()
43341 {
43342 return $ac_func ();
43343 ;
43344 return 0;
43345 }
43346 _ACEOF
43347 rm -f conftest.$ac_objext conftest$ac_exeext
43348 if { (ac_try="$ac_link"
43349 case "(($ac_try" in
43350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43351 *) ac_try_echo=$ac_try;;
43352 esac
43353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43354 (eval "$ac_link") 2>conftest.er1
43355 ac_status=$?
43356 grep -v '^ *+' conftest.er1 >conftest.err
43357 rm -f conftest.er1
43358 cat conftest.err >&5
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); } && {
43361 test -z "$ac_c_werror_flag" ||
43362 test ! -s conftest.err
43363 } && test -s conftest$ac_exeext &&
43364 $as_test_x conftest$ac_exeext; then
43365 eval "$as_ac_var=yes"
43366 else
43367 echo "$as_me: failed program was:" >&5
43368 sed 's/^/| /' conftest.$ac_ext >&5
43369
43370 eval "$as_ac_var=no"
43371 fi
43372
43373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43374 conftest$ac_exeext conftest.$ac_ext
43375 fi
43376 ac_res=`eval echo '${'$as_ac_var'}'`
43377 { echo "$as_me:$LINENO: result: $ac_res" >&5
43378 echo "${ECHO_T}$ac_res" >&6; }
43379 if test `eval echo '${'$as_ac_var'}'` = yes; then
43380 cat >>confdefs.h <<_ACEOF
43381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43382 _ACEOF
43383 break
43384 fi
43385 done
43386
43387
43388 if test "$ac_cv_func_gettimeofday" = "yes"; then
43389 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43390 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43391 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 else
43394
43395 cat >conftest.$ac_ext <<_ACEOF
43396 /* confdefs.h. */
43397 _ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43401
43402 #include <sys/time.h>
43403 #include <unistd.h>
43404
43405 int
43406 main ()
43407 {
43408
43409 struct timeval tv;
43410 gettimeofday(&tv, NULL);
43411
43412 ;
43413 return 0;
43414 }
43415 _ACEOF
43416 rm -f conftest.$ac_objext
43417 if { (ac_try="$ac_compile"
43418 case "(($ac_try" in
43419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43420 *) ac_try_echo=$ac_try;;
43421 esac
43422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43423 (eval "$ac_compile") 2>conftest.er1
43424 ac_status=$?
43425 grep -v '^ *+' conftest.er1 >conftest.err
43426 rm -f conftest.er1
43427 cat conftest.err >&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); } && {
43430 test -z "$ac_c_werror_flag" ||
43431 test ! -s conftest.err
43432 } && test -s conftest.$ac_objext; then
43433 wx_cv_func_gettimeofday_has_2_args=yes
43434 else
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43437
43438 cat >conftest.$ac_ext <<_ACEOF
43439 /* confdefs.h. */
43440 _ACEOF
43441 cat confdefs.h >>conftest.$ac_ext
43442 cat >>conftest.$ac_ext <<_ACEOF
43443 /* end confdefs.h. */
43444
43445 #include <sys/time.h>
43446 #include <unistd.h>
43447
43448 int
43449 main ()
43450 {
43451
43452 struct timeval tv;
43453 gettimeofday(&tv);
43454
43455 ;
43456 return 0;
43457 }
43458 _ACEOF
43459 rm -f conftest.$ac_objext
43460 if { (ac_try="$ac_compile"
43461 case "(($ac_try" in
43462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43463 *) ac_try_echo=$ac_try;;
43464 esac
43465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43466 (eval "$ac_compile") 2>conftest.er1
43467 ac_status=$?
43468 grep -v '^ *+' conftest.er1 >conftest.err
43469 rm -f conftest.er1
43470 cat conftest.err >&5
43471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43472 (exit $ac_status); } && {
43473 test -z "$ac_c_werror_flag" ||
43474 test ! -s conftest.err
43475 } && test -s conftest.$ac_objext; then
43476 wx_cv_func_gettimeofday_has_2_args=no
43477 else
43478 echo "$as_me: failed program was:" >&5
43479 sed 's/^/| /' conftest.$ac_ext >&5
43480
43481
43482 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43483 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43484 wx_cv_func_gettimeofday_has_2_args=unknown
43485
43486
43487 fi
43488
43489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43490
43491 fi
43492
43493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43494
43495 fi
43496 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43497 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43498
43499 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43500 cat >>confdefs.h <<\_ACEOF
43501 #define WX_GETTIMEOFDAY_NO_TZ 1
43502 _ACEOF
43503
43504 fi
43505 fi
43506
43507 if test "$wxUSE_DATETIME" = "yes"; then
43508 { echo "$as_me:$LINENO: checking for strptime" >&5
43509 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43510 if test "${ac_cv_func_strptime+set}" = set; then
43511 echo $ECHO_N "(cached) $ECHO_C" >&6
43512 else
43513 cat >conftest.$ac_ext <<_ACEOF
43514 /* confdefs.h. */
43515 _ACEOF
43516 cat confdefs.h >>conftest.$ac_ext
43517 cat >>conftest.$ac_ext <<_ACEOF
43518 /* end confdefs.h. */
43519 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43521 #define strptime innocuous_strptime
43522
43523 /* System header to define __stub macros and hopefully few prototypes,
43524 which can conflict with char strptime (); below.
43525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43526 <limits.h> exists even on freestanding compilers. */
43527
43528 #ifdef __STDC__
43529 # include <limits.h>
43530 #else
43531 # include <assert.h>
43532 #endif
43533
43534 #undef strptime
43535
43536 /* Override any GCC internal prototype to avoid an error.
43537 Use char because int might match the return type of a GCC
43538 builtin and then its argument prototype would still apply. */
43539 #ifdef __cplusplus
43540 extern "C"
43541 #endif
43542 char strptime ();
43543 /* The GNU C library defines this for functions which it implements
43544 to always fail with ENOSYS. Some functions are actually named
43545 something starting with __ and the normal name is an alias. */
43546 #if defined __stub_strptime || defined __stub___strptime
43547 choke me
43548 #endif
43549
43550 int
43551 main ()
43552 {
43553 return strptime ();
43554 ;
43555 return 0;
43556 }
43557 _ACEOF
43558 rm -f conftest.$ac_objext conftest$ac_exeext
43559 if { (ac_try="$ac_link"
43560 case "(($ac_try" in
43561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43562 *) ac_try_echo=$ac_try;;
43563 esac
43564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43565 (eval "$ac_link") 2>conftest.er1
43566 ac_status=$?
43567 grep -v '^ *+' conftest.er1 >conftest.err
43568 rm -f conftest.er1
43569 cat conftest.err >&5
43570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43571 (exit $ac_status); } && {
43572 test -z "$ac_c_werror_flag" ||
43573 test ! -s conftest.err
43574 } && test -s conftest$ac_exeext &&
43575 $as_test_x conftest$ac_exeext; then
43576 ac_cv_func_strptime=yes
43577 else
43578 echo "$as_me: failed program was:" >&5
43579 sed 's/^/| /' conftest.$ac_ext >&5
43580
43581 ac_cv_func_strptime=no
43582 fi
43583
43584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43585 conftest$ac_exeext conftest.$ac_ext
43586 fi
43587 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43588 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43589
43590 if test "$ac_cv_func_strptime" = "yes"; then
43591 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43592 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43593 if test "${wx_cv_func_strptime_decl+set}" = set; then
43594 echo $ECHO_N "(cached) $ECHO_C" >&6
43595 else
43596
43597 ac_ext=cpp
43598 ac_cpp='$CXXCPP $CPPFLAGS'
43599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43602
43603 cat >conftest.$ac_ext <<_ACEOF
43604 /* confdefs.h. */
43605 _ACEOF
43606 cat confdefs.h >>conftest.$ac_ext
43607 cat >>conftest.$ac_ext <<_ACEOF
43608 /* end confdefs.h. */
43609
43610 #include <time.h>
43611
43612 int
43613 main ()
43614 {
43615
43616 struct tm t;
43617 strptime("foo", "bar", &t);
43618
43619 ;
43620 return 0;
43621 }
43622 _ACEOF
43623 rm -f conftest.$ac_objext
43624 if { (ac_try="$ac_compile"
43625 case "(($ac_try" in
43626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43627 *) ac_try_echo=$ac_try;;
43628 esac
43629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43630 (eval "$ac_compile") 2>conftest.er1
43631 ac_status=$?
43632 grep -v '^ *+' conftest.er1 >conftest.err
43633 rm -f conftest.er1
43634 cat conftest.err >&5
43635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43636 (exit $ac_status); } && {
43637 test -z "$ac_cxx_werror_flag" ||
43638 test ! -s conftest.err
43639 } && test -s conftest.$ac_objext; then
43640 wx_cv_func_strptime_decl=yes
43641 else
43642 echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43644
43645 wx_cv_func_strptime_decl=no
43646
43647 fi
43648
43649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43650 ac_ext=c
43651 ac_cpp='$CPP $CPPFLAGS'
43652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43655
43656
43657
43658 fi
43659 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43660 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43661 fi
43662 if test "$wx_cv_func_strptime_decl" = "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define HAVE_STRPTIME_DECL 1
43665 _ACEOF
43666
43667 else
43668 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43669 fi
43670 if test "$ac_cv_func_strptime" = "yes"; then
43671 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43672 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43673 if test "${wx_cv_func_strptime_ok+set}" = set; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43675 else
43676 if test "$cross_compiling" = yes; then
43677 wx_cv_func_strptime_ok=no
43678
43679 else
43680 cat >conftest.$ac_ext <<_ACEOF
43681
43682 #include <stdlib.h>
43683 #include <time.h>
43684 #include "confdefs.h"
43685
43686 $wx_strptime_decl
43687
43688 int main()
43689 {
43690 struct tm t;
43691 return !!strptime("", "%x", &t);
43692 }
43693
43694 _ACEOF
43695 rm -f 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>&5
43703 ac_status=$?
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43706 { (case "(($ac_try" in
43707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43708 *) ac_try_echo=$ac_try;;
43709 esac
43710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43711 (eval "$ac_try") 2>&5
43712 ac_status=$?
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); }; }; then
43715 wx_cv_func_strptime_ok=yes
43716 else
43717 echo "$as_me: program exited with status $ac_status" >&5
43718 echo "$as_me: failed program was:" >&5
43719 sed 's/^/| /' conftest.$ac_ext >&5
43720
43721 ( exit $ac_status )
43722 wx_cv_func_strptime_ok=no
43723 fi
43724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43725 fi
43726
43727
43728
43729 fi
43730 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43731 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43732
43733 if test "$wx_cv_func_strptime_ok" = "yes"; then
43734 cat >>confdefs.h <<\_ACEOF
43735 #define HAVE_STRPTIME 1
43736 _ACEOF
43737
43738 fi
43739 fi
43740
43741 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43742 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43743 if test "${wx_cv_var_timezone+set}" = set; then
43744 echo $ECHO_N "(cached) $ECHO_C" >&6
43745 else
43746
43747 ac_ext=cpp
43748 ac_cpp='$CXXCPP $CPPFLAGS'
43749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43752
43753 cat >conftest.$ac_ext <<_ACEOF
43754 /* confdefs.h. */
43755 _ACEOF
43756 cat confdefs.h >>conftest.$ac_ext
43757 cat >>conftest.$ac_ext <<_ACEOF
43758 /* end confdefs.h. */
43759
43760 #include <time.h>
43761
43762 int
43763 main ()
43764 {
43765
43766 int tz;
43767 tz = timezone;
43768
43769 ;
43770 return 0;
43771 }
43772 _ACEOF
43773 rm -f conftest.$ac_objext
43774 if { (ac_try="$ac_compile"
43775 case "(($ac_try" in
43776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43777 *) ac_try_echo=$ac_try;;
43778 esac
43779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43780 (eval "$ac_compile") 2>conftest.er1
43781 ac_status=$?
43782 grep -v '^ *+' conftest.er1 >conftest.err
43783 rm -f conftest.er1
43784 cat conftest.err >&5
43785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43786 (exit $ac_status); } && {
43787 test -z "$ac_cxx_werror_flag" ||
43788 test ! -s conftest.err
43789 } && test -s conftest.$ac_objext; then
43790
43791 wx_cv_var_timezone=timezone
43792
43793 else
43794 echo "$as_me: failed program was:" >&5
43795 sed 's/^/| /' conftest.$ac_ext >&5
43796
43797
43798 cat >conftest.$ac_ext <<_ACEOF
43799 /* confdefs.h. */
43800 _ACEOF
43801 cat confdefs.h >>conftest.$ac_ext
43802 cat >>conftest.$ac_ext <<_ACEOF
43803 /* end confdefs.h. */
43804
43805 #include <time.h>
43806
43807 int
43808 main ()
43809 {
43810
43811 int tz;
43812 tz = _timezone;
43813
43814 ;
43815 return 0;
43816 }
43817 _ACEOF
43818 rm -f conftest.$ac_objext
43819 if { (ac_try="$ac_compile"
43820 case "(($ac_try" in
43821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43822 *) ac_try_echo=$ac_try;;
43823 esac
43824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43825 (eval "$ac_compile") 2>conftest.er1
43826 ac_status=$?
43827 grep -v '^ *+' conftest.er1 >conftest.err
43828 rm -f conftest.er1
43829 cat conftest.err >&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); } && {
43832 test -z "$ac_cxx_werror_flag" ||
43833 test ! -s conftest.err
43834 } && test -s conftest.$ac_objext; then
43835
43836 wx_cv_var_timezone=_timezone
43837
43838 else
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.$ac_ext >&5
43841
43842
43843 cat >conftest.$ac_ext <<_ACEOF
43844 /* confdefs.h. */
43845 _ACEOF
43846 cat confdefs.h >>conftest.$ac_ext
43847 cat >>conftest.$ac_ext <<_ACEOF
43848 /* end confdefs.h. */
43849
43850 #include <time.h>
43851
43852 int
43853 main ()
43854 {
43855
43856 int tz;
43857 tz = __timezone;
43858
43859 ;
43860 return 0;
43861 }
43862 _ACEOF
43863 rm -f conftest.$ac_objext
43864 if { (ac_try="$ac_compile"
43865 case "(($ac_try" in
43866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43867 *) ac_try_echo=$ac_try;;
43868 esac
43869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43870 (eval "$ac_compile") 2>conftest.er1
43871 ac_status=$?
43872 grep -v '^ *+' conftest.er1 >conftest.err
43873 rm -f conftest.er1
43874 cat conftest.err >&5
43875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876 (exit $ac_status); } && {
43877 test -z "$ac_cxx_werror_flag" ||
43878 test ! -s conftest.err
43879 } && test -s conftest.$ac_objext; then
43880
43881 wx_cv_var_timezone=__timezone
43882
43883 else
43884 echo "$as_me: failed program was:" >&5
43885 sed 's/^/| /' conftest.$ac_ext >&5
43886
43887
43888 if test "$USE_DOS" = 0 ; then
43889 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43890 echo "$as_me: WARNING: no timezone variable" >&2;}
43891 fi
43892
43893
43894 fi
43895
43896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43897
43898
43899 fi
43900
43901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43902
43903
43904 fi
43905
43906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43907 ac_ext=c
43908 ac_cpp='$CPP $CPPFLAGS'
43909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43912
43913
43914
43915 fi
43916 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43917 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43918
43919 if test "x$wx_cv_var_timezone" != x ; then
43920 cat >>confdefs.h <<_ACEOF
43921 #define WX_TIMEZONE $wx_cv_var_timezone
43922 _ACEOF
43923
43924 fi
43925
43926
43927 for ac_func in localtime
43928 do
43929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43933 echo $ECHO_N "(cached) $ECHO_C" >&6
43934 else
43935 cat >conftest.$ac_ext <<_ACEOF
43936 /* confdefs.h. */
43937 _ACEOF
43938 cat confdefs.h >>conftest.$ac_ext
43939 cat >>conftest.$ac_ext <<_ACEOF
43940 /* end confdefs.h. */
43941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43943 #define $ac_func innocuous_$ac_func
43944
43945 /* System header to define __stub macros and hopefully few prototypes,
43946 which can conflict with char $ac_func (); below.
43947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43948 <limits.h> exists even on freestanding compilers. */
43949
43950 #ifdef __STDC__
43951 # include <limits.h>
43952 #else
43953 # include <assert.h>
43954 #endif
43955
43956 #undef $ac_func
43957
43958 /* Override any GCC internal prototype to avoid an error.
43959 Use char because int might match the return type of a GCC
43960 builtin and then its argument prototype would still apply. */
43961 #ifdef __cplusplus
43962 extern "C"
43963 #endif
43964 char $ac_func ();
43965 /* The GNU C library defines this for functions which it implements
43966 to always fail with ENOSYS. Some functions are actually named
43967 something starting with __ and the normal name is an alias. */
43968 #if defined __stub_$ac_func || defined __stub___$ac_func
43969 choke me
43970 #endif
43971
43972 int
43973 main ()
43974 {
43975 return $ac_func ();
43976 ;
43977 return 0;
43978 }
43979 _ACEOF
43980 rm -f conftest.$ac_objext conftest$ac_exeext
43981 if { (ac_try="$ac_link"
43982 case "(($ac_try" in
43983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43984 *) ac_try_echo=$ac_try;;
43985 esac
43986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43987 (eval "$ac_link") 2>conftest.er1
43988 ac_status=$?
43989 grep -v '^ *+' conftest.er1 >conftest.err
43990 rm -f conftest.er1
43991 cat conftest.err >&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); } && {
43994 test -z "$ac_c_werror_flag" ||
43995 test ! -s conftest.err
43996 } && test -s conftest$ac_exeext &&
43997 $as_test_x conftest$ac_exeext; then
43998 eval "$as_ac_var=yes"
43999 else
44000 echo "$as_me: failed program was:" >&5
44001 sed 's/^/| /' conftest.$ac_ext >&5
44002
44003 eval "$as_ac_var=no"
44004 fi
44005
44006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44007 conftest$ac_exeext conftest.$ac_ext
44008 fi
44009 ac_res=`eval echo '${'$as_ac_var'}'`
44010 { echo "$as_me:$LINENO: result: $ac_res" >&5
44011 echo "${ECHO_T}$ac_res" >&6; }
44012 if test `eval echo '${'$as_ac_var'}'` = yes; then
44013 cat >>confdefs.h <<_ACEOF
44014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44015 _ACEOF
44016
44017 fi
44018 done
44019
44020
44021 if test "$ac_cv_func_localtime" = "yes"; then
44022 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44023 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44024 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44025 echo $ECHO_N "(cached) $ECHO_C" >&6
44026 else
44027
44028 cat >conftest.$ac_ext <<_ACEOF
44029 /* confdefs.h. */
44030 _ACEOF
44031 cat confdefs.h >>conftest.$ac_ext
44032 cat >>conftest.$ac_ext <<_ACEOF
44033 /* end confdefs.h. */
44034
44035 #include <time.h>
44036
44037 int
44038 main ()
44039 {
44040
44041 struct tm tm;
44042 tm.tm_gmtoff++;
44043
44044 ;
44045 return 0;
44046 }
44047 _ACEOF
44048 rm -f conftest.$ac_objext
44049 if { (ac_try="$ac_compile"
44050 case "(($ac_try" in
44051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44052 *) ac_try_echo=$ac_try;;
44053 esac
44054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44055 (eval "$ac_compile") 2>conftest.er1
44056 ac_status=$?
44057 grep -v '^ *+' conftest.er1 >conftest.err
44058 rm -f conftest.er1
44059 cat conftest.err >&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } && {
44062 test -z "$ac_c_werror_flag" ||
44063 test ! -s conftest.err
44064 } && test -s conftest.$ac_objext; then
44065
44066 wx_cv_struct_tm_has_gmtoff=yes
44067
44068 else
44069 echo "$as_me: failed program was:" >&5
44070 sed 's/^/| /' conftest.$ac_ext >&5
44071
44072 wx_cv_struct_tm_has_gmtoff=no
44073
44074 fi
44075
44076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44077
44078 fi
44079 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44080 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44081 fi
44082
44083 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44084 cat >>confdefs.h <<\_ACEOF
44085 #define WX_GMTOFF_IN_TM 1
44086 _ACEOF
44087
44088 fi
44089
44090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44091 fi
44092
44093
44094 if test "$wxUSE_SOCKETS" = "yes"; then
44095 if test "$wxUSE_MGL" = 1; then
44096 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44097 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44098 wxUSE_SOCKETS="no"
44099 fi
44100 fi
44101
44102 if test "$wxUSE_SOCKETS" = "yes"; then
44103 if test "$TOOLKIT" != "MSW"; then
44104 { echo "$as_me:$LINENO: checking for socket" >&5
44105 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44106 if test "${ac_cv_func_socket+set}" = set; then
44107 echo $ECHO_N "(cached) $ECHO_C" >&6
44108 else
44109 cat >conftest.$ac_ext <<_ACEOF
44110 /* confdefs.h. */
44111 _ACEOF
44112 cat confdefs.h >>conftest.$ac_ext
44113 cat >>conftest.$ac_ext <<_ACEOF
44114 /* end confdefs.h. */
44115 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44117 #define socket innocuous_socket
44118
44119 /* System header to define __stub macros and hopefully few prototypes,
44120 which can conflict with char socket (); below.
44121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44122 <limits.h> exists even on freestanding compilers. */
44123
44124 #ifdef __STDC__
44125 # include <limits.h>
44126 #else
44127 # include <assert.h>
44128 #endif
44129
44130 #undef socket
44131
44132 /* Override any GCC internal prototype to avoid an error.
44133 Use char because int might match the return type of a GCC
44134 builtin and then its argument prototype would still apply. */
44135 #ifdef __cplusplus
44136 extern "C"
44137 #endif
44138 char socket ();
44139 /* The GNU C library defines this for functions which it implements
44140 to always fail with ENOSYS. Some functions are actually named
44141 something starting with __ and the normal name is an alias. */
44142 #if defined __stub_socket || defined __stub___socket
44143 choke me
44144 #endif
44145
44146 int
44147 main ()
44148 {
44149 return socket ();
44150 ;
44151 return 0;
44152 }
44153 _ACEOF
44154 rm -f conftest.$ac_objext conftest$ac_exeext
44155 if { (ac_try="$ac_link"
44156 case "(($ac_try" in
44157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44158 *) ac_try_echo=$ac_try;;
44159 esac
44160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44161 (eval "$ac_link") 2>conftest.er1
44162 ac_status=$?
44163 grep -v '^ *+' conftest.er1 >conftest.err
44164 rm -f conftest.er1
44165 cat conftest.err >&5
44166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44167 (exit $ac_status); } && {
44168 test -z "$ac_c_werror_flag" ||
44169 test ! -s conftest.err
44170 } && test -s conftest$ac_exeext &&
44171 $as_test_x conftest$ac_exeext; then
44172 ac_cv_func_socket=yes
44173 else
44174 echo "$as_me: failed program was:" >&5
44175 sed 's/^/| /' conftest.$ac_ext >&5
44176
44177 ac_cv_func_socket=no
44178 fi
44179
44180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44181 conftest$ac_exeext conftest.$ac_ext
44182 fi
44183 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44184 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44185 if test $ac_cv_func_socket = yes; then
44186 :
44187 else
44188
44189 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44190 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44191 if test "${ac_cv_lib_socket_socket+set}" = set; then
44192 echo $ECHO_N "(cached) $ECHO_C" >&6
44193 else
44194 ac_check_lib_save_LIBS=$LIBS
44195 LIBS="-lsocket $LIBS"
44196 cat >conftest.$ac_ext <<_ACEOF
44197 /* confdefs.h. */
44198 _ACEOF
44199 cat confdefs.h >>conftest.$ac_ext
44200 cat >>conftest.$ac_ext <<_ACEOF
44201 /* end confdefs.h. */
44202
44203 /* Override any GCC internal prototype to avoid an error.
44204 Use char because int might match the return type of a GCC
44205 builtin and then its argument prototype would still apply. */
44206 #ifdef __cplusplus
44207 extern "C"
44208 #endif
44209 char socket ();
44210 int
44211 main ()
44212 {
44213 return socket ();
44214 ;
44215 return 0;
44216 }
44217 _ACEOF
44218 rm -f conftest.$ac_objext conftest$ac_exeext
44219 if { (ac_try="$ac_link"
44220 case "(($ac_try" in
44221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44222 *) ac_try_echo=$ac_try;;
44223 esac
44224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44225 (eval "$ac_link") 2>conftest.er1
44226 ac_status=$?
44227 grep -v '^ *+' conftest.er1 >conftest.err
44228 rm -f conftest.er1
44229 cat conftest.err >&5
44230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44231 (exit $ac_status); } && {
44232 test -z "$ac_c_werror_flag" ||
44233 test ! -s conftest.err
44234 } && test -s conftest$ac_exeext &&
44235 $as_test_x conftest$ac_exeext; then
44236 ac_cv_lib_socket_socket=yes
44237 else
44238 echo "$as_me: failed program was:" >&5
44239 sed 's/^/| /' conftest.$ac_ext >&5
44240
44241 ac_cv_lib_socket_socket=no
44242 fi
44243
44244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44245 conftest$ac_exeext conftest.$ac_ext
44246 LIBS=$ac_check_lib_save_LIBS
44247 fi
44248 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44249 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44250 if test $ac_cv_lib_socket_socket = yes; then
44251 if test "$INET_LINK" != " -lsocket"; then
44252 INET_LINK="$INET_LINK -lsocket"
44253 fi
44254 else
44255
44256 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44257 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44258 wxUSE_SOCKETS=no
44259
44260
44261 fi
44262
44263
44264
44265 fi
44266
44267 fi
44268 fi
44269
44270 if test "$wxUSE_SOCKETS" = "yes" ; then
44271 if test "$TOOLKIT" != "MSW"; then
44272 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44273 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44274 if test "${wx_cv_type_getsockname3+set}" = set; then
44275 echo $ECHO_N "(cached) $ECHO_C" >&6
44276 else
44277
44278 ac_ext=cpp
44279 ac_cpp='$CXXCPP $CPPFLAGS'
44280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44283
44284 cat >conftest.$ac_ext <<_ACEOF
44285 /* confdefs.h. */
44286 _ACEOF
44287 cat confdefs.h >>conftest.$ac_ext
44288 cat >>conftest.$ac_ext <<_ACEOF
44289 /* end confdefs.h. */
44290
44291 #include <sys/types.h>
44292 #include <sys/socket.h>
44293
44294 int
44295 main ()
44296 {
44297
44298 socklen_t len;
44299 getsockname(0, 0, &len);
44300
44301 ;
44302 return 0;
44303 }
44304 _ACEOF
44305 rm -f conftest.$ac_objext
44306 if { (ac_try="$ac_compile"
44307 case "(($ac_try" in
44308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44309 *) ac_try_echo=$ac_try;;
44310 esac
44311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44312 (eval "$ac_compile") 2>conftest.er1
44313 ac_status=$?
44314 grep -v '^ *+' conftest.er1 >conftest.err
44315 rm -f conftest.er1
44316 cat conftest.err >&5
44317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44318 (exit $ac_status); } && {
44319 test -z "$ac_cxx_werror_flag" ||
44320 test ! -s conftest.err
44321 } && test -s conftest.$ac_objext; then
44322 wx_cv_type_getsockname3=socklen_t
44323 else
44324 echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.$ac_ext >&5
44326
44327
44328 CFLAGS_OLD="$CFLAGS"
44329 if test "$GCC" = yes ; then
44330 CFLAGS="-Werror $CFLAGS"
44331 fi
44332
44333 cat >conftest.$ac_ext <<_ACEOF
44334 /* confdefs.h. */
44335 _ACEOF
44336 cat confdefs.h >>conftest.$ac_ext
44337 cat >>conftest.$ac_ext <<_ACEOF
44338 /* end confdefs.h. */
44339
44340 #include <sys/types.h>
44341 #include <sys/socket.h>
44342
44343 int
44344 main ()
44345 {
44346
44347 size_t len;
44348 getsockname(0, 0, &len);
44349
44350 ;
44351 return 0;
44352 }
44353 _ACEOF
44354 rm -f conftest.$ac_objext
44355 if { (ac_try="$ac_compile"
44356 case "(($ac_try" in
44357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44358 *) ac_try_echo=$ac_try;;
44359 esac
44360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44361 (eval "$ac_compile") 2>conftest.er1
44362 ac_status=$?
44363 grep -v '^ *+' conftest.er1 >conftest.err
44364 rm -f conftest.er1
44365 cat conftest.err >&5
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); } && {
44368 test -z "$ac_cxx_werror_flag" ||
44369 test ! -s conftest.err
44370 } && test -s conftest.$ac_objext; then
44371 wx_cv_type_getsockname3=size_t
44372 else
44373 echo "$as_me: failed program was:" >&5
44374 sed 's/^/| /' conftest.$ac_ext >&5
44375
44376 cat >conftest.$ac_ext <<_ACEOF
44377 /* confdefs.h. */
44378 _ACEOF
44379 cat confdefs.h >>conftest.$ac_ext
44380 cat >>conftest.$ac_ext <<_ACEOF
44381 /* end confdefs.h. */
44382
44383 #include <sys/types.h>
44384 #include <sys/socket.h>
44385
44386 int
44387 main ()
44388 {
44389
44390 int len;
44391 getsockname(0, 0, &len);
44392
44393 ;
44394 return 0;
44395 }
44396 _ACEOF
44397 rm -f conftest.$ac_objext
44398 if { (ac_try="$ac_compile"
44399 case "(($ac_try" in
44400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44401 *) ac_try_echo=$ac_try;;
44402 esac
44403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44404 (eval "$ac_compile") 2>conftest.er1
44405 ac_status=$?
44406 grep -v '^ *+' conftest.er1 >conftest.err
44407 rm -f conftest.er1
44408 cat conftest.err >&5
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); } && {
44411 test -z "$ac_cxx_werror_flag" ||
44412 test ! -s conftest.err
44413 } && test -s conftest.$ac_objext; then
44414 wx_cv_type_getsockname3=int
44415 else
44416 echo "$as_me: failed program was:" >&5
44417 sed 's/^/| /' conftest.$ac_ext >&5
44418
44419 wx_cv_type_getsockname3=unknown
44420
44421 fi
44422
44423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44424
44425 fi
44426
44427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44428
44429 CFLAGS="$CFLAGS_OLD"
44430
44431
44432 fi
44433
44434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44435 ac_ext=c
44436 ac_cpp='$CPP $CPPFLAGS'
44437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44440
44441
44442 fi
44443 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44444 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44445
44446 if test "$wx_cv_type_getsockname3" = "unknown"; then
44447 wxUSE_SOCKETS=no
44448 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44449 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44450 else
44451 cat >>confdefs.h <<_ACEOF
44452 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44453 _ACEOF
44454
44455 fi
44456 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44457 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44458 if test "${wx_cv_type_getsockopt5+set}" = set; then
44459 echo $ECHO_N "(cached) $ECHO_C" >&6
44460 else
44461
44462 ac_ext=cpp
44463 ac_cpp='$CXXCPP $CPPFLAGS'
44464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44467
44468 cat >conftest.$ac_ext <<_ACEOF
44469 /* confdefs.h. */
44470 _ACEOF
44471 cat confdefs.h >>conftest.$ac_ext
44472 cat >>conftest.$ac_ext <<_ACEOF
44473 /* end confdefs.h. */
44474
44475 #include <sys/types.h>
44476 #include <sys/socket.h>
44477
44478 int
44479 main ()
44480 {
44481
44482 socklen_t len;
44483 getsockopt(0, 0, 0, 0, &len);
44484
44485 ;
44486 return 0;
44487 }
44488 _ACEOF
44489 rm -f conftest.$ac_objext
44490 if { (ac_try="$ac_compile"
44491 case "(($ac_try" in
44492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44493 *) ac_try_echo=$ac_try;;
44494 esac
44495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44496 (eval "$ac_compile") 2>conftest.er1
44497 ac_status=$?
44498 grep -v '^ *+' conftest.er1 >conftest.err
44499 rm -f conftest.er1
44500 cat conftest.err >&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); } && {
44503 test -z "$ac_cxx_werror_flag" ||
44504 test ! -s conftest.err
44505 } && test -s conftest.$ac_objext; then
44506 wx_cv_type_getsockopt5=socklen_t
44507 else
44508 echo "$as_me: failed program was:" >&5
44509 sed 's/^/| /' conftest.$ac_ext >&5
44510
44511
44512 cat >conftest.$ac_ext <<_ACEOF
44513 /* confdefs.h. */
44514 _ACEOF
44515 cat confdefs.h >>conftest.$ac_ext
44516 cat >>conftest.$ac_ext <<_ACEOF
44517 /* end confdefs.h. */
44518
44519 #include <sys/types.h>
44520 #include <sys/socket.h>
44521
44522 int
44523 main ()
44524 {
44525
44526 size_t len;
44527 getsockopt(0, 0, 0, 0, &len);
44528
44529 ;
44530 return 0;
44531 }
44532 _ACEOF
44533 rm -f conftest.$ac_objext
44534 if { (ac_try="$ac_compile"
44535 case "(($ac_try" in
44536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44537 *) ac_try_echo=$ac_try;;
44538 esac
44539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44540 (eval "$ac_compile") 2>conftest.er1
44541 ac_status=$?
44542 grep -v '^ *+' conftest.er1 >conftest.err
44543 rm -f conftest.er1
44544 cat conftest.err >&5
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); } && {
44547 test -z "$ac_cxx_werror_flag" ||
44548 test ! -s conftest.err
44549 } && test -s conftest.$ac_objext; then
44550 wx_cv_type_getsockopt5=size_t
44551 else
44552 echo "$as_me: failed program was:" >&5
44553 sed 's/^/| /' conftest.$ac_ext >&5
44554
44555 cat >conftest.$ac_ext <<_ACEOF
44556 /* confdefs.h. */
44557 _ACEOF
44558 cat confdefs.h >>conftest.$ac_ext
44559 cat >>conftest.$ac_ext <<_ACEOF
44560 /* end confdefs.h. */
44561
44562 #include <sys/types.h>
44563 #include <sys/socket.h>
44564
44565 int
44566 main ()
44567 {
44568
44569 int len;
44570 getsockopt(0, 0, 0, 0, &len);
44571
44572 ;
44573 return 0;
44574 }
44575 _ACEOF
44576 rm -f conftest.$ac_objext
44577 if { (ac_try="$ac_compile"
44578 case "(($ac_try" in
44579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44580 *) ac_try_echo=$ac_try;;
44581 esac
44582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44583 (eval "$ac_compile") 2>conftest.er1
44584 ac_status=$?
44585 grep -v '^ *+' conftest.er1 >conftest.err
44586 rm -f conftest.er1
44587 cat conftest.err >&5
44588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44589 (exit $ac_status); } && {
44590 test -z "$ac_cxx_werror_flag" ||
44591 test ! -s conftest.err
44592 } && test -s conftest.$ac_objext; then
44593 wx_cv_type_getsockopt5=int
44594 else
44595 echo "$as_me: failed program was:" >&5
44596 sed 's/^/| /' conftest.$ac_ext >&5
44597
44598 wx_cv_type_getsockopt5=unknown
44599
44600 fi
44601
44602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44603
44604 fi
44605
44606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44607
44608
44609 fi
44610
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44617
44618
44619 fi
44620 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44621 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44622
44623 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44624 wxUSE_SOCKETS=no
44625 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44626 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44627 else
44628 cat >>confdefs.h <<_ACEOF
44629 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44630 _ACEOF
44631
44632 fi
44633 fi
44634 fi
44635
44636 if test "$wxUSE_SOCKETS" = "yes" ; then
44637 if test "$wxUSE_IPV6" = "yes"; then
44638 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44639 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44640 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44641 echo $ECHO_N "(cached) $ECHO_C" >&6
44642 else
44643
44644 cat >conftest.$ac_ext <<_ACEOF
44645 /* confdefs.h. */
44646 _ACEOF
44647 cat confdefs.h >>conftest.$ac_ext
44648 cat >>conftest.$ac_ext <<_ACEOF
44649 /* end confdefs.h. */
44650
44651 #include <sys/types.h>
44652 #include <sys/socket.h>
44653 #include <netinet/in.h>
44654
44655 int
44656 main ()
44657 {
44658
44659 struct sockaddr_in6 sa6;
44660
44661 ;
44662 return 0;
44663 }
44664 _ACEOF
44665 rm -f conftest.$ac_objext
44666 if { (ac_try="$ac_compile"
44667 case "(($ac_try" in
44668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44669 *) ac_try_echo=$ac_try;;
44670 esac
44671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44672 (eval "$ac_compile") 2>conftest.er1
44673 ac_status=$?
44674 grep -v '^ *+' conftest.er1 >conftest.err
44675 rm -f conftest.er1
44676 cat conftest.err >&5
44677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44678 (exit $ac_status); } && {
44679 test -z "$ac_c_werror_flag" ||
44680 test ! -s conftest.err
44681 } && test -s conftest.$ac_objext; then
44682 wx_cv_type_sockaddr_in6=yes
44683 else
44684 echo "$as_me: failed program was:" >&5
44685 sed 's/^/| /' conftest.$ac_ext >&5
44686
44687 wx_cv_type_sockaddr_in6=no
44688
44689 fi
44690
44691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44692
44693
44694 fi
44695 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44696 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44697
44698 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_IPV6 1
44701 _ACEOF
44702
44703 else
44704 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44705 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44706 fi
44707 fi
44708
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_SOCKETS 1
44711 _ACEOF
44712
44713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44714 fi
44715
44716 if test "$wxUSE_PROTOCOL" = "yes"; then
44717 if test "$wxUSE_SOCKETS" != "yes"; then
44718 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44719 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44720 wxUSE_PROTOCOL=no
44721 fi
44722 fi
44723
44724 if test "$wxUSE_PROTOCOL" = "yes"; then
44725 cat >>confdefs.h <<\_ACEOF
44726 #define wxUSE_PROTOCOL 1
44727 _ACEOF
44728
44729
44730 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_PROTOCOL_HTTP 1
44733 _ACEOF
44734
44735 fi
44736 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_PROTOCOL_FTP 1
44739 _ACEOF
44740
44741 fi
44742 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_PROTOCOL_FILE 1
44745 _ACEOF
44746
44747 fi
44748 else
44749 if test "$wxUSE_FS_INET" = "yes"; then
44750 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44751 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44752 wxUSE_FS_INET="no"
44753 fi
44754 fi
44755
44756 if test "$wxUSE_URL" = "yes"; then
44757 if test "$wxUSE_PROTOCOL" != "yes"; then
44758 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44759 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44760 wxUSE_URL=no
44761 fi
44762 if test "$wxUSE_URL" = "yes"; then
44763 cat >>confdefs.h <<\_ACEOF
44764 #define wxUSE_URL 1
44765 _ACEOF
44766
44767 fi
44768 fi
44769
44770 if test "$wxUSE_VARIANT" = "yes"; then
44771 cat >>confdefs.h <<\_ACEOF
44772 #define wxUSE_VARIANT 1
44773 _ACEOF
44774
44775 fi
44776
44777 if test "$wxUSE_FS_INET" = "yes"; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_FS_INET 1
44780 _ACEOF
44781
44782 fi
44783
44784
44785 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44786 wxUSE_JOYSTICK=no
44787
44788 if test "$TOOLKIT" = "MSW"; then
44789 wxUSE_JOYSTICK=yes
44790
44791 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44792 if test "$USE_DARWIN" = 1; then
44793 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44794 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44795 ac_ext=cpp
44796 ac_cpp='$CXXCPP $CPPFLAGS'
44797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44800
44801 cat >conftest.$ac_ext <<_ACEOF
44802 /* confdefs.h. */
44803 _ACEOF
44804 cat confdefs.h >>conftest.$ac_ext
44805 cat >>conftest.$ac_ext <<_ACEOF
44806 /* end confdefs.h. */
44807 #include <IOKit/hid/IOHIDLib.h>
44808 int
44809 main ()
44810 {
44811 IOHIDQueueInterface *qi = NULL;
44812 IOHIDCallbackFunction cb = NULL;
44813 qi->setEventCallout(NULL, cb, NULL, NULL);
44814 ;
44815 return 0;
44816 }
44817 _ACEOF
44818 rm -f conftest.$ac_objext
44819 if { (ac_try="$ac_compile"
44820 case "(($ac_try" in
44821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44822 *) ac_try_echo=$ac_try;;
44823 esac
44824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44825 (eval "$ac_compile") 2>conftest.er1
44826 ac_status=$?
44827 grep -v '^ *+' conftest.er1 >conftest.err
44828 rm -f conftest.er1
44829 cat conftest.err >&5
44830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44831 (exit $ac_status); } && {
44832 test -z "$ac_cxx_werror_flag" ||
44833 test ! -s conftest.err
44834 } && test -s conftest.$ac_objext; then
44835 wxUSE_JOYSTICK=yes
44836
44837 else
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44840
44841
44842 fi
44843
44844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44845 ac_ext=c
44846 ac_cpp='$CPP $CPPFLAGS'
44847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44850
44851 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44852 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44853 fi
44854
44855 else
44856 if test "$wxUSE_MGL" != 1; then
44857
44858 for ac_header in linux/joystick.h
44859 do
44860 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44861 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44864 echo $ECHO_N "(cached) $ECHO_C" >&6
44865 else
44866 cat >conftest.$ac_ext <<_ACEOF
44867 /* confdefs.h. */
44868 _ACEOF
44869 cat confdefs.h >>conftest.$ac_ext
44870 cat >>conftest.$ac_ext <<_ACEOF
44871 /* end confdefs.h. */
44872 $ac_includes_default
44873
44874 #include <$ac_header>
44875 _ACEOF
44876 rm -f conftest.$ac_objext
44877 if { (ac_try="$ac_compile"
44878 case "(($ac_try" in
44879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44880 *) ac_try_echo=$ac_try;;
44881 esac
44882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44883 (eval "$ac_compile") 2>conftest.er1
44884 ac_status=$?
44885 grep -v '^ *+' conftest.er1 >conftest.err
44886 rm -f conftest.er1
44887 cat conftest.err >&5
44888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44889 (exit $ac_status); } && {
44890 test -z "$ac_c_werror_flag" ||
44891 test ! -s conftest.err
44892 } && test -s conftest.$ac_objext; then
44893 eval "$as_ac_Header=yes"
44894 else
44895 echo "$as_me: failed program was:" >&5
44896 sed 's/^/| /' conftest.$ac_ext >&5
44897
44898 eval "$as_ac_Header=no"
44899 fi
44900
44901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44902 fi
44903 ac_res=`eval echo '${'$as_ac_Header'}'`
44904 { echo "$as_me:$LINENO: result: $ac_res" >&5
44905 echo "${ECHO_T}$ac_res" >&6; }
44906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44907 cat >>confdefs.h <<_ACEOF
44908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44909 _ACEOF
44910 wxUSE_JOYSTICK=yes
44911 fi
44912
44913 done
44914
44915 fi
44916 fi
44917
44918 if test "$wxUSE_JOYSTICK" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_JOYSTICK 1
44921 _ACEOF
44922
44923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44924 else
44925 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44926 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44927 fi
44928 fi
44929
44930
44931
44932 if test "$wxUSE_FONTENUM" = "yes" ; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_FONTENUM 1
44935 _ACEOF
44936
44937 fi
44938
44939 if test "$wxUSE_FONTMAP" = "yes" ; then
44940 cat >>confdefs.h <<\_ACEOF
44941 #define wxUSE_FONTMAP 1
44942 _ACEOF
44943
44944 fi
44945
44946 if test "$wxUSE_UNICODE" = "yes" ; then
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_UNICODE 1
44949 _ACEOF
44950
44951
44952 if test "$USE_WIN32" != 1; then
44953 wxUSE_UNICODE_MSLU=no
44954 fi
44955
44956 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44957 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44958 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44959 if test "${ac_cv_lib_unicows_main+set}" = set; then
44960 echo $ECHO_N "(cached) $ECHO_C" >&6
44961 else
44962 ac_check_lib_save_LIBS=$LIBS
44963 LIBS="-lunicows $LIBS"
44964 cat >conftest.$ac_ext <<_ACEOF
44965 /* confdefs.h. */
44966 _ACEOF
44967 cat confdefs.h >>conftest.$ac_ext
44968 cat >>conftest.$ac_ext <<_ACEOF
44969 /* end confdefs.h. */
44970
44971
44972 int
44973 main ()
44974 {
44975 return main ();
44976 ;
44977 return 0;
44978 }
44979 _ACEOF
44980 rm -f conftest.$ac_objext conftest$ac_exeext
44981 if { (ac_try="$ac_link"
44982 case "(($ac_try" in
44983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44984 *) ac_try_echo=$ac_try;;
44985 esac
44986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44987 (eval "$ac_link") 2>conftest.er1
44988 ac_status=$?
44989 grep -v '^ *+' conftest.er1 >conftest.err
44990 rm -f conftest.er1
44991 cat conftest.err >&5
44992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44993 (exit $ac_status); } && {
44994 test -z "$ac_c_werror_flag" ||
44995 test ! -s conftest.err
44996 } && test -s conftest$ac_exeext &&
44997 $as_test_x conftest$ac_exeext; then
44998 ac_cv_lib_unicows_main=yes
44999 else
45000 echo "$as_me: failed program was:" >&5
45001 sed 's/^/| /' conftest.$ac_ext >&5
45002
45003 ac_cv_lib_unicows_main=no
45004 fi
45005
45006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45007 conftest$ac_exeext conftest.$ac_ext
45008 LIBS=$ac_check_lib_save_LIBS
45009 fi
45010 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45011 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45012 if test $ac_cv_lib_unicows_main = yes; then
45013
45014 cat >>confdefs.h <<\_ACEOF
45015 #define wxUSE_UNICODE_MSLU 1
45016 _ACEOF
45017
45018
45019 else
45020
45021 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45022 Applications will only run on Windows NT/2000/XP!" >&5
45023 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45024 Applications will only run on Windows NT/2000/XP!" >&2;}
45025 wxUSE_UNICODE_MSLU=no
45026
45027 fi
45028
45029 fi
45030 fi
45031
45032 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_UNICODE_UTF8 1
45035 _ACEOF
45036
45037
45038 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45039 cat >>confdefs.h <<\_ACEOF
45040 #define wxUSE_UTF8_LOCALE_ONLY 1
45041 _ACEOF
45042
45043 fi
45044 fi
45045
45046
45047 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_CONSTRAINTS 1
45050 _ACEOF
45051
45052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45053 fi
45054
45055 if test "$wxUSE_MDI" = "yes"; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_MDI 1
45058 _ACEOF
45059
45060
45061 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_MDI_ARCHITECTURE 1
45064 _ACEOF
45065
45066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45067 fi
45068 fi
45069
45070 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45073 _ACEOF
45074
45075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45076 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45078 fi
45079 fi
45080
45081 if test "$wxUSE_HELP" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_HELP 1
45084 _ACEOF
45085
45086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45087
45088 if test "$wxUSE_MSW" = 1; then
45089 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45090 cat >>confdefs.h <<\_ACEOF
45091 #define wxUSE_MS_HTML_HELP 1
45092 _ACEOF
45093
45094 fi
45095 fi
45096
45097 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45098 if test "$wxUSE_HTML" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_WXHTML_HELP 1
45101 _ACEOF
45102
45103 else
45104 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45105 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45106 wxUSE_WXHTML_HELP=no
45107 fi
45108 fi
45109 fi
45110
45111 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45112 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45113 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45114 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45115 else
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_PRINTING_ARCHITECTURE 1
45118 _ACEOF
45119
45120 fi
45121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45122 fi
45123
45124 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45125 cat >>confdefs.h <<\_ACEOF
45126 #define wxUSE_POSTSCRIPT 1
45127 _ACEOF
45128
45129 fi
45130
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45133 _ACEOF
45134
45135
45136 if test "$wxUSE_SVG" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_SVG 1
45139 _ACEOF
45140
45141 fi
45142
45143
45144 if test "$wxUSE_METAFILE" = "yes"; then
45145 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45146 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45147 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45148 wxUSE_METAFILE=no
45149 fi
45150 fi
45151
45152
45153 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45154 -o "$wxUSE_CLIPBOARD" = "yes" \
45155 -o "$wxUSE_OLE" = "yes" \
45156 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45157 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45158 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45159 if test "${ac_cv_header_ole2_h+set}" = set; then
45160 echo $ECHO_N "(cached) $ECHO_C" >&6
45161 else
45162 cat >conftest.$ac_ext <<_ACEOF
45163 /* confdefs.h. */
45164 _ACEOF
45165 cat confdefs.h >>conftest.$ac_ext
45166 cat >>conftest.$ac_ext <<_ACEOF
45167 /* end confdefs.h. */
45168
45169
45170 #include <ole2.h>
45171 _ACEOF
45172 rm -f conftest.$ac_objext
45173 if { (ac_try="$ac_compile"
45174 case "(($ac_try" in
45175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45176 *) ac_try_echo=$ac_try;;
45177 esac
45178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45179 (eval "$ac_compile") 2>conftest.er1
45180 ac_status=$?
45181 grep -v '^ *+' conftest.er1 >conftest.err
45182 rm -f conftest.er1
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } && {
45186 test -z "$ac_c_werror_flag" ||
45187 test ! -s conftest.err
45188 } && test -s conftest.$ac_objext; then
45189 ac_cv_header_ole2_h=yes
45190 else
45191 echo "$as_me: failed program was:" >&5
45192 sed 's/^/| /' conftest.$ac_ext >&5
45193
45194 ac_cv_header_ole2_h=no
45195 fi
45196
45197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45198 fi
45199 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45200 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45201
45202
45203
45204 if test "$ac_cv_header_ole2_h" = "yes" ; then
45205 if test "$GCC" = yes ; then
45206 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45207 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45208 cat >conftest.$ac_ext <<_ACEOF
45209 /* confdefs.h. */
45210 _ACEOF
45211 cat confdefs.h >>conftest.$ac_ext
45212 cat >>conftest.$ac_ext <<_ACEOF
45213 /* end confdefs.h. */
45214 #include <windows.h>
45215 #include <ole2.h>
45216 int
45217 main ()
45218 {
45219
45220 ;
45221 return 0;
45222 }
45223 _ACEOF
45224 rm -f conftest.$ac_objext
45225 if { (ac_try="$ac_compile"
45226 case "(($ac_try" in
45227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45228 *) ac_try_echo=$ac_try;;
45229 esac
45230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45231 (eval "$ac_compile") 2>conftest.er1
45232 ac_status=$?
45233 grep -v '^ *+' conftest.er1 >conftest.err
45234 rm -f conftest.er1
45235 cat conftest.err >&5
45236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45237 (exit $ac_status); } && {
45238 test -z "$ac_c_werror_flag" ||
45239 test ! -s conftest.err
45240 } && test -s conftest.$ac_objext; then
45241 { echo "$as_me:$LINENO: result: no" >&5
45242 echo "${ECHO_T}no" >&6; }
45243 else
45244 echo "$as_me: failed program was:" >&5
45245 sed 's/^/| /' conftest.$ac_ext >&5
45246
45247 { echo "$as_me:$LINENO: result: yes" >&5
45248 echo "${ECHO_T}yes" >&6; }
45249 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45250 fi
45251
45252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45253 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45254 if test "$wxUSE_OLE" = "yes" ; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_OLE 1
45257 _ACEOF
45258
45259 cat >>confdefs.h <<\_ACEOF
45260 #define wxUSE_OLE_AUTOMATION 1
45261 _ACEOF
45262
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_ACTIVEX 1
45265 _ACEOF
45266
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45268 fi
45269 fi
45270
45271 if test "$wxUSE_DATAOBJ" = "yes" ; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_DATAOBJ 1
45274 _ACEOF
45275
45276 fi
45277 else
45278 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45279 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45280
45281 wxUSE_CLIPBOARD=no
45282 wxUSE_DRAG_AND_DROP=no
45283 wxUSE_DATAOBJ=no
45284 wxUSE_OLE=no
45285 fi
45286
45287 if test "$wxUSE_METAFILE" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_METAFILE 1
45290 _ACEOF
45291
45292
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_ENH_METAFILE 1
45295 _ACEOF
45296
45297 fi
45298 fi
45299
45300 if test "$wxUSE_IPC" = "yes"; then
45301 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45302 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45303 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45304 wxUSE_IPC=no
45305 fi
45306
45307 if test "$wxUSE_IPC" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_IPC 1
45310 _ACEOF
45311
45312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45313 fi
45314 fi
45315
45316 if test "$wxUSE_DATAOBJ" = "yes"; then
45317 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45318 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45319 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45320 wxUSE_DATAOBJ=no
45321 else
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_DATAOBJ 1
45324 _ACEOF
45325
45326 fi
45327 else
45328 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45329 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45330 wxUSE_CLIPBOARD=no
45331 wxUSE_DRAG_AND_DROP=no
45332 fi
45333
45334 if test "$wxUSE_CLIPBOARD" = "yes"; then
45335 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45336 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45337 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45338 wxUSE_CLIPBOARD=no
45339 fi
45340
45341 if test "$wxUSE_CLIPBOARD" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_CLIPBOARD 1
45344 _ACEOF
45345
45346 fi
45347 fi
45348
45349 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45350 if test "$wxUSE_GTK" = 1; then
45351 if test "$WXGTK12" != 1; then
45352 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45353 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45354 wxUSE_DRAG_AND_DROP=no
45355 fi
45356 fi
45357
45358 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45359 "$wxUSE_DFB" = 1; then
45360 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45361 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45362 wxUSE_DRAG_AND_DROP=no
45363 fi
45364
45365 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_DRAG_AND_DROP 1
45368 _ACEOF
45369
45370 fi
45371
45372 fi
45373
45374 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45376 fi
45377
45378 if test "$wxUSE_SPLINES" = "yes" ; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_SPLINES 1
45381 _ACEOF
45382
45383 fi
45384
45385 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_MOUSEWHEEL 1
45388 _ACEOF
45389
45390 fi
45391
45392
45393 USES_CONTROLS=0
45394 if test "$wxUSE_CONTROLS" = "yes"; then
45395 USES_CONTROLS=1
45396 fi
45397
45398 if test "$wxUSE_ACCEL" = "yes"; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_ACCEL 1
45401 _ACEOF
45402
45403 USES_CONTROLS=1
45404 fi
45405
45406 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_ANIMATIONCTRL 1
45409 _ACEOF
45410
45411 USES_CONTROLS=1
45412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45413 fi
45414
45415 if test "$wxUSE_BUTTON" = "yes"; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_BUTTON 1
45418 _ACEOF
45419
45420 USES_CONTROLS=1
45421 fi
45422
45423 if test "$wxUSE_BMPBUTTON" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_BMPBUTTON 1
45426 _ACEOF
45427
45428 USES_CONTROLS=1
45429 fi
45430
45431 if test "$wxUSE_CALCTRL" = "yes"; then
45432 cat >>confdefs.h <<\_ACEOF
45433 #define wxUSE_CALENDARCTRL 1
45434 _ACEOF
45435
45436 USES_CONTROLS=1
45437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45438 fi
45439
45440 if test "$wxUSE_CARET" = "yes"; then
45441 cat >>confdefs.h <<\_ACEOF
45442 #define wxUSE_CARET 1
45443 _ACEOF
45444
45445 USES_CONTROLS=1
45446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45447 fi
45448
45449 if test "$wxUSE_COLLPANE" = "yes"; then
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_COLLPANE 1
45452 _ACEOF
45453
45454 USES_CONTROLS=1
45455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45456 fi
45457
45458 if test "$wxUSE_COMBOBOX" = "yes"; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_COMBOBOX 1
45461 _ACEOF
45462
45463 USES_CONTROLS=1
45464 fi
45465
45466 if test "$wxUSE_COMBOCTRL" = "yes"; then
45467 cat >>confdefs.h <<\_ACEOF
45468 #define wxUSE_COMBOCTRL 1
45469 _ACEOF
45470
45471 USES_CONTROLS=1
45472 fi
45473
45474 if test "$wxUSE_CHOICE" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_CHOICE 1
45477 _ACEOF
45478
45479 USES_CONTROLS=1
45480 fi
45481
45482 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_CHOICEBOOK 1
45485 _ACEOF
45486
45487 USES_CONTROLS=1
45488 fi
45489
45490 if test "$wxUSE_CHECKBOX" = "yes"; then
45491 cat >>confdefs.h <<\_ACEOF
45492 #define wxUSE_CHECKBOX 1
45493 _ACEOF
45494
45495 USES_CONTROLS=1
45496 fi
45497
45498 if test "$wxUSE_CHECKLST" = "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_CHECKLISTBOX 1
45501 _ACEOF
45502
45503 USES_CONTROLS=1
45504 fi
45505
45506 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_COLOURPICKERCTRL 1
45509 _ACEOF
45510
45511 USES_CONTROLS=1
45512 fi
45513
45514 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_DATEPICKCTRL 1
45517 _ACEOF
45518
45519 USES_CONTROLS=1
45520 fi
45521
45522 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_DIRPICKERCTRL 1
45525 _ACEOF
45526
45527 USES_CONTROLS=1
45528 fi
45529
45530 if test "$wxUSE_FILECTRL" = "yes"; then
45531 cat >>confdefs.h <<\_ACEOF
45532 #define wxUSE_FILECTRL 1
45533 _ACEOF
45534
45535 USES_CONTROLS=1
45536 fi
45537
45538 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_FILEPICKERCTRL 1
45541 _ACEOF
45542
45543 USES_CONTROLS=1
45544 fi
45545
45546 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_FONTPICKERCTRL 1
45549 _ACEOF
45550
45551 USES_CONTROLS=1
45552 fi
45553
45554 if test "$wxUSE_DISPLAY" = "yes"; then
45555 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45556 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45557 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45558 wxUSE_DISPLAY=no
45559 else
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_DISPLAY 1
45562 _ACEOF
45563
45564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45565 fi
45566 fi
45567
45568 if test "$wxUSE_DETECT_SM" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_DETECT_SM 1
45571 _ACEOF
45572
45573 fi
45574
45575 if test "$wxUSE_GAUGE" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_GAUGE 1
45578 _ACEOF
45579
45580 USES_CONTROLS=1
45581 fi
45582
45583 if test "$wxUSE_GRID" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_GRID 1
45586 _ACEOF
45587
45588 USES_CONTROLS=1
45589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45590 fi
45591
45592 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_HYPERLINKCTRL 1
45595 _ACEOF
45596
45597 USES_CONTROLS=1
45598 fi
45599
45600 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_BITMAPCOMBOBOX 1
45603 _ACEOF
45604
45605 USES_CONTROLS=1
45606 fi
45607
45608 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_DATAVIEWCTRL 1
45611 _ACEOF
45612
45613 USES_CONTROLS=1
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45615 fi
45616
45617 if test "$wxUSE_IMAGLIST" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_IMAGLIST 1
45620 _ACEOF
45621
45622 fi
45623
45624 if test "$wxUSE_LISTBOOK" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_LISTBOOK 1
45627 _ACEOF
45628
45629 USES_CONTROLS=1
45630 fi
45631
45632 if test "$wxUSE_LISTBOX" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_LISTBOX 1
45635 _ACEOF
45636
45637 USES_CONTROLS=1
45638 fi
45639
45640 if test "$wxUSE_LISTCTRL" = "yes"; then
45641 if test "$wxUSE_IMAGLIST" = "yes"; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_LISTCTRL 1
45644 _ACEOF
45645
45646 USES_CONTROLS=1
45647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45648 else
45649 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45650 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45651 fi
45652 fi
45653
45654 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_EDITABLELISTBOX 1
45657 _ACEOF
45658
45659 USES_CONTROLS=1
45660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45661 fi
45662
45663 if test "$wxUSE_NOTEBOOK" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_NOTEBOOK 1
45666 _ACEOF
45667
45668 USES_CONTROLS=1
45669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45670 fi
45671
45672 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_NOTIFICATION_MESSAGE 1
45675 _ACEOF
45676
45677 fi
45678
45679 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_ODCOMBOBOX 1
45682 _ACEOF
45683
45684 USES_CONTROLS=1
45685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45686 fi
45687
45688 if test "$wxUSE_RADIOBOX" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_RADIOBOX 1
45691 _ACEOF
45692
45693 USES_CONTROLS=1
45694 fi
45695
45696 if test "$wxUSE_RADIOBTN" = "yes"; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_RADIOBTN 1
45699 _ACEOF
45700
45701 USES_CONTROLS=1
45702 fi
45703
45704 if test "$wxUSE_SASH" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_SASH 1
45707 _ACEOF
45708
45709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45710 fi
45711
45712 if test "$wxUSE_SCROLLBAR" = "yes"; then
45713 cat >>confdefs.h <<\_ACEOF
45714 #define wxUSE_SCROLLBAR 1
45715 _ACEOF
45716
45717 USES_CONTROLS=1
45718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45719 fi
45720
45721 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_SEARCHCTRL 1
45724 _ACEOF
45725
45726 USES_CONTROLS=1
45727 fi
45728
45729 if test "$wxUSE_SLIDER" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_SLIDER 1
45732 _ACEOF
45733
45734 USES_CONTROLS=1
45735 fi
45736
45737 if test "$wxUSE_SPINBTN" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_SPINBTN 1
45740 _ACEOF
45741
45742 USES_CONTROLS=1
45743 fi
45744
45745 if test "$wxUSE_SPINCTRL" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_SPINCTRL 1
45748 _ACEOF
45749
45750 USES_CONTROLS=1
45751 fi
45752
45753 if test "$wxUSE_SPLITTER" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_SPLITTER 1
45756 _ACEOF
45757
45758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45759 fi
45760
45761 if test "$wxUSE_STATBMP" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_STATBMP 1
45764 _ACEOF
45765
45766 USES_CONTROLS=1
45767 fi
45768
45769 if test "$wxUSE_STATBOX" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_STATBOX 1
45772 _ACEOF
45773
45774 USES_CONTROLS=1
45775 fi
45776
45777 if test "$wxUSE_STATTEXT" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_STATTEXT 1
45780 _ACEOF
45781
45782 USES_CONTROLS=1
45783 fi
45784
45785 if test "$wxUSE_STATLINE" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_STATLINE 1
45788 _ACEOF
45789
45790 USES_CONTROLS=1
45791 fi
45792
45793 if test "$wxUSE_STATUSBAR" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_NATIVE_STATUSBAR 1
45796 _ACEOF
45797
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_STATUSBAR 1
45800 _ACEOF
45801
45802 USES_CONTROLS=1
45803
45804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45805 fi
45806
45807 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_TAB_DIALOG 1
45810 _ACEOF
45811
45812 fi
45813
45814 if test "$wxUSE_TEXTCTRL" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_TEXTCTRL 1
45817 _ACEOF
45818
45819 USES_CONTROLS=1
45820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45821
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_RICHEDIT 1
45824 _ACEOF
45825
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_RICHEDIT2 1
45828 _ACEOF
45829
45830 fi
45831
45832 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45833 if test "$wxUSE_COCOA" = 1 ; then
45834 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45835 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45836 wxUSE_TOGGLEBTN=no
45837 fi
45838
45839 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_TOGGLEBTN 1
45842 _ACEOF
45843
45844 USES_CONTROLS=1
45845 fi
45846 fi
45847
45848 if test "$wxUSE_TOOLBAR" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_TOOLBAR 1
45851 _ACEOF
45852
45853 USES_CONTROLS=1
45854
45855 if test "$wxUSE_UNIVERSAL" = "yes"; then
45856 wxUSE_TOOLBAR_NATIVE="no"
45857 else
45858 wxUSE_TOOLBAR_NATIVE="yes"
45859 cat >>confdefs.h <<\_ACEOF
45860 #define wxUSE_TOOLBAR_NATIVE 1
45861 _ACEOF
45862
45863 fi
45864
45865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45866 fi
45867
45868 if test "$wxUSE_TOOLTIPS" = "yes"; then
45869 if test "$wxUSE_MOTIF" = 1; then
45870 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45871 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45872 else
45873 if test "$wxUSE_UNIVERSAL" = "yes"; then
45874 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45875 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45876 else
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_TOOLTIPS 1
45879 _ACEOF
45880
45881 fi
45882 fi
45883 fi
45884
45885 if test "$wxUSE_TREEBOOK" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_TREEBOOK 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 fi
45892
45893 if test "$wxUSE_TOOLBOOK" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_TOOLBOOK 1
45896 _ACEOF
45897
45898 USES_CONTROLS=1
45899 fi
45900
45901 if test "$wxUSE_TREECTRL" = "yes"; then
45902 if test "$wxUSE_IMAGLIST" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_TREECTRL 1
45905 _ACEOF
45906
45907 USES_CONTROLS=1
45908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45909 else
45910 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45911 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45912 fi
45913 fi
45914
45915 if test "$wxUSE_POPUPWIN" = "yes"; then
45916 if test "$wxUSE_COCOA" = 1 ; then
45917 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45918 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45919 else
45920 if test "$wxUSE_PM" = 1; then
45921 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45922 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45923 else
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_POPUPWIN 1
45926 _ACEOF
45927
45928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45929
45930 USES_CONTROLS=1
45931 fi
45932 fi
45933 fi
45934
45935 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45936 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45937 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45938 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45939 else
45940 cat >>confdefs.h <<\_ACEOF
45941 #define wxUSE_DIALUP_MANAGER 1
45942 _ACEOF
45943
45944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45945 fi
45946 fi
45947
45948 if test "$wxUSE_TIPWINDOW" = "yes"; then
45949 if test "$wxUSE_PM" = 1; then
45950 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45951 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45952 else
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_TIPWINDOW 1
45955 _ACEOF
45956
45957 fi
45958 fi
45959
45960 if test "$USES_CONTROLS" = 1; then
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_CONTROLS 1
45963 _ACEOF
45964
45965 fi
45966
45967
45968 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_ACCESSIBILITY 1
45971 _ACEOF
45972
45973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45974 fi
45975
45976 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_DRAGIMAGE 1
45979 _ACEOF
45980
45981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45982 fi
45983
45984 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45985 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45986 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45987 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45988 else
45989 cat >>confdefs.h <<\_ACEOF
45990 #define wxUSE_EXCEPTIONS 1
45991 _ACEOF
45992
45993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45994 fi
45995 fi
45996
45997 USE_HTML=0
45998 if test "$wxUSE_HTML" = "yes"; then
45999 cat >>confdefs.h <<\_ACEOF
46000 #define wxUSE_HTML 1
46001 _ACEOF
46002
46003 USE_HTML=1
46004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46005 if test "$wxUSE_MAC" = 1; then
46006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46007 fi
46008 fi
46009 if test "$wxUSE_WEBKIT" = "yes"; then
46010 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46011 old_CPPFLAGS="$CPPFLAGS"
46012 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46013 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46014 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46015 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46016 echo $ECHO_N "(cached) $ECHO_C" >&6
46017 else
46018 cat >conftest.$ac_ext <<_ACEOF
46019 /* confdefs.h. */
46020 _ACEOF
46021 cat confdefs.h >>conftest.$ac_ext
46022 cat >>conftest.$ac_ext <<_ACEOF
46023 /* end confdefs.h. */
46024
46025 #include <Carbon/Carbon.h>
46026 #include <WebKit/WebKit.h>
46027
46028
46029 #include <WebKit/HIWebView.h>
46030 _ACEOF
46031 rm -f conftest.$ac_objext
46032 if { (ac_try="$ac_compile"
46033 case "(($ac_try" in
46034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46035 *) ac_try_echo=$ac_try;;
46036 esac
46037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46038 (eval "$ac_compile") 2>conftest.er1
46039 ac_status=$?
46040 grep -v '^ *+' conftest.er1 >conftest.err
46041 rm -f conftest.er1
46042 cat conftest.err >&5
46043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46044 (exit $ac_status); } && {
46045 test -z "$ac_c_werror_flag" ||
46046 test ! -s conftest.err
46047 } && test -s conftest.$ac_objext; then
46048 ac_cv_header_WebKit_HIWebView_h=yes
46049 else
46050 echo "$as_me: failed program was:" >&5
46051 sed 's/^/| /' conftest.$ac_ext >&5
46052
46053 ac_cv_header_WebKit_HIWebView_h=no
46054 fi
46055
46056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057 fi
46058 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46059 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46060 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46061
46062 cat >>confdefs.h <<\_ACEOF
46063 #define wxUSE_WEBKIT 1
46064 _ACEOF
46065
46066 WEBKIT_LINK="-framework WebKit"
46067
46068 else
46069
46070 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46071 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46072 wxUSE_WEBKIT=no
46073
46074 fi
46075
46076
46077 CPPFLAGS="$old_CPPFLAGS"
46078 elif test "$wxUSE_COCOA" = 1; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define wxUSE_WEBKIT 1
46081 _ACEOF
46082
46083 else
46084 wxUSE_WEBKIT=no
46085 fi
46086 fi
46087
46088 USE_XRC=0
46089 if test "$wxUSE_XRC" = "yes"; then
46090 if test "$wxUSE_XML" != "yes"; then
46091 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46092 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46093 wxUSE_XRC=no
46094 else
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_XRC 1
46097 _ACEOF
46098
46099 USE_XRC=1
46100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46101 fi
46102 fi
46103
46104 USE_AUI=0
46105 if test "$wxUSE_AUI" = "yes"; then
46106 cat >>confdefs.h <<\_ACEOF
46107 #define wxUSE_AUI 1
46108 _ACEOF
46109
46110 USE_AUI=1
46111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46112 fi
46113
46114 USE_STC=0
46115 if test "$wxUSE_STC" = "yes"; then
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_STC 1
46118 _ACEOF
46119
46120 USE_STC=1
46121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46122 fi
46123
46124 if test "$wxUSE_MENUS" = "yes"; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_MENUS 1
46127 _ACEOF
46128
46129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46130 fi
46131
46132 if test "$wxUSE_METAFILE" = "yes"; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_METAFILE 1
46135 _ACEOF
46136
46137 fi
46138
46139 if test "$wxUSE_MIMETYPE" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_MIMETYPE 1
46142 _ACEOF
46143
46144 fi
46145
46146 if test "$wxUSE_MINIFRAME" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_MINIFRAME 1
46149 _ACEOF
46150
46151 fi
46152
46153 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_SYSTEM_OPTIONS 1
46156 _ACEOF
46157
46158 fi
46159
46160 if test "$wxUSE_TASKBARICON" = "yes"; then
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_TASKBARICON 1
46163 _ACEOF
46164
46165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46166 fi
46167
46168
46169 if test "$wxUSE_VALIDATORS" = "yes"; then
46170 cat >>confdefs.h <<\_ACEOF
46171 #define wxUSE_VALIDATORS 1
46172 _ACEOF
46173
46174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46175 fi
46176
46177 if test "$wxUSE_PALETTE" = "yes" ; then
46178 if test "$wxUSE_DFB" = 1; then
46179 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46180 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46181 wxUSE_PALETTE=no
46182 else
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_PALETTE 1
46185 _ACEOF
46186
46187 fi
46188 fi
46189
46190 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46191 LIBS=" -lunicows $LIBS"
46192 fi
46193
46194 USE_RICHTEXT=0
46195 if test "$wxUSE_RICHTEXT" = "yes"; then
46196 cat >>confdefs.h <<\_ACEOF
46197 #define wxUSE_RICHTEXT 1
46198 _ACEOF
46199
46200 USE_RICHTEXT=1
46201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46202 fi
46203
46204
46205 if test "$wxUSE_IMAGE" = "yes" ; then
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_IMAGE 1
46208 _ACEOF
46209
46210
46211 if test "$wxUSE_GIF" = "yes" ; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_GIF 1
46214 _ACEOF
46215
46216 fi
46217
46218 if test "$wxUSE_PCX" = "yes" ; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_PCX 1
46221 _ACEOF
46222
46223 fi
46224
46225 if test "$wxUSE_TGA" = "yes" ; then
46226 cat >>confdefs.h <<\_ACEOF
46227 #define wxUSE_TGA 1
46228 _ACEOF
46229
46230 fi
46231
46232 if test "$wxUSE_IFF" = "yes" ; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_IFF 1
46235 _ACEOF
46236
46237 fi
46238
46239 if test "$wxUSE_PNM" = "yes" ; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_PNM 1
46242 _ACEOF
46243
46244 fi
46245
46246 if test "$wxUSE_XPM" = "yes" ; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_XPM 1
46249 _ACEOF
46250
46251 fi
46252
46253 if test "$wxUSE_ICO_CUR" = "yes" ; then
46254 cat >>confdefs.h <<\_ACEOF
46255 #define wxUSE_ICO_CUR 1
46256 _ACEOF
46257
46258 fi
46259 fi
46260
46261
46262 if test "$wxUSE_ABOUTDLG" = "yes"; then
46263 cat >>confdefs.h <<\_ACEOF
46264 #define wxUSE_ABOUTDLG 1
46265 _ACEOF
46266
46267 fi
46268
46269 if test "$wxUSE_CHOICEDLG" = "yes"; then
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_CHOICEDLG 1
46272 _ACEOF
46273
46274 fi
46275
46276 if test "$wxUSE_COLOURDLG" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_COLOURDLG 1
46279 _ACEOF
46280
46281 fi
46282
46283 if test "$wxUSE_FILEDLG" = "yes"; then
46284 cat >>confdefs.h <<\_ACEOF
46285 #define wxUSE_FILEDLG 1
46286 _ACEOF
46287
46288 fi
46289
46290 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_FINDREPLDLG 1
46293 _ACEOF
46294
46295 fi
46296
46297 if test "$wxUSE_FONTDLG" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_FONTDLG 1
46300 _ACEOF
46301
46302 fi
46303
46304 if test "$wxUSE_DIRDLG" = "yes"; then
46305 if test "$wxUSE_TREECTRL" != "yes"; then
46306 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46307 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46308 else
46309 cat >>confdefs.h <<\_ACEOF
46310 #define wxUSE_DIRDLG 1
46311 _ACEOF
46312
46313 fi
46314 fi
46315
46316 if test "$wxUSE_MSGDLG" = "yes"; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_MSGDLG 1
46319 _ACEOF
46320
46321 fi
46322
46323 if test "$wxUSE_NUMBERDLG" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_NUMBERDLG 1
46326 _ACEOF
46327
46328 fi
46329
46330 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46331 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46332 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46333 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46334 else
46335 cat >>confdefs.h <<\_ACEOF
46336 #define wxUSE_PROGRESSDLG 1
46337 _ACEOF
46338
46339 fi
46340 fi
46341
46342 if test "$wxUSE_SPLASH" = "yes"; then
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_SPLASH 1
46345 _ACEOF
46346
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46348 fi
46349
46350 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46351 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46352 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46353 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46354 else
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_STARTUP_TIPS 1
46357 _ACEOF
46358
46359 fi
46360 fi
46361
46362 if test "$wxUSE_TEXTDLG" = "yes"; then
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_TEXTDLG 1
46365 _ACEOF
46366
46367 fi
46368
46369 if test "$wxUSE_WIZARDDLG" = "yes"; then
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_WIZARDDLG 1
46372 _ACEOF
46373
46374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46375 fi
46376
46377
46378 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46379 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46380 cat >>confdefs.h <<\_ACEOF
46381 #define wxUSE_OWNER_DRAWN 1
46382 _ACEOF
46383
46384 fi
46385 fi
46386
46387
46388 if test "$wxUSE_MSW" = 1 ; then
46389
46390 if test "$wxUSE_DC_CACHEING" = "yes"; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_DC_CACHEING 1
46393 _ACEOF
46394
46395 fi
46396
46397 if test "$wxUSE_DIB" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_WXDIB 1
46400 _ACEOF
46401
46402 fi
46403
46404 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46407 _ACEOF
46408
46409 fi
46410
46411 if test "$wxUSE_UXTHEME" = "yes"; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_UXTHEME 1
46414 _ACEOF
46415
46416 fi
46417
46418 fi
46419
46420 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_AUTOID_MANAGEMENT 1
46423 _ACEOF
46424
46425 fi
46426
46427 if test "$USE_WIN32" = 1 ; then
46428 if test "$wxUSE_INICONF" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_INICONF 1
46431 _ACEOF
46432
46433 fi
46434
46435 if test "$wxUSE_REGKEY" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_REGKEY 1
46438 _ACEOF
46439
46440 fi
46441 fi
46442
46443
46444 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46445 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_GRAPHICS_CONTEXT 1
46448 _ACEOF
46449
46450 elif test "$wxUSE_GTK" != 1; then
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_GRAPHICS_CONTEXT 1
46453 _ACEOF
46454
46455 else
46456
46457 pkg_failed=no
46458 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46459 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46460
46461 if test -n "$PKG_CONFIG"; then
46462 if test -n "$CAIRO_CFLAGS"; then
46463 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46464 else
46465 if test -n "$PKG_CONFIG" && \
46466 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46467 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46468 ac_status=$?
46469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46470 (exit $ac_status); }; then
46471 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46472 else
46473 pkg_failed=yes
46474 fi
46475 fi
46476 else
46477 pkg_failed=untried
46478 fi
46479 if test -n "$PKG_CONFIG"; then
46480 if test -n "$CAIRO_LIBS"; then
46481 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46482 else
46483 if test -n "$PKG_CONFIG" && \
46484 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46485 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46486 ac_status=$?
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); }; then
46489 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46490 else
46491 pkg_failed=yes
46492 fi
46493 fi
46494 else
46495 pkg_failed=untried
46496 fi
46497
46498
46499
46500 if test $pkg_failed = yes; then
46501
46502 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46503 _pkg_short_errors_supported=yes
46504 else
46505 _pkg_short_errors_supported=no
46506 fi
46507 if test $_pkg_short_errors_supported = yes; then
46508 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46509 else
46510 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46511 fi
46512 # Put the nasty error message in config.log where it belongs
46513 echo "$CAIRO_PKG_ERRORS" >&5
46514
46515 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46516 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46517
46518 elif test $pkg_failed = untried; then
46519 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46520 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46521
46522 else
46523 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46524 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46525 { echo "$as_me:$LINENO: result: yes" >&5
46526 echo "${ECHO_T}yes" >&6; }
46527 cat >>confdefs.h <<\_ACEOF
46528 #define wxUSE_GRAPHICS_CONTEXT 1
46529 _ACEOF
46530
46531 fi
46532 fi
46533 fi
46534
46535
46536 USE_MEDIA=0
46537
46538 if test "$wxUSE_MEDIACTRL" = "yes"; then
46539 USE_MEDIA=1
46540
46541 if test "$wxUSE_GTK" = 1; then
46542 wxUSE_GSTREAMER="no"
46543
46544 GST_VERSION_MAJOR=0
46545 GST_VERSION_MINOR=10
46546 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46547
46548 if test "$wxUSE_GSTREAMER8" = "no"; then
46549
46550 pkg_failed=no
46551 { echo "$as_me:$LINENO: checking for GST" >&5
46552 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46553
46554 if test -n "$PKG_CONFIG"; then
46555 if test -n "$GST_CFLAGS"; then
46556 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46557 else
46558 if test -n "$PKG_CONFIG" && \
46559 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46560 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46561 ac_status=$?
46562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46563 (exit $ac_status); }; then
46564 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46565 else
46566 pkg_failed=yes
46567 fi
46568 fi
46569 else
46570 pkg_failed=untried
46571 fi
46572 if test -n "$PKG_CONFIG"; then
46573 if test -n "$GST_LIBS"; then
46574 pkg_cv_GST_LIBS="$GST_LIBS"
46575 else
46576 if test -n "$PKG_CONFIG" && \
46577 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46578 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46579 ac_status=$?
46580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46581 (exit $ac_status); }; then
46582 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46583 else
46584 pkg_failed=yes
46585 fi
46586 fi
46587 else
46588 pkg_failed=untried
46589 fi
46590
46591
46592
46593 if test $pkg_failed = yes; then
46594
46595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46596 _pkg_short_errors_supported=yes
46597 else
46598 _pkg_short_errors_supported=no
46599 fi
46600 if test $_pkg_short_errors_supported = yes; then
46601 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46602 else
46603 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46604 fi
46605 # Put the nasty error message in config.log where it belongs
46606 echo "$GST_PKG_ERRORS" >&5
46607
46608
46609 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46610 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46611 GST_VERSION_MINOR=8
46612
46613
46614 elif test $pkg_failed = untried; then
46615
46616 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46617 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46618 GST_VERSION_MINOR=8
46619
46620
46621 else
46622 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46623 GST_LIBS=$pkg_cv_GST_LIBS
46624 { echo "$as_me:$LINENO: result: yes" >&5
46625 echo "${ECHO_T}yes" >&6; }
46626
46627 wxUSE_GSTREAMER="yes"
46628 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46629
46630 fi
46631 else
46632 GST_VERSION_MINOR=8
46633 fi
46634
46635 if test $GST_VERSION_MINOR = "8"; then
46636 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46637
46638 pkg_failed=no
46639 { echo "$as_me:$LINENO: checking for GST" >&5
46640 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46641
46642 if test -n "$PKG_CONFIG"; then
46643 if test -n "$GST_CFLAGS"; then
46644 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46645 else
46646 if test -n "$PKG_CONFIG" && \
46647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46648 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46649 ac_status=$?
46650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46651 (exit $ac_status); }; then
46652 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46653 else
46654 pkg_failed=yes
46655 fi
46656 fi
46657 else
46658 pkg_failed=untried
46659 fi
46660 if test -n "$PKG_CONFIG"; then
46661 if test -n "$GST_LIBS"; then
46662 pkg_cv_GST_LIBS="$GST_LIBS"
46663 else
46664 if test -n "$PKG_CONFIG" && \
46665 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46666 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46667 ac_status=$?
46668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46669 (exit $ac_status); }; then
46670 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46671 else
46672 pkg_failed=yes
46673 fi
46674 fi
46675 else
46676 pkg_failed=untried
46677 fi
46678
46679
46680
46681 if test $pkg_failed = yes; then
46682
46683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46684 _pkg_short_errors_supported=yes
46685 else
46686 _pkg_short_errors_supported=no
46687 fi
46688 if test $_pkg_short_errors_supported = yes; then
46689 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46690 else
46691 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46692 fi
46693 # Put the nasty error message in config.log where it belongs
46694 echo "$GST_PKG_ERRORS" >&5
46695
46696
46697 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46698 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46699
46700 elif test $pkg_failed = untried; then
46701
46702 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46703 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46704
46705 else
46706 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46707 GST_LIBS=$pkg_cv_GST_LIBS
46708 { echo "$as_me:$LINENO: result: yes" >&5
46709 echo "${ECHO_T}yes" >&6; }
46710 wxUSE_GSTREAMER="yes"
46711 fi
46712 fi
46713
46714
46715 if test "$wxUSE_GSTREAMER" = "yes"; then
46716 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46717 EXTRALIBS_MEDIA="$GST_LIBS"
46718
46719 cat >>confdefs.h <<\_ACEOF
46720 #define wxUSE_GSTREAMER 1
46721 _ACEOF
46722
46723 else
46724 USE_MEDIA=0
46725 fi
46726 fi
46727
46728 if test $USE_MEDIA = 1; then
46729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46730 cat >>confdefs.h <<\_ACEOF
46731 #define wxUSE_MEDIACTRL 1
46732 _ACEOF
46733
46734 fi
46735 fi
46736
46737
46738 if test "$cross_compiling" = "yes"; then
46739 OSINFO="\"$host\""
46740 else
46741 OSINFO=`uname -s -r -m`
46742 OSINFO="\"$OSINFO\""
46743 fi
46744
46745 cat >>confdefs.h <<_ACEOF
46746 #define WXWIN_OS_DESCRIPTION $OSINFO
46747 _ACEOF
46748
46749
46750
46751 if test "x$prefix" != "xNONE"; then
46752 wxPREFIX=$prefix
46753 else
46754 wxPREFIX=$ac_default_prefix
46755 fi
46756
46757 cat >>confdefs.h <<_ACEOF
46758 #define wxINSTALL_PREFIX "$wxPREFIX"
46759 _ACEOF
46760
46761
46762
46763
46764 STD_BASE_LIBS="base"
46765 STD_GUI_LIBS=""
46766 BUILT_WX_LIBS="base"
46767 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46768
46769 if test "$wxUSE_SOCKETS" = "yes" ; then
46770 STD_BASE_LIBS="net $STD_BASE_LIBS"
46771 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46772 fi
46773 if test "$wxUSE_XML" = "yes" ; then
46774 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46775 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46776 fi
46777
46778 if test "$wxUSE_GUI" = "yes"; then
46779 STD_GUI_LIBS="adv core"
46780 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46781
46782 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46783 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46784 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46785 fi
46786 if test "$wxUSE_HTML" = "yes" ; then
46787 STD_GUI_LIBS="html $STD_GUI_LIBS"
46788 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46789 fi
46790 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46791 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46792 fi
46793 if test "$wxUSE_OPENGL" = "yes" ; then
46794 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46795 fi
46796 if test "$wxUSE_AUI" = "yes" ; then
46797 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46798 fi
46799 if test "$wxUSE_STC" = "yes" ; then
46800 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46801 fi
46802 if test "$wxUSE_XRC" = "yes" ; then
46803 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46804 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46805 fi
46806 fi
46807
46808
46809
46810
46811
46812
46813
46814
46815 if test "$wxUSE_MAC" = 1 ; then
46816 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46817 if test "$USE_DARWIN" = 1; then
46818 LDFLAGS="$LDFLAGS -framework QuickTime"
46819 else
46820 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46821 fi
46822 fi
46823 if test "$USE_DARWIN" = 1; then
46824 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46825 else
46826 LDFLAGS="$LDFLAGS -lCarbonLib"
46827 fi
46828 fi
46829 if test "$wxUSE_COCOA" = 1 ; then
46830 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46831 if test "$wxUSE_MEDIACTRL" = "yes"; then
46832 LDFLAGS="$LDFLAGS -framework QuickTime"
46833 fi
46834 fi
46835 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46836 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46837 fi
46838
46839 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46840
46841 if test "$wxUSE_GUI" = "yes"; then
46842
46843
46844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46845 erase event exec font image minimal mobile \
46846 mobile/wxedit mobile/styles render \
46847 shaped svg taborder vscroll widgets"
46848
46849 if test "$wxUSE_MONOLITHIC" != "yes"; then
46850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46851 fi
46852 if test "$TOOLKIT" = "MSW"; then
46853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46854 if test "$wxUSE_UNIVERSAL" != "yes"; then
46855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46856 fi
46857 fi
46858 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46860 fi
46861 else
46862 SAMPLES_SUBDIRS="console"
46863 if test "$wxUSE_SOCKETS" = "yes" ; then
46864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46865 fi
46866 if test "$wxUSE_IPC" = "yes" ; then
46867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46868 fi
46869 fi
46870
46871
46872 if test "x$INTELCC" = "xyes" ; then
46873 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46874 elif test "$GCC" = yes ; then
46875 CWARNINGS="-Wall -Wundef"
46876 fi
46877
46878 if test "x$INTELCXX" = "xyes" ; then
46879 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46880 elif test "$GXX" = yes ; then
46881 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46882 fi
46883
46884
46885 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46886 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46887
46888
46889 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46890 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46891 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46892 $CPPFLAGS `
46893
46894 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46895 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46896 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46897 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46898 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46899
46900 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46901
46902
46903 if test "x$MWCC" = "xyes"; then
46904
46905 CC="$CC -cwd source -I-"
46906 CXX="$CXX -cwd source -I-"
46907 fi
46908
46909
46910 LIBS=`echo $LIBS`
46911 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46912 EXTRALIBS_XML="$EXPAT_LINK"
46913 EXTRALIBS_HTML="$MSPACK_LINK"
46914 EXTRALIBS_MEDIA="$GST_LIBS"
46915 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46916 if test "$wxUSE_GUI" = "yes"; then
46917 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46918 fi
46919 if test "$wxUSE_OPENGL" = "yes"; then
46920 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46921 fi
46922
46923 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46924
46925 WXCONFIG_LIBS="$LIBS"
46926
46927 if test "$wxUSE_REGEX" = "builtin" ; then
46928 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46929 fi
46930 if test "$wxUSE_EXPAT" = "builtin" ; then
46931 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46932 fi
46933 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46934 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46935 fi
46936 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46937 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46938 fi
46939 if test "$wxUSE_LIBPNG" = "builtin" ; then
46940 wxconfig_3rdparty="png $wxconfig_3rdparty"
46941 fi
46942 if test "$wxUSE_ZLIB" = "builtin" ; then
46943 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46944 fi
46945
46946 for i in $wxconfig_3rdparty ; do
46947 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46948 done
46949
46950
46951 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46952 WXUNIV=1
46953
46954 case "$wxUNIV_THEMES" in
46955 ''|all)
46956 cat >>confdefs.h <<\_ACEOF
46957 #define wxUSE_ALL_THEMES 1
46958 _ACEOF
46959
46960 ;;
46961
46962 *)
46963 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46964 cat >>confdefs.h <<_ACEOF
46965 #define wxUSE_THEME_$t 1
46966 _ACEOF
46967
46968 done
46969 esac
46970 else
46971 WXUNIV=0
46972 fi
46973
46974
46975
46976
46977
46978
46979
46980
46981 if test $wxUSE_MONOLITHIC = "yes" ; then
46982 MONOLITHIC=1
46983 else
46984 MONOLITHIC=0
46985 fi
46986
46987 if test $wxUSE_PLUGINS = "yes" ; then
46988 USE_PLUGINS=1
46989 else
46990 USE_PLUGINS=0
46991 fi
46992
46993 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46994 USE_QA=1
46995 else
46996 USE_QA=0
46997 fi
46998
46999 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47000 OFFICIAL_BUILD=1
47001 else
47002 OFFICIAL_BUILD=0
47003 fi
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47033
47034
47035
47036
47037
47038
47039
47040
47041 case "$TOOLKIT" in
47042 GTK)
47043 TOOLKIT_DESC="GTK+"
47044 if test "$WXGTK2" = 1; then
47045 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47046 if test "$wxUSE_GTKPRINT" = "yes" ; then
47047 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47048 fi
47049 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47050 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47051 fi
47052 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47053 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47054 fi
47055 if test "$wxUSE_LIBHILDON" = "yes"; then
47056 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47057 fi
47058
47059 if test "$TOOLKIT_EXTRA" != ""; then
47060 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47061 fi
47062 fi
47063 ;;
47064
47065 ?*)
47066 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47067 ;;
47068
47069 *)
47070 TOOLKIT_DESC="base only"
47071 ;;
47072 esac
47073
47074 if test "$wxUSE_WINE" = "yes"; then
47075 BAKEFILE_FORCE_PLATFORM=win32
47076 fi
47077
47078 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47079 then
47080 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47081 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47082 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47083 echo $ECHO_N "(cached) $ECHO_C" >&6
47084 else
47085
47086 echo '#include <stdio.h>
47087 const wchar_t test_var[] = L"awidetest";' > conftest.h
47088
47089 echo '#include "conftest.h"
47090 int main()
47091 {
47092 printf("%ls", test_var);
47093 return 0;
47094 }' > conftest.cpp
47095
47096 wx_cv_gcc_pch_bug="pch not supported"
47097
47098 if $CXX conftest.h >/dev/null 2>&1
47099 then
47100 wx_cv_gcc_pch_bug=
47101
47102 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47103 then
47104 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47105 grep awidetest >/dev/null
47106 then
47107 wx_cv_gcc_pch_bug=no
47108 else
47109 wx_cv_gcc_pch_bug=yes
47110 fi
47111 fi
47112 fi
47113
47114 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47115
47116 fi
47117 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47118 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47119
47120 if test "$wx_cv_gcc_pch_bug" = yes; then
47121 bk_use_pch=no
47122 fi
47123 fi
47124
47125
47126
47127
47128
47129
47130
47131 if test "x$BAKEFILE_HOST" = "x"; then
47132 if test "x${host}" = "x" ; then
47133 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47134 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47135 { (exit 1); exit 1; }; }
47136 fi
47137
47138 BAKEFILE_HOST="${host}"
47139 fi
47140
47141 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47142
47143 if test -n "$ac_tool_prefix"; then
47144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47148 if test "${ac_cv_prog_RANLIB+set}" = set; then
47149 echo $ECHO_N "(cached) $ECHO_C" >&6
47150 else
47151 if test -n "$RANLIB"; then
47152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47153 else
47154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47155 for as_dir in $PATH
47156 do
47157 IFS=$as_save_IFS
47158 test -z "$as_dir" && as_dir=.
47159 for ac_exec_ext in '' $ac_executable_extensions; do
47160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47163 break 2
47164 fi
47165 done
47166 done
47167 IFS=$as_save_IFS
47168
47169 fi
47170 fi
47171 RANLIB=$ac_cv_prog_RANLIB
47172 if test -n "$RANLIB"; then
47173 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47174 echo "${ECHO_T}$RANLIB" >&6; }
47175 else
47176 { echo "$as_me:$LINENO: result: no" >&5
47177 echo "${ECHO_T}no" >&6; }
47178 fi
47179
47180
47181 fi
47182 if test -z "$ac_cv_prog_RANLIB"; then
47183 ac_ct_RANLIB=$RANLIB
47184 # Extract the first word of "ranlib", so it can be a program name with args.
47185 set dummy ranlib; ac_word=$2
47186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47188 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47189 echo $ECHO_N "(cached) $ECHO_C" >&6
47190 else
47191 if test -n "$ac_ct_RANLIB"; then
47192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47193 else
47194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47195 for as_dir in $PATH
47196 do
47197 IFS=$as_save_IFS
47198 test -z "$as_dir" && as_dir=.
47199 for ac_exec_ext in '' $ac_executable_extensions; do
47200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47201 ac_cv_prog_ac_ct_RANLIB="ranlib"
47202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47203 break 2
47204 fi
47205 done
47206 done
47207 IFS=$as_save_IFS
47208
47209 fi
47210 fi
47211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47212 if test -n "$ac_ct_RANLIB"; then
47213 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47214 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47215 else
47216 { echo "$as_me:$LINENO: result: no" >&5
47217 echo "${ECHO_T}no" >&6; }
47218 fi
47219
47220 if test "x$ac_ct_RANLIB" = x; then
47221 RANLIB=":"
47222 else
47223 case $cross_compiling:$ac_tool_warned in
47224 yes:)
47225 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47226 whose name does not start with the host triplet. If you think this
47227 configuration is useful to you, please write to autoconf@gnu.org." >&5
47228 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47229 whose name does not start with the host triplet. If you think this
47230 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47231 ac_tool_warned=yes ;;
47232 esac
47233 RANLIB=$ac_ct_RANLIB
47234 fi
47235 else
47236 RANLIB="$ac_cv_prog_RANLIB"
47237 fi
47238
47239 # Find a good install program. We prefer a C program (faster),
47240 # so one script is as good as another. But avoid the broken or
47241 # incompatible versions:
47242 # SysV /etc/install, /usr/sbin/install
47243 # SunOS /usr/etc/install
47244 # IRIX /sbin/install
47245 # AIX /bin/install
47246 # AmigaOS /C/install, which installs bootblocks on floppy discs
47247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47250 # OS/2's system install, which has a completely different semantic
47251 # ./install, which can be erroneously created by make from ./install.sh.
47252 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47253 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47254 if test -z "$INSTALL"; then
47255 if test "${ac_cv_path_install+set}" = set; then
47256 echo $ECHO_N "(cached) $ECHO_C" >&6
47257 else
47258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47259 for as_dir in $PATH
47260 do
47261 IFS=$as_save_IFS
47262 test -z "$as_dir" && as_dir=.
47263 # Account for people who put trailing slashes in PATH elements.
47264 case $as_dir/ in
47265 ./ | .// | /cC/* | \
47266 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47267 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47268 /usr/ucb/* ) ;;
47269 *)
47270 # OSF1 and SCO ODT 3.0 have their own names for install.
47271 # Don't use installbsd from OSF since it installs stuff as root
47272 # by default.
47273 for ac_prog in ginstall scoinst install; do
47274 for ac_exec_ext in '' $ac_executable_extensions; do
47275 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47276 if test $ac_prog = install &&
47277 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47278 # AIX install. It has an incompatible calling convention.
47279 :
47280 elif test $ac_prog = install &&
47281 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47282 # program-specific install script used by HP pwplus--don't use.
47283 :
47284 else
47285 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47286 break 3
47287 fi
47288 fi
47289 done
47290 done
47291 ;;
47292 esac
47293 done
47294 IFS=$as_save_IFS
47295
47296
47297 fi
47298 if test "${ac_cv_path_install+set}" = set; then
47299 INSTALL=$ac_cv_path_install
47300 else
47301 # As a last resort, use the slow shell script. Don't cache a
47302 # value for INSTALL within a source directory, because that will
47303 # break other packages using the cache if that directory is
47304 # removed, or if the value is a relative name.
47305 INSTALL=$ac_install_sh
47306 fi
47307 fi
47308 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47309 echo "${ECHO_T}$INSTALL" >&6; }
47310
47311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47312 # It thinks the first close brace ends the variable substitution.
47313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47314
47315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47316
47317 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47318
47319 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47320 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47321 LN_S=$as_ln_s
47322 if test "$LN_S" = "ln -s"; then
47323 { echo "$as_me:$LINENO: result: yes" >&5
47324 echo "${ECHO_T}yes" >&6; }
47325 else
47326 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47327 echo "${ECHO_T}no, using $LN_S" >&6; }
47328 fi
47329
47330
47331 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47332 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47333 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47334 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47335 echo $ECHO_N "(cached) $ECHO_C" >&6
47336 else
47337 cat >conftest.make <<\_ACEOF
47338 SHELL = /bin/sh
47339 all:
47340 @echo '@@@%%%=$(MAKE)=@@@%%%'
47341 _ACEOF
47342 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47343 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47344 *@@@%%%=?*=@@@%%%*)
47345 eval ac_cv_prog_make_${ac_make}_set=yes;;
47346 *)
47347 eval ac_cv_prog_make_${ac_make}_set=no;;
47348 esac
47349 rm -f conftest.make
47350 fi
47351 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47352 { echo "$as_me:$LINENO: result: yes" >&5
47353 echo "${ECHO_T}yes" >&6; }
47354 SET_MAKE=
47355 else
47356 { echo "$as_me:$LINENO: result: no" >&5
47357 echo "${ECHO_T}no" >&6; }
47358 SET_MAKE="MAKE=${MAKE-make}"
47359 fi
47360
47361
47362
47363 if test "x$SUNCXX" = "xyes"; then
47364 AR=$CXX
47365 AROPTIONS="-xar -o"
47366
47367 elif test "x$SGICC" = "xyes"; then
47368 AR=$CXX
47369 AROPTIONS="-ar -o"
47370
47371 else
47372 if test -n "$ac_tool_prefix"; then
47373 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47374 set dummy ${ac_tool_prefix}ar; ac_word=$2
47375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47377 if test "${ac_cv_prog_AR+set}" = set; then
47378 echo $ECHO_N "(cached) $ECHO_C" >&6
47379 else
47380 if test -n "$AR"; then
47381 ac_cv_prog_AR="$AR" # Let the user override the test.
47382 else
47383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47384 for as_dir in $PATH
47385 do
47386 IFS=$as_save_IFS
47387 test -z "$as_dir" && as_dir=.
47388 for ac_exec_ext in '' $ac_executable_extensions; do
47389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47390 ac_cv_prog_AR="${ac_tool_prefix}ar"
47391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47392 break 2
47393 fi
47394 done
47395 done
47396 IFS=$as_save_IFS
47397
47398 fi
47399 fi
47400 AR=$ac_cv_prog_AR
47401 if test -n "$AR"; then
47402 { echo "$as_me:$LINENO: result: $AR" >&5
47403 echo "${ECHO_T}$AR" >&6; }
47404 else
47405 { echo "$as_me:$LINENO: result: no" >&5
47406 echo "${ECHO_T}no" >&6; }
47407 fi
47408
47409
47410 fi
47411 if test -z "$ac_cv_prog_AR"; then
47412 ac_ct_AR=$AR
47413 # Extract the first word of "ar", so it can be a program name with args.
47414 set dummy ar; ac_word=$2
47415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47417 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47418 echo $ECHO_N "(cached) $ECHO_C" >&6
47419 else
47420 if test -n "$ac_ct_AR"; then
47421 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47422 else
47423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47424 for as_dir in $PATH
47425 do
47426 IFS=$as_save_IFS
47427 test -z "$as_dir" && as_dir=.
47428 for ac_exec_ext in '' $ac_executable_extensions; do
47429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47430 ac_cv_prog_ac_ct_AR="ar"
47431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47432 break 2
47433 fi
47434 done
47435 done
47436 IFS=$as_save_IFS
47437
47438 fi
47439 fi
47440 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47441 if test -n "$ac_ct_AR"; then
47442 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47443 echo "${ECHO_T}$ac_ct_AR" >&6; }
47444 else
47445 { echo "$as_me:$LINENO: result: no" >&5
47446 echo "${ECHO_T}no" >&6; }
47447 fi
47448
47449 if test "x$ac_ct_AR" = x; then
47450 AR="ar"
47451 else
47452 case $cross_compiling:$ac_tool_warned in
47453 yes:)
47454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47455 whose name does not start with the host triplet. If you think this
47456 configuration is useful to you, please write to autoconf@gnu.org." >&5
47457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47458 whose name does not start with the host triplet. If you think this
47459 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47460 ac_tool_warned=yes ;;
47461 esac
47462 AR=$ac_ct_AR
47463 fi
47464 else
47465 AR="$ac_cv_prog_AR"
47466 fi
47467
47468 AROPTIONS=rcu
47469 fi
47470
47471
47472 if test -n "$ac_tool_prefix"; then
47473 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47474 set dummy ${ac_tool_prefix}strip; ac_word=$2
47475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47477 if test "${ac_cv_prog_STRIP+set}" = set; then
47478 echo $ECHO_N "(cached) $ECHO_C" >&6
47479 else
47480 if test -n "$STRIP"; then
47481 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47482 else
47483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47484 for as_dir in $PATH
47485 do
47486 IFS=$as_save_IFS
47487 test -z "$as_dir" && as_dir=.
47488 for ac_exec_ext in '' $ac_executable_extensions; do
47489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47490 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47492 break 2
47493 fi
47494 done
47495 done
47496 IFS=$as_save_IFS
47497
47498 fi
47499 fi
47500 STRIP=$ac_cv_prog_STRIP
47501 if test -n "$STRIP"; then
47502 { echo "$as_me:$LINENO: result: $STRIP" >&5
47503 echo "${ECHO_T}$STRIP" >&6; }
47504 else
47505 { echo "$as_me:$LINENO: result: no" >&5
47506 echo "${ECHO_T}no" >&6; }
47507 fi
47508
47509
47510 fi
47511 if test -z "$ac_cv_prog_STRIP"; then
47512 ac_ct_STRIP=$STRIP
47513 # Extract the first word of "strip", so it can be a program name with args.
47514 set dummy strip; ac_word=$2
47515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47517 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47518 echo $ECHO_N "(cached) $ECHO_C" >&6
47519 else
47520 if test -n "$ac_ct_STRIP"; then
47521 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47522 else
47523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47524 for as_dir in $PATH
47525 do
47526 IFS=$as_save_IFS
47527 test -z "$as_dir" && as_dir=.
47528 for ac_exec_ext in '' $ac_executable_extensions; do
47529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47530 ac_cv_prog_ac_ct_STRIP="strip"
47531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47532 break 2
47533 fi
47534 done
47535 done
47536 IFS=$as_save_IFS
47537
47538 fi
47539 fi
47540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47541 if test -n "$ac_ct_STRIP"; then
47542 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47543 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47544 else
47545 { echo "$as_me:$LINENO: result: no" >&5
47546 echo "${ECHO_T}no" >&6; }
47547 fi
47548
47549 if test "x$ac_ct_STRIP" = x; then
47550 STRIP=":"
47551 else
47552 case $cross_compiling:$ac_tool_warned in
47553 yes:)
47554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47555 whose name does not start with the host triplet. If you think this
47556 configuration is useful to you, please write to autoconf@gnu.org." >&5
47557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47558 whose name does not start with the host triplet. If you think this
47559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47560 ac_tool_warned=yes ;;
47561 esac
47562 STRIP=$ac_ct_STRIP
47563 fi
47564 else
47565 STRIP="$ac_cv_prog_STRIP"
47566 fi
47567
47568 if test -n "$ac_tool_prefix"; then
47569 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47570 set dummy ${ac_tool_prefix}nm; ac_word=$2
47571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47573 if test "${ac_cv_prog_NM+set}" = set; then
47574 echo $ECHO_N "(cached) $ECHO_C" >&6
47575 else
47576 if test -n "$NM"; then
47577 ac_cv_prog_NM="$NM" # Let the user override the test.
47578 else
47579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47580 for as_dir in $PATH
47581 do
47582 IFS=$as_save_IFS
47583 test -z "$as_dir" && as_dir=.
47584 for ac_exec_ext in '' $ac_executable_extensions; do
47585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47586 ac_cv_prog_NM="${ac_tool_prefix}nm"
47587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47588 break 2
47589 fi
47590 done
47591 done
47592 IFS=$as_save_IFS
47593
47594 fi
47595 fi
47596 NM=$ac_cv_prog_NM
47597 if test -n "$NM"; then
47598 { echo "$as_me:$LINENO: result: $NM" >&5
47599 echo "${ECHO_T}$NM" >&6; }
47600 else
47601 { echo "$as_me:$LINENO: result: no" >&5
47602 echo "${ECHO_T}no" >&6; }
47603 fi
47604
47605
47606 fi
47607 if test -z "$ac_cv_prog_NM"; then
47608 ac_ct_NM=$NM
47609 # Extract the first word of "nm", so it can be a program name with args.
47610 set dummy nm; ac_word=$2
47611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47613 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47614 echo $ECHO_N "(cached) $ECHO_C" >&6
47615 else
47616 if test -n "$ac_ct_NM"; then
47617 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47618 else
47619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47620 for as_dir in $PATH
47621 do
47622 IFS=$as_save_IFS
47623 test -z "$as_dir" && as_dir=.
47624 for ac_exec_ext in '' $ac_executable_extensions; do
47625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47626 ac_cv_prog_ac_ct_NM="nm"
47627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47628 break 2
47629 fi
47630 done
47631 done
47632 IFS=$as_save_IFS
47633
47634 fi
47635 fi
47636 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47637 if test -n "$ac_ct_NM"; then
47638 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47639 echo "${ECHO_T}$ac_ct_NM" >&6; }
47640 else
47641 { echo "$as_me:$LINENO: result: no" >&5
47642 echo "${ECHO_T}no" >&6; }
47643 fi
47644
47645 if test "x$ac_ct_NM" = x; then
47646 NM=":"
47647 else
47648 case $cross_compiling:$ac_tool_warned in
47649 yes:)
47650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47651 whose name does not start with the host triplet. If you think this
47652 configuration is useful to you, please write to autoconf@gnu.org." >&5
47653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47654 whose name does not start with the host triplet. If you think this
47655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47656 ac_tool_warned=yes ;;
47657 esac
47658 NM=$ac_ct_NM
47659 fi
47660 else
47661 NM="$ac_cv_prog_NM"
47662 fi
47663
47664
47665 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47666 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47667 INSTALL_TEST_DIR=acbftest$$
47668 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47669 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47670 rmdir $INSTALL_TEST_DIR
47671 INSTALL_DIR='$(INSTALL) -d'
47672 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47673 echo "${ECHO_T}$INSTALL -d" >&6; }
47674 else
47675 INSTALL_DIR="mkdir -p"
47676 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47677 echo "${ECHO_T}mkdir -p" >&6; }
47678 fi
47679
47680
47681 LDFLAGS_GUI=
47682 case ${BAKEFILE_HOST} in
47683 *-*-cygwin* | *-*-mingw32* )
47684 LDFLAGS_GUI="-mwindows"
47685 esac
47686
47687
47688 fi
47689
47690 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47691 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47692 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47693 echo $ECHO_N "(cached) $ECHO_C" >&6
47694 else
47695
47696 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47697 egrep -s GNU > /dev/null); then
47698 bakefile_cv_prog_makeisgnu="yes"
47699 else
47700 bakefile_cv_prog_makeisgnu="no"
47701 fi
47702
47703 fi
47704 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47705 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47706
47707 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47708 IF_GNU_MAKE=""
47709 else
47710 IF_GNU_MAKE="#"
47711 fi
47712
47713
47714
47715 PLATFORM_UNIX=0
47716 PLATFORM_WIN32=0
47717 PLATFORM_MSDOS=0
47718 PLATFORM_MAC=0
47719 PLATFORM_MACOS=0
47720 PLATFORM_MACOSX=0
47721 PLATFORM_OS2=0
47722 PLATFORM_BEOS=0
47723
47724 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47725 case "${BAKEFILE_HOST}" in
47726 *-*-mingw32* )
47727 PLATFORM_WIN32=1
47728 ;;
47729 *-pc-msdosdjgpp )
47730 PLATFORM_MSDOS=1
47731 ;;
47732 *-pc-os2_emx | *-pc-os2-emx )
47733 PLATFORM_OS2=1
47734 ;;
47735 *-*-darwin* )
47736 PLATFORM_MAC=1
47737 PLATFORM_MACOSX=1
47738 ;;
47739 *-*-beos* )
47740 PLATFORM_BEOS=1
47741 ;;
47742 powerpc-apple-macos* )
47743 PLATFORM_MAC=1
47744 PLATFORM_MACOS=1
47745 ;;
47746 * )
47747 PLATFORM_UNIX=1
47748 ;;
47749 esac
47750 else
47751 case "$BAKEFILE_FORCE_PLATFORM" in
47752 win32 )
47753 PLATFORM_WIN32=1
47754 ;;
47755 msdos )
47756 PLATFORM_MSDOS=1
47757 ;;
47758 os2 )
47759 PLATFORM_OS2=1
47760 ;;
47761 darwin )
47762 PLATFORM_MAC=1
47763 PLATFORM_MACOSX=1
47764 ;;
47765 unix )
47766 PLATFORM_UNIX=1
47767 ;;
47768 beos )
47769 PLATFORM_BEOS=1
47770 ;;
47771 * )
47772 ;;
47773 esac
47774 fi
47775
47776
47777
47778
47779
47780
47781
47782
47783
47784
47785
47786 # Check whether --enable-omf was given.
47787 if test "${enable_omf+set}" = set; then
47788 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47789 fi
47790
47791
47792 case "${BAKEFILE_HOST}" in
47793 *-*-darwin* )
47794 if test "x$GCC" = "xyes"; then
47795 CFLAGS="$CFLAGS -fno-common"
47796 CXXFLAGS="$CXXFLAGS -fno-common"
47797 fi
47798 if test "x$XLCC" = "xyes"; then
47799 CFLAGS="$CFLAGS -qnocommon"
47800 CXXFLAGS="$CXXFLAGS -qnocommon"
47801 fi
47802 ;;
47803
47804 *-pc-os2_emx | *-pc-os2-emx )
47805 if test "x$bk_os2_use_omf" = "xyes" ; then
47806 AR=emxomfar
47807 RANLIB=:
47808 LDFLAGS="-Zomf $LDFLAGS"
47809 CFLAGS="-Zomf $CFLAGS"
47810 CXXFLAGS="-Zomf $CXXFLAGS"
47811 OS2_LIBEXT="lib"
47812 else
47813 OS2_LIBEXT="a"
47814 fi
47815 ;;
47816
47817 i*86-*-beos* )
47818 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47819 ;;
47820 esac
47821
47822
47823 SO_SUFFIX="so"
47824 SO_SUFFIX_MODULE="so"
47825 EXEEXT=""
47826 LIBPREFIX="lib"
47827 LIBEXT=".a"
47828 DLLPREFIX="lib"
47829 DLLPREFIX_MODULE=""
47830 DLLIMP_SUFFIX=""
47831 dlldir="$libdir"
47832
47833 case "${BAKEFILE_HOST}" in
47834 *-hp-hpux* )
47835 SO_SUFFIX="sl"
47836 SO_SUFFIX_MODULE="sl"
47837 ;;
47838 *-*-aix* )
47839 SO_SUFFIX="a"
47840 SO_SUFFIX_MODULE="a"
47841 ;;
47842 *-*-cygwin* )
47843 SO_SUFFIX="dll"
47844 SO_SUFFIX_MODULE="dll"
47845 DLLIMP_SUFFIX="dll.a"
47846 EXEEXT=".exe"
47847 DLLPREFIX="cyg"
47848 dlldir="$bindir"
47849 ;;
47850 *-*-mingw32* )
47851 SO_SUFFIX="dll"
47852 SO_SUFFIX_MODULE="dll"
47853 DLLIMP_SUFFIX="dll.a"
47854 EXEEXT=".exe"
47855 DLLPREFIX=""
47856 dlldir="$bindir"
47857 ;;
47858 *-pc-msdosdjgpp )
47859 EXEEXT=".exe"
47860 DLLPREFIX=""
47861 dlldir="$bindir"
47862 ;;
47863 *-pc-os2_emx | *-pc-os2-emx )
47864 SO_SUFFIX="dll"
47865 SO_SUFFIX_MODULE="dll"
47866 DLLIMP_SUFFIX=$OS2_LIBEXT
47867 EXEEXT=".exe"
47868 DLLPREFIX=""
47869 LIBPREFIX=""
47870 LIBEXT=".$OS2_LIBEXT"
47871 dlldir="$bindir"
47872 ;;
47873 *-*-darwin* )
47874 SO_SUFFIX="dylib"
47875 SO_SUFFIX_MODULE="bundle"
47876 ;;
47877 esac
47878
47879 if test "x$DLLIMP_SUFFIX" = "x" ; then
47880 DLLIMP_SUFFIX="$SO_SUFFIX"
47881 fi
47882
47883
47884
47885
47886
47887
47888
47889
47890
47891
47892
47893
47894 PIC_FLAG=""
47895 if test "x$GCC" = "xyes"; then
47896 PIC_FLAG="-fPIC"
47897 fi
47898
47899 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47900 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47901 WINDOWS_IMPLIB=0
47902
47903 case "${BAKEFILE_HOST}" in
47904 *-hp-hpux* )
47905 if test "x$GCC" != "xyes"; then
47906 LDFLAGS="$LDFLAGS -L/usr/lib"
47907
47908 SHARED_LD_CC="${CC} -b -o"
47909 SHARED_LD_CXX="${CXX} -b -o"
47910 PIC_FLAG="+Z"
47911 fi
47912 ;;
47913
47914 *-*-linux* )
47915 if test "$INTELCC" = "yes"; then
47916 PIC_FLAG="-KPIC"
47917 elif test "x$SUNCXX" = "xyes"; then
47918 SHARED_LD_CC="${CC} -G -o"
47919 SHARED_LD_CXX="${CXX} -G -o"
47920 PIC_FLAG="-KPIC"
47921 fi
47922 ;;
47923
47924 *-*-solaris2* )
47925 if test "x$SUNCXX" = xyes ; then
47926 SHARED_LD_CC="${CC} -G -o"
47927 SHARED_LD_CXX="${CXX} -G -o"
47928 PIC_FLAG="-KPIC"
47929 fi
47930 ;;
47931
47932 *-*-darwin* )
47933
47934 D='$'
47935 cat <<EOF >shared-ld-sh
47936 #!/bin/sh
47937 #-----------------------------------------------------------------------------
47938 #-- Name: distrib/mac/shared-ld-sh
47939 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47940 #-- Author: Gilles Depeyrot
47941 #-- Copyright: (c) 2002 Gilles Depeyrot
47942 #-- Licence: any use permitted
47943 #-----------------------------------------------------------------------------
47944
47945 verbose=0
47946 args=""
47947 objects=""
47948 linking_flag="-dynamiclib"
47949 ldargs="-r -keep_private_externs -nostdlib"
47950
47951 if test "x${D}CXX" = "x"; then
47952 CXX="c++"
47953 fi
47954
47955 while test ${D}# -gt 0; do
47956 case ${D}1 in
47957
47958 -v)
47959 verbose=1
47960 ;;
47961
47962 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47963 # collect these options and values
47964 args="${D}{args} ${D}1 ${D}2"
47965 shift
47966 ;;
47967
47968 -arch|-isysroot)
47969 # collect these options and values
47970 ldargs="${D}{ldargs} ${D}1 ${D}2"
47971 shift
47972 ;;
47973
47974 -s|-Wl,*)
47975 # collect these load args
47976 ldargs="${D}{ldargs} ${D}1"
47977 ;;
47978
47979 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47980 # collect these options
47981 args="${D}{args} ${D}1"
47982 ;;
47983
47984 -dynamiclib|-bundle)
47985 linking_flag="${D}1"
47986 ;;
47987
47988 -*)
47989 echo "shared-ld: unhandled option '${D}1'"
47990 exit 1
47991 ;;
47992
47993 *.o | *.a | *.dylib)
47994 # collect object files
47995 objects="${D}{objects} ${D}1"
47996 ;;
47997
47998 *)
47999 echo "shared-ld: unhandled argument '${D}1'"
48000 exit 1
48001 ;;
48002
48003 esac
48004 shift
48005 done
48006
48007 status=0
48008
48009 #
48010 # Link one module containing all the others
48011 #
48012 if test ${D}{verbose} = 1; then
48013 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48014 fi
48015 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48016 status=${D}?
48017
48018 #
48019 # Link the shared library from the single module created, but only if the
48020 # previous command didn't fail:
48021 #
48022 if test ${D}{status} = 0; then
48023 if test ${D}{verbose} = 1; then
48024 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48025 fi
48026 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48027 status=${D}?
48028 fi
48029
48030 #
48031 # Remove intermediate module
48032 #
48033 rm -f master.${D}${D}.o
48034
48035 exit ${D}status
48036 EOF
48037
48038 chmod +x shared-ld-sh
48039
48040 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48041 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48042
48043
48044 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48045 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48046 if test "${bakefile_cv_gcc31+set}" = set; then
48047 echo $ECHO_N "(cached) $ECHO_C" >&6
48048 else
48049
48050 cat >conftest.$ac_ext <<_ACEOF
48051 /* confdefs.h. */
48052 _ACEOF
48053 cat confdefs.h >>conftest.$ac_ext
48054 cat >>conftest.$ac_ext <<_ACEOF
48055 /* end confdefs.h. */
48056
48057 int
48058 main ()
48059 {
48060
48061 #if (__GNUC__ < 3) || \
48062 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48063 This is old gcc
48064 #endif
48065
48066 ;
48067 return 0;
48068 }
48069 _ACEOF
48070 rm -f conftest.$ac_objext
48071 if { (ac_try="$ac_compile"
48072 case "(($ac_try" in
48073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48074 *) ac_try_echo=$ac_try;;
48075 esac
48076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48077 (eval "$ac_compile") 2>conftest.er1
48078 ac_status=$?
48079 grep -v '^ *+' conftest.er1 >conftest.err
48080 rm -f conftest.er1
48081 cat conftest.err >&5
48082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48083 (exit $ac_status); } && {
48084 test -z "$ac_c_werror_flag" ||
48085 test ! -s conftest.err
48086 } && test -s conftest.$ac_objext; then
48087
48088 bakefile_cv_gcc31=yes
48089
48090 else
48091 echo "$as_me: failed program was:" >&5
48092 sed 's/^/| /' conftest.$ac_ext >&5
48093
48094
48095 bakefile_cv_gcc31=no
48096
48097
48098 fi
48099
48100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48101
48102 fi
48103 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48104 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48105 if test "$bakefile_cv_gcc31" = "no"; then
48106 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48107 SHARED_LD_CXX="$SHARED_LD_CC"
48108 else
48109 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48110 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48111 fi
48112
48113 if test "x$GCC" == "xyes"; then
48114 PIC_FLAG="-dynamic -fPIC"
48115 fi
48116 if test "x$XLCC" = "xyes"; then
48117 PIC_FLAG="-dynamic -DPIC"
48118 fi
48119 ;;
48120
48121 *-*-aix* )
48122 if test "x$GCC" = "xyes"; then
48123 PIC_FLAG=""
48124
48125 case "${BAKEFILE_HOST}" in
48126 *-*-aix5* )
48127 LD_EXPFULL="-Wl,-bexpfull"
48128 ;;
48129 esac
48130
48131 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48132 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48133 else
48134 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48135 set dummy makeC++SharedLib; ac_word=$2
48136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48138 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48139 echo $ECHO_N "(cached) $ECHO_C" >&6
48140 else
48141 if test -n "$AIX_CXX_LD"; then
48142 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48143 else
48144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48145 for as_dir in $PATH
48146 do
48147 IFS=$as_save_IFS
48148 test -z "$as_dir" && as_dir=.
48149 for ac_exec_ext in '' $ac_executable_extensions; do
48150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48151 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48153 break 2
48154 fi
48155 done
48156 done
48157 IFS=$as_save_IFS
48158
48159 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48160 fi
48161 fi
48162 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48163 if test -n "$AIX_CXX_LD"; then
48164 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48165 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48166 else
48167 { echo "$as_me:$LINENO: result: no" >&5
48168 echo "${ECHO_T}no" >&6; }
48169 fi
48170
48171
48172 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48173 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48174 fi
48175 ;;
48176
48177 *-*-beos* )
48178 SHARED_LD_CC="${LD} -nostart -o"
48179 SHARED_LD_CXX="${LD} -nostart -o"
48180 ;;
48181
48182 *-*-irix* )
48183 if test "x$GCC" != "xyes"; then
48184 PIC_FLAG="-KPIC"
48185 fi
48186 ;;
48187
48188 *-*-cygwin* | *-*-mingw32* )
48189 PIC_FLAG=""
48190 SHARED_LD_CC="\$(CC) -shared -o"
48191 SHARED_LD_CXX="\$(CXX) -shared -o"
48192 WINDOWS_IMPLIB=1
48193 ;;
48194
48195 *-pc-os2_emx | *-pc-os2-emx )
48196 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48197 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48198 PIC_FLAG=""
48199
48200 D='$'
48201 cat <<EOF >dllar.sh
48202 #!/bin/sh
48203 #
48204 # dllar - a tool to build both a .dll and an .a file
48205 # from a set of object (.o) files for EMX/OS2.
48206 #
48207 # Written by Andrew Zabolotny, bit@freya.etu.ru
48208 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48209 #
48210 # This script will accept a set of files on the command line.
48211 # All the public symbols from the .o files will be exported into
48212 # a .DEF file, then linker will be run (through gcc) against them to
48213 # build a shared library consisting of all given .o files. All libraries
48214 # (.a) will be first decompressed into component .o files then act as
48215 # described above. You can optionally give a description (-d "description")
48216 # which will be put into .DLL. To see the list of accepted options (as well
48217 # as command-line format) simply run this program without options. The .DLL
48218 # is built to be imported by name (there is no guarantee that new versions
48219 # of the library you build will have same ordinals for same symbols).
48220 #
48221 # dllar is free software; you can redistribute it and/or modify
48222 # it under the terms of the GNU General Public License as published by
48223 # the Free Software Foundation; either version 2, or (at your option)
48224 # any later version.
48225 #
48226 # dllar is distributed in the hope that it will be useful,
48227 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48228 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48229 # GNU General Public License for more details.
48230 #
48231 # You should have received a copy of the GNU General Public License
48232 # along with dllar; see the file COPYING. If not, write to the Free
48233 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48234 # 02111-1307, USA.
48235
48236 # To successfuly run this program you will need:
48237 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48238 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48239 # - gcc
48240 # (used to build the .dll)
48241 # - emxexp
48242 # (used to create .def file from .o files)
48243 # - emximp
48244 # (used to create .a file from .def file)
48245 # - GNU text utilites (cat, sort, uniq)
48246 # used to process emxexp output
48247 # - GNU file utilities (mv, rm)
48248 # - GNU sed
48249 # - lxlite (optional, see flag below)
48250 # (used for general .dll cleanup)
48251 #
48252
48253 flag_USE_LXLITE=1;
48254
48255 #
48256 # helper functions
48257 # basnam, variant of basename, which does _not_ remove the path, _iff_
48258 # second argument (suffix to remove) is given
48259 basnam(){
48260 case ${D}# in
48261 1)
48262 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48263 ;;
48264 2)
48265 echo ${D}1 | sed 's/'${D}2'${D}//'
48266 ;;
48267 *)
48268 echo "error in basnam ${D}*"
48269 exit 8
48270 ;;
48271 esac
48272 }
48273
48274 # Cleanup temporary files and output
48275 CleanUp() {
48276 cd ${D}curDir
48277 for i in ${D}inputFiles ; do
48278 case ${D}i in
48279 *!)
48280 rm -rf \`basnam ${D}i !\`
48281 ;;
48282 *)
48283 ;;
48284 esac
48285 done
48286
48287 # Kill result in case of failure as there is just to many stupid make/nmake
48288 # things out there which doesn't do this.
48289 if [ ${D}# -eq 0 ]; then
48290 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48291 fi
48292 }
48293
48294 # Print usage and exit script with rc=1.
48295 PrintHelp() {
48296 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48297 echo ' [-name-mangler-script script.sh]'
48298 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48299 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48300 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48301 echo ' [*.o] [*.a]'
48302 echo '*> "output_file" should have no extension.'
48303 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48304 echo ' The import library name is derived from this and is set to "name".a,'
48305 echo ' unless overridden by -import'
48306 echo '*> "importlib_name" should have no extension.'
48307 echo ' If it has the .o, or .a extension, it is automatically removed.'
48308 echo ' This name is used as the import library name and may be longer and'
48309 echo ' more descriptive than the DLL name which has to follow the old '
48310 echo ' 8.3 convention of FAT.'
48311 echo '*> "script.sh may be given to override the output_file name by a'
48312 echo ' different name. It is mainly useful if the regular make process'
48313 echo ' of some package does not take into account OS/2 restriction of'
48314 echo ' DLL name lengths. It takes the importlib name as input and is'
48315 echo ' supposed to procude a shorter name as output. The script should'
48316 echo ' expect to get importlib_name without extension and should produce'
48317 echo ' a (max.) 8 letter name without extension.'
48318 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48319 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48320 echo ' These flags will be put at the start of GCC command line.'
48321 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48322 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48323 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48324 echo ' If the last character of a symbol is "*", all symbols beginning'
48325 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48326 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48327 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48328 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48329 echo ' C runtime DLLs.'
48330 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48331 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48332 echo ' unchanged to GCC at the end of command line.'
48333 echo '*> If you create a DLL from a library and you do not specify -o,'
48334 echo ' the basename for DLL and import library will be set to library name,'
48335 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48336 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48337 echo ' library will be renamed into gcc_s.a.'
48338 echo '--------'
48339 echo 'Example:'
48340 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48341 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48342 CleanUp
48343 exit 1
48344 }
48345
48346 # Execute a command.
48347 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48348 # @Uses Whatever CleanUp() uses.
48349 doCommand() {
48350 echo "${D}*"
48351 eval ${D}*
48352 rcCmd=${D}?
48353
48354 if [ ${D}rcCmd -ne 0 ]; then
48355 echo "command failed, exit code="${D}rcCmd
48356 CleanUp
48357 exit ${D}rcCmd
48358 fi
48359 }
48360
48361 # main routine
48362 # setup globals
48363 cmdLine=${D}*
48364 outFile=""
48365 outimpFile=""
48366 inputFiles=""
48367 renameScript=""
48368 description=""
48369 CC=gcc.exe
48370 CFLAGS="-s -Zcrtdll"
48371 EXTRA_CFLAGS=""
48372 EXPORT_BY_ORDINALS=0
48373 exclude_symbols=""
48374 library_flags=""
48375 curDir=\`pwd\`
48376 curDirS=curDir
48377 case ${D}curDirS in
48378 */)
48379 ;;
48380 *)
48381 curDirS=${D}{curDirS}"/"
48382 ;;
48383 esac
48384 # Parse commandline
48385 libsToLink=0
48386 omfLinking=0
48387 while [ ${D}1 ]; do
48388 case ${D}1 in
48389 -ord*)
48390 EXPORT_BY_ORDINALS=1;
48391 ;;
48392 -o*)
48393 shift
48394 outFile=${D}1
48395 ;;
48396 -i*)
48397 shift
48398 outimpFile=${D}1
48399 ;;
48400 -name-mangler-script)
48401 shift
48402 renameScript=${D}1
48403 ;;
48404 -d*)
48405 shift
48406 description=${D}1
48407 ;;
48408 -f*)
48409 shift
48410 CFLAGS=${D}1
48411 ;;
48412 -c*)
48413 shift
48414 CC=${D}1
48415 ;;
48416 -h*)
48417 PrintHelp
48418 ;;
48419 -ex*)
48420 shift
48421 exclude_symbols=${D}{exclude_symbols}${D}1" "
48422 ;;
48423 -libf*)
48424 shift
48425 library_flags=${D}{library_flags}${D}1" "
48426 ;;
48427 -nocrt*)
48428 CFLAGS="-s"
48429 ;;
48430 -nolxl*)
48431 flag_USE_LXLITE=0
48432 ;;
48433 -* | /*)
48434 case ${D}1 in
48435 -L* | -l*)
48436 libsToLink=1
48437 ;;
48438 -Zomf)
48439 omfLinking=1
48440 ;;
48441 *)
48442 ;;
48443 esac
48444 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48445 ;;
48446 *.dll)
48447 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48448 if [ ${D}omfLinking -eq 1 ]; then
48449 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48450 else
48451 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48452 fi
48453 ;;
48454 *)
48455 found=0;
48456 if [ ${D}libsToLink -ne 0 ]; then
48457 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48458 else
48459 for file in ${D}1 ; do
48460 if [ -f ${D}file ]; then
48461 inputFiles="${D}{inputFiles} ${D}file"
48462 found=1
48463 fi
48464 done
48465 if [ ${D}found -eq 0 ]; then
48466 echo "ERROR: No file(s) found: "${D}1
48467 exit 8
48468 fi
48469 fi
48470 ;;
48471 esac
48472 shift
48473 done # iterate cmdline words
48474
48475 #
48476 if [ -z "${D}inputFiles" ]; then
48477 echo "dllar: no input files"
48478 PrintHelp
48479 fi
48480
48481 # Now extract all .o files from .a files
48482 newInputFiles=""
48483 for file in ${D}inputFiles ; do
48484 case ${D}file in
48485 *.a | *.lib)
48486 case ${D}file in
48487 *.a)
48488 suffix=".a"
48489 AR="ar"
48490 ;;
48491 *.lib)
48492 suffix=".lib"
48493 AR="emxomfar"
48494 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48495 ;;
48496 *)
48497 ;;
48498 esac
48499 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48500 mkdir ${D}dirname
48501 if [ ${D}? -ne 0 ]; then
48502 echo "Failed to create subdirectory ./${D}dirname"
48503 CleanUp
48504 exit 8;
48505 fi
48506 # Append '!' to indicate archive
48507 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48508 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48509 cd ${D}curDir
48510 found=0;
48511 for subfile in ${D}dirname/*.o* ; do
48512 if [ -f ${D}subfile ]; then
48513 found=1
48514 if [ -s ${D}subfile ]; then
48515 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48516 newInputFiles="${D}newInputFiles ${D}subfile"
48517 fi
48518 fi
48519 done
48520 if [ ${D}found -eq 0 ]; then
48521 echo "WARNING: there are no files in archive \\'${D}file\\'"
48522 fi
48523 ;;
48524 *)
48525 newInputFiles="${D}{newInputFiles} ${D}file"
48526 ;;
48527 esac
48528 done
48529 inputFiles="${D}newInputFiles"
48530
48531 # Output filename(s).
48532 do_backup=0;
48533 if [ -z ${D}outFile ]; then
48534 do_backup=1;
48535 set outFile ${D}inputFiles; outFile=${D}2
48536 fi
48537
48538 # If it is an archive, remove the '!' and the '_%' suffixes
48539 case ${D}outFile in
48540 *_%!)
48541 outFile=\`basnam ${D}outFile _%!\`
48542 ;;
48543 *)
48544 ;;
48545 esac
48546 case ${D}outFile in
48547 *.dll)
48548 outFile=\`basnam ${D}outFile .dll\`
48549 ;;
48550 *.DLL)
48551 outFile=\`basnam ${D}outFile .DLL\`
48552 ;;
48553 *.o)
48554 outFile=\`basnam ${D}outFile .o\`
48555 ;;
48556 *.obj)
48557 outFile=\`basnam ${D}outFile .obj\`
48558 ;;
48559 *.a)
48560 outFile=\`basnam ${D}outFile .a\`
48561 ;;
48562 *.lib)
48563 outFile=\`basnam ${D}outFile .lib\`
48564 ;;
48565 *)
48566 ;;
48567 esac
48568 case ${D}outimpFile in
48569 *.a)
48570 outimpFile=\`basnam ${D}outimpFile .a\`
48571 ;;
48572 *.lib)
48573 outimpFile=\`basnam ${D}outimpFile .lib\`
48574 ;;
48575 *)
48576 ;;
48577 esac
48578 if [ -z ${D}outimpFile ]; then
48579 outimpFile=${D}outFile
48580 fi
48581 defFile="${D}{outFile}.def"
48582 arcFile="${D}{outimpFile}.a"
48583 arcFile2="${D}{outimpFile}.lib"
48584
48585 #create ${D}dllFile as something matching 8.3 restrictions,
48586 if [ -z ${D}renameScript ] ; then
48587 dllFile="${D}outFile"
48588 else
48589 dllFile=\`${D}renameScript ${D}outimpFile\`
48590 fi
48591
48592 if [ ${D}do_backup -ne 0 ] ; then
48593 if [ -f ${D}arcFile ] ; then
48594 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48595 fi
48596 if [ -f ${D}arcFile2 ] ; then
48597 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48598 fi
48599 fi
48600
48601 # Extract public symbols from all the object files.
48602 tmpdefFile=${D}{defFile}_%
48603 rm -f ${D}tmpdefFile
48604 for file in ${D}inputFiles ; do
48605 case ${D}file in
48606 *!)
48607 ;;
48608 *)
48609 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48610 ;;
48611 esac
48612 done
48613
48614 # Create the def file.
48615 rm -f ${D}defFile
48616 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48617 dllFile="${D}{dllFile}.dll"
48618 if [ ! -z ${D}description ]; then
48619 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48620 fi
48621 echo "EXPORTS" >> ${D}defFile
48622
48623 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48624 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48625
48626 # Checks if the export is ok or not.
48627 for word in ${D}exclude_symbols; do
48628 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48629 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48630 done
48631
48632
48633 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48634 sed "=" < ${D}tmpdefFile | \\
48635 sed '
48636 N
48637 : loop
48638 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48639 t loop
48640 ' > ${D}{tmpdefFile}%
48641 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48642 else
48643 rm -f ${D}{tmpdefFile}%
48644 fi
48645 cat ${D}tmpdefFile >> ${D}defFile
48646 rm -f ${D}tmpdefFile
48647
48648 # Do linking, create implib, and apply lxlite.
48649 gccCmdl="";
48650 for file in ${D}inputFiles ; do
48651 case ${D}file in
48652 *!)
48653 ;;
48654 *)
48655 gccCmdl="${D}gccCmdl ${D}file"
48656 ;;
48657 esac
48658 done
48659 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48660 touch "${D}{outFile}.dll"
48661
48662 doCommand "emximp -o ${D}arcFile ${D}defFile"
48663 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48664 add_flags="";
48665 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48666 add_flags="-ynd"
48667 fi
48668 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48669 fi
48670 doCommand "emxomf -s -l ${D}arcFile"
48671
48672 # Successful exit.
48673 CleanUp 1
48674 exit 0
48675 EOF
48676
48677 chmod +x dllar.sh
48678 ;;
48679
48680 powerpc-apple-macos* | \
48681 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48682 *-*-mirbsd* | \
48683 *-*-sunos4* | \
48684 *-*-osf* | \
48685 *-*-dgux5* | \
48686 *-*-sysv5* | \
48687 *-pc-msdosdjgpp )
48688 ;;
48689
48690 *)
48691 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48692 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48693 { (exit 1); exit 1; }; }
48694 esac
48695
48696 if test "x$PIC_FLAG" != "x" ; then
48697 PIC_FLAG="$PIC_FLAG -DPIC"
48698 fi
48699
48700 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48701 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48702 fi
48703 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48704 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48705 fi
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715 USE_SOVERSION=0
48716 USE_SOVERLINUX=0
48717 USE_SOVERSOLARIS=0
48718 USE_SOVERCYGWIN=0
48719 USE_SOSYMLINKS=0
48720 USE_MACVERSION=0
48721 SONAME_FLAG=
48722
48723 case "${BAKEFILE_HOST}" in
48724 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48725 *-*-k*bsd*-gnu | *-*-mirbsd* )
48726 if test "x$SUNCXX" = "xyes"; then
48727 SONAME_FLAG="-h "
48728 else
48729 SONAME_FLAG="-Wl,-soname,"
48730 fi
48731 USE_SOVERSION=1
48732 USE_SOVERLINUX=1
48733 USE_SOSYMLINKS=1
48734 ;;
48735
48736 *-*-solaris2* )
48737 SONAME_FLAG="-h "
48738 USE_SOVERSION=1
48739 USE_SOVERSOLARIS=1
48740 USE_SOSYMLINKS=1
48741 ;;
48742
48743 *-*-darwin* )
48744 USE_MACVERSION=1
48745 USE_SOVERSION=1
48746 USE_SOSYMLINKS=1
48747 ;;
48748
48749 *-*-cygwin* )
48750 USE_SOVERSION=1
48751 USE_SOVERCYGWIN=1
48752 ;;
48753 esac
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764 # Check whether --enable-dependency-tracking was given.
48765 if test "${enable_dependency_tracking+set}" = set; then
48766 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48767 fi
48768
48769
48770 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48771 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48772
48773 BK_DEPS=""
48774 if test "x$bk_use_trackdeps" = "xno" ; then
48775 DEPS_TRACKING=0
48776 { echo "$as_me:$LINENO: result: disabled" >&5
48777 echo "${ECHO_T}disabled" >&6; }
48778 else
48779 DEPS_TRACKING=1
48780
48781 if test "x$GCC" = "xyes"; then
48782 DEPSMODE=gcc
48783 case "${BAKEFILE_HOST}" in
48784 *-*-darwin* )
48785 DEPSFLAG="-no-cpp-precomp -MMD"
48786 ;;
48787 * )
48788 DEPSFLAG="-MMD"
48789 ;;
48790 esac
48791 { echo "$as_me:$LINENO: result: gcc" >&5
48792 echo "${ECHO_T}gcc" >&6; }
48793 elif test "x$MWCC" = "xyes"; then
48794 DEPSMODE=mwcc
48795 DEPSFLAG="-MM"
48796 { echo "$as_me:$LINENO: result: mwcc" >&5
48797 echo "${ECHO_T}mwcc" >&6; }
48798 elif test "x$SUNCC" = "xyes"; then
48799 DEPSMODE=unixcc
48800 DEPSFLAG="-xM1"
48801 { echo "$as_me:$LINENO: result: Sun cc" >&5
48802 echo "${ECHO_T}Sun cc" >&6; }
48803 elif test "x$SGICC" = "xyes"; then
48804 DEPSMODE=unixcc
48805 DEPSFLAG="-M"
48806 { echo "$as_me:$LINENO: result: SGI cc" >&5
48807 echo "${ECHO_T}SGI cc" >&6; }
48808 elif test "x$HPCC" = "xyes"; then
48809 DEPSMODE=unixcc
48810 DEPSFLAG="+make"
48811 { echo "$as_me:$LINENO: result: HP cc" >&5
48812 echo "${ECHO_T}HP cc" >&6; }
48813 elif test "x$COMPAQCC" = "xyes"; then
48814 DEPSMODE=gcc
48815 DEPSFLAG="-MD"
48816 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48817 echo "${ECHO_T}Compaq cc" >&6; }
48818 else
48819 DEPS_TRACKING=0
48820 { echo "$as_me:$LINENO: result: none" >&5
48821 echo "${ECHO_T}none" >&6; }
48822 fi
48823
48824 if test $DEPS_TRACKING = 1 ; then
48825
48826 D='$'
48827 cat <<EOF >bk-deps
48828 #!/bin/sh
48829
48830 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48831 # script. It is used to track C/C++ files dependencies in portable way.
48832 #
48833 # Permission is given to use this file in any way.
48834
48835 DEPSMODE=${DEPSMODE}
48836 DEPSDIR=.deps
48837 DEPSFLAG="${DEPSFLAG}"
48838
48839 mkdir -p ${D}DEPSDIR
48840
48841 if test ${D}DEPSMODE = gcc ; then
48842 ${D}* ${D}{DEPSFLAG}
48843 status=${D}?
48844
48845 # determine location of created files:
48846 while test ${D}# -gt 0; do
48847 case "${D}1" in
48848 -o )
48849 shift
48850 objfile=${D}1
48851 ;;
48852 -* )
48853 ;;
48854 * )
48855 srcfile=${D}1
48856 ;;
48857 esac
48858 shift
48859 done
48860 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48861 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48862
48863 # if the compiler failed, we're done:
48864 if test ${D}{status} != 0 ; then
48865 rm -f ${D}depfile
48866 exit ${D}{status}
48867 fi
48868
48869 # move created file to the location we want it in:
48870 if test -f ${D}depfile ; then
48871 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48872 rm -f ${D}depfile
48873 else
48874 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48875 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48876 if test ! -f ${D}depfile ; then
48877 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48878 depfile="${D}objfile.d"
48879 fi
48880 if test -f ${D}depfile ; then
48881 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48882 rm -f ${D}depfile
48883 fi
48884 fi
48885 exit 0
48886 elif test ${D}DEPSMODE = mwcc ; then
48887 ${D}* || exit ${D}?
48888 # Run mwcc again with -MM and redirect into the dep file we want
48889 # NOTE: We can't use shift here because we need ${D}* to be valid
48890 prevarg=
48891 for arg in ${D}* ; do
48892 if test "${D}prevarg" = "-o"; then
48893 objfile=${D}arg
48894 else
48895 case "${D}arg" in
48896 -* )
48897 ;;
48898 * )
48899 srcfile=${D}arg
48900 ;;
48901 esac
48902 fi
48903 prevarg="${D}arg"
48904 done
48905 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48906 exit 0
48907 elif test ${D}DEPSMODE = unixcc; then
48908 ${D}* || exit ${D}?
48909 # Run compiler again with deps flag and redirect into the dep file.
48910 # It doesn't work if the '-o FILE' option is used, but without it the
48911 # dependency file will contain the wrong name for the object. So it is
48912 # removed from the command line, and the dep file is fixed with sed.
48913 cmd=""
48914 while test ${D}# -gt 0; do
48915 case "${D}1" in
48916 -o )
48917 shift
48918 objfile=${D}1
48919 ;;
48920 * )
48921 eval arg${D}#=\\${D}1
48922 cmd="${D}cmd \\${D}arg${D}#"
48923 ;;
48924 esac
48925 shift
48926 done
48927 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48928 exit 0
48929 else
48930 ${D}*
48931 exit ${D}?
48932 fi
48933 EOF
48934
48935 chmod +x bk-deps
48936 BK_DEPS="`pwd`/bk-deps"
48937 fi
48938 fi
48939
48940
48941
48942
48943
48944 case ${BAKEFILE_HOST} in
48945 *-*-cygwin* | *-*-mingw32* )
48946 if test -n "$ac_tool_prefix"; then
48947 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48948 set dummy ${ac_tool_prefix}windres; ac_word=$2
48949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48951 if test "${ac_cv_prog_WINDRES+set}" = set; then
48952 echo $ECHO_N "(cached) $ECHO_C" >&6
48953 else
48954 if test -n "$WINDRES"; then
48955 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48956 else
48957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48958 for as_dir in $PATH
48959 do
48960 IFS=$as_save_IFS
48961 test -z "$as_dir" && as_dir=.
48962 for ac_exec_ext in '' $ac_executable_extensions; do
48963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48964 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48966 break 2
48967 fi
48968 done
48969 done
48970 IFS=$as_save_IFS
48971
48972 fi
48973 fi
48974 WINDRES=$ac_cv_prog_WINDRES
48975 if test -n "$WINDRES"; then
48976 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48977 echo "${ECHO_T}$WINDRES" >&6; }
48978 else
48979 { echo "$as_me:$LINENO: result: no" >&5
48980 echo "${ECHO_T}no" >&6; }
48981 fi
48982
48983
48984 fi
48985 if test -z "$ac_cv_prog_WINDRES"; then
48986 ac_ct_WINDRES=$WINDRES
48987 # Extract the first word of "windres", so it can be a program name with args.
48988 set dummy windres; ac_word=$2
48989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48991 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48992 echo $ECHO_N "(cached) $ECHO_C" >&6
48993 else
48994 if test -n "$ac_ct_WINDRES"; then
48995 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48996 else
48997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48998 for as_dir in $PATH
48999 do
49000 IFS=$as_save_IFS
49001 test -z "$as_dir" && as_dir=.
49002 for ac_exec_ext in '' $ac_executable_extensions; do
49003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49004 ac_cv_prog_ac_ct_WINDRES="windres"
49005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49006 break 2
49007 fi
49008 done
49009 done
49010 IFS=$as_save_IFS
49011
49012 fi
49013 fi
49014 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49015 if test -n "$ac_ct_WINDRES"; then
49016 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49017 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49018 else
49019 { echo "$as_me:$LINENO: result: no" >&5
49020 echo "${ECHO_T}no" >&6; }
49021 fi
49022
49023 if test "x$ac_ct_WINDRES" = x; then
49024 WINDRES=""
49025 else
49026 case $cross_compiling:$ac_tool_warned in
49027 yes:)
49028 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49029 whose name does not start with the host triplet. If you think this
49030 configuration is useful to you, please write to autoconf@gnu.org." >&5
49031 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49032 whose name does not start with the host triplet. If you think this
49033 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49034 ac_tool_warned=yes ;;
49035 esac
49036 WINDRES=$ac_ct_WINDRES
49037 fi
49038 else
49039 WINDRES="$ac_cv_prog_WINDRES"
49040 fi
49041
49042 ;;
49043
49044 *-*-darwin* | powerpc-apple-macos* )
49045 # Extract the first word of "Rez", so it can be a program name with args.
49046 set dummy Rez; ac_word=$2
49047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49049 if test "${ac_cv_prog_REZ+set}" = set; then
49050 echo $ECHO_N "(cached) $ECHO_C" >&6
49051 else
49052 if test -n "$REZ"; then
49053 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49054 else
49055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49056 for as_dir in $PATH
49057 do
49058 IFS=$as_save_IFS
49059 test -z "$as_dir" && as_dir=.
49060 for ac_exec_ext in '' $ac_executable_extensions; do
49061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49062 ac_cv_prog_REZ="Rez"
49063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49064 break 2
49065 fi
49066 done
49067 done
49068 IFS=$as_save_IFS
49069
49070 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49071 fi
49072 fi
49073 REZ=$ac_cv_prog_REZ
49074 if test -n "$REZ"; then
49075 { echo "$as_me:$LINENO: result: $REZ" >&5
49076 echo "${ECHO_T}$REZ" >&6; }
49077 else
49078 { echo "$as_me:$LINENO: result: no" >&5
49079 echo "${ECHO_T}no" >&6; }
49080 fi
49081
49082
49083 # Extract the first word of "SetFile", so it can be a program name with args.
49084 set dummy SetFile; ac_word=$2
49085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49087 if test "${ac_cv_prog_SETFILE+set}" = set; then
49088 echo $ECHO_N "(cached) $ECHO_C" >&6
49089 else
49090 if test -n "$SETFILE"; then
49091 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49092 else
49093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49094 for as_dir in $PATH
49095 do
49096 IFS=$as_save_IFS
49097 test -z "$as_dir" && as_dir=.
49098 for ac_exec_ext in '' $ac_executable_extensions; do
49099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49100 ac_cv_prog_SETFILE="SetFile"
49101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49102 break 2
49103 fi
49104 done
49105 done
49106 IFS=$as_save_IFS
49107
49108 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49109 fi
49110 fi
49111 SETFILE=$ac_cv_prog_SETFILE
49112 if test -n "$SETFILE"; then
49113 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49114 echo "${ECHO_T}$SETFILE" >&6; }
49115 else
49116 { echo "$as_me:$LINENO: result: no" >&5
49117 echo "${ECHO_T}no" >&6; }
49118 fi
49119
49120
49121 ;;
49122 esac
49123
49124
49125
49126
49127
49128
49129 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49130
49131
49132 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
49133
49134
49135
49136 # Check whether --enable-precomp-headers was given.
49137 if test "${enable_precomp_headers+set}" = set; then
49138 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49139 fi
49140
49141
49142 GCC_PCH=0
49143 ICC_PCH=0
49144 USE_PCH=0
49145 BK_MAKE_PCH=""
49146
49147 case ${BAKEFILE_HOST} in
49148 *-*-cygwin* )
49149 bk_use_pch="no"
49150 ;;
49151 esac
49152
49153 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49154 if test "x$GCC" = "xyes"; then
49155 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49156 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49157 cat >conftest.$ac_ext <<_ACEOF
49158 /* confdefs.h. */
49159 _ACEOF
49160 cat confdefs.h >>conftest.$ac_ext
49161 cat >>conftest.$ac_ext <<_ACEOF
49162 /* end confdefs.h. */
49163
49164 int
49165 main ()
49166 {
49167
49168 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49169 There is no PCH support
49170 #endif
49171 #if (__GNUC__ < 3)
49172 There is no PCH support
49173 #endif
49174 #if (__GNUC__ == 3) && \
49175 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49176 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49177 ( defined(__INTEL_COMPILER) )
49178 There is no PCH support
49179 #endif
49180
49181 ;
49182 return 0;
49183 }
49184 _ACEOF
49185 rm -f conftest.$ac_objext
49186 if { (ac_try="$ac_compile"
49187 case "(($ac_try" in
49188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49189 *) ac_try_echo=$ac_try;;
49190 esac
49191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49192 (eval "$ac_compile") 2>conftest.er1
49193 ac_status=$?
49194 grep -v '^ *+' conftest.er1 >conftest.err
49195 rm -f conftest.er1
49196 cat conftest.err >&5
49197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49198 (exit $ac_status); } && {
49199 test -z "$ac_c_werror_flag" ||
49200 test ! -s conftest.err
49201 } && test -s conftest.$ac_objext; then
49202
49203 { echo "$as_me:$LINENO: result: yes" >&5
49204 echo "${ECHO_T}yes" >&6; }
49205 GCC_PCH=1
49206
49207 else
49208 echo "$as_me: failed program was:" >&5
49209 sed 's/^/| /' conftest.$ac_ext >&5
49210
49211
49212 cat >conftest.$ac_ext <<_ACEOF
49213 /* confdefs.h. */
49214 _ACEOF
49215 cat confdefs.h >>conftest.$ac_ext
49216 cat >>conftest.$ac_ext <<_ACEOF
49217 /* end confdefs.h. */
49218
49219 int
49220 main ()
49221 {
49222
49223 #if !defined(__INTEL_COMPILER) || \
49224 (__INTEL_COMPILER < 800)
49225 There is no PCH support
49226 #endif
49227
49228 ;
49229 return 0;
49230 }
49231 _ACEOF
49232 rm -f conftest.$ac_objext
49233 if { (ac_try="$ac_compile"
49234 case "(($ac_try" in
49235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49236 *) ac_try_echo=$ac_try;;
49237 esac
49238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49239 (eval "$ac_compile") 2>conftest.er1
49240 ac_status=$?
49241 grep -v '^ *+' conftest.er1 >conftest.err
49242 rm -f conftest.er1
49243 cat conftest.err >&5
49244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49245 (exit $ac_status); } && {
49246 test -z "$ac_c_werror_flag" ||
49247 test ! -s conftest.err
49248 } && test -s conftest.$ac_objext; then
49249
49250 { echo "$as_me:$LINENO: result: yes" >&5
49251 echo "${ECHO_T}yes" >&6; }
49252 ICC_PCH=1
49253
49254 else
49255 echo "$as_me: failed program was:" >&5
49256 sed 's/^/| /' conftest.$ac_ext >&5
49257
49258
49259 { echo "$as_me:$LINENO: result: no" >&5
49260 echo "${ECHO_T}no" >&6; }
49261
49262 fi
49263
49264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49265
49266 fi
49267
49268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49269 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49270 USE_PCH=1
49271
49272 D='$'
49273 cat <<EOF >bk-make-pch
49274 #!/bin/sh
49275
49276 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49277 # script. It is used to generated precompiled headers.
49278 #
49279 # Permission is given to use this file in any way.
49280
49281 outfile="${D}{1}"
49282 header="${D}{2}"
49283 shift
49284 shift
49285
49286 compiler=""
49287 headerfile=""
49288
49289 while test ${D}{#} -gt 0; do
49290 add_to_cmdline=1
49291 case "${D}{1}" in
49292 -I* )
49293 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49294 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49295 headerfile="${D}{incdir}/${D}{header}"
49296 fi
49297 ;;
49298 -use-pch|-use_pch )
49299 shift
49300 add_to_cmdline=0
49301 ;;
49302 esac
49303 if test ${D}add_to_cmdline = 1 ; then
49304 compiler="${D}{compiler} ${D}{1}"
49305 fi
49306 shift
49307 done
49308
49309 if test "x${D}{headerfile}" = "x" ; then
49310 echo "error: can't find header ${D}{header} in include paths" >&2
49311 else
49312 if test -f ${D}{outfile} ; then
49313 rm -f ${D}{outfile}
49314 else
49315 mkdir -p \`dirname ${D}{outfile}\`
49316 fi
49317 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49318 mkdir -p .deps
49319 if test "x${GCC_PCH}" = "x1" ; then
49320 # can do this because gcc is >= 3.4:
49321 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49322 elif test "x${ICC_PCH}" = "x1" ; then
49323 filename=pch_gen-${D}${D}
49324 file=${D}{filename}.c
49325 dfile=${D}{filename}.d
49326 cat > ${D}file <<EOT
49327 #include "${D}header"
49328 EOT
49329 # using -MF icc complains about differing command lines in creation/use
49330 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49331 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49332 rm -f ${D}file ${D}dfile ${D}{filename}.o
49333 fi
49334 exit ${D}{?}
49335 fi
49336 EOF
49337
49338 chmod +x bk-make-pch
49339 BK_MAKE_PCH="`pwd`/bk-make-pch"
49340 fi
49341 fi
49342 fi
49343
49344
49345
49346
49347
49348 COND_BUILD_DEBUG="#"
49349 if test "x$BUILD" = "xdebug" ; then
49350 COND_BUILD_DEBUG=""
49351 fi
49352
49353 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49354 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49355 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49356 fi
49357
49358 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49359 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49360 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49361 fi
49362
49363 COND_BUILD_DEBUG_UNICODE_0="#"
49364 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49365 COND_BUILD_DEBUG_UNICODE_0=""
49366 fi
49367
49368 COND_BUILD_DEBUG_UNICODE_1="#"
49369 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49370 COND_BUILD_DEBUG_UNICODE_1=""
49371 fi
49372
49373 COND_BUILD_RELEASE="#"
49374 if test "x$BUILD" = "xrelease" ; then
49375 COND_BUILD_RELEASE=""
49376 fi
49377
49378 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49379 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49380 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49381 fi
49382
49383 COND_BUILD_RELEASE_UNICODE_0="#"
49384 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49385 COND_BUILD_RELEASE_UNICODE_0=""
49386 fi
49387
49388 COND_BUILD_RELEASE_UNICODE_1="#"
49389 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49390 COND_BUILD_RELEASE_UNICODE_1=""
49391 fi
49392
49393 COND_DEBUG_FLAG_1="#"
49394 if test "x$DEBUG_FLAG" = "x1" ; then
49395 COND_DEBUG_FLAG_1=""
49396 fi
49397
49398 COND_DEBUG_INFO_0="#"
49399 if test "x$DEBUG_INFO" = "x0" ; then
49400 COND_DEBUG_INFO_0=""
49401 fi
49402
49403 COND_DEBUG_INFO_1="#"
49404 if test "x$DEBUG_INFO" = "x1" ; then
49405 COND_DEBUG_INFO_1=""
49406 fi
49407
49408 COND_DEPS_TRACKING_0="#"
49409 if test "x$DEPS_TRACKING" = "x0" ; then
49410 COND_DEPS_TRACKING_0=""
49411 fi
49412
49413 COND_DEPS_TRACKING_1="#"
49414 if test "x$DEPS_TRACKING" = "x1" ; then
49415 COND_DEPS_TRACKING_1=""
49416 fi
49417
49418 COND_GCC_PCH_1="#"
49419 if test "x$GCC_PCH" = "x1" ; then
49420 COND_GCC_PCH_1=""
49421 fi
49422
49423 COND_ICC_PCH_1="#"
49424 if test "x$ICC_PCH" = "x1" ; then
49425 COND_ICC_PCH_1=""
49426 fi
49427
49428 COND_MONOLITHIC_0="#"
49429 if test "x$MONOLITHIC" = "x0" ; then
49430 COND_MONOLITHIC_0=""
49431 fi
49432
49433 COND_MONOLITHIC_0_SHARED_0="#"
49434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49435 COND_MONOLITHIC_0_SHARED_0=""
49436 fi
49437
49438 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49440 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49441 fi
49442
49443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49445 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49446 fi
49447
49448 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49450 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49451 fi
49452
49453 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49455 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49456 fi
49457
49458 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49460 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49461 fi
49462
49463 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49465 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49466 fi
49467
49468 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49470 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49471 fi
49472
49473 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49475 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49476 fi
49477
49478 COND_MONOLITHIC_0_SHARED_1="#"
49479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49480 COND_MONOLITHIC_0_SHARED_1=""
49481 fi
49482
49483 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49485 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49486 fi
49487
49488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49490 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49491 fi
49492
49493 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49495 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49496 fi
49497
49498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49500 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49501 fi
49502
49503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49506 fi
49507
49508 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49510 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49511 fi
49512
49513 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49515 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49516 fi
49517
49518 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49520 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49521 fi
49522
49523 COND_MONOLITHIC_0_USE_AUI_1="#"
49524 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49525 COND_MONOLITHIC_0_USE_AUI_1=""
49526 fi
49527
49528 COND_MONOLITHIC_0_USE_GUI_1="#"
49529 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49530 COND_MONOLITHIC_0_USE_GUI_1=""
49531 fi
49532
49533 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49534 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49535 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49536 fi
49537
49538 COND_MONOLITHIC_0_USE_HTML_1="#"
49539 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49540 COND_MONOLITHIC_0_USE_HTML_1=""
49541 fi
49542
49543 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49544 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49545 COND_MONOLITHIC_0_USE_MEDIA_1=""
49546 fi
49547
49548 COND_MONOLITHIC_0_USE_QA_1="#"
49549 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49550 COND_MONOLITHIC_0_USE_QA_1=""
49551 fi
49552
49553 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49554 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49555 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49556 fi
49557
49558 COND_MONOLITHIC_0_USE_STC_1="#"
49559 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49560 COND_MONOLITHIC_0_USE_STC_1=""
49561 fi
49562
49563 COND_MONOLITHIC_0_USE_XRC_1="#"
49564 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49565 COND_MONOLITHIC_0_USE_XRC_1=""
49566 fi
49567
49568 COND_MONOLITHIC_1="#"
49569 if test "x$MONOLITHIC" = "x1" ; then
49570 COND_MONOLITHIC_1=""
49571 fi
49572
49573 COND_MONOLITHIC_1_SHARED_0="#"
49574 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49575 COND_MONOLITHIC_1_SHARED_0=""
49576 fi
49577
49578 COND_MONOLITHIC_1_SHARED_1="#"
49579 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49580 COND_MONOLITHIC_1_SHARED_1=""
49581 fi
49582
49583 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49584 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49585 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49586 fi
49587
49588 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49589 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49590 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49591 fi
49592
49593 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49594 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49595 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49596 fi
49597
49598 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49599 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49600 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49601 fi
49602
49603 COND_PLATFORM_MACOSX_1="#"
49604 if test "x$PLATFORM_MACOSX" = "x1" ; then
49605 COND_PLATFORM_MACOSX_1=""
49606 fi
49607
49608 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49610 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49611 fi
49612
49613 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49615 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49616 fi
49617
49618 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49620 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49621 fi
49622
49623 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49625 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49626 fi
49627
49628 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49630 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49631 fi
49632
49633 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49635 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49636 fi
49637
49638 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49640 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49641 fi
49642
49643 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49645 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49646 fi
49647
49648 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49650 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49651 fi
49652
49653 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49655 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49656 fi
49657
49658 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49659 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49660 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49661 fi
49662
49663 COND_PLATFORM_MACOS_1="#"
49664 if test "x$PLATFORM_MACOS" = "x1" ; then
49665 COND_PLATFORM_MACOS_1=""
49666 fi
49667
49668 COND_PLATFORM_MAC_0="#"
49669 if test "x$PLATFORM_MAC" = "x0" ; then
49670 COND_PLATFORM_MAC_0=""
49671 fi
49672
49673 COND_PLATFORM_MAC_1="#"
49674 if test "x$PLATFORM_MAC" = "x1" ; then
49675 COND_PLATFORM_MAC_1=""
49676 fi
49677
49678 COND_PLATFORM_MSDOS_0="#"
49679 if test "x$PLATFORM_MSDOS" = "x0" ; then
49680 COND_PLATFORM_MSDOS_0=""
49681 fi
49682
49683 COND_PLATFORM_MSDOS_1="#"
49684 if test "x$PLATFORM_MSDOS" = "x1" ; then
49685 COND_PLATFORM_MSDOS_1=""
49686 fi
49687
49688 COND_PLATFORM_OS2_1="#"
49689 if test "x$PLATFORM_OS2" = "x1" ; then
49690 COND_PLATFORM_OS2_1=""
49691 fi
49692
49693 COND_PLATFORM_UNIX_0="#"
49694 if test "x$PLATFORM_UNIX" = "x0" ; then
49695 COND_PLATFORM_UNIX_0=""
49696 fi
49697
49698 COND_PLATFORM_UNIX_1="#"
49699 if test "x$PLATFORM_UNIX" = "x1" ; then
49700 COND_PLATFORM_UNIX_1=""
49701 fi
49702
49703 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49704 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49706 fi
49707
49708 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49709 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49710 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49711 fi
49712
49713 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49714 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49715 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49716 fi
49717
49718 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49719 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49720 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49721 fi
49722
49723 COND_PLATFORM_WIN32_0="#"
49724 if test "x$PLATFORM_WIN32" = "x0" ; then
49725 COND_PLATFORM_WIN32_0=""
49726 fi
49727
49728 COND_PLATFORM_WIN32_1="#"
49729 if test "x$PLATFORM_WIN32" = "x1" ; then
49730 COND_PLATFORM_WIN32_1=""
49731 fi
49732
49733 COND_SHARED_0="#"
49734 if test "x$SHARED" = "x0" ; then
49735 COND_SHARED_0=""
49736 fi
49737
49738 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49739 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49741 fi
49742
49743 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49744 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49745 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49746 fi
49747
49748 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49749 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49750 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49751 fi
49752
49753 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49754 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49755 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49756 fi
49757
49758 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49759 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49760 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49761 fi
49762
49763 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49764 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49765 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49766 fi
49767
49768 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49769 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49770 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49771 fi
49772
49773 COND_SHARED_0_USE_STC_1="#"
49774 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49775 COND_SHARED_0_USE_STC_1=""
49776 fi
49777
49778 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49779 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49780 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49781 fi
49782
49783 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49784 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49785 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49786 fi
49787
49788 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49789 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49790 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49791 fi
49792
49793 COND_SHARED_1="#"
49794 if test "x$SHARED" = "x1" ; then
49795 COND_SHARED_1=""
49796 fi
49797
49798 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49799 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49800 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49801 fi
49802
49803 COND_TOOLKIT_="#"
49804 if test "x$TOOLKIT" = "x" ; then
49805 COND_TOOLKIT_=""
49806 fi
49807
49808 COND_TOOLKIT_COCOA="#"
49809 if test "x$TOOLKIT" = "xCOCOA" ; then
49810 COND_TOOLKIT_COCOA=""
49811 fi
49812
49813 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49814 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49815 COND_TOOLKIT_COCOA_USE_GUI_1=""
49816 fi
49817
49818 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49819 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49820 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49821 fi
49822
49823 COND_TOOLKIT_DFB="#"
49824 if test "x$TOOLKIT" = "xDFB" ; then
49825 COND_TOOLKIT_DFB=""
49826 fi
49827
49828 COND_TOOLKIT_DFB_USE_GUI_1="#"
49829 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49830 COND_TOOLKIT_DFB_USE_GUI_1=""
49831 fi
49832
49833 COND_TOOLKIT_GTK="#"
49834 if test "x$TOOLKIT" = "xGTK" ; then
49835 COND_TOOLKIT_GTK=""
49836 fi
49837
49838 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49839 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49840 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49841 fi
49842
49843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49844 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49845 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49846 fi
49847
49848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49849 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49850 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49851 fi
49852
49853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49856 fi
49857
49858 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49859 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49861 fi
49862
49863 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49864 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49865 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49866 fi
49867
49868 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49869 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49870 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49871 fi
49872
49873 COND_TOOLKIT_GTK_USE_GUI_1="#"
49874 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49875 COND_TOOLKIT_GTK_USE_GUI_1=""
49876 fi
49877
49878 COND_TOOLKIT_MAC="#"
49879 if test "x$TOOLKIT" = "xMAC" ; then
49880 COND_TOOLKIT_MAC=""
49881 fi
49882
49883 COND_TOOLKIT_MAC_USE_GUI_1="#"
49884 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49885 COND_TOOLKIT_MAC_USE_GUI_1=""
49886 fi
49887
49888 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49889 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49890 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49891 fi
49892
49893 COND_TOOLKIT_MGL="#"
49894 if test "x$TOOLKIT" = "xMGL" ; then
49895 COND_TOOLKIT_MGL=""
49896 fi
49897
49898 COND_TOOLKIT_MGL_USE_GUI_1="#"
49899 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49900 COND_TOOLKIT_MGL_USE_GUI_1=""
49901 fi
49902
49903 COND_TOOLKIT_MOTIF="#"
49904 if test "x$TOOLKIT" = "xMOTIF" ; then
49905 COND_TOOLKIT_MOTIF=""
49906 fi
49907
49908 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49909 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49910 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49911 fi
49912
49913 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49914 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49915 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49916 fi
49917
49918 COND_TOOLKIT_MSW="#"
49919 if test "x$TOOLKIT" = "xMSW" ; then
49920 COND_TOOLKIT_MSW=""
49921 fi
49922
49923 COND_TOOLKIT_MSW_USE_GUI_1="#"
49924 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49925 COND_TOOLKIT_MSW_USE_GUI_1=""
49926 fi
49927
49928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49929 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49931 fi
49932
49933 COND_TOOLKIT_MSW_WXUNIV_0="#"
49934 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49935 COND_TOOLKIT_MSW_WXUNIV_0=""
49936 fi
49937
49938 COND_TOOLKIT_PM="#"
49939 if test "x$TOOLKIT" = "xPM" ; then
49940 COND_TOOLKIT_PM=""
49941 fi
49942
49943 COND_TOOLKIT_PM_USE_GUI_1="#"
49944 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49945 COND_TOOLKIT_PM_USE_GUI_1=""
49946 fi
49947
49948 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49949 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49951 fi
49952
49953 COND_TOOLKIT_WINCE="#"
49954 if test "x$TOOLKIT" = "xWINCE" ; then
49955 COND_TOOLKIT_WINCE=""
49956 fi
49957
49958 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49959 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49960 COND_TOOLKIT_WINCE_USE_GUI_1=""
49961 fi
49962
49963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49964 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49965 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49966 fi
49967
49968 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49969 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49970 COND_TOOLKIT_WINCE_WXUNIV_0=""
49971 fi
49972
49973 COND_TOOLKIT_X11="#"
49974 if test "x$TOOLKIT" = "xX11" ; then
49975 COND_TOOLKIT_X11=""
49976 fi
49977
49978 COND_TOOLKIT_X11_USE_GUI_1="#"
49979 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49980 COND_TOOLKIT_X11_USE_GUI_1=""
49981 fi
49982
49983 COND_UNICODE_1="#"
49984 if test "x$UNICODE" = "x1" ; then
49985 COND_UNICODE_1=""
49986 fi
49987
49988 COND_USE_EXCEPTIONS_0="#"
49989 if test "x$USE_EXCEPTIONS" = "x0" ; then
49990 COND_USE_EXCEPTIONS_0=""
49991 fi
49992
49993 COND_USE_EXCEPTIONS_1="#"
49994 if test "x$USE_EXCEPTIONS" = "x1" ; then
49995 COND_USE_EXCEPTIONS_1=""
49996 fi
49997
49998 COND_USE_GUI_0="#"
49999 if test "x$USE_GUI" = "x0" ; then
50000 COND_USE_GUI_0=""
50001 fi
50002
50003 COND_USE_GUI_1="#"
50004 if test "x$USE_GUI" = "x1" ; then
50005 COND_USE_GUI_1=""
50006 fi
50007
50008 COND_USE_GUI_1_USE_OPENGL_1="#"
50009 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50010 COND_USE_GUI_1_USE_OPENGL_1=""
50011 fi
50012
50013 COND_USE_GUI_1_WXUNIV_0="#"
50014 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50015 COND_USE_GUI_1_WXUNIV_0=""
50016 fi
50017
50018 COND_USE_GUI_1_WXUNIV_1="#"
50019 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50020 COND_USE_GUI_1_WXUNIV_1=""
50021 fi
50022
50023 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50024 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50025 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50026 fi
50027
50028 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50029 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50030 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50031 fi
50032
50033 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50034 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50035 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50036 fi
50037
50038 COND_USE_OPENGL_1="#"
50039 if test "x$USE_OPENGL" = "x1" ; then
50040 COND_USE_OPENGL_1=""
50041 fi
50042
50043 COND_USE_PCH_1="#"
50044 if test "x$USE_PCH" = "x1" ; then
50045 COND_USE_PCH_1=""
50046 fi
50047
50048 COND_USE_PLUGINS_0="#"
50049 if test "x$USE_PLUGINS" = "x0" ; then
50050 COND_USE_PLUGINS_0=""
50051 fi
50052
50053 COND_USE_RTTI_0="#"
50054 if test "x$USE_RTTI" = "x0" ; then
50055 COND_USE_RTTI_0=""
50056 fi
50057
50058 COND_USE_RTTI_1="#"
50059 if test "x$USE_RTTI" = "x1" ; then
50060 COND_USE_RTTI_1=""
50061 fi
50062
50063 COND_USE_SOSYMLINKS_1="#"
50064 if test "x$USE_SOSYMLINKS" = "x1" ; then
50065 COND_USE_SOSYMLINKS_1=""
50066 fi
50067
50068 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50069 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50070 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50071 fi
50072
50073 COND_USE_SOVERLINUX_1="#"
50074 if test "x$USE_SOVERLINUX" = "x1" ; then
50075 COND_USE_SOVERLINUX_1=""
50076 fi
50077
50078 COND_USE_SOVERSION_0="#"
50079 if test "x$USE_SOVERSION" = "x0" ; then
50080 COND_USE_SOVERSION_0=""
50081 fi
50082
50083 COND_USE_SOVERSOLARIS_1="#"
50084 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50085 COND_USE_SOVERSOLARIS_1=""
50086 fi
50087
50088 COND_USE_STC_1="#"
50089 if test "x$USE_STC" = "x1" ; then
50090 COND_USE_STC_1=""
50091 fi
50092
50093 COND_USE_THREADS_0="#"
50094 if test "x$USE_THREADS" = "x0" ; then
50095 COND_USE_THREADS_0=""
50096 fi
50097
50098 COND_USE_THREADS_1="#"
50099 if test "x$USE_THREADS" = "x1" ; then
50100 COND_USE_THREADS_1=""
50101 fi
50102
50103 COND_USE_XRC_1="#"
50104 if test "x$USE_XRC" = "x1" ; then
50105 COND_USE_XRC_1=""
50106 fi
50107
50108 COND_WINDOWS_IMPLIB_1="#"
50109 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50110 COND_WINDOWS_IMPLIB_1=""
50111 fi
50112
50113 COND_WITH_PLUGIN_SDL_1="#"
50114 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50115 COND_WITH_PLUGIN_SDL_1=""
50116 fi
50117
50118 COND_WXUNIV_0="#"
50119 if test "x$WXUNIV" = "x0" ; then
50120 COND_WXUNIV_0=""
50121 fi
50122
50123 COND_WXUNIV_1="#"
50124 if test "x$WXUNIV" = "x1" ; then
50125 COND_WXUNIV_1=""
50126 fi
50127
50128 COND_WXUSE_EXPAT_BUILTIN="#"
50129 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50130 COND_WXUSE_EXPAT_BUILTIN=""
50131 fi
50132
50133 COND_WXUSE_LIBJPEG_BUILTIN="#"
50134 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50135 COND_WXUSE_LIBJPEG_BUILTIN=""
50136 fi
50137
50138 COND_WXUSE_LIBPNG_BUILTIN="#"
50139 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50140 COND_WXUSE_LIBPNG_BUILTIN=""
50141 fi
50142
50143 COND_WXUSE_LIBTIFF_BUILTIN="#"
50144 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50145 COND_WXUSE_LIBTIFF_BUILTIN=""
50146 fi
50147
50148 COND_WXUSE_REGEX_BUILTIN="#"
50149 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50150 COND_WXUSE_REGEX_BUILTIN=""
50151 fi
50152
50153 COND_WXUSE_ZLIB_BUILTIN="#"
50154 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50155 COND_WXUSE_ZLIB_BUILTIN=""
50156 fi
50157
50158
50159
50160 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50161 { { 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
50162 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;}
50163 { (exit 1); exit 1; }; }
50164 fi
50165
50166 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50167 { { 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
50168 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;}
50169 { (exit 1); exit 1; }; }
50170 fi
50171
50172
50173 case ${INSTALL} in
50174 /* ) # Absolute
50175 ;;
50176 ?:* ) # Drive letter, considered as absolute.
50177 ;;
50178 *)
50179 INSTALL=`pwd`/${INSTALL} ;;
50180 esac
50181
50182 if test "$wxUSE_GUI" = "yes"; then
50183
50184 if test "$wxUSE_MSW" = 1 ; then
50185 if test "x$WINDRES" = "x"; then
50186 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50187 echo "$as_me: error: Required windres program not found" >&2;}
50188 { (exit 1); exit 1; }; }
50189 fi
50190
50191 RESCOMP="$WINDRES"
50192 fi
50193
50194 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50195 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50196 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50197
50198 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50199
50200 # Extract the first word of "DeRez", so it can be a program name with args.
50201 set dummy DeRez; ac_word=$2
50202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50204 if test "${ac_cv_prog_DEREZ+set}" = set; then
50205 echo $ECHO_N "(cached) $ECHO_C" >&6
50206 else
50207 if test -n "$DEREZ"; then
50208 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50209 else
50210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50211 for as_dir in $PATH
50212 do
50213 IFS=$as_save_IFS
50214 test -z "$as_dir" && as_dir=.
50215 for ac_exec_ext in '' $ac_executable_extensions; do
50216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50217 ac_cv_prog_DEREZ="DeRez"
50218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50219 break 2
50220 fi
50221 done
50222 done
50223 IFS=$as_save_IFS
50224
50225 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50226 fi
50227 fi
50228 DEREZ=$ac_cv_prog_DEREZ
50229 if test -n "$DEREZ"; then
50230 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50231 echo "${ECHO_T}$DEREZ" >&6; }
50232 else
50233 { echo "$as_me:$LINENO: result: no" >&5
50234 echo "${ECHO_T}no" >&6; }
50235 fi
50236
50237
50238
50239 MACSETFILE="\$(SETFILE)"
50240
50241 if test "$wxUSE_MAC" = 1; then
50242 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50243 RESCOMP="$REZ"
50244 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50245 else
50246 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50247 RESCOMP="cat /dev/null \| $REZ"
50248 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50249 fi
50250
50251 else
50252 MACSETFILE="@true"
50253
50254 if test "$wxUSE_PM" = 1; then
50255 RESCOMP="emxbind"
50256 WXCONFIG_RESFLAGS="-ep"
50257
50258 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50259 else
50260 POSTLINK_COMMAND="@true"
50261 fi
50262 fi
50263
50264 fi
50265
50266
50267 if test $GCC_PCH = 1
50268 then
50269 if test "$wx_cv_gcc_pch_bug" = yes; then
50270 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50271 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50272 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50273 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50274 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50275 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50276 fi
50277
50278 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50279 # the headers that benefit from precompilation are mostly C++ headers.
50280 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50281 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50282 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50283 fi
50284
50285
50286 if test "$wxUSE_MAC" = 1 ; then
50287 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50288 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50289 mv temp bk-deps
50290 chmod +x bk-deps
50291 fi
50292 fi
50293
50294 if test "$wxUSE_SHARED" = "yes"; then
50295 case "${host}" in
50296 *-pc-os2_emx | *-pc-os2-emx )
50297 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50298 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50299 cp -p ${srcdir}/src/os2/dllnames.sh .
50300 cp -p ${srcdir}/src/os2/dllar.sh .
50301 ;;
50302 esac
50303 fi
50304 if test "$wxUSE_OMF" = "yes"; then
50305 case "${host}" in
50306 *-pc-os2_emx | *-pc-os2-emx )
50307 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50308 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50309 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50310 ;;
50311 esac
50312 fi
50313
50314 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50315
50316
50317 case "${host}" in
50318 *-*-solaris2* )
50319 if test "$GCC" = yes; then
50320 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50321 LIBS=`echo $LIBS | sed 's/-mt//'`
50322 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50323 fi
50324 ;;
50325
50326 *-*-linux* )
50327 if test "x$SUNCXX" = xyes; then
50328 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50329 LIBS=`echo $LIBS | sed 's/-pthread//'`
50330 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50331 fi
50332 ;;
50333 esac
50334
50335 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50336 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50337
50338 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348
50349
50350
50351
50352
50353
50354
50355
50356
50357
50358
50359
50360
50361
50362
50363
50364
50365
50366
50367
50368
50369
50370
50371
50372
50373
50374
50375
50376
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386
50387
50388
50389
50390
50391
50392
50393
50394
50395
50396
50397
50398
50399 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50400 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50401 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50402 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50403 echo $ECHO_N "(cached) $ECHO_C" >&6
50404 else
50405 cat >conftest.make <<\_ACEOF
50406 SHELL = /bin/sh
50407 all:
50408 @echo '@@@%%%=$(MAKE)=@@@%%%'
50409 _ACEOF
50410 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50411 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50412 *@@@%%%=?*=@@@%%%*)
50413 eval ac_cv_prog_make_${ac_make}_set=yes;;
50414 *)
50415 eval ac_cv_prog_make_${ac_make}_set=no;;
50416 esac
50417 rm -f conftest.make
50418 fi
50419 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50420 { echo "$as_me:$LINENO: result: yes" >&5
50421 echo "${ECHO_T}yes" >&6; }
50422 SET_MAKE=
50423 else
50424 { echo "$as_me:$LINENO: result: no" >&5
50425 echo "${ECHO_T}no" >&6; }
50426 SET_MAKE="MAKE=${MAKE-make}"
50427 fi
50428
50429
50430
50431 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50432
50433
50434 if test "$USE_WIN32" = 1; then
50435 ac_config_commands="$ac_config_commands
50436 rcdefs.h
50437 "
50438
50439 fi
50440
50441 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50442
50443
50444 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50445
50446
50447 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50448
50449
50450 if test "$wx_cv_version_script" = "yes"; then
50451 ac_config_files="$ac_config_files version-script"
50452
50453 fi
50454 ac_config_files="$ac_config_files Makefile"
50455
50456
50457 ac_config_commands="$ac_config_commands wx-config"
50458
50459
50460
50461 if test "$wxWITH_SUBDIRS" != "no"; then
50462 if test "$wxUSE_GUI" = "yes"; then
50463 SUBDIRS="samples demos utils"
50464 else
50465 SUBDIRS="samples utils"
50466 fi
50467
50468
50469
50470 # Check whether --with-cppunit-prefix was given.
50471 if test "${with_cppunit_prefix+set}" = set; then
50472 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50473 else
50474 cppunit_config_prefix=""
50475 fi
50476
50477
50478 # Check whether --with-cppunit-exec-prefix was given.
50479 if test "${with_cppunit_exec_prefix+set}" = set; then
50480 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50481 else
50482 cppunit_config_exec_prefix=""
50483 fi
50484
50485
50486 if test x$cppunit_config_exec_prefix != x ; then
50487 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50488 if test x${CPPUNIT_CONFIG+set} != xset ; then
50489 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50490 fi
50491 fi
50492 if test x$cppunit_config_prefix != x ; then
50493 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50494 if test x${CPPUNIT_CONFIG+set} != xset ; then
50495 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50496 fi
50497 fi
50498
50499 # Extract the first word of "cppunit-config", so it can be a program name with args.
50500 set dummy cppunit-config; ac_word=$2
50501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50503 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50504 echo $ECHO_N "(cached) $ECHO_C" >&6
50505 else
50506 case $CPPUNIT_CONFIG in
50507 [\\/]* | ?:[\\/]*)
50508 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50509 ;;
50510 *)
50511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50512 for as_dir in $PATH
50513 do
50514 IFS=$as_save_IFS
50515 test -z "$as_dir" && as_dir=.
50516 for ac_exec_ext in '' $ac_executable_extensions; do
50517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50518 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50520 break 2
50521 fi
50522 done
50523 done
50524 IFS=$as_save_IFS
50525
50526 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50527 ;;
50528 esac
50529 fi
50530 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50531 if test -n "$CPPUNIT_CONFIG"; then
50532 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50533 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50534 else
50535 { echo "$as_me:$LINENO: result: no" >&5
50536 echo "${ECHO_T}no" >&6; }
50537 fi
50538
50539
50540 cppunit_version_min=1.8.0
50541
50542 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50543 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50544 no_cppunit=""
50545 if test "$CPPUNIT_CONFIG" = "no" ; then
50546 { echo "$as_me:$LINENO: result: no" >&5
50547 echo "${ECHO_T}no" >&6; }
50548 no_cppunit=yes
50549 else
50550 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50551 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50552 cppunit_version=`$CPPUNIT_CONFIG --version`
50553
50554 cppunit_major_version=`echo $cppunit_version | \
50555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50556 cppunit_minor_version=`echo $cppunit_version | \
50557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50558 cppunit_micro_version=`echo $cppunit_version | \
50559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50560
50561 cppunit_major_min=`echo $cppunit_version_min | \
50562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50563 cppunit_minor_min=`echo $cppunit_version_min | \
50564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50565 cppunit_micro_min=`echo $cppunit_version_min | \
50566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50567
50568 cppunit_version_proper=`expr \
50569 $cppunit_major_version \> $cppunit_major_min \| \
50570 $cppunit_major_version \= $cppunit_major_min \& \
50571 $cppunit_minor_version \> $cppunit_minor_min \| \
50572 $cppunit_major_version \= $cppunit_major_min \& \
50573 $cppunit_minor_version \= $cppunit_minor_min \& \
50574 $cppunit_micro_version \>= $cppunit_micro_min `
50575
50576 if test "$cppunit_version_proper" = "1" ; then
50577 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50578 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50579 else
50580 { echo "$as_me:$LINENO: result: no" >&5
50581 echo "${ECHO_T}no" >&6; }
50582 no_cppunit=yes
50583 fi
50584 fi
50585
50586 if test "x$no_cppunit" = x ; then
50587 SUBDIRS="$SUBDIRS tests"
50588 else
50589 CPPUNIT_CFLAGS=""
50590 CPPUNIT_LIBS=""
50591 :
50592 fi
50593
50594
50595
50596
50597
50598 for subdir in $SUBDIRS; do
50599 if test -d ${srcdir}/${subdir} ; then
50600 if test "$wxUSE_GUI" = "yes"; then
50601 if test ${subdir} = "samples"; then
50602 makefiles="samples/Makefile.in $makefiles"
50603 for sample in $SAMPLES_SUBDIRS; do
50604 if test -d $srcdir/samples/$sample; then
50605 makefiles="samples/$sample/Makefile.in $makefiles"
50606 fi
50607 done
50608 else
50609 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50610 eval "disabled=\$$disabled_var"
50611 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50612 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50613 fi
50614 else
50615 if test ${subdir} = "samples"; then
50616 makefiles="samples/Makefile.in $makefiles"
50617 for sample in `echo $SAMPLES_SUBDIRS`; do
50618 if test -d $srcdir/samples/$sample; then
50619 makefiles="samples/$sample/Makefile.in $makefiles"
50620 fi
50621 done
50622 elif test ${subdir} = "utils"; then
50623 makefiles=""
50624 for util in ifacecheck ; do
50625 if test -d $srcdir/utils/$util ; then
50626 makefiles="utils/$util/src/Makefile.in \
50627 $makefiles"
50628 fi
50629 done
50630 else
50631 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50632 fi
50633 fi
50634
50635 for mkin in $makefiles ; do
50636 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50637 ac_config_files="$ac_config_files $mk"
50638
50639 done
50640 fi
50641 done
50642 fi
50643 cat >confcache <<\_ACEOF
50644 # This file is a shell script that caches the results of configure
50645 # tests run on this system so they can be shared between configure
50646 # scripts and configure runs, see configure's option --config-cache.
50647 # It is not useful on other systems. If it contains results you don't
50648 # want to keep, you may remove or edit it.
50649 #
50650 # config.status only pays attention to the cache file if you give it
50651 # the --recheck option to rerun configure.
50652 #
50653 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50654 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50655 # following values.
50656
50657 _ACEOF
50658
50659 # The following way of writing the cache mishandles newlines in values,
50660 # but we know of no workaround that is simple, portable, and efficient.
50661 # So, we kill variables containing newlines.
50662 # Ultrix sh set writes to stderr and can't be redirected directly,
50663 # and sets the high bit in the cache file unless we assign to the vars.
50664 (
50665 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50666 eval ac_val=\$$ac_var
50667 case $ac_val in #(
50668 *${as_nl}*)
50669 case $ac_var in #(
50670 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50671 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50672 esac
50673 case $ac_var in #(
50674 _ | IFS | as_nl) ;; #(
50675 *) $as_unset $ac_var ;;
50676 esac ;;
50677 esac
50678 done
50679
50680 (set) 2>&1 |
50681 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50682 *${as_nl}ac_space=\ *)
50683 # `set' does not quote correctly, so add quotes (double-quote
50684 # substitution turns \\\\ into \\, and sed turns \\ into \).
50685 sed -n \
50686 "s/'/'\\\\''/g;
50687 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50688 ;; #(
50689 *)
50690 # `set' quotes correctly as required by POSIX, so do not add quotes.
50691 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50692 ;;
50693 esac |
50694 sort
50695 ) |
50696 sed '
50697 /^ac_cv_env_/b end
50698 t clear
50699 :clear
50700 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50701 t end
50702 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50703 :end' >>confcache
50704 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50705 if test -w "$cache_file"; then
50706 test "x$cache_file" != "x/dev/null" &&
50707 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50708 echo "$as_me: updating cache $cache_file" >&6;}
50709 cat confcache >$cache_file
50710 else
50711 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50712 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50713 fi
50714 fi
50715 rm -f confcache
50716
50717 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50718 # Let make expand exec_prefix.
50719 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50720
50721 DEFS=-DHAVE_CONFIG_H
50722
50723 ac_libobjs=
50724 ac_ltlibobjs=
50725 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50726 # 1. Remove the extension, and $U if already installed.
50727 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50728 ac_i=`echo "$ac_i" | sed "$ac_script"`
50729 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50730 # will be set to the directory where LIBOBJS objects are built.
50731 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50732 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50733 done
50734 LIBOBJS=$ac_libobjs
50735
50736 LTLIBOBJS=$ac_ltlibobjs
50737
50738
50739
50740 : ${CONFIG_STATUS=./config.status}
50741 ac_clean_files_save=$ac_clean_files
50742 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50743 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50744 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50745 cat >$CONFIG_STATUS <<_ACEOF
50746 #! $SHELL
50747 # Generated by $as_me.
50748 # Run this file to recreate the current configuration.
50749 # Compiler output produced by configure, useful for debugging
50750 # configure, is in config.log if it exists.
50751
50752 debug=false
50753 ac_cs_recheck=false
50754 ac_cs_silent=false
50755 SHELL=\${CONFIG_SHELL-$SHELL}
50756 _ACEOF
50757
50758 cat >>$CONFIG_STATUS <<\_ACEOF
50759 ## --------------------- ##
50760 ## M4sh Initialization. ##
50761 ## --------------------- ##
50762
50763 # Be more Bourne compatible
50764 DUALCASE=1; export DUALCASE # for MKS sh
50765 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50766 emulate sh
50767 NULLCMD=:
50768 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50769 # is contrary to our usage. Disable this feature.
50770 alias -g '${1+"$@"}'='"$@"'
50771 setopt NO_GLOB_SUBST
50772 else
50773 case `(set -o) 2>/dev/null` in
50774 *posix*) set -o posix ;;
50775 esac
50776
50777 fi
50778
50779
50780
50781
50782 # PATH needs CR
50783 # Avoid depending upon Character Ranges.
50784 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50785 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50786 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50787 as_cr_digits='0123456789'
50788 as_cr_alnum=$as_cr_Letters$as_cr_digits
50789
50790 # The user is always right.
50791 if test "${PATH_SEPARATOR+set}" != set; then
50792 echo "#! /bin/sh" >conf$$.sh
50793 echo "exit 0" >>conf$$.sh
50794 chmod +x conf$$.sh
50795 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50796 PATH_SEPARATOR=';'
50797 else
50798 PATH_SEPARATOR=:
50799 fi
50800 rm -f conf$$.sh
50801 fi
50802
50803 # Support unset when possible.
50804 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50805 as_unset=unset
50806 else
50807 as_unset=false
50808 fi
50809
50810
50811 # IFS
50812 # We need space, tab and new line, in precisely that order. Quoting is
50813 # there to prevent editors from complaining about space-tab.
50814 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50815 # splitting by setting IFS to empty value.)
50816 as_nl='
50817 '
50818 IFS=" "" $as_nl"
50819
50820 # Find who we are. Look in the path if we contain no directory separator.
50821 case $0 in
50822 *[\\/]* ) as_myself=$0 ;;
50823 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50824 for as_dir in $PATH
50825 do
50826 IFS=$as_save_IFS
50827 test -z "$as_dir" && as_dir=.
50828 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50829 done
50830 IFS=$as_save_IFS
50831
50832 ;;
50833 esac
50834 # We did not find ourselves, most probably we were run as `sh COMMAND'
50835 # in which case we are not to be found in the path.
50836 if test "x$as_myself" = x; then
50837 as_myself=$0
50838 fi
50839 if test ! -f "$as_myself"; then
50840 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50841 { (exit 1); exit 1; }
50842 fi
50843
50844 # Work around bugs in pre-3.0 UWIN ksh.
50845 for as_var in ENV MAIL MAILPATH
50846 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50847 done
50848 PS1='$ '
50849 PS2='> '
50850 PS4='+ '
50851
50852 # NLS nuisances.
50853 for as_var in \
50854 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50855 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50856 LC_TELEPHONE LC_TIME
50857 do
50858 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50859 eval $as_var=C; export $as_var
50860 else
50861 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50862 fi
50863 done
50864
50865 # Required to use basename.
50866 if expr a : '\(a\)' >/dev/null 2>&1 &&
50867 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50868 as_expr=expr
50869 else
50870 as_expr=false
50871 fi
50872
50873 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50874 as_basename=basename
50875 else
50876 as_basename=false
50877 fi
50878
50879
50880 # Name of the executable.
50881 as_me=`$as_basename -- "$0" ||
50882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50883 X"$0" : 'X\(//\)$' \| \
50884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50885 echo X/"$0" |
50886 sed '/^.*\/\([^/][^/]*\)\/*$/{
50887 s//\1/
50888 q
50889 }
50890 /^X\/\(\/\/\)$/{
50891 s//\1/
50892 q
50893 }
50894 /^X\/\(\/\).*/{
50895 s//\1/
50896 q
50897 }
50898 s/.*/./; q'`
50899
50900 # CDPATH.
50901 $as_unset CDPATH
50902
50903
50904
50905 as_lineno_1=$LINENO
50906 as_lineno_2=$LINENO
50907 test "x$as_lineno_1" != "x$as_lineno_2" &&
50908 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50909
50910 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50911 # uniformly replaced by the line number. The first 'sed' inserts a
50912 # line-number line after each line using $LINENO; the second 'sed'
50913 # does the real work. The second script uses 'N' to pair each
50914 # line-number line with the line containing $LINENO, and appends
50915 # trailing '-' during substitution so that $LINENO is not a special
50916 # case at line end.
50917 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50918 # scripts with optimization help from Paolo Bonzini. Blame Lee
50919 # E. McMahon (1931-1989) for sed's syntax. :-)
50920 sed -n '
50921 p
50922 /[$]LINENO/=
50923 ' <$as_myself |
50924 sed '
50925 s/[$]LINENO.*/&-/
50926 t lineno
50927 b
50928 :lineno
50929 N
50930 :loop
50931 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50932 t loop
50933 s/-\n.*//
50934 ' >$as_me.lineno &&
50935 chmod +x "$as_me.lineno" ||
50936 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50937 { (exit 1); exit 1; }; }
50938
50939 # Don't try to exec as it changes $[0], causing all sort of problems
50940 # (the dirname of $[0] is not the place where we might find the
50941 # original and so on. Autoconf is especially sensitive to this).
50942 . "./$as_me.lineno"
50943 # Exit status is that of the last command.
50944 exit
50945 }
50946
50947
50948 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50949 as_dirname=dirname
50950 else
50951 as_dirname=false
50952 fi
50953
50954 ECHO_C= ECHO_N= ECHO_T=
50955 case `echo -n x` in
50956 -n*)
50957 case `echo 'x\c'` in
50958 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50959 *) ECHO_C='\c';;
50960 esac;;
50961 *)
50962 ECHO_N='-n';;
50963 esac
50964
50965 if expr a : '\(a\)' >/dev/null 2>&1 &&
50966 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50967 as_expr=expr
50968 else
50969 as_expr=false
50970 fi
50971
50972 rm -f conf$$ conf$$.exe conf$$.file
50973 if test -d conf$$.dir; then
50974 rm -f conf$$.dir/conf$$.file
50975 else
50976 rm -f conf$$.dir
50977 mkdir conf$$.dir
50978 fi
50979 echo >conf$$.file
50980 if ln -s conf$$.file conf$$ 2>/dev/null; then
50981 as_ln_s='ln -s'
50982 # ... but there are two gotchas:
50983 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50984 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50985 # In both cases, we have to default to `cp -p'.
50986 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50987 as_ln_s='cp -p'
50988 elif ln conf$$.file conf$$ 2>/dev/null; then
50989 as_ln_s=ln
50990 else
50991 as_ln_s='cp -p'
50992 fi
50993 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50994 rmdir conf$$.dir 2>/dev/null
50995
50996 if mkdir -p . 2>/dev/null; then
50997 as_mkdir_p=:
50998 else
50999 test -d ./-p && rmdir ./-p
51000 as_mkdir_p=false
51001 fi
51002
51003 if test -x / >/dev/null 2>&1; then
51004 as_test_x='test -x'
51005 else
51006 if ls -dL / >/dev/null 2>&1; then
51007 as_ls_L_option=L
51008 else
51009 as_ls_L_option=
51010 fi
51011 as_test_x='
51012 eval sh -c '\''
51013 if test -d "$1"; then
51014 test -d "$1/.";
51015 else
51016 case $1 in
51017 -*)set "./$1";;
51018 esac;
51019 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51020 ???[sx]*):;;*)false;;esac;fi
51021 '\'' sh
51022 '
51023 fi
51024 as_executable_p=$as_test_x
51025
51026 # Sed expression to map a string onto a valid CPP name.
51027 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51028
51029 # Sed expression to map a string onto a valid variable name.
51030 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51031
51032
51033 exec 6>&1
51034
51035 # Save the log message, to keep $[0] and so on meaningful, and to
51036 # report actual input values of CONFIG_FILES etc. instead of their
51037 # values after options handling.
51038 ac_log="
51039 This file was extended by wxWidgets $as_me 2.9.0, which was
51040 generated by GNU Autoconf 2.61. Invocation command line was
51041
51042 CONFIG_FILES = $CONFIG_FILES
51043 CONFIG_HEADERS = $CONFIG_HEADERS
51044 CONFIG_LINKS = $CONFIG_LINKS
51045 CONFIG_COMMANDS = $CONFIG_COMMANDS
51046 $ $0 $@
51047
51048 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51049 "
51050
51051 _ACEOF
51052
51053 cat >>$CONFIG_STATUS <<_ACEOF
51054 # Files that config.status was made for.
51055 config_files="$ac_config_files"
51056 config_headers="$ac_config_headers"
51057 config_commands="$ac_config_commands"
51058
51059 _ACEOF
51060
51061 cat >>$CONFIG_STATUS <<\_ACEOF
51062 ac_cs_usage="\
51063 \`$as_me' instantiates files from templates according to the
51064 current configuration.
51065
51066 Usage: $0 [OPTIONS] [FILE]...
51067
51068 -h, --help print this help, then exit
51069 -V, --version print version number and configuration settings, then exit
51070 -q, --quiet do not print progress messages
51071 -d, --debug don't remove temporary files
51072 --recheck update $as_me by reconfiguring in the same conditions
51073 --file=FILE[:TEMPLATE]
51074 instantiate the configuration file FILE
51075 --header=FILE[:TEMPLATE]
51076 instantiate the configuration header FILE
51077
51078 Configuration files:
51079 $config_files
51080
51081 Configuration headers:
51082 $config_headers
51083
51084 Configuration commands:
51085 $config_commands
51086
51087 Report bugs to <bug-autoconf@gnu.org>."
51088
51089 _ACEOF
51090 cat >>$CONFIG_STATUS <<_ACEOF
51091 ac_cs_version="\\
51092 wxWidgets config.status 2.9.0
51093 configured by $0, generated by GNU Autoconf 2.61,
51094 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51095
51096 Copyright (C) 2006 Free Software Foundation, Inc.
51097 This config.status script is free software; the Free Software Foundation
51098 gives unlimited permission to copy, distribute and modify it."
51099
51100 ac_pwd='$ac_pwd'
51101 srcdir='$srcdir'
51102 INSTALL='$INSTALL'
51103 _ACEOF
51104
51105 cat >>$CONFIG_STATUS <<\_ACEOF
51106 # If no file are specified by the user, then we need to provide default
51107 # value. By we need to know if files were specified by the user.
51108 ac_need_defaults=:
51109 while test $# != 0
51110 do
51111 case $1 in
51112 --*=*)
51113 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51114 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51115 ac_shift=:
51116 ;;
51117 *)
51118 ac_option=$1
51119 ac_optarg=$2
51120 ac_shift=shift
51121 ;;
51122 esac
51123
51124 case $ac_option in
51125 # Handling of the options.
51126 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51127 ac_cs_recheck=: ;;
51128 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51129 echo "$ac_cs_version"; exit ;;
51130 --debug | --debu | --deb | --de | --d | -d )
51131 debug=: ;;
51132 --file | --fil | --fi | --f )
51133 $ac_shift
51134 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51135 ac_need_defaults=false;;
51136 --header | --heade | --head | --hea )
51137 $ac_shift
51138 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51139 ac_need_defaults=false;;
51140 --he | --h)
51141 # Conflict between --help and --header
51142 { echo "$as_me: error: ambiguous option: $1
51143 Try \`$0 --help' for more information." >&2
51144 { (exit 1); exit 1; }; };;
51145 --help | --hel | -h )
51146 echo "$ac_cs_usage"; exit ;;
51147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51148 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51149 ac_cs_silent=: ;;
51150
51151 # This is an error.
51152 -*) { echo "$as_me: error: unrecognized option: $1
51153 Try \`$0 --help' for more information." >&2
51154 { (exit 1); exit 1; }; } ;;
51155
51156 *) ac_config_targets="$ac_config_targets $1"
51157 ac_need_defaults=false ;;
51158
51159 esac
51160 shift
51161 done
51162
51163 ac_configure_extra_args=
51164
51165 if $ac_cs_silent; then
51166 exec 6>/dev/null
51167 ac_configure_extra_args="$ac_configure_extra_args --silent"
51168 fi
51169
51170 _ACEOF
51171 cat >>$CONFIG_STATUS <<_ACEOF
51172 if \$ac_cs_recheck; then
51173 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51174 CONFIG_SHELL=$SHELL
51175 export CONFIG_SHELL
51176 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51177 fi
51178
51179 _ACEOF
51180 cat >>$CONFIG_STATUS <<\_ACEOF
51181 exec 5>>config.log
51182 {
51183 echo
51184 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51185 ## Running $as_me. ##
51186 _ASBOX
51187 echo "$ac_log"
51188 } >&5
51189
51190 _ACEOF
51191 cat >>$CONFIG_STATUS <<_ACEOF
51192 #
51193 # INIT-COMMANDS
51194 #
51195
51196 CPP="$CPP"
51197 infile="$srcdir/include/wx/msw/genrcdefs.h"
51198 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51199
51200
51201 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51202 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51203 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51204 LN_S="${LN_S}"
51205
51206
51207 _ACEOF
51208
51209 cat >>$CONFIG_STATUS <<\_ACEOF
51210
51211 # Handling of arguments.
51212 for ac_config_target in $ac_config_targets
51213 do
51214 case $ac_config_target in
51215 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51216 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51217 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51218 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51219 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51220 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51221 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51222 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51223 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51224
51225 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51226 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51227 { (exit 1); exit 1; }; };;
51228 esac
51229 done
51230
51231
51232 # If the user did not use the arguments to specify the items to instantiate,
51233 # then the envvar interface is used. Set only those that are not.
51234 # We use the long form for the default assignment because of an extremely
51235 # bizarre bug on SunOS 4.1.3.
51236 if $ac_need_defaults; then
51237 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51238 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51239 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51240 fi
51241
51242 # Have a temporary directory for convenience. Make it in the build tree
51243 # simply because there is no reason against having it here, and in addition,
51244 # creating and moving files from /tmp can sometimes cause problems.
51245 # Hook for its removal unless debugging.
51246 # Note that there is a small window in which the directory will not be cleaned:
51247 # after its creation but before its name has been assigned to `$tmp'.
51248 $debug ||
51249 {
51250 tmp=
51251 trap 'exit_status=$?
51252 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51253 ' 0
51254 trap '{ (exit 1); exit 1; }' 1 2 13 15
51255 }
51256 # Create a (secure) tmp directory for tmp files.
51257
51258 {
51259 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51260 test -n "$tmp" && test -d "$tmp"
51261 } ||
51262 {
51263 tmp=./conf$$-$RANDOM
51264 (umask 077 && mkdir "$tmp")
51265 } ||
51266 {
51267 echo "$me: cannot create a temporary directory in ." >&2
51268 { (exit 1); exit 1; }
51269 }
51270
51271 #
51272 # Set up the sed scripts for CONFIG_FILES section.
51273 #
51274
51275 # No need to generate the scripts if there are no CONFIG_FILES.
51276 # This happens for instance when ./config.status config.h
51277 if test -n "$CONFIG_FILES"; then
51278
51279 _ACEOF
51280
51281
51282
51283 ac_delim='%!_!# '
51284 for ac_last_try in false false false false false :; do
51285 cat >conf$$subs.sed <<_ACEOF
51286 SHELL!$SHELL$ac_delim
51287 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51288 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51289 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51290 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51291 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51292 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51293 exec_prefix!$exec_prefix$ac_delim
51294 prefix!$prefix$ac_delim
51295 program_transform_name!$program_transform_name$ac_delim
51296 bindir!$bindir$ac_delim
51297 sbindir!$sbindir$ac_delim
51298 libexecdir!$libexecdir$ac_delim
51299 datarootdir!$datarootdir$ac_delim
51300 datadir!$datadir$ac_delim
51301 sysconfdir!$sysconfdir$ac_delim
51302 sharedstatedir!$sharedstatedir$ac_delim
51303 localstatedir!$localstatedir$ac_delim
51304 includedir!$includedir$ac_delim
51305 oldincludedir!$oldincludedir$ac_delim
51306 docdir!$docdir$ac_delim
51307 infodir!$infodir$ac_delim
51308 htmldir!$htmldir$ac_delim
51309 dvidir!$dvidir$ac_delim
51310 pdfdir!$pdfdir$ac_delim
51311 psdir!$psdir$ac_delim
51312 libdir!$libdir$ac_delim
51313 localedir!$localedir$ac_delim
51314 mandir!$mandir$ac_delim
51315 DEFS!$DEFS$ac_delim
51316 ECHO_C!$ECHO_C$ac_delim
51317 ECHO_N!$ECHO_N$ac_delim
51318 ECHO_T!$ECHO_T$ac_delim
51319 LIBS!$LIBS$ac_delim
51320 build_alias!$build_alias$ac_delim
51321 host_alias!$host_alias$ac_delim
51322 target_alias!$target_alias$ac_delim
51323 build!$build$ac_delim
51324 build_cpu!$build_cpu$ac_delim
51325 build_vendor!$build_vendor$ac_delim
51326 build_os!$build_os$ac_delim
51327 host!$host$ac_delim
51328 host_cpu!$host_cpu$ac_delim
51329 host_vendor!$host_vendor$ac_delim
51330 host_os!$host_os$ac_delim
51331 target!$target$ac_delim
51332 target_cpu!$target_cpu$ac_delim
51333 target_vendor!$target_vendor$ac_delim
51334 target_os!$target_os$ac_delim
51335 wx_top_builddir!$wx_top_builddir$ac_delim
51336 CC!$CC$ac_delim
51337 CFLAGS!$CFLAGS$ac_delim
51338 LDFLAGS!$LDFLAGS$ac_delim
51339 CPPFLAGS!$CPPFLAGS$ac_delim
51340 ac_ct_CC!$ac_ct_CC$ac_delim
51341 EXEEXT!$EXEEXT$ac_delim
51342 OBJEXT!$OBJEXT$ac_delim
51343 CPP!$CPP$ac_delim
51344 GREP!$GREP$ac_delim
51345 EGREP!$EGREP$ac_delim
51346 CXX!$CXX$ac_delim
51347 CXXFLAGS!$CXXFLAGS$ac_delim
51348 ac_ct_CXX!$ac_ct_CXX$ac_delim
51349 AR!$AR$ac_delim
51350 subdirs!$subdirs$ac_delim
51351 PKG_CONFIG!$PKG_CONFIG$ac_delim
51352 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51353 GTK_LIBS!$GTK_LIBS$ac_delim
51354 GTK_CONFIG!$GTK_CONFIG$ac_delim
51355 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51356 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51357 XMKMF!$XMKMF$ac_delim
51358 X_CFLAGS!$X_CFLAGS$ac_delim
51359 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51360 X_LIBS!$X_LIBS$ac_delim
51361 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51362 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51363 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51364 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51365 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51366 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51367 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51368 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51369 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51370 LIBICONV!$LIBICONV$ac_delim
51371 SDL_CONFIG!$SDL_CONFIG$ac_delim
51372 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51373 SDL_LIBS!$SDL_LIBS$ac_delim
51374 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51375 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51376 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51377 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51378 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51379 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51380 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51381 HILDON_LIBS!$HILDON_LIBS$ac_delim
51382 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51383 _ACEOF
51384
51385 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51386 break
51387 elif $ac_last_try; then
51388 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51389 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51390 { (exit 1); exit 1; }; }
51391 else
51392 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51393 fi
51394 done
51395
51396 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51397 if test -n "$ac_eof"; then
51398 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51399 ac_eof=`expr $ac_eof + 1`
51400 fi
51401
51402 cat >>$CONFIG_STATUS <<_ACEOF
51403 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51404 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51405 _ACEOF
51406 sed '
51407 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51408 s/^/s,@/; s/!/@,|#_!!_#|/
51409 :n
51410 t n
51411 s/'"$ac_delim"'$/,g/; t
51412 s/$/\\/; p
51413 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51414 ' >>$CONFIG_STATUS <conf$$subs.sed
51415 rm -f conf$$subs.sed
51416 cat >>$CONFIG_STATUS <<_ACEOF
51417 CEOF$ac_eof
51418 _ACEOF
51419
51420
51421 ac_delim='%!_!# '
51422 for ac_last_try in false false false false false :; do
51423 cat >conf$$subs.sed <<_ACEOF
51424 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51425 GST_CFLAGS!$GST_CFLAGS$ac_delim
51426 GST_LIBS!$GST_LIBS$ac_delim
51427 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51428 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51429 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51430 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51431 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51432 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51433 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51434 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51435 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51436 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51437 VENDOR!$VENDOR$ac_delim
51438 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51439 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51440 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51441 WXUNIV!$WXUNIV$ac_delim
51442 MONOLITHIC!$MONOLITHIC$ac_delim
51443 USE_PLUGINS!$USE_PLUGINS$ac_delim
51444 CXXWARNINGS!$CXXWARNINGS$ac_delim
51445 EXTRALIBS!$EXTRALIBS$ac_delim
51446 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51447 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51448 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51449 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51450 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51451 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51452 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51453 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51454 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51455 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51456 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51457 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51458 UNICODE!$UNICODE$ac_delim
51459 BUILD!$BUILD$ac_delim
51460 DEBUG_INFO!$DEBUG_INFO$ac_delim
51461 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51462 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51463 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51464 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51465 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51466 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51467 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51468 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51469 RANLIB!$RANLIB$ac_delim
51470 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51471 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51472 INSTALL_DATA!$INSTALL_DATA$ac_delim
51473 LN_S!$LN_S$ac_delim
51474 SET_MAKE!$SET_MAKE$ac_delim
51475 MAKE_SET!$MAKE_SET$ac_delim
51476 AROPTIONS!$AROPTIONS$ac_delim
51477 STRIP!$STRIP$ac_delim
51478 NM!$NM$ac_delim
51479 INSTALL_DIR!$INSTALL_DIR$ac_delim
51480 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51481 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51482 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51483 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51484 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51485 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51486 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51487 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51488 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51489 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51490 SO_SUFFIX!$SO_SUFFIX$ac_delim
51491 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51492 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51493 LIBPREFIX!$LIBPREFIX$ac_delim
51494 LIBEXT!$LIBEXT$ac_delim
51495 DLLPREFIX!$DLLPREFIX$ac_delim
51496 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51497 dlldir!$dlldir$ac_delim
51498 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51499 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51500 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51501 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51502 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51503 PIC_FLAG!$PIC_FLAG$ac_delim
51504 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51505 USE_SOVERSION!$USE_SOVERSION$ac_delim
51506 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51507 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51508 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51509 USE_MACVERSION!$USE_MACVERSION$ac_delim
51510 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51511 SONAME_FLAG!$SONAME_FLAG$ac_delim
51512 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51513 BK_DEPS!$BK_DEPS$ac_delim
51514 WINDRES!$WINDRES$ac_delim
51515 REZ!$REZ$ac_delim
51516 SETFILE!$SETFILE$ac_delim
51517 GCC_PCH!$GCC_PCH$ac_delim
51518 ICC_PCH!$ICC_PCH$ac_delim
51519 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51520 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51521 _ACEOF
51522
51523 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51524 break
51525 elif $ac_last_try; then
51526 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51527 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51528 { (exit 1); exit 1; }; }
51529 else
51530 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51531 fi
51532 done
51533
51534 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51535 if test -n "$ac_eof"; then
51536 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51537 ac_eof=`expr $ac_eof + 1`
51538 fi
51539
51540 cat >>$CONFIG_STATUS <<_ACEOF
51541 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51543 _ACEOF
51544 sed '
51545 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51546 s/^/s,@/; s/!/@,|#_!!_#|/
51547 :n
51548 t n
51549 s/'"$ac_delim"'$/,g/; t
51550 s/$/\\/; p
51551 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51552 ' >>$CONFIG_STATUS <conf$$subs.sed
51553 rm -f conf$$subs.sed
51554 cat >>$CONFIG_STATUS <<_ACEOF
51555 CEOF$ac_eof
51556 _ACEOF
51557
51558
51559 ac_delim='%!_!# '
51560 for ac_last_try in false false false false false :; do
51561 cat >conf$$subs.sed <<_ACEOF
51562 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51563 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51564 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51565 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51566 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51567 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51568 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51569 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51570 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51571 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51572 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51573 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51574 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51575 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51576 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51577 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51578 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51579 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51580 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51581 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51582 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51583 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51584 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51585 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51586 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51587 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51588 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51589 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51591 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51592 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51593 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51594 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51595 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51596 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51597 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51598 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51599 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51600 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51601 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51602 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51603 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51604 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51605 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51606 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51607 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51608 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51609 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51610 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51611 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51612 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51613 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51614 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51615 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51616 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51617 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51618 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51619 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51620 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51621 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51622 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51623 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51624 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51625 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51626 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51627 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51628 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51629 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51630 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51631 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51632 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51633 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51634 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51635 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51636 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51637 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51638 COND_SHARED_0!$COND_SHARED_0$ac_delim
51639 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51640 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51641 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51642 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51643 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51644 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51645 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51646 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51647 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51648 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51649 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51650 COND_SHARED_1!$COND_SHARED_1$ac_delim
51651 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51652 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51653 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51654 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51655 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51656 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51657 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51658 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51659 _ACEOF
51660
51661 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51662 break
51663 elif $ac_last_try; then
51664 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51665 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51666 { (exit 1); exit 1; }; }
51667 else
51668 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51669 fi
51670 done
51671
51672 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51673 if test -n "$ac_eof"; then
51674 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51675 ac_eof=`expr $ac_eof + 1`
51676 fi
51677
51678 cat >>$CONFIG_STATUS <<_ACEOF
51679 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51680 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51681 _ACEOF
51682 sed '
51683 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51684 s/^/s,@/; s/!/@,|#_!!_#|/
51685 :n
51686 t n
51687 s/'"$ac_delim"'$/,g/; t
51688 s/$/\\/; p
51689 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51690 ' >>$CONFIG_STATUS <conf$$subs.sed
51691 rm -f conf$$subs.sed
51692 cat >>$CONFIG_STATUS <<_ACEOF
51693 CEOF$ac_eof
51694 _ACEOF
51695
51696
51697 ac_delim='%!_!# '
51698 for ac_last_try in false false false false false :; do
51699 cat >conf$$subs.sed <<_ACEOF
51700 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51702 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51704 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51705 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51706 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51707 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51708 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51709 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51711 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51712 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51713 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51714 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51715 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51716 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51717 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51718 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51719 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51720 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51721 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51722 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51723 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51724 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51725 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51726 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51727 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51728 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51729 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51730 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51731 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51732 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51733 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51734 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51735 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51736 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51737 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51738 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51739 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51740 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51741 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51742 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51743 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51744 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51745 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51746 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51747 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51748 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51749 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51750 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51751 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51752 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51753 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51754 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51755 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51756 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51757 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51758 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51759 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51760 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51761 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51762 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51763 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51764 DEREZ!$DEREZ$ac_delim
51765 SHARED!$SHARED$ac_delim
51766 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51767 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51768 USE_GUI!$USE_GUI$ac_delim
51769 AFMINSTALL!$AFMINSTALL$ac_delim
51770 WIN32INSTALL!$WIN32INSTALL$ac_delim
51771 TOOLKIT!$TOOLKIT$ac_delim
51772 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51773 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51774 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51775 cross_compiling!$cross_compiling$ac_delim
51776 WIDGET_SET!$WIDGET_SET$ac_delim
51777 WX_RELEASE!$WX_RELEASE$ac_delim
51778 WX_VERSION!$WX_VERSION$ac_delim
51779 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51780 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51781 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51782 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51783 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51784 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51785 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51786 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51787 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51788 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51789 GUIDIST!$GUIDIST$ac_delim
51790 DISTDIR!$DISTDIR$ac_delim
51791 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51792 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51793 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51794 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51795 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51796 RESCOMP!$RESCOMP$ac_delim
51797 _ACEOF
51798
51799 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51800 break
51801 elif $ac_last_try; then
51802 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51803 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51804 { (exit 1); exit 1; }; }
51805 else
51806 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51807 fi
51808 done
51809
51810 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51811 if test -n "$ac_eof"; then
51812 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51813 ac_eof=`expr $ac_eof + 1`
51814 fi
51815
51816 cat >>$CONFIG_STATUS <<_ACEOF
51817 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51819 _ACEOF
51820 sed '
51821 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51822 s/^/s,@/; s/!/@,|#_!!_#|/
51823 :n
51824 t n
51825 s/'"$ac_delim"'$/,g/; t
51826 s/$/\\/; p
51827 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51828 ' >>$CONFIG_STATUS <conf$$subs.sed
51829 rm -f conf$$subs.sed
51830 cat >>$CONFIG_STATUS <<_ACEOF
51831 CEOF$ac_eof
51832 _ACEOF
51833
51834
51835 ac_delim='%!_!# '
51836 for ac_last_try in false false false false false :; do
51837 cat >conf$$subs.sed <<_ACEOF
51838 RESFLAGS!$RESFLAGS$ac_delim
51839 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51840 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51841 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51842 LIBWXMACRES!$LIBWXMACRES$ac_delim
51843 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51844 MACSETFILE!$MACSETFILE$ac_delim
51845 GCC!$GCC$ac_delim
51846 DLLTOOL!$DLLTOOL$ac_delim
51847 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51848 LIBOBJS!$LIBOBJS$ac_delim
51849 LTLIBOBJS!$LTLIBOBJS$ac_delim
51850 _ACEOF
51851
51852 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
51853 break
51854 elif $ac_last_try; then
51855 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51856 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51857 { (exit 1); exit 1; }; }
51858 else
51859 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51860 fi
51861 done
51862
51863 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51864 if test -n "$ac_eof"; then
51865 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51866 ac_eof=`expr $ac_eof + 1`
51867 fi
51868
51869 cat >>$CONFIG_STATUS <<_ACEOF
51870 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51871 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51872 _ACEOF
51873 sed '
51874 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51875 s/^/s,@/; s/!/@,|#_!!_#|/
51876 :n
51877 t n
51878 s/'"$ac_delim"'$/,g/; t
51879 s/$/\\/; p
51880 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51881 ' >>$CONFIG_STATUS <conf$$subs.sed
51882 rm -f conf$$subs.sed
51883 cat >>$CONFIG_STATUS <<_ACEOF
51884 :end
51885 s/|#_!!_#|//g
51886 CEOF$ac_eof
51887 _ACEOF
51888
51889
51890 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51891 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51892 # trailing colons and then remove the whole line if VPATH becomes empty
51893 # (actually we leave an empty line to preserve line numbers).
51894 if test "x$srcdir" = x.; then
51895 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51896 s/:*\$(srcdir):*/:/
51897 s/:*\${srcdir}:*/:/
51898 s/:*@srcdir@:*/:/
51899 s/^\([^=]*=[ ]*\):*/\1/
51900 s/:*$//
51901 s/^[^=]*=[ ]*$//
51902 }'
51903 fi
51904
51905 cat >>$CONFIG_STATUS <<\_ACEOF
51906 fi # test -n "$CONFIG_FILES"
51907
51908
51909 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51910 do
51911 case $ac_tag in
51912 :[FHLC]) ac_mode=$ac_tag; continue;;
51913 esac
51914 case $ac_mode$ac_tag in
51915 :[FHL]*:*);;
51916 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51917 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51918 { (exit 1); exit 1; }; };;
51919 :[FH]-) ac_tag=-:-;;
51920 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51921 esac
51922 ac_save_IFS=$IFS
51923 IFS=:
51924 set x $ac_tag
51925 IFS=$ac_save_IFS
51926 shift
51927 ac_file=$1
51928 shift
51929
51930 case $ac_mode in
51931 :L) ac_source=$1;;
51932 :[FH])
51933 ac_file_inputs=
51934 for ac_f
51935 do
51936 case $ac_f in
51937 -) ac_f="$tmp/stdin";;
51938 *) # Look for the file first in the build tree, then in the source tree
51939 # (if the path is not absolute). The absolute path cannot be DOS-style,
51940 # because $ac_f cannot contain `:'.
51941 test -f "$ac_f" ||
51942 case $ac_f in
51943 [\\/$]*) false;;
51944 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51945 esac ||
51946 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51947 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51948 { (exit 1); exit 1; }; };;
51949 esac
51950 ac_file_inputs="$ac_file_inputs $ac_f"
51951 done
51952
51953 # Let's still pretend it is `configure' which instantiates (i.e., don't
51954 # use $as_me), people would be surprised to read:
51955 # /* config.h. Generated by config.status. */
51956 configure_input="Generated from "`IFS=:
51957 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51958 if test x"$ac_file" != x-; then
51959 configure_input="$ac_file. $configure_input"
51960 { echo "$as_me:$LINENO: creating $ac_file" >&5
51961 echo "$as_me: creating $ac_file" >&6;}
51962 fi
51963
51964 case $ac_tag in
51965 *:-:* | *:-) cat >"$tmp/stdin";;
51966 esac
51967 ;;
51968 esac
51969
51970 ac_dir=`$as_dirname -- "$ac_file" ||
51971 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51972 X"$ac_file" : 'X\(//\)[^/]' \| \
51973 X"$ac_file" : 'X\(//\)$' \| \
51974 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51975 echo X"$ac_file" |
51976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51977 s//\1/
51978 q
51979 }
51980 /^X\(\/\/\)[^/].*/{
51981 s//\1/
51982 q
51983 }
51984 /^X\(\/\/\)$/{
51985 s//\1/
51986 q
51987 }
51988 /^X\(\/\).*/{
51989 s//\1/
51990 q
51991 }
51992 s/.*/./; q'`
51993 { as_dir="$ac_dir"
51994 case $as_dir in #(
51995 -*) as_dir=./$as_dir;;
51996 esac
51997 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51998 as_dirs=
51999 while :; do
52000 case $as_dir in #(
52001 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52002 *) as_qdir=$as_dir;;
52003 esac
52004 as_dirs="'$as_qdir' $as_dirs"
52005 as_dir=`$as_dirname -- "$as_dir" ||
52006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52007 X"$as_dir" : 'X\(//\)[^/]' \| \
52008 X"$as_dir" : 'X\(//\)$' \| \
52009 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52010 echo X"$as_dir" |
52011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52012 s//\1/
52013 q
52014 }
52015 /^X\(\/\/\)[^/].*/{
52016 s//\1/
52017 q
52018 }
52019 /^X\(\/\/\)$/{
52020 s//\1/
52021 q
52022 }
52023 /^X\(\/\).*/{
52024 s//\1/
52025 q
52026 }
52027 s/.*/./; q'`
52028 test -d "$as_dir" && break
52029 done
52030 test -z "$as_dirs" || eval "mkdir $as_dirs"
52031 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52032 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52033 { (exit 1); exit 1; }; }; }
52034 ac_builddir=.
52035
52036 case "$ac_dir" in
52037 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52038 *)
52039 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52040 # A ".." for each directory in $ac_dir_suffix.
52041 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52042 case $ac_top_builddir_sub in
52043 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52044 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52045 esac ;;
52046 esac
52047 ac_abs_top_builddir=$ac_pwd
52048 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52049 # for backward compatibility:
52050 ac_top_builddir=$ac_top_build_prefix
52051
52052 case $srcdir in
52053 .) # We are building in place.
52054 ac_srcdir=.
52055 ac_top_srcdir=$ac_top_builddir_sub
52056 ac_abs_top_srcdir=$ac_pwd ;;
52057 [\\/]* | ?:[\\/]* ) # Absolute name.
52058 ac_srcdir=$srcdir$ac_dir_suffix;
52059 ac_top_srcdir=$srcdir
52060 ac_abs_top_srcdir=$srcdir ;;
52061 *) # Relative name.
52062 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52063 ac_top_srcdir=$ac_top_build_prefix$srcdir
52064 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52065 esac
52066 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52067
52068
52069 case $ac_mode in
52070 :F)
52071 #
52072 # CONFIG_FILE
52073 #
52074
52075 case $INSTALL in
52076 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52077 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52078 esac
52079 _ACEOF
52080
52081 cat >>$CONFIG_STATUS <<\_ACEOF
52082 # If the template does not know about datarootdir, expand it.
52083 # FIXME: This hack should be removed a few years after 2.60.
52084 ac_datarootdir_hack=; ac_datarootdir_seen=
52085
52086 case `sed -n '/datarootdir/ {
52087 p
52088 q
52089 }
52090 /@datadir@/p
52091 /@docdir@/p
52092 /@infodir@/p
52093 /@localedir@/p
52094 /@mandir@/p
52095 ' $ac_file_inputs` in
52096 *datarootdir*) ac_datarootdir_seen=yes;;
52097 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52098 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52099 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52100 _ACEOF
52101 cat >>$CONFIG_STATUS <<_ACEOF
52102 ac_datarootdir_hack='
52103 s&@datadir@&$datadir&g
52104 s&@docdir@&$docdir&g
52105 s&@infodir@&$infodir&g
52106 s&@localedir@&$localedir&g
52107 s&@mandir@&$mandir&g
52108 s&\\\${datarootdir}&$datarootdir&g' ;;
52109 esac
52110 _ACEOF
52111
52112 # Neutralize VPATH when `$srcdir' = `.'.
52113 # Shell code in configure.ac might set extrasub.
52114 # FIXME: do we really want to maintain this feature?
52115 cat >>$CONFIG_STATUS <<_ACEOF
52116 sed "$ac_vpsub
52117 $extrasub
52118 _ACEOF
52119 cat >>$CONFIG_STATUS <<\_ACEOF
52120 :t
52121 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52122 s&@configure_input@&$configure_input&;t t
52123 s&@top_builddir@&$ac_top_builddir_sub&;t t
52124 s&@srcdir@&$ac_srcdir&;t t
52125 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52126 s&@top_srcdir@&$ac_top_srcdir&;t t
52127 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52128 s&@builddir@&$ac_builddir&;t t
52129 s&@abs_builddir@&$ac_abs_builddir&;t t
52130 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52131 s&@INSTALL@&$ac_INSTALL&;t t
52132 $ac_datarootdir_hack
52133 " $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
52134
52135 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52136 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52137 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52138 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52139 which seems to be undefined. Please make sure it is defined." >&5
52140 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52141 which seems to be undefined. Please make sure it is defined." >&2;}
52142
52143 rm -f "$tmp/stdin"
52144 case $ac_file in
52145 -) cat "$tmp/out"; rm -f "$tmp/out";;
52146 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52147 esac
52148 ;;
52149 :H)
52150 #
52151 # CONFIG_HEADER
52152 #
52153 _ACEOF
52154
52155 # Transform confdefs.h into a sed script `conftest.defines', that
52156 # substitutes the proper values into config.h.in to produce config.h.
52157 rm -f conftest.defines conftest.tail
52158 # First, append a space to every undef/define line, to ease matching.
52159 echo 's/$/ /' >conftest.defines
52160 # Then, protect against being on the right side of a sed subst, or in
52161 # an unquoted here document, in config.status. If some macros were
52162 # called several times there might be several #defines for the same
52163 # symbol, which is useless. But do not sort them, since the last
52164 # AC_DEFINE must be honored.
52165 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52166 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52167 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52168 # PARAMS is the parameter list in the macro definition--in most cases, it's
52169 # just an empty string.
52170 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52171 ac_dB='\\)[ (].*,\\1define\\2'
52172 ac_dC=' '
52173 ac_dD=' ,'
52174
52175 uniq confdefs.h |
52176 sed -n '
52177 t rset
52178 :rset
52179 s/^[ ]*#[ ]*define[ ][ ]*//
52180 t ok
52181 d
52182 :ok
52183 s/[\\&,]/\\&/g
52184 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52185 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52186 ' >>conftest.defines
52187
52188 # Remove the space that was appended to ease matching.
52189 # Then replace #undef with comments. This is necessary, for
52190 # example, in the case of _POSIX_SOURCE, which is predefined and required
52191 # on some systems where configure will not decide to define it.
52192 # (The regexp can be short, since the line contains either #define or #undef.)
52193 echo 's/ $//
52194 s,^[ #]*u.*,/* & */,' >>conftest.defines
52195
52196 # Break up conftest.defines:
52197 ac_max_sed_lines=50
52198
52199 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52200 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52201 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52202 # et cetera.
52203 ac_in='$ac_file_inputs'
52204 ac_out='"$tmp/out1"'
52205 ac_nxt='"$tmp/out2"'
52206
52207 while :
52208 do
52209 # Write a here document:
52210 cat >>$CONFIG_STATUS <<_ACEOF
52211 # First, check the format of the line:
52212 cat >"\$tmp/defines.sed" <<\\CEOF
52213 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52214 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52215 b
52216 :def
52217 _ACEOF
52218 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52219 echo 'CEOF
52220 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52221 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52222 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52223 grep . conftest.tail >/dev/null || break
52224 rm -f conftest.defines
52225 mv conftest.tail conftest.defines
52226 done
52227 rm -f conftest.defines conftest.tail
52228
52229 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52230 cat >>$CONFIG_STATUS <<\_ACEOF
52231 if test x"$ac_file" != x-; then
52232 echo "/* $configure_input */" >"$tmp/config.h"
52233 cat "$ac_result" >>"$tmp/config.h"
52234 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52235 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52236 echo "$as_me: $ac_file is unchanged" >&6;}
52237 else
52238 rm -f $ac_file
52239 mv "$tmp/config.h" $ac_file
52240 fi
52241 else
52242 echo "/* $configure_input */"
52243 cat "$ac_result"
52244 fi
52245 rm -f "$tmp/out12"
52246 ;;
52247
52248 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52249 echo "$as_me: executing $ac_file commands" >&6;}
52250 ;;
52251 esac
52252
52253
52254 case $ac_file$ac_mode in
52255 "rcdefs.h":C)
52256 mkdir -p $outdir &&
52257 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52258 ;;
52259 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52260 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52261 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52262 "wx-config":C) rm -f wx-config
52263 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52264 ;;
52265
52266 esac
52267 done # for ac_tag
52268
52269
52270 { (exit 0); exit 0; }
52271 _ACEOF
52272 chmod +x $CONFIG_STATUS
52273 ac_clean_files=$ac_clean_files_save
52274
52275
52276 # configure is writing to config.log, and then calls config.status.
52277 # config.status does its own redirection, appending to config.log.
52278 # Unfortunately, on DOS this fails, as config.log is still kept open
52279 # by configure, so config.status won't be able to write to it; its
52280 # output is simply discarded. So we exec the FD to /dev/null,
52281 # effectively closing config.log, so it can be properly (re)opened and
52282 # appended to by config.status. When coming back to configure, we
52283 # need to make the FD available again.
52284 if test "$no_create" != yes; then
52285 ac_cs_success=:
52286 ac_config_status_args=
52287 test "$silent" = yes &&
52288 ac_config_status_args="$ac_config_status_args --quiet"
52289 exec 5>/dev/null
52290 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52291 exec 5>>config.log
52292 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52293 # would make configure fail if this is the last instruction.
52294 $ac_cs_success || { (exit 1); exit 1; }
52295 fi
52296
52297 #
52298 # CONFIG_SUBDIRS section.
52299 #
52300 if test "$no_recursion" != yes; then
52301
52302 # Remove --cache-file and --srcdir arguments so they do not pile up.
52303 ac_sub_configure_args=
52304 ac_prev=
52305 eval "set x $ac_configure_args"
52306 shift
52307 for ac_arg
52308 do
52309 if test -n "$ac_prev"; then
52310 ac_prev=
52311 continue
52312 fi
52313 case $ac_arg in
52314 -cache-file | --cache-file | --cache-fil | --cache-fi \
52315 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52316 ac_prev=cache_file ;;
52317 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52318 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52319 | --c=*)
52320 ;;
52321 --config-cache | -C)
52322 ;;
52323 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52324 ac_prev=srcdir ;;
52325 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52326 ;;
52327 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52328 ac_prev=prefix ;;
52329 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52330 ;;
52331 *)
52332 case $ac_arg in
52333 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52334 esac
52335 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52336 esac
52337 done
52338
52339 # Always prepend --prefix to ensure using the same prefix
52340 # in subdir configurations.
52341 ac_arg="--prefix=$prefix"
52342 case $ac_arg in
52343 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52344 esac
52345 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52346
52347 # Pass --silent
52348 if test "$silent" = yes; then
52349 ac_sub_configure_args="--silent $ac_sub_configure_args"
52350 fi
52351
52352 ac_popdir=`pwd`
52353 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52354
52355 # Do not complain, so a configure script can configure whichever
52356 # parts of a large source tree are present.
52357 test -d "$srcdir/$ac_dir" || continue
52358
52359 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52360 echo "$as_me:$LINENO: $ac_msg" >&5
52361 echo "$ac_msg" >&6
52362 { as_dir="$ac_dir"
52363 case $as_dir in #(
52364 -*) as_dir=./$as_dir;;
52365 esac
52366 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52367 as_dirs=
52368 while :; do
52369 case $as_dir in #(
52370 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52371 *) as_qdir=$as_dir;;
52372 esac
52373 as_dirs="'$as_qdir' $as_dirs"
52374 as_dir=`$as_dirname -- "$as_dir" ||
52375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52376 X"$as_dir" : 'X\(//\)[^/]' \| \
52377 X"$as_dir" : 'X\(//\)$' \| \
52378 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52379 echo X"$as_dir" |
52380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52381 s//\1/
52382 q
52383 }
52384 /^X\(\/\/\)[^/].*/{
52385 s//\1/
52386 q
52387 }
52388 /^X\(\/\/\)$/{
52389 s//\1/
52390 q
52391 }
52392 /^X\(\/\).*/{
52393 s//\1/
52394 q
52395 }
52396 s/.*/./; q'`
52397 test -d "$as_dir" && break
52398 done
52399 test -z "$as_dirs" || eval "mkdir $as_dirs"
52400 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52401 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52402 { (exit 1); exit 1; }; }; }
52403 ac_builddir=.
52404
52405 case "$ac_dir" in
52406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52407 *)
52408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52409 # A ".." for each directory in $ac_dir_suffix.
52410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52411 case $ac_top_builddir_sub in
52412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52414 esac ;;
52415 esac
52416 ac_abs_top_builddir=$ac_pwd
52417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52418 # for backward compatibility:
52419 ac_top_builddir=$ac_top_build_prefix
52420
52421 case $srcdir in
52422 .) # We are building in place.
52423 ac_srcdir=.
52424 ac_top_srcdir=$ac_top_builddir_sub
52425 ac_abs_top_srcdir=$ac_pwd ;;
52426 [\\/]* | ?:[\\/]* ) # Absolute name.
52427 ac_srcdir=$srcdir$ac_dir_suffix;
52428 ac_top_srcdir=$srcdir
52429 ac_abs_top_srcdir=$srcdir ;;
52430 *) # Relative name.
52431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52432 ac_top_srcdir=$ac_top_build_prefix$srcdir
52433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52434 esac
52435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52436
52437
52438 cd "$ac_dir"
52439
52440 # Check for guested configure; otherwise get Cygnus style configure.
52441 if test -f "$ac_srcdir/configure.gnu"; then
52442 ac_sub_configure=$ac_srcdir/configure.gnu
52443 elif test -f "$ac_srcdir/configure"; then
52444 ac_sub_configure=$ac_srcdir/configure
52445 elif test -f "$ac_srcdir/configure.in"; then
52446 # This should be Cygnus configure.
52447 ac_sub_configure=$ac_aux_dir/configure
52448 else
52449 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52451 ac_sub_configure=
52452 fi
52453
52454 # The recursion is here.
52455 if test -n "$ac_sub_configure"; then
52456 # Make the cache file name correct relative to the subdirectory.
52457 case $cache_file in
52458 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52459 *) # Relative name.
52460 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52461 esac
52462
52463 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52464 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52465 # The eval makes quoting arguments work.
52466 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52467 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52468 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52469 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52470 { (exit 1); exit 1; }; }
52471 fi
52472
52473 cd "$ac_popdir"
52474 done
52475 fi
52476
52477
52478 echo
52479 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52480 echo ""
52481 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52482 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52483
52484 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52485 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52486 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52487 if test "$wxUSE_UNICODE" = "yes"; then
52488 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52489 echo " (using UTF-8)"
52490 else
52491 echo " (using wchar_t)"
52492 fi
52493 else
52494 echo
52495 fi
52496
52497 echo " What level of wxWidgets compatibility should be enabled?"
52498 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52499 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52500
52501 echo " Which libraries should wxWidgets use?"
52502 echo " STL ${wxUSE_STL}"
52503 echo " jpeg ${wxUSE_LIBJPEG-none}"
52504 echo " png ${wxUSE_LIBPNG-none}"
52505 echo " regex ${wxUSE_REGEX}"
52506 echo " tiff ${wxUSE_LIBTIFF-none}"
52507 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52508 echo " xpm ${wxUSE_LIBXPM-none}"
52509 fi
52510 echo " zlib ${wxUSE_ZLIB}"
52511 echo " expat ${wxUSE_EXPAT}"
52512 echo " libmspack ${wxUSE_LIBMSPACK}"
52513 echo " sdl ${wxUSE_LIBSDL}"
52514
52515 echo ""
52516