]> git.saurik.com Git - wxWidgets.git/blob - configure
fix GetTLWParentIfNotBeingDeleted() to work correctly even if an intermediate non...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 51537 2008-02-04 00:16:33Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 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_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_0
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
899 COND_SHARED_1
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_TOOLKIT_
902 COND_TOOLKIT_COCOA
903 COND_TOOLKIT_COCOA_USE_GUI_1
904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_DFB
906 COND_TOOLKIT_DFB_USE_GUI_1
907 COND_TOOLKIT_GTK
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
916 COND_TOOLKIT_MAC
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_MGL
920 COND_TOOLKIT_MGL_USE_GUI_1
921 COND_TOOLKIT_MOTIF
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
928 COND_TOOLKIT_PM
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
935 COND_TOOLKIT_X11
936 COND_TOOLKIT_X11_USE_GUI_1
937 COND_UNICODE_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
940 COND_USE_GUI_0
941 COND_USE_GUI_1
942 COND_USE_GUI_1_USE_OPENGL_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
948 COND_USE_OPENGL_1
949 COND_USE_PCH_1
950 COND_USE_PLUGINS_0
951 COND_USE_RTTI_0
952 COND_USE_RTTI_1
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
956 COND_USE_SOVERSION_0
957 COND_USE_SOVERSOLARIS_1
958 COND_USE_STC_1
959 COND_USE_THREADS_0
960 COND_USE_THREADS_1
961 COND_USE_XRC_1
962 COND_WINDOWS_IMPLIB_1
963 COND_WITH_PLUGIN_SDL_1
964 COND_WXUNIV_0
965 COND_WXUNIV_1
966 COND_WXUSE_EXPAT_BUILTIN
967 COND_WXUSE_LIBJPEG_BUILTIN
968 COND_WXUSE_LIBPNG_BUILTIN
969 COND_WXUSE_LIBTIFF_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
972 DEREZ
973 SHARED
974 WX_LIBRARY_BASENAME_NOGUI
975 WX_LIBRARY_BASENAME_GUI
976 USE_GUI
977 AFMINSTALL
978 WIN32INSTALL
979 TOOLKIT
980 TOOLKIT_DIR
981 TOOLCHAIN_NAME
982 TOOLCHAIN_FULLNAME
983 cross_compiling
984 WIDGET_SET
985 WX_RELEASE
986 WX_VERSION
987 WX_SUBVERSION
988 WX_CHARTYPE
989 WX_DEBUGTYPE
990 WXCONFIG_CPPFLAGS
991 WXCONFIG_CFLAGS
992 WXCONFIG_CXXFLAGS
993 WXCONFIG_LIBS
994 WXCONFIG_RPATH
995 WXCONFIG_LDFLAGS_GUI
996 WXCONFIG_RESFLAGS
997 GUIDIST
998 DISTDIR
999 SAMPLES_SUBDIRS
1000 LDFLAGS_GL
1001 OPENGL_LIBS
1002 DMALLOC_LIBS
1003 WX_VERSION_TAG
1004 RESCOMP
1005 RESFLAGS
1006 RESPROGRAMOBJ
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1009 LIBWXMACRES
1010 POSTLINK_COMMAND
1011 MACSETFILE
1012 GCC
1013 DLLTOOL
1014 CPPUNIT_CONFIG
1015 LIBOBJS
1016 LTLIBOBJS'
1017 ac_subst_files=''
1018 ac_precious_vars='build_alias
1019 host_alias
1020 target_alias
1021 CC
1022 CFLAGS
1023 LDFLAGS
1024 LIBS
1025 CPPFLAGS
1026 CPP
1027 CXX
1028 CXXFLAGS
1029 CCC
1030 PKG_CONFIG
1031 DIRECTFB_CFLAGS
1032 DIRECTFB_LIBS
1033 XMKMF
1034 PANGOX_CFLAGS
1035 PANGOX_LIBS
1036 PANGOFT2_CFLAGS
1037 PANGOFT2_LIBS
1038 PANGOXFT_CFLAGS
1039 PANGOXFT_LIBS
1040 GTKPRINT_CFLAGS
1041 GTKPRINT_LIBS
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1044 GNOMEVFS_CFLAGS
1045 GNOMEVFS_LIBS
1046 HILDON_CFLAGS
1047 HILDON_LIBS
1048 CAIRO_CFLAGS
1049 CAIRO_LIBS
1050 GST_CFLAGS
1051 GST_LIBS'
1052 ac_subdirs_all='src/tiff
1053 src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --disable-gui don't build GUI parts of the library
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-official_build official build of wxWidgets (win32 DLL only)
1636 --enable-vendor=VENDOR vendor name (win32 DLL only)
1637 --disable-all-features disable all optional features to build minimal library
1638 --enable-universal use wxWidgets GUI controls instead of native ones
1639 --enable-nanox use NanoX
1640 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1641 --enable-gpe use GNOME PDA Environment features if possible
1642 --disable-shared create static library instead of shared
1643 --disable-optimise create optimised code
1644 --enable-debug same as debug_flag and debug_info
1645 --enable-stl use STL for containers
1646 --enable-std_iostreams use standard C++ stream classes
1647 --enable-std_string use standard C++ string classes
1648 --disable-unicode compile without Unicode support
1649 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1650 --enable-utf8 use UTF-8 representation for strings (Unix only)
1651 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1652 --enable-extended_rtti use extended RTTI (XTI)
1653 --enable-omf use OMF object format
1654 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1655 --enable-debug_info create code with debugging information
1656 --enable-debug_gdb create code with extra GDB debugging information
1657 --enable-debug_cntxt use wxDebugContext
1658 --enable-mem_tracing create code with memory tracing
1659 --enable-profile create code with profiling information
1660 --enable-no_rtti create code without RTTI information
1661 --enable-no_exceptions create code without C++ exceptions handling
1662 --enable-permissive compile code disregarding strict ANSI
1663 --enable-no_deps create code without dependency information
1664 --disable-vararg_macros don't use vararg macros, even if they are supported
1665 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1666 --enable-compat26 enable wxWidgets 2.6 compatibility
1667 --disable-compat28 disable wxWidgets 2.8 compatibility
1668 --disable-rpath disable use of rpath for uninstalled builds
1669 --enable-objc_uniquifying enable Objective-C class name uniquifying
1670 --disable-visibility disable use of ELF symbols visibility even if supported
1671 --enable-intl use internationalization system
1672 --enable-config use wxConfig (and derived) classes
1673 --enable-protocols use wxProtocol and derived classes
1674 --enable-ftp use wxFTP (requires wxProtocol
1675 --enable-http use wxHTTP (requires wxProtocol
1676 --enable-fileproto use wxFileProto class (requires wxProtocol
1677 --enable-sockets use socket/network classes
1678 --enable-ipv6 enable IPv6 support in wxSocket
1679 --enable-ole use OLE classes (Win32 only)
1680 --enable-dataobj use data object classes
1681 --enable-ipc use interprocess communication (wxSocket etc.)
1682 --enable-baseevtloop use event loop in console programs too
1683 --enable-epollloop use wxEpollDispatcher class (Linux only)
1684 --enable-selectloop use wxSelectDispatcher class
1685 --enable-apple_ieee use the Apple IEEE codec
1686 --enable-arcstream use wxArchive streams
1687 --enable-base64 use base64 encoding/decoding functions
1688 --enable-backtrace use wxStackWalker class for getting backtraces
1689 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1690 --enable-cmdline use wxCmdLineParser class
1691 --enable-datetime use wxDateTime class
1692 --enable-debugreport use wxDebugReport class
1693 --enable-dialupman use dialup network classes
1694 --enable-dynlib use wxLibrary class for DLL loading
1695 --enable-dynamicloader use (new) wxDynamicLibrary class
1696 --enable-exceptions build exception-safe library
1697 --enable-ffile use wxFFile class
1698 --enable-file use wxFile class
1699 --enable-filesystem use virtual file systems classes
1700 --enable-fontenum use wxFontEnumerator class
1701 --enable-fontmap use font encodings conversion classes
1702 --enable-fs_archive use virtual archive filesystems
1703 --enable-fs_inet use virtual HTTP/FTP filesystems
1704 --enable-fs_zip now replaced by fs_archive
1705 --enable-geometry use geometry class
1706 --enable-log use logging system
1707 --enable-longlong use wxLongLong class
1708 --enable-mimetype use wxMimeTypesManager
1709 --enable-snglinst use wxSingleInstanceChecker class
1710 --enable-stdpaths use wxStandardPaths class
1711 --enable-stopwatch use wxStopWatch class
1712 --enable-streams use wxStream etc classes
1713 --enable-sysoptions use wxSystemOptions
1714 --enable-tarstream use wxTar streams
1715 --enable-textbuf use wxTextBuffer class
1716 --enable-textfile use wxTextFile class
1717 --enable-timer use wxTimer class
1718 --enable-sound use wxSound class
1719 --enable-mediactrl use wxMediaCtrl class
1720 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1721 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1722 --enable-zipstream use wxZip streams
1723 --enable-url use wxURL class
1724 --enable-variant use wxVariant class
1725 --enable-protocol use wxProtocol class
1726 --enable-protocol-http HTTP support in wxProtocol
1727 --enable-protocol-ftp FTP support in wxProtocol
1728 --enable-protocol-file FILE support in wxProtocol
1729 --enable-threads use threads
1730 --enable-iniconf use wxIniConfig (Win32 only)
1731 --enable-regkey use wxRegKey class (Win32 only)
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-filectrl use wxFileCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-notifmsg use wxNotificationMessage class
1789 --enable-odcombobox use wxOwnerDrawnComboBox class
1790 --enable-radiobox use wxRadioBox class
1791 --enable-radiobtn use wxRadioButton class
1792 --enable-sash use wxSashWindow class
1793 --enable-scrollbar use wxScrollBar class and scrollable windows
1794 --enable-searchctrl use wxSearchCtrl class
1795 --enable-slider use wxSlider class
1796 --enable-spinbtn use wxSpinButton class
1797 --enable-spinctrl use wxSpinCtrl class
1798 --enable-splitter use wxSplitterWindow class
1799 --enable-statbmp use wxStaticBitmap class
1800 --enable-statbox use wxStaticBox class
1801 --enable-statline use wxStaticLine class
1802 --enable-stattext use wxStaticText class
1803 --enable-statusbar use wxStatusBar class
1804 --enable-tabdialog use wxTabControl class
1805 --enable-taskbaricon use wxTaskBarIcon class
1806 --enable-textctrl use wxTextCtrl class
1807 --enable-togglebtn use wxToggleButton class
1808 --enable-toolbar use wxToolBar class
1809 --enable-tbarnative use native wxToolBar class
1810 --enable-treebook use wxTreebook class
1811 --enable-toolbook use wxToolbook class
1812 --enable-treectrl use wxTreeCtrl class
1813 --enable-tipwindow use wxTipWindow class
1814 --enable-popupwin use wxPopUpWindow class
1815 --enable-commondlg use all common dialogs
1816 --enable-aboutdlg use wxAboutBox
1817 --enable-choicedlg use wxChoiceDialog
1818 --enable-coldlg use wxColourDialog
1819 --enable-filedlg use wxFileDialog
1820 --enable-finddlg use wxFindReplaceDialog
1821 --enable-fontdlg use wxFontDialog
1822 --enable-dirdlg use wxDirDialog
1823 --enable-msgdlg use wxMessageDialog
1824 --enable-numberdlg use wxNumberEntryDialog
1825 --enable-splash use wxSplashScreen
1826 --enable-textdlg use wxTextDialog
1827 --enable-tipdlg use startup tips
1828 --enable-progressdlg use wxProgressDialog
1829 --enable-wizarddlg use wxWizard
1830 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1831 --enable-miniframe use wxMiniFrame class
1832 --enable-tooltips use wxToolTip class
1833 --enable-splines use spline drawing code
1834 --enable-mousewheel use mousewheel
1835 --enable-validators use wxValidator and derived classes
1836 --enable-busyinfo use wxBusyInfo
1837 --enable-joystick use wxJoystick
1838 --enable-metafiles use wxMetaFile (Win32 only)
1839 --enable-dragimage use wxDragImage
1840 --enable-accessibility enable accessibility support
1841 --enable-palette use wxPalette class
1842 --enable-image use wxImage class
1843 --enable-gif use gif images (GIF file format)
1844 --enable-pcx use pcx images (PCX file format)
1845 --enable-tga use tga images (TGA file format)
1846 --enable-iff use iff images (IFF file format)
1847 --enable-pnm use pnm images (PNM file format)
1848 --enable-xpm use xpm images (XPM file format)
1849 --enable-ico_cur use Windows ICO and CUR formats
1850 --enable-dccache cache temporary wxDC objects (Win32 only)
1851 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1852 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1853 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1854 --enable-wxdib use wxDIB class (Win32 only)
1855 --enable-autoidman use automatic ids management
1856 --disable-largefile omit support for large files
1857 --disable-gtktest do not try to compile and run a test GTK+ program
1858 --disable-gtktest Do not try to compile and run a test GTK program
1859 --disable-sdltest Do not try to compile and run a test SDL program
1860 --enable-omf use OMF object format (OS/2)
1861 --disable-dependency-tracking
1862 don't use dependency tracking even if the compiler
1863 can
1864 --disable-precomp-headers
1865 don't use precompiled headers even if compiler can
1866
1867 Optional Packages:
1868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1870 --without-subdirs don't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1883 --with-x11 use X11
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libiconv use libiconv (character conversion)
1889 --with-libmspack use libmspack (CHM help files loading)
1890 --without-gtkprint don't use GTK printing support
1891 --without-gnomeprint don't use GNOME printing libraries
1892 --with-gnomevfs use GNOME VFS for associating MIME types
1893 --with-hildon use Hildon framework for Nokia 770
1894 --with-opengl use OpenGL (or Mesa)
1895 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1896 --with-sdl use SDL for audio on Unix
1897 --with-regex enable support for wxRegEx class
1898 --with-zlib use zlib for LZW compression
1899 --with-expat enable XML support using expat parser
1900 --with-macosx-sdk=PATH use an OS X SDK at PATH
1901 --with-macosx-version-min=VER build binaries which require at least this OS X version
1902 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1903 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1904 --with-x use the X Window System
1905 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1906 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1907 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1908 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1909 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1910
1911 Some influential environment variables:
1912 CC C compiler command
1913 CFLAGS C compiler flags
1914 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1915 nonstandard directory <lib dir>
1916 LIBS libraries to pass to the linker, e.g. -l<library>
1917 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1918 you have headers in a nonstandard directory <include dir>
1919 CPP C preprocessor
1920 CXX C++ compiler command
1921 CXXFLAGS C++ compiler flags
1922 PKG_CONFIG path to pkg-config utility
1923 DIRECTFB_CFLAGS
1924 C compiler flags for DIRECTFB, overriding pkg-config
1925 DIRECTFB_LIBS
1926 linker flags for DIRECTFB, overriding pkg-config
1927 XMKMF Path to xmkmf, Makefile generator for X Window System
1928 PANGOX_CFLAGS
1929 C compiler flags for PANGOX, overriding pkg-config
1930 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1931 PANGOFT2_CFLAGS
1932 C compiler flags for PANGOFT2, overriding pkg-config
1933 PANGOFT2_LIBS
1934 linker flags for PANGOFT2, overriding pkg-config
1935 PANGOXFT_CFLAGS
1936 C compiler flags for PANGOXFT, overriding pkg-config
1937 PANGOXFT_LIBS
1938 linker flags for PANGOXFT, overriding pkg-config
1939 GTKPRINT_CFLAGS
1940 C compiler flags for GTKPRINT, overriding pkg-config
1941 GTKPRINT_LIBS
1942 linker flags for GTKPRINT, overriding pkg-config
1943 LIBGNOMEPRINTUI_CFLAGS
1944 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1945 LIBGNOMEPRINTUI_LIBS
1946 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1947 GNOMEVFS_CFLAGS
1948 C compiler flags for GNOMEVFS, overriding pkg-config
1949 GNOMEVFS_LIBS
1950 linker flags for GNOMEVFS, overriding pkg-config
1951 HILDON_CFLAGS
1952 C compiler flags for HILDON, overriding pkg-config
1953 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1954 CAIRO_CFLAGS
1955 C compiler flags for CAIRO, overriding pkg-config
1956 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1957 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1958 GST_LIBS linker flags for GST, overriding pkg-config
1959
1960 Use these variables to override the choices made by `configure' or to help
1961 it to find libraries and programs with nonstandard names/locations.
1962
1963 Report bugs to <wx-dev@lists.wxwidgets.org>.
1964 _ACEOF
1965 ac_status=$?
1966 fi
1967
1968 if test "$ac_init_help" = "recursive"; then
1969 # If there are subdirs, report their specific --help.
1970 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1971 test -d "$ac_dir" || continue
1972 ac_builddir=.
1973
1974 case "$ac_dir" in
1975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1976 *)
1977 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1978 # A ".." for each directory in $ac_dir_suffix.
1979 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1980 case $ac_top_builddir_sub in
1981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1983 esac ;;
1984 esac
1985 ac_abs_top_builddir=$ac_pwd
1986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1987 # for backward compatibility:
1988 ac_top_builddir=$ac_top_build_prefix
1989
1990 case $srcdir in
1991 .) # We are building in place.
1992 ac_srcdir=.
1993 ac_top_srcdir=$ac_top_builddir_sub
1994 ac_abs_top_srcdir=$ac_pwd ;;
1995 [\\/]* | ?:[\\/]* ) # Absolute name.
1996 ac_srcdir=$srcdir$ac_dir_suffix;
1997 ac_top_srcdir=$srcdir
1998 ac_abs_top_srcdir=$srcdir ;;
1999 *) # Relative name.
2000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2001 ac_top_srcdir=$ac_top_build_prefix$srcdir
2002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2003 esac
2004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2005
2006 cd "$ac_dir" || { ac_status=$?; continue; }
2007 # Check for guested configure.
2008 if test -f "$ac_srcdir/configure.gnu"; then
2009 echo &&
2010 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2011 elif test -f "$ac_srcdir/configure"; then
2012 echo &&
2013 $SHELL "$ac_srcdir/configure" --help=recursive
2014 else
2015 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2016 fi || ac_status=$?
2017 cd "$ac_pwd" || { ac_status=$?; break; }
2018 done
2019 fi
2020
2021 test -n "$ac_init_help" && exit $ac_status
2022 if $ac_init_version; then
2023 cat <<\_ACEOF
2024 wxWidgets configure 2.9.0
2025 generated by GNU Autoconf 2.61
2026
2027 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2028 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2029 This configure script is free software; the Free Software Foundation
2030 gives unlimited permission to copy, distribute and modify it.
2031 _ACEOF
2032 exit
2033 fi
2034 cat >config.log <<_ACEOF
2035 This file contains any messages produced by compilers while
2036 running configure, to aid debugging if configure makes a mistake.
2037
2038 It was created by wxWidgets $as_me 2.9.0, which was
2039 generated by GNU Autoconf 2.61. Invocation command line was
2040
2041 $ $0 $@
2042
2043 _ACEOF
2044 exec 5>>config.log
2045 {
2046 cat <<_ASUNAME
2047 ## --------- ##
2048 ## Platform. ##
2049 ## --------- ##
2050
2051 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2052 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2053 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2054 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2055 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2056
2057 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2058 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2059
2060 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2061 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2062 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2063 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2064 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2065 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2066 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2067
2068 _ASUNAME
2069
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 for as_dir in $PATH
2072 do
2073 IFS=$as_save_IFS
2074 test -z "$as_dir" && as_dir=.
2075 echo "PATH: $as_dir"
2076 done
2077 IFS=$as_save_IFS
2078
2079 } >&5
2080
2081 cat >&5 <<_ACEOF
2082
2083
2084 ## ----------- ##
2085 ## Core tests. ##
2086 ## ----------- ##
2087
2088 _ACEOF
2089
2090
2091 # Keep a trace of the command line.
2092 # Strip out --no-create and --no-recursion so they do not pile up.
2093 # Strip out --silent because we don't want to record it for future runs.
2094 # Also quote any args containing shell meta-characters.
2095 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_configure_args=
2097 ac_configure_args0=
2098 ac_configure_args1=
2099 ac_must_keep_next=false
2100 for ac_pass in 1 2
2101 do
2102 for ac_arg
2103 do
2104 case $ac_arg in
2105 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107 | -silent | --silent | --silen | --sile | --sil)
2108 continue ;;
2109 *\'*)
2110 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2111 esac
2112 case $ac_pass in
2113 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2114 2)
2115 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2116 if test $ac_must_keep_next = true; then
2117 ac_must_keep_next=false # Got value, back to normal.
2118 else
2119 case $ac_arg in
2120 *=* | --config-cache | -C | -disable-* | --disable-* \
2121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2123 | -with-* | --with-* | -without-* | --without-* | --x)
2124 case "$ac_configure_args0 " in
2125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2126 esac
2127 ;;
2128 -* ) ac_must_keep_next=true ;;
2129 esac
2130 fi
2131 ac_configure_args="$ac_configure_args '$ac_arg'"
2132 ;;
2133 esac
2134 done
2135 done
2136 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2137 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2138
2139 # When interrupted or exit'd, cleanup temporary files, and complete
2140 # config.log. We remove comments because anyway the quotes in there
2141 # would cause problems or look ugly.
2142 # WARNING: Use '\'' to represent an apostrophe within the trap.
2143 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2144 trap 'exit_status=$?
2145 # Save into config.log some information that might help in debugging.
2146 {
2147 echo
2148
2149 cat <<\_ASBOX
2150 ## ---------------- ##
2151 ## Cache variables. ##
2152 ## ---------------- ##
2153 _ASBOX
2154 echo
2155 # The following way of writing the cache mishandles newlines in values,
2156 (
2157 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2158 eval ac_val=\$$ac_var
2159 case $ac_val in #(
2160 *${as_nl}*)
2161 case $ac_var in #(
2162 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2163 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2164 esac
2165 case $ac_var in #(
2166 _ | IFS | as_nl) ;; #(
2167 *) $as_unset $ac_var ;;
2168 esac ;;
2169 esac
2170 done
2171 (set) 2>&1 |
2172 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2173 *${as_nl}ac_space=\ *)
2174 sed -n \
2175 "s/'\''/'\''\\\\'\'''\''/g;
2176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2177 ;; #(
2178 *)
2179 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2180 ;;
2181 esac |
2182 sort
2183 )
2184 echo
2185
2186 cat <<\_ASBOX
2187 ## ----------------- ##
2188 ## Output variables. ##
2189 ## ----------------- ##
2190 _ASBOX
2191 echo
2192 for ac_var in $ac_subst_vars
2193 do
2194 eval ac_val=\$$ac_var
2195 case $ac_val in
2196 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197 esac
2198 echo "$ac_var='\''$ac_val'\''"
2199 done | sort
2200 echo
2201
2202 if test -n "$ac_subst_files"; then
2203 cat <<\_ASBOX
2204 ## ------------------- ##
2205 ## File substitutions. ##
2206 ## ------------------- ##
2207 _ASBOX
2208 echo
2209 for ac_var in $ac_subst_files
2210 do
2211 eval ac_val=\$$ac_var
2212 case $ac_val in
2213 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2214 esac
2215 echo "$ac_var='\''$ac_val'\''"
2216 done | sort
2217 echo
2218 fi
2219
2220 if test -s confdefs.h; then
2221 cat <<\_ASBOX
2222 ## ----------- ##
2223 ## confdefs.h. ##
2224 ## ----------- ##
2225 _ASBOX
2226 echo
2227 cat confdefs.h
2228 echo
2229 fi
2230 test "$ac_signal" != 0 &&
2231 echo "$as_me: caught signal $ac_signal"
2232 echo "$as_me: exit $exit_status"
2233 } >&5
2234 rm -f core *.core core.conftest.* &&
2235 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2236 exit $exit_status
2237 ' 0
2238 for ac_signal in 1 2 13 15; do
2239 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2240 done
2241 ac_signal=0
2242
2243 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2244 rm -f -r conftest* confdefs.h
2245
2246 # Predefined preprocessor variables.
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_NAME "$PACKAGE_NAME"
2250 _ACEOF
2251
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2260 _ACEOF
2261
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_STRING "$PACKAGE_STRING"
2265 _ACEOF
2266
2267
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2270 _ACEOF
2271
2272
2273 # Let the site file select an alternate cache file if it wants to.
2274 # Prefer explicitly selected file to automatically selected ones.
2275 if test -n "$CONFIG_SITE"; then
2276 set x "$CONFIG_SITE"
2277 elif test "x$prefix" != xNONE; then
2278 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2279 else
2280 set x "$ac_default_prefix/share/config.site" \
2281 "$ac_default_prefix/etc/config.site"
2282 fi
2283 shift
2284 for ac_site_file
2285 do
2286 if test -r "$ac_site_file"; then
2287 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2288 echo "$as_me: loading site script $ac_site_file" >&6;}
2289 sed 's/^/| /' "$ac_site_file" >&5
2290 . "$ac_site_file"
2291 fi
2292 done
2293
2294 if test -r "$cache_file"; then
2295 # Some versions of bash will fail to source /dev/null (special
2296 # files actually), so we avoid doing that.
2297 if test -f "$cache_file"; then
2298 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2299 echo "$as_me: loading cache $cache_file" >&6;}
2300 case $cache_file in
2301 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2302 *) . "./$cache_file";;
2303 esac
2304 fi
2305 else
2306 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2307 echo "$as_me: creating cache $cache_file" >&6;}
2308 >$cache_file
2309 fi
2310
2311 # Check that the precious variables saved in the cache have kept the same
2312 # value.
2313 ac_cache_corrupted=false
2314 for ac_var in $ac_precious_vars; do
2315 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2316 eval ac_new_set=\$ac_env_${ac_var}_set
2317 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2318 eval ac_new_val=\$ac_env_${ac_var}_value
2319 case $ac_old_set,$ac_new_set in
2320 set,)
2321 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2322 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2323 ac_cache_corrupted=: ;;
2324 ,set)
2325 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2326 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2327 ac_cache_corrupted=: ;;
2328 ,);;
2329 *)
2330 if test "x$ac_old_val" != "x$ac_new_val"; then
2331 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2332 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2333 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2334 echo "$as_me: former value: $ac_old_val" >&2;}
2335 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2336 echo "$as_me: current value: $ac_new_val" >&2;}
2337 ac_cache_corrupted=:
2338 fi;;
2339 esac
2340 # Pass precious variables to config.status.
2341 if test "$ac_new_set" = set; then
2342 case $ac_new_val in
2343 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2344 *) ac_arg=$ac_var=$ac_new_val ;;
2345 esac
2346 case " $ac_configure_args " in
2347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2348 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2349 esac
2350 fi
2351 done
2352 if $ac_cache_corrupted; then
2353 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2354 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2356 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2357 { (exit 1); exit 1; }; }
2358 fi
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384 ac_ext=c
2385 ac_cpp='$CPP $CPPFLAGS'
2386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2389
2390
2391
2392
2393
2394 ac_aux_dir=
2395 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396 if test -f "$ac_dir/install-sh"; then
2397 ac_aux_dir=$ac_dir
2398 ac_install_sh="$ac_aux_dir/install-sh -c"
2399 break
2400 elif test -f "$ac_dir/install.sh"; then
2401 ac_aux_dir=$ac_dir
2402 ac_install_sh="$ac_aux_dir/install.sh -c"
2403 break
2404 elif test -f "$ac_dir/shtool"; then
2405 ac_aux_dir=$ac_dir
2406 ac_install_sh="$ac_aux_dir/shtool install -c"
2407 break
2408 fi
2409 done
2410 if test -z "$ac_aux_dir"; then
2411 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2412 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2413 { (exit 1); exit 1; }; }
2414 fi
2415
2416 # These three variables are undocumented and unsupported,
2417 # and are intended to be withdrawn in a future Autoconf release.
2418 # They can cause serious problems if a builder's source tree is in a directory
2419 # whose full name contains unusual characters.
2420 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2421 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2422 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2423
2424
2425 # Make sure we can run config.sub.
2426 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2427 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2428 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2429 { (exit 1); exit 1; }; }
2430
2431 { echo "$as_me:$LINENO: checking build system type" >&5
2432 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2433 if test "${ac_cv_build+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 ac_build_alias=$build_alias
2437 test "x$ac_build_alias" = x &&
2438 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2439 test "x$ac_build_alias" = x &&
2440 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2441 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2442 { (exit 1); exit 1; }; }
2443 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2444 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2445 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2446 { (exit 1); exit 1; }; }
2447
2448 fi
2449 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2450 echo "${ECHO_T}$ac_cv_build" >&6; }
2451 case $ac_cv_build in
2452 *-*-*) ;;
2453 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2454 echo "$as_me: error: invalid value of canonical build" >&2;}
2455 { (exit 1); exit 1; }; };;
2456 esac
2457 build=$ac_cv_build
2458 ac_save_IFS=$IFS; IFS='-'
2459 set x $ac_cv_build
2460 shift
2461 build_cpu=$1
2462 build_vendor=$2
2463 shift; shift
2464 # Remember, the first character of IFS is used to create $*,
2465 # except with old shells:
2466 build_os=$*
2467 IFS=$ac_save_IFS
2468 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2469
2470
2471 { echo "$as_me:$LINENO: checking host system type" >&5
2472 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2473 if test "${ac_cv_host+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 else
2476 if test "x$host_alias" = x; then
2477 ac_cv_host=$ac_cv_build
2478 else
2479 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2480 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2481 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2482 { (exit 1); exit 1; }; }
2483 fi
2484
2485 fi
2486 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2487 echo "${ECHO_T}$ac_cv_host" >&6; }
2488 case $ac_cv_host in
2489 *-*-*) ;;
2490 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2491 echo "$as_me: error: invalid value of canonical host" >&2;}
2492 { (exit 1); exit 1; }; };;
2493 esac
2494 host=$ac_cv_host
2495 ac_save_IFS=$IFS; IFS='-'
2496 set x $ac_cv_host
2497 shift
2498 host_cpu=$1
2499 host_vendor=$2
2500 shift; shift
2501 # Remember, the first character of IFS is used to create $*,
2502 # except with old shells:
2503 host_os=$*
2504 IFS=$ac_save_IFS
2505 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2506
2507
2508 { echo "$as_me:$LINENO: checking target system type" >&5
2509 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2510 if test "${ac_cv_target+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 else
2513 if test "x$target_alias" = x; then
2514 ac_cv_target=$ac_cv_host
2515 else
2516 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2517 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2518 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2520 fi
2521
2522 fi
2523 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2524 echo "${ECHO_T}$ac_cv_target" >&6; }
2525 case $ac_cv_target in
2526 *-*-*) ;;
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2528 echo "$as_me: error: invalid value of canonical target" >&2;}
2529 { (exit 1); exit 1; }; };;
2530 esac
2531 target=$ac_cv_target
2532 ac_save_IFS=$IFS; IFS='-'
2533 set x $ac_cv_target
2534 shift
2535 target_cpu=$1
2536 target_vendor=$2
2537 shift; shift
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2540 target_os=$*
2541 IFS=$ac_save_IFS
2542 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2543
2544
2545 # The aliases save the names the user supplied, while $host etc.
2546 # will get canonicalized.
2547 test -n "$target_alias" &&
2548 test "$program_prefix$program_suffix$program_transform_name" = \
2549 NONENONEs,x,x, &&
2550 program_prefix=${target_alias}-
2551
2552
2553
2554 wx_major_version_number=2
2555 wx_minor_version_number=9
2556 wx_release_number=0
2557 wx_subrelease_number=0
2558
2559 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2560 WX_VERSION=$WX_RELEASE.$wx_release_number
2561 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2562
2563 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2564
2565
2566 wx_top_builddir="`pwd`"
2567
2568
2569
2570
2571 USE_UNIX=1
2572 USE_OS2=0
2573 USE_WIN32=0
2574 USE_DOS=0
2575 USE_BEOS=0
2576 USE_MAC=0
2577
2578 USE_AIX=
2579 USE_BSD= USE_DARWIN= USE_FREEBSD=
2580 USE_GNU= USE_HPUX=
2581 USE_LINUX=
2582 USE_NETBSD=
2583 USE_OPENBSD=
2584 USE_OSF= USE_SGI=
2585 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2586 USE_ULTRIX=
2587 USE_UNIXWARE=
2588
2589 USE_ALPHA=
2590
2591 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2592
2593 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2594
2595 DEFAULT_wxUSE_COCOA=0
2596 DEFAULT_wxUSE_GTK=0
2597 DEFAULT_wxUSE_MAC=0
2598 DEFAULT_wxUSE_MGL=0
2599 DEFAULT_wxUSE_MICROWIN=0
2600 DEFAULT_wxUSE_MOTIF=0
2601 DEFAULT_wxUSE_MSW=0
2602 DEFAULT_wxUSE_PM=0
2603 DEFAULT_wxUSE_X11=0
2604 DEFAULT_wxUSE_DFB=0
2605
2606 DEFAULT_DEFAULT_wxUSE_COCOA=0
2607 DEFAULT_DEFAULT_wxUSE_GTK=0
2608 DEFAULT_DEFAULT_wxUSE_MAC=0
2609 DEFAULT_DEFAULT_wxUSE_MGL=0
2610 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2611 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2612 DEFAULT_DEFAULT_wxUSE_MSW=0
2613 DEFAULT_DEFAULT_wxUSE_PM=0
2614 DEFAULT_DEFAULT_wxUSE_X11=0
2615 DEFAULT_DEFAULT_wxUSE_DFB=0
2616
2617 PROGRAM_EXT=
2618 SO_SUFFIX=so
2619 SAMPLES_RPATH_FLAG=
2620 SAMPLES_RPATH_POSTLINK=
2621
2622 DEFAULT_STD_FLAG=yes
2623
2624 case "${host}" in
2625 *-hp-hpux* )
2626 USE_HPUX=1
2627 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2629 SO_SUFFIX=sl
2630 cat >>confdefs.h <<\_ACEOF
2631 #define __HPUX__ 1
2632 _ACEOF
2633
2634
2635 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2636 ;;
2637 *-*-linux* )
2638 USE_LINUX=1
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __LINUX__ 1
2641 _ACEOF
2642
2643 TMP=`uname -m`
2644 if test "x$TMP" = "xalpha"; then
2645 USE_ALPHA=1
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __ALPHA__ 1
2648 _ACEOF
2649
2650 fi
2651 DEFAULT_DEFAULT_wxUSE_GTK=1
2652 ;;
2653 *-*-gnu* | *-*-k*bsd*-gnu )
2654 USE_GNU=1
2655 TMP=`uname -m`
2656 if test "x$TMP" = "xalpha"; then
2657 USE_ALPHA=1
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __ALPHA__ 1
2660 _ACEOF
2661
2662 fi
2663 DEFAULT_DEFAULT_wxUSE_GTK=1
2664 ;;
2665 *-*-irix5* | *-*-irix6* )
2666 USE_SGI=1
2667 USE_SVR4=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SGI__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SVR4__ 1
2674 _ACEOF
2675
2676 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 ;;
2678 *-*-solaris2* )
2679 USE_SUN=1
2680 USE_SOLARIS=1
2681 USE_SVR4=1
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SUN__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SOLARIS__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __SVR4__ 1
2692 _ACEOF
2693
2694 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2695 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2696 ;;
2697 *-*-sunos4* )
2698 USE_SUN=1
2699 USE_SUNOS=1
2700 USE_BSD=1
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SUN__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __SUNOS__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __BSD__ 1
2711 _ACEOF
2712
2713 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2714 ;;
2715 *-*-freebsd*)
2716 USE_BSD=1
2717 USE_FREEBSD=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __FREEBSD__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2727 ;;
2728 *-*-openbsd*|*-*-mirbsd*)
2729 USE_BSD=1
2730 USE_OPENBSD=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __OPENBSD__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __BSD__ 1
2737 _ACEOF
2738
2739 DEFAULT_DEFAULT_wxUSE_GTK=1
2740 ;;
2741 *-*-netbsd*)
2742 USE_BSD=1
2743 USE_NETBSD=1
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __NETBSD__ 1
2746 _ACEOF
2747
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __BSD__ 1
2750 _ACEOF
2751
2752 DEFAULT_DEFAULT_wxUSE_GTK=1
2753 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2754
2755 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2756 ;;
2757 *-*-osf* )
2758 USE_ALPHA=1
2759 USE_OSF=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __ALPHA__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __OSF__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2770 ;;
2771 *-*-dgux5* )
2772 USE_ALPHA=1
2773 USE_SVR4=1
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __ALPHA__ 1
2776 _ACEOF
2777
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __SVR4__ 1
2780 _ACEOF
2781
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2783 ;;
2784 *-*-sysv5* )
2785 USE_SYSV=1
2786 USE_SVR4=1
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SYSV__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SVR4__ 1
2793 _ACEOF
2794
2795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2796 ;;
2797 *-*-aix* )
2798 USE_AIX=1
2799 USE_SYSV=1
2800 USE_SVR4=1
2801 SO_SUFFIX=a
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __AIX__ 1
2804 _ACEOF
2805
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __SYSV__ 1
2808 _ACEOF
2809
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __SVR4__ 1
2812 _ACEOF
2813
2814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 ;;
2816
2817 *-*-*UnixWare*)
2818 USE_SYSV=1
2819 USE_SVR4=1
2820 USE_UNIXWARE=1
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __UNIXWARE__ 1
2823 _ACEOF
2824
2825 ;;
2826
2827 *-*-cygwin* | *-*-mingw32* )
2828 SO_SUFFIX=dll
2829 PROGRAM_EXT=".exe"
2830 DEFAULT_DEFAULT_wxUSE_MSW=1
2831 ;;
2832
2833 *-pc-msdosdjgpp )
2834 USE_UNIX=0
2835 USE_DOS=1
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __DOS__ 1
2838 _ACEOF
2839
2840 PROGRAM_EXT=".exe"
2841 DEFAULT_DEFAULT_wxUSE_MGL=1
2842 ;;
2843
2844 *-pc-os2_emx | *-pc-os2-emx )
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __EMX__ 1
2847 _ACEOF
2848
2849 USE_OS2=1
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __OS2__ 1
2852 _ACEOF
2853
2854 PROGRAM_EXT=".exe"
2855 DEFAULT_DEFAULT_wxUSE_PM=1
2856 CXX=gcc
2857 LDFLAGS="$LDFLAGS -Zcrtdll"
2858 ac_executable_extensions=".exe"
2859 export ac_executable_extensions
2860 ac_save_IFS="$IFS"
2861 IFS='\\'
2862 ac_TEMP_PATH=
2863 for ac_dir in $PATH; do
2864 IFS=$ac_save_IFS
2865 if test -z "$ac_TEMP_PATH"; then
2866 ac_TEMP_PATH="$ac_dir"
2867 else
2868 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2869 fi
2870 done
2871 export PATH="$ac_TEMP_PATH"
2872 unset ac_TEMP_PATH
2873 DEFAULT_STD_FLAG=no
2874 ;;
2875
2876 *-*-darwin* )
2877 USE_BSD=1
2878 USE_DARWIN=1
2879 SO_SUFFIX=dylib
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __BSD__ 1
2882 _ACEOF
2883
2884 cat >>confdefs.h <<\_ACEOF
2885 #define __DARWIN__ 1
2886 _ACEOF
2887
2888 cat >>confdefs.h <<\_ACEOF
2889 #define TARGET_CARBON 1
2890 _ACEOF
2891
2892 DEFAULT_DEFAULT_wxUSE_MAC=1
2893 DEFAULT_STD_FLAG=no
2894 ;;
2895 powerpc-apple-macos* )
2896 USE_UNIX=0
2897 ac_cv_c_bigendian=yes
2898 SO_SUFFIX=shlib
2899 DEFAULT_DEFAULT_wxUSE_MAC=1
2900 DEFAULT_STD_FLAG=no
2901 ;;
2902
2903 *-*-beos* )
2904 USE_BEOS=1
2905 cat >>confdefs.h <<\_ACEOF
2906 #define __BEOS__ 1
2907 _ACEOF
2908
2909 ;;
2910
2911 *)
2912 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2913 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2914 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2915 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2916
2917 DEFAULT_DEFAULT_wxUSE_X11=1
2918 DEFAULT_wxUSE_SHARED=no
2919 esac
2920
2921
2922
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2924
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2927
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_OPENGL=no
2934
2935 DEFAULT_wxUSE_ACCESSIBILITY=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2937 DEFAULT_wxUSE_IPV6=no
2938 DEFAULT_wxUSE_MEDIACTRL=no
2939 DEFAULT_wxUSE_TAB_DIALOG=no
2940 DEFAULT_wxUSE_GSTREAMER8=no
2941
2942 DEFAULT_wxUSE_UNICODE_UTF8=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2944
2945 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2946
2947 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2948
2949 DEFAULT_wxUSE_GTK2=yes
2950
2951 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2952
2953
2954
2955
2956
2957 enablestring=disable
2958 defaultval=
2959 if test -z "$defaultval"; then
2960 if test x"$enablestring" = xdisable; then
2961 defaultval=yes
2962 else
2963 defaultval=no
2964 fi
2965 fi
2966
2967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2968 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2969 # Check whether --enable-gui was given.
2970 if test "${enable_gui+set}" = set; then
2971 enableval=$enable_gui;
2972 if test "$enableval" = yes; then
2973 wx_cv_use_gui='wxUSE_GUI=yes'
2974 else
2975 wx_cv_use_gui='wxUSE_GUI=no'
2976 fi
2977
2978 else
2979
2980 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2981
2982 fi
2983
2984
2985 eval "$wx_cv_use_gui"
2986
2987 if test x"$enablestring" = xdisable; then
2988 if test $wxUSE_GUI = yes; then
2989 result=no
2990 else
2991 result=yes
2992 fi
2993 else
2994 result=$wxUSE_GUI
2995 fi
2996
2997 { echo "$as_me:$LINENO: result: $result" >&5
2998 echo "${ECHO_T}$result" >&6; }
2999
3000
3001 enablestring=
3002 defaultval=
3003 if test -z "$defaultval"; then
3004 if test x"$enablestring" = xdisable; then
3005 defaultval=yes
3006 else
3007 defaultval=no
3008 fi
3009 fi
3010
3011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3012 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3013 # Check whether --enable-monolithic was given.
3014 if test "${enable_monolithic+set}" = set; then
3015 enableval=$enable_monolithic;
3016 if test "$enableval" = yes; then
3017 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3018 else
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3020 fi
3021
3022 else
3023
3024 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3025
3026 fi
3027
3028
3029 eval "$wx_cv_use_monolithic"
3030
3031 if test x"$enablestring" = xdisable; then
3032 if test $wxUSE_MONOLITHIC = yes; then
3033 result=no
3034 else
3035 result=yes
3036 fi
3037 else
3038 result=$wxUSE_MONOLITHIC
3039 fi
3040
3041 { echo "$as_me:$LINENO: result: $result" >&5
3042 echo "${ECHO_T}$result" >&6; }
3043
3044
3045 enablestring=
3046 defaultval=
3047 if test -z "$defaultval"; then
3048 if test x"$enablestring" = xdisable; then
3049 defaultval=yes
3050 else
3051 defaultval=no
3052 fi
3053 fi
3054
3055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3056 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3057 # Check whether --enable-plugins was given.
3058 if test "${enable_plugins+set}" = set; then
3059 enableval=$enable_plugins;
3060 if test "$enableval" = yes; then
3061 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3062 else
3063 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3064 fi
3065
3066 else
3067
3068 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3069
3070 fi
3071
3072
3073 eval "$wx_cv_use_plugins"
3074
3075 if test x"$enablestring" = xdisable; then
3076 if test $wxUSE_PLUGINS = yes; then
3077 result=no
3078 else
3079 result=yes
3080 fi
3081 else
3082 result=$wxUSE_PLUGINS
3083 fi
3084
3085 { echo "$as_me:$LINENO: result: $result" >&5
3086 echo "${ECHO_T}$result" >&6; }
3087
3088
3089 withstring=without
3090 defaultval=$wxUSE_ALL_FEATURES
3091 if test -z "$defaultval"; then
3092 if test x"$withstring" = xwithout; then
3093 defaultval=yes
3094 else
3095 defaultval=no
3096 fi
3097 fi
3098 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3099 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3100
3101 # Check whether --with-subdirs was given.
3102 if test "${with_subdirs+set}" = set; then
3103 withval=$with_subdirs;
3104 if test "$withval" = yes; then
3105 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3106 else
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3108 fi
3109
3110 else
3111
3112 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3113
3114 fi
3115
3116
3117 eval "$wx_cv_use_subdirs"
3118
3119 if test x"$withstring" = xwithout; then
3120 if test $wxWITH_SUBDIRS = yes; then
3121 result=no
3122 else
3123 result=yes
3124 fi
3125 else
3126 result=$wxWITH_SUBDIRS
3127 fi
3128
3129 { echo "$as_me:$LINENO: result: $result" >&5
3130 echo "${ECHO_T}$result" >&6; }
3131
3132
3133 # Check whether --with-flavour was given.
3134 if test "${with_flavour+set}" = set; then
3135 withval=$with_flavour; WX_FLAVOUR="$withval"
3136 fi
3137
3138
3139 enablestring=
3140 defaultval=
3141 if test -z "$defaultval"; then
3142 if test x"$enablestring" = xdisable; then
3143 defaultval=yes
3144 else
3145 defaultval=no
3146 fi
3147 fi
3148
3149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3150 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3151 # Check whether --enable-official_build was given.
3152 if test "${enable_official_build+set}" = set; then
3153 enableval=$enable_official_build;
3154 if test "$enableval" = yes; then
3155 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3156 else
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3158 fi
3159
3160 else
3161
3162 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3163
3164 fi
3165
3166
3167 eval "$wx_cv_use_official_build"
3168
3169 if test x"$enablestring" = xdisable; then
3170 if test $wxUSE_OFFICIAL_BUILD = yes; then
3171 result=no
3172 else
3173 result=yes
3174 fi
3175 else
3176 result=$wxUSE_OFFICIAL_BUILD
3177 fi
3178
3179 { echo "$as_me:$LINENO: result: $result" >&5
3180 echo "${ECHO_T}$result" >&6; }
3181
3182 # Check whether --enable-vendor was given.
3183 if test "${enable_vendor+set}" = set; then
3184 enableval=$enable_vendor; VENDOR="$enableval"
3185 fi
3186
3187 if test "x$VENDOR" = "x"; then
3188 VENDOR="custom"
3189 fi
3190
3191
3192 enablestring=disable
3193 defaultval=
3194 if test -z "$defaultval"; then
3195 if test x"$enablestring" = xdisable; then
3196 defaultval=yes
3197 else
3198 defaultval=no
3199 fi
3200 fi
3201
3202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3203 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3204 # Check whether --enable-all-features was given.
3205 if test "${enable_all_features+set}" = set; then
3206 enableval=$enable_all_features;
3207 if test "$enableval" = yes; then
3208 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3209 else
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3211 fi
3212
3213 else
3214
3215 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3216
3217 fi
3218
3219
3220 eval "$wx_cv_use_all_features"
3221
3222 if test x"$enablestring" = xdisable; then
3223 if test $wxUSE_ALL_FEATURES = yes; then
3224 result=no
3225 else
3226 result=yes
3227 fi
3228 else
3229 result=$wxUSE_ALL_FEATURES
3230 fi
3231
3232 { echo "$as_me:$LINENO: result: $result" >&5
3233 echo "${ECHO_T}$result" >&6; }
3234
3235
3236
3237 if test "$wxUSE_GUI" = "yes"; then
3238
3239
3240 enablestring=
3241 defaultval=
3242 if test -z "$defaultval"; then
3243 if test x"$enablestring" = xdisable; then
3244 defaultval=yes
3245 else
3246 defaultval=no
3247 fi
3248 fi
3249
3250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3251 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3252 # Check whether --enable-universal was given.
3253 if test "${enable_universal+set}" = set; then
3254 enableval=$enable_universal;
3255 if test "$enableval" = yes; then
3256 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3257 else
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3259 fi
3260
3261 else
3262
3263 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3264
3265 fi
3266
3267
3268 eval "$wx_cv_use_universal"
3269
3270 if test x"$enablestring" = xdisable; then
3271 if test $wxUSE_UNIVERSAL = yes; then
3272 result=no
3273 else
3274 result=yes
3275 fi
3276 else
3277 result=$wxUSE_UNIVERSAL
3278 fi
3279
3280 { echo "$as_me:$LINENO: result: $result" >&5
3281 echo "${ECHO_T}$result" >&6; }
3282
3283 if test "$wxUSE_UNIVERSAL" = "yes"; then
3284
3285 # Check whether --with-themes was given.
3286 if test "${with_themes+set}" = set; then
3287 withval=$with_themes; wxUNIV_THEMES="$withval"
3288 fi
3289
3290 fi
3291
3292
3293 # Check whether --with-gtk was given.
3294 if test "${with_gtk+set}" = set; then
3295 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3296 fi
3297
3298
3299 # Check whether --with-motif was given.
3300 if test "${with_motif+set}" = set; then
3301 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3302 fi
3303
3304
3305 # Check whether --with-mac was given.
3306 if test "${with_mac+set}" = set; then
3307 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3308 fi
3309
3310
3311 # Check whether --with-cocoa was given.
3312 if test "${with_cocoa+set}" = set; then
3313 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3314 fi
3315
3316
3317 # Check whether --with-wine was given.
3318 if test "${with_wine+set}" = set; then
3319 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3320 fi
3321
3322
3323 # Check whether --with-msw was given.
3324 if test "${with_msw+set}" = set; then
3325 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3326 fi
3327
3328
3329 # Check whether --with-pm was given.
3330 if test "${with_pm+set}" = set; then
3331 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3332 fi
3333
3334
3335 # Check whether --with-mgl was given.
3336 if test "${with_mgl+set}" = set; then
3337 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-directfb was given.
3342 if test "${with_directfb+set}" = set; then
3343 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-microwin was given.
3348 if test "${with_microwin+set}" = set; then
3349 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 # Check whether --with-x11 was given.
3354 if test "${with_x11+set}" = set; then
3355 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 enablestring=
3360 defaultval=
3361 if test -z "$defaultval"; then
3362 if test x"$enablestring" = xdisable; then
3363 defaultval=yes
3364 else
3365 defaultval=no
3366 fi
3367 fi
3368
3369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3370 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3371 # Check whether --enable-nanox was given.
3372 if test "${enable_nanox+set}" = set; then
3373 enableval=$enable_nanox;
3374 if test "$enableval" = yes; then
3375 wx_cv_use_nanox='wxUSE_NANOX=yes'
3376 else
3377 wx_cv_use_nanox='wxUSE_NANOX=no'
3378 fi
3379
3380 else
3381
3382 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3383
3384 fi
3385
3386
3387 eval "$wx_cv_use_nanox"
3388
3389 if test x"$enablestring" = xdisable; then
3390 if test $wxUSE_NANOX = yes; then
3391 result=no
3392 else
3393 result=yes
3394 fi
3395 else
3396 result=$wxUSE_NANOX
3397 fi
3398
3399 { echo "$as_me:$LINENO: result: $result" >&5
3400 echo "${ECHO_T}$result" >&6; }
3401
3402
3403 # Check whether --enable-gtk2 was given.
3404 if test "${enable_gtk2+set}" = set; then
3405 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3406 fi
3407
3408
3409 enablestring=
3410 defaultval=
3411 if test -z "$defaultval"; then
3412 if test x"$enablestring" = xdisable; then
3413 defaultval=yes
3414 else
3415 defaultval=no
3416 fi
3417 fi
3418
3419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3420 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3421 # Check whether --enable-gpe was given.
3422 if test "${enable_gpe+set}" = set; then
3423 enableval=$enable_gpe;
3424 if test "$enableval" = yes; then
3425 wx_cv_use_gpe='wxUSE_GPE=yes'
3426 else
3427 wx_cv_use_gpe='wxUSE_GPE=no'
3428 fi
3429
3430 else
3431
3432 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3433
3434 fi
3435
3436
3437 eval "$wx_cv_use_gpe"
3438
3439 if test x"$enablestring" = xdisable; then
3440 if test $wxUSE_GPE = yes; then
3441 result=no
3442 else
3443 result=yes
3444 fi
3445 else
3446 result=$wxUSE_GPE
3447 fi
3448
3449 { echo "$as_me:$LINENO: result: $result" >&5
3450 echo "${ECHO_T}$result" >&6; }
3451
3452
3453
3454 { echo "$as_me:$LINENO: checking for toolkit" >&5
3455 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3456
3457 # In Wine, we need to default to MSW, not GTK or MOTIF
3458 if test "$wxUSE_WINE" = "yes"; then
3459 DEFAULT_DEFAULT_wxUSE_GTK=0
3460 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3461 DEFAULT_DEFAULT_wxUSE_MSW=1
3462 wxUSE_SHARED=no
3463 CC=${CC:-winegcc}
3464 CXX=${CXX:-wineg++}
3465 fi
3466
3467
3468 if test "$wxUSE_GUI" = "yes"; then
3469
3470 if test "$USE_BEOS" = 1; then
3471 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3472 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3473 { (exit 1); exit 1; }; }
3474 fi
3475
3476 if test "$TOOLKIT_GIVEN" = 1; then
3477 for toolkit in $ALL_TOOLKITS; do
3478 var=wxUSE_$toolkit
3479 eval "value=\$${var}"
3480 if test "x$value" = "xno"; then
3481 eval "$var=0"
3482 elif test "x$value" != "x"; then
3483 eval "$var=1"
3484 fi
3485
3486 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3487 eval "wx${toolkit}_VERSION=$value"
3488 fi
3489 done
3490 else
3491 for toolkit in $ALL_TOOLKITS; do
3492 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3493 eval "wxUSE_$toolkit=\$${var}"
3494 done
3495 fi
3496
3497 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3498 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3499 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3500
3501 case "${host}" in
3502 *-pc-os2_emx | *-pc-os2-emx )
3503 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3504 esac
3505
3506 case "$NUM_TOOLKITS" in
3507 1)
3508 ;;
3509 0)
3510 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3511 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3512 { (exit 1); exit 1; }; }
3513 ;;
3514 *)
3515 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3516 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3517 { (exit 1); exit 1; }; }
3518 esac
3519
3520 # to be removed when --disable-gtk2 isn't needed
3521 if test "x$wxUSE_GTK2" = "xyes"; then
3522 wxGTK_VERSION=2
3523 elif test "x$wxUSE_GTK2" = "xno"; then
3524 wxGTK_VERSION=1
3525 fi
3526
3527 for toolkit in $ALL_TOOLKITS; do
3528 var=wxUSE_$toolkit
3529 eval "value=\$${var}"
3530 if test "$value" = 1; then
3531 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3532 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3533 echo "${ECHO_T}$toolkit_echo" >&6; }
3534 fi
3535 done
3536 else
3537 if test "x$host_alias" != "x"; then
3538 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3539 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3540 else
3541 { echo "$as_me:$LINENO: result: base only" >&5
3542 echo "${ECHO_T}base only" >&6; }
3543 fi
3544 fi
3545
3546
3547
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3550
3551 # Check whether --with-libpng was given.
3552 if test "${with_libpng+set}" = set; then
3553 withval=$with_libpng;
3554 if test "$withval" = yes; then
3555 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3556 elif test "$withval" = no; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3558 elif test "$withval" = sys; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3560 elif test "$withval" = builtin; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3562 else
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3566 fi
3567
3568 else
3569
3570 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3571
3572 fi
3573
3574
3575 eval "$wx_cv_use_libpng"
3576
3577 if test "$wxUSE_LIBPNG" = yes; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3580 elif test "$wxUSE_LIBPNG" = no; then
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3583 elif test "$wxUSE_LIBPNG" = sys; then
3584 { echo "$as_me:$LINENO: result: system version" >&5
3585 echo "${ECHO_T}system version" >&6; }
3586 elif test "$wxUSE_LIBPNG" = builtin; then
3587 { echo "$as_me:$LINENO: result: builtin version" >&5
3588 echo "${ECHO_T}builtin version" >&6; }
3589 else
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3593 fi
3594
3595
3596 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3597 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3598
3599 # Check whether --with-libjpeg was given.
3600 if test "${with_libjpeg+set}" = set; then
3601 withval=$with_libjpeg;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3604 elif test "$withval" = no; then
3605 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3606 elif test "$withval" = sys; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3610 else
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3614 fi
3615
3616 else
3617
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3619
3620 fi
3621
3622
3623 eval "$wx_cv_use_libjpeg"
3624
3625 if test "$wxUSE_LIBJPEG" = yes; then
3626 { echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = no; then
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = sys; then
3632 { echo "$as_me:$LINENO: result: system version" >&5
3633 echo "${ECHO_T}system version" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = builtin; then
3635 { echo "$as_me:$LINENO: result: builtin version" >&5
3636 echo "${ECHO_T}builtin version" >&6; }
3637 else
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3641 fi
3642
3643
3644 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3645 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3646
3647 # Check whether --with-libtiff was given.
3648 if test "${with_libtiff+set}" = set; then
3649 withval=$with_libtiff;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3658 else
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663
3664 else
3665
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3667
3668 fi
3669
3670
3671 eval "$wx_cv_use_libtiff"
3672
3673 if test "$wxUSE_LIBTIFF" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = no; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = sys; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691
3692 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3693 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3694
3695 # Check whether --with-libxpm was given.
3696 if test "${with_libxpm+set}" = set; then
3697 withval=$with_libxpm;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711
3712 else
3713
3714 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3715
3716 fi
3717
3718
3719 eval "$wx_cv_use_libxpm"
3720
3721 if test "$wxUSE_LIBXPM" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBXPM" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBXPM" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBXPM" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739
3740 withstring=
3741 defaultval=$wxUSE_ALL_FEATURES
3742 if test -z "$defaultval"; then
3743 if test x"$withstring" = xwithout; then
3744 defaultval=yes
3745 else
3746 defaultval=no
3747 fi
3748 fi
3749 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3750 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3751
3752 # Check whether --with-libiconv was given.
3753 if test "${with_libiconv+set}" = set; then
3754 withval=$with_libiconv;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3757 else
3758 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3759 fi
3760
3761 else
3762
3763 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3764
3765 fi
3766
3767
3768 eval "$wx_cv_use_libiconv"
3769
3770 if test x"$withstring" = xwithout; then
3771 if test $wxUSE_LIBICONV = yes; then
3772 result=no
3773 else
3774 result=yes
3775 fi
3776 else
3777 result=$wxUSE_LIBICONV
3778 fi
3779
3780 { echo "$as_me:$LINENO: result: $result" >&5
3781 echo "${ECHO_T}$result" >&6; }
3782
3783
3784 withstring=
3785 defaultval=$wxUSE_ALL_FEATURES
3786 if test -z "$defaultval"; then
3787 if test x"$withstring" = xwithout; then
3788 defaultval=yes
3789 else
3790 defaultval=no
3791 fi
3792 fi
3793 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3794 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3795
3796 # Check whether --with-libmspack was given.
3797 if test "${with_libmspack+set}" = set; then
3798 withval=$with_libmspack;
3799 if test "$withval" = yes; then
3800 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3801 else
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3803 fi
3804
3805 else
3806
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3808
3809 fi
3810
3811
3812 eval "$wx_cv_use_libmspack"
3813
3814 if test x"$withstring" = xwithout; then
3815 if test $wxUSE_LIBMSPACK = yes; then
3816 result=no
3817 else
3818 result=yes
3819 fi
3820 else
3821 result=$wxUSE_LIBMSPACK
3822 fi
3823
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3826
3827
3828 withstring=without
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3832 defaultval=yes
3833 else
3834 defaultval=no
3835 fi
3836 fi
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3839
3840 # Check whether --with-gtkprint was given.
3841 if test "${with_gtkprint+set}" = set; then
3842 withval=$with_gtkprint;
3843 if test "$withval" = yes; then
3844 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3845 else
3846 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3847 fi
3848
3849 else
3850
3851 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3852
3853 fi
3854
3855
3856 eval "$wx_cv_use_gtkprint"
3857
3858 if test x"$withstring" = xwithout; then
3859 if test $wxUSE_GTKPRINT = yes; then
3860 result=no
3861 else
3862 result=yes
3863 fi
3864 else
3865 result=$wxUSE_GTKPRINT
3866 fi
3867
3868 { echo "$as_me:$LINENO: result: $result" >&5
3869 echo "${ECHO_T}$result" >&6; }
3870
3871
3872 withstring=without
3873 defaultval=$wxUSE_ALL_FEATURES
3874 if test -z "$defaultval"; then
3875 if test x"$withstring" = xwithout; then
3876 defaultval=yes
3877 else
3878 defaultval=no
3879 fi
3880 fi
3881 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3882 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3883
3884 # Check whether --with-gnomeprint was given.
3885 if test "${with_gnomeprint+set}" = set; then
3886 withval=$with_gnomeprint;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3889 else
3890 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3891 fi
3892
3893 else
3894
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3896
3897 fi
3898
3899
3900 eval "$wx_cv_use_gnomeprint"
3901
3902 if test x"$withstring" = xwithout; then
3903 if test $wxUSE_LIBGNOMEPRINT = yes; then
3904 result=no
3905 else
3906 result=yes
3907 fi
3908 else
3909 result=$wxUSE_LIBGNOMEPRINT
3910 fi
3911
3912 { echo "$as_me:$LINENO: result: $result" >&5
3913 echo "${ECHO_T}$result" >&6; }
3914
3915
3916 withstring=
3917 defaultval=$wxUSE_ALL_FEATURES
3918 if test -z "$defaultval"; then
3919 if test x"$withstring" = xwithout; then
3920 defaultval=yes
3921 else
3922 defaultval=no
3923 fi
3924 fi
3925 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3926 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3927
3928 # Check whether --with-gnomevfs was given.
3929 if test "${with_gnomevfs+set}" = set; then
3930 withval=$with_gnomevfs;
3931 if test "$withval" = yes; then
3932 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3933 else
3934 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3935 fi
3936
3937 else
3938
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3940
3941 fi
3942
3943
3944 eval "$wx_cv_use_gnomevfs"
3945
3946 if test x"$withstring" = xwithout; then
3947 if test $wxUSE_LIBGNOMEVFS = yes; then
3948 result=no
3949 else
3950 result=yes
3951 fi
3952 else
3953 result=$wxUSE_LIBGNOMEVFS
3954 fi
3955
3956 { echo "$as_me:$LINENO: result: $result" >&5
3957 echo "${ECHO_T}$result" >&6; }
3958
3959
3960 withstring=
3961 defaultval=$wxUSE_ALL_FEATURES
3962 if test -z "$defaultval"; then
3963 if test x"$withstring" = xwithout; then
3964 defaultval=yes
3965 else
3966 defaultval=no
3967 fi
3968 fi
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3971
3972 # Check whether --with-hildon was given.
3973 if test "${with_hildon+set}" = set; then
3974 withval=$with_hildon;
3975 if test "$withval" = yes; then
3976 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3977 else
3978 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3979 fi
3980
3981 else
3982
3983 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3984
3985 fi
3986
3987
3988 eval "$wx_cv_use_hildon"
3989
3990 if test x"$withstring" = xwithout; then
3991 if test $wxUSE_LIBHILDON = yes; then
3992 result=no
3993 else
3994 result=yes
3995 fi
3996 else
3997 result=$wxUSE_LIBHILDON
3998 fi
3999
4000 { echo "$as_me:$LINENO: result: $result" >&5
4001 echo "${ECHO_T}$result" >&6; }
4002
4003
4004 withstring=
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4008 defaultval=yes
4009 else
4010 defaultval=no
4011 fi
4012 fi
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4015
4016 # Check whether --with-opengl was given.
4017 if test "${with_opengl+set}" = set; then
4018 withval=$with_opengl;
4019 if test "$withval" = yes; then
4020 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4021 else
4022 wx_cv_use_opengl='wxUSE_OPENGL=no'
4023 fi
4024
4025 else
4026
4027 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4028
4029 fi
4030
4031
4032 eval "$wx_cv_use_opengl"
4033
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_OPENGL = yes; then
4036 result=no
4037 else
4038 result=yes
4039 fi
4040 else
4041 result=$wxUSE_OPENGL
4042 fi
4043
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4046
4047
4048 fi
4049
4050
4051 withstring=
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4055 defaultval=yes
4056 else
4057 defaultval=no
4058 fi
4059 fi
4060 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4061 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4062
4063 # Check whether --with-dmalloc was given.
4064 if test "${with_dmalloc+set}" = set; then
4065 withval=$with_dmalloc;
4066 if test "$withval" = yes; then
4067 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4068 else
4069 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4070 fi
4071
4072 else
4073
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4075
4076 fi
4077
4078
4079 eval "$wx_cv_use_dmalloc"
4080
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_DMALLOC = yes; then
4083 result=no
4084 else
4085 result=yes
4086 fi
4087 else
4088 result=$wxUSE_DMALLOC
4089 fi
4090
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4093
4094
4095 withstring=
4096 defaultval=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x"$withstring" = xwithout; then
4099 defaultval=yes
4100 else
4101 defaultval=no
4102 fi
4103 fi
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4106
4107 # Check whether --with-sdl was given.
4108 if test "${with_sdl+set}" = set; then
4109 withval=$with_sdl;
4110 if test "$withval" = yes; then
4111 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4112 else
4113 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4114 fi
4115
4116 else
4117
4118 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4119
4120 fi
4121
4122
4123 eval "$wx_cv_use_sdl"
4124
4125 if test x"$withstring" = xwithout; then
4126 if test $wxUSE_LIBSDL = yes; then
4127 result=no
4128 else
4129 result=yes
4130 fi
4131 else
4132 result=$wxUSE_LIBSDL
4133 fi
4134
4135 { echo "$as_me:$LINENO: result: $result" >&5
4136 echo "${ECHO_T}$result" >&6; }
4137
4138
4139 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4140 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4141
4142 # Check whether --with-regex was given.
4143 if test "${with_regex+set}" = set; then
4144 withval=$with_regex;
4145 if test "$withval" = yes; then
4146 wx_cv_use_regex='wxUSE_REGEX=yes'
4147 elif test "$withval" = no; then
4148 wx_cv_use_regex='wxUSE_REGEX=no'
4149 elif test "$withval" = sys; then
4150 wx_cv_use_regex='wxUSE_REGEX=sys'
4151 elif test "$withval" = builtin; then
4152 wx_cv_use_regex='wxUSE_REGEX=builtin'
4153 else
4154 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4155 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4156 { (exit 1); exit 1; }; }
4157 fi
4158
4159 else
4160
4161 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4162
4163 fi
4164
4165
4166 eval "$wx_cv_use_regex"
4167
4168 if test "$wxUSE_REGEX" = yes; then
4169 { echo "$as_me:$LINENO: result: yes" >&5
4170 echo "${ECHO_T}yes" >&6; }
4171 elif test "$wxUSE_REGEX" = no; then
4172 { echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6; }
4174 elif test "$wxUSE_REGEX" = sys; then
4175 { echo "$as_me:$LINENO: result: system version" >&5
4176 echo "${ECHO_T}system version" >&6; }
4177 elif test "$wxUSE_REGEX" = builtin; then
4178 { echo "$as_me:$LINENO: result: builtin version" >&5
4179 echo "${ECHO_T}builtin version" >&6; }
4180 else
4181 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4182 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4183 { (exit 1); exit 1; }; }
4184 fi
4185
4186
4187 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4188 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4189
4190 # Check whether --with-zlib was given.
4191 if test "${with_zlib+set}" = set; then
4192 withval=$with_zlib;
4193 if test "$withval" = yes; then
4194 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_zlib='wxUSE_ZLIB=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4201 else
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4205 fi
4206
4207 else
4208
4209 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4210
4211 fi
4212
4213
4214 eval "$wx_cv_use_zlib"
4215
4216 if test "$wxUSE_ZLIB" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_ZLIB" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_ZLIB" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_ZLIB" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4228 else
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4232 fi
4233
4234
4235 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4236 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4237
4238 # Check whether --with-expat was given.
4239 if test "${with_expat+set}" = set; then
4240 withval=$with_expat;
4241 if test "$withval" = yes; then
4242 wx_cv_use_expat='wxUSE_EXPAT=yes'
4243 elif test "$withval" = no; then
4244 wx_cv_use_expat='wxUSE_EXPAT=no'
4245 elif test "$withval" = sys; then
4246 wx_cv_use_expat='wxUSE_EXPAT=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4249 else
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4253 fi
4254
4255 else
4256
4257 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4258
4259 fi
4260
4261
4262 eval "$wx_cv_use_expat"
4263
4264 if test "$wxUSE_EXPAT" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_EXPAT" = no; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_EXPAT" = sys; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_EXPAT" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4276 else
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4280 fi
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4284 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4285
4286 # Check whether --with-macosx-sdk was given.
4287 if test "${with_macosx_sdk+set}" = set; then
4288 withval=$with_macosx_sdk;
4289 wxUSE_MACOSX_SDK=$withval
4290 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4291
4292 fi
4293
4294 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4295 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4296
4297 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4298 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4299
4300 # Check whether --with-macosx-version-min was given.
4301 if test "${with_macosx_version_min+set}" = set; then
4302 withval=$with_macosx_version_min;
4303 wxUSE_MACOSX_VERSION_MIN=$withval
4304 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4305
4306 fi
4307
4308 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4309 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4310
4311
4312
4313 enablestring=disable
4314 defaultval=
4315 if test -z "$defaultval"; then
4316 if test x"$enablestring" = xdisable; then
4317 defaultval=yes
4318 else
4319 defaultval=no
4320 fi
4321 fi
4322
4323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4325 # Check whether --enable-shared was given.
4326 if test "${enable_shared+set}" = set; then
4327 enableval=$enable_shared;
4328 if test "$enableval" = yes; then
4329 wx_cv_use_shared='wxUSE_SHARED=yes'
4330 else
4331 wx_cv_use_shared='wxUSE_SHARED=no'
4332 fi
4333
4334 else
4335
4336 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4337
4338 fi
4339
4340
4341 eval "$wx_cv_use_shared"
4342
4343 if test x"$enablestring" = xdisable; then
4344 if test $wxUSE_SHARED = yes; then
4345 result=no
4346 else
4347 result=yes
4348 fi
4349 else
4350 result=$wxUSE_SHARED
4351 fi
4352
4353 { echo "$as_me:$LINENO: result: $result" >&5
4354 echo "${ECHO_T}$result" >&6; }
4355
4356
4357 enablestring=disable
4358 defaultval=
4359 if test -z "$defaultval"; then
4360 if test x"$enablestring" = xdisable; then
4361 defaultval=yes
4362 else
4363 defaultval=no
4364 fi
4365 fi
4366
4367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4369 # Check whether --enable-optimise was given.
4370 if test "${enable_optimise+set}" = set; then
4371 enableval=$enable_optimise;
4372 if test "$enableval" = yes; then
4373 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4374 else
4375 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4376 fi
4377
4378 else
4379
4380 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4381
4382 fi
4383
4384
4385 eval "$wx_cv_use_optimise"
4386
4387 if test x"$enablestring" = xdisable; then
4388 if test $wxUSE_OPTIMISE = yes; then
4389 result=no
4390 else
4391 result=yes
4392 fi
4393 else
4394 result=$wxUSE_OPTIMISE
4395 fi
4396
4397 { echo "$as_me:$LINENO: result: $result" >&5
4398 echo "${ECHO_T}$result" >&6; }
4399
4400
4401 enablestring=
4402 defaultval=
4403 if test -z "$defaultval"; then
4404 if test x"$enablestring" = xdisable; then
4405 defaultval=yes
4406 else
4407 defaultval=no
4408 fi
4409 fi
4410
4411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4413 # Check whether --enable-debug was given.
4414 if test "${enable_debug+set}" = set; then
4415 enableval=$enable_debug;
4416 if test "$enableval" = yes; then
4417 wx_cv_use_debug='wxUSE_DEBUG=yes'
4418 else
4419 wx_cv_use_debug='wxUSE_DEBUG=no'
4420 fi
4421
4422 else
4423
4424 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4425
4426 fi
4427
4428
4429 eval "$wx_cv_use_debug"
4430
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_DEBUG = yes; then
4433 result=no
4434 else
4435 result=yes
4436 fi
4437 else
4438 result=$wxUSE_DEBUG
4439 fi
4440
4441 { echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6; }
4443
4444
4445 enablestring=
4446 defaultval=
4447 if test -z "$defaultval"; then
4448 if test x"$enablestring" = xdisable; then
4449 defaultval=yes
4450 else
4451 defaultval=no
4452 fi
4453 fi
4454
4455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4457 # Check whether --enable-stl was given.
4458 if test "${enable_stl+set}" = set; then
4459 enableval=$enable_stl;
4460 if test "$enableval" = yes; then
4461 wx_cv_use_stl='wxUSE_STL=yes'
4462 else
4463 wx_cv_use_stl='wxUSE_STL=no'
4464 fi
4465
4466 else
4467
4468 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4469
4470 fi
4471
4472
4473 eval "$wx_cv_use_stl"
4474
4475 if test x"$enablestring" = xdisable; then
4476 if test $wxUSE_STL = yes; then
4477 result=no
4478 else
4479 result=yes
4480 fi
4481 else
4482 result=$wxUSE_STL
4483 fi
4484
4485 { echo "$as_me:$LINENO: result: $result" >&5
4486 echo "${ECHO_T}$result" >&6; }
4487
4488
4489 enablestring=
4490 defaultval=
4491 if test -z "$defaultval"; then
4492 if test x"$enablestring" = xdisable; then
4493 defaultval=yes
4494 else
4495 defaultval=no
4496 fi
4497 fi
4498
4499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4501 # Check whether --enable-std_iostreams was given.
4502 if test "${enable_std_iostreams+set}" = set; then
4503 enableval=$enable_std_iostreams;
4504 if test "$enableval" = yes; then
4505 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4506 else
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4508 fi
4509
4510 else
4511
4512 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4513
4514 fi
4515
4516
4517 eval "$wx_cv_use_std_iostreams"
4518
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_STD_IOSTREAM = yes; then
4521 result=no
4522 else
4523 result=yes
4524 fi
4525 else
4526 result=$wxUSE_STD_IOSTREAM
4527 fi
4528
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4531
4532
4533 enablestring=
4534 defaultval=
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4537 defaultval=yes
4538 else
4539 defaultval=no
4540 fi
4541 fi
4542
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4545 # Check whether --enable-std_string was given.
4546 if test "${enable_std_string+set}" = set; then
4547 enableval=$enable_std_string;
4548 if test "$enableval" = yes; then
4549 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4550 else
4551 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4552 fi
4553
4554 else
4555
4556 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4557
4558 fi
4559
4560
4561 eval "$wx_cv_use_std_string"
4562
4563 if test x"$enablestring" = xdisable; then
4564 if test $wxUSE_STD_STRING = yes; then
4565 result=no
4566 else
4567 result=yes
4568 fi
4569 else
4570 result=$wxUSE_STD_STRING
4571 fi
4572
4573 { echo "$as_me:$LINENO: result: $result" >&5
4574 echo "${ECHO_T}$result" >&6; }
4575
4576
4577 enablestring=disable
4578 defaultval=
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4581 defaultval=yes
4582 else
4583 defaultval=no
4584 fi
4585 fi
4586
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4589 # Check whether --enable-unicode was given.
4590 if test "${enable_unicode+set}" = set; then
4591 enableval=$enable_unicode;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4594 else
4595 wx_cv_use_unicode='wxUSE_UNICODE=no'
4596 fi
4597
4598 else
4599
4600 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4601
4602 fi
4603
4604
4605 eval "$wx_cv_use_unicode"
4606
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_UNICODE = yes; then
4609 result=no
4610 else
4611 result=yes
4612 fi
4613 else
4614 result=$wxUSE_UNICODE
4615 fi
4616
4617 { echo "$as_me:$LINENO: result: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4619
4620
4621 enablestring=
4622 defaultval=
4623 if test -z "$defaultval"; then
4624 if test x"$enablestring" = xdisable; then
4625 defaultval=yes
4626 else
4627 defaultval=no
4628 fi
4629 fi
4630
4631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4633 # Check whether --enable-mslu was given.
4634 if test "${enable_mslu+set}" = set; then
4635 enableval=$enable_mslu;
4636 if test "$enableval" = yes; then
4637 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4638 else
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4640 fi
4641
4642 else
4643
4644 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4645
4646 fi
4647
4648
4649 eval "$wx_cv_use_mslu"
4650
4651 if test x"$enablestring" = xdisable; then
4652 if test $wxUSE_UNICODE_MSLU = yes; then
4653 result=no
4654 else
4655 result=yes
4656 fi
4657 else
4658 result=$wxUSE_UNICODE_MSLU
4659 fi
4660
4661 { echo "$as_me:$LINENO: result: $result" >&5
4662 echo "${ECHO_T}$result" >&6; }
4663
4664
4665 enablestring=
4666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4667 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4668 # Check whether --enable-utf8 was given.
4669 if test "${enable_utf8+set}" = set; then
4670 enableval=$enable_utf8;
4671 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4672
4673 else
4674
4675 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_utf8"
4681
4682 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4683 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4684
4685
4686 enablestring=
4687 defaultval=
4688 if test -z "$defaultval"; then
4689 if test x"$enablestring" = xdisable; then
4690 defaultval=yes
4691 else
4692 defaultval=no
4693 fi
4694 fi
4695
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4698 # Check whether --enable-utf8only was given.
4699 if test "${enable_utf8only+set}" = set; then
4700 enableval=$enable_utf8only;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4703 else
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4705 fi
4706
4707 else
4708
4709 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4710
4711 fi
4712
4713
4714 eval "$wx_cv_use_utf8only"
4715
4716 if test x"$enablestring" = xdisable; then
4717 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4718 result=no
4719 else
4720 result=yes
4721 fi
4722 else
4723 result=$wxUSE_UNICODE_UTF8_LOCALE
4724 fi
4725
4726 { echo "$as_me:$LINENO: result: $result" >&5
4727 echo "${ECHO_T}$result" >&6; }
4728
4729
4730 enablestring=
4731 defaultval=
4732 if test -z "$defaultval"; then
4733 if test x"$enablestring" = xdisable; then
4734 defaultval=yes
4735 else
4736 defaultval=no
4737 fi
4738 fi
4739
4740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4742 # Check whether --enable-extended_rtti was given.
4743 if test "${enable_extended_rtti+set}" = set; then
4744 enableval=$enable_extended_rtti;
4745 if test "$enableval" = yes; then
4746 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4747 else
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4749 fi
4750
4751 else
4752
4753 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4754
4755 fi
4756
4757
4758 eval "$wx_cv_use_extended_rtti"
4759
4760 if test x"$enablestring" = xdisable; then
4761 if test $wxUSE_EXTENDED_RTTI = yes; then
4762 result=no
4763 else
4764 result=yes
4765 fi
4766 else
4767 result=$wxUSE_EXTENDED_RTTI
4768 fi
4769
4770 { echo "$as_me:$LINENO: result: $result" >&5
4771 echo "${ECHO_T}$result" >&6; }
4772
4773 if test "$USE_OS2" = 1; then
4774 DEFAULT_wxUSE_OMF=no
4775
4776 enablestring=
4777 defaultval=
4778 if test -z "$defaultval"; then
4779 if test x"$enablestring" = xdisable; then
4780 defaultval=yes
4781 else
4782 defaultval=no
4783 fi
4784 fi
4785
4786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4787 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4788 # Check whether --enable-omf was given.
4789 if test "${enable_omf+set}" = set; then
4790 enableval=$enable_omf;
4791 if test "$enableval" = yes; then
4792 wx_cv_use_omf='wxUSE_OMF=yes'
4793 else
4794 wx_cv_use_omf='wxUSE_OMF=no'
4795 fi
4796
4797 else
4798
4799 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4800
4801 fi
4802
4803
4804 eval "$wx_cv_use_omf"
4805
4806 if test x"$enablestring" = xdisable; then
4807 if test $wxUSE_OMF = yes; then
4808 result=no
4809 else
4810 result=yes
4811 fi
4812 else
4813 result=$wxUSE_OMF
4814 fi
4815
4816 { echo "$as_me:$LINENO: result: $result" >&5
4817 echo "${ECHO_T}$result" >&6; }
4818
4819 fi
4820
4821 if test "$wxUSE_DEBUG" = "yes"; then
4822 DEFAULT_wxUSE_DEBUG_FLAG=yes
4823 DEFAULT_wxUSE_DEBUG_INFO=yes
4824 BUILD=debug
4825 elif test "$wxUSE_DEBUG" = "no"; then
4826 DEFAULT_wxUSE_DEBUG_FLAG=no
4827 DEFAULT_wxUSE_DEBUG_INFO=no
4828 BUILD=release
4829 fi
4830
4831
4832 enablestring=
4833 defaultval=
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4836 defaultval=yes
4837 else
4838 defaultval=no
4839 fi
4840 fi
4841
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4844 # Check whether --enable-debug_flag was given.
4845 if test "${enable_debug_flag+set}" = set; then
4846 enableval=$enable_debug_flag;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4849 else
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4851 fi
4852
4853 else
4854
4855 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4856
4857 fi
4858
4859
4860 eval "$wx_cv_use_debug_flag"
4861
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_DEBUG_FLAG = yes; then
4864 result=no
4865 else
4866 result=yes
4867 fi
4868 else
4869 result=$wxUSE_DEBUG_FLAG
4870 fi
4871
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4874
4875
4876 enablestring=
4877 defaultval=
4878 if test -z "$defaultval"; then
4879 if test x"$enablestring" = xdisable; then
4880 defaultval=yes
4881 else
4882 defaultval=no
4883 fi
4884 fi
4885
4886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4888 # Check whether --enable-debug_info was given.
4889 if test "${enable_debug_info+set}" = set; then
4890 enableval=$enable_debug_info;
4891 if test "$enableval" = yes; then
4892 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4893 else
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4895 fi
4896
4897 else
4898
4899 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4900
4901 fi
4902
4903
4904 eval "$wx_cv_use_debug_info"
4905
4906 if test x"$enablestring" = xdisable; then
4907 if test $wxUSE_DEBUG_INFO = yes; then
4908 result=no
4909 else
4910 result=yes
4911 fi
4912 else
4913 result=$wxUSE_DEBUG_INFO
4914 fi
4915
4916 { echo "$as_me:$LINENO: result: $result" >&5
4917 echo "${ECHO_T}$result" >&6; }
4918
4919
4920 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4921 wxUSE_DEBUG=yes
4922 BUILD=debug
4923 fi
4924
4925
4926 enablestring=
4927 defaultval=
4928 if test -z "$defaultval"; then
4929 if test x"$enablestring" = xdisable; then
4930 defaultval=yes
4931 else
4932 defaultval=no
4933 fi
4934 fi
4935
4936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4937 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4938 # Check whether --enable-debug_gdb was given.
4939 if test "${enable_debug_gdb+set}" = set; then
4940 enableval=$enable_debug_gdb;
4941 if test "$enableval" = yes; then
4942 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4943 else
4944 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4945 fi
4946
4947 else
4948
4949 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4950
4951 fi
4952
4953
4954 eval "$wx_cv_use_debug_gdb"
4955
4956 if test x"$enablestring" = xdisable; then
4957 if test $wxUSE_DEBUG_GDB = yes; then
4958 result=no
4959 else
4960 result=yes
4961 fi
4962 else
4963 result=$wxUSE_DEBUG_GDB
4964 fi
4965
4966 { echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6; }
4968
4969
4970 enablestring=
4971 defaultval=
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4974 defaultval=yes
4975 else
4976 defaultval=no
4977 fi
4978 fi
4979
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4982 # Check whether --enable-debug_cntxt was given.
4983 if test "${enable_debug_cntxt+set}" = set; then
4984 enableval=$enable_debug_cntxt;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4987 else
4988 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4989 fi
4990
4991 else
4992
4993 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4994
4995 fi
4996
4997
4998 eval "$wx_cv_use_debug_cntxt"
4999
5000 if test x"$enablestring" = xdisable; then
5001 if test $wxUSE_DEBUG_CONTEXT = yes; then
5002 result=no
5003 else
5004 result=yes
5005 fi
5006 else
5007 result=$wxUSE_DEBUG_CONTEXT
5008 fi
5009
5010 { echo "$as_me:$LINENO: result: $result" >&5
5011 echo "${ECHO_T}$result" >&6; }
5012
5013
5014 enablestring=
5015 defaultval=
5016 if test -z "$defaultval"; then
5017 if test x"$enablestring" = xdisable; then
5018 defaultval=yes
5019 else
5020 defaultval=no
5021 fi
5022 fi
5023
5024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5026 # Check whether --enable-mem_tracing was given.
5027 if test "${enable_mem_tracing+set}" = set; then
5028 enableval=$enable_mem_tracing;
5029 if test "$enableval" = yes; then
5030 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5031 else
5032 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5033 fi
5034
5035 else
5036
5037 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5038
5039 fi
5040
5041
5042 eval "$wx_cv_use_mem_tracing"
5043
5044 if test x"$enablestring" = xdisable; then
5045 if test $wxUSE_MEM_TRACING = yes; then
5046 result=no
5047 else
5048 result=yes
5049 fi
5050 else
5051 result=$wxUSE_MEM_TRACING
5052 fi
5053
5054 { echo "$as_me:$LINENO: result: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5056
5057
5058 enablestring=
5059 defaultval=
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5062 defaultval=yes
5063 else
5064 defaultval=no
5065 fi
5066 fi
5067
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5070 # Check whether --enable-profile was given.
5071 if test "${enable_profile+set}" = set; then
5072 enableval=$enable_profile;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_profile='wxUSE_PROFILE=yes'
5075 else
5076 wx_cv_use_profile='wxUSE_PROFILE=no'
5077 fi
5078
5079 else
5080
5081 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5082
5083 fi
5084
5085
5086 eval "$wx_cv_use_profile"
5087
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_PROFILE = yes; then
5090 result=no
5091 else
5092 result=yes
5093 fi
5094 else
5095 result=$wxUSE_PROFILE
5096 fi
5097
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5100
5101
5102 enablestring=
5103 defaultval=
5104 if test -z "$defaultval"; then
5105 if test x"$enablestring" = xdisable; then
5106 defaultval=yes
5107 else
5108 defaultval=no
5109 fi
5110 fi
5111
5112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5114 # Check whether --enable-no_rtti was given.
5115 if test "${enable_no_rtti+set}" = set; then
5116 enableval=$enable_no_rtti;
5117 if test "$enableval" = yes; then
5118 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5119 else
5120 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5121 fi
5122
5123 else
5124
5125 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5126
5127 fi
5128
5129
5130 eval "$wx_cv_use_no_rtti"
5131
5132 if test x"$enablestring" = xdisable; then
5133 if test $wxUSE_NO_RTTI = yes; then
5134 result=no
5135 else
5136 result=yes
5137 fi
5138 else
5139 result=$wxUSE_NO_RTTI
5140 fi
5141
5142 { echo "$as_me:$LINENO: result: $result" >&5
5143 echo "${ECHO_T}$result" >&6; }
5144
5145
5146 enablestring=
5147 defaultval=
5148 if test -z "$defaultval"; then
5149 if test x"$enablestring" = xdisable; then
5150 defaultval=yes
5151 else
5152 defaultval=no
5153 fi
5154 fi
5155
5156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5158 # Check whether --enable-no_exceptions was given.
5159 if test "${enable_no_exceptions+set}" = set; then
5160 enableval=$enable_no_exceptions;
5161 if test "$enableval" = yes; then
5162 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5163 else
5164 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5165 fi
5166
5167 else
5168
5169 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5170
5171 fi
5172
5173
5174 eval "$wx_cv_use_no_exceptions"
5175
5176 if test x"$enablestring" = xdisable; then
5177 if test $wxUSE_NO_EXCEPTIONS = yes; then
5178 result=no
5179 else
5180 result=yes
5181 fi
5182 else
5183 result=$wxUSE_NO_EXCEPTIONS
5184 fi
5185
5186 { echo "$as_me:$LINENO: result: $result" >&5
5187 echo "${ECHO_T}$result" >&6; }
5188
5189
5190 enablestring=
5191 defaultval=
5192 if test -z "$defaultval"; then
5193 if test x"$enablestring" = xdisable; then
5194 defaultval=yes
5195 else
5196 defaultval=no
5197 fi
5198 fi
5199
5200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5202 # Check whether --enable-permissive was given.
5203 if test "${enable_permissive+set}" = set; then
5204 enableval=$enable_permissive;
5205 if test "$enableval" = yes; then
5206 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5207 else
5208 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5209 fi
5210
5211 else
5212
5213 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5214
5215 fi
5216
5217
5218 eval "$wx_cv_use_permissive"
5219
5220 if test x"$enablestring" = xdisable; then
5221 if test $wxUSE_PERMISSIVE = yes; then
5222 result=no
5223 else
5224 result=yes
5225 fi
5226 else
5227 result=$wxUSE_PERMISSIVE
5228 fi
5229
5230 { echo "$as_me:$LINENO: result: $result" >&5
5231 echo "${ECHO_T}$result" >&6; }
5232
5233
5234 enablestring=
5235 defaultval=
5236 if test -z "$defaultval"; then
5237 if test x"$enablestring" = xdisable; then
5238 defaultval=yes
5239 else
5240 defaultval=no
5241 fi
5242 fi
5243
5244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5246 # Check whether --enable-no_deps was given.
5247 if test "${enable_no_deps+set}" = set; then
5248 enableval=$enable_no_deps;
5249 if test "$enableval" = yes; then
5250 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5251 else
5252 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5253 fi
5254
5255 else
5256
5257 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5258
5259 fi
5260
5261
5262 eval "$wx_cv_use_no_deps"
5263
5264 if test x"$enablestring" = xdisable; then
5265 if test $wxUSE_NO_DEPS = yes; then
5266 result=no
5267 else
5268 result=yes
5269 fi
5270 else
5271 result=$wxUSE_NO_DEPS
5272 fi
5273
5274 { echo "$as_me:$LINENO: result: $result" >&5
5275 echo "${ECHO_T}$result" >&6; }
5276
5277
5278 enablestring=disable
5279 defaultval=
5280 if test -z "$defaultval"; then
5281 if test x"$enablestring" = xdisable; then
5282 defaultval=yes
5283 else
5284 defaultval=no
5285 fi
5286 fi
5287
5288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5290 # Check whether --enable-vararg_macros was given.
5291 if test "${enable_vararg_macros+set}" = set; then
5292 enableval=$enable_vararg_macros;
5293 if test "$enableval" = yes; then
5294 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5295 else
5296 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5297 fi
5298
5299 else
5300
5301 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5302
5303 fi
5304
5305
5306 eval "$wx_cv_use_vararg_macros"
5307
5308 if test x"$enablestring" = xdisable; then
5309 if test $wxUSE_VARARG_MACROS = yes; then
5310 result=no
5311 else
5312 result=yes
5313 fi
5314 else
5315 result=$wxUSE_VARARG_MACROS
5316 fi
5317
5318 { echo "$as_me:$LINENO: result: $result" >&5
5319 echo "${ECHO_T}$result" >&6; }
5320
5321
5322 enablestring=
5323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5325 # Check whether --enable-universal_binary was given.
5326 if test "${enable_universal_binary+set}" = set; then
5327 enableval=$enable_universal_binary;
5328 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5329
5330 else
5331
5332 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5333
5334 fi
5335
5336
5337 eval "$wx_cv_use_universal_binary"
5338
5339 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5340 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5341
5342
5343
5344 enablestring=
5345 defaultval=
5346 if test -z "$defaultval"; then
5347 if test x"$enablestring" = xdisable; then
5348 defaultval=yes
5349 else
5350 defaultval=no
5351 fi
5352 fi
5353
5354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5355 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5356 # Check whether --enable-compat26 was given.
5357 if test "${enable_compat26+set}" = set; then
5358 enableval=$enable_compat26;
5359 if test "$enableval" = yes; then
5360 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5361 else
5362 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5363 fi
5364
5365 else
5366
5367 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5368
5369 fi
5370
5371
5372 eval "$wx_cv_use_compat26"
5373
5374 if test x"$enablestring" = xdisable; then
5375 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5376 result=no
5377 else
5378 result=yes
5379 fi
5380 else
5381 result=$WXWIN_COMPATIBILITY_2_6
5382 fi
5383
5384 { echo "$as_me:$LINENO: result: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5386
5387
5388 enablestring=disable
5389 defaultval=
5390 if test -z "$defaultval"; then
5391 if test x"$enablestring" = xdisable; then
5392 defaultval=yes
5393 else
5394 defaultval=no
5395 fi
5396 fi
5397
5398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5400 # Check whether --enable-compat28 was given.
5401 if test "${enable_compat28+set}" = set; then
5402 enableval=$enable_compat28;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5405 else
5406 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5407 fi
5408
5409 else
5410
5411 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5412
5413 fi
5414
5415
5416 eval "$wx_cv_use_compat28"
5417
5418 if test x"$enablestring" = xdisable; then
5419 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5420 result=no
5421 else
5422 result=yes
5423 fi
5424 else
5425 result=$WXWIN_COMPATIBILITY_2_8
5426 fi
5427
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5430
5431
5432
5433 enablestring=disable
5434 defaultval=
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5437 defaultval=yes
5438 else
5439 defaultval=no
5440 fi
5441 fi
5442
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5445 # Check whether --enable-rpath was given.
5446 if test "${enable_rpath+set}" = set; then
5447 enableval=$enable_rpath;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_rpath='wxUSE_RPATH=yes'
5450 else
5451 wx_cv_use_rpath='wxUSE_RPATH=no'
5452 fi
5453
5454 else
5455
5456 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5457
5458 fi
5459
5460
5461 eval "$wx_cv_use_rpath"
5462
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_RPATH = yes; then
5465 result=no
5466 else
5467 result=yes
5468 fi
5469 else
5470 result=$wxUSE_RPATH
5471 fi
5472
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5475
5476
5477
5478 enablestring=
5479 defaultval=
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5482 defaultval=yes
5483 else
5484 defaultval=no
5485 fi
5486 fi
5487
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5490 # Check whether --enable-objc_uniquifying was given.
5491 if test "${enable_objc_uniquifying+set}" = set; then
5492 enableval=$enable_objc_uniquifying;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5495 else
5496 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5497 fi
5498
5499 else
5500
5501 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5502
5503 fi
5504
5505
5506 eval "$wx_cv_use_objc_uniquifying"
5507
5508 if test x"$enablestring" = xdisable; then
5509 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5510 result=no
5511 else
5512 result=yes
5513 fi
5514 else
5515 result=$wxUSE_OBJC_UNIQUIFYING
5516 fi
5517
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5520
5521
5522
5523 enablestring=disable
5524 defaultval=
5525 if test -z "$defaultval"; then
5526 if test x"$enablestring" = xdisable; then
5527 defaultval=yes
5528 else
5529 defaultval=no
5530 fi
5531 fi
5532
5533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5535 # Check whether --enable-visibility was given.
5536 if test "${enable_visibility+set}" = set; then
5537 enableval=$enable_visibility;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5540 else
5541 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5542 fi
5543
5544 else
5545
5546 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5547
5548 fi
5549
5550
5551 eval "$wx_cv_use_visibility"
5552
5553 if test x"$enablestring" = xdisable; then
5554 if test $wxUSE_VISIBILITY = yes; then
5555 result=no
5556 else
5557 result=yes
5558 fi
5559 else
5560 result=$wxUSE_VISIBILITY
5561 fi
5562
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5565
5566
5567
5568
5569 enablestring=
5570 defaultval=$wxUSE_ALL_FEATURES
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5581 # Check whether --enable-intl was given.
5582 if test "${enable_intl+set}" = set; then
5583 enableval=$enable_intl;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_intl='wxUSE_INTL=yes'
5586 else
5587 wx_cv_use_intl='wxUSE_INTL=no'
5588 fi
5589
5590 else
5591
5592 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5593
5594 fi
5595
5596
5597 eval "$wx_cv_use_intl"
5598
5599 if test x"$enablestring" = xdisable; then
5600 if test $wxUSE_INTL = yes; then
5601 result=no
5602 else
5603 result=yes
5604 fi
5605 else
5606 result=$wxUSE_INTL
5607 fi
5608
5609 { echo "$as_me:$LINENO: result: $result" >&5
5610 echo "${ECHO_T}$result" >&6; }
5611
5612
5613 enablestring=
5614 defaultval=$wxUSE_ALL_FEATURES
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5617 defaultval=yes
5618 else
5619 defaultval=no
5620 fi
5621 fi
5622
5623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5625 # Check whether --enable-config was given.
5626 if test "${enable_config+set}" = set; then
5627 enableval=$enable_config;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_config='wxUSE_CONFIG=yes'
5630 else
5631 wx_cv_use_config='wxUSE_CONFIG=no'
5632 fi
5633
5634 else
5635
5636 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5637
5638 fi
5639
5640
5641 eval "$wx_cv_use_config"
5642
5643 if test x"$enablestring" = xdisable; then
5644 if test $wxUSE_CONFIG = yes; then
5645 result=no
5646 else
5647 result=yes
5648 fi
5649 else
5650 result=$wxUSE_CONFIG
5651 fi
5652
5653 { echo "$as_me:$LINENO: result: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5655
5656
5657
5658 enablestring=
5659 defaultval=$wxUSE_ALL_FEATURES
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5662 defaultval=yes
5663 else
5664 defaultval=no
5665 fi
5666 fi
5667
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5670 # Check whether --enable-protocols was given.
5671 if test "${enable_protocols+set}" = set; then
5672 enableval=$enable_protocols;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5675 else
5676 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5677 fi
5678
5679 else
5680
5681 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5682
5683 fi
5684
5685
5686 eval "$wx_cv_use_protocols"
5687
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_PROTOCOL = yes; then
5690 result=no
5691 else
5692 result=yes
5693 fi
5694 else
5695 result=$wxUSE_PROTOCOL
5696 fi
5697
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5700
5701
5702 enablestring=
5703 defaultval=$wxUSE_ALL_FEATURES
5704 if test -z "$defaultval"; then
5705 if test x"$enablestring" = xdisable; then
5706 defaultval=yes
5707 else
5708 defaultval=no
5709 fi
5710 fi
5711
5712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5714 # Check whether --enable-ftp was given.
5715 if test "${enable_ftp+set}" = set; then
5716 enableval=$enable_ftp;
5717 if test "$enableval" = yes; then
5718 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5719 else
5720 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5721 fi
5722
5723 else
5724
5725 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5726
5727 fi
5728
5729
5730 eval "$wx_cv_use_ftp"
5731
5732 if test x"$enablestring" = xdisable; then
5733 if test $wxUSE_PROTOCOL_FTP = yes; then
5734 result=no
5735 else
5736 result=yes
5737 fi
5738 else
5739 result=$wxUSE_PROTOCOL_FTP
5740 fi
5741
5742 { echo "$as_me:$LINENO: result: $result" >&5
5743 echo "${ECHO_T}$result" >&6; }
5744
5745
5746 enablestring=
5747 defaultval=$wxUSE_ALL_FEATURES
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5750 defaultval=yes
5751 else
5752 defaultval=no
5753 fi
5754 fi
5755
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5758 # Check whether --enable-http was given.
5759 if test "${enable_http+set}" = set; then
5760 enableval=$enable_http;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5763 else
5764 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5765 fi
5766
5767 else
5768
5769 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5770
5771 fi
5772
5773
5774 eval "$wx_cv_use_http"
5775
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_PROTOCOL_HTTP = yes; then
5778 result=no
5779 else
5780 result=yes
5781 fi
5782 else
5783 result=$wxUSE_PROTOCOL_HTTP
5784 fi
5785
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5788
5789
5790 enablestring=
5791 defaultval=$wxUSE_ALL_FEATURES
5792 if test -z "$defaultval"; then
5793 if test x"$enablestring" = xdisable; then
5794 defaultval=yes
5795 else
5796 defaultval=no
5797 fi
5798 fi
5799
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5802 # Check whether --enable-fileproto was given.
5803 if test "${enable_fileproto+set}" = set; then
5804 enableval=$enable_fileproto;
5805 if test "$enableval" = yes; then
5806 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5807 else
5808 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5809 fi
5810
5811 else
5812
5813 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5814
5815 fi
5816
5817
5818 eval "$wx_cv_use_fileproto"
5819
5820 if test x"$enablestring" = xdisable; then
5821 if test $wxUSE_PROTOCOL_FILE = yes; then
5822 result=no
5823 else
5824 result=yes
5825 fi
5826 else
5827 result=$wxUSE_PROTOCOL_FILE
5828 fi
5829
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5832
5833
5834 enablestring=
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5838 defaultval=yes
5839 else
5840 defaultval=no
5841 fi
5842 fi
5843
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5846 # Check whether --enable-sockets was given.
5847 if test "${enable_sockets+set}" = set; then
5848 enableval=$enable_sockets;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5851 else
5852 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5853 fi
5854
5855 else
5856
5857 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5858
5859 fi
5860
5861
5862 eval "$wx_cv_use_sockets"
5863
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_SOCKETS = yes; then
5866 result=no
5867 else
5868 result=yes
5869 fi
5870 else
5871 result=$wxUSE_SOCKETS
5872 fi
5873
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5876
5877
5878 enablestring=
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5882 defaultval=yes
5883 else
5884 defaultval=no
5885 fi
5886 fi
5887
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5890 # Check whether --enable-ipv6 was given.
5891 if test "${enable_ipv6+set}" = set; then
5892 enableval=$enable_ipv6;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5895 else
5896 wx_cv_use_ipv6='wxUSE_IPV6=no'
5897 fi
5898
5899 else
5900
5901 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_ipv6"
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_IPV6 = yes; then
5910 result=no
5911 else
5912 result=yes
5913 fi
5914 else
5915 result=$wxUSE_IPV6
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5934 # Check whether --enable-ole was given.
5935 if test "${enable_ole+set}" = set; then
5936 enableval=$enable_ole;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_ole='wxUSE_OLE=yes'
5939 else
5940 wx_cv_use_ole='wxUSE_OLE=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_ole"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_OLE = yes; then
5954 result=no
5955 else
5956 result=yes
5957 fi
5958 else
5959 result=$wxUSE_OLE
5960 fi
5961
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5964
5965
5966 enablestring=
5967 defaultval=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5970 defaultval=yes
5971 else
5972 defaultval=no
5973 fi
5974 fi
5975
5976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5978 # Check whether --enable-dataobj was given.
5979 if test "${enable_dataobj+set}" = set; then
5980 enableval=$enable_dataobj;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5983 else
5984 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5985 fi
5986
5987 else
5988
5989 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5990
5991 fi
5992
5993
5994 eval "$wx_cv_use_dataobj"
5995
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_DATAOBJ = yes; then
5998 result=no
5999 else
6000 result=yes
6001 fi
6002 else
6003 result=$wxUSE_DATAOBJ
6004 fi
6005
6006 { echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6008
6009
6010
6011 enablestring=
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6023 # Check whether --enable-ipc was given.
6024 if test "${enable_ipc+set}" = set; then
6025 enableval=$enable_ipc;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ipc='wxUSE_IPC=yes'
6028 else
6029 wx_cv_use_ipc='wxUSE_IPC=no'
6030 fi
6031
6032 else
6033
6034 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6035
6036 fi
6037
6038
6039 eval "$wx_cv_use_ipc"
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_IPC = yes; then
6043 result=no
6044 else
6045 result=yes
6046 fi
6047 else
6048 result=$wxUSE_IPC
6049 fi
6050
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055
6056 enablestring=
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6060 defaultval=yes
6061 else
6062 defaultval=no
6063 fi
6064 fi
6065
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6068 # Check whether --enable-baseevtloop was given.
6069 if test "${enable_baseevtloop+set}" = set; then
6070 enableval=$enable_baseevtloop;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6073 else
6074 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6075 fi
6076
6077 else
6078
6079 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6080
6081 fi
6082
6083
6084 eval "$wx_cv_use_baseevtloop"
6085
6086 if test x"$enablestring" = xdisable; then
6087 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6088 result=no
6089 else
6090 result=yes
6091 fi
6092 else
6093 result=$wxUSE_CONSOLE_EVENTLOOP
6094 fi
6095
6096 { echo "$as_me:$LINENO: result: $result" >&5
6097 echo "${ECHO_T}$result" >&6; }
6098
6099
6100 enablestring=
6101 defaultval=$wxUSE_ALL_FEATURES
6102 if test -z "$defaultval"; then
6103 if test x"$enablestring" = xdisable; then
6104 defaultval=yes
6105 else
6106 defaultval=no
6107 fi
6108 fi
6109
6110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6112 # Check whether --enable-epollloop was given.
6113 if test "${enable_epollloop+set}" = set; then
6114 enableval=$enable_epollloop;
6115 if test "$enableval" = yes; then
6116 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6117 else
6118 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6119 fi
6120
6121 else
6122
6123 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6124
6125 fi
6126
6127
6128 eval "$wx_cv_use_epollloop"
6129
6130 if test x"$enablestring" = xdisable; then
6131 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6132 result=no
6133 else
6134 result=yes
6135 fi
6136 else
6137 result=$wxUSE_EPOLL_DISPATCHER
6138 fi
6139
6140 { echo "$as_me:$LINENO: result: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6142
6143
6144 enablestring=
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6148 defaultval=yes
6149 else
6150 defaultval=no
6151 fi
6152 fi
6153
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6156 # Check whether --enable-selectloop was given.
6157 if test "${enable_selectloop+set}" = set; then
6158 enableval=$enable_selectloop;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6161 else
6162 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6163 fi
6164
6165 else
6166
6167 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6168
6169 fi
6170
6171
6172 eval "$wx_cv_use_selectloop"
6173
6174 if test x"$enablestring" = xdisable; then
6175 if test $wxUSE_SELECT_DISPATCHER = yes; then
6176 result=no
6177 else
6178 result=yes
6179 fi
6180 else
6181 result=$wxUSE_SELECT_DISPATCHER
6182 fi
6183
6184 { echo "$as_me:$LINENO: result: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6186
6187
6188
6189 enablestring=
6190 defaultval=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x"$enablestring" = xdisable; then
6193 defaultval=yes
6194 else
6195 defaultval=no
6196 fi
6197 fi
6198
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6201 # Check whether --enable-apple_ieee was given.
6202 if test "${enable_apple_ieee+set}" = set; then
6203 enableval=$enable_apple_ieee;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6206 else
6207 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6208 fi
6209
6210 else
6211
6212 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6213
6214 fi
6215
6216
6217 eval "$wx_cv_use_apple_ieee"
6218
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_APPLE_IEEE = yes; then
6221 result=no
6222 else
6223 result=yes
6224 fi
6225 else
6226 result=$wxUSE_APPLE_IEEE
6227 fi
6228
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6231
6232
6233 enablestring=
6234 defaultval=$wxUSE_ALL_FEATURES
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6237 defaultval=yes
6238 else
6239 defaultval=no
6240 fi
6241 fi
6242
6243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6245 # Check whether --enable-arcstream was given.
6246 if test "${enable_arcstream+set}" = set; then
6247 enableval=$enable_arcstream;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6250 else
6251 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6252 fi
6253
6254 else
6255
6256 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6257
6258 fi
6259
6260
6261 eval "$wx_cv_use_arcstream"
6262
6263 if test x"$enablestring" = xdisable; then
6264 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6265 result=no
6266 else
6267 result=yes
6268 fi
6269 else
6270 result=$wxUSE_ARCHIVE_STREAMS
6271 fi
6272
6273 { echo "$as_me:$LINENO: result: $result" >&5
6274 echo "${ECHO_T}$result" >&6; }
6275
6276
6277 enablestring=
6278 defaultval=$wxUSE_ALL_FEATURES
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6281 defaultval=yes
6282 else
6283 defaultval=no
6284 fi
6285 fi
6286
6287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6288 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6289 # Check whether --enable-base64 was given.
6290 if test "${enable_base64+set}" = set; then
6291 enableval=$enable_base64;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_base64='wxUSE_BASE64=yes'
6294 else
6295 wx_cv_use_base64='wxUSE_BASE64=no'
6296 fi
6297
6298 else
6299
6300 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6301
6302 fi
6303
6304
6305 eval "$wx_cv_use_base64"
6306
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_BASE64 = yes; then
6309 result=no
6310 else
6311 result=yes
6312 fi
6313 else
6314 result=$wxUSE_BASE64
6315 fi
6316
6317 { echo "$as_me:$LINENO: result: $result" >&5
6318 echo "${ECHO_T}$result" >&6; }
6319
6320
6321 enablestring=
6322 defaultval=$wxUSE_ALL_FEATURES
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6325 defaultval=yes
6326 else
6327 defaultval=no
6328 fi
6329 fi
6330
6331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6333 # Check whether --enable-backtrace was given.
6334 if test "${enable_backtrace+set}" = set; then
6335 enableval=$enable_backtrace;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6338 else
6339 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6340 fi
6341
6342 else
6343
6344 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6345
6346 fi
6347
6348
6349 eval "$wx_cv_use_backtrace"
6350
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_STACKWALKER = yes; then
6353 result=no
6354 else
6355 result=yes
6356 fi
6357 else
6358 result=$wxUSE_STACKWALKER
6359 fi
6360
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6363
6364
6365 enablestring=
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6377 # Check whether --enable-catch_segvs was given.
6378 if test "${enable_catch_segvs+set}" = set; then
6379 enableval=$enable_catch_segvs;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6382 else
6383 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6384 fi
6385
6386 else
6387
6388 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6389
6390 fi
6391
6392
6393 eval "$wx_cv_use_catch_segvs"
6394
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6397 result=no
6398 else
6399 result=yes
6400 fi
6401 else
6402 result=$wxUSE_ON_FATAL_EXCEPTION
6403 fi
6404
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6407
6408
6409 enablestring=
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6421 # Check whether --enable-cmdline was given.
6422 if test "${enable_cmdline+set}" = set; then
6423 enableval=$enable_cmdline;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6426 else
6427 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_cmdline"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_CMDLINE_PARSER = yes; then
6441 result=no
6442 else
6443 result=yes
6444 fi
6445 else
6446 result=$wxUSE_CMDLINE_PARSER
6447 fi
6448
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6465 # Check whether --enable-datetime was given.
6466 if test "${enable_datetime+set}" = set; then
6467 enableval=$enable_datetime;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6470 else
6471 wx_cv_use_datetime='wxUSE_DATETIME=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_datetime"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_DATETIME = yes; then
6485 result=no
6486 else
6487 result=yes
6488 fi
6489 else
6490 result=$wxUSE_DATETIME
6491 fi
6492
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6495
6496
6497 enablestring=
6498 defaultval=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6501 defaultval=yes
6502 else
6503 defaultval=no
6504 fi
6505 fi
6506
6507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6509 # Check whether --enable-debugreport was given.
6510 if test "${enable_debugreport+set}" = set; then
6511 enableval=$enable_debugreport;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6514 else
6515 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6516 fi
6517
6518 else
6519
6520 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6521
6522 fi
6523
6524
6525 eval "$wx_cv_use_debugreport"
6526
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_DEBUGREPORT = yes; then
6529 result=no
6530 else
6531 result=yes
6532 fi
6533 else
6534 result=$wxUSE_DEBUGREPORT
6535 fi
6536
6537 { echo "$as_me:$LINENO: result: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6539
6540
6541 enablestring=
6542 defaultval=$wxUSE_ALL_FEATURES
6543 if test -z "$defaultval"; then
6544 if test x"$enablestring" = xdisable; then
6545 defaultval=yes
6546 else
6547 defaultval=no
6548 fi
6549 fi
6550
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6553 # Check whether --enable-dialupman was given.
6554 if test "${enable_dialupman+set}" = set; then
6555 enableval=$enable_dialupman;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6558 else
6559 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6560 fi
6561
6562 else
6563
6564 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6565
6566 fi
6567
6568
6569 eval "$wx_cv_use_dialupman"
6570
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_DIALUP_MANAGER = yes; then
6573 result=no
6574 else
6575 result=yes
6576 fi
6577 else
6578 result=$wxUSE_DIALUP_MANAGER
6579 fi
6580
6581 { echo "$as_me:$LINENO: result: $result" >&5
6582 echo "${ECHO_T}$result" >&6; }
6583
6584
6585 enablestring=
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6589 defaultval=yes
6590 else
6591 defaultval=no
6592 fi
6593 fi
6594
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6597 # Check whether --enable-dynlib was given.
6598 if test "${enable_dynlib+set}" = set; then
6599 enableval=$enable_dynlib;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6602 else
6603 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6604 fi
6605
6606 else
6607
6608 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6609
6610 fi
6611
6612
6613 eval "$wx_cv_use_dynlib"
6614
6615 if test x"$enablestring" = xdisable; then
6616 if test $wxUSE_DYNLIB_CLASS = yes; then
6617 result=no
6618 else
6619 result=yes
6620 fi
6621 else
6622 result=$wxUSE_DYNLIB_CLASS
6623 fi
6624
6625 { echo "$as_me:$LINENO: result: $result" >&5
6626 echo "${ECHO_T}$result" >&6; }
6627
6628
6629 enablestring=
6630 defaultval=$wxUSE_ALL_FEATURES
6631 if test -z "$defaultval"; then
6632 if test x"$enablestring" = xdisable; then
6633 defaultval=yes
6634 else
6635 defaultval=no
6636 fi
6637 fi
6638
6639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6640 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6641 # Check whether --enable-dynamicloader was given.
6642 if test "${enable_dynamicloader+set}" = set; then
6643 enableval=$enable_dynamicloader;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6646 else
6647 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6648 fi
6649
6650 else
6651
6652 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6653
6654 fi
6655
6656
6657 eval "$wx_cv_use_dynamicloader"
6658
6659 if test x"$enablestring" = xdisable; then
6660 if test $wxUSE_DYNAMIC_LOADER = yes; then
6661 result=no
6662 else
6663 result=yes
6664 fi
6665 else
6666 result=$wxUSE_DYNAMIC_LOADER
6667 fi
6668
6669 { echo "$as_me:$LINENO: result: $result" >&5
6670 echo "${ECHO_T}$result" >&6; }
6671
6672
6673 enablestring=
6674 defaultval=$wxUSE_ALL_FEATURES
6675 if test -z "$defaultval"; then
6676 if test x"$enablestring" = xdisable; then
6677 defaultval=yes
6678 else
6679 defaultval=no
6680 fi
6681 fi
6682
6683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6684 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6685 # Check whether --enable-exceptions was given.
6686 if test "${enable_exceptions+set}" = set; then
6687 enableval=$enable_exceptions;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6690 else
6691 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6692 fi
6693
6694 else
6695
6696 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6697
6698 fi
6699
6700
6701 eval "$wx_cv_use_exceptions"
6702
6703 if test x"$enablestring" = xdisable; then
6704 if test $wxUSE_EXCEPTIONS = yes; then
6705 result=no
6706 else
6707 result=yes
6708 fi
6709 else
6710 result=$wxUSE_EXCEPTIONS
6711 fi
6712
6713 { echo "$as_me:$LINENO: result: $result" >&5
6714 echo "${ECHO_T}$result" >&6; }
6715
6716
6717 enablestring=
6718 defaultval=$wxUSE_ALL_FEATURES
6719 if test -z "$defaultval"; then
6720 if test x"$enablestring" = xdisable; then
6721 defaultval=yes
6722 else
6723 defaultval=no
6724 fi
6725 fi
6726
6727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6728 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6729 # Check whether --enable-ffile was given.
6730 if test "${enable_ffile+set}" = set; then
6731 enableval=$enable_ffile;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_ffile='wxUSE_FFILE=yes'
6734 else
6735 wx_cv_use_ffile='wxUSE_FFILE=no'
6736 fi
6737
6738 else
6739
6740 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6741
6742 fi
6743
6744
6745 eval "$wx_cv_use_ffile"
6746
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_FFILE = yes; then
6749 result=no
6750 else
6751 result=yes
6752 fi
6753 else
6754 result=$wxUSE_FFILE
6755 fi
6756
6757 { echo "$as_me:$LINENO: result: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6759
6760
6761 enablestring=
6762 defaultval=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x"$enablestring" = xdisable; then
6765 defaultval=yes
6766 else
6767 defaultval=no
6768 fi
6769 fi
6770
6771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6773 # Check whether --enable-file was given.
6774 if test "${enable_file+set}" = set; then
6775 enableval=$enable_file;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_file='wxUSE_FILE=yes'
6778 else
6779 wx_cv_use_file='wxUSE_FILE=no'
6780 fi
6781
6782 else
6783
6784 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6785
6786 fi
6787
6788
6789 eval "$wx_cv_use_file"
6790
6791 if test x"$enablestring" = xdisable; then
6792 if test $wxUSE_FILE = yes; then
6793 result=no
6794 else
6795 result=yes
6796 fi
6797 else
6798 result=$wxUSE_FILE
6799 fi
6800
6801 { echo "$as_me:$LINENO: result: $result" >&5
6802 echo "${ECHO_T}$result" >&6; }
6803
6804
6805 enablestring=
6806 defaultval=$wxUSE_ALL_FEATURES
6807 if test -z "$defaultval"; then
6808 if test x"$enablestring" = xdisable; then
6809 defaultval=yes
6810 else
6811 defaultval=no
6812 fi
6813 fi
6814
6815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6817 # Check whether --enable-filesystem was given.
6818 if test "${enable_filesystem+set}" = set; then
6819 enableval=$enable_filesystem;
6820 if test "$enableval" = yes; then
6821 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6822 else
6823 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6824 fi
6825
6826 else
6827
6828 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6829
6830 fi
6831
6832
6833 eval "$wx_cv_use_filesystem"
6834
6835 if test x"$enablestring" = xdisable; then
6836 if test $wxUSE_FILESYSTEM = yes; then
6837 result=no
6838 else
6839 result=yes
6840 fi
6841 else
6842 result=$wxUSE_FILESYSTEM
6843 fi
6844
6845 { echo "$as_me:$LINENO: result: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6847
6848
6849 enablestring=
6850 defaultval=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x"$enablestring" = xdisable; then
6853 defaultval=yes
6854 else
6855 defaultval=no
6856 fi
6857 fi
6858
6859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6861 # Check whether --enable-fontenum was given.
6862 if test "${enable_fontenum+set}" = set; then
6863 enableval=$enable_fontenum;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6866 else
6867 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6868 fi
6869
6870 else
6871
6872 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6873
6874 fi
6875
6876
6877 eval "$wx_cv_use_fontenum"
6878
6879 if test x"$enablestring" = xdisable; then
6880 if test $wxUSE_FONTENUM = yes; then
6881 result=no
6882 else
6883 result=yes
6884 fi
6885 else
6886 result=$wxUSE_FONTENUM
6887 fi
6888
6889 { echo "$as_me:$LINENO: result: $result" >&5
6890 echo "${ECHO_T}$result" >&6; }
6891
6892
6893 enablestring=
6894 defaultval=$wxUSE_ALL_FEATURES
6895 if test -z "$defaultval"; then
6896 if test x"$enablestring" = xdisable; then
6897 defaultval=yes
6898 else
6899 defaultval=no
6900 fi
6901 fi
6902
6903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6905 # Check whether --enable-fontmap was given.
6906 if test "${enable_fontmap+set}" = set; then
6907 enableval=$enable_fontmap;
6908 if test "$enableval" = yes; then
6909 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6910 else
6911 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6912 fi
6913
6914 else
6915
6916 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6917
6918 fi
6919
6920
6921 eval "$wx_cv_use_fontmap"
6922
6923 if test x"$enablestring" = xdisable; then
6924 if test $wxUSE_FONTMAP = yes; then
6925 result=no
6926 else
6927 result=yes
6928 fi
6929 else
6930 result=$wxUSE_FONTMAP
6931 fi
6932
6933 { echo "$as_me:$LINENO: result: $result" >&5
6934 echo "${ECHO_T}$result" >&6; }
6935
6936
6937 enablestring=
6938 defaultval=$wxUSE_ALL_FEATURES
6939 if test -z "$defaultval"; then
6940 if test x"$enablestring" = xdisable; then
6941 defaultval=yes
6942 else
6943 defaultval=no
6944 fi
6945 fi
6946
6947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6948 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6949 # Check whether --enable-fs_archive was given.
6950 if test "${enable_fs_archive+set}" = set; then
6951 enableval=$enable_fs_archive;
6952 if test "$enableval" = yes; then
6953 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6954 else
6955 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6956 fi
6957
6958 else
6959
6960 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6961
6962 fi
6963
6964
6965 eval "$wx_cv_use_fs_archive"
6966
6967 if test x"$enablestring" = xdisable; then
6968 if test $wxUSE_FS_ARCHIVE = yes; then
6969 result=no
6970 else
6971 result=yes
6972 fi
6973 else
6974 result=$wxUSE_FS_ARCHIVE
6975 fi
6976
6977 { echo "$as_me:$LINENO: result: $result" >&5
6978 echo "${ECHO_T}$result" >&6; }
6979
6980
6981 enablestring=
6982 defaultval=$wxUSE_ALL_FEATURES
6983 if test -z "$defaultval"; then
6984 if test x"$enablestring" = xdisable; then
6985 defaultval=yes
6986 else
6987 defaultval=no
6988 fi
6989 fi
6990
6991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6993 # Check whether --enable-fs_inet was given.
6994 if test "${enable_fs_inet+set}" = set; then
6995 enableval=$enable_fs_inet;
6996 if test "$enableval" = yes; then
6997 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6998 else
6999 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7000 fi
7001
7002 else
7003
7004 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7005
7006 fi
7007
7008
7009 eval "$wx_cv_use_fs_inet"
7010
7011 if test x"$enablestring" = xdisable; then
7012 if test $wxUSE_FS_INET = yes; then
7013 result=no
7014 else
7015 result=yes
7016 fi
7017 else
7018 result=$wxUSE_FS_INET
7019 fi
7020
7021 { echo "$as_me:$LINENO: result: $result" >&5
7022 echo "${ECHO_T}$result" >&6; }
7023
7024
7025 enablestring=
7026 defaultval=$wxUSE_ALL_FEATURES
7027 if test -z "$defaultval"; then
7028 if test x"$enablestring" = xdisable; then
7029 defaultval=yes
7030 else
7031 defaultval=no
7032 fi
7033 fi
7034
7035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7036 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7037 # Check whether --enable-fs_zip was given.
7038 if test "${enable_fs_zip+set}" = set; then
7039 enableval=$enable_fs_zip;
7040 if test "$enableval" = yes; then
7041 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7042 else
7043 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7044 fi
7045
7046 else
7047
7048 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7049
7050 fi
7051
7052
7053 eval "$wx_cv_use_fs_zip"
7054
7055 if test x"$enablestring" = xdisable; then
7056 if test $wxUSE_FS_ZIP = yes; then
7057 result=no
7058 else
7059 result=yes
7060 fi
7061 else
7062 result=$wxUSE_FS_ZIP
7063 fi
7064
7065 { echo "$as_me:$LINENO: result: $result" >&5
7066 echo "${ECHO_T}$result" >&6; }
7067
7068
7069 enablestring=
7070 defaultval=$wxUSE_ALL_FEATURES
7071 if test -z "$defaultval"; then
7072 if test x"$enablestring" = xdisable; then
7073 defaultval=yes
7074 else
7075 defaultval=no
7076 fi
7077 fi
7078
7079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7080 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7081 # Check whether --enable-geometry was given.
7082 if test "${enable_geometry+set}" = set; then
7083 enableval=$enable_geometry;
7084 if test "$enableval" = yes; then
7085 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7086 else
7087 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7088 fi
7089
7090 else
7091
7092 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7093
7094 fi
7095
7096
7097 eval "$wx_cv_use_geometry"
7098
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_GEOMETRY = yes; then
7101 result=no
7102 else
7103 result=yes
7104 fi
7105 else
7106 result=$wxUSE_GEOMETRY
7107 fi
7108
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7111
7112
7113 enablestring=
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7117 defaultval=yes
7118 else
7119 defaultval=no
7120 fi
7121 fi
7122
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7125 # Check whether --enable-log was given.
7126 if test "${enable_log+set}" = set; then
7127 enableval=$enable_log;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_log='wxUSE_LOG=yes'
7130 else
7131 wx_cv_use_log='wxUSE_LOG=no'
7132 fi
7133
7134 else
7135
7136 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7137
7138 fi
7139
7140
7141 eval "$wx_cv_use_log"
7142
7143 if test x"$enablestring" = xdisable; then
7144 if test $wxUSE_LOG = yes; then
7145 result=no
7146 else
7147 result=yes
7148 fi
7149 else
7150 result=$wxUSE_LOG
7151 fi
7152
7153 { echo "$as_me:$LINENO: result: $result" >&5
7154 echo "${ECHO_T}$result" >&6; }
7155
7156
7157 enablestring=
7158 defaultval=$wxUSE_ALL_FEATURES
7159 if test -z "$defaultval"; then
7160 if test x"$enablestring" = xdisable; then
7161 defaultval=yes
7162 else
7163 defaultval=no
7164 fi
7165 fi
7166
7167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7169 # Check whether --enable-longlong was given.
7170 if test "${enable_longlong+set}" = set; then
7171 enableval=$enable_longlong;
7172 if test "$enableval" = yes; then
7173 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7174 else
7175 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7176 fi
7177
7178 else
7179
7180 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7181
7182 fi
7183
7184
7185 eval "$wx_cv_use_longlong"
7186
7187 if test x"$enablestring" = xdisable; then
7188 if test $wxUSE_LONGLONG = yes; then
7189 result=no
7190 else
7191 result=yes
7192 fi
7193 else
7194 result=$wxUSE_LONGLONG
7195 fi
7196
7197 { echo "$as_me:$LINENO: result: $result" >&5
7198 echo "${ECHO_T}$result" >&6; }
7199
7200
7201 enablestring=
7202 defaultval=$wxUSE_ALL_FEATURES
7203 if test -z "$defaultval"; then
7204 if test x"$enablestring" = xdisable; then
7205 defaultval=yes
7206 else
7207 defaultval=no
7208 fi
7209 fi
7210
7211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7213 # Check whether --enable-mimetype was given.
7214 if test "${enable_mimetype+set}" = set; then
7215 enableval=$enable_mimetype;
7216 if test "$enableval" = yes; then
7217 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7218 else
7219 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7220 fi
7221
7222 else
7223
7224 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7225
7226 fi
7227
7228
7229 eval "$wx_cv_use_mimetype"
7230
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_MIMETYPE = yes; then
7233 result=no
7234 else
7235 result=yes
7236 fi
7237 else
7238 result=$wxUSE_MIMETYPE
7239 fi
7240
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7243
7244
7245 enablestring=
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7249 defaultval=yes
7250 else
7251 defaultval=no
7252 fi
7253 fi
7254
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7257 # Check whether --enable-snglinst was given.
7258 if test "${enable_snglinst+set}" = set; then
7259 enableval=$enable_snglinst;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7262 else
7263 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7264 fi
7265
7266 else
7267
7268 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7269
7270 fi
7271
7272
7273 eval "$wx_cv_use_snglinst"
7274
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_SNGLINST_CHECKER = yes; then
7277 result=no
7278 else
7279 result=yes
7280 fi
7281 else
7282 result=$wxUSE_SNGLINST_CHECKER
7283 fi
7284
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7287
7288
7289 enablestring=
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7293 defaultval=yes
7294 else
7295 defaultval=no
7296 fi
7297 fi
7298
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7301 # Check whether --enable-stdpaths was given.
7302 if test "${enable_stdpaths+set}" = set; then
7303 enableval=$enable_stdpaths;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7306 else
7307 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7308 fi
7309
7310 else
7311
7312 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7313
7314 fi
7315
7316
7317 eval "$wx_cv_use_stdpaths"
7318
7319 if test x"$enablestring" = xdisable; then
7320 if test $wxUSE_STDPATHS = yes; then
7321 result=no
7322 else
7323 result=yes
7324 fi
7325 else
7326 result=$wxUSE_STDPATHS
7327 fi
7328
7329 { echo "$as_me:$LINENO: result: $result" >&5
7330 echo "${ECHO_T}$result" >&6; }
7331
7332
7333 enablestring=
7334 defaultval=$wxUSE_ALL_FEATURES
7335 if test -z "$defaultval"; then
7336 if test x"$enablestring" = xdisable; then
7337 defaultval=yes
7338 else
7339 defaultval=no
7340 fi
7341 fi
7342
7343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7345 # Check whether --enable-stopwatch was given.
7346 if test "${enable_stopwatch+set}" = set; then
7347 enableval=$enable_stopwatch;
7348 if test "$enableval" = yes; then
7349 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7350 else
7351 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7352 fi
7353
7354 else
7355
7356 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7357
7358 fi
7359
7360
7361 eval "$wx_cv_use_stopwatch"
7362
7363 if test x"$enablestring" = xdisable; then
7364 if test $wxUSE_STOPWATCH = yes; then
7365 result=no
7366 else
7367 result=yes
7368 fi
7369 else
7370 result=$wxUSE_STOPWATCH
7371 fi
7372
7373 { echo "$as_me:$LINENO: result: $result" >&5
7374 echo "${ECHO_T}$result" >&6; }
7375
7376
7377 enablestring=
7378 defaultval=$wxUSE_ALL_FEATURES
7379 if test -z "$defaultval"; then
7380 if test x"$enablestring" = xdisable; then
7381 defaultval=yes
7382 else
7383 defaultval=no
7384 fi
7385 fi
7386
7387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7389 # Check whether --enable-streams was given.
7390 if test "${enable_streams+set}" = set; then
7391 enableval=$enable_streams;
7392 if test "$enableval" = yes; then
7393 wx_cv_use_streams='wxUSE_STREAMS=yes'
7394 else
7395 wx_cv_use_streams='wxUSE_STREAMS=no'
7396 fi
7397
7398 else
7399
7400 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7401
7402 fi
7403
7404
7405 eval "$wx_cv_use_streams"
7406
7407 if test x"$enablestring" = xdisable; then
7408 if test $wxUSE_STREAMS = yes; then
7409 result=no
7410 else
7411 result=yes
7412 fi
7413 else
7414 result=$wxUSE_STREAMS
7415 fi
7416
7417 { echo "$as_me:$LINENO: result: $result" >&5
7418 echo "${ECHO_T}$result" >&6; }
7419
7420
7421 enablestring=
7422 defaultval=$wxUSE_ALL_FEATURES
7423 if test -z "$defaultval"; then
7424 if test x"$enablestring" = xdisable; then
7425 defaultval=yes
7426 else
7427 defaultval=no
7428 fi
7429 fi
7430
7431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7433 # Check whether --enable-system_options was given.
7434 if test "${enable_system_options+set}" = set; then
7435 enableval=$enable_system_options;
7436 if test "$enableval" = yes; then
7437 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7438 else
7439 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7440 fi
7441
7442 else
7443
7444 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7445
7446 fi
7447
7448
7449 eval "$wx_cv_use_system_options"
7450
7451 if test x"$enablestring" = xdisable; then
7452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7453 result=no
7454 else
7455 result=yes
7456 fi
7457 else
7458 result=$wxUSE_SYSTEM_OPTIONS
7459 fi
7460
7461 { echo "$as_me:$LINENO: result: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7463
7464
7465 enablestring=
7466 defaultval=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x"$enablestring" = xdisable; then
7469 defaultval=yes
7470 else
7471 defaultval=no
7472 fi
7473 fi
7474
7475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7477 # Check whether --enable-tarstream was given.
7478 if test "${enable_tarstream+set}" = set; then
7479 enableval=$enable_tarstream;
7480 if test "$enableval" = yes; then
7481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7482 else
7483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7484 fi
7485
7486 else
7487
7488 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7489
7490 fi
7491
7492
7493 eval "$wx_cv_use_tarstream"
7494
7495 if test x"$enablestring" = xdisable; then
7496 if test $wxUSE_TARSTREAM = yes; then
7497 result=no
7498 else
7499 result=yes
7500 fi
7501 else
7502 result=$wxUSE_TARSTREAM
7503 fi
7504
7505 { echo "$as_me:$LINENO: result: $result" >&5
7506 echo "${ECHO_T}$result" >&6; }
7507
7508
7509 enablestring=
7510 defaultval=$wxUSE_ALL_FEATURES
7511 if test -z "$defaultval"; then
7512 if test x"$enablestring" = xdisable; then
7513 defaultval=yes
7514 else
7515 defaultval=no
7516 fi
7517 fi
7518
7519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7521 # Check whether --enable-textbuf was given.
7522 if test "${enable_textbuf+set}" = set; then
7523 enableval=$enable_textbuf;
7524 if test "$enableval" = yes; then
7525 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7526 else
7527 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7528 fi
7529
7530 else
7531
7532 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7533
7534 fi
7535
7536
7537 eval "$wx_cv_use_textbuf"
7538
7539 if test x"$enablestring" = xdisable; then
7540 if test $wxUSE_TEXTBUFFER = yes; then
7541 result=no
7542 else
7543 result=yes
7544 fi
7545 else
7546 result=$wxUSE_TEXTBUFFER
7547 fi
7548
7549 { echo "$as_me:$LINENO: result: $result" >&5
7550 echo "${ECHO_T}$result" >&6; }
7551
7552
7553 enablestring=
7554 defaultval=$wxUSE_ALL_FEATURES
7555 if test -z "$defaultval"; then
7556 if test x"$enablestring" = xdisable; then
7557 defaultval=yes
7558 else
7559 defaultval=no
7560 fi
7561 fi
7562
7563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7565 # Check whether --enable-textfile was given.
7566 if test "${enable_textfile+set}" = set; then
7567 enableval=$enable_textfile;
7568 if test "$enableval" = yes; then
7569 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7570 else
7571 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7572 fi
7573
7574 else
7575
7576 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7577
7578 fi
7579
7580
7581 eval "$wx_cv_use_textfile"
7582
7583 if test x"$enablestring" = xdisable; then
7584 if test $wxUSE_TEXTFILE = yes; then
7585 result=no
7586 else
7587 result=yes
7588 fi
7589 else
7590 result=$wxUSE_TEXTFILE
7591 fi
7592
7593 { echo "$as_me:$LINENO: result: $result" >&5
7594 echo "${ECHO_T}$result" >&6; }
7595
7596
7597 enablestring=
7598 defaultval=$wxUSE_ALL_FEATURES
7599 if test -z "$defaultval"; then
7600 if test x"$enablestring" = xdisable; then
7601 defaultval=yes
7602 else
7603 defaultval=no
7604 fi
7605 fi
7606
7607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7609 # Check whether --enable-timer was given.
7610 if test "${enable_timer+set}" = set; then
7611 enableval=$enable_timer;
7612 if test "$enableval" = yes; then
7613 wx_cv_use_timer='wxUSE_TIMER=yes'
7614 else
7615 wx_cv_use_timer='wxUSE_TIMER=no'
7616 fi
7617
7618 else
7619
7620 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7621
7622 fi
7623
7624
7625 eval "$wx_cv_use_timer"
7626
7627 if test x"$enablestring" = xdisable; then
7628 if test $wxUSE_TIMER = yes; then
7629 result=no
7630 else
7631 result=yes
7632 fi
7633 else
7634 result=$wxUSE_TIMER
7635 fi
7636
7637 { echo "$as_me:$LINENO: result: $result" >&5
7638 echo "${ECHO_T}$result" >&6; }
7639
7640
7641 enablestring=
7642 defaultval=$wxUSE_ALL_FEATURES
7643 if test -z "$defaultval"; then
7644 if test x"$enablestring" = xdisable; then
7645 defaultval=yes
7646 else
7647 defaultval=no
7648 fi
7649 fi
7650
7651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7652 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7653 # Check whether --enable-sound was given.
7654 if test "${enable_sound+set}" = set; then
7655 enableval=$enable_sound;
7656 if test "$enableval" = yes; then
7657 wx_cv_use_sound='wxUSE_SOUND=yes'
7658 else
7659 wx_cv_use_sound='wxUSE_SOUND=no'
7660 fi
7661
7662 else
7663
7664 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7665
7666 fi
7667
7668
7669 eval "$wx_cv_use_sound"
7670
7671 if test x"$enablestring" = xdisable; then
7672 if test $wxUSE_SOUND = yes; then
7673 result=no
7674 else
7675 result=yes
7676 fi
7677 else
7678 result=$wxUSE_SOUND
7679 fi
7680
7681 { echo "$as_me:$LINENO: result: $result" >&5
7682 echo "${ECHO_T}$result" >&6; }
7683
7684
7685 enablestring=
7686 defaultval=$wxUSE_ALL_FEATURES
7687 if test -z "$defaultval"; then
7688 if test x"$enablestring" = xdisable; then
7689 defaultval=yes
7690 else
7691 defaultval=no
7692 fi
7693 fi
7694
7695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7696 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7697 # Check whether --enable-mediactrl was given.
7698 if test "${enable_mediactrl+set}" = set; then
7699 enableval=$enable_mediactrl;
7700 if test "$enableval" = yes; then
7701 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7702 else
7703 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7704 fi
7705
7706 else
7707
7708 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7709
7710 fi
7711
7712
7713 eval "$wx_cv_use_mediactrl"
7714
7715 if test x"$enablestring" = xdisable; then
7716 if test $wxUSE_MEDIACTRL = yes; then
7717 result=no
7718 else
7719 result=yes
7720 fi
7721 else
7722 result=$wxUSE_MEDIACTRL
7723 fi
7724
7725 { echo "$as_me:$LINENO: result: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7727
7728
7729 enablestring=
7730 defaultval=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x"$enablestring" = xdisable; then
7733 defaultval=yes
7734 else
7735 defaultval=no
7736 fi
7737 fi
7738
7739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7741 # Check whether --enable-gstreamer8 was given.
7742 if test "${enable_gstreamer8+set}" = set; then
7743 enableval=$enable_gstreamer8;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7746 else
7747 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7748 fi
7749
7750 else
7751
7752 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7753
7754 fi
7755
7756
7757 eval "$wx_cv_use_gstreamer8"
7758
7759 if test x"$enablestring" = xdisable; then
7760 if test $wxUSE_GSTREAMER8 = yes; then
7761 result=no
7762 else
7763 result=yes
7764 fi
7765 else
7766 result=$wxUSE_GSTREAMER8
7767 fi
7768
7769 { echo "$as_me:$LINENO: result: $result" >&5
7770 echo "${ECHO_T}$result" >&6; }
7771
7772
7773 enablestring=
7774 defaultval=$wxUSE_ALL_FEATURES
7775 if test -z "$defaultval"; then
7776 if test x"$enablestring" = xdisable; then
7777 defaultval=yes
7778 else
7779 defaultval=no
7780 fi
7781 fi
7782
7783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7785 # Check whether --enable-printfposparam was given.
7786 if test "${enable_printfposparam+set}" = set; then
7787 enableval=$enable_printfposparam;
7788 if test "$enableval" = yes; then
7789 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7790 else
7791 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7792 fi
7793
7794 else
7795
7796 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7797
7798 fi
7799
7800
7801 eval "$wx_cv_use_printfposparam"
7802
7803 if test x"$enablestring" = xdisable; then
7804 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7805 result=no
7806 else
7807 result=yes
7808 fi
7809 else
7810 result=$wxUSE_PRINTF_POS_PARAMS
7811 fi
7812
7813 { echo "$as_me:$LINENO: result: $result" >&5
7814 echo "${ECHO_T}$result" >&6; }
7815
7816
7817 enablestring=
7818 defaultval=$wxUSE_ALL_FEATURES
7819 if test -z "$defaultval"; then
7820 if test x"$enablestring" = xdisable; then
7821 defaultval=yes
7822 else
7823 defaultval=no
7824 fi
7825 fi
7826
7827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7829 # Check whether --enable-zipstream was given.
7830 if test "${enable_zipstream+set}" = set; then
7831 enableval=$enable_zipstream;
7832 if test "$enableval" = yes; then
7833 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7834 else
7835 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7836 fi
7837
7838 else
7839
7840 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7841
7842 fi
7843
7844
7845 eval "$wx_cv_use_zipstream"
7846
7847 if test x"$enablestring" = xdisable; then
7848 if test $wxUSE_ZIPSTREAM = yes; then
7849 result=no
7850 else
7851 result=yes
7852 fi
7853 else
7854 result=$wxUSE_ZIPSTREAM
7855 fi
7856
7857 { echo "$as_me:$LINENO: result: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7859
7860
7861
7862 enablestring=
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7866 defaultval=yes
7867 else
7868 defaultval=no
7869 fi
7870 fi
7871
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7874 # Check whether --enable-url was given.
7875 if test "${enable_url+set}" = set; then
7876 enableval=$enable_url;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_url='wxUSE_URL=yes'
7879 else
7880 wx_cv_use_url='wxUSE_URL=no'
7881 fi
7882
7883 else
7884
7885 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7886
7887 fi
7888
7889
7890 eval "$wx_cv_use_url"
7891
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_URL = yes; then
7894 result=no
7895 else
7896 result=yes
7897 fi
7898 else
7899 result=$wxUSE_URL
7900 fi
7901
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7918 # Check whether --enable-variant was given.
7919 if test "${enable_variant+set}" = set; then
7920 enableval=$enable_variant;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_variant='wxUSE_VARIANT=yes'
7923 else
7924 wx_cv_use_variant='wxUSE_VARIANT=no'
7925 fi
7926
7927 else
7928
7929 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_variant"
7935
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_VARIANT = yes; then
7938 result=no
7939 else
7940 result=yes
7941 fi
7942 else
7943 result=$wxUSE_VARIANT
7944 fi
7945
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950 enablestring=
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7954 defaultval=yes
7955 else
7956 defaultval=no
7957 fi
7958 fi
7959
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7962 # Check whether --enable-protocol was given.
7963 if test "${enable_protocol+set}" = set; then
7964 enableval=$enable_protocol;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7967 else
7968 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7969 fi
7970
7971 else
7972
7973 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7974
7975 fi
7976
7977
7978 eval "$wx_cv_use_protocol"
7979
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_PROTOCOL = yes; then
7982 result=no
7983 else
7984 result=yes
7985 fi
7986 else
7987 result=$wxUSE_PROTOCOL
7988 fi
7989
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7992
7993
7994 enablestring=
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
7998 defaultval=yes
7999 else
8000 defaultval=no
8001 fi
8002 fi
8003
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8006 # Check whether --enable-protocol_http was given.
8007 if test "${enable_protocol_http+set}" = set; then
8008 enableval=$enable_protocol_http;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8011 else
8012 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8013 fi
8014
8015 else
8016
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8018
8019 fi
8020
8021
8022 eval "$wx_cv_use_protocol_http"
8023
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_PROTOCOL_HTTP = yes; then
8026 result=no
8027 else
8028 result=yes
8029 fi
8030 else
8031 result=$wxUSE_PROTOCOL_HTTP
8032 fi
8033
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8036
8037
8038 enablestring=
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8042 defaultval=yes
8043 else
8044 defaultval=no
8045 fi
8046 fi
8047
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8050 # Check whether --enable-protocol_ftp was given.
8051 if test "${enable_protocol_ftp+set}" = set; then
8052 enableval=$enable_protocol_ftp;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8055 else
8056 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8057 fi
8058
8059 else
8060
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_protocol_ftp"
8067
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_PROTOCOL_FTP = yes; then
8070 result=no
8071 else
8072 result=yes
8073 fi
8074 else
8075 result=$wxUSE_PROTOCOL_FTP
8076 fi
8077
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8080
8081
8082 enablestring=
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8086 defaultval=yes
8087 else
8088 defaultval=no
8089 fi
8090 fi
8091
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8094 # Check whether --enable-protocol_file was given.
8095 if test "${enable_protocol_file+set}" = set; then
8096 enableval=$enable_protocol_file;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8099 else
8100 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8101 fi
8102
8103 else
8104
8105 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_protocol_file"
8111
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_PROTOCOL_FILE = yes; then
8114 result=no
8115 else
8116 result=yes
8117 fi
8118 else
8119 result=$wxUSE_PROTOCOL_FILE
8120 fi
8121
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8124
8125
8126
8127 enablestring=
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8131 defaultval=yes
8132 else
8133 defaultval=no
8134 fi
8135 fi
8136
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8139 # Check whether --enable-threads was given.
8140 if test "${enable_threads+set}" = set; then
8141 enableval=$enable_threads;
8142 if test "$enableval" = yes; then
8143 wx_cv_use_threads='wxUSE_THREADS=yes'
8144 else
8145 wx_cv_use_threads='wxUSE_THREADS=no'
8146 fi
8147
8148 else
8149
8150 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8151
8152 fi
8153
8154
8155 eval "$wx_cv_use_threads"
8156
8157 if test x"$enablestring" = xdisable; then
8158 if test $wxUSE_THREADS = yes; then
8159 result=no
8160 else
8161 result=yes
8162 fi
8163 else
8164 result=$wxUSE_THREADS
8165 fi
8166
8167 { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8169
8170
8171
8172 enablestring=
8173 defaultval=
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8176 defaultval=yes
8177 else
8178 defaultval=no
8179 fi
8180 fi
8181
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8184 # Check whether --enable-iniconf was given.
8185 if test "${enable_iniconf+set}" = set; then
8186 enableval=$enable_iniconf;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8189 else
8190 wx_cv_use_iniconf='wxUSE_INICONF=no'
8191 fi
8192
8193 else
8194
8195 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8196
8197 fi
8198
8199
8200 eval "$wx_cv_use_iniconf"
8201
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_INICONF = yes; then
8204 result=no
8205 else
8206 result=yes
8207 fi
8208 else
8209 result=$wxUSE_INICONF
8210 fi
8211
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8214
8215
8216 enablestring=
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8220 defaultval=yes
8221 else
8222 defaultval=no
8223 fi
8224 fi
8225
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8228 # Check whether --enable-regkey was given.
8229 if test "${enable_regkey+set}" = set; then
8230 enableval=$enable_regkey;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8233 else
8234 wx_cv_use_regkey='wxUSE_REGKEY=no'
8235 fi
8236
8237 else
8238
8239 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8240
8241 fi
8242
8243
8244 eval "$wx_cv_use_regkey"
8245
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_REGKEY = yes; then
8248 result=no
8249 else
8250 result=yes
8251 fi
8252 else
8253 result=$wxUSE_REGKEY
8254 fi
8255
8256 { echo "$as_me:$LINENO: result: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8258
8259
8260 if test "$wxUSE_GUI" = "yes"; then
8261
8262
8263
8264 enablestring=
8265 defaultval=$wxUSE_ALL_FEATURES
8266 if test -z "$defaultval"; then
8267 if test x"$enablestring" = xdisable; then
8268 defaultval=yes
8269 else
8270 defaultval=no
8271 fi
8272 fi
8273
8274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8276 # Check whether --enable-docview was given.
8277 if test "${enable_docview+set}" = set; then
8278 enableval=$enable_docview;
8279 if test "$enableval" = yes; then
8280 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8281 else
8282 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8283 fi
8284
8285 else
8286
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8288
8289 fi
8290
8291
8292 eval "$wx_cv_use_docview"
8293
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8296 result=no
8297 else
8298 result=yes
8299 fi
8300 else
8301 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8302 fi
8303
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8306
8307
8308 enablestring=
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8312 defaultval=yes
8313 else
8314 defaultval=no
8315 fi
8316 fi
8317
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8320 # Check whether --enable-help was given.
8321 if test "${enable_help+set}" = set; then
8322 enableval=$enable_help;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_help='wxUSE_HELP=yes'
8325 else
8326 wx_cv_use_help='wxUSE_HELP=no'
8327 fi
8328
8329 else
8330
8331 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8332
8333 fi
8334
8335
8336 eval "$wx_cv_use_help"
8337
8338 if test x"$enablestring" = xdisable; then
8339 if test $wxUSE_HELP = yes; then
8340 result=no
8341 else
8342 result=yes
8343 fi
8344 else
8345 result=$wxUSE_HELP
8346 fi
8347
8348 { echo "$as_me:$LINENO: result: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8350
8351
8352 enablestring=
8353 defaultval=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x"$enablestring" = xdisable; then
8356 defaultval=yes
8357 else
8358 defaultval=no
8359 fi
8360 fi
8361
8362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8364 # Check whether --enable-mshtmlhelp was given.
8365 if test "${enable_mshtmlhelp+set}" = set; then
8366 enableval=$enable_mshtmlhelp;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8369 else
8370 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8371 fi
8372
8373 else
8374
8375 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8376
8377 fi
8378
8379
8380 eval "$wx_cv_use_mshtmlhelp"
8381
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_MS_HTML_HELP = yes; then
8384 result=no
8385 else
8386 result=yes
8387 fi
8388 else
8389 result=$wxUSE_MS_HTML_HELP
8390 fi
8391
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8394
8395
8396 enablestring=
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8400 defaultval=yes
8401 else
8402 defaultval=no
8403 fi
8404 fi
8405
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8408 # Check whether --enable-html was given.
8409 if test "${enable_html+set}" = set; then
8410 enableval=$enable_html;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_html='wxUSE_HTML=yes'
8413 else
8414 wx_cv_use_html='wxUSE_HTML=no'
8415 fi
8416
8417 else
8418
8419 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8420
8421 fi
8422
8423
8424 eval "$wx_cv_use_html"
8425
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_HTML = yes; then
8428 result=no
8429 else
8430 result=yes
8431 fi
8432 else
8433 result=$wxUSE_HTML
8434 fi
8435
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8438
8439
8440 enablestring=
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8444 defaultval=yes
8445 else
8446 defaultval=no
8447 fi
8448 fi
8449
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8452 # Check whether --enable-htmlhelp was given.
8453 if test "${enable_htmlhelp+set}" = set; then
8454 enableval=$enable_htmlhelp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8457 else
8458 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8459 fi
8460
8461 else
8462
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8464
8465 fi
8466
8467
8468 eval "$wx_cv_use_htmlhelp"
8469
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_WXHTML_HELP = yes; then
8472 result=no
8473 else
8474 result=yes
8475 fi
8476 else
8477 result=$wxUSE_WXHTML_HELP
8478 fi
8479
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8482
8483
8484 enablestring=
8485 defaultval=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x"$enablestring" = xdisable; then
8488 defaultval=yes
8489 else
8490 defaultval=no
8491 fi
8492 fi
8493
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8496 # Check whether --enable-xrc was given.
8497 if test "${enable_xrc+set}" = set; then
8498 enableval=$enable_xrc;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_xrc='wxUSE_XRC=yes'
8501 else
8502 wx_cv_use_xrc='wxUSE_XRC=no'
8503 fi
8504
8505 else
8506
8507 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8508
8509 fi
8510
8511
8512 eval "$wx_cv_use_xrc"
8513
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_XRC = yes; then
8516 result=no
8517 else
8518 result=yes
8519 fi
8520 else
8521 result=$wxUSE_XRC
8522 fi
8523
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8526
8527
8528 enablestring=
8529 defaultval=$wxUSE_ALL_FEATURES
8530 if test -z "$defaultval"; then
8531 if test x"$enablestring" = xdisable; then
8532 defaultval=yes
8533 else
8534 defaultval=no
8535 fi
8536 fi
8537
8538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8540 # Check whether --enable-aui was given.
8541 if test "${enable_aui+set}" = set; then
8542 enableval=$enable_aui;
8543 if test "$enableval" = yes; then
8544 wx_cv_use_aui='wxUSE_AUI=yes'
8545 else
8546 wx_cv_use_aui='wxUSE_AUI=no'
8547 fi
8548
8549 else
8550
8551 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8552
8553 fi
8554
8555
8556 eval "$wx_cv_use_aui"
8557
8558 if test x"$enablestring" = xdisable; then
8559 if test $wxUSE_AUI = yes; then
8560 result=no
8561 else
8562 result=yes
8563 fi
8564 else
8565 result=$wxUSE_AUI
8566 fi
8567
8568 { echo "$as_me:$LINENO: result: $result" >&5
8569 echo "${ECHO_T}$result" >&6; }
8570
8571
8572 enablestring=
8573 defaultval=$wxUSE_ALL_FEATURES
8574 if test -z "$defaultval"; then
8575 if test x"$enablestring" = xdisable; then
8576 defaultval=yes
8577 else
8578 defaultval=no
8579 fi
8580 fi
8581
8582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8583 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8584 # Check whether --enable-stc was given.
8585 if test "${enable_stc+set}" = set; then
8586 enableval=$enable_stc;
8587 if test "$enableval" = yes; then
8588 wx_cv_use_stc='wxUSE_STC=yes'
8589 else
8590 wx_cv_use_stc='wxUSE_STC=no'
8591 fi
8592
8593 else
8594
8595 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8596
8597 fi
8598
8599
8600 eval "$wx_cv_use_stc"
8601
8602 if test x"$enablestring" = xdisable; then
8603 if test $wxUSE_STC = yes; then
8604 result=no
8605 else
8606 result=yes
8607 fi
8608 else
8609 result=$wxUSE_STC
8610 fi
8611
8612 { echo "$as_me:$LINENO: result: $result" >&5
8613 echo "${ECHO_T}$result" >&6; }
8614
8615
8616 enablestring=
8617 defaultval=$wxUSE_ALL_FEATURES
8618 if test -z "$defaultval"; then
8619 if test x"$enablestring" = xdisable; then
8620 defaultval=yes
8621 else
8622 defaultval=no
8623 fi
8624 fi
8625
8626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8628 # Check whether --enable-constraints was given.
8629 if test "${enable_constraints+set}" = set; then
8630 enableval=$enable_constraints;
8631 if test "$enableval" = yes; then
8632 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8633 else
8634 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8635 fi
8636
8637 else
8638
8639 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8640
8641 fi
8642
8643
8644 eval "$wx_cv_use_constraints"
8645
8646 if test x"$enablestring" = xdisable; then
8647 if test $wxUSE_CONSTRAINTS = yes; then
8648 result=no
8649 else
8650 result=yes
8651 fi
8652 else
8653 result=$wxUSE_CONSTRAINTS
8654 fi
8655
8656 { echo "$as_me:$LINENO: result: $result" >&5
8657 echo "${ECHO_T}$result" >&6; }
8658
8659
8660 enablestring=
8661 defaultval=$wxUSE_ALL_FEATURES
8662 if test -z "$defaultval"; then
8663 if test x"$enablestring" = xdisable; then
8664 defaultval=yes
8665 else
8666 defaultval=no
8667 fi
8668 fi
8669
8670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8672 # Check whether --enable-printarch was given.
8673 if test "${enable_printarch+set}" = set; then
8674 enableval=$enable_printarch;
8675 if test "$enableval" = yes; then
8676 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8677 else
8678 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8679 fi
8680
8681 else
8682
8683 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8684
8685 fi
8686
8687
8688 eval "$wx_cv_use_printarch"
8689
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8692 result=no
8693 else
8694 result=yes
8695 fi
8696 else
8697 result=$wxUSE_PRINTING_ARCHITECTURE
8698 fi
8699
8700 { echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8702
8703
8704 enablestring=
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8708 defaultval=yes
8709 else
8710 defaultval=no
8711 fi
8712 fi
8713
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8716 # Check whether --enable-mdi was given.
8717 if test "${enable_mdi+set}" = set; then
8718 enableval=$enable_mdi;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_mdi='wxUSE_MDI=yes'
8721 else
8722 wx_cv_use_mdi='wxUSE_MDI=no'
8723 fi
8724
8725 else
8726
8727 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8728
8729 fi
8730
8731
8732 eval "$wx_cv_use_mdi"
8733
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_MDI = yes; then
8736 result=no
8737 else
8738 result=yes
8739 fi
8740 else
8741 result=$wxUSE_MDI
8742 fi
8743
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8746
8747
8748 enablestring=
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8752 defaultval=yes
8753 else
8754 defaultval=no
8755 fi
8756 fi
8757
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8760 # Check whether --enable-mdidoc was given.
8761 if test "${enable_mdidoc+set}" = set; then
8762 enableval=$enable_mdidoc;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8765 else
8766 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8767 fi
8768
8769 else
8770
8771 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8772
8773 fi
8774
8775
8776 eval "$wx_cv_use_mdidoc"
8777
8778 if test x"$enablestring" = xdisable; then
8779 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8780 result=no
8781 else
8782 result=yes
8783 fi
8784 else
8785 result=$wxUSE_MDI_ARCHITECTURE
8786 fi
8787
8788 { echo "$as_me:$LINENO: result: $result" >&5
8789 echo "${ECHO_T}$result" >&6; }
8790
8791
8792 enablestring=
8793 defaultval=$wxUSE_ALL_FEATURES
8794 if test -z "$defaultval"; then
8795 if test x"$enablestring" = xdisable; then
8796 defaultval=yes
8797 else
8798 defaultval=no
8799 fi
8800 fi
8801
8802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8804 # Check whether --enable-loggui was given.
8805 if test "${enable_loggui+set}" = set; then
8806 enableval=$enable_loggui;
8807 if test "$enableval" = yes; then
8808 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8809 else
8810 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8811 fi
8812
8813 else
8814
8815 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8816
8817 fi
8818
8819
8820 eval "$wx_cv_use_loggui"
8821
8822 if test x"$enablestring" = xdisable; then
8823 if test $wxUSE_LOGGUI = yes; then
8824 result=no
8825 else
8826 result=yes
8827 fi
8828 else
8829 result=$wxUSE_LOGGUI
8830 fi
8831
8832 { echo "$as_me:$LINENO: result: $result" >&5
8833 echo "${ECHO_T}$result" >&6; }
8834
8835
8836 enablestring=
8837 defaultval=$wxUSE_ALL_FEATURES
8838 if test -z "$defaultval"; then
8839 if test x"$enablestring" = xdisable; then
8840 defaultval=yes
8841 else
8842 defaultval=no
8843 fi
8844 fi
8845
8846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8847 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8848 # Check whether --enable-logwin was given.
8849 if test "${enable_logwin+set}" = set; then
8850 enableval=$enable_logwin;
8851 if test "$enableval" = yes; then
8852 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8853 else
8854 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8855 fi
8856
8857 else
8858
8859 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8860
8861 fi
8862
8863
8864 eval "$wx_cv_use_logwin"
8865
8866 if test x"$enablestring" = xdisable; then
8867 if test $wxUSE_LOGWINDOW = yes; then
8868 result=no
8869 else
8870 result=yes
8871 fi
8872 else
8873 result=$wxUSE_LOGWINDOW
8874 fi
8875
8876 { echo "$as_me:$LINENO: result: $result" >&5
8877 echo "${ECHO_T}$result" >&6; }
8878
8879
8880 enablestring=
8881 defaultval=$wxUSE_ALL_FEATURES
8882 if test -z "$defaultval"; then
8883 if test x"$enablestring" = xdisable; then
8884 defaultval=yes
8885 else
8886 defaultval=no
8887 fi
8888 fi
8889
8890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8892 # Check whether --enable-logdialog was given.
8893 if test "${enable_logdialog+set}" = set; then
8894 enableval=$enable_logdialog;
8895 if test "$enableval" = yes; then
8896 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8897 else
8898 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8899 fi
8900
8901 else
8902
8903 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8904
8905 fi
8906
8907
8908 eval "$wx_cv_use_logdialog"
8909
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_LOGDIALOG = yes; then
8912 result=no
8913 else
8914 result=yes
8915 fi
8916 else
8917 result=$wxUSE_LOGDIALOG
8918 fi
8919
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8922
8923
8924 enablestring=
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8928 defaultval=yes
8929 else
8930 defaultval=no
8931 fi
8932 fi
8933
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8936 # Check whether --enable-webkit was given.
8937 if test "${enable_webkit+set}" = set; then
8938 enableval=$enable_webkit;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8941 else
8942 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8943 fi
8944
8945 else
8946
8947 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8948
8949 fi
8950
8951
8952 eval "$wx_cv_use_webkit"
8953
8954 if test x"$enablestring" = xdisable; then
8955 if test $wxUSE_WEBKIT = yes; then
8956 result=no
8957 else
8958 result=yes
8959 fi
8960 else
8961 result=$wxUSE_WEBKIT
8962 fi
8963
8964 { echo "$as_me:$LINENO: result: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8966
8967
8968 enablestring=
8969 defaultval=$wxUSE_ALL_FEATURES
8970 if test -z "$defaultval"; then
8971 if test x"$enablestring" = xdisable; then
8972 defaultval=yes
8973 else
8974 defaultval=no
8975 fi
8976 fi
8977
8978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8980 # Check whether --enable-richtext was given.
8981 if test "${enable_richtext+set}" = set; then
8982 enableval=$enable_richtext;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8985 else
8986 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8987 fi
8988
8989 else
8990
8991 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8992
8993 fi
8994
8995
8996 eval "$wx_cv_use_richtext"
8997
8998 if test x"$enablestring" = xdisable; then
8999 if test $wxUSE_RICHTEXT = yes; then
9000 result=no
9001 else
9002 result=yes
9003 fi
9004 else
9005 result=$wxUSE_RICHTEXT
9006 fi
9007
9008 { echo "$as_me:$LINENO: result: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9010
9011
9012 enablestring=
9013 defaultval=$wxUSE_ALL_FEATURES
9014 if test -z "$defaultval"; then
9015 if test x"$enablestring" = xdisable; then
9016 defaultval=yes
9017 else
9018 defaultval=no
9019 fi
9020 fi
9021
9022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9024 # Check whether --enable-graphics_ctx was given.
9025 if test "${enable_graphics_ctx+set}" = set; then
9026 enableval=$enable_graphics_ctx;
9027 if test "$enableval" = yes; then
9028 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9029 else
9030 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9031 fi
9032
9033 else
9034
9035 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9036
9037 fi
9038
9039
9040 eval "$wx_cv_use_graphics_ctx"
9041
9042 if test x"$enablestring" = xdisable; then
9043 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9044 result=no
9045 else
9046 result=yes
9047 fi
9048 else
9049 result=$wxUSE_GRAPHICS_CONTEXT
9050 fi
9051
9052 { echo "$as_me:$LINENO: result: $result" >&5
9053 echo "${ECHO_T}$result" >&6; }
9054
9055
9056 enablestring=
9057 defaultval=$wxUSE_ALL_FEATURES
9058 if test -z "$defaultval"; then
9059 if test x"$enablestring" = xdisable; then
9060 defaultval=yes
9061 else
9062 defaultval=no
9063 fi
9064 fi
9065
9066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9068 # Check whether --enable-postscript was given.
9069 if test "${enable_postscript+set}" = set; then
9070 enableval=$enable_postscript;
9071 if test "$enableval" = yes; then
9072 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9073 else
9074 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9075 fi
9076
9077 else
9078
9079 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9080
9081 fi
9082
9083
9084 eval "$wx_cv_use_postscript"
9085
9086 if test x"$enablestring" = xdisable; then
9087 if test $wxUSE_POSTSCRIPT = yes; then
9088 result=no
9089 else
9090 result=yes
9091 fi
9092 else
9093 result=$wxUSE_POSTSCRIPT
9094 fi
9095
9096 { echo "$as_me:$LINENO: result: $result" >&5
9097 echo "${ECHO_T}$result" >&6; }
9098
9099
9100 enablestring=
9101 defaultval=$wxUSE_ALL_FEATURES
9102 if test -z "$defaultval"; then
9103 if test x"$enablestring" = xdisable; then
9104 defaultval=yes
9105 else
9106 defaultval=no
9107 fi
9108 fi
9109
9110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9112 # Check whether --enable-svg was given.
9113 if test "${enable_svg+set}" = set; then
9114 enableval=$enable_svg;
9115 if test "$enableval" = yes; then
9116 wx_cv_use_svg='wxUSE_SVG=yes'
9117 else
9118 wx_cv_use_svg='wxUSE_SVG=no'
9119 fi
9120
9121 else
9122
9123 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9124
9125 fi
9126
9127
9128 eval "$wx_cv_use_svg"
9129
9130 if test x"$enablestring" = xdisable; then
9131 if test $wxUSE_SVG = yes; then
9132 result=no
9133 else
9134 result=yes
9135 fi
9136 else
9137 result=$wxUSE_SVG
9138 fi
9139
9140 { echo "$as_me:$LINENO: result: $result" >&5
9141 echo "${ECHO_T}$result" >&6; }
9142
9143
9144
9145
9146 enablestring=
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9150 defaultval=yes
9151 else
9152 defaultval=no
9153 fi
9154 fi
9155
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9158 # Check whether --enable-clipboard was given.
9159 if test "${enable_clipboard+set}" = set; then
9160 enableval=$enable_clipboard;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9163 else
9164 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9165 fi
9166
9167 else
9168
9169 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9170
9171 fi
9172
9173
9174 eval "$wx_cv_use_clipboard"
9175
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_CLIPBOARD = yes; then
9178 result=no
9179 else
9180 result=yes
9181 fi
9182 else
9183 result=$wxUSE_CLIPBOARD
9184 fi
9185
9186 { echo "$as_me:$LINENO: result: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9188
9189
9190 enablestring=
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9194 defaultval=yes
9195 else
9196 defaultval=no
9197 fi
9198 fi
9199
9200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9202 # Check whether --enable-dnd was given.
9203 if test "${enable_dnd+set}" = set; then
9204 enableval=$enable_dnd;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9207 else
9208 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9209 fi
9210
9211 else
9212
9213 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_dnd"
9219
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_DRAG_AND_DROP = yes; then
9222 result=no
9223 else
9224 result=yes
9225 fi
9226 else
9227 result=$wxUSE_DRAG_AND_DROP
9228 fi
9229
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9232
9233
9234 enablestring=
9235 defaultval=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9238 defaultval=yes
9239 else
9240 defaultval=no
9241 fi
9242 fi
9243
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9246 # Check whether --enable-metafile was given.
9247 if test "${enable_metafile+set}" = set; then
9248 enableval=$enable_metafile;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9251 else
9252 wx_cv_use_metafile='wxUSE_METAFILE=no'
9253 fi
9254
9255 else
9256
9257 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9258
9259 fi
9260
9261
9262 eval "$wx_cv_use_metafile"
9263
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_METAFILE = yes; then
9266 result=no
9267 else
9268 result=yes
9269 fi
9270 else
9271 result=$wxUSE_METAFILE
9272 fi
9273
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9276
9277
9278
9279 DEFAULT_wxUSE_CONTROLS=none
9280
9281 enablestring=disable
9282 defaultval=
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}-controls" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9293 # Check whether --enable-controls was given.
9294 if test "${enable_controls+set}" = set; then
9295 enableval=$enable_controls;
9296 if test "$enableval" = yes; then
9297 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9298 else
9299 wx_cv_use_controls='wxUSE_CONTROLS=no'
9300 fi
9301
9302 else
9303
9304 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9305
9306 fi
9307
9308
9309 eval "$wx_cv_use_controls"
9310
9311 if test x"$enablestring" = xdisable; then
9312 if test $wxUSE_CONTROLS = yes; then
9313 result=no
9314 else
9315 result=yes
9316 fi
9317 else
9318 result=$wxUSE_CONTROLS
9319 fi
9320
9321 { echo "$as_me:$LINENO: result: $result" >&5
9322 echo "${ECHO_T}$result" >&6; }
9323
9324
9325 if test "$wxUSE_CONTROLS" = "yes"; then
9326 DEFAULT_wxUSE_ACCEL=yes
9327 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9328 DEFAULT_wxUSE_BMPBUTTON=yes
9329 DEFAULT_wxUSE_BUTTON=yes
9330 DEFAULT_wxUSE_CALCTRL=yes
9331 DEFAULT_wxUSE_CARET=yes
9332 DEFAULT_wxUSE_COMBOBOX=yes
9333 DEFAULT_wxUSE_CHECKBOX=yes
9334 DEFAULT_wxUSE_CHECKLISTBOX=yes
9335 DEFAULT_wxUSE_CHOICE=yes
9336 DEFAULT_wxUSE_CHOICEBOOK=yes
9337 DEFAULT_wxUSE_COLLPANE=yes
9338 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9339 DEFAULT_wxUSE_COMBOBOX=yes
9340 DEFAULT_wxUSE_DATEPICKCTRL=yes
9341 DEFAULT_wxUSE_DISPLAY=yes
9342 DEFAULT_wxUSE_DETECT_SM=yes
9343 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9344 DEFAULT_wxUSE_FILECTRL=yes
9345 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9346 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9347 DEFAULT_wxUSE_GAUGE=yes
9348 DEFAULT_wxUSE_GRID=yes
9349 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9350 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9351 DEFAULT_wxUSE_IMAGLIST=yes
9352 DEFAULT_wxUSE_LISTBOOK=yes
9353 DEFAULT_wxUSE_LISTBOX=yes
9354 DEFAULT_wxUSE_LISTCTRL=yes
9355 DEFAULT_wxUSE_NOTEBOOK=yes
9356 DEFAULT_wxUSE_RADIOBOX=yes
9357 DEFAULT_wxUSE_RADIOBTN=yes
9358 DEFAULT_wxUSE_SASH=yes
9359 DEFAULT_wxUSE_SCROLLBAR=yes
9360 DEFAULT_wxUSE_SEARCHCTRL=yes
9361 DEFAULT_wxUSE_SLIDER=yes
9362 DEFAULT_wxUSE_SPINBTN=yes
9363 DEFAULT_wxUSE_SPINCTRL=yes
9364 DEFAULT_wxUSE_SPLITTER=yes
9365 DEFAULT_wxUSE_STATBMP=yes
9366 DEFAULT_wxUSE_STATBOX=yes
9367 DEFAULT_wxUSE_STATLINE=yes
9368 DEFAULT_wxUSE_STATUSBAR=yes
9369 DEFAULT_wxUSE_TAB_DIALOG=yes
9370 DEFAULT_wxUSE_TOGGLEBTN=yes
9371 DEFAULT_wxUSE_TOOLBAR=yes
9372 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9373 DEFAULT_wxUSE_TOOLTIPS=yes
9374 DEFAULT_wxUSE_TREEBOOK=yes
9375 DEFAULT_wxUSE_TOOLBOOK=yes
9376 DEFAULT_wxUSE_TREECTRL=yes
9377 DEFAULT_wxUSE_POPUPWIN=yes
9378 DEFAULT_wxUSE_TIPWINDOW=yes
9379 elif test "$wxUSE_CONTROLS" = "no"; then
9380 DEFAULT_wxUSE_ACCEL=no
9381 DEFAULT_wxUSE_ANIMATIONCTRL=no
9382 DEFAULT_wxUSE_BMPBUTTON=no
9383 DEFAULT_wxUSE_BUTTON=no
9384 DEFAULT_wxUSE_CALCTRL=no
9385 DEFAULT_wxUSE_CARET=no
9386 DEFAULT_wxUSE_COLLPANE=no
9387 DEFAULT_wxUSE_COMBOBOX=no
9388 DEFAULT_wxUSE_CHECKBOX=no
9389 DEFAULT_wxUSE_CHECKLISTBOX=no
9390 DEFAULT_wxUSE_CHOICE=no
9391 DEFAULT_wxUSE_CHOICEBOOK=no
9392 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9393 DEFAULT_wxUSE_COMBOBOX=no
9394 DEFAULT_wxUSE_DATEPICKCTRL=no
9395 DEFAULT_wxUSE_DISPLAY=no
9396 DEFAULT_wxUSE_DETECT_SM=no
9397 DEFAULT_wxUSE_DIRPICKERCTRL=no
9398 DEFAULT_wxUSE_FILECTRL=no
9399 DEFAULT_wxUSE_FILEPICKERCTRL=no
9400 DEFAULT_wxUSE_FONTPICKERCTRL=no
9401 DEFAULT_wxUSE_GAUGE=no
9402 DEFAULT_wxUSE_GRID=no
9403 DEFAULT_wxUSE_HYPERLINKCTRL=no
9404 DEFAULT_wxUSE_DATAVIEWCTRL=no
9405 DEFAULT_wxUSE_IMAGLIST=no
9406 DEFAULT_wxUSE_LISTBOOK=no
9407 DEFAULT_wxUSE_LISTBOX=no
9408 DEFAULT_wxUSE_LISTCTRL=no
9409 DEFAULT_wxUSE_NOTEBOOK=no
9410 DEFAULT_wxUSE_RADIOBOX=no
9411 DEFAULT_wxUSE_RADIOBTN=no
9412 DEFAULT_wxUSE_SASH=no
9413 DEFAULT_wxUSE_SCROLLBAR=no
9414 DEFAULT_wxUSE_SEARCHCTRL=no
9415 DEFAULT_wxUSE_SLIDER=no
9416 DEFAULT_wxUSE_SPINBTN=no
9417 DEFAULT_wxUSE_SPINCTRL=no
9418 DEFAULT_wxUSE_SPLITTER=no
9419 DEFAULT_wxUSE_STATBMP=no
9420 DEFAULT_wxUSE_STATBOX=no
9421 DEFAULT_wxUSE_STATLINE=no
9422 DEFAULT_wxUSE_STATUSBAR=no
9423 DEFAULT_wxUSE_TAB_DIALOG=no
9424 DEFAULT_wxUSE_TOGGLEBTN=no
9425 DEFAULT_wxUSE_TOOLBAR=no
9426 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9427 DEFAULT_wxUSE_TOOLTIPS=no
9428 DEFAULT_wxUSE_TREEBOOK=no
9429 DEFAULT_wxUSE_TOOLBOOK=no
9430 DEFAULT_wxUSE_TREECTRL=no
9431 DEFAULT_wxUSE_POPUPWIN=no
9432 DEFAULT_wxUSE_TIPWINDOW=no
9433 fi
9434
9435
9436 enablestring=
9437 defaultval=$wxUSE_ALL_FEATURES
9438 if test -z "$defaultval"; then
9439 if test x"$enablestring" = xdisable; then
9440 defaultval=yes
9441 else
9442 defaultval=no
9443 fi
9444 fi
9445
9446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9448 # Check whether --enable-accel was given.
9449 if test "${enable_accel+set}" = set; then
9450 enableval=$enable_accel;
9451 if test "$enableval" = yes; then
9452 wx_cv_use_accel='wxUSE_ACCEL=yes'
9453 else
9454 wx_cv_use_accel='wxUSE_ACCEL=no'
9455 fi
9456
9457 else
9458
9459 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9460
9461 fi
9462
9463
9464 eval "$wx_cv_use_accel"
9465
9466 if test x"$enablestring" = xdisable; then
9467 if test $wxUSE_ACCEL = yes; then
9468 result=no
9469 else
9470 result=yes
9471 fi
9472 else
9473 result=$wxUSE_ACCEL
9474 fi
9475
9476 { echo "$as_me:$LINENO: result: $result" >&5
9477 echo "${ECHO_T}$result" >&6; }
9478
9479
9480 enablestring=
9481 defaultval=$wxUSE_ALL_FEATURES
9482 if test -z "$defaultval"; then
9483 if test x"$enablestring" = xdisable; then
9484 defaultval=yes
9485 else
9486 defaultval=no
9487 fi
9488 fi
9489
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9492 # Check whether --enable-animatectrl was given.
9493 if test "${enable_animatectrl+set}" = set; then
9494 enableval=$enable_animatectrl;
9495 if test "$enableval" = yes; then
9496 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9497 else
9498 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9499 fi
9500
9501 else
9502
9503 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9504
9505 fi
9506
9507
9508 eval "$wx_cv_use_animatectrl"
9509
9510 if test x"$enablestring" = xdisable; then
9511 if test $wxUSE_ANIMATIONCTRL = yes; then
9512 result=no
9513 else
9514 result=yes
9515 fi
9516 else
9517 result=$wxUSE_ANIMATIONCTRL
9518 fi
9519
9520 { echo "$as_me:$LINENO: result: $result" >&5
9521 echo "${ECHO_T}$result" >&6; }
9522
9523
9524 enablestring=
9525 defaultval=$wxUSE_ALL_FEATURES
9526 if test -z "$defaultval"; then
9527 if test x"$enablestring" = xdisable; then
9528 defaultval=yes
9529 else
9530 defaultval=no
9531 fi
9532 fi
9533
9534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9535 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9536 # Check whether --enable-button was given.
9537 if test "${enable_button+set}" = set; then
9538 enableval=$enable_button;
9539 if test "$enableval" = yes; then
9540 wx_cv_use_button='wxUSE_BUTTON=yes'
9541 else
9542 wx_cv_use_button='wxUSE_BUTTON=no'
9543 fi
9544
9545 else
9546
9547 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9548
9549 fi
9550
9551
9552 eval "$wx_cv_use_button"
9553
9554 if test x"$enablestring" = xdisable; then
9555 if test $wxUSE_BUTTON = yes; then
9556 result=no
9557 else
9558 result=yes
9559 fi
9560 else
9561 result=$wxUSE_BUTTON
9562 fi
9563
9564 { echo "$as_me:$LINENO: result: $result" >&5
9565 echo "${ECHO_T}$result" >&6; }
9566
9567
9568 enablestring=
9569 defaultval=$wxUSE_ALL_FEATURES
9570 if test -z "$defaultval"; then
9571 if test x"$enablestring" = xdisable; then
9572 defaultval=yes
9573 else
9574 defaultval=no
9575 fi
9576 fi
9577
9578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9579 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9580 # Check whether --enable-bmpbutton was given.
9581 if test "${enable_bmpbutton+set}" = set; then
9582 enableval=$enable_bmpbutton;
9583 if test "$enableval" = yes; then
9584 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9585 else
9586 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9587 fi
9588
9589 else
9590
9591 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9592
9593 fi
9594
9595
9596 eval "$wx_cv_use_bmpbutton"
9597
9598 if test x"$enablestring" = xdisable; then
9599 if test $wxUSE_BMPBUTTON = yes; then
9600 result=no
9601 else
9602 result=yes
9603 fi
9604 else
9605 result=$wxUSE_BMPBUTTON
9606 fi
9607
9608 { echo "$as_me:$LINENO: result: $result" >&5
9609 echo "${ECHO_T}$result" >&6; }
9610
9611
9612 enablestring=
9613 defaultval=$wxUSE_ALL_FEATURES
9614 if test -z "$defaultval"; then
9615 if test x"$enablestring" = xdisable; then
9616 defaultval=yes
9617 else
9618 defaultval=no
9619 fi
9620 fi
9621
9622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9624 # Check whether --enable-bmpcombobox was given.
9625 if test "${enable_bmpcombobox+set}" = set; then
9626 enableval=$enable_bmpcombobox;
9627 if test "$enableval" = yes; then
9628 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9629 else
9630 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9631 fi
9632
9633 else
9634
9635 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9636
9637 fi
9638
9639
9640 eval "$wx_cv_use_bmpcombobox"
9641
9642 if test x"$enablestring" = xdisable; then
9643 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9644 result=no
9645 else
9646 result=yes
9647 fi
9648 else
9649 result=$wxUSE_BITMAPCOMBOBOX
9650 fi
9651
9652 { echo "$as_me:$LINENO: result: $result" >&5
9653 echo "${ECHO_T}$result" >&6; }
9654
9655
9656 enablestring=
9657 defaultval=$wxUSE_ALL_FEATURES
9658 if test -z "$defaultval"; then
9659 if test x"$enablestring" = xdisable; then
9660 defaultval=yes
9661 else
9662 defaultval=no
9663 fi
9664 fi
9665
9666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9667 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9668 # Check whether --enable-calendar was given.
9669 if test "${enable_calendar+set}" = set; then
9670 enableval=$enable_calendar;
9671 if test "$enableval" = yes; then
9672 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9673 else
9674 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9675 fi
9676
9677 else
9678
9679 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9680
9681 fi
9682
9683
9684 eval "$wx_cv_use_calendar"
9685
9686 if test x"$enablestring" = xdisable; then
9687 if test $wxUSE_CALCTRL = yes; then
9688 result=no
9689 else
9690 result=yes
9691 fi
9692 else
9693 result=$wxUSE_CALCTRL
9694 fi
9695
9696 { echo "$as_me:$LINENO: result: $result" >&5
9697 echo "${ECHO_T}$result" >&6; }
9698
9699
9700 enablestring=
9701 defaultval=$wxUSE_ALL_FEATURES
9702 if test -z "$defaultval"; then
9703 if test x"$enablestring" = xdisable; then
9704 defaultval=yes
9705 else
9706 defaultval=no
9707 fi
9708 fi
9709
9710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9711 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9712 # Check whether --enable-caret was given.
9713 if test "${enable_caret+set}" = set; then
9714 enableval=$enable_caret;
9715 if test "$enableval" = yes; then
9716 wx_cv_use_caret='wxUSE_CARET=yes'
9717 else
9718 wx_cv_use_caret='wxUSE_CARET=no'
9719 fi
9720
9721 else
9722
9723 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9724
9725 fi
9726
9727
9728 eval "$wx_cv_use_caret"
9729
9730 if test x"$enablestring" = xdisable; then
9731 if test $wxUSE_CARET = yes; then
9732 result=no
9733 else
9734 result=yes
9735 fi
9736 else
9737 result=$wxUSE_CARET
9738 fi
9739
9740 { echo "$as_me:$LINENO: result: $result" >&5
9741 echo "${ECHO_T}$result" >&6; }
9742
9743
9744 enablestring=
9745 defaultval=$wxUSE_ALL_FEATURES
9746 if test -z "$defaultval"; then
9747 if test x"$enablestring" = xdisable; then
9748 defaultval=yes
9749 else
9750 defaultval=no
9751 fi
9752 fi
9753
9754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9756 # Check whether --enable-checkbox was given.
9757 if test "${enable_checkbox+set}" = set; then
9758 enableval=$enable_checkbox;
9759 if test "$enableval" = yes; then
9760 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9761 else
9762 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9763 fi
9764
9765 else
9766
9767 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9768
9769 fi
9770
9771
9772 eval "$wx_cv_use_checkbox"
9773
9774 if test x"$enablestring" = xdisable; then
9775 if test $wxUSE_CHECKBOX = yes; then
9776 result=no
9777 else
9778 result=yes
9779 fi
9780 else
9781 result=$wxUSE_CHECKBOX
9782 fi
9783
9784 { echo "$as_me:$LINENO: result: $result" >&5
9785 echo "${ECHO_T}$result" >&6; }
9786
9787
9788 enablestring=
9789 defaultval=$wxUSE_ALL_FEATURES
9790 if test -z "$defaultval"; then
9791 if test x"$enablestring" = xdisable; then
9792 defaultval=yes
9793 else
9794 defaultval=no
9795 fi
9796 fi
9797
9798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9800 # Check whether --enable-checklst was given.
9801 if test "${enable_checklst+set}" = set; then
9802 enableval=$enable_checklst;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9805 else
9806 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9807 fi
9808
9809 else
9810
9811 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9812
9813 fi
9814
9815
9816 eval "$wx_cv_use_checklst"
9817
9818 if test x"$enablestring" = xdisable; then
9819 if test $wxUSE_CHECKLST = yes; then
9820 result=no
9821 else
9822 result=yes
9823 fi
9824 else
9825 result=$wxUSE_CHECKLST
9826 fi
9827
9828 { echo "$as_me:$LINENO: result: $result" >&5
9829 echo "${ECHO_T}$result" >&6; }
9830
9831
9832 enablestring=
9833 defaultval=$wxUSE_ALL_FEATURES
9834 if test -z "$defaultval"; then
9835 if test x"$enablestring" = xdisable; then
9836 defaultval=yes
9837 else
9838 defaultval=no
9839 fi
9840 fi
9841
9842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9843 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9844 # Check whether --enable-choice was given.
9845 if test "${enable_choice+set}" = set; then
9846 enableval=$enable_choice;
9847 if test "$enableval" = yes; then
9848 wx_cv_use_choice='wxUSE_CHOICE=yes'
9849 else
9850 wx_cv_use_choice='wxUSE_CHOICE=no'
9851 fi
9852
9853 else
9854
9855 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9856
9857 fi
9858
9859
9860 eval "$wx_cv_use_choice"
9861
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_CHOICE = yes; then
9864 result=no
9865 else
9866 result=yes
9867 fi
9868 else
9869 result=$wxUSE_CHOICE
9870 fi
9871
9872 { echo "$as_me:$LINENO: result: $result" >&5
9873 echo "${ECHO_T}$result" >&6; }
9874
9875
9876 enablestring=
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9880 defaultval=yes
9881 else
9882 defaultval=no
9883 fi
9884 fi
9885
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9888 # Check whether --enable-choicebook was given.
9889 if test "${enable_choicebook+set}" = set; then
9890 enableval=$enable_choicebook;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9893 else
9894 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9895 fi
9896
9897 else
9898
9899 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9900
9901 fi
9902
9903
9904 eval "$wx_cv_use_choicebook"
9905
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_CHOICEBOOK = yes; then
9908 result=no
9909 else
9910 result=yes
9911 fi
9912 else
9913 result=$wxUSE_CHOICEBOOK
9914 fi
9915
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9918
9919
9920 enablestring=
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9924 defaultval=yes
9925 else
9926 defaultval=no
9927 fi
9928 fi
9929
9930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9932 # Check whether --enable-collpane was given.
9933 if test "${enable_collpane+set}" = set; then
9934 enableval=$enable_collpane;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9937 else
9938 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9939 fi
9940
9941 else
9942
9943 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9944
9945 fi
9946
9947
9948 eval "$wx_cv_use_collpane"
9949
9950 if test x"$enablestring" = xdisable; then
9951 if test $wxUSE_COLLPANE = yes; then
9952 result=no
9953 else
9954 result=yes
9955 fi
9956 else
9957 result=$wxUSE_COLLPANE
9958 fi
9959
9960 { echo "$as_me:$LINENO: result: $result" >&5
9961 echo "${ECHO_T}$result" >&6; }
9962
9963
9964 enablestring=
9965 defaultval=$wxUSE_ALL_FEATURES
9966 if test -z "$defaultval"; then
9967 if test x"$enablestring" = xdisable; then
9968 defaultval=yes
9969 else
9970 defaultval=no
9971 fi
9972 fi
9973
9974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9975 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9976 # Check whether --enable-colourpicker was given.
9977 if test "${enable_colourpicker+set}" = set; then
9978 enableval=$enable_colourpicker;
9979 if test "$enableval" = yes; then
9980 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9981 else
9982 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9983 fi
9984
9985 else
9986
9987 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9988
9989 fi
9990
9991
9992 eval "$wx_cv_use_colourpicker"
9993
9994 if test x"$enablestring" = xdisable; then
9995 if test $wxUSE_COLOURPICKERCTRL = yes; then
9996 result=no
9997 else
9998 result=yes
9999 fi
10000 else
10001 result=$wxUSE_COLOURPICKERCTRL
10002 fi
10003
10004 { echo "$as_me:$LINENO: result: $result" >&5
10005 echo "${ECHO_T}$result" >&6; }
10006
10007
10008 enablestring=
10009 defaultval=$wxUSE_ALL_FEATURES
10010 if test -z "$defaultval"; then
10011 if test x"$enablestring" = xdisable; then
10012 defaultval=yes
10013 else
10014 defaultval=no
10015 fi
10016 fi
10017
10018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10019 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10020 # Check whether --enable-combobox was given.
10021 if test "${enable_combobox+set}" = set; then
10022 enableval=$enable_combobox;
10023 if test "$enableval" = yes; then
10024 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10025 else
10026 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10027 fi
10028
10029 else
10030
10031 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10032
10033 fi
10034
10035
10036 eval "$wx_cv_use_combobox"
10037
10038 if test x"$enablestring" = xdisable; then
10039 if test $wxUSE_COMBOBOX = yes; then
10040 result=no
10041 else
10042 result=yes
10043 fi
10044 else
10045 result=$wxUSE_COMBOBOX
10046 fi
10047
10048 { echo "$as_me:$LINENO: result: $result" >&5
10049 echo "${ECHO_T}$result" >&6; }
10050
10051
10052 enablestring=
10053 defaultval=$wxUSE_ALL_FEATURES
10054 if test -z "$defaultval"; then
10055 if test x"$enablestring" = xdisable; then
10056 defaultval=yes
10057 else
10058 defaultval=no
10059 fi
10060 fi
10061
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10064 # Check whether --enable-comboctrl was given.
10065 if test "${enable_comboctrl+set}" = set; then
10066 enableval=$enable_comboctrl;
10067 if test "$enableval" = yes; then
10068 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10069 else
10070 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10071 fi
10072
10073 else
10074
10075 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10076
10077 fi
10078
10079
10080 eval "$wx_cv_use_comboctrl"
10081
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_COMBOCTRL = yes; then
10084 result=no
10085 else
10086 result=yes
10087 fi
10088 else
10089 result=$wxUSE_COMBOCTRL
10090 fi
10091
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10094
10095
10096 enablestring=
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10100 defaultval=yes
10101 else
10102 defaultval=no
10103 fi
10104 fi
10105
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10108 # Check whether --enable-datepick was given.
10109 if test "${enable_datepick+set}" = set; then
10110 enableval=$enable_datepick;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10113 else
10114 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10115 fi
10116
10117 else
10118
10119 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10120
10121 fi
10122
10123
10124 eval "$wx_cv_use_datepick"
10125
10126 if test x"$enablestring" = xdisable; then
10127 if test $wxUSE_DATEPICKCTRL = yes; then
10128 result=no
10129 else
10130 result=yes
10131 fi
10132 else
10133 result=$wxUSE_DATEPICKCTRL
10134 fi
10135
10136 { echo "$as_me:$LINENO: result: $result" >&5
10137 echo "${ECHO_T}$result" >&6; }
10138
10139
10140 enablestring=
10141 defaultval=$wxUSE_ALL_FEATURES
10142 if test -z "$defaultval"; then
10143 if test x"$enablestring" = xdisable; then
10144 defaultval=yes
10145 else
10146 defaultval=no
10147 fi
10148 fi
10149
10150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10152 # Check whether --enable-dirpicker was given.
10153 if test "${enable_dirpicker+set}" = set; then
10154 enableval=$enable_dirpicker;
10155 if test "$enableval" = yes; then
10156 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10157 else
10158 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10159 fi
10160
10161 else
10162
10163 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10164
10165 fi
10166
10167
10168 eval "$wx_cv_use_dirpicker"
10169
10170 if test x"$enablestring" = xdisable; then
10171 if test $wxUSE_DIRPICKERCTRL = yes; then
10172 result=no
10173 else
10174 result=yes
10175 fi
10176 else
10177 result=$wxUSE_DIRPICKERCTRL
10178 fi
10179
10180 { echo "$as_me:$LINENO: result: $result" >&5
10181 echo "${ECHO_T}$result" >&6; }
10182
10183
10184 enablestring=
10185 defaultval=$wxUSE_ALL_FEATURES
10186 if test -z "$defaultval"; then
10187 if test x"$enablestring" = xdisable; then
10188 defaultval=yes
10189 else
10190 defaultval=no
10191 fi
10192 fi
10193
10194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10196 # Check whether --enable-display was given.
10197 if test "${enable_display+set}" = set; then
10198 enableval=$enable_display;
10199 if test "$enableval" = yes; then
10200 wx_cv_use_display='wxUSE_DISPLAY=yes'
10201 else
10202 wx_cv_use_display='wxUSE_DISPLAY=no'
10203 fi
10204
10205 else
10206
10207 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10208
10209 fi
10210
10211
10212 eval "$wx_cv_use_display"
10213
10214 if test x"$enablestring" = xdisable; then
10215 if test $wxUSE_DISPLAY = yes; then
10216 result=no
10217 else
10218 result=yes
10219 fi
10220 else
10221 result=$wxUSE_DISPLAY
10222 fi
10223
10224 { echo "$as_me:$LINENO: result: $result" >&5
10225 echo "${ECHO_T}$result" >&6; }
10226
10227
10228 enablestring=
10229 defaultval=$wxUSE_ALL_FEATURES
10230 if test -z "$defaultval"; then
10231 if test x"$enablestring" = xdisable; then
10232 defaultval=yes
10233 else
10234 defaultval=no
10235 fi
10236 fi
10237
10238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10240 # Check whether --enable-detect_sm was given.
10241 if test "${enable_detect_sm+set}" = set; then
10242 enableval=$enable_detect_sm;
10243 if test "$enableval" = yes; then
10244 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10245 else
10246 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10247 fi
10248
10249 else
10250
10251 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10252
10253 fi
10254
10255
10256 eval "$wx_cv_use_detect_sm"
10257
10258 if test x"$enablestring" = xdisable; then
10259 if test $wxUSE_DETECT_SM = yes; then
10260 result=no
10261 else
10262 result=yes
10263 fi
10264 else
10265 result=$wxUSE_DETECT_SM
10266 fi
10267
10268 { echo "$as_me:$LINENO: result: $result" >&5
10269 echo "${ECHO_T}$result" >&6; }
10270
10271
10272 enablestring=
10273 defaultval=$wxUSE_ALL_FEATURES
10274 if test -z "$defaultval"; then
10275 if test x"$enablestring" = xdisable; then
10276 defaultval=yes
10277 else
10278 defaultval=no
10279 fi
10280 fi
10281
10282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10283 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10284 # Check whether --enable-editablebox was given.
10285 if test "${enable_editablebox+set}" = set; then
10286 enableval=$enable_editablebox;
10287 if test "$enableval" = yes; then
10288 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10289 else
10290 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10291 fi
10292
10293 else
10294
10295 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10296
10297 fi
10298
10299
10300 eval "$wx_cv_use_editablebox"
10301
10302 if test x"$enablestring" = xdisable; then
10303 if test $wxUSE_EDITABLELISTBOX = yes; then
10304 result=no
10305 else
10306 result=yes
10307 fi
10308 else
10309 result=$wxUSE_EDITABLELISTBOX
10310 fi
10311
10312 { echo "$as_me:$LINENO: result: $result" >&5
10313 echo "${ECHO_T}$result" >&6; }
10314
10315
10316 enablestring=
10317 defaultval=$wxUSE_ALL_FEATURES
10318 if test -z "$defaultval"; then
10319 if test x"$enablestring" = xdisable; then
10320 defaultval=yes
10321 else
10322 defaultval=no
10323 fi
10324 fi
10325
10326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10327 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10328 # Check whether --enable-filepicker was given.
10329 if test "${enable_filepicker+set}" = set; then
10330 enableval=$enable_filepicker;
10331 if test "$enableval" = yes; then
10332 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10333 else
10334 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10335 fi
10336
10337 else
10338
10339 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10340
10341 fi
10342
10343
10344 eval "$wx_cv_use_filepicker"
10345
10346 if test x"$enablestring" = xdisable; then
10347 if test $wxUSE_FILEPICKERCTRL = yes; then
10348 result=no
10349 else
10350 result=yes
10351 fi
10352 else
10353 result=$wxUSE_FILEPICKERCTRL
10354 fi
10355
10356 { echo "$as_me:$LINENO: result: $result" >&5
10357 echo "${ECHO_T}$result" >&6; }
10358
10359
10360 enablestring=
10361 defaultval=$wxUSE_ALL_FEATURES
10362 if test -z "$defaultval"; then
10363 if test x"$enablestring" = xdisable; then
10364 defaultval=yes
10365 else
10366 defaultval=no
10367 fi
10368 fi
10369
10370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10372 # Check whether --enable-filectrl was given.
10373 if test "${enable_filectrl+set}" = set; then
10374 enableval=$enable_filectrl;
10375 if test "$enableval" = yes; then
10376 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10377 else
10378 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10379 fi
10380
10381 else
10382
10383 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10384
10385 fi
10386
10387
10388 eval "$wx_cv_use_filectrl"
10389
10390 if test x"$enablestring" = xdisable; then
10391 if test $wxUSE_FILECTRL = yes; then
10392 result=no
10393 else
10394 result=yes
10395 fi
10396 else
10397 result=$wxUSE_FILECTRL
10398 fi
10399
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10402
10403
10404 enablestring=
10405 defaultval=$wxUSE_ALL_FEATURES
10406 if test -z "$defaultval"; then
10407 if test x"$enablestring" = xdisable; then
10408 defaultval=yes
10409 else
10410 defaultval=no
10411 fi
10412 fi
10413
10414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10416 # Check whether --enable-fontpicker was given.
10417 if test "${enable_fontpicker+set}" = set; then
10418 enableval=$enable_fontpicker;
10419 if test "$enableval" = yes; then
10420 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10421 else
10422 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10423 fi
10424
10425 else
10426
10427 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10428
10429 fi
10430
10431
10432 eval "$wx_cv_use_fontpicker"
10433
10434 if test x"$enablestring" = xdisable; then
10435 if test $wxUSE_FONTPICKERCTRL = yes; then
10436 result=no
10437 else
10438 result=yes
10439 fi
10440 else
10441 result=$wxUSE_FONTPICKERCTRL
10442 fi
10443
10444 { echo "$as_me:$LINENO: result: $result" >&5
10445 echo "${ECHO_T}$result" >&6; }
10446
10447
10448 enablestring=
10449 defaultval=$wxUSE_ALL_FEATURES
10450 if test -z "$defaultval"; then
10451 if test x"$enablestring" = xdisable; then
10452 defaultval=yes
10453 else
10454 defaultval=no
10455 fi
10456 fi
10457
10458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10460 # Check whether --enable-gauge was given.
10461 if test "${enable_gauge+set}" = set; then
10462 enableval=$enable_gauge;
10463 if test "$enableval" = yes; then
10464 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10465 else
10466 wx_cv_use_gauge='wxUSE_GAUGE=no'
10467 fi
10468
10469 else
10470
10471 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10472
10473 fi
10474
10475
10476 eval "$wx_cv_use_gauge"
10477
10478 if test x"$enablestring" = xdisable; then
10479 if test $wxUSE_GAUGE = yes; then
10480 result=no
10481 else
10482 result=yes
10483 fi
10484 else
10485 result=$wxUSE_GAUGE
10486 fi
10487
10488 { echo "$as_me:$LINENO: result: $result" >&5
10489 echo "${ECHO_T}$result" >&6; }
10490
10491
10492 enablestring=
10493 defaultval=$wxUSE_ALL_FEATURES
10494 if test -z "$defaultval"; then
10495 if test x"$enablestring" = xdisable; then
10496 defaultval=yes
10497 else
10498 defaultval=no
10499 fi
10500 fi
10501
10502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10504 # Check whether --enable-grid was given.
10505 if test "${enable_grid+set}" = set; then
10506 enableval=$enable_grid;
10507 if test "$enableval" = yes; then
10508 wx_cv_use_grid='wxUSE_GRID=yes'
10509 else
10510 wx_cv_use_grid='wxUSE_GRID=no'
10511 fi
10512
10513 else
10514
10515 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10516
10517 fi
10518
10519
10520 eval "$wx_cv_use_grid"
10521
10522 if test x"$enablestring" = xdisable; then
10523 if test $wxUSE_GRID = yes; then
10524 result=no
10525 else
10526 result=yes
10527 fi
10528 else
10529 result=$wxUSE_GRID
10530 fi
10531
10532 { echo "$as_me:$LINENO: result: $result" >&5
10533 echo "${ECHO_T}$result" >&6; }
10534
10535
10536 enablestring=
10537 defaultval=$wxUSE_ALL_FEATURES
10538 if test -z "$defaultval"; then
10539 if test x"$enablestring" = xdisable; then
10540 defaultval=yes
10541 else
10542 defaultval=no
10543 fi
10544 fi
10545
10546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10548 # Check whether --enable-dataviewctrl was given.
10549 if test "${enable_dataviewctrl+set}" = set; then
10550 enableval=$enable_dataviewctrl;
10551 if test "$enableval" = yes; then
10552 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10553 else
10554 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10555 fi
10556
10557 else
10558
10559 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10560
10561 fi
10562
10563
10564 eval "$wx_cv_use_dataviewctrl"
10565
10566 if test x"$enablestring" = xdisable; then
10567 if test $wxUSE_DATAVIEWCTRL = yes; then
10568 result=no
10569 else
10570 result=yes
10571 fi
10572 else
10573 result=$wxUSE_DATAVIEWCTRL
10574 fi
10575
10576 { echo "$as_me:$LINENO: result: $result" >&5
10577 echo "${ECHO_T}$result" >&6; }
10578
10579
10580 enablestring=
10581 defaultval=$wxUSE_ALL_FEATURES
10582 if test -z "$defaultval"; then
10583 if test x"$enablestring" = xdisable; then
10584 defaultval=yes
10585 else
10586 defaultval=no
10587 fi
10588 fi
10589
10590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10591 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10592 # Check whether --enable-hyperlink was given.
10593 if test "${enable_hyperlink+set}" = set; then
10594 enableval=$enable_hyperlink;
10595 if test "$enableval" = yes; then
10596 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10597 else
10598 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10599 fi
10600
10601 else
10602
10603 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10604
10605 fi
10606
10607
10608 eval "$wx_cv_use_hyperlink"
10609
10610 if test x"$enablestring" = xdisable; then
10611 if test $wxUSE_HYPERLINKCTRL = yes; then
10612 result=no
10613 else
10614 result=yes
10615 fi
10616 else
10617 result=$wxUSE_HYPERLINKCTRL
10618 fi
10619
10620 { echo "$as_me:$LINENO: result: $result" >&5
10621 echo "${ECHO_T}$result" >&6; }
10622
10623
10624 enablestring=
10625 defaultval=$wxUSE_ALL_FEATURES
10626 if test -z "$defaultval"; then
10627 if test x"$enablestring" = xdisable; then
10628 defaultval=yes
10629 else
10630 defaultval=no
10631 fi
10632 fi
10633
10634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10635 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10636 # Check whether --enable-imaglist was given.
10637 if test "${enable_imaglist+set}" = set; then
10638 enableval=$enable_imaglist;
10639 if test "$enableval" = yes; then
10640 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10641 else
10642 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10643 fi
10644
10645 else
10646
10647 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10648
10649 fi
10650
10651
10652 eval "$wx_cv_use_imaglist"
10653
10654 if test x"$enablestring" = xdisable; then
10655 if test $wxUSE_IMAGLIST = yes; then
10656 result=no
10657 else
10658 result=yes
10659 fi
10660 else
10661 result=$wxUSE_IMAGLIST
10662 fi
10663
10664 { echo "$as_me:$LINENO: result: $result" >&5
10665 echo "${ECHO_T}$result" >&6; }
10666
10667
10668 enablestring=
10669 defaultval=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x"$enablestring" = xdisable; then
10672 defaultval=yes
10673 else
10674 defaultval=no
10675 fi
10676 fi
10677
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10680 # Check whether --enable-listbook was given.
10681 if test "${enable_listbook+set}" = set; then
10682 enableval=$enable_listbook;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10685 else
10686 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10687 fi
10688
10689 else
10690
10691 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10692
10693 fi
10694
10695
10696 eval "$wx_cv_use_listbook"
10697
10698 if test x"$enablestring" = xdisable; then
10699 if test $wxUSE_LISTBOOK = yes; then
10700 result=no
10701 else
10702 result=yes
10703 fi
10704 else
10705 result=$wxUSE_LISTBOOK
10706 fi
10707
10708 { echo "$as_me:$LINENO: result: $result" >&5
10709 echo "${ECHO_T}$result" >&6; }
10710
10711
10712 enablestring=
10713 defaultval=$wxUSE_ALL_FEATURES
10714 if test -z "$defaultval"; then
10715 if test x"$enablestring" = xdisable; then
10716 defaultval=yes
10717 else
10718 defaultval=no
10719 fi
10720 fi
10721
10722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10723 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10724 # Check whether --enable-listbox was given.
10725 if test "${enable_listbox+set}" = set; then
10726 enableval=$enable_listbox;
10727 if test "$enableval" = yes; then
10728 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10729 else
10730 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10731 fi
10732
10733 else
10734
10735 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10736
10737 fi
10738
10739
10740 eval "$wx_cv_use_listbox"
10741
10742 if test x"$enablestring" = xdisable; then
10743 if test $wxUSE_LISTBOX = yes; then
10744 result=no
10745 else
10746 result=yes
10747 fi
10748 else
10749 result=$wxUSE_LISTBOX
10750 fi
10751
10752 { echo "$as_me:$LINENO: result: $result" >&5
10753 echo "${ECHO_T}$result" >&6; }
10754
10755
10756 enablestring=
10757 defaultval=$wxUSE_ALL_FEATURES
10758 if test -z "$defaultval"; then
10759 if test x"$enablestring" = xdisable; then
10760 defaultval=yes
10761 else
10762 defaultval=no
10763 fi
10764 fi
10765
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10768 # Check whether --enable-listctrl was given.
10769 if test "${enable_listctrl+set}" = set; then
10770 enableval=$enable_listctrl;
10771 if test "$enableval" = yes; then
10772 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10773 else
10774 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10775 fi
10776
10777 else
10778
10779 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10780
10781 fi
10782
10783
10784 eval "$wx_cv_use_listctrl"
10785
10786 if test x"$enablestring" = xdisable; then
10787 if test $wxUSE_LISTCTRL = yes; then
10788 result=no
10789 else
10790 result=yes
10791 fi
10792 else
10793 result=$wxUSE_LISTCTRL
10794 fi
10795
10796 { echo "$as_me:$LINENO: result: $result" >&5
10797 echo "${ECHO_T}$result" >&6; }
10798
10799
10800 enablestring=
10801 defaultval=$wxUSE_ALL_FEATURES
10802 if test -z "$defaultval"; then
10803 if test x"$enablestring" = xdisable; then
10804 defaultval=yes
10805 else
10806 defaultval=no
10807 fi
10808 fi
10809
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10812 # Check whether --enable-notebook was given.
10813 if test "${enable_notebook+set}" = set; then
10814 enableval=$enable_notebook;
10815 if test "$enableval" = yes; then
10816 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10817 else
10818 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10819 fi
10820
10821 else
10822
10823 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10824
10825 fi
10826
10827
10828 eval "$wx_cv_use_notebook"
10829
10830 if test x"$enablestring" = xdisable; then
10831 if test $wxUSE_NOTEBOOK = yes; then
10832 result=no
10833 else
10834 result=yes
10835 fi
10836 else
10837 result=$wxUSE_NOTEBOOK
10838 fi
10839
10840 { echo "$as_me:$LINENO: result: $result" >&5
10841 echo "${ECHO_T}$result" >&6; }
10842
10843
10844 enablestring=
10845 defaultval=$wxUSE_ALL_FEATURES
10846 if test -z "$defaultval"; then
10847 if test x"$enablestring" = xdisable; then
10848 defaultval=yes
10849 else
10850 defaultval=no
10851 fi
10852 fi
10853
10854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10855 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10856 # Check whether --enable-notifmsg was given.
10857 if test "${enable_notifmsg+set}" = set; then
10858 enableval=$enable_notifmsg;
10859 if test "$enableval" = yes; then
10860 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10861 else
10862 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10863 fi
10864
10865 else
10866
10867 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10868
10869 fi
10870
10871
10872 eval "$wx_cv_use_notifmsg"
10873
10874 if test x"$enablestring" = xdisable; then
10875 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10876 result=no
10877 else
10878 result=yes
10879 fi
10880 else
10881 result=$wxUSE_NOTIFICATION_MESSAGE
10882 fi
10883
10884 { echo "$as_me:$LINENO: result: $result" >&5
10885 echo "${ECHO_T}$result" >&6; }
10886
10887
10888 enablestring=
10889 defaultval=$wxUSE_ALL_FEATURES
10890 if test -z "$defaultval"; then
10891 if test x"$enablestring" = xdisable; then
10892 defaultval=yes
10893 else
10894 defaultval=no
10895 fi
10896 fi
10897
10898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10899 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10900 # Check whether --enable-odcombobox was given.
10901 if test "${enable_odcombobox+set}" = set; then
10902 enableval=$enable_odcombobox;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10905 else
10906 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10907 fi
10908
10909 else
10910
10911 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10912
10913 fi
10914
10915
10916 eval "$wx_cv_use_odcombobox"
10917
10918 if test x"$enablestring" = xdisable; then
10919 if test $wxUSE_ODCOMBOBOX = yes; then
10920 result=no
10921 else
10922 result=yes
10923 fi
10924 else
10925 result=$wxUSE_ODCOMBOBOX
10926 fi
10927
10928 { echo "$as_me:$LINENO: result: $result" >&5
10929 echo "${ECHO_T}$result" >&6; }
10930
10931
10932 enablestring=
10933 defaultval=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x"$enablestring" = xdisable; then
10936 defaultval=yes
10937 else
10938 defaultval=no
10939 fi
10940 fi
10941
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10944 # Check whether --enable-radiobox was given.
10945 if test "${enable_radiobox+set}" = set; then
10946 enableval=$enable_radiobox;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10949 else
10950 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10951 fi
10952
10953 else
10954
10955 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10956
10957 fi
10958
10959
10960 eval "$wx_cv_use_radiobox"
10961
10962 if test x"$enablestring" = xdisable; then
10963 if test $wxUSE_RADIOBOX = yes; then
10964 result=no
10965 else
10966 result=yes
10967 fi
10968 else
10969 result=$wxUSE_RADIOBOX
10970 fi
10971
10972 { echo "$as_me:$LINENO: result: $result" >&5
10973 echo "${ECHO_T}$result" >&6; }
10974
10975
10976 enablestring=
10977 defaultval=$wxUSE_ALL_FEATURES
10978 if test -z "$defaultval"; then
10979 if test x"$enablestring" = xdisable; then
10980 defaultval=yes
10981 else
10982 defaultval=no
10983 fi
10984 fi
10985
10986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10988 # Check whether --enable-radiobtn was given.
10989 if test "${enable_radiobtn+set}" = set; then
10990 enableval=$enable_radiobtn;
10991 if test "$enableval" = yes; then
10992 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10993 else
10994 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10995 fi
10996
10997 else
10998
10999 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11000
11001 fi
11002
11003
11004 eval "$wx_cv_use_radiobtn"
11005
11006 if test x"$enablestring" = xdisable; then
11007 if test $wxUSE_RADIOBTN = yes; then
11008 result=no
11009 else
11010 result=yes
11011 fi
11012 else
11013 result=$wxUSE_RADIOBTN
11014 fi
11015
11016 { echo "$as_me:$LINENO: result: $result" >&5
11017 echo "${ECHO_T}$result" >&6; }
11018
11019
11020 enablestring=
11021 defaultval=$wxUSE_ALL_FEATURES
11022 if test -z "$defaultval"; then
11023 if test x"$enablestring" = xdisable; then
11024 defaultval=yes
11025 else
11026 defaultval=no
11027 fi
11028 fi
11029
11030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11032 # Check whether --enable-sash was given.
11033 if test "${enable_sash+set}" = set; then
11034 enableval=$enable_sash;
11035 if test "$enableval" = yes; then
11036 wx_cv_use_sash='wxUSE_SASH=yes'
11037 else
11038 wx_cv_use_sash='wxUSE_SASH=no'
11039 fi
11040
11041 else
11042
11043 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11044
11045 fi
11046
11047
11048 eval "$wx_cv_use_sash"
11049
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_SASH = yes; then
11052 result=no
11053 else
11054 result=yes
11055 fi
11056 else
11057 result=$wxUSE_SASH
11058 fi
11059
11060 { echo "$as_me:$LINENO: result: $result" >&5
11061 echo "${ECHO_T}$result" >&6; }
11062
11063
11064 enablestring=
11065 defaultval=$wxUSE_ALL_FEATURES
11066 if test -z "$defaultval"; then
11067 if test x"$enablestring" = xdisable; then
11068 defaultval=yes
11069 else
11070 defaultval=no
11071 fi
11072 fi
11073
11074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11075 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11076 # Check whether --enable-scrollbar was given.
11077 if test "${enable_scrollbar+set}" = set; then
11078 enableval=$enable_scrollbar;
11079 if test "$enableval" = yes; then
11080 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11081 else
11082 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11083 fi
11084
11085 else
11086
11087 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11088
11089 fi
11090
11091
11092 eval "$wx_cv_use_scrollbar"
11093
11094 if test x"$enablestring" = xdisable; then
11095 if test $wxUSE_SCROLLBAR = yes; then
11096 result=no
11097 else
11098 result=yes
11099 fi
11100 else
11101 result=$wxUSE_SCROLLBAR
11102 fi
11103
11104 { echo "$as_me:$LINENO: result: $result" >&5
11105 echo "${ECHO_T}$result" >&6; }
11106
11107
11108 enablestring=
11109 defaultval=$wxUSE_ALL_FEATURES
11110 if test -z "$defaultval"; then
11111 if test x"$enablestring" = xdisable; then
11112 defaultval=yes
11113 else
11114 defaultval=no
11115 fi
11116 fi
11117
11118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11119 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11120 # Check whether --enable-searchctrl was given.
11121 if test "${enable_searchctrl+set}" = set; then
11122 enableval=$enable_searchctrl;
11123 if test "$enableval" = yes; then
11124 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11125 else
11126 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11127 fi
11128
11129 else
11130
11131 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11132
11133 fi
11134
11135
11136 eval "$wx_cv_use_searchctrl"
11137
11138 if test x"$enablestring" = xdisable; then
11139 if test $wxUSE_SEARCHCTRL = yes; then
11140 result=no
11141 else
11142 result=yes
11143 fi
11144 else
11145 result=$wxUSE_SEARCHCTRL
11146 fi
11147
11148 { echo "$as_me:$LINENO: result: $result" >&5
11149 echo "${ECHO_T}$result" >&6; }
11150
11151
11152 enablestring=
11153 defaultval=$wxUSE_ALL_FEATURES
11154 if test -z "$defaultval"; then
11155 if test x"$enablestring" = xdisable; then
11156 defaultval=yes
11157 else
11158 defaultval=no
11159 fi
11160 fi
11161
11162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11163 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11164 # Check whether --enable-slider was given.
11165 if test "${enable_slider+set}" = set; then
11166 enableval=$enable_slider;
11167 if test "$enableval" = yes; then
11168 wx_cv_use_slider='wxUSE_SLIDER=yes'
11169 else
11170 wx_cv_use_slider='wxUSE_SLIDER=no'
11171 fi
11172
11173 else
11174
11175 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11176
11177 fi
11178
11179
11180 eval "$wx_cv_use_slider"
11181
11182 if test x"$enablestring" = xdisable; then
11183 if test $wxUSE_SLIDER = yes; then
11184 result=no
11185 else
11186 result=yes
11187 fi
11188 else
11189 result=$wxUSE_SLIDER
11190 fi
11191
11192 { echo "$as_me:$LINENO: result: $result" >&5
11193 echo "${ECHO_T}$result" >&6; }
11194
11195
11196 enablestring=
11197 defaultval=$wxUSE_ALL_FEATURES
11198 if test -z "$defaultval"; then
11199 if test x"$enablestring" = xdisable; then
11200 defaultval=yes
11201 else
11202 defaultval=no
11203 fi
11204 fi
11205
11206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11208 # Check whether --enable-spinbtn was given.
11209 if test "${enable_spinbtn+set}" = set; then
11210 enableval=$enable_spinbtn;
11211 if test "$enableval" = yes; then
11212 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11213 else
11214 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11215 fi
11216
11217 else
11218
11219 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11220
11221 fi
11222
11223
11224 eval "$wx_cv_use_spinbtn"
11225
11226 if test x"$enablestring" = xdisable; then
11227 if test $wxUSE_SPINBTN = yes; then
11228 result=no
11229 else
11230 result=yes
11231 fi
11232 else
11233 result=$wxUSE_SPINBTN
11234 fi
11235
11236 { echo "$as_me:$LINENO: result: $result" >&5
11237 echo "${ECHO_T}$result" >&6; }
11238
11239
11240 enablestring=
11241 defaultval=$wxUSE_ALL_FEATURES
11242 if test -z "$defaultval"; then
11243 if test x"$enablestring" = xdisable; then
11244 defaultval=yes
11245 else
11246 defaultval=no
11247 fi
11248 fi
11249
11250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11251 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11252 # Check whether --enable-spinctrl was given.
11253 if test "${enable_spinctrl+set}" = set; then
11254 enableval=$enable_spinctrl;
11255 if test "$enableval" = yes; then
11256 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11257 else
11258 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11259 fi
11260
11261 else
11262
11263 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11264
11265 fi
11266
11267
11268 eval "$wx_cv_use_spinctrl"
11269
11270 if test x"$enablestring" = xdisable; then
11271 if test $wxUSE_SPINCTRL = yes; then
11272 result=no
11273 else
11274 result=yes
11275 fi
11276 else
11277 result=$wxUSE_SPINCTRL
11278 fi
11279
11280 { echo "$as_me:$LINENO: result: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11282
11283
11284 enablestring=
11285 defaultval=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x"$enablestring" = xdisable; then
11288 defaultval=yes
11289 else
11290 defaultval=no
11291 fi
11292 fi
11293
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11296 # Check whether --enable-splitter was given.
11297 if test "${enable_splitter+set}" = set; then
11298 enableval=$enable_splitter;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11301 else
11302 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11303 fi
11304
11305 else
11306
11307 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11308
11309 fi
11310
11311
11312 eval "$wx_cv_use_splitter"
11313
11314 if test x"$enablestring" = xdisable; then
11315 if test $wxUSE_SPLITTER = yes; then
11316 result=no
11317 else
11318 result=yes
11319 fi
11320 else
11321 result=$wxUSE_SPLITTER
11322 fi
11323
11324 { echo "$as_me:$LINENO: result: $result" >&5
11325 echo "${ECHO_T}$result" >&6; }
11326
11327
11328 enablestring=
11329 defaultval=$wxUSE_ALL_FEATURES
11330 if test -z "$defaultval"; then
11331 if test x"$enablestring" = xdisable; then
11332 defaultval=yes
11333 else
11334 defaultval=no
11335 fi
11336 fi
11337
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11340 # Check whether --enable-statbmp was given.
11341 if test "${enable_statbmp+set}" = set; then
11342 enableval=$enable_statbmp;
11343 if test "$enableval" = yes; then
11344 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11345 else
11346 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11347 fi
11348
11349 else
11350
11351 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11352
11353 fi
11354
11355
11356 eval "$wx_cv_use_statbmp"
11357
11358 if test x"$enablestring" = xdisable; then
11359 if test $wxUSE_STATBMP = yes; then
11360 result=no
11361 else
11362 result=yes
11363 fi
11364 else
11365 result=$wxUSE_STATBMP
11366 fi
11367
11368 { echo "$as_me:$LINENO: result: $result" >&5
11369 echo "${ECHO_T}$result" >&6; }
11370
11371
11372 enablestring=
11373 defaultval=$wxUSE_ALL_FEATURES
11374 if test -z "$defaultval"; then
11375 if test x"$enablestring" = xdisable; then
11376 defaultval=yes
11377 else
11378 defaultval=no
11379 fi
11380 fi
11381
11382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11383 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11384 # Check whether --enable-statbox was given.
11385 if test "${enable_statbox+set}" = set; then
11386 enableval=$enable_statbox;
11387 if test "$enableval" = yes; then
11388 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11389 else
11390 wx_cv_use_statbox='wxUSE_STATBOX=no'
11391 fi
11392
11393 else
11394
11395 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11396
11397 fi
11398
11399
11400 eval "$wx_cv_use_statbox"
11401
11402 if test x"$enablestring" = xdisable; then
11403 if test $wxUSE_STATBOX = yes; then
11404 result=no
11405 else
11406 result=yes
11407 fi
11408 else
11409 result=$wxUSE_STATBOX
11410 fi
11411
11412 { echo "$as_me:$LINENO: result: $result" >&5
11413 echo "${ECHO_T}$result" >&6; }
11414
11415
11416 enablestring=
11417 defaultval=$wxUSE_ALL_FEATURES
11418 if test -z "$defaultval"; then
11419 if test x"$enablestring" = xdisable; then
11420 defaultval=yes
11421 else
11422 defaultval=no
11423 fi
11424 fi
11425
11426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11427 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11428 # Check whether --enable-statline was given.
11429 if test "${enable_statline+set}" = set; then
11430 enableval=$enable_statline;
11431 if test "$enableval" = yes; then
11432 wx_cv_use_statline='wxUSE_STATLINE=yes'
11433 else
11434 wx_cv_use_statline='wxUSE_STATLINE=no'
11435 fi
11436
11437 else
11438
11439 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11440
11441 fi
11442
11443
11444 eval "$wx_cv_use_statline"
11445
11446 if test x"$enablestring" = xdisable; then
11447 if test $wxUSE_STATLINE = yes; then
11448 result=no
11449 else
11450 result=yes
11451 fi
11452 else
11453 result=$wxUSE_STATLINE
11454 fi
11455
11456 { echo "$as_me:$LINENO: result: $result" >&5
11457 echo "${ECHO_T}$result" >&6; }
11458
11459
11460 enablestring=
11461 defaultval=$wxUSE_ALL_FEATURES
11462 if test -z "$defaultval"; then
11463 if test x"$enablestring" = xdisable; then
11464 defaultval=yes
11465 else
11466 defaultval=no
11467 fi
11468 fi
11469
11470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11472 # Check whether --enable-stattext was given.
11473 if test "${enable_stattext+set}" = set; then
11474 enableval=$enable_stattext;
11475 if test "$enableval" = yes; then
11476 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11477 else
11478 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11479 fi
11480
11481 else
11482
11483 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11484
11485 fi
11486
11487
11488 eval "$wx_cv_use_stattext"
11489
11490 if test x"$enablestring" = xdisable; then
11491 if test $wxUSE_STATTEXT = yes; then
11492 result=no
11493 else
11494 result=yes
11495 fi
11496 else
11497 result=$wxUSE_STATTEXT
11498 fi
11499
11500 { echo "$as_me:$LINENO: result: $result" >&5
11501 echo "${ECHO_T}$result" >&6; }
11502
11503
11504 enablestring=
11505 defaultval=$wxUSE_ALL_FEATURES
11506 if test -z "$defaultval"; then
11507 if test x"$enablestring" = xdisable; then
11508 defaultval=yes
11509 else
11510 defaultval=no
11511 fi
11512 fi
11513
11514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11515 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11516 # Check whether --enable-statusbar was given.
11517 if test "${enable_statusbar+set}" = set; then
11518 enableval=$enable_statusbar;
11519 if test "$enableval" = yes; then
11520 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11521 else
11522 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11523 fi
11524
11525 else
11526
11527 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11528
11529 fi
11530
11531
11532 eval "$wx_cv_use_statusbar"
11533
11534 if test x"$enablestring" = xdisable; then
11535 if test $wxUSE_STATUSBAR = yes; then
11536 result=no
11537 else
11538 result=yes
11539 fi
11540 else
11541 result=$wxUSE_STATUSBAR
11542 fi
11543
11544 { echo "$as_me:$LINENO: result: $result" >&5
11545 echo "${ECHO_T}$result" >&6; }
11546
11547
11548 enablestring=
11549 defaultval=$wxUSE_ALL_FEATURES
11550 if test -z "$defaultval"; then
11551 if test x"$enablestring" = xdisable; then
11552 defaultval=yes
11553 else
11554 defaultval=no
11555 fi
11556 fi
11557
11558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11560 # Check whether --enable-tabdialog was given.
11561 if test "${enable_tabdialog+set}" = set; then
11562 enableval=$enable_tabdialog;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11565 else
11566 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11567 fi
11568
11569 else
11570
11571 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11572
11573 fi
11574
11575
11576 eval "$wx_cv_use_tabdialog"
11577
11578 if test x"$enablestring" = xdisable; then
11579 if test $wxUSE_TAB_DIALOG = yes; then
11580 result=no
11581 else
11582 result=yes
11583 fi
11584 else
11585 result=$wxUSE_TAB_DIALOG
11586 fi
11587
11588 { echo "$as_me:$LINENO: result: $result" >&5
11589 echo "${ECHO_T}$result" >&6; }
11590
11591
11592 enablestring=
11593 defaultval=$wxUSE_ALL_FEATURES
11594 if test -z "$defaultval"; then
11595 if test x"$enablestring" = xdisable; then
11596 defaultval=yes
11597 else
11598 defaultval=no
11599 fi
11600 fi
11601
11602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11603 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11604 # Check whether --enable-taskbaricon was given.
11605 if test "${enable_taskbaricon+set}" = set; then
11606 enableval=$enable_taskbaricon;
11607 if test "$enableval" = yes; then
11608 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11609 else
11610 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11611 fi
11612
11613 else
11614
11615 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11616
11617 fi
11618
11619
11620 eval "$wx_cv_use_taskbaricon"
11621
11622 if test x"$enablestring" = xdisable; then
11623 if test $wxUSE_TASKBARICON = yes; then
11624 result=no
11625 else
11626 result=yes
11627 fi
11628 else
11629 result=$wxUSE_TASKBARICON
11630 fi
11631
11632 { echo "$as_me:$LINENO: result: $result" >&5
11633 echo "${ECHO_T}$result" >&6; }
11634
11635
11636 enablestring=
11637 defaultval=$wxUSE_ALL_FEATURES
11638 if test -z "$defaultval"; then
11639 if test x"$enablestring" = xdisable; then
11640 defaultval=yes
11641 else
11642 defaultval=no
11643 fi
11644 fi
11645
11646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11647 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11648 # Check whether --enable-textctrl was given.
11649 if test "${enable_textctrl+set}" = set; then
11650 enableval=$enable_textctrl;
11651 if test "$enableval" = yes; then
11652 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11653 else
11654 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11655 fi
11656
11657 else
11658
11659 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11660
11661 fi
11662
11663
11664 eval "$wx_cv_use_textctrl"
11665
11666 if test x"$enablestring" = xdisable; then
11667 if test $wxUSE_TEXTCTRL = yes; then
11668 result=no
11669 else
11670 result=yes
11671 fi
11672 else
11673 result=$wxUSE_TEXTCTRL
11674 fi
11675
11676 { echo "$as_me:$LINENO: result: $result" >&5
11677 echo "${ECHO_T}$result" >&6; }
11678
11679
11680 enablestring=
11681 defaultval=$wxUSE_ALL_FEATURES
11682 if test -z "$defaultval"; then
11683 if test x"$enablestring" = xdisable; then
11684 defaultval=yes
11685 else
11686 defaultval=no
11687 fi
11688 fi
11689
11690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11691 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11692 # Check whether --enable-togglebtn was given.
11693 if test "${enable_togglebtn+set}" = set; then
11694 enableval=$enable_togglebtn;
11695 if test "$enableval" = yes; then
11696 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11697 else
11698 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11699 fi
11700
11701 else
11702
11703 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11704
11705 fi
11706
11707
11708 eval "$wx_cv_use_togglebtn"
11709
11710 if test x"$enablestring" = xdisable; then
11711 if test $wxUSE_TOGGLEBTN = yes; then
11712 result=no
11713 else
11714 result=yes
11715 fi
11716 else
11717 result=$wxUSE_TOGGLEBTN
11718 fi
11719
11720 { echo "$as_me:$LINENO: result: $result" >&5
11721 echo "${ECHO_T}$result" >&6; }
11722
11723
11724 enablestring=
11725 defaultval=$wxUSE_ALL_FEATURES
11726 if test -z "$defaultval"; then
11727 if test x"$enablestring" = xdisable; then
11728 defaultval=yes
11729 else
11730 defaultval=no
11731 fi
11732 fi
11733
11734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11735 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11736 # Check whether --enable-toolbar was given.
11737 if test "${enable_toolbar+set}" = set; then
11738 enableval=$enable_toolbar;
11739 if test "$enableval" = yes; then
11740 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11741 else
11742 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11743 fi
11744
11745 else
11746
11747 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11748
11749 fi
11750
11751
11752 eval "$wx_cv_use_toolbar"
11753
11754 if test x"$enablestring" = xdisable; then
11755 if test $wxUSE_TOOLBAR = yes; then
11756 result=no
11757 else
11758 result=yes
11759 fi
11760 else
11761 result=$wxUSE_TOOLBAR
11762 fi
11763
11764 { echo "$as_me:$LINENO: result: $result" >&5
11765 echo "${ECHO_T}$result" >&6; }
11766
11767
11768 enablestring=
11769 defaultval=$wxUSE_ALL_FEATURES
11770 if test -z "$defaultval"; then
11771 if test x"$enablestring" = xdisable; then
11772 defaultval=yes
11773 else
11774 defaultval=no
11775 fi
11776 fi
11777
11778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11780 # Check whether --enable-tbarnative was given.
11781 if test "${enable_tbarnative+set}" = set; then
11782 enableval=$enable_tbarnative;
11783 if test "$enableval" = yes; then
11784 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11785 else
11786 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11787 fi
11788
11789 else
11790
11791 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11792
11793 fi
11794
11795
11796 eval "$wx_cv_use_tbarnative"
11797
11798 if test x"$enablestring" = xdisable; then
11799 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11800 result=no
11801 else
11802 result=yes
11803 fi
11804 else
11805 result=$wxUSE_TOOLBAR_NATIVE
11806 fi
11807
11808 { echo "$as_me:$LINENO: result: $result" >&5
11809 echo "${ECHO_T}$result" >&6; }
11810
11811
11812 enablestring=
11813 defaultval=$wxUSE_ALL_FEATURES
11814 if test -z "$defaultval"; then
11815 if test x"$enablestring" = xdisable; then
11816 defaultval=yes
11817 else
11818 defaultval=no
11819 fi
11820 fi
11821
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11824 # Check whether --enable-treebook was given.
11825 if test "${enable_treebook+set}" = set; then
11826 enableval=$enable_treebook;
11827 if test "$enableval" = yes; then
11828 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11829 else
11830 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11831 fi
11832
11833 else
11834
11835 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11836
11837 fi
11838
11839
11840 eval "$wx_cv_use_treebook"
11841
11842 if test x"$enablestring" = xdisable; then
11843 if test $wxUSE_TREEBOOK = yes; then
11844 result=no
11845 else
11846 result=yes
11847 fi
11848 else
11849 result=$wxUSE_TREEBOOK
11850 fi
11851
11852 { echo "$as_me:$LINENO: result: $result" >&5
11853 echo "${ECHO_T}$result" >&6; }
11854
11855
11856 enablestring=
11857 defaultval=$wxUSE_ALL_FEATURES
11858 if test -z "$defaultval"; then
11859 if test x"$enablestring" = xdisable; then
11860 defaultval=yes
11861 else
11862 defaultval=no
11863 fi
11864 fi
11865
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11868 # Check whether --enable-toolbook was given.
11869 if test "${enable_toolbook+set}" = set; then
11870 enableval=$enable_toolbook;
11871 if test "$enableval" = yes; then
11872 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11873 else
11874 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11875 fi
11876
11877 else
11878
11879 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11880
11881 fi
11882
11883
11884 eval "$wx_cv_use_toolbook"
11885
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_TOOLBOOK = yes; then
11888 result=no
11889 else
11890 result=yes
11891 fi
11892 else
11893 result=$wxUSE_TOOLBOOK
11894 fi
11895
11896 { echo "$as_me:$LINENO: result: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11898
11899
11900 enablestring=
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11904 defaultval=yes
11905 else
11906 defaultval=no
11907 fi
11908 fi
11909
11910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11911 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11912 # Check whether --enable-treectrl was given.
11913 if test "${enable_treectrl+set}" = set; then
11914 enableval=$enable_treectrl;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11917 else
11918 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11919 fi
11920
11921 else
11922
11923 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11924
11925 fi
11926
11927
11928 eval "$wx_cv_use_treectrl"
11929
11930 if test x"$enablestring" = xdisable; then
11931 if test $wxUSE_TREECTRL = yes; then
11932 result=no
11933 else
11934 result=yes
11935 fi
11936 else
11937 result=$wxUSE_TREECTRL
11938 fi
11939
11940 { echo "$as_me:$LINENO: result: $result" >&5
11941 echo "${ECHO_T}$result" >&6; }
11942
11943
11944 enablestring=
11945 defaultval=$wxUSE_ALL_FEATURES
11946 if test -z "$defaultval"; then
11947 if test x"$enablestring" = xdisable; then
11948 defaultval=yes
11949 else
11950 defaultval=no
11951 fi
11952 fi
11953
11954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11955 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11956 # Check whether --enable-tipwindow was given.
11957 if test "${enable_tipwindow+set}" = set; then
11958 enableval=$enable_tipwindow;
11959 if test "$enableval" = yes; then
11960 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11961 else
11962 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11963 fi
11964
11965 else
11966
11967 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11968
11969 fi
11970
11971
11972 eval "$wx_cv_use_tipwindow"
11973
11974 if test x"$enablestring" = xdisable; then
11975 if test $wxUSE_TIPWINDOW = yes; then
11976 result=no
11977 else
11978 result=yes
11979 fi
11980 else
11981 result=$wxUSE_TIPWINDOW
11982 fi
11983
11984 { echo "$as_me:$LINENO: result: $result" >&5
11985 echo "${ECHO_T}$result" >&6; }
11986
11987
11988 enablestring=
11989 defaultval=$wxUSE_ALL_FEATURES
11990 if test -z "$defaultval"; then
11991 if test x"$enablestring" = xdisable; then
11992 defaultval=yes
11993 else
11994 defaultval=no
11995 fi
11996 fi
11997
11998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11999 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12000 # Check whether --enable-popupwin was given.
12001 if test "${enable_popupwin+set}" = set; then
12002 enableval=$enable_popupwin;
12003 if test "$enableval" = yes; then
12004 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12005 else
12006 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12007 fi
12008
12009 else
12010
12011 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12012
12013 fi
12014
12015
12016 eval "$wx_cv_use_popupwin"
12017
12018 if test x"$enablestring" = xdisable; then
12019 if test $wxUSE_POPUPWIN = yes; then
12020 result=no
12021 else
12022 result=yes
12023 fi
12024 else
12025 result=$wxUSE_POPUPWIN
12026 fi
12027
12028 { echo "$as_me:$LINENO: result: $result" >&5
12029 echo "${ECHO_T}$result" >&6; }
12030
12031
12032
12033
12034 enablestring=
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12038 defaultval=yes
12039 else
12040 defaultval=no
12041 fi
12042 fi
12043
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12046 # Check whether --enable-commondlg was given.
12047 if test "${enable_commondlg+set}" = set; then
12048 enableval=$enable_commondlg;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12051 else
12052 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12053 fi
12054
12055 else
12056
12057 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12058
12059 fi
12060
12061
12062 eval "$wx_cv_use_commondlg"
12063
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_COMMONDLGS = yes; then
12066 result=no
12067 else
12068 result=yes
12069 fi
12070 else
12071 result=$wxUSE_COMMONDLGS
12072 fi
12073
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12076
12077
12078 enablestring=
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12082 defaultval=yes
12083 else
12084 defaultval=no
12085 fi
12086 fi
12087
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12090 # Check whether --enable-aboutdlg was given.
12091 if test "${enable_aboutdlg+set}" = set; then
12092 enableval=$enable_aboutdlg;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12095 else
12096 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12097 fi
12098
12099 else
12100
12101 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12102
12103 fi
12104
12105
12106 eval "$wx_cv_use_aboutdlg"
12107
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_ABOUTDLG = yes; then
12110 result=no
12111 else
12112 result=yes
12113 fi
12114 else
12115 result=$wxUSE_ABOUTDLG
12116 fi
12117
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12120
12121
12122 enablestring=
12123 defaultval=$wxUSE_ALL_FEATURES
12124 if test -z "$defaultval"; then
12125 if test x"$enablestring" = xdisable; then
12126 defaultval=yes
12127 else
12128 defaultval=no
12129 fi
12130 fi
12131
12132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12133 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12134 # Check whether --enable-choicedlg was given.
12135 if test "${enable_choicedlg+set}" = set; then
12136 enableval=$enable_choicedlg;
12137 if test "$enableval" = yes; then
12138 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12139 else
12140 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12141 fi
12142
12143 else
12144
12145 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12146
12147 fi
12148
12149
12150 eval "$wx_cv_use_choicedlg"
12151
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_CHOICEDLG = yes; then
12154 result=no
12155 else
12156 result=yes
12157 fi
12158 else
12159 result=$wxUSE_CHOICEDLG
12160 fi
12161
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12164
12165
12166 enablestring=
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12170 defaultval=yes
12171 else
12172 defaultval=no
12173 fi
12174 fi
12175
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12178 # Check whether --enable-coldlg was given.
12179 if test "${enable_coldlg+set}" = set; then
12180 enableval=$enable_coldlg;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12183 else
12184 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12185 fi
12186
12187 else
12188
12189 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12190
12191 fi
12192
12193
12194 eval "$wx_cv_use_coldlg"
12195
12196 if test x"$enablestring" = xdisable; then
12197 if test $wxUSE_COLOURDLG = yes; then
12198 result=no
12199 else
12200 result=yes
12201 fi
12202 else
12203 result=$wxUSE_COLOURDLG
12204 fi
12205
12206 { echo "$as_me:$LINENO: result: $result" >&5
12207 echo "${ECHO_T}$result" >&6; }
12208
12209
12210 enablestring=
12211 defaultval=$wxUSE_ALL_FEATURES
12212 if test -z "$defaultval"; then
12213 if test x"$enablestring" = xdisable; then
12214 defaultval=yes
12215 else
12216 defaultval=no
12217 fi
12218 fi
12219
12220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12221 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12222 # Check whether --enable-filedlg was given.
12223 if test "${enable_filedlg+set}" = set; then
12224 enableval=$enable_filedlg;
12225 if test "$enableval" = yes; then
12226 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12227 else
12228 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12229 fi
12230
12231 else
12232
12233 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12234
12235 fi
12236
12237
12238 eval "$wx_cv_use_filedlg"
12239
12240 if test x"$enablestring" = xdisable; then
12241 if test $wxUSE_FILEDLG = yes; then
12242 result=no
12243 else
12244 result=yes
12245 fi
12246 else
12247 result=$wxUSE_FILEDLG
12248 fi
12249
12250 { echo "$as_me:$LINENO: result: $result" >&5
12251 echo "${ECHO_T}$result" >&6; }
12252
12253
12254 enablestring=
12255 defaultval=$wxUSE_ALL_FEATURES
12256 if test -z "$defaultval"; then
12257 if test x"$enablestring" = xdisable; then
12258 defaultval=yes
12259 else
12260 defaultval=no
12261 fi
12262 fi
12263
12264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12265 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12266 # Check whether --enable-finddlg was given.
12267 if test "${enable_finddlg+set}" = set; then
12268 enableval=$enable_finddlg;
12269 if test "$enableval" = yes; then
12270 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12271 else
12272 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12273 fi
12274
12275 else
12276
12277 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12278
12279 fi
12280
12281
12282 eval "$wx_cv_use_finddlg"
12283
12284 if test x"$enablestring" = xdisable; then
12285 if test $wxUSE_FINDREPLDLG = yes; then
12286 result=no
12287 else
12288 result=yes
12289 fi
12290 else
12291 result=$wxUSE_FINDREPLDLG
12292 fi
12293
12294 { echo "$as_me:$LINENO: result: $result" >&5
12295 echo "${ECHO_T}$result" >&6; }
12296
12297
12298 enablestring=
12299 defaultval=$wxUSE_ALL_FEATURES
12300 if test -z "$defaultval"; then
12301 if test x"$enablestring" = xdisable; then
12302 defaultval=yes
12303 else
12304 defaultval=no
12305 fi
12306 fi
12307
12308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12309 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12310 # Check whether --enable-fontdlg was given.
12311 if test "${enable_fontdlg+set}" = set; then
12312 enableval=$enable_fontdlg;
12313 if test "$enableval" = yes; then
12314 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12315 else
12316 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12317 fi
12318
12319 else
12320
12321 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12322
12323 fi
12324
12325
12326 eval "$wx_cv_use_fontdlg"
12327
12328 if test x"$enablestring" = xdisable; then
12329 if test $wxUSE_FONTDLG = yes; then
12330 result=no
12331 else
12332 result=yes
12333 fi
12334 else
12335 result=$wxUSE_FONTDLG
12336 fi
12337
12338 { echo "$as_me:$LINENO: result: $result" >&5
12339 echo "${ECHO_T}$result" >&6; }
12340
12341
12342 enablestring=
12343 defaultval=$wxUSE_ALL_FEATURES
12344 if test -z "$defaultval"; then
12345 if test x"$enablestring" = xdisable; then
12346 defaultval=yes
12347 else
12348 defaultval=no
12349 fi
12350 fi
12351
12352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12353 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12354 # Check whether --enable-dirdlg was given.
12355 if test "${enable_dirdlg+set}" = set; then
12356 enableval=$enable_dirdlg;
12357 if test "$enableval" = yes; then
12358 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12359 else
12360 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12361 fi
12362
12363 else
12364
12365 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12366
12367 fi
12368
12369
12370 eval "$wx_cv_use_dirdlg"
12371
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_DIRDLG = yes; then
12374 result=no
12375 else
12376 result=yes
12377 fi
12378 else
12379 result=$wxUSE_DIRDLG
12380 fi
12381
12382 { echo "$as_me:$LINENO: result: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12384
12385
12386 enablestring=
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12390 defaultval=yes
12391 else
12392 defaultval=no
12393 fi
12394 fi
12395
12396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12397 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12398 # Check whether --enable-msgdlg was given.
12399 if test "${enable_msgdlg+set}" = set; then
12400 enableval=$enable_msgdlg;
12401 if test "$enableval" = yes; then
12402 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12403 else
12404 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12405 fi
12406
12407 else
12408
12409 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12410
12411 fi
12412
12413
12414 eval "$wx_cv_use_msgdlg"
12415
12416 if test x"$enablestring" = xdisable; then
12417 if test $wxUSE_MSGDLG = yes; then
12418 result=no
12419 else
12420 result=yes
12421 fi
12422 else
12423 result=$wxUSE_MSGDLG
12424 fi
12425
12426 { echo "$as_me:$LINENO: result: $result" >&5
12427 echo "${ECHO_T}$result" >&6; }
12428
12429
12430 enablestring=
12431 defaultval=$wxUSE_ALL_FEATURES
12432 if test -z "$defaultval"; then
12433 if test x"$enablestring" = xdisable; then
12434 defaultval=yes
12435 else
12436 defaultval=no
12437 fi
12438 fi
12439
12440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12441 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12442 # Check whether --enable-numberdlg was given.
12443 if test "${enable_numberdlg+set}" = set; then
12444 enableval=$enable_numberdlg;
12445 if test "$enableval" = yes; then
12446 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12447 else
12448 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12449 fi
12450
12451 else
12452
12453 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12454
12455 fi
12456
12457
12458 eval "$wx_cv_use_numberdlg"
12459
12460 if test x"$enablestring" = xdisable; then
12461 if test $wxUSE_NUMBERDLG = yes; then
12462 result=no
12463 else
12464 result=yes
12465 fi
12466 else
12467 result=$wxUSE_NUMBERDLG
12468 fi
12469
12470 { echo "$as_me:$LINENO: result: $result" >&5
12471 echo "${ECHO_T}$result" >&6; }
12472
12473
12474 enablestring=
12475 defaultval=$wxUSE_ALL_FEATURES
12476 if test -z "$defaultval"; then
12477 if test x"$enablestring" = xdisable; then
12478 defaultval=yes
12479 else
12480 defaultval=no
12481 fi
12482 fi
12483
12484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12485 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12486 # Check whether --enable-splash was given.
12487 if test "${enable_splash+set}" = set; then
12488 enableval=$enable_splash;
12489 if test "$enableval" = yes; then
12490 wx_cv_use_splash='wxUSE_SPLASH=yes'
12491 else
12492 wx_cv_use_splash='wxUSE_SPLASH=no'
12493 fi
12494
12495 else
12496
12497 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12498
12499 fi
12500
12501
12502 eval "$wx_cv_use_splash"
12503
12504 if test x"$enablestring" = xdisable; then
12505 if test $wxUSE_SPLASH = yes; then
12506 result=no
12507 else
12508 result=yes
12509 fi
12510 else
12511 result=$wxUSE_SPLASH
12512 fi
12513
12514 { echo "$as_me:$LINENO: result: $result" >&5
12515 echo "${ECHO_T}$result" >&6; }
12516
12517
12518 enablestring=
12519 defaultval=$wxUSE_ALL_FEATURES
12520 if test -z "$defaultval"; then
12521 if test x"$enablestring" = xdisable; then
12522 defaultval=yes
12523 else
12524 defaultval=no
12525 fi
12526 fi
12527
12528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12529 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12530 # Check whether --enable-textdlg was given.
12531 if test "${enable_textdlg+set}" = set; then
12532 enableval=$enable_textdlg;
12533 if test "$enableval" = yes; then
12534 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12535 else
12536 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12537 fi
12538
12539 else
12540
12541 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12542
12543 fi
12544
12545
12546 eval "$wx_cv_use_textdlg"
12547
12548 if test x"$enablestring" = xdisable; then
12549 if test $wxUSE_TEXTDLG = yes; then
12550 result=no
12551 else
12552 result=yes
12553 fi
12554 else
12555 result=$wxUSE_TEXTDLG
12556 fi
12557
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12560
12561
12562 enablestring=
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12566 defaultval=yes
12567 else
12568 defaultval=no
12569 fi
12570 fi
12571
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12574 # Check whether --enable-tipdlg was given.
12575 if test "${enable_tipdlg+set}" = set; then
12576 enableval=$enable_tipdlg;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12579 else
12580 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12581 fi
12582
12583 else
12584
12585 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12586
12587 fi
12588
12589
12590 eval "$wx_cv_use_tipdlg"
12591
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_STARTUP_TIPS = yes; then
12594 result=no
12595 else
12596 result=yes
12597 fi
12598 else
12599 result=$wxUSE_STARTUP_TIPS
12600 fi
12601
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12604
12605
12606 enablestring=
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12610 defaultval=yes
12611 else
12612 defaultval=no
12613 fi
12614 fi
12615
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12618 # Check whether --enable-progressdlg was given.
12619 if test "${enable_progressdlg+set}" = set; then
12620 enableval=$enable_progressdlg;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12623 else
12624 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12625 fi
12626
12627 else
12628
12629 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12630
12631 fi
12632
12633
12634 eval "$wx_cv_use_progressdlg"
12635
12636 if test x"$enablestring" = xdisable; then
12637 if test $wxUSE_PROGRESSDLG = yes; then
12638 result=no
12639 else
12640 result=yes
12641 fi
12642 else
12643 result=$wxUSE_PROGRESSDLG
12644 fi
12645
12646 { echo "$as_me:$LINENO: result: $result" >&5
12647 echo "${ECHO_T}$result" >&6; }
12648
12649
12650 enablestring=
12651 defaultval=$wxUSE_ALL_FEATURES
12652 if test -z "$defaultval"; then
12653 if test x"$enablestring" = xdisable; then
12654 defaultval=yes
12655 else
12656 defaultval=no
12657 fi
12658 fi
12659
12660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12661 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12662 # Check whether --enable-wizarddlg was given.
12663 if test "${enable_wizarddlg+set}" = set; then
12664 enableval=$enable_wizarddlg;
12665 if test "$enableval" = yes; then
12666 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12667 else
12668 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12669 fi
12670
12671 else
12672
12673 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12674
12675 fi
12676
12677
12678 eval "$wx_cv_use_wizarddlg"
12679
12680 if test x"$enablestring" = xdisable; then
12681 if test $wxUSE_WIZARDDLG = yes; then
12682 result=no
12683 else
12684 result=yes
12685 fi
12686 else
12687 result=$wxUSE_WIZARDDLG
12688 fi
12689
12690 { echo "$as_me:$LINENO: result: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12692
12693
12694
12695
12696 enablestring=
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12700 defaultval=yes
12701 else
12702 defaultval=no
12703 fi
12704 fi
12705
12706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12707 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12708 # Check whether --enable-menus was given.
12709 if test "${enable_menus+set}" = set; then
12710 enableval=$enable_menus;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_menus='wxUSE_MENUS=yes'
12713 else
12714 wx_cv_use_menus='wxUSE_MENUS=no'
12715 fi
12716
12717 else
12718
12719 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12720
12721 fi
12722
12723
12724 eval "$wx_cv_use_menus"
12725
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_MENUS = yes; then
12728 result=no
12729 else
12730 result=yes
12731 fi
12732 else
12733 result=$wxUSE_MENUS
12734 fi
12735
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12738
12739
12740 enablestring=
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12744 defaultval=yes
12745 else
12746 defaultval=no
12747 fi
12748 fi
12749
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12752 # Check whether --enable-miniframe was given.
12753 if test "${enable_miniframe+set}" = set; then
12754 enableval=$enable_miniframe;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12757 else
12758 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12759 fi
12760
12761 else
12762
12763 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12764
12765 fi
12766
12767
12768 eval "$wx_cv_use_miniframe"
12769
12770 if test x"$enablestring" = xdisable; then
12771 if test $wxUSE_MINIFRAME = yes; then
12772 result=no
12773 else
12774 result=yes
12775 fi
12776 else
12777 result=$wxUSE_MINIFRAME
12778 fi
12779
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12782
12783
12784 enablestring=
12785 defaultval=$wxUSE_ALL_FEATURES
12786 if test -z "$defaultval"; then
12787 if test x"$enablestring" = xdisable; then
12788 defaultval=yes
12789 else
12790 defaultval=no
12791 fi
12792 fi
12793
12794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12795 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12796 # Check whether --enable-tooltips was given.
12797 if test "${enable_tooltips+set}" = set; then
12798 enableval=$enable_tooltips;
12799 if test "$enableval" = yes; then
12800 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12801 else
12802 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12803 fi
12804
12805 else
12806
12807 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12808
12809 fi
12810
12811
12812 eval "$wx_cv_use_tooltips"
12813
12814 if test x"$enablestring" = xdisable; then
12815 if test $wxUSE_TOOLTIPS = yes; then
12816 result=no
12817 else
12818 result=yes
12819 fi
12820 else
12821 result=$wxUSE_TOOLTIPS
12822 fi
12823
12824 { echo "$as_me:$LINENO: result: $result" >&5
12825 echo "${ECHO_T}$result" >&6; }
12826
12827
12828 enablestring=
12829 defaultval=$wxUSE_ALL_FEATURES
12830 if test -z "$defaultval"; then
12831 if test x"$enablestring" = xdisable; then
12832 defaultval=yes
12833 else
12834 defaultval=no
12835 fi
12836 fi
12837
12838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12839 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12840 # Check whether --enable-splines was given.
12841 if test "${enable_splines+set}" = set; then
12842 enableval=$enable_splines;
12843 if test "$enableval" = yes; then
12844 wx_cv_use_splines='wxUSE_SPLINES=yes'
12845 else
12846 wx_cv_use_splines='wxUSE_SPLINES=no'
12847 fi
12848
12849 else
12850
12851 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12852
12853 fi
12854
12855
12856 eval "$wx_cv_use_splines"
12857
12858 if test x"$enablestring" = xdisable; then
12859 if test $wxUSE_SPLINES = yes; then
12860 result=no
12861 else
12862 result=yes
12863 fi
12864 else
12865 result=$wxUSE_SPLINES
12866 fi
12867
12868 { echo "$as_me:$LINENO: result: $result" >&5
12869 echo "${ECHO_T}$result" >&6; }
12870
12871
12872 enablestring=
12873 defaultval=$wxUSE_ALL_FEATURES
12874 if test -z "$defaultval"; then
12875 if test x"$enablestring" = xdisable; then
12876 defaultval=yes
12877 else
12878 defaultval=no
12879 fi
12880 fi
12881
12882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12883 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12884 # Check whether --enable-mousewheel was given.
12885 if test "${enable_mousewheel+set}" = set; then
12886 enableval=$enable_mousewheel;
12887 if test "$enableval" = yes; then
12888 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12889 else
12890 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12891 fi
12892
12893 else
12894
12895 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12896
12897 fi
12898
12899
12900 eval "$wx_cv_use_mousewheel"
12901
12902 if test x"$enablestring" = xdisable; then
12903 if test $wxUSE_MOUSEWHEEL = yes; then
12904 result=no
12905 else
12906 result=yes
12907 fi
12908 else
12909 result=$wxUSE_MOUSEWHEEL
12910 fi
12911
12912 { echo "$as_me:$LINENO: result: $result" >&5
12913 echo "${ECHO_T}$result" >&6; }
12914
12915
12916 enablestring=
12917 defaultval=$wxUSE_ALL_FEATURES
12918 if test -z "$defaultval"; then
12919 if test x"$enablestring" = xdisable; then
12920 defaultval=yes
12921 else
12922 defaultval=no
12923 fi
12924 fi
12925
12926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12927 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12928 # Check whether --enable-validators was given.
12929 if test "${enable_validators+set}" = set; then
12930 enableval=$enable_validators;
12931 if test "$enableval" = yes; then
12932 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12933 else
12934 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12935 fi
12936
12937 else
12938
12939 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12940
12941 fi
12942
12943
12944 eval "$wx_cv_use_validators"
12945
12946 if test x"$enablestring" = xdisable; then
12947 if test $wxUSE_VALIDATORS = yes; then
12948 result=no
12949 else
12950 result=yes
12951 fi
12952 else
12953 result=$wxUSE_VALIDATORS
12954 fi
12955
12956 { echo "$as_me:$LINENO: result: $result" >&5
12957 echo "${ECHO_T}$result" >&6; }
12958
12959
12960 enablestring=
12961 defaultval=$wxUSE_ALL_FEATURES
12962 if test -z "$defaultval"; then
12963 if test x"$enablestring" = xdisable; then
12964 defaultval=yes
12965 else
12966 defaultval=no
12967 fi
12968 fi
12969
12970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12971 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12972 # Check whether --enable-busyinfo was given.
12973 if test "${enable_busyinfo+set}" = set; then
12974 enableval=$enable_busyinfo;
12975 if test "$enableval" = yes; then
12976 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12977 else
12978 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12979 fi
12980
12981 else
12982
12983 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12984
12985 fi
12986
12987
12988 eval "$wx_cv_use_busyinfo"
12989
12990 if test x"$enablestring" = xdisable; then
12991 if test $wxUSE_BUSYINFO = yes; then
12992 result=no
12993 else
12994 result=yes
12995 fi
12996 else
12997 result=$wxUSE_BUSYINFO
12998 fi
12999
13000 { echo "$as_me:$LINENO: result: $result" >&5
13001 echo "${ECHO_T}$result" >&6; }
13002
13003
13004 enablestring=
13005 defaultval=$wxUSE_ALL_FEATURES
13006 if test -z "$defaultval"; then
13007 if test x"$enablestring" = xdisable; then
13008 defaultval=yes
13009 else
13010 defaultval=no
13011 fi
13012 fi
13013
13014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13015 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13016 # Check whether --enable-joystick was given.
13017 if test "${enable_joystick+set}" = set; then
13018 enableval=$enable_joystick;
13019 if test "$enableval" = yes; then
13020 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13021 else
13022 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13023 fi
13024
13025 else
13026
13027 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13028
13029 fi
13030
13031
13032 eval "$wx_cv_use_joystick"
13033
13034 if test x"$enablestring" = xdisable; then
13035 if test $wxUSE_JOYSTICK = yes; then
13036 result=no
13037 else
13038 result=yes
13039 fi
13040 else
13041 result=$wxUSE_JOYSTICK
13042 fi
13043
13044 { echo "$as_me:$LINENO: result: $result" >&5
13045 echo "${ECHO_T}$result" >&6; }
13046
13047
13048 enablestring=
13049 defaultval=$wxUSE_ALL_FEATURES
13050 if test -z "$defaultval"; then
13051 if test x"$enablestring" = xdisable; then
13052 defaultval=yes
13053 else
13054 defaultval=no
13055 fi
13056 fi
13057
13058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13059 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13060 # Check whether --enable-metafile was given.
13061 if test "${enable_metafile+set}" = set; then
13062 enableval=$enable_metafile;
13063 if test "$enableval" = yes; then
13064 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13065 else
13066 wx_cv_use_metafile='wxUSE_METAFILE=no'
13067 fi
13068
13069 else
13070
13071 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13072
13073 fi
13074
13075
13076 eval "$wx_cv_use_metafile"
13077
13078 if test x"$enablestring" = xdisable; then
13079 if test $wxUSE_METAFILE = yes; then
13080 result=no
13081 else
13082 result=yes
13083 fi
13084 else
13085 result=$wxUSE_METAFILE
13086 fi
13087
13088 { echo "$as_me:$LINENO: result: $result" >&5
13089 echo "${ECHO_T}$result" >&6; }
13090
13091
13092 enablestring=
13093 defaultval=$wxUSE_ALL_FEATURES
13094 if test -z "$defaultval"; then
13095 if test x"$enablestring" = xdisable; then
13096 defaultval=yes
13097 else
13098 defaultval=no
13099 fi
13100 fi
13101
13102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13103 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13104 # Check whether --enable-dragimage was given.
13105 if test "${enable_dragimage+set}" = set; then
13106 enableval=$enable_dragimage;
13107 if test "$enableval" = yes; then
13108 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13109 else
13110 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13111 fi
13112
13113 else
13114
13115 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13116
13117 fi
13118
13119
13120 eval "$wx_cv_use_dragimage"
13121
13122 if test x"$enablestring" = xdisable; then
13123 if test $wxUSE_DRAGIMAGE = yes; then
13124 result=no
13125 else
13126 result=yes
13127 fi
13128 else
13129 result=$wxUSE_DRAGIMAGE
13130 fi
13131
13132 { echo "$as_me:$LINENO: result: $result" >&5
13133 echo "${ECHO_T}$result" >&6; }
13134
13135
13136 enablestring=
13137 defaultval=$wxUSE_ALL_FEATURES
13138 if test -z "$defaultval"; then
13139 if test x"$enablestring" = xdisable; then
13140 defaultval=yes
13141 else
13142 defaultval=no
13143 fi
13144 fi
13145
13146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13147 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13148 # Check whether --enable-accessibility was given.
13149 if test "${enable_accessibility+set}" = set; then
13150 enableval=$enable_accessibility;
13151 if test "$enableval" = yes; then
13152 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13153 else
13154 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13155 fi
13156
13157 else
13158
13159 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13160
13161 fi
13162
13163
13164 eval "$wx_cv_use_accessibility"
13165
13166 if test x"$enablestring" = xdisable; then
13167 if test $wxUSE_ACCESSIBILITY = yes; then
13168 result=no
13169 else
13170 result=yes
13171 fi
13172 else
13173 result=$wxUSE_ACCESSIBILITY
13174 fi
13175
13176 { echo "$as_me:$LINENO: result: $result" >&5
13177 echo "${ECHO_T}$result" >&6; }
13178
13179
13180
13181
13182 enablestring=
13183 defaultval=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x"$enablestring" = xdisable; then
13186 defaultval=yes
13187 else
13188 defaultval=no
13189 fi
13190 fi
13191
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13194 # Check whether --enable-palette was given.
13195 if test "${enable_palette+set}" = set; then
13196 enableval=$enable_palette;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_palette='wxUSE_PALETTE=yes'
13199 else
13200 wx_cv_use_palette='wxUSE_PALETTE=no'
13201 fi
13202
13203 else
13204
13205 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13206
13207 fi
13208
13209
13210 eval "$wx_cv_use_palette"
13211
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_PALETTE = yes; then
13214 result=no
13215 else
13216 result=yes
13217 fi
13218 else
13219 result=$wxUSE_PALETTE
13220 fi
13221
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13224
13225
13226 enablestring=
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13230 defaultval=yes
13231 else
13232 defaultval=no
13233 fi
13234 fi
13235
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13238 # Check whether --enable-image was given.
13239 if test "${enable_image+set}" = set; then
13240 enableval=$enable_image;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_image='wxUSE_IMAGE=yes'
13243 else
13244 wx_cv_use_image='wxUSE_IMAGE=no'
13245 fi
13246
13247 else
13248
13249 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13250
13251 fi
13252
13253
13254 eval "$wx_cv_use_image"
13255
13256 if test x"$enablestring" = xdisable; then
13257 if test $wxUSE_IMAGE = yes; then
13258 result=no
13259 else
13260 result=yes
13261 fi
13262 else
13263 result=$wxUSE_IMAGE
13264 fi
13265
13266 { echo "$as_me:$LINENO: result: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13268
13269
13270 enablestring=
13271 defaultval=$wxUSE_ALL_FEATURES
13272 if test -z "$defaultval"; then
13273 if test x"$enablestring" = xdisable; then
13274 defaultval=yes
13275 else
13276 defaultval=no
13277 fi
13278 fi
13279
13280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13281 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13282 # Check whether --enable-gif was given.
13283 if test "${enable_gif+set}" = set; then
13284 enableval=$enable_gif;
13285 if test "$enableval" = yes; then
13286 wx_cv_use_gif='wxUSE_GIF=yes'
13287 else
13288 wx_cv_use_gif='wxUSE_GIF=no'
13289 fi
13290
13291 else
13292
13293 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13294
13295 fi
13296
13297
13298 eval "$wx_cv_use_gif"
13299
13300 if test x"$enablestring" = xdisable; then
13301 if test $wxUSE_GIF = yes; then
13302 result=no
13303 else
13304 result=yes
13305 fi
13306 else
13307 result=$wxUSE_GIF
13308 fi
13309
13310 { echo "$as_me:$LINENO: result: $result" >&5
13311 echo "${ECHO_T}$result" >&6; }
13312
13313
13314 enablestring=
13315 defaultval=$wxUSE_ALL_FEATURES
13316 if test -z "$defaultval"; then
13317 if test x"$enablestring" = xdisable; then
13318 defaultval=yes
13319 else
13320 defaultval=no
13321 fi
13322 fi
13323
13324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13325 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13326 # Check whether --enable-pcx was given.
13327 if test "${enable_pcx+set}" = set; then
13328 enableval=$enable_pcx;
13329 if test "$enableval" = yes; then
13330 wx_cv_use_pcx='wxUSE_PCX=yes'
13331 else
13332 wx_cv_use_pcx='wxUSE_PCX=no'
13333 fi
13334
13335 else
13336
13337 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13338
13339 fi
13340
13341
13342 eval "$wx_cv_use_pcx"
13343
13344 if test x"$enablestring" = xdisable; then
13345 if test $wxUSE_PCX = yes; then
13346 result=no
13347 else
13348 result=yes
13349 fi
13350 else
13351 result=$wxUSE_PCX
13352 fi
13353
13354 { echo "$as_me:$LINENO: result: $result" >&5
13355 echo "${ECHO_T}$result" >&6; }
13356
13357
13358 enablestring=
13359 defaultval=$wxUSE_ALL_FEATURES
13360 if test -z "$defaultval"; then
13361 if test x"$enablestring" = xdisable; then
13362 defaultval=yes
13363 else
13364 defaultval=no
13365 fi
13366 fi
13367
13368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13369 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13370 # Check whether --enable-tga was given.
13371 if test "${enable_tga+set}" = set; then
13372 enableval=$enable_tga;
13373 if test "$enableval" = yes; then
13374 wx_cv_use_tga='wxUSE_TGA=yes'
13375 else
13376 wx_cv_use_tga='wxUSE_TGA=no'
13377 fi
13378
13379 else
13380
13381 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13382
13383 fi
13384
13385
13386 eval "$wx_cv_use_tga"
13387
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_TGA = yes; then
13390 result=no
13391 else
13392 result=yes
13393 fi
13394 else
13395 result=$wxUSE_TGA
13396 fi
13397
13398 { echo "$as_me:$LINENO: result: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13400
13401
13402 enablestring=
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13406 defaultval=yes
13407 else
13408 defaultval=no
13409 fi
13410 fi
13411
13412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13413 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13414 # Check whether --enable-iff was given.
13415 if test "${enable_iff+set}" = set; then
13416 enableval=$enable_iff;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_iff='wxUSE_IFF=yes'
13419 else
13420 wx_cv_use_iff='wxUSE_IFF=no'
13421 fi
13422
13423 else
13424
13425 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13426
13427 fi
13428
13429
13430 eval "$wx_cv_use_iff"
13431
13432 if test x"$enablestring" = xdisable; then
13433 if test $wxUSE_IFF = yes; then
13434 result=no
13435 else
13436 result=yes
13437 fi
13438 else
13439 result=$wxUSE_IFF
13440 fi
13441
13442 { echo "$as_me:$LINENO: result: $result" >&5
13443 echo "${ECHO_T}$result" >&6; }
13444
13445
13446 enablestring=
13447 defaultval=$wxUSE_ALL_FEATURES
13448 if test -z "$defaultval"; then
13449 if test x"$enablestring" = xdisable; then
13450 defaultval=yes
13451 else
13452 defaultval=no
13453 fi
13454 fi
13455
13456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13457 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13458 # Check whether --enable-pnm was given.
13459 if test "${enable_pnm+set}" = set; then
13460 enableval=$enable_pnm;
13461 if test "$enableval" = yes; then
13462 wx_cv_use_pnm='wxUSE_PNM=yes'
13463 else
13464 wx_cv_use_pnm='wxUSE_PNM=no'
13465 fi
13466
13467 else
13468
13469 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13470
13471 fi
13472
13473
13474 eval "$wx_cv_use_pnm"
13475
13476 if test x"$enablestring" = xdisable; then
13477 if test $wxUSE_PNM = yes; then
13478 result=no
13479 else
13480 result=yes
13481 fi
13482 else
13483 result=$wxUSE_PNM
13484 fi
13485
13486 { echo "$as_me:$LINENO: result: $result" >&5
13487 echo "${ECHO_T}$result" >&6; }
13488
13489
13490 enablestring=
13491 defaultval=$wxUSE_ALL_FEATURES
13492 if test -z "$defaultval"; then
13493 if test x"$enablestring" = xdisable; then
13494 defaultval=yes
13495 else
13496 defaultval=no
13497 fi
13498 fi
13499
13500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13501 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13502 # Check whether --enable-xpm was given.
13503 if test "${enable_xpm+set}" = set; then
13504 enableval=$enable_xpm;
13505 if test "$enableval" = yes; then
13506 wx_cv_use_xpm='wxUSE_XPM=yes'
13507 else
13508 wx_cv_use_xpm='wxUSE_XPM=no'
13509 fi
13510
13511 else
13512
13513 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13514
13515 fi
13516
13517
13518 eval "$wx_cv_use_xpm"
13519
13520 if test x"$enablestring" = xdisable; then
13521 if test $wxUSE_XPM = yes; then
13522 result=no
13523 else
13524 result=yes
13525 fi
13526 else
13527 result=$wxUSE_XPM
13528 fi
13529
13530 { echo "$as_me:$LINENO: result: $result" >&5
13531 echo "${ECHO_T}$result" >&6; }
13532
13533
13534 enablestring=
13535 defaultval=$wxUSE_ALL_FEATURES
13536 if test -z "$defaultval"; then
13537 if test x"$enablestring" = xdisable; then
13538 defaultval=yes
13539 else
13540 defaultval=no
13541 fi
13542 fi
13543
13544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13545 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13546 # Check whether --enable-ico_cur was given.
13547 if test "${enable_ico_cur+set}" = set; then
13548 enableval=$enable_ico_cur;
13549 if test "$enableval" = yes; then
13550 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13551 else
13552 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13553 fi
13554
13555 else
13556
13557 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13558
13559 fi
13560
13561
13562 eval "$wx_cv_use_ico_cur"
13563
13564 if test x"$enablestring" = xdisable; then
13565 if test $wxUSE_ICO_CUR = yes; then
13566 result=no
13567 else
13568 result=yes
13569 fi
13570 else
13571 result=$wxUSE_ICO_CUR
13572 fi
13573
13574 { echo "$as_me:$LINENO: result: $result" >&5
13575 echo "${ECHO_T}$result" >&6; }
13576
13577
13578
13579
13580 enablestring=
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13584 defaultval=yes
13585 else
13586 defaultval=no
13587 fi
13588 fi
13589
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13592 # Check whether --enable-dccache was given.
13593 if test "${enable_dccache+set}" = set; then
13594 enableval=$enable_dccache;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13597 else
13598 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13599 fi
13600
13601 else
13602
13603 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13604
13605 fi
13606
13607
13608 eval "$wx_cv_use_dccache"
13609
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_DC_CACHEING = yes; then
13612 result=no
13613 else
13614 result=yes
13615 fi
13616 else
13617 result=$wxUSE_DC_CACHEING
13618 fi
13619
13620 { echo "$as_me:$LINENO: result: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13622
13623
13624 enablestring=
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13628 defaultval=yes
13629 else
13630 defaultval=no
13631 fi
13632 fi
13633
13634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13635 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13636 # Check whether --enable-ps-in-msw was given.
13637 if test "${enable_ps_in_msw+set}" = set; then
13638 enableval=$enable_ps_in_msw;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13641 else
13642 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13643 fi
13644
13645 else
13646
13647 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13648
13649 fi
13650
13651
13652 eval "$wx_cv_use_ps_in_msw"
13653
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13656 result=no
13657 else
13658 result=yes
13659 fi
13660 else
13661 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13662 fi
13663
13664 { echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13666
13667
13668 enablestring=
13669 defaultval=$wxUSE_ALL_FEATURES
13670 if test -z "$defaultval"; then
13671 if test x"$enablestring" = xdisable; then
13672 defaultval=yes
13673 else
13674 defaultval=no
13675 fi
13676 fi
13677
13678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13679 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13680 # Check whether --enable-ownerdrawn was given.
13681 if test "${enable_ownerdrawn+set}" = set; then
13682 enableval=$enable_ownerdrawn;
13683 if test "$enableval" = yes; then
13684 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13685 else
13686 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13687 fi
13688
13689 else
13690
13691 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13692
13693 fi
13694
13695
13696 eval "$wx_cv_use_ownerdrawn"
13697
13698 if test x"$enablestring" = xdisable; then
13699 if test $wxUSE_OWNER_DRAWN = yes; then
13700 result=no
13701 else
13702 result=yes
13703 fi
13704 else
13705 result=$wxUSE_OWNER_DRAWN
13706 fi
13707
13708 { echo "$as_me:$LINENO: result: $result" >&5
13709 echo "${ECHO_T}$result" >&6; }
13710
13711
13712 enablestring=
13713 defaultval=$wxUSE_ALL_FEATURES
13714 if test -z "$defaultval"; then
13715 if test x"$enablestring" = xdisable; then
13716 defaultval=yes
13717 else
13718 defaultval=no
13719 fi
13720 fi
13721
13722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13723 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13724 # Check whether --enable-uxtheme was given.
13725 if test "${enable_uxtheme+set}" = set; then
13726 enableval=$enable_uxtheme;
13727 if test "$enableval" = yes; then
13728 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13729 else
13730 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13731 fi
13732
13733 else
13734
13735 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13736
13737 fi
13738
13739
13740 eval "$wx_cv_use_uxtheme"
13741
13742 if test x"$enablestring" = xdisable; then
13743 if test $wxUSE_UXTHEME = yes; then
13744 result=no
13745 else
13746 result=yes
13747 fi
13748 else
13749 result=$wxUSE_UXTHEME
13750 fi
13751
13752 { echo "$as_me:$LINENO: result: $result" >&5
13753 echo "${ECHO_T}$result" >&6; }
13754
13755
13756 enablestring=
13757 defaultval=$wxUSE_ALL_FEATURES
13758 if test -z "$defaultval"; then
13759 if test x"$enablestring" = xdisable; then
13760 defaultval=yes
13761 else
13762 defaultval=no
13763 fi
13764 fi
13765
13766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13767 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13768 # Check whether --enable-wxdib was given.
13769 if test "${enable_wxdib+set}" = set; then
13770 enableval=$enable_wxdib;
13771 if test "$enableval" = yes; then
13772 wx_cv_use_wxdib='wxUSE_DIB=yes'
13773 else
13774 wx_cv_use_wxdib='wxUSE_DIB=no'
13775 fi
13776
13777 else
13778
13779 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13780
13781 fi
13782
13783
13784 eval "$wx_cv_use_wxdib"
13785
13786 if test x"$enablestring" = xdisable; then
13787 if test $wxUSE_DIB = yes; then
13788 result=no
13789 else
13790 result=yes
13791 fi
13792 else
13793 result=$wxUSE_DIB
13794 fi
13795
13796 { echo "$as_me:$LINENO: result: $result" >&5
13797 echo "${ECHO_T}$result" >&6; }
13798
13799
13800 if test "$wxUSE_MSW" != 1; then
13801 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13802 fi
13803
13804
13805 enablestring=
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13809 defaultval=yes
13810 else
13811 defaultval=no
13812 fi
13813 fi
13814
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13817 # Check whether --enable-autoidman was given.
13818 if test "${enable_autoidman+set}" = set; then
13819 enableval=$enable_autoidman;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13822 else
13823 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13824 fi
13825
13826 else
13827
13828 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13829
13830 fi
13831
13832
13833 eval "$wx_cv_use_autoidman"
13834
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13837 result=no
13838 else
13839 result=yes
13840 fi
13841 else
13842 result=$wxUSE_AUTOID_MANAGEMENT
13843 fi
13844
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13847
13848
13849 fi
13850
13851
13852 cat >confcache <<\_ACEOF
13853 # This file is a shell script that caches the results of configure
13854 # tests run on this system so they can be shared between configure
13855 # scripts and configure runs, see configure's option --config-cache.
13856 # It is not useful on other systems. If it contains results you don't
13857 # want to keep, you may remove or edit it.
13858 #
13859 # config.status only pays attention to the cache file if you give it
13860 # the --recheck option to rerun configure.
13861 #
13862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13864 # following values.
13865
13866 _ACEOF
13867
13868 # The following way of writing the cache mishandles newlines in values,
13869 # but we know of no workaround that is simple, portable, and efficient.
13870 # So, we kill variables containing newlines.
13871 # Ultrix sh set writes to stderr and can't be redirected directly,
13872 # and sets the high bit in the cache file unless we assign to the vars.
13873 (
13874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13875 eval ac_val=\$$ac_var
13876 case $ac_val in #(
13877 *${as_nl}*)
13878 case $ac_var in #(
13879 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13880 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13881 esac
13882 case $ac_var in #(
13883 _ | IFS | as_nl) ;; #(
13884 *) $as_unset $ac_var ;;
13885 esac ;;
13886 esac
13887 done
13888
13889 (set) 2>&1 |
13890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13891 *${as_nl}ac_space=\ *)
13892 # `set' does not quote correctly, so add quotes (double-quote
13893 # substitution turns \\\\ into \\, and sed turns \\ into \).
13894 sed -n \
13895 "s/'/'\\\\''/g;
13896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13897 ;; #(
13898 *)
13899 # `set' quotes correctly as required by POSIX, so do not add quotes.
13900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13901 ;;
13902 esac |
13903 sort
13904 ) |
13905 sed '
13906 /^ac_cv_env_/b end
13907 t clear
13908 :clear
13909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13910 t end
13911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13912 :end' >>confcache
13913 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13914 if test -w "$cache_file"; then
13915 test "x$cache_file" != "x/dev/null" &&
13916 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13917 echo "$as_me: updating cache $cache_file" >&6;}
13918 cat confcache >$cache_file
13919 else
13920 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13921 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13922 fi
13923 fi
13924 rm -f confcache
13925
13926 CFLAGS=${CFLAGS:=}
13927
13928
13929
13930 ac_ext=c
13931 ac_cpp='$CPP $CPPFLAGS'
13932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13935 if test -n "$ac_tool_prefix"; then
13936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13940 if test "${ac_cv_prog_CC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 else
13943 if test -n "$CC"; then
13944 ac_cv_prog_CC="$CC" # Let the user override the test.
13945 else
13946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947 for as_dir in $PATH
13948 do
13949 IFS=$as_save_IFS
13950 test -z "$as_dir" && as_dir=.
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13955 break 2
13956 fi
13957 done
13958 done
13959 IFS=$as_save_IFS
13960
13961 fi
13962 fi
13963 CC=$ac_cv_prog_CC
13964 if test -n "$CC"; then
13965 { echo "$as_me:$LINENO: result: $CC" >&5
13966 echo "${ECHO_T}$CC" >&6; }
13967 else
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13970 fi
13971
13972
13973 fi
13974 if test -z "$ac_cv_prog_CC"; then
13975 ac_ct_CC=$CC
13976 # Extract the first word of "gcc", so it can be a program name with args.
13977 set dummy gcc; ac_word=$2
13978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 else
13983 if test -n "$ac_ct_CC"; then
13984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13985 else
13986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13987 for as_dir in $PATH
13988 do
13989 IFS=$as_save_IFS
13990 test -z "$as_dir" && as_dir=.
13991 for ac_exec_ext in '' $ac_executable_extensions; do
13992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13993 ac_cv_prog_ac_ct_CC="gcc"
13994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13995 break 2
13996 fi
13997 done
13998 done
13999 IFS=$as_save_IFS
14000
14001 fi
14002 fi
14003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14004 if test -n "$ac_ct_CC"; then
14005 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14006 echo "${ECHO_T}$ac_ct_CC" >&6; }
14007 else
14008 { echo "$as_me:$LINENO: result: no" >&5
14009 echo "${ECHO_T}no" >&6; }
14010 fi
14011
14012 if test "x$ac_ct_CC" = x; then
14013 CC=""
14014 else
14015 case $cross_compiling:$ac_tool_warned in
14016 yes:)
14017 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14018 whose name does not start with the host triplet. If you think this
14019 configuration is useful to you, please write to autoconf@gnu.org." >&5
14020 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14021 whose name does not start with the host triplet. If you think this
14022 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14023 ac_tool_warned=yes ;;
14024 esac
14025 CC=$ac_ct_CC
14026 fi
14027 else
14028 CC="$ac_cv_prog_CC"
14029 fi
14030
14031 if test -z "$CC"; then
14032 if test -n "$ac_tool_prefix"; then
14033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14034 set dummy ${ac_tool_prefix}cc; ac_word=$2
14035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14037 if test "${ac_cv_prog_CC+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 else
14040 if test -n "$CC"; then
14041 ac_cv_prog_CC="$CC" # Let the user override the test.
14042 else
14043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14044 for as_dir in $PATH
14045 do
14046 IFS=$as_save_IFS
14047 test -z "$as_dir" && as_dir=.
14048 for ac_exec_ext in '' $ac_executable_extensions; do
14049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14050 ac_cv_prog_CC="${ac_tool_prefix}cc"
14051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14052 break 2
14053 fi
14054 done
14055 done
14056 IFS=$as_save_IFS
14057
14058 fi
14059 fi
14060 CC=$ac_cv_prog_CC
14061 if test -n "$CC"; then
14062 { echo "$as_me:$LINENO: result: $CC" >&5
14063 echo "${ECHO_T}$CC" >&6; }
14064 else
14065 { echo "$as_me:$LINENO: result: no" >&5
14066 echo "${ECHO_T}no" >&6; }
14067 fi
14068
14069
14070 fi
14071 fi
14072 if test -z "$CC"; then
14073 # Extract the first word of "cc", so it can be a program name with args.
14074 set dummy cc; ac_word=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 else
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC="$CC" # Let the user override the test.
14082 else
14083 ac_prog_rejected=no
14084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14085 for as_dir in $PATH
14086 do
14087 IFS=$as_save_IFS
14088 test -z "$as_dir" && as_dir=.
14089 for ac_exec_ext in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14092 ac_prog_rejected=yes
14093 continue
14094 fi
14095 ac_cv_prog_CC="cc"
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14097 break 2
14098 fi
14099 done
14100 done
14101 IFS=$as_save_IFS
14102
14103 if test $ac_prog_rejected = yes; then
14104 # We found a bogon in the path, so make sure we never use it.
14105 set dummy $ac_cv_prog_CC
14106 shift
14107 if test $# != 0; then
14108 # We chose a different compiler from the bogus one.
14109 # However, it has the same basename, so the bogon will be chosen
14110 # first if we set CC to just the basename; use the full file name.
14111 shift
14112 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14113 fi
14114 fi
14115 fi
14116 fi
14117 CC=$ac_cv_prog_CC
14118 if test -n "$CC"; then
14119 { echo "$as_me:$LINENO: result: $CC" >&5
14120 echo "${ECHO_T}$CC" >&6; }
14121 else
14122 { echo "$as_me:$LINENO: result: no" >&5
14123 echo "${ECHO_T}no" >&6; }
14124 fi
14125
14126
14127 fi
14128 if test -z "$CC"; then
14129 if test -n "$ac_tool_prefix"; then
14130 for ac_prog in cl.exe
14131 do
14132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14136 if test "${ac_cv_prog_CC+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 else
14139 if test -n "$CC"; then
14140 ac_cv_prog_CC="$CC" # Let the user override the test.
14141 else
14142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143 for as_dir in $PATH
14144 do
14145 IFS=$as_save_IFS
14146 test -z "$as_dir" && as_dir=.
14147 for ac_exec_ext in '' $ac_executable_extensions; do
14148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14149 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 break 2
14152 fi
14153 done
14154 done
14155 IFS=$as_save_IFS
14156
14157 fi
14158 fi
14159 CC=$ac_cv_prog_CC
14160 if test -n "$CC"; then
14161 { echo "$as_me:$LINENO: result: $CC" >&5
14162 echo "${ECHO_T}$CC" >&6; }
14163 else
14164 { echo "$as_me:$LINENO: result: no" >&5
14165 echo "${ECHO_T}no" >&6; }
14166 fi
14167
14168
14169 test -n "$CC" && break
14170 done
14171 fi
14172 if test -z "$CC"; then
14173 ac_ct_CC=$CC
14174 for ac_prog in cl.exe
14175 do
14176 # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy $ac_prog; ac_word=$2
14178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 else
14183 if test -n "$ac_ct_CC"; then
14184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14185 else
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14188 do
14189 IFS=$as_save_IFS
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14193 ac_cv_prog_ac_ct_CC="$ac_prog"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14195 break 2
14196 fi
14197 done
14198 done
14199 IFS=$as_save_IFS
14200
14201 fi
14202 fi
14203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14204 if test -n "$ac_ct_CC"; then
14205 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14206 echo "${ECHO_T}$ac_ct_CC" >&6; }
14207 else
14208 { echo "$as_me:$LINENO: result: no" >&5
14209 echo "${ECHO_T}no" >&6; }
14210 fi
14211
14212
14213 test -n "$ac_ct_CC" && break
14214 done
14215
14216 if test "x$ac_ct_CC" = x; then
14217 CC=""
14218 else
14219 case $cross_compiling:$ac_tool_warned in
14220 yes:)
14221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14222 whose name does not start with the host triplet. If you think this
14223 configuration is useful to you, please write to autoconf@gnu.org." >&5
14224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14225 whose name does not start with the host triplet. If you think this
14226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14227 ac_tool_warned=yes ;;
14228 esac
14229 CC=$ac_ct_CC
14230 fi
14231 fi
14232
14233 fi
14234
14235
14236 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14237 See \`config.log' for more details." >&5
14238 echo "$as_me: error: no acceptable C compiler found in \$PATH
14239 See \`config.log' for more details." >&2;}
14240 { (exit 1); exit 1; }; }
14241
14242 # Provide some information about the compiler.
14243 echo "$as_me:$LINENO: checking for C compiler version" >&5
14244 ac_compiler=`set X $ac_compile; echo $2`
14245 { (ac_try="$ac_compiler --version >&5"
14246 case "(($ac_try" in
14247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14248 *) ac_try_echo=$ac_try;;
14249 esac
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_compiler --version >&5") 2>&5
14252 ac_status=$?
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }
14255 { (ac_try="$ac_compiler -v >&5"
14256 case "(($ac_try" in
14257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14258 *) ac_try_echo=$ac_try;;
14259 esac
14260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14261 (eval "$ac_compiler -v >&5") 2>&5
14262 ac_status=$?
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }
14265 { (ac_try="$ac_compiler -V >&5"
14266 case "(($ac_try" in
14267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14268 *) ac_try_echo=$ac_try;;
14269 esac
14270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14271 (eval "$ac_compiler -V >&5") 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }
14275
14276 cat >conftest.$ac_ext <<_ACEOF
14277 /* confdefs.h. */
14278 _ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14282
14283 int
14284 main ()
14285 {
14286
14287 ;
14288 return 0;
14289 }
14290 _ACEOF
14291 ac_clean_files_save=$ac_clean_files
14292 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14293 # Try to create an executable without -o first, disregard a.out.
14294 # It will help us diagnose broken compilers, and finding out an intuition
14295 # of exeext.
14296 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14297 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14298 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14299 #
14300 # List of possible output files, starting from the most likely.
14301 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14302 # only as a last resort. b.out is created by i960 compilers.
14303 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14304 #
14305 # The IRIX 6 linker writes into existing files which may not be
14306 # executable, retaining their permissions. Remove them first so a
14307 # subsequent execution test works.
14308 ac_rmfiles=
14309 for ac_file in $ac_files
14310 do
14311 case $ac_file in
14312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14313 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14314 esac
14315 done
14316 rm -f $ac_rmfiles
14317
14318 if { (ac_try="$ac_link_default"
14319 case "(($ac_try" in
14320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14322 esac
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_link_default") 2>&5
14325 ac_status=$?
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; then
14328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14331 # so that the user can short-circuit this test for compilers unknown to
14332 # Autoconf.
14333 for ac_file in $ac_files ''
14334 do
14335 test -f "$ac_file" || continue
14336 case $ac_file in
14337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14338 ;;
14339 [ab].out )
14340 # We found the default executable, but exeext='' is most
14341 # certainly right.
14342 break;;
14343 *.* )
14344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14345 then :; else
14346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14347 fi
14348 # We set ac_cv_exeext here because the later test for it is not
14349 # safe: cross compilers may not add the suffix if given an `-o'
14350 # argument, so we may need to know it at that point already.
14351 # Even if this section looks crufty: it has the advantage of
14352 # actually working.
14353 break;;
14354 * )
14355 break;;
14356 esac
14357 done
14358 test "$ac_cv_exeext" = no && ac_cv_exeext=
14359
14360 else
14361 ac_file=''
14362 fi
14363
14364 { echo "$as_me:$LINENO: result: $ac_file" >&5
14365 echo "${ECHO_T}$ac_file" >&6; }
14366 if test -z "$ac_file"; then
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14369
14370 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14371 See \`config.log' for more details." >&5
14372 echo "$as_me: error: C compiler cannot create executables
14373 See \`config.log' for more details." >&2;}
14374 { (exit 77); exit 77; }; }
14375 fi
14376
14377 ac_exeext=$ac_cv_exeext
14378
14379 # Check that the compiler produces executables we can run. If not, either
14380 # the compiler is broken, or we cross compile.
14381 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14382 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14383 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14384 # If not cross compiling, check that we can run a simple program.
14385 if test "$cross_compiling" != yes; then
14386 if { ac_try='./$ac_file'
14387 { (case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14390 esac
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_try") 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14396 cross_compiling=no
14397 else
14398 if test "$cross_compiling" = maybe; then
14399 cross_compiling=yes
14400 else
14401 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14402 If you meant to cross compile, use \`--host'.
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot run C compiled programs.
14405 If you meant to cross compile, use \`--host'.
14406 See \`config.log' for more details." >&2;}
14407 { (exit 1); exit 1; }; }
14408 fi
14409 fi
14410 fi
14411 { echo "$as_me:$LINENO: result: yes" >&5
14412 echo "${ECHO_T}yes" >&6; }
14413
14414 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14415 ac_clean_files=$ac_clean_files_save
14416 # Check that the compiler produces executables we can run. If not, either
14417 # the compiler is broken, or we cross compile.
14418 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14419 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14420 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14421 echo "${ECHO_T}$cross_compiling" >&6; }
14422
14423 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14424 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14425 if { (ac_try="$ac_link"
14426 case "(($ac_try" in
14427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14428 *) ac_try_echo=$ac_try;;
14429 esac
14430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14431 (eval "$ac_link") 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; then
14435 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14436 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14437 # work properly (i.e., refer to `conftest.exe'), while it won't with
14438 # `rm'.
14439 for ac_file in conftest.exe conftest conftest.*; do
14440 test -f "$ac_file" || continue
14441 case $ac_file in
14442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14443 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14444 break;;
14445 * ) break;;
14446 esac
14447 done
14448 else
14449 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14450 See \`config.log' for more details." >&5
14451 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14452 See \`config.log' for more details." >&2;}
14453 { (exit 1); exit 1; }; }
14454 fi
14455
14456 rm -f conftest$ac_cv_exeext
14457 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14458 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14459
14460 rm -f conftest.$ac_ext
14461 EXEEXT=$ac_cv_exeext
14462 ac_exeext=$EXEEXT
14463 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14464 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14465 if test "${ac_cv_objext+set}" = set; then
14466 echo $ECHO_N "(cached) $ECHO_C" >&6
14467 else
14468 cat >conftest.$ac_ext <<_ACEOF
14469 /* confdefs.h. */
14470 _ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14474
14475 int
14476 main ()
14477 {
14478
14479 ;
14480 return 0;
14481 }
14482 _ACEOF
14483 rm -f conftest.o conftest.obj
14484 if { (ac_try="$ac_compile"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14488 esac
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_compile") 2>&5
14491 ac_status=$?
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; then
14494 for ac_file in conftest.o conftest.obj conftest.*; do
14495 test -f "$ac_file" || continue;
14496 case $ac_file in
14497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14499 break;;
14500 esac
14501 done
14502 else
14503 echo "$as_me: failed program was:" >&5
14504 sed 's/^/| /' conftest.$ac_ext >&5
14505
14506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14507 See \`config.log' for more details." >&5
14508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14509 See \`config.log' for more details." >&2;}
14510 { (exit 1); exit 1; }; }
14511 fi
14512
14513 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14514 fi
14515 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14516 echo "${ECHO_T}$ac_cv_objext" >&6; }
14517 OBJEXT=$ac_cv_objext
14518 ac_objext=$OBJEXT
14519 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14520 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524 cat >conftest.$ac_ext <<_ACEOF
14525 /* confdefs.h. */
14526 _ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14530
14531 int
14532 main ()
14533 {
14534 #ifndef __GNUC__
14535 choke me
14536 #endif
14537
14538 ;
14539 return 0;
14540 }
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 ac_compiler_gnu=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14563
14564 ac_compiler_gnu=no
14565 fi
14566
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14569
14570 fi
14571 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14572 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14573 GCC=`test $ac_compiler_gnu = yes && echo yes`
14574 ac_test_CFLAGS=${CFLAGS+set}
14575 ac_save_CFLAGS=$CFLAGS
14576 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14577 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14578 if test "${ac_cv_prog_cc_g+set}" = set; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14580 else
14581 ac_save_c_werror_flag=$ac_c_werror_flag
14582 ac_c_werror_flag=yes
14583 ac_cv_prog_cc_g=no
14584 CFLAGS="-g"
14585 cat >conftest.$ac_ext <<_ACEOF
14586 /* confdefs.h. */
14587 _ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14591
14592 int
14593 main ()
14594 {
14595
14596 ;
14597 return 0;
14598 }
14599 _ACEOF
14600 rm -f conftest.$ac_objext
14601 if { (ac_try="$ac_compile"
14602 case "(($ac_try" in
14603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14604 *) ac_try_echo=$ac_try;;
14605 esac
14606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14607 (eval "$ac_compile") 2>conftest.er1
14608 ac_status=$?
14609 grep -v '^ *+' conftest.er1 >conftest.err
14610 rm -f conftest.er1
14611 cat conftest.err >&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } && {
14614 test -z "$ac_c_werror_flag" ||
14615 test ! -s conftest.err
14616 } && test -s conftest.$ac_objext; then
14617 ac_cv_prog_cc_g=yes
14618 else
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14621
14622 CFLAGS=""
14623 cat >conftest.$ac_ext <<_ACEOF
14624 /* confdefs.h. */
14625 _ACEOF
14626 cat confdefs.h >>conftest.$ac_ext
14627 cat >>conftest.$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629
14630 int
14631 main ()
14632 {
14633
14634 ;
14635 return 0;
14636 }
14637 _ACEOF
14638 rm -f conftest.$ac_objext
14639 if { (ac_try="$ac_compile"
14640 case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14643 esac
14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_compile") 2>conftest.er1
14646 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } && {
14652 test -z "$ac_c_werror_flag" ||
14653 test ! -s conftest.err
14654 } && test -s conftest.$ac_objext; then
14655 :
14656 else
14657 echo "$as_me: failed program was:" >&5
14658 sed 's/^/| /' conftest.$ac_ext >&5
14659
14660 ac_c_werror_flag=$ac_save_c_werror_flag
14661 CFLAGS="-g"
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668
14669 int
14670 main ()
14671 {
14672
14673 ;
14674 return 0;
14675 }
14676 _ACEOF
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14682 esac
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 ac_cv_prog_cc_g=yes
14695 else
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14698
14699
14700 fi
14701
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14703 fi
14704
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706 fi
14707
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 ac_c_werror_flag=$ac_save_c_werror_flag
14710 fi
14711 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14712 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14713 if test "$ac_test_CFLAGS" = set; then
14714 CFLAGS=$ac_save_CFLAGS
14715 elif test $ac_cv_prog_cc_g = yes; then
14716 if test "$GCC" = yes; then
14717 CFLAGS="-g -O2"
14718 else
14719 CFLAGS="-g"
14720 fi
14721 else
14722 if test "$GCC" = yes; then
14723 CFLAGS="-O2"
14724 else
14725 CFLAGS=
14726 fi
14727 fi
14728 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14729 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14730 if test "${ac_cv_prog_cc_c89+set}" = set; then
14731 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 else
14733 ac_cv_prog_cc_c89=no
14734 ac_save_CC=$CC
14735 cat >conftest.$ac_ext <<_ACEOF
14736 /* confdefs.h. */
14737 _ACEOF
14738 cat confdefs.h >>conftest.$ac_ext
14739 cat >>conftest.$ac_ext <<_ACEOF
14740 /* end confdefs.h. */
14741 #include <stdarg.h>
14742 #include <stdio.h>
14743 #include <sys/types.h>
14744 #include <sys/stat.h>
14745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14746 struct buf { int x; };
14747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14748 static char *e (p, i)
14749 char **p;
14750 int i;
14751 {
14752 return p[i];
14753 }
14754 static char *f (char * (*g) (char **, int), char **p, ...)
14755 {
14756 char *s;
14757 va_list v;
14758 va_start (v,p);
14759 s = g (p, va_arg (v,int));
14760 va_end (v);
14761 return s;
14762 }
14763
14764 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14765 function prototypes and stuff, but not '\xHH' hex character constants.
14766 These don't provoke an error unfortunately, instead are silently treated
14767 as 'x'. The following induces an error, until -std is added to get
14768 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14769 array size at least. It's necessary to write '\x00'==0 to get something
14770 that's true only with -std. */
14771 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14772
14773 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14774 inside strings and character constants. */
14775 #define FOO(x) 'x'
14776 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14777
14778 int test (int i, double x);
14779 struct s1 {int (*f) (int a);};
14780 struct s2 {int (*f) (double a);};
14781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14782 int argc;
14783 char **argv;
14784 int
14785 main ()
14786 {
14787 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14788 ;
14789 return 0;
14790 }
14791 _ACEOF
14792 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14793 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14794 do
14795 CC="$ac_save_CC $ac_arg"
14796 rm -f conftest.$ac_objext
14797 if { (ac_try="$ac_compile"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14801 esac
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_compile") 2>conftest.er1
14804 ac_status=$?
14805 grep -v '^ *+' conftest.er1 >conftest.err
14806 rm -f conftest.er1
14807 cat conftest.err >&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } && {
14810 test -z "$ac_c_werror_flag" ||
14811 test ! -s conftest.err
14812 } && test -s conftest.$ac_objext; then
14813 ac_cv_prog_cc_c89=$ac_arg
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14817
14818
14819 fi
14820
14821 rm -f core conftest.err conftest.$ac_objext
14822 test "x$ac_cv_prog_cc_c89" != "xno" && break
14823 done
14824 rm -f conftest.$ac_ext
14825 CC=$ac_save_CC
14826
14827 fi
14828 # AC_CACHE_VAL
14829 case "x$ac_cv_prog_cc_c89" in
14830 x)
14831 { echo "$as_me:$LINENO: result: none needed" >&5
14832 echo "${ECHO_T}none needed" >&6; } ;;
14833 xno)
14834 { echo "$as_me:$LINENO: result: unsupported" >&5
14835 echo "${ECHO_T}unsupported" >&6; } ;;
14836 *)
14837 CC="$CC $ac_cv_prog_cc_c89"
14838 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14839 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14840 esac
14841
14842
14843 ac_ext=c
14844 ac_cpp='$CPP $CPPFLAGS'
14845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14848
14849
14850
14851
14852 ac_ext=c
14853 ac_cpp='$CPP $CPPFLAGS'
14854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14857
14858 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14859 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14860 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 else
14863 cat >conftest.$ac_ext <<_ACEOF
14864 /* confdefs.h. */
14865 _ACEOF
14866 cat confdefs.h >>conftest.$ac_ext
14867 cat >>conftest.$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14869
14870 int
14871 main ()
14872 {
14873
14874 #ifndef __INTEL_COMPILER
14875 choke me
14876 #endif
14877
14878 ;
14879 return 0;
14880 }
14881 _ACEOF
14882 rm -f conftest.$ac_objext
14883 if { (ac_try="$ac_compile"
14884 case "(($ac_try" in
14885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14886 *) ac_try_echo=$ac_try;;
14887 esac
14888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14889 (eval "$ac_compile") 2>conftest.er1
14890 ac_status=$?
14891 grep -v '^ *+' conftest.er1 >conftest.err
14892 rm -f conftest.er1
14893 cat conftest.err >&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } && {
14896 test -z "$ac_c_werror_flag" ||
14897 test ! -s conftest.err
14898 } && test -s conftest.$ac_objext; then
14899 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14900 else
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14903
14904 bakefile_cv_c_compiler___INTEL_COMPILER=no
14905
14906 fi
14907
14908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14909
14910
14911 fi
14912 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14913 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14914 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14915 :; INTELCC=yes
14916 else
14917 :;
14918 fi
14919 ac_ext=c
14920 ac_cpp='$CPP $CPPFLAGS'
14921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14924
14925
14926
14927
14928 if test "x$GCC" != "xyes"; then
14929 if test "xCC" = "xC"; then
14930 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14931 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14932 if test "${bakefile_cv_c_exto+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 else
14935 cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941
14942 int
14943 main ()
14944 {
14945
14946 ;
14947 return 0;
14948 }
14949 _ACEOF
14950 rm -f conftest.$ac_objext conftest.$ac_ext.o
14951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14952 (eval $ac_compile) 2>&5
14953 ac_status=$?
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; then
14956 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14957 case $ac_file in
14958 conftest.$ac_ext.o)
14959 bakefile_cv_c_exto="-ext o"
14960 ;;
14961 *)
14962 ;;
14963 esac
14964 done
14965 else
14966 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14967 See \`config.log' for more details." >&5
14968 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14969 See \`config.log' for more details." >&2;}
14970 { (exit 1); exit 1; }; }
14971
14972 fi
14973
14974 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14975
14976 fi
14977 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14978 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14979 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14980 if test "c" = "c"; then
14981 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14982 fi
14983 if test "c" = "cxx"; then
14984 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14985 fi
14986 fi
14987
14988 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14989 unset ac_cv_prog_cc_g
14990 ac_test_CFLAGS=${CFLAGS+set}
14991 ac_save_CFLAGS=$CFLAGS
14992 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14993 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14994 if test "${ac_cv_prog_cc_g+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 ac_save_c_werror_flag=$ac_c_werror_flag
14998 ac_c_werror_flag=yes
14999 ac_cv_prog_cc_g=no
15000 CFLAGS="-g"
15001 cat >conftest.$ac_ext <<_ACEOF
15002 /* confdefs.h. */
15003 _ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15007
15008 int
15009 main ()
15010 {
15011
15012 ;
15013 return 0;
15014 }
15015 _ACEOF
15016 rm -f conftest.$ac_objext
15017 if { (ac_try="$ac_compile"
15018 case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15021 esac
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_compile") 2>conftest.er1
15024 ac_status=$?
15025 grep -v '^ *+' conftest.er1 >conftest.err
15026 rm -f conftest.er1
15027 cat conftest.err >&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } && {
15030 test -z "$ac_c_werror_flag" ||
15031 test ! -s conftest.err
15032 } && test -s conftest.$ac_objext; then
15033 ac_cv_prog_cc_g=yes
15034 else
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.$ac_ext >&5
15037
15038 CFLAGS=""
15039 cat >conftest.$ac_ext <<_ACEOF
15040 /* confdefs.h. */
15041 _ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045
15046 int
15047 main ()
15048 {
15049
15050 ;
15051 return 0;
15052 }
15053 _ACEOF
15054 rm -f conftest.$ac_objext
15055 if { (ac_try="$ac_compile"
15056 case "(($ac_try" in
15057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15058 *) ac_try_echo=$ac_try;;
15059 esac
15060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15061 (eval "$ac_compile") 2>conftest.er1
15062 ac_status=$?
15063 grep -v '^ *+' conftest.er1 >conftest.err
15064 rm -f conftest.er1
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } && {
15068 test -z "$ac_c_werror_flag" ||
15069 test ! -s conftest.err
15070 } && test -s conftest.$ac_objext; then
15071 :
15072 else
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15075
15076 ac_c_werror_flag=$ac_save_c_werror_flag
15077 CFLAGS="-g"
15078 cat >conftest.$ac_ext <<_ACEOF
15079 /* confdefs.h. */
15080 _ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084
15085 int
15086 main ()
15087 {
15088
15089 ;
15090 return 0;
15091 }
15092 _ACEOF
15093 rm -f conftest.$ac_objext
15094 if { (ac_try="$ac_compile"
15095 case "(($ac_try" in
15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15098 esac
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_compile") 2>conftest.er1
15101 ac_status=$?
15102 grep -v '^ *+' conftest.er1 >conftest.err
15103 rm -f conftest.er1
15104 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && {
15107 test -z "$ac_c_werror_flag" ||
15108 test ! -s conftest.err
15109 } && test -s conftest.$ac_objext; then
15110 ac_cv_prog_cc_g=yes
15111 else
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.$ac_ext >&5
15114
15115
15116 fi
15117
15118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15119 fi
15120
15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15122 fi
15123
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125 ac_c_werror_flag=$ac_save_c_werror_flag
15126 fi
15127 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15128 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15129 if test "$ac_test_CFLAGS" = set; then
15130 CFLAGS=$ac_save_CFLAGS
15131 elif test $ac_cv_prog_cc_g = yes; then
15132 if test "$GCC" = yes; then
15133 CFLAGS="-g -O2"
15134 else
15135 CFLAGS="-g"
15136 fi
15137 else
15138 if test "$GCC" = yes; then
15139 CFLAGS="-O2"
15140 else
15141 CFLAGS=
15142 fi
15143 fi
15144 fi
15145 fi
15146
15147 case `uname -s` in
15148 AIX*)
15149
15150
15151 ac_ext=c
15152 ac_cpp='$CPP $CPPFLAGS'
15153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15156
15157 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15158 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15159 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15161 else
15162 cat >conftest.$ac_ext <<_ACEOF
15163 /* confdefs.h. */
15164 _ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15168
15169 int
15170 main ()
15171 {
15172
15173 #ifndef __xlC__
15174 choke me
15175 #endif
15176
15177 ;
15178 return 0;
15179 }
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (ac_try="$ac_compile"
15183 case "(($ac_try" in
15184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15185 *) ac_try_echo=$ac_try;;
15186 esac
15187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15189 ac_status=$?
15190 grep -v '^ *+' conftest.er1 >conftest.err
15191 rm -f conftest.er1
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 bakefile_cv_c_compiler___xlC__=yes
15199 else
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15202
15203 bakefile_cv_c_compiler___xlC__=no
15204
15205 fi
15206
15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15208
15209
15210 fi
15211 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15212 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15213 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15214 :; XLCC=yes
15215 else
15216 :;
15217 fi
15218 ac_ext=c
15219 ac_cpp='$CPP $CPPFLAGS'
15220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15223
15224
15225
15226 ;;
15227
15228 Darwin)
15229
15230
15231 ac_ext=c
15232 ac_cpp='$CPP $CPPFLAGS'
15233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15236
15237 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15238 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15239 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15241 else
15242 cat >conftest.$ac_ext <<_ACEOF
15243 /* confdefs.h. */
15244 _ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248
15249 int
15250 main ()
15251 {
15252
15253 #ifndef __MWERKS__
15254 choke me
15255 #endif
15256
15257 ;
15258 return 0;
15259 }
15260 _ACEOF
15261 rm -f conftest.$ac_objext
15262 if { (ac_try="$ac_compile"
15263 case "(($ac_try" in
15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15266 esac
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_compile") 2>conftest.er1
15269 ac_status=$?
15270 grep -v '^ *+' conftest.er1 >conftest.err
15271 rm -f conftest.er1
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } && {
15275 test -z "$ac_c_werror_flag" ||
15276 test ! -s conftest.err
15277 } && test -s conftest.$ac_objext; then
15278 bakefile_cv_c_compiler___MWERKS__=yes
15279 else
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.$ac_ext >&5
15282
15283 bakefile_cv_c_compiler___MWERKS__=no
15284
15285 fi
15286
15287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288
15289
15290 fi
15291 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15292 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15293 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15294 :; MWCC=yes
15295 else
15296 :;
15297 fi
15298 ac_ext=c
15299 ac_cpp='$CPP $CPPFLAGS'
15300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15303
15304
15305
15306
15307
15308 ac_ext=c
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15313
15314 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15315 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15316 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15319 cat >conftest.$ac_ext <<_ACEOF
15320 /* confdefs.h. */
15321 _ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15325
15326 int
15327 main ()
15328 {
15329
15330 #ifndef __xlC__
15331 choke me
15332 #endif
15333
15334 ;
15335 return 0;
15336 }
15337 _ACEOF
15338 rm -f conftest.$ac_objext
15339 if { (ac_try="$ac_compile"
15340 case "(($ac_try" in
15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15342 *) ac_try_echo=$ac_try;;
15343 esac
15344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15345 (eval "$ac_compile") 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } && {
15352 test -z "$ac_c_werror_flag" ||
15353 test ! -s conftest.err
15354 } && test -s conftest.$ac_objext; then
15355 bakefile_cv_c_compiler___xlC__=yes
15356 else
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15359
15360 bakefile_cv_c_compiler___xlC__=no
15361
15362 fi
15363
15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15365
15366
15367 fi
15368 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15369 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15370 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15371 :; XLCC=yes
15372 else
15373 :;
15374 fi
15375 ac_ext=c
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15380
15381
15382
15383 ;;
15384
15385 IRIX*)
15386
15387
15388 ac_ext=c
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15393
15394 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15395 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15396 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 else
15399 cat >conftest.$ac_ext <<_ACEOF
15400 /* confdefs.h. */
15401 _ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405
15406 int
15407 main ()
15408 {
15409
15410 #ifndef _SGI_COMPILER_VERSION
15411 choke me
15412 #endif
15413
15414 ;
15415 return 0;
15416 }
15417 _ACEOF
15418 rm -f conftest.$ac_objext
15419 if { (ac_try="$ac_compile"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15423 esac
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_compile") 2>conftest.er1
15426 ac_status=$?
15427 grep -v '^ *+' conftest.er1 >conftest.err
15428 rm -f conftest.er1
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } && {
15432 test -z "$ac_c_werror_flag" ||
15433 test ! -s conftest.err
15434 } && test -s conftest.$ac_objext; then
15435 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15436 else
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15439
15440 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15441
15442 fi
15443
15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15445
15446
15447 fi
15448 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15449 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15450 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15451 :; SGICC=yes
15452 else
15453 :;
15454 fi
15455 ac_ext=c
15456 ac_cpp='$CPP $CPPFLAGS'
15457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15460
15461
15462
15463 ;;
15464
15465 Linux*)
15466
15467
15468 ac_ext=c
15469 ac_cpp='$CPP $CPPFLAGS'
15470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15473
15474 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15475 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15476 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15477 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 else
15479 cat >conftest.$ac_ext <<_ACEOF
15480 /* confdefs.h. */
15481 _ACEOF
15482 cat confdefs.h >>conftest.$ac_ext
15483 cat >>conftest.$ac_ext <<_ACEOF
15484 /* end confdefs.h. */
15485
15486 int
15487 main ()
15488 {
15489
15490 #ifndef __SUNPRO_C
15491 choke me
15492 #endif
15493
15494 ;
15495 return 0;
15496 }
15497 _ACEOF
15498 rm -f conftest.$ac_objext
15499 if { (ac_try="$ac_compile"
15500 case "(($ac_try" in
15501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15502 *) ac_try_echo=$ac_try;;
15503 esac
15504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15505 (eval "$ac_compile") 2>conftest.er1
15506 ac_status=$?
15507 grep -v '^ *+' conftest.er1 >conftest.err
15508 rm -f conftest.er1
15509 cat conftest.err >&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); } && {
15512 test -z "$ac_c_werror_flag" ||
15513 test ! -s conftest.err
15514 } && test -s conftest.$ac_objext; then
15515 bakefile_cv_c_compiler___SUNPRO_C=yes
15516 else
15517 echo "$as_me: failed program was:" >&5
15518 sed 's/^/| /' conftest.$ac_ext >&5
15519
15520 bakefile_cv_c_compiler___SUNPRO_C=no
15521
15522 fi
15523
15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15525
15526
15527 fi
15528 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15529 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15530 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15531 :; SUNCC=yes
15532 else
15533 :;
15534 fi
15535 ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15540
15541
15542
15543 ;;
15544
15545 HP-UX*)
15546
15547
15548 ac_ext=c
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15553
15554 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15555 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15556 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15557 echo $ECHO_N "(cached) $ECHO_C" >&6
15558 else
15559 cat >conftest.$ac_ext <<_ACEOF
15560 /* confdefs.h. */
15561 _ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15565
15566 int
15567 main ()
15568 {
15569
15570 #ifndef __HP_cc
15571 choke me
15572 #endif
15573
15574 ;
15575 return 0;
15576 }
15577 _ACEOF
15578 rm -f conftest.$ac_objext
15579 if { (ac_try="$ac_compile"
15580 case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15583 esac
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_compile") 2>conftest.er1
15586 ac_status=$?
15587 grep -v '^ *+' conftest.er1 >conftest.err
15588 rm -f conftest.er1
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } && {
15592 test -z "$ac_c_werror_flag" ||
15593 test ! -s conftest.err
15594 } && test -s conftest.$ac_objext; then
15595 bakefile_cv_c_compiler___HP_cc=yes
15596 else
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15599
15600 bakefile_cv_c_compiler___HP_cc=no
15601
15602 fi
15603
15604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15605
15606
15607 fi
15608 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15609 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15610 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15611 :; HPCC=yes
15612 else
15613 :;
15614 fi
15615 ac_ext=c
15616 ac_cpp='$CPP $CPPFLAGS'
15617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15620
15621
15622
15623 ;;
15624
15625 OSF1)
15626
15627
15628 ac_ext=c
15629 ac_cpp='$CPP $CPPFLAGS'
15630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15633
15634 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15635 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15636 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 else
15639 cat >conftest.$ac_ext <<_ACEOF
15640 /* confdefs.h. */
15641 _ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15645
15646 int
15647 main ()
15648 {
15649
15650 #ifndef __DECC
15651 choke me
15652 #endif
15653
15654 ;
15655 return 0;
15656 }
15657 _ACEOF
15658 rm -f conftest.$ac_objext
15659 if { (ac_try="$ac_compile"
15660 case "(($ac_try" in
15661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15662 *) ac_try_echo=$ac_try;;
15663 esac
15664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15665 (eval "$ac_compile") 2>conftest.er1
15666 ac_status=$?
15667 grep -v '^ *+' conftest.er1 >conftest.err
15668 rm -f conftest.er1
15669 cat conftest.err >&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } && {
15672 test -z "$ac_c_werror_flag" ||
15673 test ! -s conftest.err
15674 } && test -s conftest.$ac_objext; then
15675 bakefile_cv_c_compiler___DECC=yes
15676 else
15677 echo "$as_me: failed program was:" >&5
15678 sed 's/^/| /' conftest.$ac_ext >&5
15679
15680 bakefile_cv_c_compiler___DECC=no
15681
15682 fi
15683
15684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15685
15686
15687 fi
15688 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15689 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15690 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15691 :; COMPAQCC=yes
15692 else
15693 :;
15694 fi
15695 ac_ext=c
15696 ac_cpp='$CPP $CPPFLAGS'
15697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15700
15701
15702
15703 ;;
15704
15705 SunOS)
15706
15707
15708 ac_ext=c
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15713
15714 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15715 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15716 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15718 else
15719 cat >conftest.$ac_ext <<_ACEOF
15720 /* confdefs.h. */
15721 _ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15725
15726 int
15727 main ()
15728 {
15729
15730 #ifndef __SUNPRO_C
15731 choke me
15732 #endif
15733
15734 ;
15735 return 0;
15736 }
15737 _ACEOF
15738 rm -f conftest.$ac_objext
15739 if { (ac_try="$ac_compile"
15740 case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15743 esac
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_compile") 2>conftest.er1
15746 ac_status=$?
15747 grep -v '^ *+' conftest.er1 >conftest.err
15748 rm -f conftest.er1
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest.$ac_objext; then
15755 bakefile_cv_c_compiler___SUNPRO_C=yes
15756 else
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15759
15760 bakefile_cv_c_compiler___SUNPRO_C=no
15761
15762 fi
15763
15764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765
15766
15767 fi
15768 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15769 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15770 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15771 :; SUNCC=yes
15772 else
15773 :;
15774 fi
15775 ac_ext=c
15776 ac_cpp='$CPP $CPPFLAGS'
15777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15780
15781
15782
15783 ;;
15784 esac
15785 fi
15786
15787
15788
15789 ac_ext=c
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15795 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15796 # On Suns, sometimes $CPP names a directory.
15797 if test -n "$CPP" && test -d "$CPP"; then
15798 CPP=
15799 fi
15800 if test -z "$CPP"; then
15801 if test "${ac_cv_prog_CPP+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 else
15804 # Double quotes because CPP needs to be expanded
15805 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15806 do
15807 ac_preproc_ok=false
15808 for ac_c_preproc_warn_flag in '' yes
15809 do
15810 # Use a header file that comes with gcc, so configuring glibc
15811 # with a fresh cross-compiler works.
15812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15813 # <limits.h> exists even on freestanding compilers.
15814 # On the NeXT, cc -E runs the code through the compiler's parser,
15815 # not just through cpp. "Syntax error" is here to catch this case.
15816 cat >conftest.$ac_ext <<_ACEOF
15817 /* confdefs.h. */
15818 _ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15822 #ifdef __STDC__
15823 # include <limits.h>
15824 #else
15825 # include <assert.h>
15826 #endif
15827 Syntax error
15828 _ACEOF
15829 if { (ac_try="$ac_cpp conftest.$ac_ext"
15830 case "(($ac_try" in
15831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15833 esac
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15836 ac_status=$?
15837 grep -v '^ *+' conftest.er1 >conftest.err
15838 rm -f conftest.er1
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } >/dev/null && {
15842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15844 }; then
15845 :
15846 else
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15849
15850 # Broken: fails on valid input.
15851 continue
15852 fi
15853
15854 rm -f conftest.err conftest.$ac_ext
15855
15856 # OK, works on sane cases. Now check whether nonexistent headers
15857 # can be detected and how.
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 #include <ac_nonexistent.h>
15865 _ACEOF
15866 if { (ac_try="$ac_cpp conftest.$ac_ext"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15870 esac
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15873 ac_status=$?
15874 grep -v '^ *+' conftest.er1 >conftest.err
15875 rm -f conftest.er1
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } >/dev/null && {
15879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15881 }; then
15882 # Broken: success on invalid input.
15883 continue
15884 else
15885 echo "$as_me: failed program was:" >&5
15886 sed 's/^/| /' conftest.$ac_ext >&5
15887
15888 # Passes both tests.
15889 ac_preproc_ok=:
15890 break
15891 fi
15892
15893 rm -f conftest.err conftest.$ac_ext
15894
15895 done
15896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15897 rm -f conftest.err conftest.$ac_ext
15898 if $ac_preproc_ok; then
15899 break
15900 fi
15901
15902 done
15903 ac_cv_prog_CPP=$CPP
15904
15905 fi
15906 CPP=$ac_cv_prog_CPP
15907 else
15908 ac_cv_prog_CPP=$CPP
15909 fi
15910 { echo "$as_me:$LINENO: result: $CPP" >&5
15911 echo "${ECHO_T}$CPP" >&6; }
15912 ac_preproc_ok=false
15913 for ac_c_preproc_warn_flag in '' yes
15914 do
15915 # Use a header file that comes with gcc, so configuring glibc
15916 # with a fresh cross-compiler works.
15917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15918 # <limits.h> exists even on freestanding compilers.
15919 # On the NeXT, cc -E runs the code through the compiler's parser,
15920 # not just through cpp. "Syntax error" is here to catch this case.
15921 cat >conftest.$ac_ext <<_ACEOF
15922 /* confdefs.h. */
15923 _ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 #ifdef __STDC__
15928 # include <limits.h>
15929 #else
15930 # include <assert.h>
15931 #endif
15932 Syntax error
15933 _ACEOF
15934 if { (ac_try="$ac_cpp conftest.$ac_ext"
15935 case "(($ac_try" in
15936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15937 *) ac_try_echo=$ac_try;;
15938 esac
15939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15941 ac_status=$?
15942 grep -v '^ *+' conftest.er1 >conftest.err
15943 rm -f conftest.er1
15944 cat conftest.err >&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } >/dev/null && {
15947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15948 test ! -s conftest.err
15949 }; then
15950 :
15951 else
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.$ac_ext >&5
15954
15955 # Broken: fails on valid input.
15956 continue
15957 fi
15958
15959 rm -f conftest.err conftest.$ac_ext
15960
15961 # OK, works on sane cases. Now check whether nonexistent headers
15962 # can be detected and how.
15963 cat >conftest.$ac_ext <<_ACEOF
15964 /* confdefs.h. */
15965 _ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 #include <ac_nonexistent.h>
15970 _ACEOF
15971 if { (ac_try="$ac_cpp conftest.$ac_ext"
15972 case "(($ac_try" in
15973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15974 *) ac_try_echo=$ac_try;;
15975 esac
15976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15978 ac_status=$?
15979 grep -v '^ *+' conftest.er1 >conftest.err
15980 rm -f conftest.er1
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } >/dev/null && {
15984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15985 test ! -s conftest.err
15986 }; then
15987 # Broken: success on invalid input.
15988 continue
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 # Passes both tests.
15994 ac_preproc_ok=:
15995 break
15996 fi
15997
15998 rm -f conftest.err conftest.$ac_ext
15999
16000 done
16001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16002 rm -f conftest.err conftest.$ac_ext
16003 if $ac_preproc_ok; then
16004 :
16005 else
16006 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16007 See \`config.log' for more details." >&5
16008 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16009 See \`config.log' for more details." >&2;}
16010 { (exit 1); exit 1; }; }
16011 fi
16012
16013 ac_ext=c
16014 ac_cpp='$CPP $CPPFLAGS'
16015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16018
16019
16020 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16021 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16022 if test "${ac_cv_path_GREP+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 else
16025 # Extract the first word of "grep ggrep" to use in msg output
16026 if test -z "$GREP"; then
16027 set dummy grep ggrep; ac_prog_name=$2
16028 if test "${ac_cv_path_GREP+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 else
16031 ac_path_GREP_found=false
16032 # Loop through the user's path and test for each of PROGNAME-LIST
16033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16035 do
16036 IFS=$as_save_IFS
16037 test -z "$as_dir" && as_dir=.
16038 for ac_prog in grep ggrep; do
16039 for ac_exec_ext in '' $ac_executable_extensions; do
16040 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16041 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16042 # Check for GNU ac_path_GREP and select it if it is found.
16043 # Check for GNU $ac_path_GREP
16044 case `"$ac_path_GREP" --version 2>&1` in
16045 *GNU*)
16046 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16047 *)
16048 ac_count=0
16049 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16050 while :
16051 do
16052 cat "conftest.in" "conftest.in" >"conftest.tmp"
16053 mv "conftest.tmp" "conftest.in"
16054 cp "conftest.in" "conftest.nl"
16055 echo 'GREP' >> "conftest.nl"
16056 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16058 ac_count=`expr $ac_count + 1`
16059 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16060 # Best one so far, save it but keep looking for a better one
16061 ac_cv_path_GREP="$ac_path_GREP"
16062 ac_path_GREP_max=$ac_count
16063 fi
16064 # 10*(2^10) chars as input seems more than enough
16065 test $ac_count -gt 10 && break
16066 done
16067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16068 esac
16069
16070
16071 $ac_path_GREP_found && break 3
16072 done
16073 done
16074
16075 done
16076 IFS=$as_save_IFS
16077
16078
16079 fi
16080
16081 GREP="$ac_cv_path_GREP"
16082 if test -z "$GREP"; then
16083 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16084 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16085 { (exit 1); exit 1; }; }
16086 fi
16087
16088 else
16089 ac_cv_path_GREP=$GREP
16090 fi
16091
16092
16093 fi
16094 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16095 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16096 GREP="$ac_cv_path_GREP"
16097
16098
16099 { echo "$as_me:$LINENO: checking for egrep" >&5
16100 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16101 if test "${ac_cv_path_EGREP+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 else
16104 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16105 then ac_cv_path_EGREP="$GREP -E"
16106 else
16107 # Extract the first word of "egrep" to use in msg output
16108 if test -z "$EGREP"; then
16109 set dummy egrep; ac_prog_name=$2
16110 if test "${ac_cv_path_EGREP+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 else
16113 ac_path_EGREP_found=false
16114 # Loop through the user's path and test for each of PROGNAME-LIST
16115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16116 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16117 do
16118 IFS=$as_save_IFS
16119 test -z "$as_dir" && as_dir=.
16120 for ac_prog in egrep; do
16121 for ac_exec_ext in '' $ac_executable_extensions; do
16122 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16123 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16124 # Check for GNU ac_path_EGREP and select it if it is found.
16125 # Check for GNU $ac_path_EGREP
16126 case `"$ac_path_EGREP" --version 2>&1` in
16127 *GNU*)
16128 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16129 *)
16130 ac_count=0
16131 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16132 while :
16133 do
16134 cat "conftest.in" "conftest.in" >"conftest.tmp"
16135 mv "conftest.tmp" "conftest.in"
16136 cp "conftest.in" "conftest.nl"
16137 echo 'EGREP' >> "conftest.nl"
16138 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16139 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16140 ac_count=`expr $ac_count + 1`
16141 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16142 # Best one so far, save it but keep looking for a better one
16143 ac_cv_path_EGREP="$ac_path_EGREP"
16144 ac_path_EGREP_max=$ac_count
16145 fi
16146 # 10*(2^10) chars as input seems more than enough
16147 test $ac_count -gt 10 && break
16148 done
16149 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16150 esac
16151
16152
16153 $ac_path_EGREP_found && break 3
16154 done
16155 done
16156
16157 done
16158 IFS=$as_save_IFS
16159
16160
16161 fi
16162
16163 EGREP="$ac_cv_path_EGREP"
16164 if test -z "$EGREP"; then
16165 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16166 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16167 { (exit 1); exit 1; }; }
16168 fi
16169
16170 else
16171 ac_cv_path_EGREP=$EGREP
16172 fi
16173
16174
16175 fi
16176 fi
16177 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16178 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16179 EGREP="$ac_cv_path_EGREP"
16180
16181
16182 if test $ac_cv_c_compiler_gnu = yes; then
16183 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16184 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16185 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 else
16188 ac_pattern="Autoconf.*'x'"
16189 cat >conftest.$ac_ext <<_ACEOF
16190 /* confdefs.h. */
16191 _ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16195 #include <sgtty.h>
16196 Autoconf TIOCGETP
16197 _ACEOF
16198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16199 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16200 ac_cv_prog_gcc_traditional=yes
16201 else
16202 ac_cv_prog_gcc_traditional=no
16203 fi
16204 rm -f conftest*
16205
16206
16207 if test $ac_cv_prog_gcc_traditional = no; then
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 #include <termio.h>
16215 Autoconf TCGETA
16216 _ACEOF
16217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16218 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16219 ac_cv_prog_gcc_traditional=yes
16220 fi
16221 rm -f conftest*
16222
16223 fi
16224 fi
16225 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16226 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16227 if test $ac_cv_prog_gcc_traditional = yes; then
16228 CC="$CC -traditional"
16229 fi
16230 fi
16231
16232
16233 CXXFLAGS=${CXXFLAGS:=}
16234
16235
16236
16237 ac_ext=cpp
16238 ac_cpp='$CXXCPP $CPPFLAGS'
16239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16242 if test -z "$CXX"; then
16243 if test -n "$CCC"; then
16244 CXX=$CCC
16245 else
16246 if test -n "$ac_tool_prefix"; then
16247 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16248 do
16249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16253 if test "${ac_cv_prog_CXX+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 else
16256 if test -n "$CXX"; then
16257 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16258 else
16259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16260 for as_dir in $PATH
16261 do
16262 IFS=$as_save_IFS
16263 test -z "$as_dir" && as_dir=.
16264 for ac_exec_ext in '' $ac_executable_extensions; do
16265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16266 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16268 break 2
16269 fi
16270 done
16271 done
16272 IFS=$as_save_IFS
16273
16274 fi
16275 fi
16276 CXX=$ac_cv_prog_CXX
16277 if test -n "$CXX"; then
16278 { echo "$as_me:$LINENO: result: $CXX" >&5
16279 echo "${ECHO_T}$CXX" >&6; }
16280 else
16281 { echo "$as_me:$LINENO: result: no" >&5
16282 echo "${ECHO_T}no" >&6; }
16283 fi
16284
16285
16286 test -n "$CXX" && break
16287 done
16288 fi
16289 if test -z "$CXX"; then
16290 ac_ct_CXX=$CXX
16291 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16292 do
16293 # Extract the first word of "$ac_prog", so it can be a program name with args.
16294 set dummy $ac_prog; ac_word=$2
16295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16297 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16299 else
16300 if test -n "$ac_ct_CXX"; then
16301 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16302 else
16303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16304 for as_dir in $PATH
16305 do
16306 IFS=$as_save_IFS
16307 test -z "$as_dir" && as_dir=.
16308 for ac_exec_ext in '' $ac_executable_extensions; do
16309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16310 ac_cv_prog_ac_ct_CXX="$ac_prog"
16311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16312 break 2
16313 fi
16314 done
16315 done
16316 IFS=$as_save_IFS
16317
16318 fi
16319 fi
16320 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16321 if test -n "$ac_ct_CXX"; then
16322 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16323 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16324 else
16325 { echo "$as_me:$LINENO: result: no" >&5
16326 echo "${ECHO_T}no" >&6; }
16327 fi
16328
16329
16330 test -n "$ac_ct_CXX" && break
16331 done
16332
16333 if test "x$ac_ct_CXX" = x; then
16334 CXX="g++"
16335 else
16336 case $cross_compiling:$ac_tool_warned in
16337 yes:)
16338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16339 whose name does not start with the host triplet. If you think this
16340 configuration is useful to you, please write to autoconf@gnu.org." >&5
16341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16342 whose name does not start with the host triplet. If you think this
16343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16344 ac_tool_warned=yes ;;
16345 esac
16346 CXX=$ac_ct_CXX
16347 fi
16348 fi
16349
16350 fi
16351 fi
16352 # Provide some information about the compiler.
16353 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16354 ac_compiler=`set X $ac_compile; echo $2`
16355 { (ac_try="$ac_compiler --version >&5"
16356 case "(($ac_try" in
16357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16358 *) ac_try_echo=$ac_try;;
16359 esac
16360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16361 (eval "$ac_compiler --version >&5") 2>&5
16362 ac_status=$?
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }
16365 { (ac_try="$ac_compiler -v >&5"
16366 case "(($ac_try" in
16367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16368 *) ac_try_echo=$ac_try;;
16369 esac
16370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16371 (eval "$ac_compiler -v >&5") 2>&5
16372 ac_status=$?
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); }
16375 { (ac_try="$ac_compiler -V >&5"
16376 case "(($ac_try" in
16377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16378 *) ac_try_echo=$ac_try;;
16379 esac
16380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16381 (eval "$ac_compiler -V >&5") 2>&5
16382 ac_status=$?
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }
16385
16386 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16387 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16388 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16389 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 else
16391 cat >conftest.$ac_ext <<_ACEOF
16392 /* confdefs.h. */
16393 _ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16397
16398 int
16399 main ()
16400 {
16401 #ifndef __GNUC__
16402 choke me
16403 #endif
16404
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (ac_try="$ac_compile"
16411 case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16414 esac
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_compile") 2>conftest.er1
16417 ac_status=$?
16418 grep -v '^ *+' conftest.er1 >conftest.err
16419 rm -f conftest.er1
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } && {
16423 test -z "$ac_cxx_werror_flag" ||
16424 test ! -s conftest.err
16425 } && test -s conftest.$ac_objext; then
16426 ac_compiler_gnu=yes
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16430
16431 ac_compiler_gnu=no
16432 fi
16433
16434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16435 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16436
16437 fi
16438 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16439 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16440 GXX=`test $ac_compiler_gnu = yes && echo yes`
16441 ac_test_CXXFLAGS=${CXXFLAGS+set}
16442 ac_save_CXXFLAGS=$CXXFLAGS
16443 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16444 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16445 if test "${ac_cv_prog_cxx_g+set}" = set; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 else
16448 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16449 ac_cxx_werror_flag=yes
16450 ac_cv_prog_cxx_g=no
16451 CXXFLAGS="-g"
16452 cat >conftest.$ac_ext <<_ACEOF
16453 /* confdefs.h. */
16454 _ACEOF
16455 cat confdefs.h >>conftest.$ac_ext
16456 cat >>conftest.$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458
16459 int
16460 main ()
16461 {
16462
16463 ;
16464 return 0;
16465 }
16466 _ACEOF
16467 rm -f conftest.$ac_objext
16468 if { (ac_try="$ac_compile"
16469 case "(($ac_try" in
16470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16471 *) ac_try_echo=$ac_try;;
16472 esac
16473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16474 (eval "$ac_compile") 2>conftest.er1
16475 ac_status=$?
16476 grep -v '^ *+' conftest.er1 >conftest.err
16477 rm -f conftest.er1
16478 cat conftest.err >&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } && {
16481 test -z "$ac_cxx_werror_flag" ||
16482 test ! -s conftest.err
16483 } && test -s conftest.$ac_objext; then
16484 ac_cv_prog_cxx_g=yes
16485 else
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16488
16489 CXXFLAGS=""
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496
16497 int
16498 main ()
16499 {
16500
16501 ;
16502 return 0;
16503 }
16504 _ACEOF
16505 rm -f conftest.$ac_objext
16506 if { (ac_try="$ac_compile"
16507 case "(($ac_try" in
16508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16509 *) ac_try_echo=$ac_try;;
16510 esac
16511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16512 (eval "$ac_compile") 2>conftest.er1
16513 ac_status=$?
16514 grep -v '^ *+' conftest.er1 >conftest.err
16515 rm -f conftest.er1
16516 cat conftest.err >&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } && {
16519 test -z "$ac_cxx_werror_flag" ||
16520 test ! -s conftest.err
16521 } && test -s conftest.$ac_objext; then
16522 :
16523 else
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16526
16527 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16528 CXXFLAGS="-g"
16529 cat >conftest.$ac_ext <<_ACEOF
16530 /* confdefs.h. */
16531 _ACEOF
16532 cat confdefs.h >>conftest.$ac_ext
16533 cat >>conftest.$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16535
16536 int
16537 main ()
16538 {
16539
16540 ;
16541 return 0;
16542 }
16543 _ACEOF
16544 rm -f conftest.$ac_objext
16545 if { (ac_try="$ac_compile"
16546 case "(($ac_try" in
16547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16548 *) ac_try_echo=$ac_try;;
16549 esac
16550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16551 (eval "$ac_compile") 2>conftest.er1
16552 ac_status=$?
16553 grep -v '^ *+' conftest.er1 >conftest.err
16554 rm -f conftest.er1
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && {
16558 test -z "$ac_cxx_werror_flag" ||
16559 test ! -s conftest.err
16560 } && test -s conftest.$ac_objext; then
16561 ac_cv_prog_cxx_g=yes
16562 else
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16565
16566
16567 fi
16568
16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16570 fi
16571
16572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16573 fi
16574
16575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16577 fi
16578 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16579 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16580 if test "$ac_test_CXXFLAGS" = set; then
16581 CXXFLAGS=$ac_save_CXXFLAGS
16582 elif test $ac_cv_prog_cxx_g = yes; then
16583 if test "$GXX" = yes; then
16584 CXXFLAGS="-g -O2"
16585 else
16586 CXXFLAGS="-g"
16587 fi
16588 else
16589 if test "$GXX" = yes; then
16590 CXXFLAGS="-O2"
16591 else
16592 CXXFLAGS=
16593 fi
16594 fi
16595 ac_ext=c
16596 ac_cpp='$CPP $CPPFLAGS'
16597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16600
16601
16602
16603
16604 ac_ext=cpp
16605 ac_cpp='$CXXCPP $CPPFLAGS'
16606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16609
16610 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16611 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16612 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 else
16615 cat >conftest.$ac_ext <<_ACEOF
16616 /* confdefs.h. */
16617 _ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621
16622 int
16623 main ()
16624 {
16625
16626 #ifndef __INTEL_COMPILER
16627 choke me
16628 #endif
16629
16630 ;
16631 return 0;
16632 }
16633 _ACEOF
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16639 esac
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_cxx_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then
16651 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16652 else
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16655
16656 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16657
16658 fi
16659
16660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16661
16662
16663 fi
16664 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16665 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16666 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16667 :; INTELCXX=yes
16668 else
16669 :;
16670 fi
16671 ac_ext=c
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16676
16677
16678
16679
16680 if test "x$GCXX" != "xyes"; then
16681 if test "xCXX" = "xC"; then
16682 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16683 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16684 if test "${bakefile_cv_c_exto+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687 cat >conftest.$ac_ext <<_ACEOF
16688 /* confdefs.h. */
16689 _ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693
16694 int
16695 main ()
16696 {
16697
16698 ;
16699 return 0;
16700 }
16701 _ACEOF
16702 rm -f conftest.$ac_objext conftest.$ac_ext.o
16703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16704 (eval $ac_compile) 2>&5
16705 ac_status=$?
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; then
16708 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16709 case $ac_file in
16710 conftest.$ac_ext.o)
16711 bakefile_cv_c_exto="-ext o"
16712 ;;
16713 *)
16714 ;;
16715 esac
16716 done
16717 else
16718 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16719 See \`config.log' for more details." >&5
16720 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16721 See \`config.log' for more details." >&2;}
16722 { (exit 1); exit 1; }; }
16723
16724 fi
16725
16726 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16727
16728 fi
16729 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16730 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16731 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16732 if test "c" = "c"; then
16733 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16734 fi
16735 if test "c" = "cxx"; then
16736 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16737 fi
16738 fi
16739
16740 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16741 unset ac_cv_prog_cc_g
16742 ac_test_CFLAGS=${CFLAGS+set}
16743 ac_save_CFLAGS=$CFLAGS
16744 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16745 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16746 if test "${ac_cv_prog_cc_g+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 else
16749 ac_save_c_werror_flag=$ac_c_werror_flag
16750 ac_c_werror_flag=yes
16751 ac_cv_prog_cc_g=no
16752 CFLAGS="-g"
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759
16760 int
16761 main ()
16762 {
16763
16764 ;
16765 return 0;
16766 }
16767 _ACEOF
16768 rm -f conftest.$ac_objext
16769 if { (ac_try="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16773 esac
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16776 ac_status=$?
16777 grep -v '^ *+' conftest.er1 >conftest.err
16778 rm -f conftest.er1
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_c_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_prog_cc_g=yes
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 CFLAGS=""
16791 cat >conftest.$ac_ext <<_ACEOF
16792 /* confdefs.h. */
16793 _ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16797
16798 int
16799 main ()
16800 {
16801
16802 ;
16803 return 0;
16804 }
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16811 esac
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16814 ac_status=$?
16815 grep -v '^ *+' conftest.er1 >conftest.err
16816 rm -f conftest.er1
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then
16823 :
16824 else
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16827
16828 ac_c_werror_flag=$ac_save_c_werror_flag
16829 CFLAGS="-g"
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h. */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836
16837 int
16838 main ()
16839 {
16840
16841 ;
16842 return 0;
16843 }
16844 _ACEOF
16845 rm -f conftest.$ac_objext
16846 if { (ac_try="$ac_compile"
16847 case "(($ac_try" in
16848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16850 esac
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_compile") 2>conftest.er1
16853 ac_status=$?
16854 grep -v '^ *+' conftest.er1 >conftest.err
16855 rm -f conftest.er1
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } && {
16859 test -z "$ac_c_werror_flag" ||
16860 test ! -s conftest.err
16861 } && test -s conftest.$ac_objext; then
16862 ac_cv_prog_cc_g=yes
16863 else
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16866
16867
16868 fi
16869
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871 fi
16872
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 fi
16875
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877 ac_c_werror_flag=$ac_save_c_werror_flag
16878 fi
16879 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16880 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16881 if test "$ac_test_CFLAGS" = set; then
16882 CFLAGS=$ac_save_CFLAGS
16883 elif test $ac_cv_prog_cc_g = yes; then
16884 if test "$GCC" = yes; then
16885 CFLAGS="-g -O2"
16886 else
16887 CFLAGS="-g"
16888 fi
16889 else
16890 if test "$GCC" = yes; then
16891 CFLAGS="-O2"
16892 else
16893 CFLAGS=
16894 fi
16895 fi
16896 fi
16897 fi
16898
16899 case `uname -s` in
16900 AIX*)
16901
16902
16903 ac_ext=cpp
16904 ac_cpp='$CXXCPP $CPPFLAGS'
16905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908
16909 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16910 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16911 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 else
16914 cat >conftest.$ac_ext <<_ACEOF
16915 /* confdefs.h. */
16916 _ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920
16921 int
16922 main ()
16923 {
16924
16925 #ifndef __xlC__
16926 choke me
16927 #endif
16928
16929 ;
16930 return 0;
16931 }
16932 _ACEOF
16933 rm -f conftest.$ac_objext
16934 if { (ac_try="$ac_compile"
16935 case "(($ac_try" in
16936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16937 *) ac_try_echo=$ac_try;;
16938 esac
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940 (eval "$ac_compile") 2>conftest.er1
16941 ac_status=$?
16942 grep -v '^ *+' conftest.er1 >conftest.err
16943 rm -f conftest.er1
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && {
16947 test -z "$ac_cxx_werror_flag" ||
16948 test ! -s conftest.err
16949 } && test -s conftest.$ac_objext; then
16950 bakefile_cv_cxx_compiler___xlC__=yes
16951 else
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16954
16955 bakefile_cv_cxx_compiler___xlC__=no
16956
16957 fi
16958
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960
16961
16962 fi
16963 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16964 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16965 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16966 :; XLCXX=yes
16967 else
16968 :;
16969 fi
16970 ac_ext=c
16971 ac_cpp='$CPP $CPPFLAGS'
16972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16975
16976
16977
16978 ;;
16979
16980 Darwin)
16981
16982
16983 ac_ext=cpp
16984 ac_cpp='$CXXCPP $CPPFLAGS'
16985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16988
16989 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16990 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16991 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 else
16994 cat >conftest.$ac_ext <<_ACEOF
16995 /* confdefs.h. */
16996 _ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000
17001 int
17002 main ()
17003 {
17004
17005 #ifndef __MWERKS__
17006 choke me
17007 #endif
17008
17009 ;
17010 return 0;
17011 }
17012 _ACEOF
17013 rm -f conftest.$ac_objext
17014 if { (ac_try="$ac_compile"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17018 esac
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compile") 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_cxx_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest.$ac_objext; then
17030 bakefile_cv_cxx_compiler___MWERKS__=yes
17031 else
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.$ac_ext >&5
17034
17035 bakefile_cv_cxx_compiler___MWERKS__=no
17036
17037 fi
17038
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040
17041
17042 fi
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17044 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17045 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17046 :; MWCXX=yes
17047 else
17048 :;
17049 fi
17050 ac_ext=c
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17055
17056
17057
17058
17059
17060 ac_ext=cpp
17061 ac_cpp='$CXXCPP $CPPFLAGS'
17062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17065
17066 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17067 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17068 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 else
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077
17078 int
17079 main ()
17080 {
17081
17082 #ifndef __xlC__
17083 choke me
17084 #endif
17085
17086 ;
17087 return 0;
17088 }
17089 _ACEOF
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17095 esac
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_cxx_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.$ac_objext; then
17107 bakefile_cv_cxx_compiler___xlC__=yes
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17111
17112 bakefile_cv_cxx_compiler___xlC__=no
17113
17114 fi
17115
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117
17118
17119 fi
17120 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17122 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17123 :; XLCXX=yes
17124 else
17125 :;
17126 fi
17127 ac_ext=c
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17132
17133
17134
17135 ;;
17136
17137 IRIX*)
17138
17139
17140 ac_ext=cpp
17141 ac_cpp='$CXXCPP $CPPFLAGS'
17142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17145
17146 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17147 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17148 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 else
17151 cat >conftest.$ac_ext <<_ACEOF
17152 /* confdefs.h. */
17153 _ACEOF
17154 cat confdefs.h >>conftest.$ac_ext
17155 cat >>conftest.$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17157
17158 int
17159 main ()
17160 {
17161
17162 #ifndef _SGI_COMPILER_VERSION
17163 choke me
17164 #endif
17165
17166 ;
17167 return 0;
17168 }
17169 _ACEOF
17170 rm -f conftest.$ac_objext
17171 if { (ac_try="$ac_compile"
17172 case "(($ac_try" in
17173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17174 *) ac_try_echo=$ac_try;;
17175 esac
17176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17177 (eval "$ac_compile") 2>conftest.er1
17178 ac_status=$?
17179 grep -v '^ *+' conftest.er1 >conftest.err
17180 rm -f conftest.er1
17181 cat conftest.err >&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } && {
17184 test -z "$ac_cxx_werror_flag" ||
17185 test ! -s conftest.err
17186 } && test -s conftest.$ac_objext; then
17187 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17188 else
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.$ac_ext >&5
17191
17192 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17193
17194 fi
17195
17196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17197
17198
17199 fi
17200 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17201 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17202 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17203 :; SGICXX=yes
17204 else
17205 :;
17206 fi
17207 ac_ext=c
17208 ac_cpp='$CPP $CPPFLAGS'
17209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17212
17213
17214
17215 ;;
17216
17217 Linux*)
17218
17219
17220 ac_ext=cpp
17221 ac_cpp='$CXXCPP $CPPFLAGS'
17222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17225
17226 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17227 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17228 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 else
17231 cat >conftest.$ac_ext <<_ACEOF
17232 /* confdefs.h. */
17233 _ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237
17238 int
17239 main ()
17240 {
17241
17242 #ifndef __SUNPRO_CC
17243 choke me
17244 #endif
17245
17246 ;
17247 return 0;
17248 }
17249 _ACEOF
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17254 *) ac_try_echo=$ac_try;;
17255 esac
17256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17258 ac_status=$?
17259 grep -v '^ *+' conftest.er1 >conftest.err
17260 rm -f conftest.er1
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_cxx_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.$ac_objext; then
17267 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17268 else
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17271
17272 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17273
17274 fi
17275
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17277
17278
17279 fi
17280 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17281 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17282 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17283 :; SUNCXX=yes
17284 else
17285 :;
17286 fi
17287 ac_ext=c
17288 ac_cpp='$CPP $CPPFLAGS'
17289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17292
17293
17294
17295 ;;
17296
17297 HP-UX*)
17298
17299
17300 ac_ext=cpp
17301 ac_cpp='$CXXCPP $CPPFLAGS'
17302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17305
17306 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17307 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17308 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 else
17311 cat >conftest.$ac_ext <<_ACEOF
17312 /* confdefs.h. */
17313 _ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317
17318 int
17319 main ()
17320 {
17321
17322 #ifndef __HP_aCC
17323 choke me
17324 #endif
17325
17326 ;
17327 return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (ac_try="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335 esac
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_compile") 2>conftest.er1
17338 ac_status=$?
17339 grep -v '^ *+' conftest.er1 >conftest.err
17340 rm -f conftest.er1
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_cxx_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest.$ac_objext; then
17347 bakefile_cv_cxx_compiler___HP_aCC=yes
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17351
17352 bakefile_cv_cxx_compiler___HP_aCC=no
17353
17354 fi
17355
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357
17358
17359 fi
17360 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17361 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17362 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17363 :; HPCXX=yes
17364 else
17365 :;
17366 fi
17367 ac_ext=c
17368 ac_cpp='$CPP $CPPFLAGS'
17369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17372
17373
17374
17375 ;;
17376
17377 OSF1)
17378
17379
17380 ac_ext=cpp
17381 ac_cpp='$CXXCPP $CPPFLAGS'
17382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17385
17386 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17387 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17388 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 else
17391 cat >conftest.$ac_ext <<_ACEOF
17392 /* confdefs.h. */
17393 _ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17397
17398 int
17399 main ()
17400 {
17401
17402 #ifndef __DECCXX
17403 choke me
17404 #endif
17405
17406 ;
17407 return 0;
17408 }
17409 _ACEOF
17410 rm -f conftest.$ac_objext
17411 if { (ac_try="$ac_compile"
17412 case "(($ac_try" in
17413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17414 *) ac_try_echo=$ac_try;;
17415 esac
17416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_compile") 2>conftest.er1
17418 ac_status=$?
17419 grep -v '^ *+' conftest.er1 >conftest.err
17420 rm -f conftest.er1
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_cxx_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest.$ac_objext; then
17427 bakefile_cv_cxx_compiler___DECCXX=yes
17428 else
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17431
17432 bakefile_cv_cxx_compiler___DECCXX=no
17433
17434 fi
17435
17436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17437
17438
17439 fi
17440 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17441 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17442 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17443 :; COMPAQCXX=yes
17444 else
17445 :;
17446 fi
17447 ac_ext=c
17448 ac_cpp='$CPP $CPPFLAGS'
17449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17452
17453
17454
17455 ;;
17456
17457 SunOS)
17458
17459
17460 ac_ext=cpp
17461 ac_cpp='$CXXCPP $CPPFLAGS'
17462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17465
17466 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17467 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17468 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17470 else
17471 cat >conftest.$ac_ext <<_ACEOF
17472 /* confdefs.h. */
17473 _ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17477
17478 int
17479 main ()
17480 {
17481
17482 #ifndef __SUNPRO_CC
17483 choke me
17484 #endif
17485
17486 ;
17487 return 0;
17488 }
17489 _ACEOF
17490 rm -f conftest.$ac_objext
17491 if { (ac_try="$ac_compile"
17492 case "(($ac_try" in
17493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17494 *) ac_try_echo=$ac_try;;
17495 esac
17496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17497 (eval "$ac_compile") 2>conftest.er1
17498 ac_status=$?
17499 grep -v '^ *+' conftest.er1 >conftest.err
17500 rm -f conftest.er1
17501 cat conftest.err >&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } && {
17504 test -z "$ac_cxx_werror_flag" ||
17505 test ! -s conftest.err
17506 } && test -s conftest.$ac_objext; then
17507 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17508 else
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.$ac_ext >&5
17511
17512 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17513
17514 fi
17515
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17517
17518
17519 fi
17520 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17521 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17522 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17523 :; SUNCXX=yes
17524 else
17525 :;
17526 fi
17527 ac_ext=c
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17532
17533
17534
17535 ;;
17536 esac
17537 fi
17538
17539
17540
17541 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17542 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17543 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17544 { (exit 1); exit 1; }; }
17545 fi
17546
17547 if test "x$SUNCXX" != xyes; then
17548 if test -n "$ac_tool_prefix"; then
17549 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17550 set dummy ${ac_tool_prefix}ar; ac_word=$2
17551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17553 if test "${ac_cv_prog_AR+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 else
17556 if test -n "$AR"; then
17557 ac_cv_prog_AR="$AR" # Let the user override the test.
17558 else
17559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17560 for as_dir in $PATH
17561 do
17562 IFS=$as_save_IFS
17563 test -z "$as_dir" && as_dir=.
17564 for ac_exec_ext in '' $ac_executable_extensions; do
17565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17566 ac_cv_prog_AR="${ac_tool_prefix}ar"
17567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17568 break 2
17569 fi
17570 done
17571 done
17572 IFS=$as_save_IFS
17573
17574 fi
17575 fi
17576 AR=$ac_cv_prog_AR
17577 if test -n "$AR"; then
17578 { echo "$as_me:$LINENO: result: $AR" >&5
17579 echo "${ECHO_T}$AR" >&6; }
17580 else
17581 { echo "$as_me:$LINENO: result: no" >&5
17582 echo "${ECHO_T}no" >&6; }
17583 fi
17584
17585
17586 fi
17587 if test -z "$ac_cv_prog_AR"; then
17588 ac_ct_AR=$AR
17589 # Extract the first word of "ar", so it can be a program name with args.
17590 set dummy ar; ac_word=$2
17591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17593 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 else
17596 if test -n "$ac_ct_AR"; then
17597 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17598 else
17599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17600 for as_dir in $PATH
17601 do
17602 IFS=$as_save_IFS
17603 test -z "$as_dir" && as_dir=.
17604 for ac_exec_ext in '' $ac_executable_extensions; do
17605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17606 ac_cv_prog_ac_ct_AR="ar"
17607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17608 break 2
17609 fi
17610 done
17611 done
17612 IFS=$as_save_IFS
17613
17614 fi
17615 fi
17616 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17617 if test -n "$ac_ct_AR"; then
17618 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17619 echo "${ECHO_T}$ac_ct_AR" >&6; }
17620 else
17621 { echo "$as_me:$LINENO: result: no" >&5
17622 echo "${ECHO_T}no" >&6; }
17623 fi
17624
17625 if test "x$ac_ct_AR" = x; then
17626 AR=""
17627 else
17628 case $cross_compiling:$ac_tool_warned in
17629 yes:)
17630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17631 whose name does not start with the host triplet. If you think this
17632 configuration is useful to you, please write to autoconf@gnu.org." >&5
17633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17634 whose name does not start with the host triplet. If you think this
17635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17636 ac_tool_warned=yes ;;
17637 esac
17638 AR=$ac_ct_AR
17639 fi
17640 else
17641 AR="$ac_cv_prog_AR"
17642 fi
17643
17644 if test "x$AR" = "x" ; then
17645 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17646 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17647 { (exit 1); exit 1; }; }
17648 fi
17649 fi
17650
17651 retest_macosx_linking=no
17652
17653 #if test "$wxUSE_MAC" = 1; then
17654 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17655 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17656 # Implicitly turn on the new --with-macosx-sdk using the default
17657 # SDK which provides the behavior this option has always had.
17658 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17659 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17660 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17661 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17662 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17663 wxUSE_MACOSX_SDK=yes
17664 fi
17665 else
17666 # Complain to user if he specified an argument to --enable-universal_binary
17667 # and also 1) specified --with-macosx-sdk using the default (yes) or
17668 # 2) specified --with-macosx-sdk using a path or 3) specified
17669 # --without-macosx-sdk (no).
17670 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17671 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17672 See \`config.log' for more details." >&5
17673 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17674 See \`config.log' for more details." >&2;}
17675 { (exit 1); exit 1; }; }
17676 else
17677 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17678 # special-case the empty string because the below test simply
17679 # converts "no" to the empty string anyway.
17680 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17681 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17682 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17683 fi
17684 fi
17685 OSX_UNIV_OPTS="-arch ppc -arch i386"
17686 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17687 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17688 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17689 retest_macosx_linking=yes
17690
17691 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17692 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17693 bk_use_pch=no
17694 fi
17695 #fi
17696
17697 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17698 wxUSE_MACOSX_SDK=
17699 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17700 # TODO: Search for most recent SDK and use it.
17701 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17702 fi
17703
17704
17705 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17706 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17707 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17708 if ! test -d "$wxUSE_MACOSX_SDK"; then
17709 { { echo "$as_me:$LINENO: error: not found
17710 See \`config.log' for more details." >&5
17711 echo "$as_me: error: not found
17712 See \`config.log' for more details." >&2;}
17713 { (exit 1); exit 1; }; }
17714 else
17715 { echo "$as_me:$LINENO: result: exists" >&5
17716 echo "${ECHO_T}exists" >&6; }
17717 fi
17718 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17719 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17720 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17721 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17722 retest_macosx_linking=yes
17723 fi
17724
17725 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17726 wxUSE_MACOSX_VERSION_MIN=
17727 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17728 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17729 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17730 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17731
17732 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/'`
17733
17734 # If that failed, try again with the new key
17735 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17736
17737 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/'`
17738
17739 fi
17740
17741 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17742 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17743 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17744 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17745 else
17746 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17747 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17748 wxUSE_MACOSX_VERSION_MIN=
17749 fi
17750 else
17751 wxUSE_MACOSX_VERSION_MIN=
17752 fi
17753 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17754 if test "$wxUSE_MAC" = 1; then
17755 # otherwise configure stops on leopard for universal_binary
17756 wxUSE_MACOSX_VERSION_MIN=10.4
17757 fi
17758 fi
17759
17760 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17761 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17762 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17763 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17764 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17765 retest_macosx_linking=yes
17766 fi
17767
17768 if test "x$retest_macosx_linking" = "xyes"; then
17769 ac_ext=c
17770 ac_cpp='$CPP $CPPFLAGS'
17771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17774
17775 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17776 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17777 cat >conftest.$ac_ext <<_ACEOF
17778 /* confdefs.h. */
17779 _ACEOF
17780 cat confdefs.h >>conftest.$ac_ext
17781 cat >>conftest.$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783
17784 int
17785 main ()
17786 {
17787
17788 ;
17789 return 0;
17790 }
17791 _ACEOF
17792 rm -f conftest.$ac_objext conftest$ac_exeext
17793 if { (ac_try="$ac_link"
17794 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17797 esac
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_link") 2>conftest.er1
17800 ac_status=$?
17801 grep -v '^ *+' conftest.er1 >conftest.err
17802 rm -f conftest.er1
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } && {
17806 test -z "$ac_c_werror_flag" ||
17807 test ! -s conftest.err
17808 } && test -s conftest$ac_exeext &&
17809 $as_test_x conftest$ac_exeext; then
17810 { echo "$as_me:$LINENO: result: yes" >&5
17811 echo "${ECHO_T}yes" >&6; }
17812 else
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.$ac_ext >&5
17815
17816 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17817 See \`config.log' for more details." >&5
17818 echo "$as_me: error: no. Try a different SDK
17819 See \`config.log' for more details." >&2;}
17820 { (exit 1); exit 1; }; }; exit 1
17821 fi
17822
17823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17824 conftest$ac_exeext conftest.$ac_ext
17825 ac_ext=c
17826 ac_cpp='$CPP $CPPFLAGS'
17827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17830
17831
17832 ac_ext=cpp
17833 ac_cpp='$CXXCPP $CPPFLAGS'
17834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17837
17838 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17839 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17840 cat >conftest.$ac_ext <<_ACEOF
17841 /* confdefs.h. */
17842 _ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846
17847 int
17848 main ()
17849 {
17850
17851 ;
17852 return 0;
17853 }
17854 _ACEOF
17855 rm -f conftest.$ac_objext conftest$ac_exeext
17856 if { (ac_try="$ac_link"
17857 case "(($ac_try" in
17858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17859 *) ac_try_echo=$ac_try;;
17860 esac
17861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17862 (eval "$ac_link") 2>conftest.er1
17863 ac_status=$?
17864 grep -v '^ *+' conftest.er1 >conftest.err
17865 rm -f conftest.er1
17866 cat conftest.err >&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } && {
17869 test -z "$ac_cxx_werror_flag" ||
17870 test ! -s conftest.err
17871 } && test -s conftest$ac_exeext &&
17872 $as_test_x conftest$ac_exeext; then
17873 { echo "$as_me:$LINENO: result: yes" >&5
17874 echo "${ECHO_T}yes" >&6; }
17875 else
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17878
17879 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17880 See \`config.log' for more details." >&5
17881 echo "$as_me: error: no. Try a different SDK
17882 See \`config.log' for more details." >&2;}
17883 { (exit 1); exit 1; }; }; exit 1
17884 fi
17885
17886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17887 conftest$ac_exeext conftest.$ac_ext
17888 ac_ext=c
17889 ac_cpp='$CPP $CPPFLAGS'
17890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17893
17894 fi
17895
17896
17897 case "${host}" in
17898
17899 *-*-darwin* )
17900 INSTALL_PROGRAM="cp -fp"
17901 INSTALL_DATA="cp -fp"
17902 ;;
17903 *)
17904 ;;
17905 esac
17906
17907
17908 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17909 CXXFLAGS="-qunique $CXXFLAGS"
17910 fi
17911
17912 case "${host}" in
17913 powerpc-*-darwin* )
17914 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17915 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17916 cat >conftest.$ac_ext <<_ACEOF
17917 /* confdefs.h. */
17918 _ACEOF
17919 cat confdefs.h >>conftest.$ac_ext
17920 cat >>conftest.$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922
17923 int
17924 main ()
17925 {
17926 #ifndef __POWERPC__
17927 choke me for lack of PowerPC
17928 #endif
17929
17930 ;
17931 return 0;
17932 }
17933 _ACEOF
17934 rm -f conftest.$ac_objext
17935 if { (ac_try="$ac_compile"
17936 case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17939 esac
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_compile") 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } && {
17948 test -z "$ac_c_werror_flag" ||
17949 test ! -s conftest.err
17950 } && test -s conftest.$ac_objext; then
17951 { echo "$as_me:$LINENO: result: yes" >&5
17952 echo "${ECHO_T}yes" >&6; }
17953 else
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17956
17957 { echo "$as_me:$LINENO: result: no" >&5
17958 echo "${ECHO_T}no" >&6; }
17959 cat >>confdefs.h <<\_ACEOF
17960 #define __POWERPC__ 1
17961 _ACEOF
17962
17963
17964 fi
17965
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 ;;
17968 esac
17969
17970 case "${host}" in
17971 *-*-darwin* )
17972 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17973 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17974 cat >conftest.$ac_ext <<_ACEOF
17975 /* confdefs.h. */
17976 _ACEOF
17977 cat confdefs.h >>conftest.$ac_ext
17978 cat >>conftest.$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17980 #include <CoreFoundation/CFBase.h>
17981
17982 int
17983 main ()
17984 {
17985
17986 ;
17987 return 0;
17988 }
17989 _ACEOF
17990 rm -f conftest.$ac_objext
17991 if { (ac_try="$ac_compile"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17995 esac
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_compile") 2>conftest.er1
17998 ac_status=$?
17999 grep -v '^ *+' conftest.er1 >conftest.err
18000 rm -f conftest.er1
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest.$ac_objext; then
18007 { echo "$as_me:$LINENO: result: yes" >&5
18008 echo "${ECHO_T}yes" >&6; }
18009 else
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18012
18013 { echo "$as_me:$LINENO: result: no" >&5
18014 echo "${ECHO_T}no" >&6; }
18015 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18016 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18017 cat >conftest.$ac_ext <<_ACEOF
18018 /* confdefs.h. */
18019 _ACEOF
18020 cat confdefs.h >>conftest.$ac_ext
18021 cat >>conftest.$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18023 #define __CF_USE_FRAMEWORK_INCLUDES__
18024 #include <CoreFoundation/CFBase.h>
18025
18026 int
18027 main ()
18028 {
18029
18030 ;
18031 return 0;
18032 }
18033 _ACEOF
18034 rm -f conftest.$ac_objext
18035 if { (ac_try="$ac_compile"
18036 case "(($ac_try" in
18037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18038 *) ac_try_echo=$ac_try;;
18039 esac
18040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18041 (eval "$ac_compile") 2>conftest.er1
18042 ac_status=$?
18043 grep -v '^ *+' conftest.er1 >conftest.err
18044 rm -f conftest.er1
18045 cat conftest.err >&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } && {
18048 test -z "$ac_c_werror_flag" ||
18049 test ! -s conftest.err
18050 } && test -s conftest.$ac_objext; then
18051 { echo "$as_me:$LINENO: result: yes" >&5
18052 echo "${ECHO_T}yes" >&6; }
18053 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18054 else
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18057
18058 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18059 See \`config.log' for more details." >&5
18060 echo "$as_me: error: no. CoreFoundation not available.
18061 See \`config.log' for more details." >&2;}
18062 { (exit 1); exit 1; }; }
18063
18064 fi
18065
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067
18068
18069 fi
18070
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18072 ;;
18073 esac
18074
18075 wants_win32=0
18076 doesnt_want_win32=0
18077 case "${host}" in
18078 *-*-cygwin*)
18079 if test "$wxUSE_MSW" = 1 ; then
18080 wants_win32=1
18081 else
18082 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18083 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18084 if test "${wx_cv_nocygwin+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 else
18087
18088 cat >conftest.$ac_ext <<_ACEOF
18089 /* confdefs.h. */
18090 _ACEOF
18091 cat confdefs.h >>conftest.$ac_ext
18092 cat >>conftest.$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18094
18095 int
18096 main ()
18097 {
18098
18099 #ifdef __MINGW32__
18100 choke me
18101 #endif
18102
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (ac_try="$ac_compile"
18109 case "(($ac_try" in
18110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18111 *) ac_try_echo=$ac_try;;
18112 esac
18113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18114 (eval "$ac_compile") 2>conftest.er1
18115 ac_status=$?
18116 grep -v '^ *+' conftest.er1 >conftest.err
18117 rm -f conftest.er1
18118 cat conftest.err >&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } && {
18121 test -z "$ac_c_werror_flag" ||
18122 test ! -s conftest.err
18123 } && test -s conftest.$ac_objext; then
18124 wx_cv_nocygwin=no
18125 else
18126 echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.$ac_ext >&5
18128
18129 wx_cv_nocygwin=yes
18130
18131 fi
18132
18133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134
18135
18136 fi
18137 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18138 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18139
18140 if test "$wx_cv_nocygwin" = "yes"; then
18141 wants_win32=1
18142 else
18143 doesnt_want_win32=1
18144 fi
18145 fi
18146 if test "$wants_win32" = 1 ; then
18147 BAKEFILE_FORCE_PLATFORM=win32
18148 fi
18149 ;;
18150 *-*-mingw*)
18151 wants_win32=1
18152 ;;
18153 esac
18154
18155 if test "$wxUSE_WINE" = "yes"; then
18156 wants_win32=1
18157 LDFLAGS_GUI="-mwindows"
18158 fi
18159
18160 if test "$wants_win32" = 1 ; then
18161 USE_UNIX=0
18162 USE_WIN32=1
18163 cat >>confdefs.h <<\_ACEOF
18164 #define __WIN32__ 1
18165 _ACEOF
18166
18167 cat >>confdefs.h <<\_ACEOF
18168 #define __WIN95__ 1
18169 _ACEOF
18170
18171 cat >>confdefs.h <<\_ACEOF
18172 #define __WINDOWS__ 1
18173 _ACEOF
18174
18175 cat >>confdefs.h <<\_ACEOF
18176 #define __GNUWIN32__ 1
18177 _ACEOF
18178
18179 cat >>confdefs.h <<\_ACEOF
18180 #define STRICT 1
18181 _ACEOF
18182
18183 fi
18184 if test "$doesnt_want_win32" = 1 ; then
18185 USE_UNIX=1
18186 USE_WIN32=0
18187 fi
18188
18189 if test "$USE_UNIX" = 1 ; then
18190 wxUSE_UNIX=yes
18191 cat >>confdefs.h <<\_ACEOF
18192 #define __UNIX__ 1
18193 _ACEOF
18194
18195 fi
18196
18197 case "${host}" in
18198 *-pc-os2_emx | *-pc-os2-emx )
18199 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18200 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18201 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18202 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 else
18205 ac_check_lib_save_LIBS=$LIBS
18206 LIBS="-lcExt $LIBS"
18207 cat >conftest.$ac_ext <<_ACEOF
18208 /* confdefs.h. */
18209 _ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18217 #ifdef __cplusplus
18218 extern "C"
18219 #endif
18220 char drand48 ();
18221 int
18222 main ()
18223 {
18224 return drand48 ();
18225 ;
18226 return 0;
18227 }
18228 _ACEOF
18229 rm -f conftest.$ac_objext conftest$ac_exeext
18230 if { (ac_try="$ac_link"
18231 case "(($ac_try" in
18232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18233 *) ac_try_echo=$ac_try;;
18234 esac
18235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18236 (eval "$ac_link") 2>conftest.er1
18237 ac_status=$?
18238 grep -v '^ *+' conftest.er1 >conftest.err
18239 rm -f conftest.er1
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } && {
18243 test -z "$ac_c_werror_flag" ||
18244 test ! -s conftest.err
18245 } && test -s conftest$ac_exeext &&
18246 $as_test_x conftest$ac_exeext; then
18247 ac_cv_lib_cExt_drand48=yes
18248 else
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18251
18252 ac_cv_lib_cExt_drand48=no
18253 fi
18254
18255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18256 conftest$ac_exeext conftest.$ac_ext
18257 LIBS=$ac_check_lib_save_LIBS
18258 fi
18259 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18260 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18261 if test $ac_cv_lib_cExt_drand48 = yes; then
18262 LIBS="$LIBS -lcExt"
18263 fi
18264
18265 else
18266 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18267 fi
18268 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18269 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18270 if test "${wx_cv_gccversion+set}" = set; then
18271 echo $ECHO_N "(cached) $ECHO_C" >&6
18272 else
18273
18274 if test "$cross_compiling" = yes; then
18275 wx_cv_gccversion="EMX2"
18276
18277 else
18278 cat >conftest.$ac_ext <<_ACEOF
18279 /* confdefs.h. */
18280 _ACEOF
18281 cat confdefs.h >>conftest.$ac_ext
18282 cat >>conftest.$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18284
18285 #include <stdio.h>
18286
18287 int main()
18288 {
18289 FILE *f=fopen("conftestval", "w");
18290 if (!f) exit(1);
18291 fprintf(f,
18292 #if (__GNUC__ < 3)
18293 "EMX2"
18294 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18295 "EMX3"
18296 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18297 "Innotek5"
18298 #else
18299 "Innotek6"
18300 #endif
18301 );
18302 exit(0);
18303 }
18304
18305 _ACEOF
18306 rm -f conftest$ac_exeext
18307 if { (ac_try="$ac_link"
18308 case "(($ac_try" in
18309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18310 *) ac_try_echo=$ac_try;;
18311 esac
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_link") 2>&5
18314 ac_status=$?
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18317 { (case "(($ac_try" in
18318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18319 *) ac_try_echo=$ac_try;;
18320 esac
18321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18322 (eval "$ac_try") 2>&5
18323 ac_status=$?
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 wx_cv_gccversion=`cat conftestval`
18327 else
18328 echo "$as_me: program exited with status $ac_status" >&5
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18331
18332 ( exit $ac_status )
18333 wx_cv_gccversion="EMX2"
18334 fi
18335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18336 fi
18337
18338
18339
18340 fi
18341 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18342 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18343 if test "$wx_cv_gccversion" = "EMX2"; then
18344 LIBS="$LIBS -lstdcpp"
18345 LDFLAGS="$LDFLAGS -Zsysv-signals"
18346 else
18347 if test "$wx_cv_gccversion" = "EMX3"; then
18348 LIBS="$LIBS -lstdcxx -lgcc"
18349 LDFLAGS="$LDFLAGS -Zsysv-signals"
18350 else
18351 LIBS="$LIBS -lstdc++"
18352 fi
18353 fi
18354 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18355 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18356 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18357 wxUSE_OMF=yes
18358 enable_omf=yes
18359 fi
18360 ;;
18361 *)
18362
18363 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18364 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18365 if test "${ac_cv_string_strcasecmp+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 else
18368
18369 cat >conftest.$ac_ext <<_ACEOF
18370 /* confdefs.h. */
18371 _ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375
18376 #include <string.h>
18377
18378 int
18379 main ()
18380 {
18381
18382 strcasecmp("foo", "bar");
18383
18384 ;
18385 return 0;
18386 }
18387 _ACEOF
18388 rm -f conftest.$ac_objext conftest$ac_exeext
18389 if { (ac_try="$ac_link"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18393 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_link") 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest$ac_exeext &&
18405 $as_test_x conftest$ac_exeext; then
18406 ac_cv_string_strcasecmp=yes
18407 else
18408 echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.$ac_ext >&5
18410
18411 ac_cv_string_strcasecmp=no
18412
18413 fi
18414
18415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18416 conftest$ac_exeext conftest.$ac_ext
18417
18418 fi
18419 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18420 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18421
18422 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18423 cat >>confdefs.h <<\_ACEOF
18424 #define HAVE_STRCASECMP_IN_STRING_H 1
18425 _ACEOF
18426
18427 else
18428 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18429 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18430 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 else
18433
18434 cat >conftest.$ac_ext <<_ACEOF
18435 /* confdefs.h. */
18436 _ACEOF
18437 cat confdefs.h >>conftest.$ac_ext
18438 cat >>conftest.$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18440
18441 #include <strings.h>
18442
18443 int
18444 main ()
18445 {
18446
18447 strcasecmp("foo", "bar");
18448
18449 ;
18450 return 0;
18451 }
18452 _ACEOF
18453 rm -f conftest.$ac_objext conftest$ac_exeext
18454 if { (ac_try="$ac_link"
18455 case "(($ac_try" in
18456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18457 *) ac_try_echo=$ac_try;;
18458 esac
18459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18460 (eval "$ac_link") 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } && {
18467 test -z "$ac_c_werror_flag" ||
18468 test ! -s conftest.err
18469 } && test -s conftest$ac_exeext &&
18470 $as_test_x conftest$ac_exeext; then
18471 ac_cv_strings_strcasecmp=yes
18472 else
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18475
18476 ac_cv_strings_strcasecmp=no
18477
18478 fi
18479
18480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18481 conftest$ac_exeext conftest.$ac_ext
18482
18483 fi
18484 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18485 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18486
18487 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18488 cat >>confdefs.h <<\_ACEOF
18489 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18490 _ACEOF
18491
18492 else
18493 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18494 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18495 { (exit 1); exit 1; }; }
18496 fi
18497 fi
18498
18499 ;;
18500 esac
18501
18502
18503 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18504 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18505 if test "${ac_cv_header_stdc+set}" = set; then
18506 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 else
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h. */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 #include <stdlib.h>
18515 #include <stdarg.h>
18516 #include <string.h>
18517 #include <float.h>
18518
18519 int
18520 main ()
18521 {
18522
18523 ;
18524 return 0;
18525 }
18526 _ACEOF
18527 rm -f conftest.$ac_objext
18528 if { (ac_try="$ac_compile"
18529 case "(($ac_try" in
18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18531 *) ac_try_echo=$ac_try;;
18532 esac
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_compile") 2>conftest.er1
18535 ac_status=$?
18536 grep -v '^ *+' conftest.er1 >conftest.err
18537 rm -f conftest.er1
18538 cat conftest.err >&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); } && {
18541 test -z "$ac_c_werror_flag" ||
18542 test ! -s conftest.err
18543 } && test -s conftest.$ac_objext; then
18544 ac_cv_header_stdc=yes
18545 else
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18548
18549 ac_cv_header_stdc=no
18550 fi
18551
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553
18554 if test $ac_cv_header_stdc = yes; then
18555 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 #include <string.h>
18563
18564 _ACEOF
18565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18566 $EGREP "memchr" >/dev/null 2>&1; then
18567 :
18568 else
18569 ac_cv_header_stdc=no
18570 fi
18571 rm -f conftest*
18572
18573 fi
18574
18575 if test $ac_cv_header_stdc = yes; then
18576 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18577 cat >conftest.$ac_ext <<_ACEOF
18578 /* confdefs.h. */
18579 _ACEOF
18580 cat confdefs.h >>conftest.$ac_ext
18581 cat >>conftest.$ac_ext <<_ACEOF
18582 /* end confdefs.h. */
18583 #include <stdlib.h>
18584
18585 _ACEOF
18586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18587 $EGREP "free" >/dev/null 2>&1; then
18588 :
18589 else
18590 ac_cv_header_stdc=no
18591 fi
18592 rm -f conftest*
18593
18594 fi
18595
18596 if test $ac_cv_header_stdc = yes; then
18597 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18598 if test "$cross_compiling" = yes; then
18599 :
18600 else
18601 cat >conftest.$ac_ext <<_ACEOF
18602 /* confdefs.h. */
18603 _ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 #include <ctype.h>
18608 #include <stdlib.h>
18609 #if ((' ' & 0x0FF) == 0x020)
18610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18611 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18612 #else
18613 # define ISLOWER(c) \
18614 (('a' <= (c) && (c) <= 'i') \
18615 || ('j' <= (c) && (c) <= 'r') \
18616 || ('s' <= (c) && (c) <= 'z'))
18617 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18618 #endif
18619
18620 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18621 int
18622 main ()
18623 {
18624 int i;
18625 for (i = 0; i < 256; i++)
18626 if (XOR (islower (i), ISLOWER (i))
18627 || toupper (i) != TOUPPER (i))
18628 return 2;
18629 return 0;
18630 }
18631 _ACEOF
18632 rm -f conftest$ac_exeext
18633 if { (ac_try="$ac_link"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18637 esac
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_link") 2>&5
18640 ac_status=$?
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18643 { (case "(($ac_try" in
18644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18645 *) ac_try_echo=$ac_try;;
18646 esac
18647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18648 (eval "$ac_try") 2>&5
18649 ac_status=$?
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; }; then
18652 :
18653 else
18654 echo "$as_me: program exited with status $ac_status" >&5
18655 echo "$as_me: failed program was:" >&5
18656 sed 's/^/| /' conftest.$ac_ext >&5
18657
18658 ( exit $ac_status )
18659 ac_cv_header_stdc=no
18660 fi
18661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18662 fi
18663
18664
18665 fi
18666 fi
18667 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18668 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18669 if test $ac_cv_header_stdc = yes; then
18670
18671 cat >>confdefs.h <<\_ACEOF
18672 #define STDC_HEADERS 1
18673 _ACEOF
18674
18675 fi
18676
18677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18688 inttypes.h stdint.h unistd.h
18689 do
18690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18691 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18695 else
18696 cat >conftest.$ac_ext <<_ACEOF
18697 /* confdefs.h. */
18698 _ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 $ac_includes_default
18703
18704 #include <$ac_header>
18705 _ACEOF
18706 rm -f conftest.$ac_objext
18707 if { (ac_try="$ac_compile"
18708 case "(($ac_try" in
18709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18710 *) ac_try_echo=$ac_try;;
18711 esac
18712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18713 (eval "$ac_compile") 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } && {
18720 test -z "$ac_c_werror_flag" ||
18721 test ! -s conftest.err
18722 } && test -s conftest.$ac_objext; then
18723 eval "$as_ac_Header=yes"
18724 else
18725 echo "$as_me: failed program was:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18727
18728 eval "$as_ac_Header=no"
18729 fi
18730
18731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18732 fi
18733 ac_res=`eval echo '${'$as_ac_Header'}'`
18734 { echo "$as_me:$LINENO: result: $ac_res" >&5
18735 echo "${ECHO_T}$ac_res" >&6; }
18736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18737 cat >>confdefs.h <<_ACEOF
18738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18739 _ACEOF
18740
18741 fi
18742
18743 done
18744
18745
18746
18747
18748 for ac_header in langinfo.h wchar.h
18749 do
18750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18751 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18753 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18754 echo $ECHO_N "(cached) $ECHO_C" >&6
18755 else
18756 cat >conftest.$ac_ext <<_ACEOF
18757 /* confdefs.h. */
18758 _ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18762 $ac_includes_default
18763
18764 #include <$ac_header>
18765 _ACEOF
18766 rm -f conftest.$ac_objext
18767 if { (ac_try="$ac_compile"
18768 case "(($ac_try" in
18769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18770 *) ac_try_echo=$ac_try;;
18771 esac
18772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18773 (eval "$ac_compile") 2>conftest.er1
18774 ac_status=$?
18775 grep -v '^ *+' conftest.er1 >conftest.err
18776 rm -f conftest.er1
18777 cat conftest.err >&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } && {
18780 test -z "$ac_c_werror_flag" ||
18781 test ! -s conftest.err
18782 } && test -s conftest.$ac_objext; then
18783 eval "$as_ac_Header=yes"
18784 else
18785 echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.$ac_ext >&5
18787
18788 eval "$as_ac_Header=no"
18789 fi
18790
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18792 fi
18793 ac_res=`eval echo '${'$as_ac_Header'}'`
18794 { echo "$as_me:$LINENO: result: $ac_res" >&5
18795 echo "${ECHO_T}$ac_res" >&6; }
18796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18797 cat >>confdefs.h <<_ACEOF
18798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18799 _ACEOF
18800
18801 fi
18802
18803 done
18804
18805
18806 if test "$ac_cv_header_wchar_h" != "yes"; then
18807
18808 for ac_header in wcstr.h
18809 do
18810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18814 echo $ECHO_N "(cached) $ECHO_C" >&6
18815 else
18816 cat >conftest.$ac_ext <<_ACEOF
18817 /* confdefs.h. */
18818 _ACEOF
18819 cat confdefs.h >>conftest.$ac_ext
18820 cat >>conftest.$ac_ext <<_ACEOF
18821 /* end confdefs.h. */
18822 $ac_includes_default
18823
18824 #include <$ac_header>
18825 _ACEOF
18826 rm -f conftest.$ac_objext
18827 if { (ac_try="$ac_compile"
18828 case "(($ac_try" in
18829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18830 *) ac_try_echo=$ac_try;;
18831 esac
18832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18833 (eval "$ac_compile") 2>conftest.er1
18834 ac_status=$?
18835 grep -v '^ *+' conftest.er1 >conftest.err
18836 rm -f conftest.er1
18837 cat conftest.err >&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } && {
18840 test -z "$ac_c_werror_flag" ||
18841 test ! -s conftest.err
18842 } && test -s conftest.$ac_objext; then
18843 eval "$as_ac_Header=yes"
18844 else
18845 echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.$ac_ext >&5
18847
18848 eval "$as_ac_Header=no"
18849 fi
18850
18851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18852 fi
18853 ac_res=`eval echo '${'$as_ac_Header'}'`
18854 { echo "$as_me:$LINENO: result: $ac_res" >&5
18855 echo "${ECHO_T}$ac_res" >&6; }
18856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18857 cat >>confdefs.h <<_ACEOF
18858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18859 _ACEOF
18860
18861 fi
18862
18863 done
18864
18865 fi
18866
18867 case "${host}" in
18868 *-pc-os2_emx | *-pc-os2-emx )
18869 if test $ac_cv_header_langinfo_h = "yes" \
18870 -a \( "$wx_cv_gccversion" = "EMX2" \
18871 -o "$wx_cv_gccversion" = "EMX3" \
18872 -o "$wx_cv_gccversion" = "Innotek5" \); then
18873 LIBS="$LIBS -lintl"
18874 fi
18875 ;;
18876 esac
18877
18878 if test "$USE_UNIX" = 1 ; then
18879
18880 for ac_header in sys/select.h
18881 do
18882 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18883 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18886 echo $ECHO_N "(cached) $ECHO_C" >&6
18887 else
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h. */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 $ac_includes_default
18895
18896 #include <$ac_header>
18897 _ACEOF
18898 rm -f conftest.$ac_objext
18899 if { (ac_try="$ac_compile"
18900 case "(($ac_try" in
18901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18903 esac
18904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_compile") 2>conftest.er1
18906 ac_status=$?
18907 grep -v '^ *+' conftest.er1 >conftest.err
18908 rm -f conftest.er1
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } && {
18912 test -z "$ac_c_werror_flag" ||
18913 test ! -s conftest.err
18914 } && test -s conftest.$ac_objext; then
18915 eval "$as_ac_Header=yes"
18916 else
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18919
18920 eval "$as_ac_Header=no"
18921 fi
18922
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18924 fi
18925 ac_res=`eval echo '${'$as_ac_Header'}'`
18926 { echo "$as_me:$LINENO: result: $ac_res" >&5
18927 echo "${ECHO_T}$ac_res" >&6; }
18928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18929 cat >>confdefs.h <<_ACEOF
18930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18931 _ACEOF
18932
18933 fi
18934
18935 done
18936
18937 fi
18938
18939
18940 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18941 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18942 if test "${ac_cv_c_const+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 else
18945 cat >conftest.$ac_ext <<_ACEOF
18946 /* confdefs.h. */
18947 _ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951
18952 int
18953 main ()
18954 {
18955 /* FIXME: Include the comments suggested by Paul. */
18956 #ifndef __cplusplus
18957 /* Ultrix mips cc rejects this. */
18958 typedef int charset[2];
18959 const charset cs;
18960 /* SunOS 4.1.1 cc rejects this. */
18961 char const *const *pcpcc;
18962 char **ppc;
18963 /* NEC SVR4.0.2 mips cc rejects this. */
18964 struct point {int x, y;};
18965 static struct point const zero = {0,0};
18966 /* AIX XL C 1.02.0.0 rejects this.
18967 It does not let you subtract one const X* pointer from another in
18968 an arm of an if-expression whose if-part is not a constant
18969 expression */
18970 const char *g = "string";
18971 pcpcc = &g + (g ? g-g : 0);
18972 /* HPUX 7.0 cc rejects these. */
18973 ++pcpcc;
18974 ppc = (char**) pcpcc;
18975 pcpcc = (char const *const *) ppc;
18976 { /* SCO 3.2v4 cc rejects this. */
18977 char *t;
18978 char const *s = 0 ? (char *) 0 : (char const *) 0;
18979
18980 *t++ = 0;
18981 if (s) return 0;
18982 }
18983 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18984 int x[] = {25, 17};
18985 const int *foo = &x[0];
18986 ++foo;
18987 }
18988 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18989 typedef const int *iptr;
18990 iptr p = 0;
18991 ++p;
18992 }
18993 { /* AIX XL C 1.02.0.0 rejects this saying
18994 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18995 struct s { int j; const int *ap[3]; };
18996 struct s *b; b->j = 5;
18997 }
18998 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18999 const int foo = 10;
19000 if (!foo) return 0;
19001 }
19002 return !cs[0] && !zero.x;
19003 #endif
19004
19005 ;
19006 return 0;
19007 }
19008 _ACEOF
19009 rm -f conftest.$ac_objext
19010 if { (ac_try="$ac_compile"
19011 case "(($ac_try" in
19012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19013 *) ac_try_echo=$ac_try;;
19014 esac
19015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19016 (eval "$ac_compile") 2>conftest.er1
19017 ac_status=$?
19018 grep -v '^ *+' conftest.er1 >conftest.err
19019 rm -f conftest.er1
19020 cat conftest.err >&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); } && {
19023 test -z "$ac_c_werror_flag" ||
19024 test ! -s conftest.err
19025 } && test -s conftest.$ac_objext; then
19026 ac_cv_c_const=yes
19027 else
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19030
19031 ac_cv_c_const=no
19032 fi
19033
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035 fi
19036 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19037 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19038 if test $ac_cv_c_const = no; then
19039
19040 cat >>confdefs.h <<\_ACEOF
19041 #define const
19042 _ACEOF
19043
19044 fi
19045
19046 { echo "$as_me:$LINENO: checking for inline" >&5
19047 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19048 if test "${ac_cv_c_inline+set}" = set; then
19049 echo $ECHO_N "(cached) $ECHO_C" >&6
19050 else
19051 ac_cv_c_inline=no
19052 for ac_kw in inline __inline__ __inline; do
19053 cat >conftest.$ac_ext <<_ACEOF
19054 /* confdefs.h. */
19055 _ACEOF
19056 cat confdefs.h >>conftest.$ac_ext
19057 cat >>conftest.$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059 #ifndef __cplusplus
19060 typedef int foo_t;
19061 static $ac_kw foo_t static_foo () {return 0; }
19062 $ac_kw foo_t foo () {return 0; }
19063 #endif
19064
19065 _ACEOF
19066 rm -f conftest.$ac_objext
19067 if { (ac_try="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19071 esac
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19074 ac_status=$?
19075 grep -v '^ *+' conftest.er1 >conftest.err
19076 rm -f conftest.er1
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.$ac_objext; then
19083 ac_cv_c_inline=$ac_kw
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088
19089 fi
19090
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092 test "$ac_cv_c_inline" != no && break
19093 done
19094
19095 fi
19096 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19097 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19098
19099
19100 case $ac_cv_c_inline in
19101 inline | yes) ;;
19102 *)
19103 case $ac_cv_c_inline in
19104 no) ac_val=;;
19105 *) ac_val=$ac_cv_c_inline;;
19106 esac
19107 cat >>confdefs.h <<_ACEOF
19108 #ifndef __cplusplus
19109 #define inline $ac_val
19110 #endif
19111 _ACEOF
19112 ;;
19113 esac
19114
19115
19116 { echo "$as_me:$LINENO: checking for short" >&5
19117 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19118 if test "${ac_cv_type_short+set}" = set; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 else
19121 cat >conftest.$ac_ext <<_ACEOF
19122 /* confdefs.h. */
19123 _ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h. */
19127 $ac_includes_default
19128 typedef short ac__type_new_;
19129 int
19130 main ()
19131 {
19132 if ((ac__type_new_ *) 0)
19133 return 0;
19134 if (sizeof (ac__type_new_))
19135 return 0;
19136 ;
19137 return 0;
19138 }
19139 _ACEOF
19140 rm -f conftest.$ac_objext
19141 if { (ac_try="$ac_compile"
19142 case "(($ac_try" in
19143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19144 *) ac_try_echo=$ac_try;;
19145 esac
19146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19147 (eval "$ac_compile") 2>conftest.er1
19148 ac_status=$?
19149 grep -v '^ *+' conftest.er1 >conftest.err
19150 rm -f conftest.er1
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } && {
19154 test -z "$ac_c_werror_flag" ||
19155 test ! -s conftest.err
19156 } && test -s conftest.$ac_objext; then
19157 ac_cv_type_short=yes
19158 else
19159 echo "$as_me: failed program was:" >&5
19160 sed 's/^/| /' conftest.$ac_ext >&5
19161
19162 ac_cv_type_short=no
19163 fi
19164
19165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 fi
19167 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19168 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19169
19170 # The cast to long int works around a bug in the HP C Compiler
19171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19173 # This bug is HP SR number 8606223364.
19174 { echo "$as_me:$LINENO: checking size of short" >&5
19175 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19176 if test "${ac_cv_sizeof_short+set}" = set; then
19177 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 else
19179 if test "$cross_compiling" = yes; then
19180 # Depending upon the size, compute the lo and hi bounds.
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188 typedef short ac__type_sizeof_;
19189 int
19190 main ()
19191 {
19192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19193 test_array [0] = 0
19194
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 rm -f conftest.$ac_objext
19200 if { (ac_try="$ac_compile"
19201 case "(($ac_try" in
19202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19203 *) ac_try_echo=$ac_try;;
19204 esac
19205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19206 (eval "$ac_compile") 2>conftest.er1
19207 ac_status=$?
19208 grep -v '^ *+' conftest.er1 >conftest.err
19209 rm -f conftest.er1
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } && {
19213 test -z "$ac_c_werror_flag" ||
19214 test ! -s conftest.err
19215 } && test -s conftest.$ac_objext; then
19216 ac_lo=0 ac_mid=0
19217 while :; do
19218 cat >conftest.$ac_ext <<_ACEOF
19219 /* confdefs.h. */
19220 _ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19225 typedef short ac__type_sizeof_;
19226 int
19227 main ()
19228 {
19229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19230 test_array [0] = 0
19231
19232 ;
19233 return 0;
19234 }
19235 _ACEOF
19236 rm -f conftest.$ac_objext
19237 if { (ac_try="$ac_compile"
19238 case "(($ac_try" in
19239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19240 *) ac_try_echo=$ac_try;;
19241 esac
19242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_compile") 2>conftest.er1
19244 ac_status=$?
19245 grep -v '^ *+' conftest.er1 >conftest.err
19246 rm -f conftest.er1
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && {
19250 test -z "$ac_c_werror_flag" ||
19251 test ! -s conftest.err
19252 } && test -s conftest.$ac_objext; then
19253 ac_hi=$ac_mid; break
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19257
19258 ac_lo=`expr $ac_mid + 1`
19259 if test $ac_lo -le $ac_mid; then
19260 ac_lo= ac_hi=
19261 break
19262 fi
19263 ac_mid=`expr 2 '*' $ac_mid + 1`
19264 fi
19265
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 done
19268 else
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19271
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 $ac_includes_default
19279 typedef short ac__type_sizeof_;
19280 int
19281 main ()
19282 {
19283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19284 test_array [0] = 0
19285
19286 ;
19287 return 0;
19288 }
19289 _ACEOF
19290 rm -f conftest.$ac_objext
19291 if { (ac_try="$ac_compile"
19292 case "(($ac_try" in
19293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19294 *) ac_try_echo=$ac_try;;
19295 esac
19296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19297 (eval "$ac_compile") 2>conftest.er1
19298 ac_status=$?
19299 grep -v '^ *+' conftest.er1 >conftest.err
19300 rm -f conftest.er1
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); } && {
19304 test -z "$ac_c_werror_flag" ||
19305 test ! -s conftest.err
19306 } && test -s conftest.$ac_objext; then
19307 ac_hi=-1 ac_mid=-1
19308 while :; do
19309 cat >conftest.$ac_ext <<_ACEOF
19310 /* confdefs.h. */
19311 _ACEOF
19312 cat confdefs.h >>conftest.$ac_ext
19313 cat >>conftest.$ac_ext <<_ACEOF
19314 /* end confdefs.h. */
19315 $ac_includes_default
19316 typedef short ac__type_sizeof_;
19317 int
19318 main ()
19319 {
19320 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19321 test_array [0] = 0
19322
19323 ;
19324 return 0;
19325 }
19326 _ACEOF
19327 rm -f conftest.$ac_objext
19328 if { (ac_try="$ac_compile"
19329 case "(($ac_try" in
19330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19331 *) ac_try_echo=$ac_try;;
19332 esac
19333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19334 (eval "$ac_compile") 2>conftest.er1
19335 ac_status=$?
19336 grep -v '^ *+' conftest.er1 >conftest.err
19337 rm -f conftest.er1
19338 cat conftest.err >&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } && {
19341 test -z "$ac_c_werror_flag" ||
19342 test ! -s conftest.err
19343 } && test -s conftest.$ac_objext; then
19344 ac_lo=$ac_mid; break
19345 else
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19348
19349 ac_hi=`expr '(' $ac_mid ')' - 1`
19350 if test $ac_mid -le $ac_hi; then
19351 ac_lo= ac_hi=
19352 break
19353 fi
19354 ac_mid=`expr 2 '*' $ac_mid`
19355 fi
19356
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19358 done
19359 else
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.$ac_ext >&5
19362
19363 ac_lo= ac_hi=
19364 fi
19365
19366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19367 fi
19368
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19370 # Binary search between lo and hi bounds.
19371 while test "x$ac_lo" != "x$ac_hi"; do
19372 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19373 cat >conftest.$ac_ext <<_ACEOF
19374 /* confdefs.h. */
19375 _ACEOF
19376 cat confdefs.h >>conftest.$ac_ext
19377 cat >>conftest.$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 $ac_includes_default
19380 typedef short ac__type_sizeof_;
19381 int
19382 main ()
19383 {
19384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19385 test_array [0] = 0
19386
19387 ;
19388 return 0;
19389 }
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19396 esac
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19399 ac_status=$?
19400 grep -v '^ *+' conftest.er1 >conftest.err
19401 rm -f conftest.er1
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.$ac_objext; then
19408 ac_hi=$ac_mid
19409 else
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19412
19413 ac_lo=`expr '(' $ac_mid ')' + 1`
19414 fi
19415
19416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19417 done
19418 case $ac_lo in
19419 ?*) ac_cv_sizeof_short=$ac_lo;;
19420 '') if test "$ac_cv_type_short" = yes; then
19421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19422 See \`config.log' for more details." >&5
19423 echo "$as_me: error: cannot compute sizeof (short)
19424 See \`config.log' for more details." >&2;}
19425 { (exit 77); exit 77; }; }
19426 else
19427 ac_cv_sizeof_short=0
19428 fi ;;
19429 esac
19430 else
19431 cat >conftest.$ac_ext <<_ACEOF
19432 /* confdefs.h. */
19433 _ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 $ac_includes_default
19438 typedef short ac__type_sizeof_;
19439 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19440 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19441 #include <stdio.h>
19442 #include <stdlib.h>
19443 int
19444 main ()
19445 {
19446
19447 FILE *f = fopen ("conftest.val", "w");
19448 if (! f)
19449 return 1;
19450 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19451 {
19452 long int i = longval ();
19453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19454 return 1;
19455 fprintf (f, "%ld\n", i);
19456 }
19457 else
19458 {
19459 unsigned long int i = ulongval ();
19460 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19461 return 1;
19462 fprintf (f, "%lu\n", i);
19463 }
19464 return ferror (f) || fclose (f) != 0;
19465
19466 ;
19467 return 0;
19468 }
19469 _ACEOF
19470 rm -f conftest$ac_exeext
19471 if { (ac_try="$ac_link"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19475 esac
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_link") 2>&5
19478 ac_status=$?
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19481 { (case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19484 esac
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_sizeof_short=`cat conftest.val`
19491 else
19492 echo "$as_me: program exited with status $ac_status" >&5
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19495
19496 ( exit $ac_status )
19497 if test "$ac_cv_type_short" = yes; then
19498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19499 See \`config.log' for more details." >&5
19500 echo "$as_me: error: cannot compute sizeof (short)
19501 See \`config.log' for more details." >&2;}
19502 { (exit 77); exit 77; }; }
19503 else
19504 ac_cv_sizeof_short=0
19505 fi
19506 fi
19507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19508 fi
19509 rm -f conftest.val
19510 fi
19511 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19512 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19513
19514
19515
19516 cat >>confdefs.h <<_ACEOF
19517 #define SIZEOF_SHORT $ac_cv_sizeof_short
19518 _ACEOF
19519
19520
19521 { echo "$as_me:$LINENO: checking for void *" >&5
19522 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19523 if test "${ac_cv_type_void_p+set}" = set; then
19524 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 else
19526 cat >conftest.$ac_ext <<_ACEOF
19527 /* confdefs.h. */
19528 _ACEOF
19529 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532 $ac_includes_default
19533 typedef void * ac__type_new_;
19534 int
19535 main ()
19536 {
19537 if ((ac__type_new_ *) 0)
19538 return 0;
19539 if (sizeof (ac__type_new_))
19540 return 0;
19541 ;
19542 return 0;
19543 }
19544 _ACEOF
19545 rm -f conftest.$ac_objext
19546 if { (ac_try="$ac_compile"
19547 case "(($ac_try" in
19548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19549 *) ac_try_echo=$ac_try;;
19550 esac
19551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19552 (eval "$ac_compile") 2>conftest.er1
19553 ac_status=$?
19554 grep -v '^ *+' conftest.er1 >conftest.err
19555 rm -f conftest.er1
19556 cat conftest.err >&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } && {
19559 test -z "$ac_c_werror_flag" ||
19560 test ! -s conftest.err
19561 } && test -s conftest.$ac_objext; then
19562 ac_cv_type_void_p=yes
19563 else
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19566
19567 ac_cv_type_void_p=no
19568 fi
19569
19570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19571 fi
19572 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19573 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19574
19575 # The cast to long int works around a bug in the HP C Compiler
19576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19578 # This bug is HP SR number 8606223364.
19579 { echo "$as_me:$LINENO: checking size of void *" >&5
19580 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19581 if test "${ac_cv_sizeof_void_p+set}" = set; then
19582 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 else
19584 if test "$cross_compiling" = yes; then
19585 # Depending upon the size, compute the lo and hi bounds.
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19593 typedef void * ac__type_sizeof_;
19594 int
19595 main ()
19596 {
19597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19598 test_array [0] = 0
19599
19600 ;
19601 return 0;
19602 }
19603 _ACEOF
19604 rm -f conftest.$ac_objext
19605 if { (ac_try="$ac_compile"
19606 case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19609 esac
19610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_compile") 2>conftest.er1
19612 ac_status=$?
19613 grep -v '^ *+' conftest.er1 >conftest.err
19614 rm -f conftest.er1
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest.$ac_objext; then
19621 ac_lo=0 ac_mid=0
19622 while :; do
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 typedef void * ac__type_sizeof_;
19631 int
19632 main ()
19633 {
19634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19635 test_array [0] = 0
19636
19637 ;
19638 return 0;
19639 }
19640 _ACEOF
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645 *) ac_try_echo=$ac_try;;
19646 esac
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19649 ac_status=$?
19650 grep -v '^ *+' conftest.er1 >conftest.err
19651 rm -f conftest.er1
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_c_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.$ac_objext; then
19658 ac_hi=$ac_mid; break
19659 else
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19662
19663 ac_lo=`expr $ac_mid + 1`
19664 if test $ac_lo -le $ac_mid; then
19665 ac_lo= ac_hi=
19666 break
19667 fi
19668 ac_mid=`expr 2 '*' $ac_mid + 1`
19669 fi
19670
19671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19672 done
19673 else
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.$ac_ext >&5
19676
19677 cat >conftest.$ac_ext <<_ACEOF
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 $ac_includes_default
19684 typedef void * ac__type_sizeof_;
19685 int
19686 main ()
19687 {
19688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19689 test_array [0] = 0
19690
19691 ;
19692 return 0;
19693 }
19694 _ACEOF
19695 rm -f conftest.$ac_objext
19696 if { (ac_try="$ac_compile"
19697 case "(($ac_try" in
19698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19699 *) ac_try_echo=$ac_try;;
19700 esac
19701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19702 (eval "$ac_compile") 2>conftest.er1
19703 ac_status=$?
19704 grep -v '^ *+' conftest.er1 >conftest.err
19705 rm -f conftest.er1
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && {
19709 test -z "$ac_c_werror_flag" ||
19710 test ! -s conftest.err
19711 } && test -s conftest.$ac_objext; then
19712 ac_hi=-1 ac_mid=-1
19713 while :; do
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19721 typedef void * ac__type_sizeof_;
19722 int
19723 main ()
19724 {
19725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19726 test_array [0] = 0
19727
19728 ;
19729 return 0;
19730 }
19731 _ACEOF
19732 rm -f conftest.$ac_objext
19733 if { (ac_try="$ac_compile"
19734 case "(($ac_try" in
19735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19736 *) ac_try_echo=$ac_try;;
19737 esac
19738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19739 (eval "$ac_compile") 2>conftest.er1
19740 ac_status=$?
19741 grep -v '^ *+' conftest.er1 >conftest.err
19742 rm -f conftest.er1
19743 cat conftest.err >&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } && {
19746 test -z "$ac_c_werror_flag" ||
19747 test ! -s conftest.err
19748 } && test -s conftest.$ac_objext; then
19749 ac_lo=$ac_mid; break
19750 else
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.$ac_ext >&5
19753
19754 ac_hi=`expr '(' $ac_mid ')' - 1`
19755 if test $ac_mid -le $ac_hi; then
19756 ac_lo= ac_hi=
19757 break
19758 fi
19759 ac_mid=`expr 2 '*' $ac_mid`
19760 fi
19761
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763 done
19764 else
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.$ac_ext >&5
19767
19768 ac_lo= ac_hi=
19769 fi
19770
19771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772 fi
19773
19774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19775 # Binary search between lo and hi bounds.
19776 while test "x$ac_lo" != "x$ac_hi"; do
19777 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19778 cat >conftest.$ac_ext <<_ACEOF
19779 /* confdefs.h. */
19780 _ACEOF
19781 cat confdefs.h >>conftest.$ac_ext
19782 cat >>conftest.$ac_ext <<_ACEOF
19783 /* end confdefs.h. */
19784 $ac_includes_default
19785 typedef void * ac__type_sizeof_;
19786 int
19787 main ()
19788 {
19789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19790 test_array [0] = 0
19791
19792 ;
19793 return 0;
19794 }
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19801 esac
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19804 ac_status=$?
19805 grep -v '^ *+' conftest.er1 >conftest.err
19806 rm -f conftest.er1
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19813 ac_hi=$ac_mid
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19817
19818 ac_lo=`expr '(' $ac_mid ')' + 1`
19819 fi
19820
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 done
19823 case $ac_lo in
19824 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19825 '') if test "$ac_cv_type_void_p" = yes; then
19826 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19827 See \`config.log' for more details." >&5
19828 echo "$as_me: error: cannot compute sizeof (void *)
19829 See \`config.log' for more details." >&2;}
19830 { (exit 77); exit 77; }; }
19831 else
19832 ac_cv_sizeof_void_p=0
19833 fi ;;
19834 esac
19835 else
19836 cat >conftest.$ac_ext <<_ACEOF
19837 /* confdefs.h. */
19838 _ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 $ac_includes_default
19843 typedef void * ac__type_sizeof_;
19844 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19845 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19846 #include <stdio.h>
19847 #include <stdlib.h>
19848 int
19849 main ()
19850 {
19851
19852 FILE *f = fopen ("conftest.val", "w");
19853 if (! f)
19854 return 1;
19855 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19856 {
19857 long int i = longval ();
19858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19859 return 1;
19860 fprintf (f, "%ld\n", i);
19861 }
19862 else
19863 {
19864 unsigned long int i = ulongval ();
19865 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19866 return 1;
19867 fprintf (f, "%lu\n", i);
19868 }
19869 return ferror (f) || fclose (f) != 0;
19870
19871 ;
19872 return 0;
19873 }
19874 _ACEOF
19875 rm -f conftest$ac_exeext
19876 if { (ac_try="$ac_link"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19880 esac
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_link") 2>&5
19883 ac_status=$?
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19886 { (case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19889 esac
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_try") 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_cv_sizeof_void_p=`cat conftest.val`
19896 else
19897 echo "$as_me: program exited with status $ac_status" >&5
19898 echo "$as_me: failed program was:" >&5
19899 sed 's/^/| /' conftest.$ac_ext >&5
19900
19901 ( exit $ac_status )
19902 if test "$ac_cv_type_void_p" = yes; then
19903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19904 See \`config.log' for more details." >&5
19905 echo "$as_me: error: cannot compute sizeof (void *)
19906 See \`config.log' for more details." >&2;}
19907 { (exit 77); exit 77; }; }
19908 else
19909 ac_cv_sizeof_void_p=0
19910 fi
19911 fi
19912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19913 fi
19914 rm -f conftest.val
19915 fi
19916 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19917 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19918
19919
19920
19921 cat >>confdefs.h <<_ACEOF
19922 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19923 _ACEOF
19924
19925
19926 { echo "$as_me:$LINENO: checking for int" >&5
19927 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19928 if test "${ac_cv_type_int+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 else
19931 cat >conftest.$ac_ext <<_ACEOF
19932 /* confdefs.h. */
19933 _ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 $ac_includes_default
19938 typedef int ac__type_new_;
19939 int
19940 main ()
19941 {
19942 if ((ac__type_new_ *) 0)
19943 return 0;
19944 if (sizeof (ac__type_new_))
19945 return 0;
19946 ;
19947 return 0;
19948 }
19949 _ACEOF
19950 rm -f conftest.$ac_objext
19951 if { (ac_try="$ac_compile"
19952 case "(($ac_try" in
19953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19954 *) ac_try_echo=$ac_try;;
19955 esac
19956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19957 (eval "$ac_compile") 2>conftest.er1
19958 ac_status=$?
19959 grep -v '^ *+' conftest.er1 >conftest.err
19960 rm -f conftest.er1
19961 cat conftest.err >&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } && {
19964 test -z "$ac_c_werror_flag" ||
19965 test ! -s conftest.err
19966 } && test -s conftest.$ac_objext; then
19967 ac_cv_type_int=yes
19968 else
19969 echo "$as_me: failed program was:" >&5
19970 sed 's/^/| /' conftest.$ac_ext >&5
19971
19972 ac_cv_type_int=no
19973 fi
19974
19975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19976 fi
19977 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19978 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19979
19980 # The cast to long int works around a bug in the HP C Compiler
19981 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19982 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19983 # This bug is HP SR number 8606223364.
19984 { echo "$as_me:$LINENO: checking size of int" >&5
19985 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19986 if test "${ac_cv_sizeof_int+set}" = set; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 else
19989 if test "$cross_compiling" = yes; then
19990 # Depending upon the size, compute the lo and hi bounds.
19991 cat >conftest.$ac_ext <<_ACEOF
19992 /* confdefs.h. */
19993 _ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 $ac_includes_default
19998 typedef int ac__type_sizeof_;
19999 int
20000 main ()
20001 {
20002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20003 test_array [0] = 0
20004
20005 ;
20006 return 0;
20007 }
20008 _ACEOF
20009 rm -f conftest.$ac_objext
20010 if { (ac_try="$ac_compile"
20011 case "(($ac_try" in
20012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20013 *) ac_try_echo=$ac_try;;
20014 esac
20015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_compile") 2>conftest.er1
20017 ac_status=$?
20018 grep -v '^ *+' conftest.er1 >conftest.err
20019 rm -f conftest.er1
20020 cat conftest.err >&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } && {
20023 test -z "$ac_c_werror_flag" ||
20024 test ! -s conftest.err
20025 } && test -s conftest.$ac_objext; then
20026 ac_lo=0 ac_mid=0
20027 while :; do
20028 cat >conftest.$ac_ext <<_ACEOF
20029 /* confdefs.h. */
20030 _ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034 $ac_includes_default
20035 typedef int ac__type_sizeof_;
20036 int
20037 main ()
20038 {
20039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20040 test_array [0] = 0
20041
20042 ;
20043 return 0;
20044 }
20045 _ACEOF
20046 rm -f conftest.$ac_objext
20047 if { (ac_try="$ac_compile"
20048 case "(($ac_try" in
20049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20050 *) ac_try_echo=$ac_try;;
20051 esac
20052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_compile") 2>conftest.er1
20054 ac_status=$?
20055 grep -v '^ *+' conftest.er1 >conftest.err
20056 rm -f conftest.er1
20057 cat conftest.err >&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } && {
20060 test -z "$ac_c_werror_flag" ||
20061 test ! -s conftest.err
20062 } && test -s conftest.$ac_objext; then
20063 ac_hi=$ac_mid; break
20064 else
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20067
20068 ac_lo=`expr $ac_mid + 1`
20069 if test $ac_lo -le $ac_mid; then
20070 ac_lo= ac_hi=
20071 break
20072 fi
20073 ac_mid=`expr 2 '*' $ac_mid + 1`
20074 fi
20075
20076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077 done
20078 else
20079 echo "$as_me: failed program was:" >&5
20080 sed 's/^/| /' conftest.$ac_ext >&5
20081
20082 cat >conftest.$ac_ext <<_ACEOF
20083 /* confdefs.h. */
20084 _ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 typedef int ac__type_sizeof_;
20090 int
20091 main ()
20092 {
20093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20094 test_array [0] = 0
20095
20096 ;
20097 return 0;
20098 }
20099 _ACEOF
20100 rm -f conftest.$ac_objext
20101 if { (ac_try="$ac_compile"
20102 case "(($ac_try" in
20103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20104 *) ac_try_echo=$ac_try;;
20105 esac
20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_compile") 2>conftest.er1
20108 ac_status=$?
20109 grep -v '^ *+' conftest.er1 >conftest.err
20110 rm -f conftest.er1
20111 cat conftest.err >&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && {
20114 test -z "$ac_c_werror_flag" ||
20115 test ! -s conftest.err
20116 } && test -s conftest.$ac_objext; then
20117 ac_hi=-1 ac_mid=-1
20118 while :; do
20119 cat >conftest.$ac_ext <<_ACEOF
20120 /* confdefs.h. */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20126 typedef int ac__type_sizeof_;
20127 int
20128 main ()
20129 {
20130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20131 test_array [0] = 0
20132
20133 ;
20134 return 0;
20135 }
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20142 esac
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_c_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 ac_lo=$ac_mid; break
20155 else
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20158
20159 ac_hi=`expr '(' $ac_mid ')' - 1`
20160 if test $ac_mid -le $ac_hi; then
20161 ac_lo= ac_hi=
20162 break
20163 fi
20164 ac_mid=`expr 2 '*' $ac_mid`
20165 fi
20166
20167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20168 done
20169 else
20170 echo "$as_me: failed program was:" >&5
20171 sed 's/^/| /' conftest.$ac_ext >&5
20172
20173 ac_lo= ac_hi=
20174 fi
20175
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 fi
20178
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20180 # Binary search between lo and hi bounds.
20181 while test "x$ac_lo" != "x$ac_hi"; do
20182 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20183 cat >conftest.$ac_ext <<_ACEOF
20184 /* confdefs.h. */
20185 _ACEOF
20186 cat confdefs.h >>conftest.$ac_ext
20187 cat >>conftest.$ac_ext <<_ACEOF
20188 /* end confdefs.h. */
20189 $ac_includes_default
20190 typedef int ac__type_sizeof_;
20191 int
20192 main ()
20193 {
20194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20195 test_array [0] = 0
20196
20197 ;
20198 return 0;
20199 }
20200 _ACEOF
20201 rm -f conftest.$ac_objext
20202 if { (ac_try="$ac_compile"
20203 case "(($ac_try" in
20204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20205 *) ac_try_echo=$ac_try;;
20206 esac
20207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20208 (eval "$ac_compile") 2>conftest.er1
20209 ac_status=$?
20210 grep -v '^ *+' conftest.er1 >conftest.err
20211 rm -f conftest.er1
20212 cat conftest.err >&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } && {
20215 test -z "$ac_c_werror_flag" ||
20216 test ! -s conftest.err
20217 } && test -s conftest.$ac_objext; then
20218 ac_hi=$ac_mid
20219 else
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20222
20223 ac_lo=`expr '(' $ac_mid ')' + 1`
20224 fi
20225
20226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 done
20228 case $ac_lo in
20229 ?*) ac_cv_sizeof_int=$ac_lo;;
20230 '') if test "$ac_cv_type_int" = yes; then
20231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20232 See \`config.log' for more details." >&5
20233 echo "$as_me: error: cannot compute sizeof (int)
20234 See \`config.log' for more details." >&2;}
20235 { (exit 77); exit 77; }; }
20236 else
20237 ac_cv_sizeof_int=0
20238 fi ;;
20239 esac
20240 else
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 $ac_includes_default
20248 typedef int ac__type_sizeof_;
20249 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20250 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20251 #include <stdio.h>
20252 #include <stdlib.h>
20253 int
20254 main ()
20255 {
20256
20257 FILE *f = fopen ("conftest.val", "w");
20258 if (! f)
20259 return 1;
20260 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20261 {
20262 long int i = longval ();
20263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20264 return 1;
20265 fprintf (f, "%ld\n", i);
20266 }
20267 else
20268 {
20269 unsigned long int i = ulongval ();
20270 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20271 return 1;
20272 fprintf (f, "%lu\n", i);
20273 }
20274 return ferror (f) || fclose (f) != 0;
20275
20276 ;
20277 return 0;
20278 }
20279 _ACEOF
20280 rm -f conftest$ac_exeext
20281 if { (ac_try="$ac_link"
20282 case "(($ac_try" in
20283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20285 esac
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_link") 2>&5
20288 ac_status=$?
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20291 { (case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20294 esac
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_try") 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_cv_sizeof_int=`cat conftest.val`
20301 else
20302 echo "$as_me: program exited with status $ac_status" >&5
20303 echo "$as_me: failed program was:" >&5
20304 sed 's/^/| /' conftest.$ac_ext >&5
20305
20306 ( exit $ac_status )
20307 if test "$ac_cv_type_int" = yes; then
20308 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20309 See \`config.log' for more details." >&5
20310 echo "$as_me: error: cannot compute sizeof (int)
20311 See \`config.log' for more details." >&2;}
20312 { (exit 77); exit 77; }; }
20313 else
20314 ac_cv_sizeof_int=0
20315 fi
20316 fi
20317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20318 fi
20319 rm -f conftest.val
20320 fi
20321 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20322 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20323
20324
20325
20326 cat >>confdefs.h <<_ACEOF
20327 #define SIZEOF_INT $ac_cv_sizeof_int
20328 _ACEOF
20329
20330
20331 { echo "$as_me:$LINENO: checking for long" >&5
20332 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20333 if test "${ac_cv_type_long+set}" = set; then
20334 echo $ECHO_N "(cached) $ECHO_C" >&6
20335 else
20336 cat >conftest.$ac_ext <<_ACEOF
20337 /* confdefs.h. */
20338 _ACEOF
20339 cat confdefs.h >>conftest.$ac_ext
20340 cat >>conftest.$ac_ext <<_ACEOF
20341 /* end confdefs.h. */
20342 $ac_includes_default
20343 typedef long ac__type_new_;
20344 int
20345 main ()
20346 {
20347 if ((ac__type_new_ *) 0)
20348 return 0;
20349 if (sizeof (ac__type_new_))
20350 return 0;
20351 ;
20352 return 0;
20353 }
20354 _ACEOF
20355 rm -f conftest.$ac_objext
20356 if { (ac_try="$ac_compile"
20357 case "(($ac_try" in
20358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20359 *) ac_try_echo=$ac_try;;
20360 esac
20361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20362 (eval "$ac_compile") 2>conftest.er1
20363 ac_status=$?
20364 grep -v '^ *+' conftest.er1 >conftest.err
20365 rm -f conftest.er1
20366 cat conftest.err >&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } && {
20369 test -z "$ac_c_werror_flag" ||
20370 test ! -s conftest.err
20371 } && test -s conftest.$ac_objext; then
20372 ac_cv_type_long=yes
20373 else
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20376
20377 ac_cv_type_long=no
20378 fi
20379
20380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20381 fi
20382 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20383 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20384
20385 # The cast to long int works around a bug in the HP C Compiler
20386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20388 # This bug is HP SR number 8606223364.
20389 { echo "$as_me:$LINENO: checking size of long" >&5
20390 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20391 if test "${ac_cv_sizeof_long+set}" = set; then
20392 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 else
20394 if test "$cross_compiling" = yes; then
20395 # Depending upon the size, compute the lo and hi bounds.
20396 cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 $ac_includes_default
20403 typedef long ac__type_sizeof_;
20404 int
20405 main ()
20406 {
20407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20408 test_array [0] = 0
20409
20410 ;
20411 return 0;
20412 }
20413 _ACEOF
20414 rm -f conftest.$ac_objext
20415 if { (ac_try="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20419 esac
20420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20421 (eval "$ac_compile") 2>conftest.er1
20422 ac_status=$?
20423 grep -v '^ *+' conftest.er1 >conftest.err
20424 rm -f conftest.er1
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } && {
20428 test -z "$ac_c_werror_flag" ||
20429 test ! -s conftest.err
20430 } && test -s conftest.$ac_objext; then
20431 ac_lo=0 ac_mid=0
20432 while :; do
20433 cat >conftest.$ac_ext <<_ACEOF
20434 /* confdefs.h. */
20435 _ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20440 typedef long ac__type_sizeof_;
20441 int
20442 main ()
20443 {
20444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20445 test_array [0] = 0
20446
20447 ;
20448 return 0;
20449 }
20450 _ACEOF
20451 rm -f conftest.$ac_objext
20452 if { (ac_try="$ac_compile"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20456 esac
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_compile") 2>conftest.er1
20459 ac_status=$?
20460 grep -v '^ *+' conftest.er1 >conftest.err
20461 rm -f conftest.er1
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest.$ac_objext; then
20468 ac_hi=$ac_mid; break
20469 else
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20472
20473 ac_lo=`expr $ac_mid + 1`
20474 if test $ac_lo -le $ac_mid; then
20475 ac_lo= ac_hi=
20476 break
20477 fi
20478 ac_mid=`expr 2 '*' $ac_mid + 1`
20479 fi
20480
20481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20482 done
20483 else
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.$ac_ext >&5
20486
20487 cat >conftest.$ac_ext <<_ACEOF
20488 /* confdefs.h. */
20489 _ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494 typedef long ac__type_sizeof_;
20495 int
20496 main ()
20497 {
20498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20499 test_array [0] = 0
20500
20501 ;
20502 return 0;
20503 }
20504 _ACEOF
20505 rm -f conftest.$ac_objext
20506 if { (ac_try="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20509 *) ac_try_echo=$ac_try;;
20510 esac
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20513 ac_status=$?
20514 grep -v '^ *+' conftest.er1 >conftest.err
20515 rm -f conftest.er1
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.$ac_objext; then
20522 ac_hi=-1 ac_mid=-1
20523 while :; do
20524 cat >conftest.$ac_ext <<_ACEOF
20525 /* confdefs.h. */
20526 _ACEOF
20527 cat confdefs.h >>conftest.$ac_ext
20528 cat >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20530 $ac_includes_default
20531 typedef long ac__type_sizeof_;
20532 int
20533 main ()
20534 {
20535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20536 test_array [0] = 0
20537
20538 ;
20539 return 0;
20540 }
20541 _ACEOF
20542 rm -f conftest.$ac_objext
20543 if { (ac_try="$ac_compile"
20544 case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20546 *) ac_try_echo=$ac_try;;
20547 esac
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_compile") 2>conftest.er1
20550 ac_status=$?
20551 grep -v '^ *+' conftest.er1 >conftest.err
20552 rm -f conftest.er1
20553 cat conftest.err >&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && {
20556 test -z "$ac_c_werror_flag" ||
20557 test ! -s conftest.err
20558 } && test -s conftest.$ac_objext; then
20559 ac_lo=$ac_mid; break
20560 else
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20563
20564 ac_hi=`expr '(' $ac_mid ')' - 1`
20565 if test $ac_mid -le $ac_hi; then
20566 ac_lo= ac_hi=
20567 break
20568 fi
20569 ac_mid=`expr 2 '*' $ac_mid`
20570 fi
20571
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20573 done
20574 else
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 ac_lo= ac_hi=
20579 fi
20580
20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20582 fi
20583
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585 # Binary search between lo and hi bounds.
20586 while test "x$ac_lo" != "x$ac_hi"; do
20587 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20588 cat >conftest.$ac_ext <<_ACEOF
20589 /* confdefs.h. */
20590 _ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20595 typedef long ac__type_sizeof_;
20596 int
20597 main ()
20598 {
20599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20600 test_array [0] = 0
20601
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_hi=$ac_mid
20624 else
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20627
20628 ac_lo=`expr '(' $ac_mid ')' + 1`
20629 fi
20630
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20632 done
20633 case $ac_lo in
20634 ?*) ac_cv_sizeof_long=$ac_lo;;
20635 '') if test "$ac_cv_type_long" = yes; then
20636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20637 See \`config.log' for more details." >&5
20638 echo "$as_me: error: cannot compute sizeof (long)
20639 See \`config.log' for more details." >&2;}
20640 { (exit 77); exit 77; }; }
20641 else
20642 ac_cv_sizeof_long=0
20643 fi ;;
20644 esac
20645 else
20646 cat >conftest.$ac_ext <<_ACEOF
20647 /* confdefs.h. */
20648 _ACEOF
20649 cat confdefs.h >>conftest.$ac_ext
20650 cat >>conftest.$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 $ac_includes_default
20653 typedef long ac__type_sizeof_;
20654 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20655 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20656 #include <stdio.h>
20657 #include <stdlib.h>
20658 int
20659 main ()
20660 {
20661
20662 FILE *f = fopen ("conftest.val", "w");
20663 if (! f)
20664 return 1;
20665 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20666 {
20667 long int i = longval ();
20668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20669 return 1;
20670 fprintf (f, "%ld\n", i);
20671 }
20672 else
20673 {
20674 unsigned long int i = ulongval ();
20675 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20676 return 1;
20677 fprintf (f, "%lu\n", i);
20678 }
20679 return ferror (f) || fclose (f) != 0;
20680
20681 ;
20682 return 0;
20683 }
20684 _ACEOF
20685 rm -f conftest$ac_exeext
20686 if { (ac_try="$ac_link"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20690 esac
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_link") 2>&5
20693 ac_status=$?
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20696 { (case "(($ac_try" in
20697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20698 *) ac_try_echo=$ac_try;;
20699 esac
20700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20701 (eval "$ac_try") 2>&5
20702 ac_status=$?
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_cv_sizeof_long=`cat conftest.val`
20706 else
20707 echo "$as_me: program exited with status $ac_status" >&5
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20710
20711 ( exit $ac_status )
20712 if test "$ac_cv_type_long" = yes; then
20713 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20714 See \`config.log' for more details." >&5
20715 echo "$as_me: error: cannot compute sizeof (long)
20716 See \`config.log' for more details." >&2;}
20717 { (exit 77); exit 77; }; }
20718 else
20719 ac_cv_sizeof_long=0
20720 fi
20721 fi
20722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20723 fi
20724 rm -f conftest.val
20725 fi
20726 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20727 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20728
20729
20730
20731 cat >>confdefs.h <<_ACEOF
20732 #define SIZEOF_LONG $ac_cv_sizeof_long
20733 _ACEOF
20734
20735
20736 { echo "$as_me:$LINENO: checking for size_t" >&5
20737 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20738 if test "${ac_cv_type_size_t+set}" = set; then
20739 echo $ECHO_N "(cached) $ECHO_C" >&6
20740 else
20741 cat >conftest.$ac_ext <<_ACEOF
20742 /* confdefs.h. */
20743 _ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 $ac_includes_default
20748 typedef size_t ac__type_new_;
20749 int
20750 main ()
20751 {
20752 if ((ac__type_new_ *) 0)
20753 return 0;
20754 if (sizeof (ac__type_new_))
20755 return 0;
20756 ;
20757 return 0;
20758 }
20759 _ACEOF
20760 rm -f conftest.$ac_objext
20761 if { (ac_try="$ac_compile"
20762 case "(($ac_try" in
20763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20764 *) ac_try_echo=$ac_try;;
20765 esac
20766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20767 (eval "$ac_compile") 2>conftest.er1
20768 ac_status=$?
20769 grep -v '^ *+' conftest.er1 >conftest.err
20770 rm -f conftest.er1
20771 cat conftest.err >&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); } && {
20774 test -z "$ac_c_werror_flag" ||
20775 test ! -s conftest.err
20776 } && test -s conftest.$ac_objext; then
20777 ac_cv_type_size_t=yes
20778 else
20779 echo "$as_me: failed program was:" >&5
20780 sed 's/^/| /' conftest.$ac_ext >&5
20781
20782 ac_cv_type_size_t=no
20783 fi
20784
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786 fi
20787 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20788 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20789
20790 # The cast to long int works around a bug in the HP C Compiler
20791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20793 # This bug is HP SR number 8606223364.
20794 { echo "$as_me:$LINENO: checking size of size_t" >&5
20795 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20796 if test "${ac_cv_sizeof_size_t+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 else
20799 if test "$cross_compiling" = yes; then
20800 # Depending upon the size, compute the lo and hi bounds.
20801 cat >conftest.$ac_ext <<_ACEOF
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 typedef size_t ac__type_sizeof_;
20809 int
20810 main ()
20811 {
20812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20813 test_array [0] = 0
20814
20815 ;
20816 return 0;
20817 }
20818 _ACEOF
20819 rm -f conftest.$ac_objext
20820 if { (ac_try="$ac_compile"
20821 case "(($ac_try" in
20822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20823 *) ac_try_echo=$ac_try;;
20824 esac
20825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20826 (eval "$ac_compile") 2>conftest.er1
20827 ac_status=$?
20828 grep -v '^ *+' conftest.er1 >conftest.err
20829 rm -f conftest.er1
20830 cat conftest.err >&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } && {
20833 test -z "$ac_c_werror_flag" ||
20834 test ! -s conftest.err
20835 } && test -s conftest.$ac_objext; then
20836 ac_lo=0 ac_mid=0
20837 while :; do
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef size_t ac__type_sizeof_;
20846 int
20847 main ()
20848 {
20849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20850 test_array [0] = 0
20851
20852 ;
20853 return 0;
20854 }
20855 _ACEOF
20856 rm -f conftest.$ac_objext
20857 if { (ac_try="$ac_compile"
20858 case "(($ac_try" in
20859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20860 *) ac_try_echo=$ac_try;;
20861 esac
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_compile") 2>conftest.er1
20864 ac_status=$?
20865 grep -v '^ *+' conftest.er1 >conftest.err
20866 rm -f conftest.er1
20867 cat conftest.err >&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } && {
20870 test -z "$ac_c_werror_flag" ||
20871 test ! -s conftest.err
20872 } && test -s conftest.$ac_objext; then
20873 ac_hi=$ac_mid; break
20874 else
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.$ac_ext >&5
20877
20878 ac_lo=`expr $ac_mid + 1`
20879 if test $ac_lo -le $ac_mid; then
20880 ac_lo= ac_hi=
20881 break
20882 fi
20883 ac_mid=`expr 2 '*' $ac_mid + 1`
20884 fi
20885
20886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20887 done
20888 else
20889 echo "$as_me: failed program was:" >&5
20890 sed 's/^/| /' conftest.$ac_ext >&5
20891
20892 cat >conftest.$ac_ext <<_ACEOF
20893 /* confdefs.h. */
20894 _ACEOF
20895 cat confdefs.h >>conftest.$ac_ext
20896 cat >>conftest.$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 $ac_includes_default
20899 typedef size_t ac__type_sizeof_;
20900 int
20901 main ()
20902 {
20903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20904 test_array [0] = 0
20905
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext
20911 if { (ac_try="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20915 esac
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20918 ac_status=$?
20919 grep -v '^ *+' conftest.er1 >conftest.err
20920 rm -f conftest.er1
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20927 ac_hi=-1 ac_mid=-1
20928 while :; do
20929 cat >conftest.$ac_ext <<_ACEOF
20930 /* confdefs.h. */
20931 _ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 $ac_includes_default
20936 typedef size_t ac__type_sizeof_;
20937 int
20938 main ()
20939 {
20940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20941 test_array [0] = 0
20942
20943 ;
20944 return 0;
20945 }
20946 _ACEOF
20947 rm -f conftest.$ac_objext
20948 if { (ac_try="$ac_compile"
20949 case "(($ac_try" in
20950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20951 *) ac_try_echo=$ac_try;;
20952 esac
20953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20954 (eval "$ac_compile") 2>conftest.er1
20955 ac_status=$?
20956 grep -v '^ *+' conftest.er1 >conftest.err
20957 rm -f conftest.er1
20958 cat conftest.err >&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } && {
20961 test -z "$ac_c_werror_flag" ||
20962 test ! -s conftest.err
20963 } && test -s conftest.$ac_objext; then
20964 ac_lo=$ac_mid; break
20965 else
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.$ac_ext >&5
20968
20969 ac_hi=`expr '(' $ac_mid ')' - 1`
20970 if test $ac_mid -le $ac_hi; then
20971 ac_lo= ac_hi=
20972 break
20973 fi
20974 ac_mid=`expr 2 '*' $ac_mid`
20975 fi
20976
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 done
20979 else
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.$ac_ext >&5
20982
20983 ac_lo= ac_hi=
20984 fi
20985
20986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20987 fi
20988
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20990 # Binary search between lo and hi bounds.
20991 while test "x$ac_lo" != "x$ac_hi"; do
20992 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20993 cat >conftest.$ac_ext <<_ACEOF
20994 /* confdefs.h. */
20995 _ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 $ac_includes_default
21000 typedef size_t ac__type_sizeof_;
21001 int
21002 main ()
21003 {
21004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21005 test_array [0] = 0
21006
21007 ;
21008 return 0;
21009 }
21010 _ACEOF
21011 rm -f conftest.$ac_objext
21012 if { (ac_try="$ac_compile"
21013 case "(($ac_try" in
21014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21015 *) ac_try_echo=$ac_try;;
21016 esac
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21018 (eval "$ac_compile") 2>conftest.er1
21019 ac_status=$?
21020 grep -v '^ *+' conftest.er1 >conftest.err
21021 rm -f conftest.er1
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } && {
21025 test -z "$ac_c_werror_flag" ||
21026 test ! -s conftest.err
21027 } && test -s conftest.$ac_objext; then
21028 ac_hi=$ac_mid
21029 else
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21032
21033 ac_lo=`expr '(' $ac_mid ')' + 1`
21034 fi
21035
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 done
21038 case $ac_lo in
21039 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21040 '') if test "$ac_cv_type_size_t" = yes; then
21041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21042 See \`config.log' for more details." >&5
21043 echo "$as_me: error: cannot compute sizeof (size_t)
21044 See \`config.log' for more details." >&2;}
21045 { (exit 77); exit 77; }; }
21046 else
21047 ac_cv_sizeof_size_t=0
21048 fi ;;
21049 esac
21050 else
21051 cat >conftest.$ac_ext <<_ACEOF
21052 /* confdefs.h. */
21053 _ACEOF
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 $ac_includes_default
21058 typedef size_t ac__type_sizeof_;
21059 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21060 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21061 #include <stdio.h>
21062 #include <stdlib.h>
21063 int
21064 main ()
21065 {
21066
21067 FILE *f = fopen ("conftest.val", "w");
21068 if (! f)
21069 return 1;
21070 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21071 {
21072 long int i = longval ();
21073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21074 return 1;
21075 fprintf (f, "%ld\n", i);
21076 }
21077 else
21078 {
21079 unsigned long int i = ulongval ();
21080 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21081 return 1;
21082 fprintf (f, "%lu\n", i);
21083 }
21084 return ferror (f) || fclose (f) != 0;
21085
21086 ;
21087 return 0;
21088 }
21089 _ACEOF
21090 rm -f conftest$ac_exeext
21091 if { (ac_try="$ac_link"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21095 esac
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_link") 2>&5
21098 ac_status=$?
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21101 { (case "(($ac_try" in
21102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21103 *) ac_try_echo=$ac_try;;
21104 esac
21105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21106 (eval "$ac_try") 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 ac_cv_sizeof_size_t=`cat conftest.val`
21111 else
21112 echo "$as_me: program exited with status $ac_status" >&5
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21115
21116 ( exit $ac_status )
21117 if test "$ac_cv_type_size_t" = yes; then
21118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21119 See \`config.log' for more details." >&5
21120 echo "$as_me: error: cannot compute sizeof (size_t)
21121 See \`config.log' for more details." >&2;}
21122 { (exit 77); exit 77; }; }
21123 else
21124 ac_cv_sizeof_size_t=0
21125 fi
21126 fi
21127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21128 fi
21129 rm -f conftest.val
21130 fi
21131 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21132 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21133
21134
21135
21136 cat >>confdefs.h <<_ACEOF
21137 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21138 _ACEOF
21139
21140
21141
21142 case "${host}" in
21143 arm-*-linux* )
21144 { echo "$as_me:$LINENO: checking for long long" >&5
21145 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21146 if test "${ac_cv_type_long_long+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 else
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef long long ac__type_new_;
21157 int
21158 main ()
21159 {
21160 if ((ac__type_new_ *) 0)
21161 return 0;
21162 if (sizeof (ac__type_new_))
21163 return 0;
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_cv_type_long_long=yes
21186 else
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.$ac_ext >&5
21189
21190 ac_cv_type_long_long=no
21191 fi
21192
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21194 fi
21195 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21196 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21197
21198 # The cast to long int works around a bug in the HP C Compiler
21199 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21201 # This bug is HP SR number 8606223364.
21202 { echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 else
21207 if test "$cross_compiling" = yes; then
21208 # Depending upon the size, compute the lo and hi bounds.
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 typedef long long ac__type_sizeof_;
21217 int
21218 main ()
21219 {
21220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21221 test_array [0] = 0
21222
21223 ;
21224 return 0;
21225 }
21226 _ACEOF
21227 rm -f conftest.$ac_objext
21228 if { (ac_try="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232 esac
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21235 ac_status=$?
21236 grep -v '^ *+' conftest.er1 >conftest.err
21237 rm -f conftest.er1
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21244 ac_lo=0 ac_mid=0
21245 while :; do
21246 cat >conftest.$ac_ext <<_ACEOF
21247 /* confdefs.h. */
21248 _ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21254 int
21255 main ()
21256 {
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21258 test_array [0] = 0
21259
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21272 ac_status=$?
21273 grep -v '^ *+' conftest.er1 >conftest.err
21274 rm -f conftest.er1
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.$ac_objext; then
21281 ac_hi=$ac_mid; break
21282 else
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21285
21286 ac_lo=`expr $ac_mid + 1`
21287 if test $ac_lo -le $ac_mid; then
21288 ac_lo= ac_hi=
21289 break
21290 fi
21291 ac_mid=`expr 2 '*' $ac_mid + 1`
21292 fi
21293
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 done
21296 else
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21308 int
21309 main ()
21310 {
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21312 test_array [0] = 0
21313
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21335 ac_hi=-1 ac_mid=-1
21336 while :; do
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h. */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21344 typedef long long ac__type_sizeof_;
21345 int
21346 main ()
21347 {
21348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21349 test_array [0] = 0
21350
21351 ;
21352 return 0;
21353 }
21354 _ACEOF
21355 rm -f conftest.$ac_objext
21356 if { (ac_try="$ac_compile"
21357 case "(($ac_try" in
21358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21359 *) ac_try_echo=$ac_try;;
21360 esac
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21362 (eval "$ac_compile") 2>conftest.er1
21363 ac_status=$?
21364 grep -v '^ *+' conftest.er1 >conftest.err
21365 rm -f conftest.er1
21366 cat conftest.err >&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && {
21369 test -z "$ac_c_werror_flag" ||
21370 test ! -s conftest.err
21371 } && test -s conftest.$ac_objext; then
21372 ac_lo=$ac_mid; break
21373 else
21374 echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.$ac_ext >&5
21376
21377 ac_hi=`expr '(' $ac_mid ')' - 1`
21378 if test $ac_mid -le $ac_hi; then
21379 ac_lo= ac_hi=
21380 break
21381 fi
21382 ac_mid=`expr 2 '*' $ac_mid`
21383 fi
21384
21385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386 done
21387 else
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21390
21391 ac_lo= ac_hi=
21392 fi
21393
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 fi
21396
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 # Binary search between lo and hi bounds.
21399 while test "x$ac_lo" != "x$ac_hi"; do
21400 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h. */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_sizeof_;
21409 int
21410 main ()
21411 {
21412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21413 test_array [0] = 0
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (ac_try="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21424 esac
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21427 ac_status=$?
21428 grep -v '^ *+' conftest.er1 >conftest.err
21429 rm -f conftest.er1
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21436 ac_hi=$ac_mid
21437 else
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ac_lo=`expr '(' $ac_mid ')' + 1`
21442 fi
21443
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 done
21446 case $ac_lo in
21447 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21448 '') if test "$ac_cv_type_long_long" = yes; then
21449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21450 See \`config.log' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (long long)
21452 See \`config.log' for more details." >&2;}
21453 { (exit 77); exit 77; }; }
21454 else
21455 ac_cv_sizeof_long_long=0
21456 fi ;;
21457 esac
21458 else
21459 cat >conftest.$ac_ext <<_ACEOF
21460 /* confdefs.h. */
21461 _ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21466 typedef long long ac__type_sizeof_;
21467 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21469 #include <stdio.h>
21470 #include <stdlib.h>
21471 int
21472 main ()
21473 {
21474
21475 FILE *f = fopen ("conftest.val", "w");
21476 if (! f)
21477 return 1;
21478 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21479 {
21480 long int i = longval ();
21481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21482 return 1;
21483 fprintf (f, "%ld\n", i);
21484 }
21485 else
21486 {
21487 unsigned long int i = ulongval ();
21488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21489 return 1;
21490 fprintf (f, "%lu\n", i);
21491 }
21492 return ferror (f) || fclose (f) != 0;
21493
21494 ;
21495 return 0;
21496 }
21497 _ACEOF
21498 rm -f conftest$ac_exeext
21499 if { (ac_try="$ac_link"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21503 esac
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_link") 2>&5
21506 ac_status=$?
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21509 { (case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_try") 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_sizeof_long_long=`cat conftest.val`
21519 else
21520 echo "$as_me: program exited with status $ac_status" >&5
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21523
21524 ( exit $ac_status )
21525 if test "$ac_cv_type_long_long" = yes; then
21526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21527 See \`config.log' for more details." >&5
21528 echo "$as_me: error: cannot compute sizeof (long long)
21529 See \`config.log' for more details." >&2;}
21530 { (exit 77); exit 77; }; }
21531 else
21532 ac_cv_sizeof_long_long=0
21533 fi
21534 fi
21535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21536 fi
21537 rm -f conftest.val
21538 fi
21539 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21541
21542
21543
21544 cat >>confdefs.h <<_ACEOF
21545 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21546 _ACEOF
21547
21548
21549 ;;
21550 *-hp-hpux* )
21551 { echo "$as_me:$LINENO: checking for long long" >&5
21552 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21553 if test "${ac_cv_type_long_long+set}" = set; then
21554 echo $ECHO_N "(cached) $ECHO_C" >&6
21555 else
21556 cat >conftest.$ac_ext <<_ACEOF
21557 /* confdefs.h. */
21558 _ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 $ac_includes_default
21563 typedef long long ac__type_new_;
21564 int
21565 main ()
21566 {
21567 if ((ac__type_new_ *) 0)
21568 return 0;
21569 if (sizeof (ac__type_new_))
21570 return 0;
21571 ;
21572 return 0;
21573 }
21574 _ACEOF
21575 rm -f conftest.$ac_objext
21576 if { (ac_try="$ac_compile"
21577 case "(($ac_try" in
21578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21579 *) ac_try_echo=$ac_try;;
21580 esac
21581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21582 (eval "$ac_compile") 2>conftest.er1
21583 ac_status=$?
21584 grep -v '^ *+' conftest.er1 >conftest.err
21585 rm -f conftest.er1
21586 cat conftest.err >&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } && {
21589 test -z "$ac_c_werror_flag" ||
21590 test ! -s conftest.err
21591 } && test -s conftest.$ac_objext; then
21592 ac_cv_type_long_long=yes
21593 else
21594 echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.$ac_ext >&5
21596
21597 ac_cv_type_long_long=no
21598 fi
21599
21600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21601 fi
21602 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21603 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21604
21605 # The cast to long int works around a bug in the HP C Compiler
21606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21608 # This bug is HP SR number 8606223364.
21609 { echo "$as_me:$LINENO: checking size of long long" >&5
21610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21611 if test "${ac_cv_sizeof_long_long+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 else
21614 if test "$cross_compiling" = yes; then
21615 # Depending upon the size, compute the lo and hi bounds.
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 $ac_includes_default
21623 typedef long long ac__type_sizeof_;
21624 int
21625 main ()
21626 {
21627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21628 test_array [0] = 0
21629
21630 ;
21631 return 0;
21632 }
21633 _ACEOF
21634 rm -f conftest.$ac_objext
21635 if { (ac_try="$ac_compile"
21636 case "(($ac_try" in
21637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21638 *) ac_try_echo=$ac_try;;
21639 esac
21640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21641 (eval "$ac_compile") 2>conftest.er1
21642 ac_status=$?
21643 grep -v '^ *+' conftest.er1 >conftest.err
21644 rm -f conftest.er1
21645 cat conftest.err >&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); } && {
21648 test -z "$ac_c_werror_flag" ||
21649 test ! -s conftest.err
21650 } && test -s conftest.$ac_objext; then
21651 ac_lo=0 ac_mid=0
21652 while :; do
21653 cat >conftest.$ac_ext <<_ACEOF
21654 /* confdefs.h. */
21655 _ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 $ac_includes_default
21660 typedef long long ac__type_sizeof_;
21661 int
21662 main ()
21663 {
21664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21665 test_array [0] = 0
21666
21667 ;
21668 return 0;
21669 }
21670 _ACEOF
21671 rm -f conftest.$ac_objext
21672 if { (ac_try="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21676 esac
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21679 ac_status=$?
21680 grep -v '^ *+' conftest.er1 >conftest.err
21681 rm -f conftest.er1
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && {
21685 test -z "$ac_c_werror_flag" ||
21686 test ! -s conftest.err
21687 } && test -s conftest.$ac_objext; then
21688 ac_hi=$ac_mid; break
21689 else
21690 echo "$as_me: failed program was:" >&5
21691 sed 's/^/| /' conftest.$ac_ext >&5
21692
21693 ac_lo=`expr $ac_mid + 1`
21694 if test $ac_lo -le $ac_mid; then
21695 ac_lo= ac_hi=
21696 break
21697 fi
21698 ac_mid=`expr 2 '*' $ac_mid + 1`
21699 fi
21700
21701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21702 done
21703 else
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.$ac_ext >&5
21706
21707 cat >conftest.$ac_ext <<_ACEOF
21708 /* confdefs.h. */
21709 _ACEOF
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 typedef long long ac__type_sizeof_;
21715 int
21716 main ()
21717 {
21718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21719 test_array [0] = 0
21720
21721 ;
21722 return 0;
21723 }
21724 _ACEOF
21725 rm -f conftest.$ac_objext
21726 if { (ac_try="$ac_compile"
21727 case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729 *) ac_try_echo=$ac_try;;
21730 esac
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_compile") 2>conftest.er1
21733 ac_status=$?
21734 grep -v '^ *+' conftest.er1 >conftest.err
21735 rm -f conftest.er1
21736 cat conftest.err >&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } && {
21739 test -z "$ac_c_werror_flag" ||
21740 test ! -s conftest.err
21741 } && test -s conftest.$ac_objext; then
21742 ac_hi=-1 ac_mid=-1
21743 while :; do
21744 cat >conftest.$ac_ext <<_ACEOF
21745 /* confdefs.h. */
21746 _ACEOF
21747 cat confdefs.h >>conftest.$ac_ext
21748 cat >>conftest.$ac_ext <<_ACEOF
21749 /* end confdefs.h. */
21750 $ac_includes_default
21751 typedef long long ac__type_sizeof_;
21752 int
21753 main ()
21754 {
21755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21756 test_array [0] = 0
21757
21758 ;
21759 return 0;
21760 }
21761 _ACEOF
21762 rm -f conftest.$ac_objext
21763 if { (ac_try="$ac_compile"
21764 case "(($ac_try" in
21765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21766 *) ac_try_echo=$ac_try;;
21767 esac
21768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21769 (eval "$ac_compile") 2>conftest.er1
21770 ac_status=$?
21771 grep -v '^ *+' conftest.er1 >conftest.err
21772 rm -f conftest.er1
21773 cat conftest.err >&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } && {
21776 test -z "$ac_c_werror_flag" ||
21777 test ! -s conftest.err
21778 } && test -s conftest.$ac_objext; then
21779 ac_lo=$ac_mid; break
21780 else
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.$ac_ext >&5
21783
21784 ac_hi=`expr '(' $ac_mid ')' - 1`
21785 if test $ac_mid -le $ac_hi; then
21786 ac_lo= ac_hi=
21787 break
21788 fi
21789 ac_mid=`expr 2 '*' $ac_mid`
21790 fi
21791
21792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21793 done
21794 else
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.$ac_ext >&5
21797
21798 ac_lo= ac_hi=
21799 fi
21800
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 fi
21803
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 # Binary search between lo and hi bounds.
21806 while test "x$ac_lo" != "x$ac_hi"; do
21807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21808 cat >conftest.$ac_ext <<_ACEOF
21809 /* confdefs.h. */
21810 _ACEOF
21811 cat confdefs.h >>conftest.$ac_ext
21812 cat >>conftest.$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 $ac_includes_default
21815 typedef long long ac__type_sizeof_;
21816 int
21817 main ()
21818 {
21819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21820 test_array [0] = 0
21821
21822 ;
21823 return 0;
21824 }
21825 _ACEOF
21826 rm -f conftest.$ac_objext
21827 if { (ac_try="$ac_compile"
21828 case "(($ac_try" in
21829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21830 *) ac_try_echo=$ac_try;;
21831 esac
21832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21833 (eval "$ac_compile") 2>conftest.er1
21834 ac_status=$?
21835 grep -v '^ *+' conftest.er1 >conftest.err
21836 rm -f conftest.er1
21837 cat conftest.err >&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } && {
21840 test -z "$ac_c_werror_flag" ||
21841 test ! -s conftest.err
21842 } && test -s conftest.$ac_objext; then
21843 ac_hi=$ac_mid
21844 else
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21847
21848 ac_lo=`expr '(' $ac_mid ')' + 1`
21849 fi
21850
21851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21852 done
21853 case $ac_lo in
21854 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21855 '') if test "$ac_cv_type_long_long" = yes; then
21856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21857 See \`config.log' for more details." >&5
21858 echo "$as_me: error: cannot compute sizeof (long long)
21859 See \`config.log' for more details." >&2;}
21860 { (exit 77); exit 77; }; }
21861 else
21862 ac_cv_sizeof_long_long=0
21863 fi ;;
21864 esac
21865 else
21866 cat >conftest.$ac_ext <<_ACEOF
21867 /* confdefs.h. */
21868 _ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 $ac_includes_default
21873 typedef long long ac__type_sizeof_;
21874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21876 #include <stdio.h>
21877 #include <stdlib.h>
21878 int
21879 main ()
21880 {
21881
21882 FILE *f = fopen ("conftest.val", "w");
21883 if (! f)
21884 return 1;
21885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21886 {
21887 long int i = longval ();
21888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21889 return 1;
21890 fprintf (f, "%ld\n", i);
21891 }
21892 else
21893 {
21894 unsigned long int i = ulongval ();
21895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21896 return 1;
21897 fprintf (f, "%lu\n", i);
21898 }
21899 return ferror (f) || fclose (f) != 0;
21900
21901 ;
21902 return 0;
21903 }
21904 _ACEOF
21905 rm -f conftest$ac_exeext
21906 if { (ac_try="$ac_link"
21907 case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21910 esac
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_link") 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21916 { (case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21919 esac
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_try") 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 ac_cv_sizeof_long_long=`cat conftest.val`
21926 else
21927 echo "$as_me: program exited with status $ac_status" >&5
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21930
21931 ( exit $ac_status )
21932 if test "$ac_cv_type_long_long" = yes; then
21933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21934 See \`config.log' for more details." >&5
21935 echo "$as_me: error: cannot compute sizeof (long long)
21936 See \`config.log' for more details." >&2;}
21937 { (exit 77); exit 77; }; }
21938 else
21939 ac_cv_sizeof_long_long=0
21940 fi
21941 fi
21942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21943 fi
21944 rm -f conftest.val
21945 fi
21946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21947 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21948
21949
21950
21951 cat >>confdefs.h <<_ACEOF
21952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21953 _ACEOF
21954
21955
21956 if test "$ac_cv_sizeof_long_long" != 0; then
21957 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21958 fi
21959 ;;
21960 * )
21961 { echo "$as_me:$LINENO: checking for long long" >&5
21962 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21963 if test "${ac_cv_type_long_long+set}" = set; then
21964 echo $ECHO_N "(cached) $ECHO_C" >&6
21965 else
21966 cat >conftest.$ac_ext <<_ACEOF
21967 /* confdefs.h. */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972 $ac_includes_default
21973 typedef long long ac__type_new_;
21974 int
21975 main ()
21976 {
21977 if ((ac__type_new_ *) 0)
21978 return 0;
21979 if (sizeof (ac__type_new_))
21980 return 0;
21981 ;
21982 return 0;
21983 }
21984 _ACEOF
21985 rm -f conftest.$ac_objext
21986 if { (ac_try="$ac_compile"
21987 case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21990 esac
21991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_compile") 2>conftest.er1
21993 ac_status=$?
21994 grep -v '^ *+' conftest.er1 >conftest.err
21995 rm -f conftest.er1
21996 cat conftest.err >&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } && {
21999 test -z "$ac_c_werror_flag" ||
22000 test ! -s conftest.err
22001 } && test -s conftest.$ac_objext; then
22002 ac_cv_type_long_long=yes
22003 else
22004 echo "$as_me: failed program was:" >&5
22005 sed 's/^/| /' conftest.$ac_ext >&5
22006
22007 ac_cv_type_long_long=no
22008 fi
22009
22010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22011 fi
22012 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22013 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22014
22015 # The cast to long int works around a bug in the HP C Compiler
22016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22018 # This bug is HP SR number 8606223364.
22019 { echo "$as_me:$LINENO: checking size of long long" >&5
22020 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22021 if test "${ac_cv_sizeof_long_long+set}" = set; then
22022 echo $ECHO_N "(cached) $ECHO_C" >&6
22023 else
22024 if test "$cross_compiling" = yes; then
22025 # Depending upon the size, compute the lo and hi bounds.
22026 cat >conftest.$ac_ext <<_ACEOF
22027 /* confdefs.h. */
22028 _ACEOF
22029 cat confdefs.h >>conftest.$ac_ext
22030 cat >>conftest.$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 $ac_includes_default
22033 typedef long long ac__type_sizeof_;
22034 int
22035 main ()
22036 {
22037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22038 test_array [0] = 0
22039
22040 ;
22041 return 0;
22042 }
22043 _ACEOF
22044 rm -f conftest.$ac_objext
22045 if { (ac_try="$ac_compile"
22046 case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22049 esac
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_compile") 2>conftest.er1
22052 ac_status=$?
22053 grep -v '^ *+' conftest.er1 >conftest.err
22054 rm -f conftest.er1
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } && {
22058 test -z "$ac_c_werror_flag" ||
22059 test ! -s conftest.err
22060 } && test -s conftest.$ac_objext; then
22061 ac_lo=0 ac_mid=0
22062 while :; do
22063 cat >conftest.$ac_ext <<_ACEOF
22064 /* confdefs.h. */
22065 _ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 typedef long long ac__type_sizeof_;
22071 int
22072 main ()
22073 {
22074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22075 test_array [0] = 0
22076
22077 ;
22078 return 0;
22079 }
22080 _ACEOF
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22085 *) ac_try_echo=$ac_try;;
22086 esac
22087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22089 ac_status=$?
22090 grep -v '^ *+' conftest.er1 >conftest.err
22091 rm -f conftest.er1
22092 cat conftest.err >&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } && {
22095 test -z "$ac_c_werror_flag" ||
22096 test ! -s conftest.err
22097 } && test -s conftest.$ac_objext; then
22098 ac_hi=$ac_mid; break
22099 else
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22102
22103 ac_lo=`expr $ac_mid + 1`
22104 if test $ac_lo -le $ac_mid; then
22105 ac_lo= ac_hi=
22106 break
22107 fi
22108 ac_mid=`expr 2 '*' $ac_mid + 1`
22109 fi
22110
22111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22112 done
22113 else
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22116
22117 cat >conftest.$ac_ext <<_ACEOF
22118 /* confdefs.h. */
22119 _ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 $ac_includes_default
22124 typedef long long ac__type_sizeof_;
22125 int
22126 main ()
22127 {
22128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22129 test_array [0] = 0
22130
22131 ;
22132 return 0;
22133 }
22134 _ACEOF
22135 rm -f conftest.$ac_objext
22136 if { (ac_try="$ac_compile"
22137 case "(($ac_try" in
22138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139 *) ac_try_echo=$ac_try;;
22140 esac
22141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_compile") 2>conftest.er1
22143 ac_status=$?
22144 grep -v '^ *+' conftest.er1 >conftest.err
22145 rm -f conftest.er1
22146 cat conftest.err >&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } && {
22149 test -z "$ac_c_werror_flag" ||
22150 test ! -s conftest.err
22151 } && test -s conftest.$ac_objext; then
22152 ac_hi=-1 ac_mid=-1
22153 while :; do
22154 cat >conftest.$ac_ext <<_ACEOF
22155 /* confdefs.h. */
22156 _ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22160 $ac_includes_default
22161 typedef long long ac__type_sizeof_;
22162 int
22163 main ()
22164 {
22165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22166 test_array [0] = 0
22167
22168 ;
22169 return 0;
22170 }
22171 _ACEOF
22172 rm -f conftest.$ac_objext
22173 if { (ac_try="$ac_compile"
22174 case "(($ac_try" in
22175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22176 *) ac_try_echo=$ac_try;;
22177 esac
22178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22179 (eval "$ac_compile") 2>conftest.er1
22180 ac_status=$?
22181 grep -v '^ *+' conftest.er1 >conftest.err
22182 rm -f conftest.er1
22183 cat conftest.err >&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } && {
22186 test -z "$ac_c_werror_flag" ||
22187 test ! -s conftest.err
22188 } && test -s conftest.$ac_objext; then
22189 ac_lo=$ac_mid; break
22190 else
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22193
22194 ac_hi=`expr '(' $ac_mid ')' - 1`
22195 if test $ac_mid -le $ac_hi; then
22196 ac_lo= ac_hi=
22197 break
22198 fi
22199 ac_mid=`expr 2 '*' $ac_mid`
22200 fi
22201
22202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22203 done
22204 else
22205 echo "$as_me: failed program was:" >&5
22206 sed 's/^/| /' conftest.$ac_ext >&5
22207
22208 ac_lo= ac_hi=
22209 fi
22210
22211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22212 fi
22213
22214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22215 # Binary search between lo and hi bounds.
22216 while test "x$ac_lo" != "x$ac_hi"; do
22217 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22218 cat >conftest.$ac_ext <<_ACEOF
22219 /* confdefs.h. */
22220 _ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224 $ac_includes_default
22225 typedef long long ac__type_sizeof_;
22226 int
22227 main ()
22228 {
22229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22230 test_array [0] = 0
22231
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 rm -f conftest.$ac_objext
22237 if { (ac_try="$ac_compile"
22238 case "(($ac_try" in
22239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22240 *) ac_try_echo=$ac_try;;
22241 esac
22242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22243 (eval "$ac_compile") 2>conftest.er1
22244 ac_status=$?
22245 grep -v '^ *+' conftest.er1 >conftest.err
22246 rm -f conftest.er1
22247 cat conftest.err >&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } && {
22250 test -z "$ac_c_werror_flag" ||
22251 test ! -s conftest.err
22252 } && test -s conftest.$ac_objext; then
22253 ac_hi=$ac_mid
22254 else
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.$ac_ext >&5
22257
22258 ac_lo=`expr '(' $ac_mid ')' + 1`
22259 fi
22260
22261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22262 done
22263 case $ac_lo in
22264 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22265 '') if test "$ac_cv_type_long_long" = yes; then
22266 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22267 See \`config.log' for more details." >&5
22268 echo "$as_me: error: cannot compute sizeof (long long)
22269 See \`config.log' for more details." >&2;}
22270 { (exit 77); exit 77; }; }
22271 else
22272 ac_cv_sizeof_long_long=0
22273 fi ;;
22274 esac
22275 else
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef long long ac__type_sizeof_;
22284 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22285 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22286 #include <stdio.h>
22287 #include <stdlib.h>
22288 int
22289 main ()
22290 {
22291
22292 FILE *f = fopen ("conftest.val", "w");
22293 if (! f)
22294 return 1;
22295 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22296 {
22297 long int i = longval ();
22298 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22299 return 1;
22300 fprintf (f, "%ld\n", i);
22301 }
22302 else
22303 {
22304 unsigned long int i = ulongval ();
22305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22306 return 1;
22307 fprintf (f, "%lu\n", i);
22308 }
22309 return ferror (f) || fclose (f) != 0;
22310
22311 ;
22312 return 0;
22313 }
22314 _ACEOF
22315 rm -f conftest$ac_exeext
22316 if { (ac_try="$ac_link"
22317 case "(($ac_try" in
22318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22320 esac
22321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_link") 2>&5
22323 ac_status=$?
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22326 { (case "(($ac_try" in
22327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22328 *) ac_try_echo=$ac_try;;
22329 esac
22330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22331 (eval "$ac_try") 2>&5
22332 ac_status=$?
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 ac_cv_sizeof_long_long=`cat conftest.val`
22336 else
22337 echo "$as_me: program exited with status $ac_status" >&5
22338 echo "$as_me: failed program was:" >&5
22339 sed 's/^/| /' conftest.$ac_ext >&5
22340
22341 ( exit $ac_status )
22342 if test "$ac_cv_type_long_long" = yes; then
22343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22344 See \`config.log' for more details." >&5
22345 echo "$as_me: error: cannot compute sizeof (long long)
22346 See \`config.log' for more details." >&2;}
22347 { (exit 77); exit 77; }; }
22348 else
22349 ac_cv_sizeof_long_long=0
22350 fi
22351 fi
22352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22353 fi
22354 rm -f conftest.val
22355 fi
22356 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22357 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22358
22359
22360
22361 cat >>confdefs.h <<_ACEOF
22362 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22363 _ACEOF
22364
22365
22366 esac
22367
22368 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22369 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22370 if test "${ac_cv_type_wchar_t+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22372 else
22373 cat >conftest.$ac_ext <<_ACEOF
22374 /* confdefs.h. */
22375 _ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379
22380 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22381 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22382 # error "fake wchar_t"
22383 #endif
22384 #ifdef HAVE_WCHAR_H
22385 # ifdef __CYGWIN__
22386 # include <stddef.h>
22387 # endif
22388 # include <wchar.h>
22389 #endif
22390 #ifdef HAVE_STDLIB_H
22391 # include <stdlib.h>
22392 #endif
22393 #include <stdio.h>
22394
22395
22396
22397 typedef wchar_t ac__type_new_;
22398 int
22399 main ()
22400 {
22401 if ((ac__type_new_ *) 0)
22402 return 0;
22403 if (sizeof (ac__type_new_))
22404 return 0;
22405 ;
22406 return 0;
22407 }
22408 _ACEOF
22409 rm -f conftest.$ac_objext
22410 if { (ac_try="$ac_compile"
22411 case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22414 esac
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_compile") 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } && {
22423 test -z "$ac_c_werror_flag" ||
22424 test ! -s conftest.err
22425 } && test -s conftest.$ac_objext; then
22426 ac_cv_type_wchar_t=yes
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 ac_cv_type_wchar_t=no
22432 fi
22433
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 fi
22436 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22437 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22438
22439 # The cast to long int works around a bug in the HP C Compiler
22440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22442 # This bug is HP SR number 8606223364.
22443 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22444 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22445 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22446 echo $ECHO_N "(cached) $ECHO_C" >&6
22447 else
22448 if test "$cross_compiling" = yes; then
22449 # Depending upon the size, compute the lo and hi bounds.
22450 cat >conftest.$ac_ext <<_ACEOF
22451 /* confdefs.h. */
22452 _ACEOF
22453 cat confdefs.h >>conftest.$ac_ext
22454 cat >>conftest.$ac_ext <<_ACEOF
22455 /* end confdefs.h. */
22456
22457 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22458 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22459 # error "fake wchar_t"
22460 #endif
22461 #ifdef HAVE_WCHAR_H
22462 # ifdef __CYGWIN__
22463 # include <stddef.h>
22464 # endif
22465 # include <wchar.h>
22466 #endif
22467 #ifdef HAVE_STDLIB_H
22468 # include <stdlib.h>
22469 #endif
22470 #include <stdio.h>
22471
22472
22473
22474 typedef wchar_t ac__type_sizeof_;
22475 int
22476 main ()
22477 {
22478 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22479 test_array [0] = 0
22480
22481 ;
22482 return 0;
22483 }
22484 _ACEOF
22485 rm -f conftest.$ac_objext
22486 if { (ac_try="$ac_compile"
22487 case "(($ac_try" in
22488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22489 *) ac_try_echo=$ac_try;;
22490 esac
22491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22492 (eval "$ac_compile") 2>conftest.er1
22493 ac_status=$?
22494 grep -v '^ *+' conftest.er1 >conftest.err
22495 rm -f conftest.er1
22496 cat conftest.err >&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } && {
22499 test -z "$ac_c_werror_flag" ||
22500 test ! -s conftest.err
22501 } && test -s conftest.$ac_objext; then
22502 ac_lo=0 ac_mid=0
22503 while :; do
22504 cat >conftest.$ac_ext <<_ACEOF
22505 /* confdefs.h. */
22506 _ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510
22511 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22512 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22513 # error "fake wchar_t"
22514 #endif
22515 #ifdef HAVE_WCHAR_H
22516 # ifdef __CYGWIN__
22517 # include <stddef.h>
22518 # endif
22519 # include <wchar.h>
22520 #endif
22521 #ifdef HAVE_STDLIB_H
22522 # include <stdlib.h>
22523 #endif
22524 #include <stdio.h>
22525
22526
22527
22528 typedef wchar_t ac__type_sizeof_;
22529 int
22530 main ()
22531 {
22532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22533 test_array [0] = 0
22534
22535 ;
22536 return 0;
22537 }
22538 _ACEOF
22539 rm -f conftest.$ac_objext
22540 if { (ac_try="$ac_compile"
22541 case "(($ac_try" in
22542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22543 *) ac_try_echo=$ac_try;;
22544 esac
22545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546 (eval "$ac_compile") 2>conftest.er1
22547 ac_status=$?
22548 grep -v '^ *+' conftest.er1 >conftest.err
22549 rm -f conftest.er1
22550 cat conftest.err >&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } && {
22553 test -z "$ac_c_werror_flag" ||
22554 test ! -s conftest.err
22555 } && test -s conftest.$ac_objext; then
22556 ac_hi=$ac_mid; break
22557 else
22558 echo "$as_me: failed program was:" >&5
22559 sed 's/^/| /' conftest.$ac_ext >&5
22560
22561 ac_lo=`expr $ac_mid + 1`
22562 if test $ac_lo -le $ac_mid; then
22563 ac_lo= ac_hi=
22564 break
22565 fi
22566 ac_mid=`expr 2 '*' $ac_mid + 1`
22567 fi
22568
22569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22570 done
22571 else
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.$ac_ext >&5
22574
22575 cat >conftest.$ac_ext <<_ACEOF
22576 /* confdefs.h. */
22577 _ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581
22582 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22583 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22584 # error "fake wchar_t"
22585 #endif
22586 #ifdef HAVE_WCHAR_H
22587 # ifdef __CYGWIN__
22588 # include <stddef.h>
22589 # endif
22590 # include <wchar.h>
22591 #endif
22592 #ifdef HAVE_STDLIB_H
22593 # include <stdlib.h>
22594 #endif
22595 #include <stdio.h>
22596
22597
22598
22599 typedef wchar_t ac__type_sizeof_;
22600 int
22601 main ()
22602 {
22603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22604 test_array [0] = 0
22605
22606 ;
22607 return 0;
22608 }
22609 _ACEOF
22610 rm -f conftest.$ac_objext
22611 if { (ac_try="$ac_compile"
22612 case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22615 esac
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_compile") 2>conftest.er1
22618 ac_status=$?
22619 grep -v '^ *+' conftest.er1 >conftest.err
22620 rm -f conftest.er1
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && {
22624 test -z "$ac_c_werror_flag" ||
22625 test ! -s conftest.err
22626 } && test -s conftest.$ac_objext; then
22627 ac_hi=-1 ac_mid=-1
22628 while :; do
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635
22636 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22637 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22638 # error "fake wchar_t"
22639 #endif
22640 #ifdef HAVE_WCHAR_H
22641 # ifdef __CYGWIN__
22642 # include <stddef.h>
22643 # endif
22644 # include <wchar.h>
22645 #endif
22646 #ifdef HAVE_STDLIB_H
22647 # include <stdlib.h>
22648 #endif
22649 #include <stdio.h>
22650
22651
22652
22653 typedef wchar_t ac__type_sizeof_;
22654 int
22655 main ()
22656 {
22657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22658 test_array [0] = 0
22659
22660 ;
22661 return 0;
22662 }
22663 _ACEOF
22664 rm -f conftest.$ac_objext
22665 if { (ac_try="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22669 esac
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_compile") 2>conftest.er1
22672 ac_status=$?
22673 grep -v '^ *+' conftest.er1 >conftest.err
22674 rm -f conftest.er1
22675 cat conftest.err >&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest.$ac_objext; then
22681 ac_lo=$ac_mid; break
22682 else
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.$ac_ext >&5
22685
22686 ac_hi=`expr '(' $ac_mid ')' - 1`
22687 if test $ac_mid -le $ac_hi; then
22688 ac_lo= ac_hi=
22689 break
22690 fi
22691 ac_mid=`expr 2 '*' $ac_mid`
22692 fi
22693
22694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22695 done
22696 else
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.$ac_ext >&5
22699
22700 ac_lo= ac_hi=
22701 fi
22702
22703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22704 fi
22705
22706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22707 # Binary search between lo and hi bounds.
22708 while test "x$ac_lo" != "x$ac_hi"; do
22709 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22710 cat >conftest.$ac_ext <<_ACEOF
22711 /* confdefs.h. */
22712 _ACEOF
22713 cat confdefs.h >>conftest.$ac_ext
22714 cat >>conftest.$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22716
22717 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22718 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22719 # error "fake wchar_t"
22720 #endif
22721 #ifdef HAVE_WCHAR_H
22722 # ifdef __CYGWIN__
22723 # include <stddef.h>
22724 # endif
22725 # include <wchar.h>
22726 #endif
22727 #ifdef HAVE_STDLIB_H
22728 # include <stdlib.h>
22729 #endif
22730 #include <stdio.h>
22731
22732
22733
22734 typedef wchar_t ac__type_sizeof_;
22735 int
22736 main ()
22737 {
22738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22739 test_array [0] = 0
22740
22741 ;
22742 return 0;
22743 }
22744 _ACEOF
22745 rm -f conftest.$ac_objext
22746 if { (ac_try="$ac_compile"
22747 case "(($ac_try" in
22748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22749 *) ac_try_echo=$ac_try;;
22750 esac
22751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22752 (eval "$ac_compile") 2>conftest.er1
22753 ac_status=$?
22754 grep -v '^ *+' conftest.er1 >conftest.err
22755 rm -f conftest.er1
22756 cat conftest.err >&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); } && {
22759 test -z "$ac_c_werror_flag" ||
22760 test ! -s conftest.err
22761 } && test -s conftest.$ac_objext; then
22762 ac_hi=$ac_mid
22763 else
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.$ac_ext >&5
22766
22767 ac_lo=`expr '(' $ac_mid ')' + 1`
22768 fi
22769
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 done
22772 case $ac_lo in
22773 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22774 '') if test "$ac_cv_type_wchar_t" = yes; then
22775 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22776 See \`config.log' for more details." >&5
22777 echo "$as_me: error: cannot compute sizeof (wchar_t)
22778 See \`config.log' for more details." >&2;}
22779 { (exit 77); exit 77; }; }
22780 else
22781 ac_cv_sizeof_wchar_t=0
22782 fi ;;
22783 esac
22784 else
22785 cat >conftest.$ac_ext <<_ACEOF
22786 /* confdefs.h. */
22787 _ACEOF
22788 cat confdefs.h >>conftest.$ac_ext
22789 cat >>conftest.$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791
22792 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22793 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22794 # error "fake wchar_t"
22795 #endif
22796 #ifdef HAVE_WCHAR_H
22797 # ifdef __CYGWIN__
22798 # include <stddef.h>
22799 # endif
22800 # include <wchar.h>
22801 #endif
22802 #ifdef HAVE_STDLIB_H
22803 # include <stdlib.h>
22804 #endif
22805 #include <stdio.h>
22806
22807
22808
22809 typedef wchar_t ac__type_sizeof_;
22810 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22811 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22812 #include <stdio.h>
22813 #include <stdlib.h>
22814 int
22815 main ()
22816 {
22817
22818 FILE *f = fopen ("conftest.val", "w");
22819 if (! f)
22820 return 1;
22821 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22822 {
22823 long int i = longval ();
22824 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22825 return 1;
22826 fprintf (f, "%ld\n", i);
22827 }
22828 else
22829 {
22830 unsigned long int i = ulongval ();
22831 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22832 return 1;
22833 fprintf (f, "%lu\n", i);
22834 }
22835 return ferror (f) || fclose (f) != 0;
22836
22837 ;
22838 return 0;
22839 }
22840 _ACEOF
22841 rm -f conftest$ac_exeext
22842 if { (ac_try="$ac_link"
22843 case "(($ac_try" in
22844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22845 *) ac_try_echo=$ac_try;;
22846 esac
22847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22848 (eval "$ac_link") 2>&5
22849 ac_status=$?
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22852 { (case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22855 esac
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_try") 2>&5
22858 ac_status=$?
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 ac_cv_sizeof_wchar_t=`cat conftest.val`
22862 else
22863 echo "$as_me: program exited with status $ac_status" >&5
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22866
22867 ( exit $ac_status )
22868 if test "$ac_cv_type_wchar_t" = yes; then
22869 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22870 See \`config.log' for more details." >&5
22871 echo "$as_me: error: cannot compute sizeof (wchar_t)
22872 See \`config.log' for more details." >&2;}
22873 { (exit 77); exit 77; }; }
22874 else
22875 ac_cv_sizeof_wchar_t=0
22876 fi
22877 fi
22878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22879 fi
22880 rm -f conftest.val
22881 fi
22882 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22883 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22884
22885
22886
22887 cat >>confdefs.h <<_ACEOF
22888 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22889 _ACEOF
22890
22891
22892 if test "$ac_cv_sizeof_wchar_t" != 0; then
22893 wxUSE_WCHAR_T=yes
22894 else
22895 wxUSE_WCHAR_T=no
22896 fi
22897
22898 { echo "$as_me:$LINENO: checking for va_copy" >&5
22899 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22900 if test "${wx_cv_func_va_copy+set}" = set; then
22901 echo $ECHO_N "(cached) $ECHO_C" >&6
22902 else
22903
22904 ac_ext=cpp
22905 ac_cpp='$CXXCPP $CPPFLAGS'
22906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909
22910 cat >conftest.$ac_ext <<_ACEOF
22911
22912 #include <stdarg.h>
22913 void foo(char *f, ...)
22914 {
22915 va_list ap1, ap2;
22916 va_start(ap1, f);
22917 va_copy(ap2, ap1);
22918 va_end(ap2);
22919 va_end(ap1);
22920 }
22921 int main()
22922 {
22923 foo("hi", 17);
22924 return 0;
22925 }
22926 _ACEOF
22927 rm -f conftest.$ac_objext conftest$ac_exeext
22928 if { (ac_try="$ac_link"
22929 case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22932 esac
22933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22934 (eval "$ac_link") 2>conftest.er1
22935 ac_status=$?
22936 grep -v '^ *+' conftest.er1 >conftest.err
22937 rm -f conftest.er1
22938 cat conftest.err >&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); } && {
22941 test -z "$ac_cxx_werror_flag" ||
22942 test ! -s conftest.err
22943 } && test -s conftest$ac_exeext &&
22944 $as_test_x conftest$ac_exeext; then
22945 wx_cv_func_va_copy=yes
22946 else
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22949
22950 wx_cv_func_va_copy=no
22951
22952 fi
22953
22954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22955 conftest$ac_exeext conftest.$ac_ext
22956 ac_ext=c
22957 ac_cpp='$CPP $CPPFLAGS'
22958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22961
22962
22963
22964 fi
22965 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22966 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22967
22968 if test $wx_cv_func_va_copy = "yes"; then
22969 cat >>confdefs.h <<\_ACEOF
22970 #define HAVE_VA_COPY 1
22971 _ACEOF
22972
22973 else
22974 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22975 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22976 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22977 echo $ECHO_N "(cached) $ECHO_C" >&6
22978 else
22979
22980 if test "$cross_compiling" = yes; then
22981 wx_cv_type_va_list_lvalue=yes
22982
22983 else
22984 cat >conftest.$ac_ext <<_ACEOF
22985
22986 #include <stdarg.h>
22987 int foo(char *f, ...)
22988 {
22989 va_list ap1, ap2;
22990 va_start(ap1, f);
22991 ap2 = ap1;
22992 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22993 return 1;
22994 va_end(ap2);
22995 va_end(ap1);
22996 return 0;
22997 }
22998 int main()
22999 {
23000 return foo("hi", 17);
23001 }
23002 _ACEOF
23003 rm -f conftest$ac_exeext
23004 if { (ac_try="$ac_link"
23005 case "(($ac_try" in
23006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23007 *) ac_try_echo=$ac_try;;
23008 esac
23009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23010 (eval "$ac_link") 2>&5
23011 ac_status=$?
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23014 { (case "(($ac_try" in
23015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23016 *) ac_try_echo=$ac_try;;
23017 esac
23018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019 (eval "$ac_try") 2>&5
23020 ac_status=$?
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; }; then
23023 wx_cv_type_va_list_lvalue=yes
23024 else
23025 echo "$as_me: program exited with status $ac_status" >&5
23026 echo "$as_me: failed program was:" >&5
23027 sed 's/^/| /' conftest.$ac_ext >&5
23028
23029 ( exit $ac_status )
23030 wx_cv_type_va_list_lvalue=no
23031 fi
23032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23033 fi
23034
23035
23036
23037
23038 fi
23039 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23040 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23041
23042 if test $wx_cv_type_va_list_lvalue != "yes"; then
23043 cat >>confdefs.h <<\_ACEOF
23044 #define VA_LIST_IS_ARRAY 1
23045 _ACEOF
23046
23047 fi
23048 fi
23049
23050 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23051
23052 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23053 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23054 if test "${wx_cv_have_variadic_macros+set}" = set; then
23055 echo $ECHO_N "(cached) $ECHO_C" >&6
23056 else
23057
23058 ac_ext=cpp
23059 ac_cpp='$CXXCPP $CPPFLAGS'
23060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23063
23064 cat >conftest.$ac_ext <<_ACEOF
23065 /* confdefs.h. */
23066 _ACEOF
23067 cat confdefs.h >>conftest.$ac_ext
23068 cat >>conftest.$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23070
23071 #include <stdio.h>
23072 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23073
23074 int
23075 main ()
23076 {
23077
23078 test("%s %d %p", "test", 1, 0);
23079
23080
23081 ;
23082 return 0;
23083 }
23084 _ACEOF
23085 rm -f conftest.$ac_objext
23086 if { (ac_try="$ac_compile"
23087 case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23090 esac
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_compile") 2>conftest.er1
23093 ac_status=$?
23094 grep -v '^ *+' conftest.er1 >conftest.err
23095 rm -f conftest.er1
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } && {
23099 test -z "$ac_cxx_werror_flag" ||
23100 test ! -s conftest.err
23101 } && test -s conftest.$ac_objext; then
23102 wx_cv_have_variadic_macros=yes
23103 else
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.$ac_ext >&5
23106
23107 wx_cv_have_variadic_macros=no
23108
23109 fi
23110
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_ext=c
23113 ac_cpp='$CPP $CPPFLAGS'
23114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23117
23118
23119
23120 fi
23121 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23122 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23123
23124 if test $wx_cv_have_variadic_macros = "yes"; then
23125 cat >>confdefs.h <<\_ACEOF
23126 #define HAVE_VARIADIC_MACROS 1
23127 _ACEOF
23128
23129 fi
23130
23131 fi
23132 # Check whether --enable-largefile was given.
23133 if test "${enable_largefile+set}" = set; then
23134 enableval=$enable_largefile;
23135 fi
23136
23137 if test "$enable_largefile" != no; then
23138 wx_largefile=no
23139
23140 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23141 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23142 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23143 echo $ECHO_N "(cached) $ECHO_C" >&6
23144 else
23145
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #define _FILE_OFFSET_BITS 64
23153 #include <sys/types.h>
23154 int
23155 main ()
23156 {
23157 typedef struct {
23158 unsigned int field: sizeof(off_t) == 8;
23159 } wxlf;
23160
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23173 ac_status=$?
23174 grep -v '^ *+' conftest.er1 >conftest.err
23175 rm -f conftest.er1
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_cv_sys_file_offset_bits=64
23183 else
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187 ac_cv_sys_file_offset_bits=no
23188 fi
23189
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191
23192
23193 fi
23194 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23195 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23196
23197 if test "$ac_cv_sys_file_offset_bits" != no; then
23198 wx_largefile=yes
23199 cat >>confdefs.h <<_ACEOF
23200 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23201 _ACEOF
23202
23203 fi
23204
23205 if test "x$wx_largefile" != "xyes"; then
23206
23207 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23208 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23209 if test "${ac_cv_sys_large_files+set}" = set; then
23210 echo $ECHO_N "(cached) $ECHO_C" >&6
23211 else
23212
23213 cat >conftest.$ac_ext <<_ACEOF
23214 /* confdefs.h. */
23215 _ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219 #define _LARGE_FILES 1
23220 #include <sys/types.h>
23221 int
23222 main ()
23223 {
23224 typedef struct {
23225 unsigned int field: sizeof(off_t) == 8;
23226 } wxlf;
23227
23228 ;
23229 return 0;
23230 }
23231 _ACEOF
23232 rm -f conftest.$ac_objext
23233 if { (ac_try="$ac_compile"
23234 case "(($ac_try" in
23235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23236 *) ac_try_echo=$ac_try;;
23237 esac
23238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23239 (eval "$ac_compile") 2>conftest.er1
23240 ac_status=$?
23241 grep -v '^ *+' conftest.er1 >conftest.err
23242 rm -f conftest.er1
23243 cat conftest.err >&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } && {
23246 test -z "$ac_c_werror_flag" ||
23247 test ! -s conftest.err
23248 } && test -s conftest.$ac_objext; then
23249 ac_cv_sys_large_files=1
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23253
23254 ac_cv_sys_large_files=no
23255 fi
23256
23257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23258
23259
23260 fi
23261 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23262 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23263
23264 if test "$ac_cv_sys_large_files" != no; then
23265 wx_largefile=yes
23266 cat >>confdefs.h <<_ACEOF
23267 #define _LARGE_FILES $ac_cv_sys_large_files
23268 _ACEOF
23269
23270 fi
23271
23272 fi
23273
23274 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23275 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23276 if test "x$wx_largefile" = "xyes"; then
23277 cat >>confdefs.h <<\_ACEOF
23278 #define HAVE_LARGEFILE_SUPPORT 1
23279 _ACEOF
23280
23281 fi
23282 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23283 echo "${ECHO_T}$wx_largefile" >&6; }
23284 fi
23285
23286
23287 if test "x$wx_largefile" = "xyes"; then
23288 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23289 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23290
23291 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23292 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23293 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23294 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23295 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 else
23297
23298 ac_ext=cpp
23299 ac_cpp='$CXXCPP $CPPFLAGS'
23300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23303
23304 cat >conftest.$ac_ext <<_ACEOF
23305 /* confdefs.h. */
23306 _ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23310
23311 int
23312 main ()
23313 {
23314
23315 #ifndef __STDC_EXT__
23316 choke me
23317 #endif
23318
23319 ;
23320 return 0;
23321 }
23322 _ACEOF
23323 rm -f conftest.$ac_objext
23324 if { (ac_try="$ac_compile"
23325 case "(($ac_try" in
23326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23327 *) ac_try_echo=$ac_try;;
23328 esac
23329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23330 (eval "$ac_compile") 2>conftest.er1
23331 ac_status=$?
23332 grep -v '^ *+' conftest.er1 >conftest.err
23333 rm -f conftest.er1
23334 cat conftest.err >&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } && {
23337 test -z "$ac_cxx_werror_flag" ||
23338 test ! -s conftest.err
23339 } && test -s conftest.$ac_objext; then
23340 wx_cv_STDC_EXT_required=no
23341 else
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23344
23345 wx_cv_STDC_EXT_required=yes
23346
23347 fi
23348
23349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23350 ac_ext=c
23351 ac_cpp='$CPP $CPPFLAGS'
23352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23355
23356
23357
23358 fi
23359 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23360 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23361 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23362 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23363 fi
23364 fi
23365 else
23366 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23367 fi
23368 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23369 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23370 if test "${ac_cv_sys_largefile_source+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 else
23373 while :; do
23374 cat >conftest.$ac_ext <<_ACEOF
23375 /* confdefs.h. */
23376 _ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23380 #include <sys/types.h> /* for off_t */
23381 #include <stdio.h>
23382 int
23383 main ()
23384 {
23385 int (*fp) (FILE *, off_t, int) = fseeko;
23386 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23387 ;
23388 return 0;
23389 }
23390 _ACEOF
23391 rm -f conftest.$ac_objext conftest$ac_exeext
23392 if { (ac_try="$ac_link"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23396 esac
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_link") 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_c_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest$ac_exeext &&
23408 $as_test_x conftest$ac_exeext; then
23409 ac_cv_sys_largefile_source=no; break
23410 else
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23413
23414
23415 fi
23416
23417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23418 conftest$ac_exeext conftest.$ac_ext
23419 cat >conftest.$ac_ext <<_ACEOF
23420 /* confdefs.h. */
23421 _ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23425 #define _LARGEFILE_SOURCE 1
23426 #include <sys/types.h> /* for off_t */
23427 #include <stdio.h>
23428 int
23429 main ()
23430 {
23431 int (*fp) (FILE *, off_t, int) = fseeko;
23432 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23433 ;
23434 return 0;
23435 }
23436 _ACEOF
23437 rm -f conftest.$ac_objext conftest$ac_exeext
23438 if { (ac_try="$ac_link"
23439 case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23442 esac
23443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_link") 2>conftest.er1
23445 ac_status=$?
23446 grep -v '^ *+' conftest.er1 >conftest.err
23447 rm -f conftest.er1
23448 cat conftest.err >&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } && {
23451 test -z "$ac_c_werror_flag" ||
23452 test ! -s conftest.err
23453 } && test -s conftest$ac_exeext &&
23454 $as_test_x conftest$ac_exeext; then
23455 ac_cv_sys_largefile_source=1; break
23456 else
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.$ac_ext >&5
23459
23460
23461 fi
23462
23463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23464 conftest$ac_exeext conftest.$ac_ext
23465 ac_cv_sys_largefile_source=unknown
23466 break
23467 done
23468 fi
23469 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23470 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23471 case $ac_cv_sys_largefile_source in #(
23472 no | unknown) ;;
23473 *)
23474 cat >>confdefs.h <<_ACEOF
23475 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23476 _ACEOF
23477 ;;
23478 esac
23479 rm -f conftest*
23480
23481 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23482 # in glibc 2.1.3, but that breaks too many other things.
23483 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23484 if test $ac_cv_sys_largefile_source != unknown; then
23485
23486 cat >>confdefs.h <<\_ACEOF
23487 #define HAVE_FSEEKO 1
23488 _ACEOF
23489
23490 fi
23491
23492 if test "$ac_cv_sys_largefile_source" != no; then
23493 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23494 fi
23495 fi
23496
23497 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23498 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23499 if test "${ac_cv_c_bigendian+set}" = set; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 else
23502 ac_cv_c_bigendian=unknown
23503 # See if sys/param.h defines the BYTE_ORDER macro.
23504 cat >conftest.$ac_ext <<_ACEOF
23505 /* confdefs.h. */
23506 _ACEOF
23507 cat confdefs.h >>conftest.$ac_ext
23508 cat >>conftest.$ac_ext <<_ACEOF
23509 /* end confdefs.h. */
23510 #include <sys/types.h>
23511 #include <sys/param.h>
23512 int
23513 main ()
23514 {
23515
23516 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23517 bogus endian macros
23518 #endif
23519 ;
23520 return 0;
23521 }
23522 _ACEOF
23523 rm -f conftest.$ac_objext
23524 if { (ac_try="$ac_compile"
23525 case "(($ac_try" in
23526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23527 *) ac_try_echo=$ac_try;;
23528 esac
23529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23530 (eval "$ac_compile") 2>conftest.er1
23531 ac_status=$?
23532 grep -v '^ *+' conftest.er1 >conftest.err
23533 rm -f conftest.er1
23534 cat conftest.err >&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } && {
23537 test -z "$ac_c_werror_flag" ||
23538 test ! -s conftest.err
23539 } && test -s conftest.$ac_objext; then
23540 # It does; now see whether it defined to BIG_ENDIAN or not.
23541 cat >conftest.$ac_ext <<_ACEOF
23542 /* confdefs.h. */
23543 _ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 #include <sys/types.h>
23548 #include <sys/param.h>
23549 int
23550 main ()
23551 {
23552
23553 #if BYTE_ORDER != BIG_ENDIAN
23554 not big endian
23555 #endif
23556 ;
23557 return 0;
23558 }
23559 _ACEOF
23560 rm -f conftest.$ac_objext
23561 if { (ac_try="$ac_compile"
23562 case "(($ac_try" in
23563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23564 *) ac_try_echo=$ac_try;;
23565 esac
23566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23567 (eval "$ac_compile") 2>conftest.er1
23568 ac_status=$?
23569 grep -v '^ *+' conftest.er1 >conftest.err
23570 rm -f conftest.er1
23571 cat conftest.err >&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } && {
23574 test -z "$ac_c_werror_flag" ||
23575 test ! -s conftest.err
23576 } && test -s conftest.$ac_objext; then
23577 ac_cv_c_bigendian=yes
23578 else
23579 echo "$as_me: failed program was:" >&5
23580 sed 's/^/| /' conftest.$ac_ext >&5
23581
23582 ac_cv_c_bigendian=no
23583 fi
23584
23585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23586 else
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23589
23590
23591 fi
23592
23593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 if test $ac_cv_c_bigendian = unknown; then
23595 if test "$cross_compiling" = yes; then
23596 ac_cv_c_bigendian=unknown
23597 else
23598 cat >conftest.$ac_ext <<_ACEOF
23599 /* confdefs.h. */
23600 _ACEOF
23601 cat confdefs.h >>conftest.$ac_ext
23602 cat >>conftest.$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23604 main () {
23605 /* Are we little or big endian? From Harbison&Steele. */
23606 union
23607 {
23608 long l;
23609 char c[sizeof (long)];
23610 } u;
23611 u.l = 1;
23612 exit (u.c[sizeof (long) - 1] == 1);
23613 }
23614 _ACEOF
23615 rm -f conftest$ac_exeext
23616 if { (ac_try="$ac_link"
23617 case "(($ac_try" in
23618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23619 *) ac_try_echo=$ac_try;;
23620 esac
23621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23622 (eval "$ac_link") 2>&5
23623 ac_status=$?
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23626 { (case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23628 *) ac_try_echo=$ac_try;;
23629 esac
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_try") 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23635 ac_cv_c_bigendian=no
23636 else
23637 echo "$as_me: program exited with status $ac_status" >&5
23638 echo "$as_me: failed program was:" >&5
23639 sed 's/^/| /' conftest.$ac_ext >&5
23640
23641 ( exit $ac_status )
23642 ac_cv_c_bigendian=yes
23643 fi
23644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23645 fi
23646
23647
23648 fi
23649 fi
23650 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23651 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23652 if test $ac_cv_c_bigendian = unknown; then
23653 { 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
23654 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;}
23655 fi
23656 if test $ac_cv_c_bigendian = yes; then
23657 cat >>confdefs.h <<\_ACEOF
23658 #define WORDS_BIGENDIAN 1
23659 _ACEOF
23660
23661 fi
23662
23663
23664
23665
23666 ac_ext=cpp
23667 ac_cpp='$CXXCPP $CPPFLAGS'
23668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23671
23672
23673
23674 for ac_header in iostream
23675 do
23676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23677 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23679 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 else
23682 cat >conftest.$ac_ext <<_ACEOF
23683 /* confdefs.h. */
23684 _ACEOF
23685 cat confdefs.h >>conftest.$ac_ext
23686 cat >>conftest.$ac_ext <<_ACEOF
23687 /* end confdefs.h. */
23688
23689
23690 #include <$ac_header>
23691 _ACEOF
23692 rm -f conftest.$ac_objext
23693 if { (ac_try="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23697 esac
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_compile") 2>conftest.er1
23700 ac_status=$?
23701 grep -v '^ *+' conftest.er1 >conftest.err
23702 rm -f conftest.er1
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } && {
23706 test -z "$ac_cxx_werror_flag" ||
23707 test ! -s conftest.err
23708 } && test -s conftest.$ac_objext; then
23709 eval "$as_ac_Header=yes"
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23713
23714 eval "$as_ac_Header=no"
23715 fi
23716
23717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23718 fi
23719 ac_res=`eval echo '${'$as_ac_Header'}'`
23720 { echo "$as_me:$LINENO: result: $ac_res" >&5
23721 echo "${ECHO_T}$ac_res" >&6; }
23722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23723 cat >>confdefs.h <<_ACEOF
23724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23725 _ACEOF
23726
23727 fi
23728
23729 done
23730
23731
23732 if test "$ac_cv_header_iostream" = "yes" ; then
23733 :
23734 else
23735 cat >>confdefs.h <<\_ACEOF
23736 #define wxUSE_IOSTREAMH 1
23737 _ACEOF
23738
23739 fi
23740
23741 ac_ext=c
23742 ac_cpp='$CPP $CPPFLAGS'
23743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23746
23747
23748
23749
23750 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23751 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23752 if test "${wx_cv_cpp_bool+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23754 else
23755
23756
23757 ac_ext=cpp
23758 ac_cpp='$CXXCPP $CPPFLAGS'
23759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23762
23763
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770
23771
23772 int
23773 main ()
23774 {
23775
23776 bool b = true;
23777
23778 return 0;
23779
23780 ;
23781 return 0;
23782 }
23783 _ACEOF
23784 rm -f conftest.$ac_objext
23785 if { (ac_try="$ac_compile"
23786 case "(($ac_try" in
23787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23788 *) ac_try_echo=$ac_try;;
23789 esac
23790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23791 (eval "$ac_compile") 2>conftest.er1
23792 ac_status=$?
23793 grep -v '^ *+' conftest.er1 >conftest.err
23794 rm -f conftest.er1
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } && {
23798 test -z "$ac_cxx_werror_flag" ||
23799 test ! -s conftest.err
23800 } && test -s conftest.$ac_objext; then
23801
23802 wx_cv_cpp_bool=yes
23803
23804 else
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23807
23808
23809 wx_cv_cpp_bool=no
23810
23811
23812 fi
23813
23814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23815
23816 ac_ext=c
23817 ac_cpp='$CPP $CPPFLAGS'
23818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23821
23822
23823 fi
23824 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23825 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23826
23827 if test "$wx_cv_cpp_bool" = "yes"; then
23828 cat >>confdefs.h <<\_ACEOF
23829 #define HAVE_BOOL 1
23830 _ACEOF
23831
23832 fi
23833
23834
23835
23836 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23837 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23838 if test "${wx_cv_explicit+set}" = set; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23840 else
23841
23842
23843 ac_ext=cpp
23844 ac_cpp='$CXXCPP $CPPFLAGS'
23845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23848
23849
23850 cat >conftest.$ac_ext <<_ACEOF
23851 /* confdefs.h. */
23852 _ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856
23857 class Foo { public: explicit Foo(int) {} };
23858
23859 int
23860 main ()
23861 {
23862
23863 return 0;
23864
23865 ;
23866 return 0;
23867 }
23868 _ACEOF
23869 rm -f conftest.$ac_objext
23870 if { (ac_try="$ac_compile"
23871 case "(($ac_try" in
23872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23873 *) ac_try_echo=$ac_try;;
23874 esac
23875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23876 (eval "$ac_compile") 2>conftest.er1
23877 ac_status=$?
23878 grep -v '^ *+' conftest.er1 >conftest.err
23879 rm -f conftest.er1
23880 cat conftest.err >&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } && {
23883 test -z "$ac_cxx_werror_flag" ||
23884 test ! -s conftest.err
23885 } && test -s conftest.$ac_objext; then
23886
23887 cat >conftest.$ac_ext <<_ACEOF
23888 /* confdefs.h. */
23889 _ACEOF
23890 cat confdefs.h >>conftest.$ac_ext
23891 cat >>conftest.$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893
23894 class Foo { public: explicit Foo(int) {} };
23895 static void TakeFoo(const Foo& foo) { }
23896
23897 int
23898 main ()
23899 {
23900
23901 TakeFoo(17);
23902 return 0;
23903
23904 ;
23905 return 0;
23906 }
23907 _ACEOF
23908 rm -f conftest.$ac_objext
23909 if { (ac_try="$ac_compile"
23910 case "(($ac_try" in
23911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23912 *) ac_try_echo=$ac_try;;
23913 esac
23914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23915 (eval "$ac_compile") 2>conftest.er1
23916 ac_status=$?
23917 grep -v '^ *+' conftest.er1 >conftest.err
23918 rm -f conftest.er1
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } && {
23922 test -z "$ac_cxx_werror_flag" ||
23923 test ! -s conftest.err
23924 } && test -s conftest.$ac_objext; then
23925 wx_cv_explicit=no
23926 else
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5
23929
23930 wx_cv_explicit=yes
23931
23932 fi
23933
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935
23936 else
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23939
23940 wx_cv_explicit=no
23941
23942 fi
23943
23944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23945
23946 ac_ext=c
23947 ac_cpp='$CPP $CPPFLAGS'
23948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23951
23952
23953 fi
23954 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23955 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23956
23957 if test "$wx_cv_explicit" = "yes"; then
23958 cat >>confdefs.h <<\_ACEOF
23959 #define HAVE_EXPLICIT 1
23960 _ACEOF
23961
23962 fi
23963
23964
23965 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23966 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23967 if test "${ac_cv_cxx_const_cast+set}" = set; then
23968 echo $ECHO_N "(cached) $ECHO_C" >&6
23969 else
23970
23971 ac_ext=cpp
23972 ac_cpp='$CXXCPP $CPPFLAGS'
23973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23976
23977 cat >conftest.$ac_ext <<_ACEOF
23978 /* confdefs.h. */
23979 _ACEOF
23980 cat confdefs.h >>conftest.$ac_ext
23981 cat >>conftest.$ac_ext <<_ACEOF
23982 /* end confdefs.h. */
23983
23984 int
23985 main ()
23986 {
23987 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23988 ;
23989 return 0;
23990 }
23991 _ACEOF
23992 rm -f conftest.$ac_objext
23993 if { (ac_try="$ac_compile"
23994 case "(($ac_try" in
23995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23996 *) ac_try_echo=$ac_try;;
23997 esac
23998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23999 (eval "$ac_compile") 2>conftest.er1
24000 ac_status=$?
24001 grep -v '^ *+' conftest.er1 >conftest.err
24002 rm -f conftest.er1
24003 cat conftest.err >&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } && {
24006 test -z "$ac_cxx_werror_flag" ||
24007 test ! -s conftest.err
24008 } && test -s conftest.$ac_objext; then
24009 ac_cv_cxx_const_cast=yes
24010 else
24011 echo "$as_me: failed program was:" >&5
24012 sed 's/^/| /' conftest.$ac_ext >&5
24013
24014 ac_cv_cxx_const_cast=no
24015 fi
24016
24017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24018 ac_ext=c
24019 ac_cpp='$CPP $CPPFLAGS'
24020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24023
24024
24025 fi
24026 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24027 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24028 if test "$ac_cv_cxx_const_cast" = yes; then
24029
24030 cat >>confdefs.h <<\_ACEOF
24031 #define HAVE_CONST_CAST
24032 _ACEOF
24033
24034 fi
24035
24036 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24037 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24038 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24040 else
24041
24042 ac_ext=cpp
24043 ac_cpp='$CXXCPP $CPPFLAGS'
24044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24047
24048 cat >conftest.$ac_ext <<_ACEOF
24049 /* confdefs.h. */
24050 _ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24054 #include <typeinfo>
24055 class Base { public : Base () {} virtual void f () = 0;};
24056 class Derived : public Base { public : Derived () {} virtual void f () {} };
24057 class Unrelated { public : Unrelated () {} };
24058 int g (Unrelated&) { return 0; }
24059 int
24060 main ()
24061 {
24062
24063 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24064 ;
24065 return 0;
24066 }
24067 _ACEOF
24068 rm -f conftest.$ac_objext
24069 if { (ac_try="$ac_compile"
24070 case "(($ac_try" in
24071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24072 *) ac_try_echo=$ac_try;;
24073 esac
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_compile") 2>conftest.er1
24076 ac_status=$?
24077 grep -v '^ *+' conftest.er1 >conftest.err
24078 rm -f conftest.er1
24079 cat conftest.err >&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } && {
24082 test -z "$ac_cxx_werror_flag" ||
24083 test ! -s conftest.err
24084 } && test -s conftest.$ac_objext; then
24085 ac_cv_cxx_reinterpret_cast=yes
24086 else
24087 echo "$as_me: failed program was:" >&5
24088 sed 's/^/| /' conftest.$ac_ext >&5
24089
24090 ac_cv_cxx_reinterpret_cast=no
24091 fi
24092
24093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24094 ac_ext=c
24095 ac_cpp='$CPP $CPPFLAGS'
24096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24099
24100
24101 fi
24102 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24103 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24104 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24105
24106 cat >>confdefs.h <<\_ACEOF
24107 #define HAVE_REINTERPRET_CAST
24108 _ACEOF
24109
24110 fi
24111
24112 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24113 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24114 if test "${ac_cv_cxx_static_cast+set}" = set; then
24115 echo $ECHO_N "(cached) $ECHO_C" >&6
24116 else
24117
24118 ac_ext=cpp
24119 ac_cpp='$CXXCPP $CPPFLAGS'
24120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24123
24124 cat >conftest.$ac_ext <<_ACEOF
24125 /* confdefs.h. */
24126 _ACEOF
24127 cat confdefs.h >>conftest.$ac_ext
24128 cat >>conftest.$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24130 #include <typeinfo>
24131 class Base { public : Base () {} virtual void f () = 0; };
24132 class Derived : public Base { public : Derived () {} virtual void f () {} };
24133 int g (Derived&) { return 0; }
24134 int
24135 main ()
24136 {
24137
24138 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24139 ;
24140 return 0;
24141 }
24142 _ACEOF
24143 rm -f conftest.$ac_objext
24144 if { (ac_try="$ac_compile"
24145 case "(($ac_try" in
24146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24147 *) ac_try_echo=$ac_try;;
24148 esac
24149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24150 (eval "$ac_compile") 2>conftest.er1
24151 ac_status=$?
24152 grep -v '^ *+' conftest.er1 >conftest.err
24153 rm -f conftest.er1
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } && {
24157 test -z "$ac_cxx_werror_flag" ||
24158 test ! -s conftest.err
24159 } && test -s conftest.$ac_objext; then
24160 ac_cv_cxx_static_cast=yes
24161 else
24162 echo "$as_me: failed program was:" >&5
24163 sed 's/^/| /' conftest.$ac_ext >&5
24164
24165 ac_cv_cxx_static_cast=no
24166 fi
24167
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169 ac_ext=c
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24174
24175
24176 fi
24177 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24178 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24179 if test "$ac_cv_cxx_static_cast" = yes; then
24180
24181 cat >>confdefs.h <<\_ACEOF
24182 #define HAVE_STATIC_CAST
24183 _ACEOF
24184
24185 fi
24186
24187
24188 if test "x$SUNCXX" = xyes; then
24189 CXXFLAGS="-features=tmplife $CXXFLAGS"
24190 fi
24191
24192 if test "x$SUNCC" = xyes; then
24193 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24194 fi
24195
24196 if test "x$SGICC" = "xyes"; then
24197 CFLAGS="-woff 3970 $CFLAGS"
24198 fi
24199 if test "x$SGICXX" = "xyes"; then
24200 CXXFLAGS="-woff 3970 $CXXFLAGS"
24201 fi
24202
24203 if test "x$HPCC" = "xyes"; then
24204 CFLAGS="+W 2011,2450 $CFLAGS"
24205 fi
24206 if test "x$HPCXX" = "xyes"; then
24207 CXXFLAGS="+W 2340 $CXXFLAGS"
24208 fi
24209
24210 if test "x$COMPAQCXX" = "xyes"; then
24211 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24212 fi
24213
24214 ac_ext=cpp
24215 ac_cpp='$CXXCPP $CPPFLAGS'
24216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24219
24220
24221 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24222 if test "$wxUSE_UNICODE" = "yes"; then
24223 std_string="std::wstring"
24224 char_type="wchar_t"
24225 else
24226 std_string="std::string"
24227 char_type="char"
24228 fi
24229
24230 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24231 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24232 if test "${wx_cv_class_stdstring+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24234 else
24235
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 #include <string>
24243 int
24244 main ()
24245 {
24246 $std_string foo;
24247 ;
24248 return 0;
24249 }
24250 _ACEOF
24251 rm -f conftest.$ac_objext
24252 if { (ac_try="$ac_compile"
24253 case "(($ac_try" in
24254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24255 *) ac_try_echo=$ac_try;;
24256 esac
24257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24258 (eval "$ac_compile") 2>conftest.er1
24259 ac_status=$?
24260 grep -v '^ *+' conftest.er1 >conftest.err
24261 rm -f conftest.er1
24262 cat conftest.err >&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); } && {
24265 test -z "$ac_cxx_werror_flag" ||
24266 test ! -s conftest.err
24267 } && test -s conftest.$ac_objext; then
24268 wx_cv_class_stdstring=yes
24269 else
24270 echo "$as_me: failed program was:" >&5
24271 sed 's/^/| /' conftest.$ac_ext >&5
24272
24273 wx_cv_class_stdstring=no
24274
24275 fi
24276
24277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24278
24279
24280 fi
24281 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24282 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24283
24284 if test "$wx_cv_class_stdstring" = yes; then
24285 if test "$wxUSE_UNICODE" = "yes"; then
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_STD_WSTRING 1
24288 _ACEOF
24289
24290 fi
24291 else
24292 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24293 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24294 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24295 echo $ECHO_N "(cached) $ECHO_C" >&6
24296 else
24297
24298 cat >conftest.$ac_ext <<_ACEOF
24299 /* confdefs.h. */
24300 _ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24304
24305 #ifdef HAVE_WCHAR_H
24306 # ifdef __CYGWIN__
24307 # include <stddef.h>
24308 # endif
24309 # include <wchar.h>
24310 #endif
24311 #ifdef HAVE_STDLIB_H
24312 # include <stdlib.h>
24313 #endif
24314 #include <stdio.h>
24315 #include <string>
24316
24317 int
24318 main ()
24319 {
24320 std::basic_string<$char_type> foo;
24321 const $char_type* dummy = foo.c_str();
24322 ;
24323 return 0;
24324 }
24325 _ACEOF
24326 rm -f conftest.$ac_objext
24327 if { (ac_try="$ac_compile"
24328 case "(($ac_try" in
24329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24330 *) ac_try_echo=$ac_try;;
24331 esac
24332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24333 (eval "$ac_compile") 2>conftest.er1
24334 ac_status=$?
24335 grep -v '^ *+' conftest.er1 >conftest.err
24336 rm -f conftest.er1
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } && {
24340 test -z "$ac_cxx_werror_flag" ||
24341 test ! -s conftest.err
24342 } && test -s conftest.$ac_objext; then
24343 wx_cv_class_stdbasicstring=yes
24344 else
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.$ac_ext >&5
24347
24348 wx_cv_class_stdbasicstring=no
24349
24350 fi
24351
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353
24354
24355 fi
24356 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24357 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24358
24359 if test "$wx_cv_class_stdbasicstring" != yes; then
24360 if test "$wxUSE_STL" = "yes"; then
24361 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24362 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24363 { (exit 1); exit 1; }; }
24364 elif test "$wxUSE_STD_STRING" = "yes"; then
24365 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24366 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24367 { (exit 1); exit 1; }; }
24368 else
24369 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24370 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24371 wxUSE_STD_STRING=no
24372 fi
24373 fi
24374 fi
24375 fi
24376
24377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24378 { echo "$as_me:$LINENO: checking for std::istream" >&5
24379 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24380 if test "${ac_cv_type_std__istream+set}" = set; then
24381 echo $ECHO_N "(cached) $ECHO_C" >&6
24382 else
24383 cat >conftest.$ac_ext <<_ACEOF
24384 /* confdefs.h. */
24385 _ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 #include <iostream>
24390
24391 typedef std::istream ac__type_new_;
24392 int
24393 main ()
24394 {
24395 if ((ac__type_new_ *) 0)
24396 return 0;
24397 if (sizeof (ac__type_new_))
24398 return 0;
24399 ;
24400 return 0;
24401 }
24402 _ACEOF
24403 rm -f conftest.$ac_objext
24404 if { (ac_try="$ac_compile"
24405 case "(($ac_try" in
24406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24407 *) ac_try_echo=$ac_try;;
24408 esac
24409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24410 (eval "$ac_compile") 2>conftest.er1
24411 ac_status=$?
24412 grep -v '^ *+' conftest.er1 >conftest.err
24413 rm -f conftest.er1
24414 cat conftest.err >&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && {
24417 test -z "$ac_cxx_werror_flag" ||
24418 test ! -s conftest.err
24419 } && test -s conftest.$ac_objext; then
24420 ac_cv_type_std__istream=yes
24421 else
24422 echo "$as_me: failed program was:" >&5
24423 sed 's/^/| /' conftest.$ac_ext >&5
24424
24425 ac_cv_type_std__istream=no
24426 fi
24427
24428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24429 fi
24430 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24431 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24432 if test $ac_cv_type_std__istream = yes; then
24433
24434 cat >>confdefs.h <<_ACEOF
24435 #define HAVE_STD__ISTREAM 1
24436 _ACEOF
24437
24438
24439 else
24440 wxUSE_STD_IOSTREAM=no
24441 fi
24442 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24443 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24444 if test "${ac_cv_type_std__ostream+set}" = set; then
24445 echo $ECHO_N "(cached) $ECHO_C" >&6
24446 else
24447 cat >conftest.$ac_ext <<_ACEOF
24448 /* confdefs.h. */
24449 _ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 #include <iostream>
24454
24455 typedef std::ostream ac__type_new_;
24456 int
24457 main ()
24458 {
24459 if ((ac__type_new_ *) 0)
24460 return 0;
24461 if (sizeof (ac__type_new_))
24462 return 0;
24463 ;
24464 return 0;
24465 }
24466 _ACEOF
24467 rm -f conftest.$ac_objext
24468 if { (ac_try="$ac_compile"
24469 case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24472 esac
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_compile") 2>conftest.er1
24475 ac_status=$?
24476 grep -v '^ *+' conftest.er1 >conftest.err
24477 rm -f conftest.er1
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } && {
24481 test -z "$ac_cxx_werror_flag" ||
24482 test ! -s conftest.err
24483 } && test -s conftest.$ac_objext; then
24484 ac_cv_type_std__ostream=yes
24485 else
24486 echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.$ac_ext >&5
24488
24489 ac_cv_type_std__ostream=no
24490 fi
24491
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493 fi
24494 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24495 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24496 if test $ac_cv_type_std__ostream = yes; then
24497
24498 cat >>confdefs.h <<_ACEOF
24499 #define HAVE_STD__OSTREAM 1
24500 _ACEOF
24501
24502
24503 else
24504 wxUSE_STD_IOSTREAM=no
24505 fi
24506
24507
24508 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24509 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24510 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24511 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24512 { (exit 1); exit 1; }; }
24513 else
24514 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24515 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24516 fi
24517 fi
24518 fi
24519
24520 if test "$wxUSE_STL" = "yes"; then
24521 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24522 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24523 if test "${wx_cv_lib_stl+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 else
24526 cat >conftest.$ac_ext <<_ACEOF
24527 /* confdefs.h. */
24528 _ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24532 #include <string>
24533 #include <functional>
24534 #include <algorithm>
24535 #include <vector>
24536 #include <list>
24537 int
24538 main ()
24539 {
24540 std::vector<int> moo;
24541 std::list<int> foo;
24542 std::vector<int>::iterator it =
24543 std::find_if(moo.begin(), moo.end(),
24544 std::bind2nd(std::less<int>(), 3));
24545 ;
24546 return 0;
24547 }
24548 _ACEOF
24549 rm -f conftest.$ac_objext
24550 if { (ac_try="$ac_compile"
24551 case "(($ac_try" in
24552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24553 *) ac_try_echo=$ac_try;;
24554 esac
24555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24556 (eval "$ac_compile") 2>conftest.er1
24557 ac_status=$?
24558 grep -v '^ *+' conftest.er1 >conftest.err
24559 rm -f conftest.er1
24560 cat conftest.err >&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } && {
24563 test -z "$ac_cxx_werror_flag" ||
24564 test ! -s conftest.err
24565 } && test -s conftest.$ac_objext; then
24566 wx_cv_lib_stl=yes
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24570
24571 wx_cv_lib_stl=no
24572
24573 fi
24574
24575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24576
24577 fi
24578 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24579 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24580
24581 if test "$wx_cv_lib_stl" != yes; then
24582 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24583 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24584 { (exit 1); exit 1; }; }
24585 fi
24586
24587 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24588 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24589 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24590 echo $ECHO_N "(cached) $ECHO_C" >&6
24591 else
24592 cat >conftest.$ac_ext <<_ACEOF
24593 /* confdefs.h. */
24594 _ACEOF
24595 cat confdefs.h >>conftest.$ac_ext
24596 cat >>conftest.$ac_ext <<_ACEOF
24597 /* end confdefs.h. */
24598 #include <string>
24599 int
24600 main ()
24601 {
24602 std::string foo, bar;
24603 foo.compare(bar);
24604 foo.compare(1, 1, bar);
24605 foo.compare(1, 1, bar, 1, 1);
24606 foo.compare("");
24607 foo.compare(1, 1, "");
24608 foo.compare(1, 1, "", 2);
24609 ;
24610 return 0;
24611 }
24612 _ACEOF
24613 rm -f conftest.$ac_objext
24614 if { (ac_try="$ac_compile"
24615 case "(($ac_try" in
24616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24617 *) ac_try_echo=$ac_try;;
24618 esac
24619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24620 (eval "$ac_compile") 2>conftest.er1
24621 ac_status=$?
24622 grep -v '^ *+' conftest.er1 >conftest.err
24623 rm -f conftest.er1
24624 cat conftest.err >&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } && {
24627 test -z "$ac_cxx_werror_flag" ||
24628 test ! -s conftest.err
24629 } && test -s conftest.$ac_objext; then
24630 wx_cv_func_stdstring_compare=yes
24631 else
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.$ac_ext >&5
24634
24635 wx_cv_func_stdstring_compare=no
24636
24637 fi
24638
24639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24640
24641 fi
24642 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24643 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24644
24645 if test "$wx_cv_func_stdstring_compare" = yes; then
24646 cat >>confdefs.h <<\_ACEOF
24647 #define HAVE_STD_STRING_COMPARE 1
24648 _ACEOF
24649
24650 fi
24651
24652 { echo "$as_me:$LINENO: checking for hash_map" >&5
24653 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24654 if test "${ac_cv_header_hash_map+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 else
24657 cat >conftest.$ac_ext <<_ACEOF
24658 /* confdefs.h. */
24659 _ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24663
24664
24665
24666 #include <hash_map>
24667 _ACEOF
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24673 esac
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24676 ac_status=$?
24677 grep -v '^ *+' conftest.er1 >conftest.err
24678 rm -f conftest.er1
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 ac_cv_header_hash_map=yes
24686 else
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24689
24690 ac_cv_header_hash_map=no
24691 fi
24692
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694 fi
24695 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24696 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24697 if test $ac_cv_header_hash_map = yes; then
24698 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24699 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24700 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 else
24703 cat >conftest.$ac_ext <<_ACEOF
24704 /* confdefs.h. */
24705 _ACEOF
24706 cat confdefs.h >>conftest.$ac_ext
24707 cat >>conftest.$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24709 #include <hash_map>
24710 #include <hash_set>
24711 int
24712 main ()
24713 {
24714 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24715 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24725 esac
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24728 ac_status=$?
24729 grep -v '^ *+' conftest.er1 >conftest.err
24730 rm -f conftest.er1
24731 cat conftest.err >&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_cxx_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.$ac_objext; then
24737 wx_cv_class_stdhashmapset=yes
24738 else
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24741
24742 wx_cv_class_stdhashmapset=no
24743 fi
24744
24745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24746
24747
24748 fi
24749 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24750 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24751 fi
24752
24753
24754
24755 if test "$wx_cv_class_stdhashmapset" = yes; then
24756 cat >>confdefs.h <<\_ACEOF
24757 #define HAVE_HASH_MAP 1
24758 _ACEOF
24759
24760 cat >>confdefs.h <<\_ACEOF
24761 #define HAVE_STD_HASH_MAP 1
24762 _ACEOF
24763
24764 fi
24765
24766 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24767 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24768 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 else
24771 cat >conftest.$ac_ext <<_ACEOF
24772 /* confdefs.h. */
24773 _ACEOF
24774 cat confdefs.h >>conftest.$ac_ext
24775 cat >>conftest.$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24777
24778
24779
24780 #include <ext/hash_map>
24781 _ACEOF
24782 rm -f conftest.$ac_objext
24783 if { (ac_try="$ac_compile"
24784 case "(($ac_try" in
24785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24786 *) ac_try_echo=$ac_try;;
24787 esac
24788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24789 (eval "$ac_compile") 2>conftest.er1
24790 ac_status=$?
24791 grep -v '^ *+' conftest.er1 >conftest.err
24792 rm -f conftest.er1
24793 cat conftest.err >&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } && {
24796 test -z "$ac_cxx_werror_flag" ||
24797 test ! -s conftest.err
24798 } && test -s conftest.$ac_objext; then
24799 ac_cv_header_ext_hash_map=yes
24800 else
24801 echo "$as_me: failed program was:" >&5
24802 sed 's/^/| /' conftest.$ac_ext >&5
24803
24804 ac_cv_header_ext_hash_map=no
24805 fi
24806
24807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24808 fi
24809 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24810 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24811 if test $ac_cv_header_ext_hash_map = yes; then
24812 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24813 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24814 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24815 echo $ECHO_N "(cached) $ECHO_C" >&6
24816 else
24817 cat >conftest.$ac_ext <<_ACEOF
24818 /* confdefs.h. */
24819 _ACEOF
24820 cat confdefs.h >>conftest.$ac_ext
24821 cat >>conftest.$ac_ext <<_ACEOF
24822 /* end confdefs.h. */
24823 #include <ext/hash_map>
24824 #include <ext/hash_set>
24825 int
24826 main ()
24827 {
24828 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24829 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24830 ;
24831 return 0;
24832 }
24833 _ACEOF
24834 rm -f conftest.$ac_objext
24835 if { (ac_try="$ac_compile"
24836 case "(($ac_try" in
24837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24838 *) ac_try_echo=$ac_try;;
24839 esac
24840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24841 (eval "$ac_compile") 2>conftest.er1
24842 ac_status=$?
24843 grep -v '^ *+' conftest.er1 >conftest.err
24844 rm -f conftest.er1
24845 cat conftest.err >&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); } && {
24848 test -z "$ac_cxx_werror_flag" ||
24849 test ! -s conftest.err
24850 } && test -s conftest.$ac_objext; then
24851 wx_cv_class_gnuhashmapset=yes
24852 else
24853 echo "$as_me: failed program was:" >&5
24854 sed 's/^/| /' conftest.$ac_ext >&5
24855
24856 wx_cv_class_gnuhashmapset=no
24857 fi
24858
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24860
24861
24862 fi
24863 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24864 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24865 fi
24866
24867
24868
24869 if test "$wx_cv_class_gnuhashmapset" = yes; then
24870 cat >>confdefs.h <<\_ACEOF
24871 #define HAVE_EXT_HASH_MAP 1
24872 _ACEOF
24873
24874 cat >>confdefs.h <<\_ACEOF
24875 #define HAVE_GNU_CXX_HASH_MAP 1
24876 _ACEOF
24877
24878 fi
24879 fi
24880
24881
24882
24883 if test -n "$GCC"; then
24884 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24885 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24886 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 else
24889
24890 cat >conftest.$ac_ext <<_ACEOF
24891 /* confdefs.h. */
24892 _ACEOF
24893 cat confdefs.h >>conftest.$ac_ext
24894 cat >>conftest.$ac_ext <<_ACEOF
24895 /* end confdefs.h. */
24896
24897 int
24898 main ()
24899 {
24900
24901 unsigned int value=0;
24902 /* wxAtomicInc doesn't use return value here */
24903 __sync_fetch_and_add(&value, 2);
24904 __sync_sub_and_fetch(&value, 1);
24905 /* but wxAtomicDec does, so mimic that: */
24906 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24907
24908 ;
24909 return 0;
24910 }
24911 _ACEOF
24912 rm -f conftest.$ac_objext conftest$ac_exeext
24913 if { (ac_try="$ac_link"
24914 case "(($ac_try" in
24915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24916 *) ac_try_echo=$ac_try;;
24917 esac
24918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24919 (eval "$ac_link") 2>conftest.er1
24920 ac_status=$?
24921 grep -v '^ *+' conftest.er1 >conftest.err
24922 rm -f conftest.er1
24923 cat conftest.err >&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } && {
24926 test -z "$ac_cxx_werror_flag" ||
24927 test ! -s conftest.err
24928 } && test -s conftest$ac_exeext &&
24929 $as_test_x conftest$ac_exeext; then
24930 wx_cv_cc_gcc_atomic_builtins=yes
24931 else
24932 echo "$as_me: failed program was:" >&5
24933 sed 's/^/| /' conftest.$ac_ext >&5
24934
24935 wx_cv_cc_gcc_atomic_builtins=no
24936 fi
24937
24938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24939 conftest$ac_exeext conftest.$ac_ext
24940
24941 fi
24942
24943 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24944 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24945 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_GCC_ATOMIC_BUILTINS 1
24948 _ACEOF
24949
24950 fi
24951 fi
24952
24953
24954 ac_ext=c
24955 ac_cpp='$CPP $CPPFLAGS'
24956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24959
24960
24961
24962 SEARCH_INCLUDE="\
24963 /usr/local/include \
24964 \
24965 /usr/Motif-2.1/include \
24966 /usr/Motif-1.2/include \
24967 /usr/include/Motif1.2 \
24968 \
24969 /usr/dt/include \
24970 /usr/openwin/include \
24971 \
24972 /usr/include/Xm \
24973 \
24974 /usr/X11R6/include \
24975 /usr/X11R6.4/include \
24976 /usr/X11R5/include \
24977 /usr/X11R4/include \
24978 \
24979 /usr/include/X11R6 \
24980 /usr/include/X11R5 \
24981 /usr/include/X11R4 \
24982 \
24983 /usr/local/X11R6/include \
24984 /usr/local/X11R5/include \
24985 /usr/local/X11R4/include \
24986 \
24987 /usr/local/include/X11R6 \
24988 /usr/local/include/X11R5 \
24989 /usr/local/include/X11R4 \
24990 \
24991 /usr/X11/include \
24992 /usr/include/X11 \
24993 /usr/local/X11/include \
24994 /usr/local/include/X11 \
24995 \
24996 /usr/XFree86/include/X11 \
24997 /usr/pkg/include \
24998 \
24999 /usr/openwin/share/include"
25000
25001 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25002 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25003
25004 case "${host}" in
25005 *-*-irix6* )
25006 if test "${wx_cv_std_libpath+set}" = set; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 else
25009
25010 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25011 for e in a so sl dylib dll.a; do
25012 libc="$d/libc.$e"
25013 if test -f $libc; then
25014 save_LIBS="$LIBS"
25015 LIBS="$libc"
25016 cat >conftest.$ac_ext <<_ACEOF
25017 int main() { return 0; }
25018 _ACEOF
25019 rm -f conftest.$ac_objext conftest$ac_exeext
25020 if { (ac_try="$ac_link"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25024 esac
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_link") 2>conftest.er1
25027 ac_status=$?
25028 grep -v '^ *+' conftest.er1 >conftest.err
25029 rm -f conftest.er1
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_c_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest$ac_exeext &&
25036 $as_test_x conftest$ac_exeext; then
25037 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25038 else
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25041
25042
25043 fi
25044
25045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25046 conftest$ac_exeext conftest.$ac_ext
25047 LIBS="$save_LIBS"
25048 if test "x$wx_cv_std_libpath" != "x"; then
25049 break 2
25050 fi
25051 fi
25052 done
25053 done
25054 if test "x$wx_cv_std_libpath" = "x"; then
25055 wx_cv_std_libpath="lib"
25056 fi
25057
25058
25059 fi
25060
25061 ;;
25062
25063 *-*-solaris2* )
25064 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25065 wx_cv_std_libpath="lib/64"
25066 else
25067 wx_cv_std_libpath="lib"
25068 fi
25069 ;;
25070
25071 *-*-linux* )
25072 if test "$ac_cv_sizeof_void_p" = 8 -a \
25073 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25074 wx_cv_std_libpath="lib64"
25075 else
25076 wx_cv_std_libpath="lib"
25077 fi
25078 ;;
25079
25080 *)
25081 wx_cv_std_libpath="lib";
25082 ;;
25083 esac
25084
25085 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25086 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25087
25088 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25089
25090 if test "$build" != "$host" -a "$GCC" = yes; then
25091 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25092 cross_root=`dirname $cross_root`
25093 cross_root=`dirname $cross_root`
25094
25095 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25096 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25097 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25098
25099 if test -z "$PKG_CONFIG_PATH"; then
25100 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25101 export PKG_CONFIG_PATH
25102 fi
25103
25104 if test -z "$x_includes" -o "$x_includes" = NONE; then
25105
25106 ac_find_includes=
25107 for ac_dir in $SEARCH_INCLUDE /usr/include;
25108 do
25109 if test -f "$ac_dir/X11/Intrinsic.h"; then
25110 ac_find_includes=$ac_dir
25111 break
25112 fi
25113 done
25114
25115 x_includes=$ac_find_includes
25116 fi
25117 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25118
25119 ac_find_libraries=
25120 for ac_dir in $SEARCH_LIB;
25121 do
25122 for ac_extension in a so sl dylib dll.a; do
25123 if test -f "$ac_dir/libXt.$ac_extension"; then
25124 ac_find_libraries=$ac_dir
25125 break 2
25126 fi
25127 done
25128 done
25129
25130 x_libraries=$ac_find_libraries
25131 fi
25132 fi
25133 fi
25134
25135
25136 cat >confcache <<\_ACEOF
25137 # This file is a shell script that caches the results of configure
25138 # tests run on this system so they can be shared between configure
25139 # scripts and configure runs, see configure's option --config-cache.
25140 # It is not useful on other systems. If it contains results you don't
25141 # want to keep, you may remove or edit it.
25142 #
25143 # config.status only pays attention to the cache file if you give it
25144 # the --recheck option to rerun configure.
25145 #
25146 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25147 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25148 # following values.
25149
25150 _ACEOF
25151
25152 # The following way of writing the cache mishandles newlines in values,
25153 # but we know of no workaround that is simple, portable, and efficient.
25154 # So, we kill variables containing newlines.
25155 # Ultrix sh set writes to stderr and can't be redirected directly,
25156 # and sets the high bit in the cache file unless we assign to the vars.
25157 (
25158 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25159 eval ac_val=\$$ac_var
25160 case $ac_val in #(
25161 *${as_nl}*)
25162 case $ac_var in #(
25163 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25164 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25165 esac
25166 case $ac_var in #(
25167 _ | IFS | as_nl) ;; #(
25168 *) $as_unset $ac_var ;;
25169 esac ;;
25170 esac
25171 done
25172
25173 (set) 2>&1 |
25174 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25175 *${as_nl}ac_space=\ *)
25176 # `set' does not quote correctly, so add quotes (double-quote
25177 # substitution turns \\\\ into \\, and sed turns \\ into \).
25178 sed -n \
25179 "s/'/'\\\\''/g;
25180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25181 ;; #(
25182 *)
25183 # `set' quotes correctly as required by POSIX, so do not add quotes.
25184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25185 ;;
25186 esac |
25187 sort
25188 ) |
25189 sed '
25190 /^ac_cv_env_/b end
25191 t clear
25192 :clear
25193 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25194 t end
25195 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25196 :end' >>confcache
25197 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25198 if test -w "$cache_file"; then
25199 test "x$cache_file" != "x/dev/null" &&
25200 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25201 echo "$as_me: updating cache $cache_file" >&6;}
25202 cat confcache >$cache_file
25203 else
25204 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25205 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25206 fi
25207 fi
25208 rm -f confcache
25209
25210 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25211 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25212 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25213 if test "${wx_cv_lib_glibc21+set}" = set; then
25214 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 else
25216
25217 cat >conftest.$ac_ext <<_ACEOF
25218 /* confdefs.h. */
25219 _ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 #include <features.h>
25224 int
25225 main ()
25226 {
25227
25228 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25229 not glibc 2.1
25230 #endif
25231
25232 ;
25233 return 0;
25234 }
25235 _ACEOF
25236 rm -f conftest.$ac_objext
25237 if { (ac_try="$ac_compile"
25238 case "(($ac_try" in
25239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25240 *) ac_try_echo=$ac_try;;
25241 esac
25242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25243 (eval "$ac_compile") 2>conftest.er1
25244 ac_status=$?
25245 grep -v '^ *+' conftest.er1 >conftest.err
25246 rm -f conftest.er1
25247 cat conftest.err >&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); } && {
25250 test -z "$ac_c_werror_flag" ||
25251 test ! -s conftest.err
25252 } && test -s conftest.$ac_objext; then
25253
25254 wx_cv_lib_glibc21=yes
25255
25256 else
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.$ac_ext >&5
25259
25260
25261 wx_cv_lib_glibc21=no
25262
25263
25264 fi
25265
25266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25267
25268 fi
25269 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25270 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25271 if test "$wx_cv_lib_glibc21" = "yes"; then
25272 cat >>confdefs.h <<\_ACEOF
25273 #define wxHAVE_GLIBC2 1
25274 _ACEOF
25275
25276 fi
25277 fi
25278
25279 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25280 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25281 cat >>confdefs.h <<\_ACEOF
25282 #define _GNU_SOURCE 1
25283 _ACEOF
25284
25285 fi
25286 fi
25287
25288 have_cos=0
25289 have_floor=0
25290
25291 for ac_func in cos
25292 do
25293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25298 else
25299 cat >conftest.$ac_ext <<_ACEOF
25300 /* confdefs.h. */
25301 _ACEOF
25302 cat confdefs.h >>conftest.$ac_ext
25303 cat >>conftest.$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25307 #define $ac_func innocuous_$ac_func
25308
25309 /* System header to define __stub macros and hopefully few prototypes,
25310 which can conflict with char $ac_func (); below.
25311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25312 <limits.h> exists even on freestanding compilers. */
25313
25314 #ifdef __STDC__
25315 # include <limits.h>
25316 #else
25317 # include <assert.h>
25318 #endif
25319
25320 #undef $ac_func
25321
25322 /* Override any GCC internal prototype to avoid an error.
25323 Use char because int might match the return type of a GCC
25324 builtin and then its argument prototype would still apply. */
25325 #ifdef __cplusplus
25326 extern "C"
25327 #endif
25328 char $ac_func ();
25329 /* The GNU C library defines this for functions which it implements
25330 to always fail with ENOSYS. Some functions are actually named
25331 something starting with __ and the normal name is an alias. */
25332 #if defined __stub_$ac_func || defined __stub___$ac_func
25333 choke me
25334 #endif
25335
25336 int
25337 main ()
25338 {
25339 return $ac_func ();
25340 ;
25341 return 0;
25342 }
25343 _ACEOF
25344 rm -f conftest.$ac_objext conftest$ac_exeext
25345 if { (ac_try="$ac_link"
25346 case "(($ac_try" in
25347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25349 esac
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_link") 2>conftest.er1
25352 ac_status=$?
25353 grep -v '^ *+' conftest.er1 >conftest.err
25354 rm -f conftest.er1
25355 cat conftest.err >&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } && {
25358 test -z "$ac_c_werror_flag" ||
25359 test ! -s conftest.err
25360 } && test -s conftest$ac_exeext &&
25361 $as_test_x conftest$ac_exeext; then
25362 eval "$as_ac_var=yes"
25363 else
25364 echo "$as_me: failed program was:" >&5
25365 sed 's/^/| /' conftest.$ac_ext >&5
25366
25367 eval "$as_ac_var=no"
25368 fi
25369
25370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25371 conftest$ac_exeext conftest.$ac_ext
25372 fi
25373 ac_res=`eval echo '${'$as_ac_var'}'`
25374 { echo "$as_me:$LINENO: result: $ac_res" >&5
25375 echo "${ECHO_T}$ac_res" >&6; }
25376 if test `eval echo '${'$as_ac_var'}'` = yes; then
25377 cat >>confdefs.h <<_ACEOF
25378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25379 _ACEOF
25380 have_cos=1
25381 fi
25382 done
25383
25384
25385 for ac_func in floor
25386 do
25387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25391 echo $ECHO_N "(cached) $ECHO_C" >&6
25392 else
25393 cat >conftest.$ac_ext <<_ACEOF
25394 /* confdefs.h. */
25395 _ACEOF
25396 cat confdefs.h >>conftest.$ac_ext
25397 cat >>conftest.$ac_ext <<_ACEOF
25398 /* end confdefs.h. */
25399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25401 #define $ac_func innocuous_$ac_func
25402
25403 /* System header to define __stub macros and hopefully few prototypes,
25404 which can conflict with char $ac_func (); below.
25405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25406 <limits.h> exists even on freestanding compilers. */
25407
25408 #ifdef __STDC__
25409 # include <limits.h>
25410 #else
25411 # include <assert.h>
25412 #endif
25413
25414 #undef $ac_func
25415
25416 /* Override any GCC internal prototype to avoid an error.
25417 Use char because int might match the return type of a GCC
25418 builtin and then its argument prototype would still apply. */
25419 #ifdef __cplusplus
25420 extern "C"
25421 #endif
25422 char $ac_func ();
25423 /* The GNU C library defines this for functions which it implements
25424 to always fail with ENOSYS. Some functions are actually named
25425 something starting with __ and the normal name is an alias. */
25426 #if defined __stub_$ac_func || defined __stub___$ac_func
25427 choke me
25428 #endif
25429
25430 int
25431 main ()
25432 {
25433 return $ac_func ();
25434 ;
25435 return 0;
25436 }
25437 _ACEOF
25438 rm -f conftest.$ac_objext conftest$ac_exeext
25439 if { (ac_try="$ac_link"
25440 case "(($ac_try" in
25441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25442 *) ac_try_echo=$ac_try;;
25443 esac
25444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25445 (eval "$ac_link") 2>conftest.er1
25446 ac_status=$?
25447 grep -v '^ *+' conftest.er1 >conftest.err
25448 rm -f conftest.er1
25449 cat conftest.err >&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } && {
25452 test -z "$ac_c_werror_flag" ||
25453 test ! -s conftest.err
25454 } && test -s conftest$ac_exeext &&
25455 $as_test_x conftest$ac_exeext; then
25456 eval "$as_ac_var=yes"
25457 else
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.$ac_ext >&5
25460
25461 eval "$as_ac_var=no"
25462 fi
25463
25464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25465 conftest$ac_exeext conftest.$ac_ext
25466 fi
25467 ac_res=`eval echo '${'$as_ac_var'}'`
25468 { echo "$as_me:$LINENO: result: $ac_res" >&5
25469 echo "${ECHO_T}$ac_res" >&6; }
25470 if test `eval echo '${'$as_ac_var'}'` = yes; then
25471 cat >>confdefs.h <<_ACEOF
25472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25473 _ACEOF
25474 have_floor=1
25475 fi
25476 done
25477
25478 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25479 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25480 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25481 { echo "$as_me:$LINENO: result: yes" >&5
25482 echo "${ECHO_T}yes" >&6; }
25483 else
25484 { echo "$as_me:$LINENO: result: no" >&5
25485 echo "${ECHO_T}no" >&6; }
25486 LIBS="$LIBS -lm"
25487 # use different functions to avoid configure caching
25488 have_sin=0
25489 have_ceil=0
25490
25491 for ac_func in sin
25492 do
25493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25498 else
25499 cat >conftest.$ac_ext <<_ACEOF
25500 /* confdefs.h. */
25501 _ACEOF
25502 cat confdefs.h >>conftest.$ac_ext
25503 cat >>conftest.$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25507 #define $ac_func innocuous_$ac_func
25508
25509 /* System header to define __stub macros and hopefully few prototypes,
25510 which can conflict with char $ac_func (); below.
25511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25512 <limits.h> exists even on freestanding compilers. */
25513
25514 #ifdef __STDC__
25515 # include <limits.h>
25516 #else
25517 # include <assert.h>
25518 #endif
25519
25520 #undef $ac_func
25521
25522 /* Override any GCC internal prototype to avoid an error.
25523 Use char because int might match the return type of a GCC
25524 builtin and then its argument prototype would still apply. */
25525 #ifdef __cplusplus
25526 extern "C"
25527 #endif
25528 char $ac_func ();
25529 /* The GNU C library defines this for functions which it implements
25530 to always fail with ENOSYS. Some functions are actually named
25531 something starting with __ and the normal name is an alias. */
25532 #if defined __stub_$ac_func || defined __stub___$ac_func
25533 choke me
25534 #endif
25535
25536 int
25537 main ()
25538 {
25539 return $ac_func ();
25540 ;
25541 return 0;
25542 }
25543 _ACEOF
25544 rm -f conftest.$ac_objext conftest$ac_exeext
25545 if { (ac_try="$ac_link"
25546 case "(($ac_try" in
25547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25548 *) ac_try_echo=$ac_try;;
25549 esac
25550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25551 (eval "$ac_link") 2>conftest.er1
25552 ac_status=$?
25553 grep -v '^ *+' conftest.er1 >conftest.err
25554 rm -f conftest.er1
25555 cat conftest.err >&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } && {
25558 test -z "$ac_c_werror_flag" ||
25559 test ! -s conftest.err
25560 } && test -s conftest$ac_exeext &&
25561 $as_test_x conftest$ac_exeext; then
25562 eval "$as_ac_var=yes"
25563 else
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.$ac_ext >&5
25566
25567 eval "$as_ac_var=no"
25568 fi
25569
25570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25571 conftest$ac_exeext conftest.$ac_ext
25572 fi
25573 ac_res=`eval echo '${'$as_ac_var'}'`
25574 { echo "$as_me:$LINENO: result: $ac_res" >&5
25575 echo "${ECHO_T}$ac_res" >&6; }
25576 if test `eval echo '${'$as_ac_var'}'` = yes; then
25577 cat >>confdefs.h <<_ACEOF
25578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25579 _ACEOF
25580 have_sin=1
25581 fi
25582 done
25583
25584
25585 for ac_func in ceil
25586 do
25587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 else
25593 cat >conftest.$ac_ext <<_ACEOF
25594 /* confdefs.h. */
25595 _ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25601 #define $ac_func innocuous_$ac_func
25602
25603 /* System header to define __stub macros and hopefully few prototypes,
25604 which can conflict with char $ac_func (); below.
25605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25606 <limits.h> exists even on freestanding compilers. */
25607
25608 #ifdef __STDC__
25609 # include <limits.h>
25610 #else
25611 # include <assert.h>
25612 #endif
25613
25614 #undef $ac_func
25615
25616 /* Override any GCC internal prototype to avoid an error.
25617 Use char because int might match the return type of a GCC
25618 builtin and then its argument prototype would still apply. */
25619 #ifdef __cplusplus
25620 extern "C"
25621 #endif
25622 char $ac_func ();
25623 /* The GNU C library defines this for functions which it implements
25624 to always fail with ENOSYS. Some functions are actually named
25625 something starting with __ and the normal name is an alias. */
25626 #if defined __stub_$ac_func || defined __stub___$ac_func
25627 choke me
25628 #endif
25629
25630 int
25631 main ()
25632 {
25633 return $ac_func ();
25634 ;
25635 return 0;
25636 }
25637 _ACEOF
25638 rm -f conftest.$ac_objext conftest$ac_exeext
25639 if { (ac_try="$ac_link"
25640 case "(($ac_try" in
25641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25642 *) ac_try_echo=$ac_try;;
25643 esac
25644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25645 (eval "$ac_link") 2>conftest.er1
25646 ac_status=$?
25647 grep -v '^ *+' conftest.er1 >conftest.err
25648 rm -f conftest.er1
25649 cat conftest.err >&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } && {
25652 test -z "$ac_c_werror_flag" ||
25653 test ! -s conftest.err
25654 } && test -s conftest$ac_exeext &&
25655 $as_test_x conftest$ac_exeext; then
25656 eval "$as_ac_var=yes"
25657 else
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.$ac_ext >&5
25660
25661 eval "$as_ac_var=no"
25662 fi
25663
25664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25665 conftest$ac_exeext conftest.$ac_ext
25666 fi
25667 ac_res=`eval echo '${'$as_ac_var'}'`
25668 { echo "$as_me:$LINENO: result: $ac_res" >&5
25669 echo "${ECHO_T}$ac_res" >&6; }
25670 if test `eval echo '${'$as_ac_var'}'` = yes; then
25671 cat >>confdefs.h <<_ACEOF
25672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25673 _ACEOF
25674 have_ceil=1
25675 fi
25676 done
25677
25678 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25679 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25680 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25681 { echo "$as_me:$LINENO: result: yes" >&5
25682 echo "${ECHO_T}yes" >&6; }
25683 else
25684 { echo "$as_me:$LINENO: result: no" >&5
25685 echo "${ECHO_T}no" >&6; }
25686 # not sure we should warn the user, crash, etc.
25687 fi
25688 fi
25689
25690 ac_ext=cpp
25691 ac_cpp='$CXXCPP $CPPFLAGS'
25692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25695
25696 if test "wxUSE_UNICODE" = "yes"; then
25697
25698 for wx_func in wcstoull
25699 do
25700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25702 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25705
25706 cat >conftest.$ac_ext <<_ACEOF
25707
25708 /* confdefs.h. */
25709 _ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25713
25714
25715 $ac_includes_default
25716
25717 int
25718 main ()
25719 {
25720
25721 #ifndef $wx_func
25722 &$wx_func;
25723 #endif
25724
25725
25726 ;
25727 return 0;
25728 }
25729
25730 _ACEOF
25731 rm -f conftest.$ac_objext conftest$ac_exeext
25732 if { (ac_try="$ac_link"
25733 case "(($ac_try" in
25734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25735 *) ac_try_echo=$ac_try;;
25736 esac
25737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25738 (eval "$ac_link") 2>conftest.er1
25739 ac_status=$?
25740 grep -v '^ *+' conftest.er1 >conftest.err
25741 rm -f conftest.er1
25742 cat conftest.err >&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); } && {
25745 test -z "$ac_cxx_werror_flag" ||
25746 test ! -s conftest.err
25747 } && test -s conftest$ac_exeext &&
25748 $as_test_x conftest$ac_exeext; then
25749 eval wx_cv_func_$wx_func=yes
25750 else
25751 echo "$as_me: failed program was:" >&5
25752 sed 's/^/| /' conftest.$ac_ext >&5
25753
25754 eval wx_cv_func_$wx_func=no
25755 fi
25756
25757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25758 conftest$ac_exeext conftest.$ac_ext
25759
25760 fi
25761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25762 { echo "$as_me:$LINENO: result: $ac_res" >&5
25763 echo "${ECHO_T}$ac_res" >&6; }
25764
25765 if eval test \$wx_cv_func_$wx_func = yes
25766 then
25767 cat >>confdefs.h <<_ACEOF
25768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25769 _ACEOF
25770
25771
25772 else
25773 :
25774
25775 fi
25776 done
25777
25778 else
25779
25780 for wx_func in strtoull
25781 do
25782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25784 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25785 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 else
25787
25788 cat >conftest.$ac_ext <<_ACEOF
25789
25790 /* confdefs.h. */
25791 _ACEOF
25792 cat confdefs.h >>conftest.$ac_ext
25793 cat >>conftest.$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25795
25796
25797 $ac_includes_default
25798
25799 int
25800 main ()
25801 {
25802
25803 #ifndef $wx_func
25804 &$wx_func;
25805 #endif
25806
25807
25808 ;
25809 return 0;
25810 }
25811
25812 _ACEOF
25813 rm -f conftest.$ac_objext conftest$ac_exeext
25814 if { (ac_try="$ac_link"
25815 case "(($ac_try" in
25816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25817 *) ac_try_echo=$ac_try;;
25818 esac
25819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25820 (eval "$ac_link") 2>conftest.er1
25821 ac_status=$?
25822 grep -v '^ *+' conftest.er1 >conftest.err
25823 rm -f conftest.er1
25824 cat conftest.err >&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } && {
25827 test -z "$ac_cxx_werror_flag" ||
25828 test ! -s conftest.err
25829 } && test -s conftest$ac_exeext &&
25830 $as_test_x conftest$ac_exeext; then
25831 eval wx_cv_func_$wx_func=yes
25832 else
25833 echo "$as_me: failed program was:" >&5
25834 sed 's/^/| /' conftest.$ac_ext >&5
25835
25836 eval wx_cv_func_$wx_func=no
25837 fi
25838
25839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25840 conftest$ac_exeext conftest.$ac_ext
25841
25842 fi
25843 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25844 { echo "$as_me:$LINENO: result: $ac_res" >&5
25845 echo "${ECHO_T}$ac_res" >&6; }
25846
25847 if eval test \$wx_cv_func_$wx_func = yes
25848 then
25849 cat >>confdefs.h <<_ACEOF
25850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25851 _ACEOF
25852
25853
25854 else
25855 :
25856
25857 fi
25858 done
25859
25860 fi
25861 ac_ext=c
25862 ac_cpp='$CPP $CPPFLAGS'
25863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25866
25867
25868
25869
25870 if test "$wxUSE_REGEX" != "no"; then
25871 cat >>confdefs.h <<\_ACEOF
25872 #define wxUSE_REGEX 1
25873 _ACEOF
25874
25875
25876 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25877 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25878 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25879 wxUSE_REGEX=builtin
25880 fi
25881
25882 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25883 { echo "$as_me:$LINENO: checking for regex.h" >&5
25884 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25885 if test "${ac_cv_header_regex_h+set}" = set; then
25886 echo $ECHO_N "(cached) $ECHO_C" >&6
25887 else
25888 cat >conftest.$ac_ext <<_ACEOF
25889 /* confdefs.h. */
25890 _ACEOF
25891 cat confdefs.h >>conftest.$ac_ext
25892 cat >>conftest.$ac_ext <<_ACEOF
25893 /* end confdefs.h. */
25894
25895
25896 #include <regex.h>
25897 _ACEOF
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25902 *) ac_try_echo=$ac_try;;
25903 esac
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25906 ac_status=$?
25907 grep -v '^ *+' conftest.er1 >conftest.err
25908 rm -f conftest.er1
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_c_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.$ac_objext; then
25915 ac_cv_header_regex_h=yes
25916 else
25917 echo "$as_me: failed program was:" >&5
25918 sed 's/^/| /' conftest.$ac_ext >&5
25919
25920 ac_cv_header_regex_h=no
25921 fi
25922
25923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25924 fi
25925 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25926 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25927 if test $ac_cv_header_regex_h = yes; then
25928
25929
25930 for ac_func in regcomp re_search
25931 do
25932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25936 echo $ECHO_N "(cached) $ECHO_C" >&6
25937 else
25938 cat >conftest.$ac_ext <<_ACEOF
25939 /* confdefs.h. */
25940 _ACEOF
25941 cat confdefs.h >>conftest.$ac_ext
25942 cat >>conftest.$ac_ext <<_ACEOF
25943 /* end confdefs.h. */
25944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25946 #define $ac_func innocuous_$ac_func
25947
25948 /* System header to define __stub macros and hopefully few prototypes,
25949 which can conflict with char $ac_func (); below.
25950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25951 <limits.h> exists even on freestanding compilers. */
25952
25953 #ifdef __STDC__
25954 # include <limits.h>
25955 #else
25956 # include <assert.h>
25957 #endif
25958
25959 #undef $ac_func
25960
25961 /* Override any GCC internal prototype to avoid an error.
25962 Use char because int might match the return type of a GCC
25963 builtin and then its argument prototype would still apply. */
25964 #ifdef __cplusplus
25965 extern "C"
25966 #endif
25967 char $ac_func ();
25968 /* The GNU C library defines this for functions which it implements
25969 to always fail with ENOSYS. Some functions are actually named
25970 something starting with __ and the normal name is an alias. */
25971 #if defined __stub_$ac_func || defined __stub___$ac_func
25972 choke me
25973 #endif
25974
25975 int
25976 main ()
25977 {
25978 return $ac_func ();
25979 ;
25980 return 0;
25981 }
25982 _ACEOF
25983 rm -f conftest.$ac_objext conftest$ac_exeext
25984 if { (ac_try="$ac_link"
25985 case "(($ac_try" in
25986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25988 esac
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_link") 2>conftest.er1
25991 ac_status=$?
25992 grep -v '^ *+' conftest.er1 >conftest.err
25993 rm -f conftest.er1
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } && {
25997 test -z "$ac_c_werror_flag" ||
25998 test ! -s conftest.err
25999 } && test -s conftest$ac_exeext &&
26000 $as_test_x conftest$ac_exeext; then
26001 eval "$as_ac_var=yes"
26002 else
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26005
26006 eval "$as_ac_var=no"
26007 fi
26008
26009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26010 conftest$ac_exeext conftest.$ac_ext
26011 fi
26012 ac_res=`eval echo '${'$as_ac_var'}'`
26013 { echo "$as_me:$LINENO: result: $ac_res" >&5
26014 echo "${ECHO_T}$ac_res" >&6; }
26015 if test `eval echo '${'$as_ac_var'}'` = yes; then
26016 cat >>confdefs.h <<_ACEOF
26017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26018 _ACEOF
26019
26020 fi
26021 done
26022
26023 fi
26024
26025
26026
26027 if test "x$ac_cv_func_regcomp" != "xyes"; then
26028 if test "$wxUSE_REGEX" = "sys" ; then
26029 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26030 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26031 { (exit 1); exit 1; }; }
26032 else
26033 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26034 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26035 wxUSE_REGEX=builtin
26036 fi
26037 else
26038 wxUSE_REGEX=sys
26039 cat >>confdefs.h <<\_ACEOF
26040 #define WX_NO_REGEX_ADVANCED 1
26041 _ACEOF
26042
26043 fi
26044 fi
26045 fi
26046
26047
26048 ZLIB_LINK=
26049 if test "$wxUSE_ZLIB" != "no" ; then
26050 cat >>confdefs.h <<\_ACEOF
26051 #define wxUSE_ZLIB 1
26052 _ACEOF
26053
26054
26055 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26056 if test "$USE_DARWIN" = 1; then
26057 system_zlib_h_ok="yes"
26058 else
26059 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26060 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26061 if test "${ac_cv_header_zlib_h+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064 if test "$cross_compiling" = yes; then
26065 unset ac_cv_header_zlib_h
26066
26067 else
26068 cat >conftest.$ac_ext <<_ACEOF
26069 /* confdefs.h. */
26070 _ACEOF
26071 cat confdefs.h >>conftest.$ac_ext
26072 cat >>conftest.$ac_ext <<_ACEOF
26073 /* end confdefs.h. */
26074
26075 #include <zlib.h>
26076 #include <stdio.h>
26077
26078 int main()
26079 {
26080 FILE *f=fopen("conftestval", "w");
26081 if (!f) exit(1);
26082 fprintf(f, "%s",
26083 ZLIB_VERSION[0] == '1' &&
26084 (ZLIB_VERSION[2] > '1' ||
26085 (ZLIB_VERSION[2] == '1' &&
26086 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26087 exit(0);
26088 }
26089
26090 _ACEOF
26091 rm -f conftest$ac_exeext
26092 if { (ac_try="$ac_link"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26095 *) ac_try_echo=$ac_try;;
26096 esac
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_link") 2>&5
26099 ac_status=$?
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26102 { (case "(($ac_try" in
26103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26104 *) ac_try_echo=$ac_try;;
26105 esac
26106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_try") 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26111 ac_cv_header_zlib_h=`cat conftestval`
26112 else
26113 echo "$as_me: program exited with status $ac_status" >&5
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26116
26117 ( exit $ac_status )
26118 ac_cv_header_zlib_h=no
26119 fi
26120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26121 fi
26122
26123
26124
26125 fi
26126 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26127 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26128 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26129 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26130 if test "${ac_cv_header_zlib_h+set}" = set; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 else
26133 cat >conftest.$ac_ext <<_ACEOF
26134 /* confdefs.h. */
26135 _ACEOF
26136 cat confdefs.h >>conftest.$ac_ext
26137 cat >>conftest.$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26139
26140
26141 #include <zlib.h>
26142 _ACEOF
26143 rm -f conftest.$ac_objext
26144 if { (ac_try="$ac_compile"
26145 case "(($ac_try" in
26146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26147 *) ac_try_echo=$ac_try;;
26148 esac
26149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26150 (eval "$ac_compile") 2>conftest.er1
26151 ac_status=$?
26152 grep -v '^ *+' conftest.er1 >conftest.err
26153 rm -f conftest.er1
26154 cat conftest.err >&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } && {
26157 test -z "$ac_c_werror_flag" ||
26158 test ! -s conftest.err
26159 } && test -s conftest.$ac_objext; then
26160 ac_cv_header_zlib_h=yes
26161 else
26162 echo "$as_me: failed program was:" >&5
26163 sed 's/^/| /' conftest.$ac_ext >&5
26164
26165 ac_cv_header_zlib_h=no
26166 fi
26167
26168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26169 fi
26170 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26171 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26172
26173
26174
26175 system_zlib_h_ok=$ac_cv_header_zlib_h
26176 fi
26177
26178 if test "$system_zlib_h_ok" = "yes"; then
26179 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26180 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26181 if test "${ac_cv_lib_z_deflate+set}" = set; then
26182 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 else
26184 ac_check_lib_save_LIBS=$LIBS
26185 LIBS="-lz $LIBS"
26186 cat >conftest.$ac_ext <<_ACEOF
26187 /* confdefs.h. */
26188 _ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192
26193 /* Override any GCC internal prototype to avoid an error.
26194 Use char because int might match the return type of a GCC
26195 builtin and then its argument prototype would still apply. */
26196 #ifdef __cplusplus
26197 extern "C"
26198 #endif
26199 char deflate ();
26200 int
26201 main ()
26202 {
26203 return deflate ();
26204 ;
26205 return 0;
26206 }
26207 _ACEOF
26208 rm -f conftest.$ac_objext conftest$ac_exeext
26209 if { (ac_try="$ac_link"
26210 case "(($ac_try" in
26211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26213 esac
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_link") 2>conftest.er1
26216 ac_status=$?
26217 grep -v '^ *+' conftest.er1 >conftest.err
26218 rm -f conftest.er1
26219 cat conftest.err >&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } && {
26222 test -z "$ac_c_werror_flag" ||
26223 test ! -s conftest.err
26224 } && test -s conftest$ac_exeext &&
26225 $as_test_x conftest$ac_exeext; then
26226 ac_cv_lib_z_deflate=yes
26227 else
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26230
26231 ac_cv_lib_z_deflate=no
26232 fi
26233
26234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26235 conftest$ac_exeext conftest.$ac_ext
26236 LIBS=$ac_check_lib_save_LIBS
26237 fi
26238 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26239 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26240 if test $ac_cv_lib_z_deflate = yes; then
26241 ZLIB_LINK=" -lz"
26242 fi
26243
26244 fi
26245
26246 if test "x$ZLIB_LINK" = "x" ; then
26247 if test "$wxUSE_ZLIB" = "sys" ; then
26248 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26249 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26250 { (exit 1); exit 1; }; }
26251 else
26252 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26253 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26254 wxUSE_ZLIB=builtin
26255 fi
26256 else
26257 wxUSE_ZLIB=sys
26258 fi
26259 fi
26260 fi
26261
26262
26263 PNG_LINK=
26264 if test "$wxUSE_LIBPNG" != "no" ; then
26265 cat >>confdefs.h <<\_ACEOF
26266 #define wxUSE_LIBPNG 1
26267 _ACEOF
26268
26269
26270 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26271 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26272 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26273 wxUSE_LIBPNG=sys
26274 fi
26275
26276 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26277 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26278 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26279 wxUSE_LIBPNG=builtin
26280 fi
26281
26282 if test "$wxUSE_MGL" != 1 ; then
26283 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26284 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26285 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26286 if test "${ac_cv_header_png_h+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 else
26289 if test "$cross_compiling" = yes; then
26290 unset ac_cv_header_png_h
26291
26292 else
26293 cat >conftest.$ac_ext <<_ACEOF
26294 /* confdefs.h. */
26295 _ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26299
26300 #include <png.h>
26301 #include <stdio.h>
26302
26303 int main()
26304 {
26305 FILE *f=fopen("conftestval", "w");
26306 if (!f) exit(1);
26307 fprintf(f, "%s",
26308 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26309 exit(0);
26310 }
26311
26312 _ACEOF
26313 rm -f conftest$ac_exeext
26314 if { (ac_try="$ac_link"
26315 case "(($ac_try" in
26316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26317 *) ac_try_echo=$ac_try;;
26318 esac
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_link") 2>&5
26321 ac_status=$?
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26324 { (case "(($ac_try" in
26325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26326 *) ac_try_echo=$ac_try;;
26327 esac
26328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26329 (eval "$ac_try") 2>&5
26330 ac_status=$?
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); }; }; then
26333 ac_cv_header_png_h=`cat conftestval`
26334 else
26335 echo "$as_me: program exited with status $ac_status" >&5
26336 echo "$as_me: failed program was:" >&5
26337 sed 's/^/| /' conftest.$ac_ext >&5
26338
26339 ( exit $ac_status )
26340 ac_cv_header_png_h=no
26341 fi
26342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26343 fi
26344
26345
26346
26347 fi
26348 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26349 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26350 { echo "$as_me:$LINENO: checking for png.h" >&5
26351 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26352 if test "${ac_cv_header_png_h+set}" = set; then
26353 echo $ECHO_N "(cached) $ECHO_C" >&6
26354 else
26355 cat >conftest.$ac_ext <<_ACEOF
26356 /* confdefs.h. */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26361
26362
26363 #include <png.h>
26364 _ACEOF
26365 rm -f conftest.$ac_objext
26366 if { (ac_try="$ac_compile"
26367 case "(($ac_try" in
26368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26369 *) ac_try_echo=$ac_try;;
26370 esac
26371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26372 (eval "$ac_compile") 2>conftest.er1
26373 ac_status=$?
26374 grep -v '^ *+' conftest.er1 >conftest.err
26375 rm -f conftest.er1
26376 cat conftest.err >&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } && {
26379 test -z "$ac_c_werror_flag" ||
26380 test ! -s conftest.err
26381 } && test -s conftest.$ac_objext; then
26382 ac_cv_header_png_h=yes
26383 else
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.$ac_ext >&5
26386
26387 ac_cv_header_png_h=no
26388 fi
26389
26390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391 fi
26392 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26393 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26394
26395
26396
26397 if test "$ac_cv_header_png_h" = "yes"; then
26398 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26399 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26400 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26401 echo $ECHO_N "(cached) $ECHO_C" >&6
26402 else
26403 ac_check_lib_save_LIBS=$LIBS
26404 LIBS="-lpng -lz -lm $LIBS"
26405 cat >conftest.$ac_ext <<_ACEOF
26406 /* confdefs.h. */
26407 _ACEOF
26408 cat confdefs.h >>conftest.$ac_ext
26409 cat >>conftest.$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26411
26412 /* Override any GCC internal prototype to avoid an error.
26413 Use char because int might match the return type of a GCC
26414 builtin and then its argument prototype would still apply. */
26415 #ifdef __cplusplus
26416 extern "C"
26417 #endif
26418 char png_check_sig ();
26419 int
26420 main ()
26421 {
26422 return png_check_sig ();
26423 ;
26424 return 0;
26425 }
26426 _ACEOF
26427 rm -f conftest.$ac_objext conftest$ac_exeext
26428 if { (ac_try="$ac_link"
26429 case "(($ac_try" in
26430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26431 *) ac_try_echo=$ac_try;;
26432 esac
26433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26434 (eval "$ac_link") 2>conftest.er1
26435 ac_status=$?
26436 grep -v '^ *+' conftest.er1 >conftest.err
26437 rm -f conftest.er1
26438 cat conftest.err >&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } && {
26441 test -z "$ac_c_werror_flag" ||
26442 test ! -s conftest.err
26443 } && test -s conftest$ac_exeext &&
26444 $as_test_x conftest$ac_exeext; then
26445 ac_cv_lib_png_png_check_sig=yes
26446 else
26447 echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.$ac_ext >&5
26449
26450 ac_cv_lib_png_png_check_sig=no
26451 fi
26452
26453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26454 conftest$ac_exeext conftest.$ac_ext
26455 LIBS=$ac_check_lib_save_LIBS
26456 fi
26457 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26458 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26459 if test $ac_cv_lib_png_png_check_sig = yes; then
26460 PNG_LINK=" -lpng -lz"
26461 fi
26462
26463 fi
26464
26465 if test "x$PNG_LINK" = "x" ; then
26466 if test "$wxUSE_LIBPNG" = "sys" ; then
26467 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26468 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26469 { (exit 1); exit 1; }; }
26470 else
26471 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26472 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26473 wxUSE_LIBPNG=builtin
26474 fi
26475 else
26476 wxUSE_LIBPNG=sys
26477 fi
26478 fi
26479 fi
26480 fi
26481
26482
26483 JPEG_LINK=
26484 if test "$wxUSE_LIBJPEG" != "no" ; then
26485 cat >>confdefs.h <<\_ACEOF
26486 #define wxUSE_LIBJPEG 1
26487 _ACEOF
26488
26489
26490 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26491 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26492 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26493 wxUSE_LIBJPEG=sys
26494 fi
26495
26496 if test "$wxUSE_MGL" != 1 ; then
26497 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26498 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26499 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26500 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 else
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509
26510 #undef HAVE_STDLIB_H
26511 #include <stdio.h>
26512 #include <jpeglib.h>
26513
26514 int
26515 main ()
26516 {
26517
26518
26519 ;
26520 return 0;
26521 }
26522 _ACEOF
26523 rm -f conftest.$ac_objext
26524 if { (ac_try="$ac_compile"
26525 case "(($ac_try" in
26526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26527 *) ac_try_echo=$ac_try;;
26528 esac
26529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26530 (eval "$ac_compile") 2>conftest.er1
26531 ac_status=$?
26532 grep -v '^ *+' conftest.er1 >conftest.err
26533 rm -f conftest.er1
26534 cat conftest.err >&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); } && {
26537 test -z "$ac_c_werror_flag" ||
26538 test ! -s conftest.err
26539 } && test -s conftest.$ac_objext; then
26540 ac_cv_header_jpeglib_h=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26544
26545 ac_cv_header_jpeglib_h=no
26546
26547 fi
26548
26549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26550
26551 fi
26552
26553 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26554 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26555
26556 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26557 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26558 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26559 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26560 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 else
26562 ac_check_lib_save_LIBS=$LIBS
26563 LIBS="-ljpeg $LIBS"
26564 cat >conftest.$ac_ext <<_ACEOF
26565 /* confdefs.h. */
26566 _ACEOF
26567 cat confdefs.h >>conftest.$ac_ext
26568 cat >>conftest.$ac_ext <<_ACEOF
26569 /* end confdefs.h. */
26570
26571 /* Override any GCC internal prototype to avoid an error.
26572 Use char because int might match the return type of a GCC
26573 builtin and then its argument prototype would still apply. */
26574 #ifdef __cplusplus
26575 extern "C"
26576 #endif
26577 char jpeg_read_header ();
26578 int
26579 main ()
26580 {
26581 return jpeg_read_header ();
26582 ;
26583 return 0;
26584 }
26585 _ACEOF
26586 rm -f conftest.$ac_objext conftest$ac_exeext
26587 if { (ac_try="$ac_link"
26588 case "(($ac_try" in
26589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26590 *) ac_try_echo=$ac_try;;
26591 esac
26592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26593 (eval "$ac_link") 2>conftest.er1
26594 ac_status=$?
26595 grep -v '^ *+' conftest.er1 >conftest.err
26596 rm -f conftest.er1
26597 cat conftest.err >&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } && {
26600 test -z "$ac_c_werror_flag" ||
26601 test ! -s conftest.err
26602 } && test -s conftest$ac_exeext &&
26603 $as_test_x conftest$ac_exeext; then
26604 ac_cv_lib_jpeg_jpeg_read_header=yes
26605 else
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.$ac_ext >&5
26608
26609 ac_cv_lib_jpeg_jpeg_read_header=no
26610 fi
26611
26612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26613 conftest$ac_exeext conftest.$ac_ext
26614 LIBS=$ac_check_lib_save_LIBS
26615 fi
26616 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26617 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26618 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26619 JPEG_LINK=" -ljpeg"
26620 fi
26621
26622 fi
26623
26624 if test "x$JPEG_LINK" = "x" ; then
26625 if test "$wxUSE_LIBJPEG" = "sys" ; then
26626 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26627 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26628 { (exit 1); exit 1; }; }
26629 else
26630 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26631 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26632 wxUSE_LIBJPEG=builtin
26633 fi
26634 else
26635 wxUSE_LIBJPEG=sys
26636
26637 if test "$wxUSE_MSW" = 1; then
26638 { echo "$as_me:$LINENO: checking for boolean" >&5
26639 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26640 if test "${ac_cv_type_boolean+set}" = set; then
26641 echo $ECHO_N "(cached) $ECHO_C" >&6
26642 else
26643 cat >conftest.$ac_ext <<_ACEOF
26644 /* confdefs.h. */
26645 _ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649 #include <windows.h>
26650
26651 typedef boolean ac__type_new_;
26652 int
26653 main ()
26654 {
26655 if ((ac__type_new_ *) 0)
26656 return 0;
26657 if (sizeof (ac__type_new_))
26658 return 0;
26659 ;
26660 return 0;
26661 }
26662 _ACEOF
26663 rm -f conftest.$ac_objext
26664 if { (ac_try="$ac_compile"
26665 case "(($ac_try" in
26666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26667 *) ac_try_echo=$ac_try;;
26668 esac
26669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26670 (eval "$ac_compile") 2>conftest.er1
26671 ac_status=$?
26672 grep -v '^ *+' conftest.er1 >conftest.err
26673 rm -f conftest.er1
26674 cat conftest.err >&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } && {
26677 test -z "$ac_c_werror_flag" ||
26678 test ! -s conftest.err
26679 } && test -s conftest.$ac_objext; then
26680 ac_cv_type_boolean=yes
26681 else
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.$ac_ext >&5
26684
26685 ac_cv_type_boolean=no
26686 fi
26687
26688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26689 fi
26690 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26691 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26692 if test $ac_cv_type_boolean = yes; then
26693
26694 cat >>confdefs.h <<_ACEOF
26695 #define HAVE_BOOLEAN 1
26696 _ACEOF
26697
26698
26699 { echo "$as_me:$LINENO: checking for boolean" >&5
26700 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26701 if test "${ac_cv_type_boolean+set}" = set; then
26702 echo $ECHO_N "(cached) $ECHO_C" >&6
26703 else
26704 cat >conftest.$ac_ext <<_ACEOF
26705 /* confdefs.h. */
26706 _ACEOF
26707 cat confdefs.h >>conftest.$ac_ext
26708 cat >>conftest.$ac_ext <<_ACEOF
26709 /* end confdefs.h. */
26710
26711 #undef HAVE_BOOLEAN
26712 #include <stdio.h>
26713 #include <jpeglib.h>
26714
26715
26716 typedef boolean ac__type_new_;
26717 int
26718 main ()
26719 {
26720 if ((ac__type_new_ *) 0)
26721 return 0;
26722 if (sizeof (ac__type_new_))
26723 return 0;
26724 ;
26725 return 0;
26726 }
26727 _ACEOF
26728 rm -f conftest.$ac_objext
26729 if { (ac_try="$ac_compile"
26730 case "(($ac_try" in
26731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26732 *) ac_try_echo=$ac_try;;
26733 esac
26734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26735 (eval "$ac_compile") 2>conftest.er1
26736 ac_status=$?
26737 grep -v '^ *+' conftest.er1 >conftest.err
26738 rm -f conftest.er1
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } && {
26742 test -z "$ac_c_werror_flag" ||
26743 test ! -s conftest.err
26744 } && test -s conftest.$ac_objext; then
26745 ac_cv_type_boolean=yes
26746 else
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.$ac_ext >&5
26749
26750 ac_cv_type_boolean=no
26751 fi
26752
26753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26754 fi
26755 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26756 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26757
26758 # The cast to long int works around a bug in the HP C Compiler
26759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26761 # This bug is HP SR number 8606223364.
26762 { echo "$as_me:$LINENO: checking size of boolean" >&5
26763 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26764 if test "${ac_cv_sizeof_boolean+set}" = set; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26766 else
26767 if test "$cross_compiling" = yes; then
26768 # Depending upon the size, compute the lo and hi bounds.
26769 cat >conftest.$ac_ext <<_ACEOF
26770 /* confdefs.h. */
26771 _ACEOF
26772 cat confdefs.h >>conftest.$ac_ext
26773 cat >>conftest.$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26775
26776 #undef HAVE_BOOLEAN
26777 #include <stdio.h>
26778 #include <jpeglib.h>
26779
26780
26781 typedef boolean ac__type_sizeof_;
26782 int
26783 main ()
26784 {
26785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26786 test_array [0] = 0
26787
26788 ;
26789 return 0;
26790 }
26791 _ACEOF
26792 rm -f conftest.$ac_objext
26793 if { (ac_try="$ac_compile"
26794 case "(($ac_try" in
26795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26796 *) ac_try_echo=$ac_try;;
26797 esac
26798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26799 (eval "$ac_compile") 2>conftest.er1
26800 ac_status=$?
26801 grep -v '^ *+' conftest.er1 >conftest.err
26802 rm -f conftest.er1
26803 cat conftest.err >&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); } && {
26806 test -z "$ac_c_werror_flag" ||
26807 test ! -s conftest.err
26808 } && test -s conftest.$ac_objext; then
26809 ac_lo=0 ac_mid=0
26810 while :; do
26811 cat >conftest.$ac_ext <<_ACEOF
26812 /* confdefs.h. */
26813 _ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817
26818 #undef HAVE_BOOLEAN
26819 #include <stdio.h>
26820 #include <jpeglib.h>
26821
26822
26823 typedef boolean ac__type_sizeof_;
26824 int
26825 main ()
26826 {
26827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26828 test_array [0] = 0
26829
26830 ;
26831 return 0;
26832 }
26833 _ACEOF
26834 rm -f conftest.$ac_objext
26835 if { (ac_try="$ac_compile"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26839 esac
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_compile") 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest.$ac_objext; then
26851 ac_hi=$ac_mid; break
26852 else
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26855
26856 ac_lo=`expr $ac_mid + 1`
26857 if test $ac_lo -le $ac_mid; then
26858 ac_lo= ac_hi=
26859 break
26860 fi
26861 ac_mid=`expr 2 '*' $ac_mid + 1`
26862 fi
26863
26864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26865 done
26866 else
26867 echo "$as_me: failed program was:" >&5
26868 sed 's/^/| /' conftest.$ac_ext >&5
26869
26870 cat >conftest.$ac_ext <<_ACEOF
26871 /* confdefs.h. */
26872 _ACEOF
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26876
26877 #undef HAVE_BOOLEAN
26878 #include <stdio.h>
26879 #include <jpeglib.h>
26880
26881
26882 typedef boolean ac__type_sizeof_;
26883 int
26884 main ()
26885 {
26886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26887 test_array [0] = 0
26888
26889 ;
26890 return 0;
26891 }
26892 _ACEOF
26893 rm -f conftest.$ac_objext
26894 if { (ac_try="$ac_compile"
26895 case "(($ac_try" in
26896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897 *) ac_try_echo=$ac_try;;
26898 esac
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900 (eval "$ac_compile") 2>conftest.er1
26901 ac_status=$?
26902 grep -v '^ *+' conftest.er1 >conftest.err
26903 rm -f conftest.er1
26904 cat conftest.err >&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } && {
26907 test -z "$ac_c_werror_flag" ||
26908 test ! -s conftest.err
26909 } && test -s conftest.$ac_objext; then
26910 ac_hi=-1 ac_mid=-1
26911 while :; do
26912 cat >conftest.$ac_ext <<_ACEOF
26913 /* confdefs.h. */
26914 _ACEOF
26915 cat confdefs.h >>conftest.$ac_ext
26916 cat >>conftest.$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26918
26919 #undef HAVE_BOOLEAN
26920 #include <stdio.h>
26921 #include <jpeglib.h>
26922
26923
26924 typedef boolean ac__type_sizeof_;
26925 int
26926 main ()
26927 {
26928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26929 test_array [0] = 0
26930
26931 ;
26932 return 0;
26933 }
26934 _ACEOF
26935 rm -f conftest.$ac_objext
26936 if { (ac_try="$ac_compile"
26937 case "(($ac_try" in
26938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26939 *) ac_try_echo=$ac_try;;
26940 esac
26941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26942 (eval "$ac_compile") 2>conftest.er1
26943 ac_status=$?
26944 grep -v '^ *+' conftest.er1 >conftest.err
26945 rm -f conftest.er1
26946 cat conftest.err >&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); } && {
26949 test -z "$ac_c_werror_flag" ||
26950 test ! -s conftest.err
26951 } && test -s conftest.$ac_objext; then
26952 ac_lo=$ac_mid; break
26953 else
26954 echo "$as_me: failed program was:" >&5
26955 sed 's/^/| /' conftest.$ac_ext >&5
26956
26957 ac_hi=`expr '(' $ac_mid ')' - 1`
26958 if test $ac_mid -le $ac_hi; then
26959 ac_lo= ac_hi=
26960 break
26961 fi
26962 ac_mid=`expr 2 '*' $ac_mid`
26963 fi
26964
26965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26966 done
26967 else
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26970
26971 ac_lo= ac_hi=
26972 fi
26973
26974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26975 fi
26976
26977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26978 # Binary search between lo and hi bounds.
26979 while test "x$ac_lo" != "x$ac_hi"; do
26980 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26981 cat >conftest.$ac_ext <<_ACEOF
26982 /* confdefs.h. */
26983 _ACEOF
26984 cat confdefs.h >>conftest.$ac_ext
26985 cat >>conftest.$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26987
26988 #undef HAVE_BOOLEAN
26989 #include <stdio.h>
26990 #include <jpeglib.h>
26991
26992
26993 typedef boolean ac__type_sizeof_;
26994 int
26995 main ()
26996 {
26997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26998 test_array [0] = 0
26999
27000 ;
27001 return 0;
27002 }
27003 _ACEOF
27004 rm -f conftest.$ac_objext
27005 if { (ac_try="$ac_compile"
27006 case "(($ac_try" in
27007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27008 *) ac_try_echo=$ac_try;;
27009 esac
27010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27011 (eval "$ac_compile") 2>conftest.er1
27012 ac_status=$?
27013 grep -v '^ *+' conftest.er1 >conftest.err
27014 rm -f conftest.er1
27015 cat conftest.err >&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } && {
27018 test -z "$ac_c_werror_flag" ||
27019 test ! -s conftest.err
27020 } && test -s conftest.$ac_objext; then
27021 ac_hi=$ac_mid
27022 else
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.$ac_ext >&5
27025
27026 ac_lo=`expr '(' $ac_mid ')' + 1`
27027 fi
27028
27029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27030 done
27031 case $ac_lo in
27032 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27033 '') if test "$ac_cv_type_boolean" = yes; then
27034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27035 See \`config.log' for more details." >&5
27036 echo "$as_me: error: cannot compute sizeof (boolean)
27037 See \`config.log' for more details." >&2;}
27038 { (exit 77); exit 77; }; }
27039 else
27040 ac_cv_sizeof_boolean=0
27041 fi ;;
27042 esac
27043 else
27044 cat >conftest.$ac_ext <<_ACEOF
27045 /* confdefs.h. */
27046 _ACEOF
27047 cat confdefs.h >>conftest.$ac_ext
27048 cat >>conftest.$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27050
27051 #undef HAVE_BOOLEAN
27052 #include <stdio.h>
27053 #include <jpeglib.h>
27054
27055
27056 typedef boolean ac__type_sizeof_;
27057 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27058 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27059 #include <stdio.h>
27060 #include <stdlib.h>
27061 int
27062 main ()
27063 {
27064
27065 FILE *f = fopen ("conftest.val", "w");
27066 if (! f)
27067 return 1;
27068 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27069 {
27070 long int i = longval ();
27071 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27072 return 1;
27073 fprintf (f, "%ld\n", i);
27074 }
27075 else
27076 {
27077 unsigned long int i = ulongval ();
27078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27079 return 1;
27080 fprintf (f, "%lu\n", i);
27081 }
27082 return ferror (f) || fclose (f) != 0;
27083
27084 ;
27085 return 0;
27086 }
27087 _ACEOF
27088 rm -f conftest$ac_exeext
27089 if { (ac_try="$ac_link"
27090 case "(($ac_try" in
27091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27092 *) ac_try_echo=$ac_try;;
27093 esac
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_link") 2>&5
27096 ac_status=$?
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27099 { (case "(($ac_try" in
27100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27101 *) ac_try_echo=$ac_try;;
27102 esac
27103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27104 (eval "$ac_try") 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27108 ac_cv_sizeof_boolean=`cat conftest.val`
27109 else
27110 echo "$as_me: program exited with status $ac_status" >&5
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.$ac_ext >&5
27113
27114 ( exit $ac_status )
27115 if test "$ac_cv_type_boolean" = yes; then
27116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27117 See \`config.log' for more details." >&5
27118 echo "$as_me: error: cannot compute sizeof (boolean)
27119 See \`config.log' for more details." >&2;}
27120 { (exit 77); exit 77; }; }
27121 else
27122 ac_cv_sizeof_boolean=0
27123 fi
27124 fi
27125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27126 fi
27127 rm -f conftest.val
27128 fi
27129 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27130 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27131
27132
27133
27134 cat >>confdefs.h <<_ACEOF
27135 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27136 _ACEOF
27137
27138
27139 cat >>confdefs.h <<_ACEOF
27140 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27141 _ACEOF
27142
27143
27144 fi
27145
27146 fi
27147 fi
27148 fi
27149 fi
27150 fi
27151
27152
27153 TIFF_LINK=
27154 TIFF_PREREQ_LINKS=-lm
27155 if test "$wxUSE_LIBTIFF" != "no" ; then
27156 cat >>confdefs.h <<\_ACEOF
27157 #define wxUSE_LIBTIFF 1
27158 _ACEOF
27159
27160
27161 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27162 if test "$wxUSE_LIBJPEG" = "sys"; then
27163 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27164 fi
27165 if test "$wxUSE_ZLIB" = "sys"; then
27166 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27167 fi
27168 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27169 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27170 if test "${ac_cv_header_tiffio_h+set}" = set; then
27171 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 else
27173 cat >conftest.$ac_ext <<_ACEOF
27174 /* confdefs.h. */
27175 _ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27179
27180
27181
27182 #include <tiffio.h>
27183 _ACEOF
27184 rm -f conftest.$ac_objext
27185 if { (ac_try="$ac_compile"
27186 case "(($ac_try" in
27187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27188 *) ac_try_echo=$ac_try;;
27189 esac
27190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27191 (eval "$ac_compile") 2>conftest.er1
27192 ac_status=$?
27193 grep -v '^ *+' conftest.er1 >conftest.err
27194 rm -f conftest.er1
27195 cat conftest.err >&5
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); } && {
27198 test -z "$ac_c_werror_flag" ||
27199 test ! -s conftest.err
27200 } && test -s conftest.$ac_objext; then
27201 ac_cv_header_tiffio_h=yes
27202 else
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.$ac_ext >&5
27205
27206 ac_cv_header_tiffio_h=no
27207 fi
27208
27209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27210 fi
27211 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27212 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27213 if test $ac_cv_header_tiffio_h = yes; then
27214
27215 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27216 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27217 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220 ac_check_lib_save_LIBS=$LIBS
27221 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27222 cat >conftest.$ac_ext <<_ACEOF
27223 /* confdefs.h. */
27224 _ACEOF
27225 cat confdefs.h >>conftest.$ac_ext
27226 cat >>conftest.$ac_ext <<_ACEOF
27227 /* end confdefs.h. */
27228
27229 /* Override any GCC internal prototype to avoid an error.
27230 Use char because int might match the return type of a GCC
27231 builtin and then its argument prototype would still apply. */
27232 #ifdef __cplusplus
27233 extern "C"
27234 #endif
27235 char TIFFError ();
27236 int
27237 main ()
27238 {
27239 return TIFFError ();
27240 ;
27241 return 0;
27242 }
27243 _ACEOF
27244 rm -f conftest.$ac_objext conftest$ac_exeext
27245 if { (ac_try="$ac_link"
27246 case "(($ac_try" in
27247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248 *) ac_try_echo=$ac_try;;
27249 esac
27250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27251 (eval "$ac_link") 2>conftest.er1
27252 ac_status=$?
27253 grep -v '^ *+' conftest.er1 >conftest.err
27254 rm -f conftest.er1
27255 cat conftest.err >&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } && {
27258 test -z "$ac_c_werror_flag" ||
27259 test ! -s conftest.err
27260 } && test -s conftest$ac_exeext &&
27261 $as_test_x conftest$ac_exeext; then
27262 ac_cv_lib_tiff_TIFFError=yes
27263 else
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.$ac_ext >&5
27266
27267 ac_cv_lib_tiff_TIFFError=no
27268 fi
27269
27270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27271 conftest$ac_exeext conftest.$ac_ext
27272 LIBS=$ac_check_lib_save_LIBS
27273 fi
27274 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27275 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27276 if test $ac_cv_lib_tiff_TIFFError = yes; then
27277 TIFF_LINK=" -ltiff"
27278 fi
27279
27280
27281 fi
27282
27283
27284
27285 if test "x$TIFF_LINK" = "x" ; then
27286 if test "$wxUSE_LIBTIFF" = "sys" ; then
27287 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27288 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27289 { (exit 1); exit 1; }; }
27290 else
27291 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27292 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27293 wxUSE_LIBTIFF=builtin
27294 fi
27295 else
27296 wxUSE_LIBTIFF=sys
27297 fi
27298 fi
27299 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27300 if test "$wxUSE_LIBJPEG" = "no"; then
27301 ac_configure_args="$ac_configure_args --disable-jpeg"
27302 fi
27303 subdirs="$subdirs src/tiff"
27304
27305 fi
27306 fi
27307
27308
27309 if test "$wxUSE_WCHAR_T" != "yes"; then
27310 if test "$wxUSE_EXPAT" != "no"; then
27311 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27312 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27313 wxUSE_EXPAT=no
27314 fi
27315 if test "$wxUSE_XML" != "no"; then
27316 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27317 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27318 wxUSE_XML=no
27319 fi
27320 fi
27321
27322 if test "$wxUSE_EXPAT" != "no"; then
27323 wxUSE_XML=yes
27324 cat >>confdefs.h <<\_ACEOF
27325 #define wxUSE_EXPAT 1
27326 _ACEOF
27327
27328 cat >>confdefs.h <<\_ACEOF
27329 #define wxUSE_XML 1
27330 _ACEOF
27331
27332
27333 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27334 { echo "$as_me:$LINENO: checking for expat.h" >&5
27335 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27336 if test "${ac_cv_header_expat_h+set}" = set; then
27337 echo $ECHO_N "(cached) $ECHO_C" >&6
27338 else
27339 cat >conftest.$ac_ext <<_ACEOF
27340 /* confdefs.h. */
27341 _ACEOF
27342 cat confdefs.h >>conftest.$ac_ext
27343 cat >>conftest.$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345
27346
27347 #include <expat.h>
27348 _ACEOF
27349 rm -f conftest.$ac_objext
27350 if { (ac_try="$ac_compile"
27351 case "(($ac_try" in
27352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27353 *) ac_try_echo=$ac_try;;
27354 esac
27355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27356 (eval "$ac_compile") 2>conftest.er1
27357 ac_status=$?
27358 grep -v '^ *+' conftest.er1 >conftest.err
27359 rm -f conftest.er1
27360 cat conftest.err >&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } && {
27363 test -z "$ac_c_werror_flag" ||
27364 test ! -s conftest.err
27365 } && test -s conftest.$ac_objext; then
27366 ac_cv_header_expat_h=yes
27367 else
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.$ac_ext >&5
27370
27371 ac_cv_header_expat_h=no
27372 fi
27373
27374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 fi
27376 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27377 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27378 if test $ac_cv_header_expat_h = yes; then
27379 found_expat_h=1
27380 fi
27381
27382
27383 if test "x$found_expat_h" = "x1"; then
27384 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27385 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27386 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27388 else
27389
27390 ac_ext=cpp
27391 ac_cpp='$CXXCPP $CPPFLAGS'
27392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27395
27396 cat >conftest.$ac_ext <<_ACEOF
27397 /* confdefs.h. */
27398 _ACEOF
27399 cat confdefs.h >>conftest.$ac_ext
27400 cat >>conftest.$ac_ext <<_ACEOF
27401 /* end confdefs.h. */
27402 #include <expat.h>
27403 int
27404 main ()
27405 {
27406
27407 ;
27408 return 0;
27409 }
27410 _ACEOF
27411 rm -f conftest.$ac_objext
27412 if { (ac_try="$ac_compile"
27413 case "(($ac_try" in
27414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27415 *) ac_try_echo=$ac_try;;
27416 esac
27417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27418 (eval "$ac_compile") 2>conftest.er1
27419 ac_status=$?
27420 grep -v '^ *+' conftest.er1 >conftest.err
27421 rm -f conftest.er1
27422 cat conftest.err >&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } && {
27425 test -z "$ac_cxx_werror_flag" ||
27426 test ! -s conftest.err
27427 } && test -s conftest.$ac_objext; then
27428 wx_cv_expat_is_not_broken=yes
27429 else
27430 echo "$as_me: failed program was:" >&5
27431 sed 's/^/| /' conftest.$ac_ext >&5
27432
27433 wx_cv_expat_is_not_broken=no
27434
27435 fi
27436
27437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438 ac_ext=c
27439 ac_cpp='$CPP $CPPFLAGS'
27440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27443
27444
27445
27446 fi
27447 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27448 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27449 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27450 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27451 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27452 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27453 echo $ECHO_N "(cached) $ECHO_C" >&6
27454 else
27455 ac_check_lib_save_LIBS=$LIBS
27456 LIBS="-lexpat $LIBS"
27457 cat >conftest.$ac_ext <<_ACEOF
27458 /* confdefs.h. */
27459 _ACEOF
27460 cat confdefs.h >>conftest.$ac_ext
27461 cat >>conftest.$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27463
27464 /* Override any GCC internal prototype to avoid an error.
27465 Use char because int might match the return type of a GCC
27466 builtin and then its argument prototype would still apply. */
27467 #ifdef __cplusplus
27468 extern "C"
27469 #endif
27470 char XML_ParserCreate ();
27471 int
27472 main ()
27473 {
27474 return XML_ParserCreate ();
27475 ;
27476 return 0;
27477 }
27478 _ACEOF
27479 rm -f conftest.$ac_objext conftest$ac_exeext
27480 if { (ac_try="$ac_link"
27481 case "(($ac_try" in
27482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27483 *) ac_try_echo=$ac_try;;
27484 esac
27485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27486 (eval "$ac_link") 2>conftest.er1
27487 ac_status=$?
27488 grep -v '^ *+' conftest.er1 >conftest.err
27489 rm -f conftest.er1
27490 cat conftest.err >&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); } && {
27493 test -z "$ac_c_werror_flag" ||
27494 test ! -s conftest.err
27495 } && test -s conftest$ac_exeext &&
27496 $as_test_x conftest$ac_exeext; then
27497 ac_cv_lib_expat_XML_ParserCreate=yes
27498 else
27499 echo "$as_me: failed program was:" >&5
27500 sed 's/^/| /' conftest.$ac_ext >&5
27501
27502 ac_cv_lib_expat_XML_ParserCreate=no
27503 fi
27504
27505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27506 conftest$ac_exeext conftest.$ac_ext
27507 LIBS=$ac_check_lib_save_LIBS
27508 fi
27509 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27510 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27511 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27512 EXPAT_LINK=" -lexpat"
27513 fi
27514
27515 fi
27516 fi
27517 if test "x$EXPAT_LINK" = "x" ; then
27518 if test "$wxUSE_EXPAT" = "sys" ; then
27519 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27520 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27521 { (exit 1); exit 1; }; }
27522 else
27523 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27524 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27525 wxUSE_EXPAT=builtin
27526 fi
27527 else
27528 wxUSE_EXPAT=sys
27529 fi
27530 fi
27531 if test "$wxUSE_EXPAT" = "builtin" ; then
27532 subdirs="$subdirs src/expat"
27533
27534 fi
27535 fi
27536
27537
27538
27539 if test "$wxUSE_LIBMSPACK" != "no"; then
27540 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27541 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27542 if test "${ac_cv_header_mspack_h+set}" = set; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 else
27545 cat >conftest.$ac_ext <<_ACEOF
27546 /* confdefs.h. */
27547 _ACEOF
27548 cat confdefs.h >>conftest.$ac_ext
27549 cat >>conftest.$ac_ext <<_ACEOF
27550 /* end confdefs.h. */
27551
27552
27553 #include <mspack.h>
27554 _ACEOF
27555 rm -f conftest.$ac_objext
27556 if { (ac_try="$ac_compile"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27560 esac
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_compile") 2>conftest.er1
27563 ac_status=$?
27564 grep -v '^ *+' conftest.er1 >conftest.err
27565 rm -f conftest.er1
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest.$ac_objext; then
27572 ac_cv_header_mspack_h=yes
27573 else
27574 echo "$as_me: failed program was:" >&5
27575 sed 's/^/| /' conftest.$ac_ext >&5
27576
27577 ac_cv_header_mspack_h=no
27578 fi
27579
27580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27581 fi
27582 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27583 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27584 if test $ac_cv_header_mspack_h = yes; then
27585 found_mspack_h=1
27586 fi
27587
27588
27589 if test "x$found_mspack_h" = "x1"; then
27590 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27591 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27592 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27593 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 else
27595 ac_check_lib_save_LIBS=$LIBS
27596 LIBS="-lmspack $LIBS"
27597 cat >conftest.$ac_ext <<_ACEOF
27598 /* confdefs.h. */
27599 _ACEOF
27600 cat confdefs.h >>conftest.$ac_ext
27601 cat >>conftest.$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27603
27604 /* Override any GCC internal prototype to avoid an error.
27605 Use char because int might match the return type of a GCC
27606 builtin and then its argument prototype would still apply. */
27607 #ifdef __cplusplus
27608 extern "C"
27609 #endif
27610 char mspack_create_chm_decompressor ();
27611 int
27612 main ()
27613 {
27614 return mspack_create_chm_decompressor ();
27615 ;
27616 return 0;
27617 }
27618 _ACEOF
27619 rm -f conftest.$ac_objext conftest$ac_exeext
27620 if { (ac_try="$ac_link"
27621 case "(($ac_try" in
27622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27623 *) ac_try_echo=$ac_try;;
27624 esac
27625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27626 (eval "$ac_link") 2>conftest.er1
27627 ac_status=$?
27628 grep -v '^ *+' conftest.er1 >conftest.err
27629 rm -f conftest.er1
27630 cat conftest.err >&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); } && {
27633 test -z "$ac_c_werror_flag" ||
27634 test ! -s conftest.err
27635 } && test -s conftest$ac_exeext &&
27636 $as_test_x conftest$ac_exeext; then
27637 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27638 else
27639 echo "$as_me: failed program was:" >&5
27640 sed 's/^/| /' conftest.$ac_ext >&5
27641
27642 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27643 fi
27644
27645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27646 conftest$ac_exeext conftest.$ac_ext
27647 LIBS=$ac_check_lib_save_LIBS
27648 fi
27649 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27650 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27651 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27652 MSPACK_LINK=" -lmspack"
27653 fi
27654
27655 fi
27656 if test "x$MSPACK_LINK" = "x" ; then
27657 wxUSE_LIBMSPACK=no
27658 fi
27659 fi
27660
27661 if test "$wxUSE_LIBMSPACK" != "no"; then
27662 cat >>confdefs.h <<\_ACEOF
27663 #define wxUSE_LIBMSPACK 1
27664 _ACEOF
27665
27666 fi
27667
27668
27669
27670 AFMINSTALL=
27671 WIN32INSTALL=
27672
27673 TOOLKIT=
27674 TOOLKIT_INCLUDE=
27675 WIDGET_SET=
27676
27677 if test "$USE_WIN32" = 1 ; then
27678
27679 for ac_header in w32api.h
27680 do
27681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27685 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 else
27687 cat >conftest.$ac_ext <<_ACEOF
27688 /* confdefs.h. */
27689 _ACEOF
27690 cat confdefs.h >>conftest.$ac_ext
27691 cat >>conftest.$ac_ext <<_ACEOF
27692 /* end confdefs.h. */
27693
27694
27695 #include <$ac_header>
27696 _ACEOF
27697 rm -f conftest.$ac_objext
27698 if { (ac_try="$ac_compile"
27699 case "(($ac_try" in
27700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27701 *) ac_try_echo=$ac_try;;
27702 esac
27703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27704 (eval "$ac_compile") 2>conftest.er1
27705 ac_status=$?
27706 grep -v '^ *+' conftest.er1 >conftest.err
27707 rm -f conftest.er1
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } && {
27711 test -z "$ac_c_werror_flag" ||
27712 test ! -s conftest.err
27713 } && test -s conftest.$ac_objext; then
27714 eval "$as_ac_Header=yes"
27715 else
27716 echo "$as_me: failed program was:" >&5
27717 sed 's/^/| /' conftest.$ac_ext >&5
27718
27719 eval "$as_ac_Header=no"
27720 fi
27721
27722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27723 fi
27724 ac_res=`eval echo '${'$as_ac_Header'}'`
27725 { echo "$as_me:$LINENO: result: $ac_res" >&5
27726 echo "${ECHO_T}$ac_res" >&6; }
27727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27728 cat >>confdefs.h <<_ACEOF
27729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27730 _ACEOF
27731
27732 fi
27733
27734 done
27735
27736 { echo "$as_me:$LINENO: checking for windows.h" >&5
27737 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27738 if test "${ac_cv_header_windows_h+set}" = set; then
27739 echo $ECHO_N "(cached) $ECHO_C" >&6
27740 else
27741 cat >conftest.$ac_ext <<_ACEOF
27742 /* confdefs.h. */
27743 _ACEOF
27744 cat confdefs.h >>conftest.$ac_ext
27745 cat >>conftest.$ac_ext <<_ACEOF
27746 /* end confdefs.h. */
27747
27748
27749 #include <windows.h>
27750 _ACEOF
27751 rm -f conftest.$ac_objext
27752 if { (ac_try="$ac_compile"
27753 case "(($ac_try" in
27754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27755 *) ac_try_echo=$ac_try;;
27756 esac
27757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27758 (eval "$ac_compile") 2>conftest.er1
27759 ac_status=$?
27760 grep -v '^ *+' conftest.er1 >conftest.err
27761 rm -f conftest.er1
27762 cat conftest.err >&5
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); } && {
27765 test -z "$ac_c_werror_flag" ||
27766 test ! -s conftest.err
27767 } && test -s conftest.$ac_objext; then
27768 ac_cv_header_windows_h=yes
27769 else
27770 echo "$as_me: failed program was:" >&5
27771 sed 's/^/| /' conftest.$ac_ext >&5
27772
27773 ac_cv_header_windows_h=no
27774 fi
27775
27776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27777 fi
27778 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27779 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27780 if test $ac_cv_header_windows_h = yes; then
27781 :
27782 else
27783
27784 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27785 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27786 { (exit 1); exit 1; }; }
27787
27788 fi
27789
27790
27791
27792 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27793
27794 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27795 LIBS="$LIBS -loleacc"
27796 fi
27797
27798 case "${host}" in
27799 *-*-cygwin* )
27800 LIBS="$LIBS -lkernel32 -luser32"
27801 esac
27802
27803 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27804 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27805
27806 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27807
27808 WIN32INSTALL=win32install
27809
27810 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27811 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27812 if test "${ac_cv_header_pbt_h+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27814 else
27815 cat >conftest.$ac_ext <<_ACEOF
27816 /* confdefs.h. */
27817 _ACEOF
27818 cat confdefs.h >>conftest.$ac_ext
27819 cat >>conftest.$ac_ext <<_ACEOF
27820 /* end confdefs.h. */
27821
27822
27823 #include <pbt.h>
27824 _ACEOF
27825 rm -f conftest.$ac_objext
27826 if { (ac_try="$ac_compile"
27827 case "(($ac_try" in
27828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27829 *) ac_try_echo=$ac_try;;
27830 esac
27831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27832 (eval "$ac_compile") 2>conftest.er1
27833 ac_status=$?
27834 grep -v '^ *+' conftest.er1 >conftest.err
27835 rm -f conftest.er1
27836 cat conftest.err >&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); } && {
27839 test -z "$ac_c_werror_flag" ||
27840 test ! -s conftest.err
27841 } && test -s conftest.$ac_objext; then
27842 ac_cv_header_pbt_h=yes
27843 else
27844 echo "$as_me: failed program was:" >&5
27845 sed 's/^/| /' conftest.$ac_ext >&5
27846
27847 ac_cv_header_pbt_h=no
27848 fi
27849
27850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27851 fi
27852 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27853 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27854 if test $ac_cv_header_pbt_h = yes; then
27855 :
27856 else
27857 cat >>confdefs.h <<\_ACEOF
27858 #define NEED_PBT_H 1
27859 _ACEOF
27860
27861 fi
27862
27863
27864 fi
27865
27866 if test "$wxUSE_GUI" = "yes"; then
27867 USE_GUI=1
27868
27869 GUI_TK_LIBRARY=
27870
27871 WXGTK12=
27872 WXGTK127=
27873 WXGTK2=
27874 WXGPE=
27875
27876 if test "$wxUSE_COCOA" = 1 ; then
27877 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27878 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27879 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27880 wxUSE_PRINTING_ARCHITECTURE=no
27881 fi
27882 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27883 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27884 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27885 wxUSE_DRAG_AND_DROP=no
27886 fi
27887 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27888 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27889 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27890 wxUSE_DRAGIMAGE=no
27891 fi
27892 fi
27893
27894 if test "$wxUSE_MSW" = 1 ; then
27895 TOOLKIT=MSW
27896 GUIDIST=MSW_DIST
27897
27898 case "${host}" in
27899 *-*-mingw32* )
27900 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27901 esac
27902 fi
27903
27904 if test "$wxUSE_GTK" = 1; then
27905 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27906 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27907
27908 gtk_version_cached=1
27909 if test "${wx_cv_lib_gtk+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27912
27913 gtk_version_cached=0
27914 { echo "$as_me:$LINENO: result: " >&5
27915 echo "${ECHO_T}" >&6; }
27916
27917 GTK_MODULES=
27918 if test "$wxUSE_THREADS" = "yes"; then
27919 GTK_MODULES=gthread
27920 fi
27921
27922 wx_cv_lib_gtk=
27923 if test "x$wxGTK_VERSION" != "x1"
27924 then
27925 case "${host}" in
27926 *-*-solaris2* )
27927 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27928 enable_gtktest=no
27929 fi
27930 esac
27931
27932 # Check whether --enable-gtktest was given.
27933 if test "${enable_gtktest+set}" = set; then
27934 enableval=$enable_gtktest;
27935 else
27936 enable_gtktest=yes
27937 fi
27938
27939
27940 pkg_config_args=gtk+-2.0
27941 for module in . $GTK_MODULES
27942 do
27943 case "$module" in
27944 gthread)
27945 pkg_config_args="$pkg_config_args gthread-2.0"
27946 ;;
27947 esac
27948 done
27949
27950 no_gtk=""
27951
27952 # Extract the first word of "pkg-config", so it can be a program name with args.
27953 set dummy pkg-config; ac_word=$2
27954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27956 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959 case $PKG_CONFIG in
27960 [\\/]* | ?:[\\/]*)
27961 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27962 ;;
27963 *)
27964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27965 for as_dir in $PATH
27966 do
27967 IFS=$as_save_IFS
27968 test -z "$as_dir" && as_dir=.
27969 for ac_exec_ext in '' $ac_executable_extensions; do
27970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27971 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27973 break 2
27974 fi
27975 done
27976 done
27977 IFS=$as_save_IFS
27978
27979 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27980 ;;
27981 esac
27982 fi
27983 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27984 if test -n "$PKG_CONFIG"; then
27985 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27986 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27987 else
27988 { echo "$as_me:$LINENO: result: no" >&5
27989 echo "${ECHO_T}no" >&6; }
27990 fi
27991
27992
27993
27994 if test x$PKG_CONFIG != xno ; then
27995 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27996 :
27997 else
27998 echo "*** pkg-config too old; version 0.7 or better required."
27999 no_gtk=yes
28000 PKG_CONFIG=no
28001 fi
28002 else
28003 no_gtk=yes
28004 fi
28005
28006 min_gtk_version=2.4.0
28007 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28008 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28009
28010 if test x$PKG_CONFIG != xno ; then
28011 ## don't try to run the test against uninstalled libtool libs
28012 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28013 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28014 enable_gtktest=no
28015 fi
28016
28017 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28018 :
28019 else
28020 no_gtk=yes
28021 fi
28022 fi
28023
28024 if test x"$no_gtk" = x ; then
28025 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28026 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28027 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28029 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28031 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28033 if test "x$enable_gtktest" = "xyes" ; then
28034 ac_save_CFLAGS="$CFLAGS"
28035 ac_save_LIBS="$LIBS"
28036 CFLAGS="$CFLAGS $GTK_CFLAGS"
28037 LIBS="$GTK_LIBS $LIBS"
28038 rm -f conf.gtktest
28039 if test "$cross_compiling" = yes; then
28040 echo $ac_n "cross compiling; assumed OK... $ac_c"
28041 else
28042 cat >conftest.$ac_ext <<_ACEOF
28043 /* confdefs.h. */
28044 _ACEOF
28045 cat confdefs.h >>conftest.$ac_ext
28046 cat >>conftest.$ac_ext <<_ACEOF
28047 /* end confdefs.h. */
28048
28049 #include <gtk/gtk.h>
28050 #include <stdio.h>
28051 #include <stdlib.h>
28052
28053 int
28054 main ()
28055 {
28056 int major, minor, micro;
28057 char *tmp_version;
28058
28059 system ("touch conf.gtktest");
28060
28061 /* HP/UX 9 (%@#!) writes to sscanf strings */
28062 tmp_version = g_strdup("$min_gtk_version");
28063 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28064 printf("%s, bad version string\n", "$min_gtk_version");
28065 exit(1);
28066 }
28067
28068 if ((gtk_major_version != $gtk_config_major_version) ||
28069 (gtk_minor_version != $gtk_config_minor_version) ||
28070 (gtk_micro_version != $gtk_config_micro_version))
28071 {
28072 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28073 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28074 gtk_major_version, gtk_minor_version, gtk_micro_version);
28075 printf ("*** was found! If pkg-config was correct, then it is best\n");
28076 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28077 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28078 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28079 printf("*** required on your system.\n");
28080 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28081 printf("*** to point to the correct configuration files\n");
28082 }
28083 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28084 (gtk_minor_version != GTK_MINOR_VERSION) ||
28085 (gtk_micro_version != GTK_MICRO_VERSION))
28086 {
28087 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28088 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28089 printf("*** library (version %d.%d.%d)\n",
28090 gtk_major_version, gtk_minor_version, gtk_micro_version);
28091 }
28092 else
28093 {
28094 if ((gtk_major_version > major) ||
28095 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28096 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28097 {
28098 return 0;
28099 }
28100 else
28101 {
28102 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28103 gtk_major_version, gtk_minor_version, gtk_micro_version);
28104 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28105 major, minor, micro);
28106 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28107 printf("***\n");
28108 printf("*** If you have already installed a sufficiently new version, this error\n");
28109 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28110 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28111 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28112 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28113 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28114 printf("*** so that the correct libraries are found at run-time))\n");
28115 }
28116 }
28117 return 1;
28118 }
28119
28120 _ACEOF
28121 rm -f conftest$ac_exeext
28122 if { (ac_try="$ac_link"
28123 case "(($ac_try" in
28124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28125 *) ac_try_echo=$ac_try;;
28126 esac
28127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28128 (eval "$ac_link") 2>&5
28129 ac_status=$?
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28132 { (case "(($ac_try" in
28133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28134 *) ac_try_echo=$ac_try;;
28135 esac
28136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28137 (eval "$ac_try") 2>&5
28138 ac_status=$?
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); }; }; then
28141 :
28142 else
28143 echo "$as_me: program exited with status $ac_status" >&5
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28146
28147 ( exit $ac_status )
28148 no_gtk=yes
28149 fi
28150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28151 fi
28152
28153
28154 CFLAGS="$ac_save_CFLAGS"
28155 LIBS="$ac_save_LIBS"
28156 fi
28157 fi
28158 if test "x$no_gtk" = x ; then
28159 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28160 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28161 wx_cv_lib_gtk=2.0
28162 else
28163 { echo "$as_me:$LINENO: result: no" >&5
28164 echo "${ECHO_T}no" >&6; }
28165 if test "$PKG_CONFIG" = "no" ; then
28166 echo "*** A new enough version of pkg-config was not found."
28167 echo "*** See http://pkgconfig.sourceforge.net"
28168 else
28169 if test -f conf.gtktest ; then
28170 :
28171 else
28172 echo "*** Could not run GTK+ test program, checking why..."
28173 ac_save_CFLAGS="$CFLAGS"
28174 ac_save_LIBS="$LIBS"
28175 CFLAGS="$CFLAGS $GTK_CFLAGS"
28176 LIBS="$LIBS $GTK_LIBS"
28177 cat >conftest.$ac_ext <<_ACEOF
28178 /* confdefs.h. */
28179 _ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28183
28184 #include <gtk/gtk.h>
28185 #include <stdio.h>
28186
28187 int
28188 main ()
28189 {
28190 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28191 ;
28192 return 0;
28193 }
28194 _ACEOF
28195 rm -f conftest.$ac_objext conftest$ac_exeext
28196 if { (ac_try="$ac_link"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28200 esac
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_link") 2>conftest.er1
28203 ac_status=$?
28204 grep -v '^ *+' conftest.er1 >conftest.err
28205 rm -f conftest.er1
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } && {
28209 test -z "$ac_c_werror_flag" ||
28210 test ! -s conftest.err
28211 } && test -s conftest$ac_exeext &&
28212 $as_test_x conftest$ac_exeext; then
28213 echo "*** The test program compiled, but did not run. This usually means"
28214 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28215 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28218 echo "*** is required on your system"
28219 echo "***"
28220 echo "*** If you have an old version installed, it is best to remove it, although"
28221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28222 else
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28225
28226 echo "*** The test program failed to compile or link. See the file config.log for the"
28227 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28228 fi
28229
28230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28231 conftest$ac_exeext conftest.$ac_ext
28232 CFLAGS="$ac_save_CFLAGS"
28233 LIBS="$ac_save_LIBS"
28234 fi
28235 fi
28236 GTK_CFLAGS=""
28237 GTK_LIBS=""
28238 :
28239 fi
28240
28241
28242 rm -f conf.gtktest
28243
28244
28245 case "${host}" in
28246 *-*-solaris2* )
28247 if test "$wxUSE_SHARED" != "yes"; then
28248 GTK_LIBS="$GTK_LIBS -lX11"
28249 fi
28250 esac
28251 fi
28252
28253 if test -z "$wx_cv_lib_gtk"; then
28254 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28255
28256 # Check whether --with-gtk-prefix was given.
28257 if test "${with_gtk_prefix+set}" = set; then
28258 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28259 else
28260 gtk_config_prefix=""
28261 fi
28262
28263
28264 # Check whether --with-gtk-exec-prefix was given.
28265 if test "${with_gtk_exec_prefix+set}" = set; then
28266 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28267 else
28268 gtk_config_exec_prefix=""
28269 fi
28270
28271 # Check whether --enable-gtktest was given.
28272 if test "${enable_gtktest+set}" = set; then
28273 enableval=$enable_gtktest;
28274 else
28275 enable_gtktest=yes
28276 fi
28277
28278
28279 for module in . $GTK_MODULES
28280 do
28281 case "$module" in
28282 gthread)
28283 gtk_config_args="$gtk_config_args gthread"
28284 ;;
28285 esac
28286 done
28287
28288 if test x$gtk_config_exec_prefix != x ; then
28289 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28290 if test x${GTK_CONFIG+set} != xset ; then
28291 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28292 fi
28293 fi
28294 if test x$gtk_config_prefix != x ; then
28295 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28296 if test x${GTK_CONFIG+set} != xset ; then
28297 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28298 fi
28299 fi
28300
28301 # Extract the first word of "gtk-config", so it can be a program name with args.
28302 set dummy gtk-config; ac_word=$2
28303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28305 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28306 echo $ECHO_N "(cached) $ECHO_C" >&6
28307 else
28308 case $GTK_CONFIG in
28309 [\\/]* | ?:[\\/]*)
28310 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28311 ;;
28312 *)
28313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28314 for as_dir in $PATH
28315 do
28316 IFS=$as_save_IFS
28317 test -z "$as_dir" && as_dir=.
28318 for ac_exec_ext in '' $ac_executable_extensions; do
28319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28320 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28322 break 2
28323 fi
28324 done
28325 done
28326 IFS=$as_save_IFS
28327
28328 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28329 ;;
28330 esac
28331 fi
28332 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28333 if test -n "$GTK_CONFIG"; then
28334 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28335 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28336 else
28337 { echo "$as_me:$LINENO: result: no" >&5
28338 echo "${ECHO_T}no" >&6; }
28339 fi
28340
28341
28342 min_gtk_version=1.2.7
28343 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28344 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28345 no_gtk=""
28346 if test "$GTK_CONFIG" = "no" ; then
28347 no_gtk=yes
28348 else
28349 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28350 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28351 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28353 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28355 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28357 if test "x$enable_gtktest" = "xyes" ; then
28358 ac_save_CFLAGS="$CFLAGS"
28359 ac_save_LIBS="$LIBS"
28360 CFLAGS="$CFLAGS $GTK_CFLAGS"
28361 LIBS="$GTK_LIBS $LIBS"
28362 rm -f conf.gtktest
28363 if test "$cross_compiling" = yes; then
28364 echo $ac_n "cross compiling; assumed OK... $ac_c"
28365 else
28366 cat >conftest.$ac_ext <<_ACEOF
28367 /* confdefs.h. */
28368 _ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372
28373 #include <gtk/gtk.h>
28374 #include <stdio.h>
28375 #include <stdlib.h>
28376
28377 int
28378 main ()
28379 {
28380 int major, minor, micro;
28381 char *tmp_version;
28382
28383 system ("touch conf.gtktest");
28384
28385 /* HP/UX 9 (%@#!) writes to sscanf strings */
28386 tmp_version = g_strdup("$min_gtk_version");
28387 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28388 printf("%s, bad version string\n", "$min_gtk_version");
28389 exit(1);
28390 }
28391
28392 if ((gtk_major_version != $gtk_config_major_version) ||
28393 (gtk_minor_version != $gtk_config_minor_version) ||
28394 (gtk_micro_version != $gtk_config_micro_version))
28395 {
28396 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28397 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28398 gtk_major_version, gtk_minor_version, gtk_micro_version);
28399 printf ("*** was found! If gtk-config was correct, then it is best\n");
28400 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28401 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28402 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28403 printf("*** required on your system.\n");
28404 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28405 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28406 printf("*** before re-running configure\n");
28407 }
28408 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28409 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28410 (gtk_minor_version != GTK_MINOR_VERSION) ||
28411 (gtk_micro_version != GTK_MICRO_VERSION))
28412 {
28413 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28414 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28415 printf("*** library (version %d.%d.%d)\n",
28416 gtk_major_version, gtk_minor_version, gtk_micro_version);
28417 }
28418 #endif /* defined (GTK_MAJOR_VERSION) ... */
28419 else
28420 {
28421 if ((gtk_major_version > major) ||
28422 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28423 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28424 {
28425 return 0;
28426 }
28427 else
28428 {
28429 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28430 gtk_major_version, gtk_minor_version, gtk_micro_version);
28431 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28432 major, minor, micro);
28433 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28434 printf("***\n");
28435 printf("*** If you have already installed a sufficiently new version, this error\n");
28436 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28437 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28438 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28439 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28440 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28441 printf("*** so that the correct libraries are found at run-time))\n");
28442 }
28443 }
28444 return 1;
28445 }
28446
28447 _ACEOF
28448 rm -f conftest$ac_exeext
28449 if { (ac_try="$ac_link"
28450 case "(($ac_try" in
28451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28452 *) ac_try_echo=$ac_try;;
28453 esac
28454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28455 (eval "$ac_link") 2>&5
28456 ac_status=$?
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28459 { (case "(($ac_try" in
28460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28461 *) ac_try_echo=$ac_try;;
28462 esac
28463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28464 (eval "$ac_try") 2>&5
28465 ac_status=$?
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; }; then
28468 :
28469 else
28470 echo "$as_me: program exited with status $ac_status" >&5
28471 echo "$as_me: failed program was:" >&5
28472 sed 's/^/| /' conftest.$ac_ext >&5
28473
28474 ( exit $ac_status )
28475 no_gtk=yes
28476 fi
28477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28478 fi
28479
28480
28481 CFLAGS="$ac_save_CFLAGS"
28482 LIBS="$ac_save_LIBS"
28483 fi
28484 fi
28485 if test "x$no_gtk" = x ; then
28486 { echo "$as_me:$LINENO: result: yes" >&5
28487 echo "${ECHO_T}yes" >&6; }
28488 wx_cv_lib_gtk=1.2.7
28489 else
28490 { echo "$as_me:$LINENO: result: no" >&5
28491 echo "${ECHO_T}no" >&6; }
28492 if test "$GTK_CONFIG" = "no" ; then
28493 echo "*** The gtk-config script installed by GTK could not be found"
28494 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28495 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28496 echo "*** full path to gtk-config."
28497 else
28498 if test -f conf.gtktest ; then
28499 :
28500 else
28501 echo "*** Could not run GTK test program, checking why..."
28502 CFLAGS="$CFLAGS $GTK_CFLAGS"
28503 LIBS="$LIBS $GTK_LIBS"
28504 cat >conftest.$ac_ext <<_ACEOF
28505 /* confdefs.h. */
28506 _ACEOF
28507 cat confdefs.h >>conftest.$ac_ext
28508 cat >>conftest.$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510
28511 #include <gtk/gtk.h>
28512 #include <stdio.h>
28513
28514 int
28515 main ()
28516 {
28517 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28518 ;
28519 return 0;
28520 }
28521 _ACEOF
28522 rm -f conftest.$ac_objext conftest$ac_exeext
28523 if { (ac_try="$ac_link"
28524 case "(($ac_try" in
28525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28526 *) ac_try_echo=$ac_try;;
28527 esac
28528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28529 (eval "$ac_link") 2>conftest.er1
28530 ac_status=$?
28531 grep -v '^ *+' conftest.er1 >conftest.err
28532 rm -f conftest.er1
28533 cat conftest.err >&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } && {
28536 test -z "$ac_c_werror_flag" ||
28537 test ! -s conftest.err
28538 } && test -s conftest$ac_exeext &&
28539 $as_test_x conftest$ac_exeext; then
28540 echo "*** The test program compiled, but did not run. This usually means"
28541 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28542 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28543 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28544 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28545 echo "*** is required on your system"
28546 echo "***"
28547 echo "*** If you have an old version installed, it is best to remove it, although"
28548 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28549 echo "***"
28550 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28551 echo "*** came with the system with the command"
28552 echo "***"
28553 echo "*** rpm --erase --nodeps gtk gtk-devel"
28554 else
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.$ac_ext >&5
28557
28558 echo "*** The test program failed to compile or link. See the file config.log for the"
28559 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28560 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28561 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28562 fi
28563
28564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28565 conftest$ac_exeext conftest.$ac_ext
28566 CFLAGS="$ac_save_CFLAGS"
28567 LIBS="$ac_save_LIBS"
28568 fi
28569 fi
28570 GTK_CFLAGS=""
28571 GTK_LIBS=""
28572 :
28573 fi
28574
28575
28576 rm -f conf.gtktest
28577
28578
28579 if test -z "$wx_cv_lib_gtk"; then
28580
28581 # Check whether --with-gtk-prefix was given.
28582 if test "${with_gtk_prefix+set}" = set; then
28583 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28584 else
28585 gtk_config_prefix=""
28586 fi
28587
28588
28589 # Check whether --with-gtk-exec-prefix was given.
28590 if test "${with_gtk_exec_prefix+set}" = set; then
28591 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28592 else
28593 gtk_config_exec_prefix=""
28594 fi
28595
28596 # Check whether --enable-gtktest was given.
28597 if test "${enable_gtktest+set}" = set; then
28598 enableval=$enable_gtktest;
28599 else
28600 enable_gtktest=yes
28601 fi
28602
28603
28604 for module in . $GTK_MODULES
28605 do
28606 case "$module" in
28607 gthread)
28608 gtk_config_args="$gtk_config_args gthread"
28609 ;;
28610 esac
28611 done
28612
28613 if test x$gtk_config_exec_prefix != x ; then
28614 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28615 if test x${GTK_CONFIG+set} != xset ; then
28616 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28617 fi
28618 fi
28619 if test x$gtk_config_prefix != x ; then
28620 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28621 if test x${GTK_CONFIG+set} != xset ; then
28622 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28623 fi
28624 fi
28625
28626 # Extract the first word of "gtk-config", so it can be a program name with args.
28627 set dummy gtk-config; ac_word=$2
28628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28630 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 else
28633 case $GTK_CONFIG in
28634 [\\/]* | ?:[\\/]*)
28635 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28636 ;;
28637 *)
28638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28639 for as_dir in $PATH
28640 do
28641 IFS=$as_save_IFS
28642 test -z "$as_dir" && as_dir=.
28643 for ac_exec_ext in '' $ac_executable_extensions; do
28644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28645 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28647 break 2
28648 fi
28649 done
28650 done
28651 IFS=$as_save_IFS
28652
28653 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28654 ;;
28655 esac
28656 fi
28657 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28658 if test -n "$GTK_CONFIG"; then
28659 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28660 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28661 else
28662 { echo "$as_me:$LINENO: result: no" >&5
28663 echo "${ECHO_T}no" >&6; }
28664 fi
28665
28666
28667 min_gtk_version=1.2.3
28668 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28669 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28670 no_gtk=""
28671 if test "$GTK_CONFIG" = "no" ; then
28672 no_gtk=yes
28673 else
28674 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28675 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28676 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28678 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28680 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28682 if test "x$enable_gtktest" = "xyes" ; then
28683 ac_save_CFLAGS="$CFLAGS"
28684 ac_save_LIBS="$LIBS"
28685 CFLAGS="$CFLAGS $GTK_CFLAGS"
28686 LIBS="$GTK_LIBS $LIBS"
28687 rm -f conf.gtktest
28688 if test "$cross_compiling" = yes; then
28689 echo $ac_n "cross compiling; assumed OK... $ac_c"
28690 else
28691 cat >conftest.$ac_ext <<_ACEOF
28692 /* confdefs.h. */
28693 _ACEOF
28694 cat confdefs.h >>conftest.$ac_ext
28695 cat >>conftest.$ac_ext <<_ACEOF
28696 /* end confdefs.h. */
28697
28698 #include <gtk/gtk.h>
28699 #include <stdio.h>
28700 #include <stdlib.h>
28701
28702 int
28703 main ()
28704 {
28705 int major, minor, micro;
28706 char *tmp_version;
28707
28708 system ("touch conf.gtktest");
28709
28710 /* HP/UX 9 (%@#!) writes to sscanf strings */
28711 tmp_version = g_strdup("$min_gtk_version");
28712 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28713 printf("%s, bad version string\n", "$min_gtk_version");
28714 exit(1);
28715 }
28716
28717 if ((gtk_major_version != $gtk_config_major_version) ||
28718 (gtk_minor_version != $gtk_config_minor_version) ||
28719 (gtk_micro_version != $gtk_config_micro_version))
28720 {
28721 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28722 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28723 gtk_major_version, gtk_minor_version, gtk_micro_version);
28724 printf ("*** was found! If gtk-config was correct, then it is best\n");
28725 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28726 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28727 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28728 printf("*** required on your system.\n");
28729 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28730 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28731 printf("*** before re-running configure\n");
28732 }
28733 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28734 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28735 (gtk_minor_version != GTK_MINOR_VERSION) ||
28736 (gtk_micro_version != GTK_MICRO_VERSION))
28737 {
28738 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28739 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28740 printf("*** library (version %d.%d.%d)\n",
28741 gtk_major_version, gtk_minor_version, gtk_micro_version);
28742 }
28743 #endif /* defined (GTK_MAJOR_VERSION) ... */
28744 else
28745 {
28746 if ((gtk_major_version > major) ||
28747 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28748 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28749 {
28750 return 0;
28751 }
28752 else
28753 {
28754 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28755 gtk_major_version, gtk_minor_version, gtk_micro_version);
28756 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28757 major, minor, micro);
28758 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28759 printf("***\n");
28760 printf("*** If you have already installed a sufficiently new version, this error\n");
28761 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28762 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28763 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28764 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28765 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28766 printf("*** so that the correct libraries are found at run-time))\n");
28767 }
28768 }
28769 return 1;
28770 }
28771
28772 _ACEOF
28773 rm -f conftest$ac_exeext
28774 if { (ac_try="$ac_link"
28775 case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28778 esac
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_link") 2>&5
28781 ac_status=$?
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28784 { (case "(($ac_try" in
28785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28786 *) ac_try_echo=$ac_try;;
28787 esac
28788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28789 (eval "$ac_try") 2>&5
28790 ac_status=$?
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); }; }; then
28793 :
28794 else
28795 echo "$as_me: program exited with status $ac_status" >&5
28796 echo "$as_me: failed program was:" >&5
28797 sed 's/^/| /' conftest.$ac_ext >&5
28798
28799 ( exit $ac_status )
28800 no_gtk=yes
28801 fi
28802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28803 fi
28804
28805
28806 CFLAGS="$ac_save_CFLAGS"
28807 LIBS="$ac_save_LIBS"
28808 fi
28809 fi
28810 if test "x$no_gtk" = x ; then
28811 { echo "$as_me:$LINENO: result: yes" >&5
28812 echo "${ECHO_T}yes" >&6; }
28813 wx_cv_lib_gtk=1.2.3
28814 else
28815 { echo "$as_me:$LINENO: result: no" >&5
28816 echo "${ECHO_T}no" >&6; }
28817 if test "$GTK_CONFIG" = "no" ; then
28818 echo "*** The gtk-config script installed by GTK could not be found"
28819 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28820 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28821 echo "*** full path to gtk-config."
28822 else
28823 if test -f conf.gtktest ; then
28824 :
28825 else
28826 echo "*** Could not run GTK test program, checking why..."
28827 CFLAGS="$CFLAGS $GTK_CFLAGS"
28828 LIBS="$LIBS $GTK_LIBS"
28829 cat >conftest.$ac_ext <<_ACEOF
28830 /* confdefs.h. */
28831 _ACEOF
28832 cat confdefs.h >>conftest.$ac_ext
28833 cat >>conftest.$ac_ext <<_ACEOF
28834 /* end confdefs.h. */
28835
28836 #include <gtk/gtk.h>
28837 #include <stdio.h>
28838
28839 int
28840 main ()
28841 {
28842 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28843 ;
28844 return 0;
28845 }
28846 _ACEOF
28847 rm -f conftest.$ac_objext conftest$ac_exeext
28848 if { (ac_try="$ac_link"
28849 case "(($ac_try" in
28850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28851 *) ac_try_echo=$ac_try;;
28852 esac
28853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28854 (eval "$ac_link") 2>conftest.er1
28855 ac_status=$?
28856 grep -v '^ *+' conftest.er1 >conftest.err
28857 rm -f conftest.er1
28858 cat conftest.err >&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); } && {
28861 test -z "$ac_c_werror_flag" ||
28862 test ! -s conftest.err
28863 } && test -s conftest$ac_exeext &&
28864 $as_test_x conftest$ac_exeext; then
28865 echo "*** The test program compiled, but did not run. This usually means"
28866 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28867 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28870 echo "*** is required on your system"
28871 echo "***"
28872 echo "*** If you have an old version installed, it is best to remove it, although"
28873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28874 echo "***"
28875 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28876 echo "*** came with the system with the command"
28877 echo "***"
28878 echo "*** rpm --erase --nodeps gtk gtk-devel"
28879 else
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883 echo "*** The test program failed to compile or link. See the file config.log for the"
28884 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28885 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28886 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28887 fi
28888
28889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28890 conftest$ac_exeext conftest.$ac_ext
28891 CFLAGS="$ac_save_CFLAGS"
28892 LIBS="$ac_save_LIBS"
28893 fi
28894 fi
28895 GTK_CFLAGS=""
28896 GTK_LIBS=""
28897 :
28898 fi
28899
28900
28901 rm -f conf.gtktest
28902
28903 fi
28904 fi
28905 fi
28906
28907 if test -z "$wx_cv_lib_gtk"; then
28908 wx_cv_lib_gtk=none
28909 else
28910 wx_cv_cflags_gtk=$GTK_CFLAGS
28911 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28912 fi
28913
28914
28915 fi
28916
28917
28918 if test "$gtk_version_cached" = 1; then
28919 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28920 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28921 fi
28922
28923 case "$wx_cv_lib_gtk" in
28924 2.0) WXGTK2=1
28925 TOOLKIT_VERSION=2
28926 ;;
28927 1.2.7) WXGTK127=1
28928 WXGTK12=1
28929 ;;
28930 1.2.3) WXGTK12=1
28931 ;;
28932 *) { { echo "$as_me:$LINENO: error:
28933 The development files for GTK+ were not found. For GTK+ 2, please
28934 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28935 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28936 and that the version is 1.2.3 or above. Also check that the
28937 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28938 --libs' are in the LD_LIBRARY_PATH or equivalent.
28939 " >&5
28940 echo "$as_me: error:
28941 The development files for GTK+ were not found. For GTK+ 2, please
28942 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28943 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28944 and that the version is 1.2.3 or above. Also check that the
28945 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28946 --libs' are in the LD_LIBRARY_PATH or equivalent.
28947 " >&2;}
28948 { (exit 1); exit 1; }; }
28949 ;;
28950 esac
28951
28952 if test "$WXGTK2" = 1; then
28953 save_CFLAGS="$CFLAGS"
28954 save_LIBS="$LIBS"
28955 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28956 LIBS="$LIBS $wx_cv_libs_gtk"
28957
28958 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28959 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28960 cat >conftest.$ac_ext <<_ACEOF
28961 /* confdefs.h. */
28962 _ACEOF
28963 cat confdefs.h >>conftest.$ac_ext
28964 cat >>conftest.$ac_ext <<_ACEOF
28965 /* end confdefs.h. */
28966
28967 #include <gtk/gtk.h>
28968
28969 int
28970 main ()
28971 {
28972
28973 #if !GTK_CHECK_VERSION(2,10,0)
28974 Not GTK+ 2.10
28975 #endif
28976
28977 ;
28978 return 0;
28979 }
28980 _ACEOF
28981 rm -f conftest.$ac_objext
28982 if { (ac_try="$ac_compile"
28983 case "(($ac_try" in
28984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28985 *) ac_try_echo=$ac_try;;
28986 esac
28987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28988 (eval "$ac_compile") 2>conftest.er1
28989 ac_status=$?
28990 grep -v '^ *+' conftest.er1 >conftest.err
28991 rm -f conftest.er1
28992 cat conftest.err >&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); } && {
28995 test -z "$ac_c_werror_flag" ||
28996 test ! -s conftest.err
28997 } && test -s conftest.$ac_objext; then
28998
28999 cat >>confdefs.h <<\_ACEOF
29000 #define __WXGTK210__ 1
29001 _ACEOF
29002
29003 cat >>confdefs.h <<\_ACEOF
29004 #define __WXGTK26__ 1
29005 _ACEOF
29006
29007 { echo "$as_me:$LINENO: result: yes" >&5
29008 echo "${ECHO_T}yes" >&6; }
29009 ac_wxgtk210=1
29010
29011 else
29012 echo "$as_me: failed program was:" >&5
29013 sed 's/^/| /' conftest.$ac_ext >&5
29014
29015
29016 { echo "$as_me:$LINENO: result: no" >&5
29017 echo "${ECHO_T}no" >&6; }
29018 ac_wxgtk210=0
29019
29020 fi
29021
29022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29023
29024 if test "$ac_wxgtk210" = 0; then
29025 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29026 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29027 cat >conftest.$ac_ext <<_ACEOF
29028 /* confdefs.h. */
29029 _ACEOF
29030 cat confdefs.h >>conftest.$ac_ext
29031 cat >>conftest.$ac_ext <<_ACEOF
29032 /* end confdefs.h. */
29033
29034 #include <gtk/gtk.h>
29035
29036 int
29037 main ()
29038 {
29039
29040 #if !GTK_CHECK_VERSION(2,6,0)
29041 Not GTK+ 2.6
29042 #endif
29043
29044 ;
29045 return 0;
29046 }
29047 _ACEOF
29048 rm -f conftest.$ac_objext
29049 if { (ac_try="$ac_compile"
29050 case "(($ac_try" in
29051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29052 *) ac_try_echo=$ac_try;;
29053 esac
29054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29055 (eval "$ac_compile") 2>conftest.er1
29056 ac_status=$?
29057 grep -v '^ *+' conftest.er1 >conftest.err
29058 rm -f conftest.er1
29059 cat conftest.err >&5
29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061 (exit $ac_status); } && {
29062 test -z "$ac_c_werror_flag" ||
29063 test ! -s conftest.err
29064 } && test -s conftest.$ac_objext; then
29065
29066 cat >>confdefs.h <<\_ACEOF
29067 #define __WXGTK26__ 1
29068 _ACEOF
29069
29070 { echo "$as_me:$LINENO: result: yes" >&5
29071 echo "${ECHO_T}yes" >&6; }
29072 ac_wxgtk26=1
29073
29074 else
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.$ac_ext >&5
29077
29078
29079 { echo "$as_me:$LINENO: result: no" >&5
29080 echo "${ECHO_T}no" >&6; }
29081 ac_wxgtk26=0
29082
29083 fi
29084
29085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29086 fi
29087
29088 CFLAGS="$save_CFLAGS"
29089 LIBS="$save_LIBS"
29090 else
29091 if test "$wxUSE_UNICODE" = "yes"; then
29092 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29093 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29094 wxUSE_UNICODE=no
29095 fi
29096
29097 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29098 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29099 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 else
29102 ac_check_lib_save_LIBS=$LIBS
29103 LIBS="-lgdk $LIBS"
29104 cat >conftest.$ac_ext <<_ACEOF
29105 /* confdefs.h. */
29106 _ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29110
29111 /* Override any GCC internal prototype to avoid an error.
29112 Use char because int might match the return type of a GCC
29113 builtin and then its argument prototype would still apply. */
29114 #ifdef __cplusplus
29115 extern "C"
29116 #endif
29117 char gdk_im_open ();
29118 int
29119 main ()
29120 {
29121 return gdk_im_open ();
29122 ;
29123 return 0;
29124 }
29125 _ACEOF
29126 rm -f conftest.$ac_objext conftest$ac_exeext
29127 if { (ac_try="$ac_link"
29128 case "(($ac_try" in
29129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29130 *) ac_try_echo=$ac_try;;
29131 esac
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_link") 2>conftest.er1
29134 ac_status=$?
29135 grep -v '^ *+' conftest.er1 >conftest.err
29136 rm -f conftest.er1
29137 cat conftest.err >&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } && {
29140 test -z "$ac_c_werror_flag" ||
29141 test ! -s conftest.err
29142 } && test -s conftest$ac_exeext &&
29143 $as_test_x conftest$ac_exeext; then
29144 ac_cv_lib_gdk_gdk_im_open=yes
29145 else
29146 echo "$as_me: failed program was:" >&5
29147 sed 's/^/| /' conftest.$ac_ext >&5
29148
29149 ac_cv_lib_gdk_gdk_im_open=no
29150 fi
29151
29152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29153 conftest$ac_exeext conftest.$ac_ext
29154 LIBS=$ac_check_lib_save_LIBS
29155 fi
29156 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29157 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29158 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29159 cat >>confdefs.h <<\_ACEOF
29160 #define HAVE_XIM 1
29161 _ACEOF
29162
29163 fi
29164
29165
29166 if test "$USE_DARWIN" != 1; then
29167
29168 for ac_func in poll
29169 do
29170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 else
29176 cat >conftest.$ac_ext <<_ACEOF
29177 /* confdefs.h. */
29178 _ACEOF
29179 cat confdefs.h >>conftest.$ac_ext
29180 cat >>conftest.$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29184 #define $ac_func innocuous_$ac_func
29185
29186 /* System header to define __stub macros and hopefully few prototypes,
29187 which can conflict with char $ac_func (); below.
29188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29189 <limits.h> exists even on freestanding compilers. */
29190
29191 #ifdef __STDC__
29192 # include <limits.h>
29193 #else
29194 # include <assert.h>
29195 #endif
29196
29197 #undef $ac_func
29198
29199 /* Override any GCC internal prototype to avoid an error.
29200 Use char because int might match the return type of a GCC
29201 builtin and then its argument prototype would still apply. */
29202 #ifdef __cplusplus
29203 extern "C"
29204 #endif
29205 char $ac_func ();
29206 /* The GNU C library defines this for functions which it implements
29207 to always fail with ENOSYS. Some functions are actually named
29208 something starting with __ and the normal name is an alias. */
29209 #if defined __stub_$ac_func || defined __stub___$ac_func
29210 choke me
29211 #endif
29212
29213 int
29214 main ()
29215 {
29216 return $ac_func ();
29217 ;
29218 return 0;
29219 }
29220 _ACEOF
29221 rm -f conftest.$ac_objext conftest$ac_exeext
29222 if { (ac_try="$ac_link"
29223 case "(($ac_try" in
29224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29225 *) ac_try_echo=$ac_try;;
29226 esac
29227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29228 (eval "$ac_link") 2>conftest.er1
29229 ac_status=$?
29230 grep -v '^ *+' conftest.er1 >conftest.err
29231 rm -f conftest.er1
29232 cat conftest.err >&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); } && {
29235 test -z "$ac_c_werror_flag" ||
29236 test ! -s conftest.err
29237 } && test -s conftest$ac_exeext &&
29238 $as_test_x conftest$ac_exeext; then
29239 eval "$as_ac_var=yes"
29240 else
29241 echo "$as_me: failed program was:" >&5
29242 sed 's/^/| /' conftest.$ac_ext >&5
29243
29244 eval "$as_ac_var=no"
29245 fi
29246
29247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29248 conftest$ac_exeext conftest.$ac_ext
29249 fi
29250 ac_res=`eval echo '${'$as_ac_var'}'`
29251 { echo "$as_me:$LINENO: result: $ac_res" >&5
29252 echo "${ECHO_T}$ac_res" >&6; }
29253 if test `eval echo '${'$as_ac_var'}'` = yes; then
29254 cat >>confdefs.h <<_ACEOF
29255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29256 _ACEOF
29257
29258 fi
29259 done
29260
29261 fi
29262 fi
29263
29264 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29265 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29266
29267 AFMINSTALL=afminstall
29268 TOOLKIT=GTK
29269 GUIDIST=GTK_DIST
29270
29271 if test "$wxUSE_GPE" = "yes"; then
29272 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29273 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29274
29275 ac_find_libraries=
29276 for ac_dir in $SEARCH_LIB;
29277 do
29278 for ac_extension in a so sl dylib dll.a; do
29279 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29280 ac_find_libraries=$ac_dir
29281 break 2
29282 fi
29283 done
29284 done
29285
29286 if test "$ac_find_libraries" != "" ; then
29287
29288 if test "$ac_find_libraries" = "default location"; then
29289 ac_path_to_link=""
29290 else
29291 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29292 result=$?
29293 if test $result = 0; then
29294 ac_path_to_link=""
29295 else
29296 ac_path_to_link=" -L$ac_find_libraries"
29297 fi
29298 fi
29299
29300 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29301 WXGPE=1
29302 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29303 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29304 else
29305 { echo "$as_me:$LINENO: result: not found" >&5
29306 echo "${ECHO_T}not found" >&6; }
29307 fi
29308
29309 fi
29310 fi
29311
29312 if test "$wxUSE_MGL" = 1; then
29313 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29314 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29315 if test "x$MGL_ROOT" = x ; then
29316 { echo "$as_me:$LINENO: result: not found" >&5
29317 echo "${ECHO_T}not found" >&6; }
29318 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29319 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29320 { (exit 1); exit 1; }; }
29321 else
29322 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29323 echo "${ECHO_T}$MGL_ROOT" >&6; }
29324 fi
29325
29326 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29327 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29328 case "${host}" in
29329 *-*-linux* )
29330 if test "x$wxUSE_SHARED" = xyes ; then
29331 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29332 else
29333 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29334 fi
29335 ;;
29336 *-pc-msdosdjgpp )
29337 mgl_os_candidates="dos32/dj2"
29338 ;;
29339 *)
29340 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29341 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29342 { (exit 1); exit 1; }; }
29343 esac
29344
29345 mgl_lib_type=""
29346 mgl_os=""
29347
29348 for mgl_os_i in $mgl_os_candidates ; do
29349 if test "x$mgl_os" = x ; then
29350 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29351 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29352 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29353 mgl_lib_type=debug
29354 mgl_os=$mgl_os_i
29355 fi
29356 fi
29357 if test "x$mgl_lib_type" = x ; then
29358 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29359 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29360 mgl_lib_type=release
29361 mgl_os=$mgl_os_i
29362 fi
29363 fi
29364 fi
29365 done
29366
29367 if test "x$mgl_os" = x ; then
29368 { echo "$as_me:$LINENO: result: not found" >&5
29369 echo "${ECHO_T}not found" >&6; }
29370 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29371 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29372 { (exit 1); exit 1; }; }
29373 fi
29374 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29375 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29376
29377 wxUSE_UNIVERSAL="yes"
29378
29379 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29380 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29381
29382 AFMINSTALL=afminstall
29383 TOOLKIT=MGL
29384 GUIDIST=MGL_DIST
29385 fi
29386
29387 if test "$wxUSE_DFB" = 1; then
29388
29389
29390 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29391 if test -n "$ac_tool_prefix"; then
29392 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29393 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29396 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29398 else
29399 case $PKG_CONFIG in
29400 [\\/]* | ?:[\\/]*)
29401 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29402 ;;
29403 *)
29404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29405 for as_dir in $PATH
29406 do
29407 IFS=$as_save_IFS
29408 test -z "$as_dir" && as_dir=.
29409 for ac_exec_ext in '' $ac_executable_extensions; do
29410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29411 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29413 break 2
29414 fi
29415 done
29416 done
29417 IFS=$as_save_IFS
29418
29419 ;;
29420 esac
29421 fi
29422 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29423 if test -n "$PKG_CONFIG"; then
29424 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29425 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29426 else
29427 { echo "$as_me:$LINENO: result: no" >&5
29428 echo "${ECHO_T}no" >&6; }
29429 fi
29430
29431
29432 fi
29433 if test -z "$ac_cv_path_PKG_CONFIG"; then
29434 ac_pt_PKG_CONFIG=$PKG_CONFIG
29435 # Extract the first word of "pkg-config", so it can be a program name with args.
29436 set dummy pkg-config; ac_word=$2
29437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29439 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 else
29442 case $ac_pt_PKG_CONFIG in
29443 [\\/]* | ?:[\\/]*)
29444 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29445 ;;
29446 *)
29447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29448 for as_dir in $PATH
29449 do
29450 IFS=$as_save_IFS
29451 test -z "$as_dir" && as_dir=.
29452 for ac_exec_ext in '' $ac_executable_extensions; do
29453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29454 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29456 break 2
29457 fi
29458 done
29459 done
29460 IFS=$as_save_IFS
29461
29462 ;;
29463 esac
29464 fi
29465 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29466 if test -n "$ac_pt_PKG_CONFIG"; then
29467 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29468 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29469 else
29470 { echo "$as_me:$LINENO: result: no" >&5
29471 echo "${ECHO_T}no" >&6; }
29472 fi
29473
29474 if test "x$ac_pt_PKG_CONFIG" = x; then
29475 PKG_CONFIG=""
29476 else
29477 case $cross_compiling:$ac_tool_warned in
29478 yes:)
29479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29480 whose name does not start with the host triplet. If you think this
29481 configuration is useful to you, please write to autoconf@gnu.org." >&5
29482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29483 whose name does not start with the host triplet. If you think this
29484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29485 ac_tool_warned=yes ;;
29486 esac
29487 PKG_CONFIG=$ac_pt_PKG_CONFIG
29488 fi
29489 else
29490 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29491 fi
29492
29493 fi
29494 if test -n "$PKG_CONFIG"; then
29495 _pkg_min_version=0.9.0
29496 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29497 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29498 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29499 { echo "$as_me:$LINENO: result: yes" >&5
29500 echo "${ECHO_T}yes" >&6; }
29501 else
29502 { echo "$as_me:$LINENO: result: no" >&5
29503 echo "${ECHO_T}no" >&6; }
29504 PKG_CONFIG=""
29505 fi
29506
29507 fi
29508
29509
29510 pkg_failed=no
29511 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29512 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29513
29514 if test -n "$PKG_CONFIG"; then
29515 if test -n "$DIRECTFB_CFLAGS"; then
29516 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29517 else
29518 if test -n "$PKG_CONFIG" && \
29519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29520 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29521 ac_status=$?
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; then
29524 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29525 else
29526 pkg_failed=yes
29527 fi
29528 fi
29529 else
29530 pkg_failed=untried
29531 fi
29532 if test -n "$PKG_CONFIG"; then
29533 if test -n "$DIRECTFB_LIBS"; then
29534 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29535 else
29536 if test -n "$PKG_CONFIG" && \
29537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29538 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; then
29542 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29543 else
29544 pkg_failed=yes
29545 fi
29546 fi
29547 else
29548 pkg_failed=untried
29549 fi
29550
29551
29552
29553 if test $pkg_failed = yes; then
29554
29555 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29556 _pkg_short_errors_supported=yes
29557 else
29558 _pkg_short_errors_supported=no
29559 fi
29560 if test $_pkg_short_errors_supported = yes; then
29561 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29562 else
29563 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29564 fi
29565 # Put the nasty error message in config.log where it belongs
29566 echo "$DIRECTFB_PKG_ERRORS" >&5
29567
29568
29569 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29570 echo "$as_me: error: DirectFB not found." >&2;}
29571 { (exit 1); exit 1; }; }
29572
29573
29574 elif test $pkg_failed = untried; then
29575
29576 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29577 echo "$as_me: error: DirectFB not found." >&2;}
29578 { (exit 1); exit 1; }; }
29579
29580
29581 else
29582 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29583 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29584 { echo "$as_me:$LINENO: result: yes" >&5
29585 echo "${ECHO_T}yes" >&6; }
29586
29587 wxUSE_UNIVERSAL="yes"
29588 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29589 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29590 TOOLKIT=DFB
29591 GUIDIST=DFB_DIST
29592
29593 fi
29594 fi
29595
29596 if test "$wxUSE_MICROWIN" = 1; then
29597 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29598 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29599 if test "x$MICROWINDOWS" = x ; then
29600 { echo "$as_me:$LINENO: result: not found" >&5
29601 echo "${ECHO_T}not found" >&6; }
29602 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29603 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29604 { (exit 1); exit 1; }; }
29605 else
29606 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29607 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29608 fi
29609
29610 if test -f $MICROWINDOWS/lib/libmwin.a; then
29611 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29612 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29613 else
29614 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29615 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29616 { (exit 1); exit 1; }; }
29617 fi
29618
29619 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29620 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29621
29622 wxUSE_UNIVERSAL="yes"
29623
29624 AFMINSTALL=afminstall
29625 TOOLKIT=MICROWIN
29626 GUIDIST=MICROWIN_DIST
29627
29628 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29629 fi
29630
29631 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29632 { echo "$as_me:$LINENO: checking for X" >&5
29633 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29634
29635
29636 # Check whether --with-x was given.
29637 if test "${with_x+set}" = set; then
29638 withval=$with_x;
29639 fi
29640
29641 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29642 if test "x$with_x" = xno; then
29643 # The user explicitly disabled X.
29644 have_x=disabled
29645 else
29646 case $x_includes,$x_libraries in #(
29647 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29648 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29649 { (exit 1); exit 1; }; };; #(
29650 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29651 echo $ECHO_N "(cached) $ECHO_C" >&6
29652 else
29653 # One or both of the vars are not set, and there is no cached value.
29654 ac_x_includes=no ac_x_libraries=no
29655 rm -f -r conftest.dir
29656 if mkdir conftest.dir; then
29657 cd conftest.dir
29658 cat >Imakefile <<'_ACEOF'
29659 incroot:
29660 @echo incroot='${INCROOT}'
29661 usrlibdir:
29662 @echo usrlibdir='${USRLIBDIR}'
29663 libdir:
29664 @echo libdir='${LIBDIR}'
29665 _ACEOF
29666 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29668 for ac_var in incroot usrlibdir libdir; do
29669 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29670 done
29671 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29672 for ac_extension in a so sl; do
29673 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29674 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29675 ac_im_usrlibdir=$ac_im_libdir; break
29676 fi
29677 done
29678 # Screen out bogus values from the imake configuration. They are
29679 # bogus both because they are the default anyway, and because
29680 # using them would break gcc on systems where it needs fixed includes.
29681 case $ac_im_incroot in
29682 /usr/include) ac_x_includes= ;;
29683 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29684 esac
29685 case $ac_im_usrlibdir in
29686 /usr/lib | /lib) ;;
29687 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29688 esac
29689 fi
29690 cd ..
29691 rm -f -r conftest.dir
29692 fi
29693
29694 # Standard set of common directories for X headers.
29695 # Check X11 before X11Rn because it is often a symlink to the current release.
29696 ac_x_header_dirs='
29697 /usr/X11/include
29698 /usr/X11R6/include
29699 /usr/X11R5/include
29700 /usr/X11R4/include
29701
29702 /usr/include/X11
29703 /usr/include/X11R6
29704 /usr/include/X11R5
29705 /usr/include/X11R4
29706
29707 /usr/local/X11/include
29708 /usr/local/X11R6/include
29709 /usr/local/X11R5/include
29710 /usr/local/X11R4/include
29711
29712 /usr/local/include/X11
29713 /usr/local/include/X11R6
29714 /usr/local/include/X11R5
29715 /usr/local/include/X11R4
29716
29717 /usr/X386/include
29718 /usr/x386/include
29719 /usr/XFree86/include/X11
29720
29721 /usr/include
29722 /usr/local/include
29723 /usr/unsupported/include
29724 /usr/athena/include
29725 /usr/local/x11r5/include
29726 /usr/lpp/Xamples/include
29727
29728 /usr/openwin/include
29729 /usr/openwin/share/include'
29730
29731 if test "$ac_x_includes" = no; then
29732 # Guess where to find include files, by looking for Xlib.h.
29733 # First, try using that file with no special directory specified.
29734 cat >conftest.$ac_ext <<_ACEOF
29735 /* confdefs.h. */
29736 _ACEOF
29737 cat confdefs.h >>conftest.$ac_ext
29738 cat >>conftest.$ac_ext <<_ACEOF
29739 /* end confdefs.h. */
29740 #include <X11/Xlib.h>
29741 _ACEOF
29742 if { (ac_try="$ac_cpp conftest.$ac_ext"
29743 case "(($ac_try" in
29744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29745 *) ac_try_echo=$ac_try;;
29746 esac
29747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29749 ac_status=$?
29750 grep -v '^ *+' conftest.er1 >conftest.err
29751 rm -f conftest.er1
29752 cat conftest.err >&5
29753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754 (exit $ac_status); } >/dev/null && {
29755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29756 test ! -s conftest.err
29757 }; then
29758 # We can compile using X headers with no special include directory.
29759 ac_x_includes=
29760 else
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.$ac_ext >&5
29763
29764 for ac_dir in $ac_x_header_dirs; do
29765 if test -r "$ac_dir/X11/Xlib.h"; then
29766 ac_x_includes=$ac_dir
29767 break
29768 fi
29769 done
29770 fi
29771
29772 rm -f conftest.err conftest.$ac_ext
29773 fi # $ac_x_includes = no
29774
29775 if test "$ac_x_libraries" = no; then
29776 # Check for the libraries.
29777 # See if we find them without any special options.
29778 # Don't add to $LIBS permanently.
29779 ac_save_LIBS=$LIBS
29780 LIBS="-lX11 $LIBS"
29781 cat >conftest.$ac_ext <<_ACEOF
29782 /* confdefs.h. */
29783 _ACEOF
29784 cat confdefs.h >>conftest.$ac_ext
29785 cat >>conftest.$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29787 #include <X11/Xlib.h>
29788 int
29789 main ()
29790 {
29791 XrmInitialize ()
29792 ;
29793 return 0;
29794 }
29795 _ACEOF
29796 rm -f conftest.$ac_objext conftest$ac_exeext
29797 if { (ac_try="$ac_link"
29798 case "(($ac_try" in
29799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29800 *) ac_try_echo=$ac_try;;
29801 esac
29802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29803 (eval "$ac_link") 2>conftest.er1
29804 ac_status=$?
29805 grep -v '^ *+' conftest.er1 >conftest.err
29806 rm -f conftest.er1
29807 cat conftest.err >&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } && {
29810 test -z "$ac_c_werror_flag" ||
29811 test ! -s conftest.err
29812 } && test -s conftest$ac_exeext &&
29813 $as_test_x conftest$ac_exeext; then
29814 LIBS=$ac_save_LIBS
29815 # We can link X programs with no special library path.
29816 ac_x_libraries=
29817 else
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29820
29821 LIBS=$ac_save_LIBS
29822 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29823 do
29824 # Don't even attempt the hair of trying to link an X program!
29825 for ac_extension in a so sl; do
29826 if test -r "$ac_dir/libX11.$ac_extension"; then
29827 ac_x_libraries=$ac_dir
29828 break 2
29829 fi
29830 done
29831 done
29832 fi
29833
29834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29835 conftest$ac_exeext conftest.$ac_ext
29836 fi # $ac_x_libraries = no
29837
29838 case $ac_x_includes,$ac_x_libraries in #(
29839 no,* | *,no | *\'*)
29840 # Didn't find X, or a directory has "'" in its name.
29841 ac_cv_have_x="have_x=no";; #(
29842 *)
29843 # Record where we found X for the cache.
29844 ac_cv_have_x="have_x=yes\
29845 ac_x_includes='$ac_x_includes'\
29846 ac_x_libraries='$ac_x_libraries'"
29847 esac
29848 fi
29849 ;; #(
29850 *) have_x=yes;;
29851 esac
29852 eval "$ac_cv_have_x"
29853 fi # $with_x != no
29854
29855 if test "$have_x" != yes; then
29856 { echo "$as_me:$LINENO: result: $have_x" >&5
29857 echo "${ECHO_T}$have_x" >&6; }
29858 no_x=yes
29859 else
29860 # If each of the values was on the command line, it overrides each guess.
29861 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29862 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29863 # Update the cache value to reflect the command line values.
29864 ac_cv_have_x="have_x=yes\
29865 ac_x_includes='$x_includes'\
29866 ac_x_libraries='$x_libraries'"
29867 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29868 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29869 fi
29870
29871 if test "$no_x" = yes; then
29872 # Not all programs may use this symbol, but it does not hurt to define it.
29873
29874 cat >>confdefs.h <<\_ACEOF
29875 #define X_DISPLAY_MISSING 1
29876 _ACEOF
29877
29878 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29879 else
29880 if test -n "$x_includes"; then
29881 X_CFLAGS="$X_CFLAGS -I$x_includes"
29882 fi
29883
29884 # It would also be nice to do this for all -L options, not just this one.
29885 if test -n "$x_libraries"; then
29886 X_LIBS="$X_LIBS -L$x_libraries"
29887 # For Solaris; some versions of Sun CC require a space after -R and
29888 # others require no space. Words are not sufficient . . . .
29889 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29890 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29891 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29892 ac_xsave_c_werror_flag=$ac_c_werror_flag
29893 ac_c_werror_flag=yes
29894 cat >conftest.$ac_ext <<_ACEOF
29895 /* confdefs.h. */
29896 _ACEOF
29897 cat confdefs.h >>conftest.$ac_ext
29898 cat >>conftest.$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29900
29901 int
29902 main ()
29903 {
29904
29905 ;
29906 return 0;
29907 }
29908 _ACEOF
29909 rm -f conftest.$ac_objext conftest$ac_exeext
29910 if { (ac_try="$ac_link"
29911 case "(($ac_try" in
29912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29913 *) ac_try_echo=$ac_try;;
29914 esac
29915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29916 (eval "$ac_link") 2>conftest.er1
29917 ac_status=$?
29918 grep -v '^ *+' conftest.er1 >conftest.err
29919 rm -f conftest.er1
29920 cat conftest.err >&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } && {
29923 test -z "$ac_c_werror_flag" ||
29924 test ! -s conftest.err
29925 } && test -s conftest$ac_exeext &&
29926 $as_test_x conftest$ac_exeext; then
29927 { echo "$as_me:$LINENO: result: no" >&5
29928 echo "${ECHO_T}no" >&6; }
29929 X_LIBS="$X_LIBS -R$x_libraries"
29930 else
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.$ac_ext >&5
29933
29934 LIBS="$ac_xsave_LIBS -R $x_libraries"
29935 cat >conftest.$ac_ext <<_ACEOF
29936 /* confdefs.h. */
29937 _ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941
29942 int
29943 main ()
29944 {
29945
29946 ;
29947 return 0;
29948 }
29949 _ACEOF
29950 rm -f conftest.$ac_objext conftest$ac_exeext
29951 if { (ac_try="$ac_link"
29952 case "(($ac_try" in
29953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29954 *) ac_try_echo=$ac_try;;
29955 esac
29956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29957 (eval "$ac_link") 2>conftest.er1
29958 ac_status=$?
29959 grep -v '^ *+' conftest.er1 >conftest.err
29960 rm -f conftest.er1
29961 cat conftest.err >&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } && {
29964 test -z "$ac_c_werror_flag" ||
29965 test ! -s conftest.err
29966 } && test -s conftest$ac_exeext &&
29967 $as_test_x conftest$ac_exeext; then
29968 { echo "$as_me:$LINENO: result: yes" >&5
29969 echo "${ECHO_T}yes" >&6; }
29970 X_LIBS="$X_LIBS -R $x_libraries"
29971 else
29972 echo "$as_me: failed program was:" >&5
29973 sed 's/^/| /' conftest.$ac_ext >&5
29974
29975 { echo "$as_me:$LINENO: result: neither works" >&5
29976 echo "${ECHO_T}neither works" >&6; }
29977 fi
29978
29979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29980 conftest$ac_exeext conftest.$ac_ext
29981 fi
29982
29983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29984 conftest$ac_exeext conftest.$ac_ext
29985 ac_c_werror_flag=$ac_xsave_c_werror_flag
29986 LIBS=$ac_xsave_LIBS
29987 fi
29988
29989 # Check for system-dependent libraries X programs must link with.
29990 # Do this before checking for the system-independent R6 libraries
29991 # (-lICE), since we may need -lsocket or whatever for X linking.
29992
29993 if test "$ISC" = yes; then
29994 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29995 else
29996 # Martyn Johnson says this is needed for Ultrix, if the X
29997 # libraries were built with DECnet support. And Karl Berry says
29998 # the Alpha needs dnet_stub (dnet does not exist).
29999 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30000 cat >conftest.$ac_ext <<_ACEOF
30001 /* confdefs.h. */
30002 _ACEOF
30003 cat confdefs.h >>conftest.$ac_ext
30004 cat >>conftest.$ac_ext <<_ACEOF
30005 /* end confdefs.h. */
30006
30007 /* Override any GCC internal prototype to avoid an error.
30008 Use char because int might match the return type of a GCC
30009 builtin and then its argument prototype would still apply. */
30010 #ifdef __cplusplus
30011 extern "C"
30012 #endif
30013 char XOpenDisplay ();
30014 int
30015 main ()
30016 {
30017 return XOpenDisplay ();
30018 ;
30019 return 0;
30020 }
30021 _ACEOF
30022 rm -f conftest.$ac_objext conftest$ac_exeext
30023 if { (ac_try="$ac_link"
30024 case "(($ac_try" in
30025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30026 *) ac_try_echo=$ac_try;;
30027 esac
30028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30029 (eval "$ac_link") 2>conftest.er1
30030 ac_status=$?
30031 grep -v '^ *+' conftest.er1 >conftest.err
30032 rm -f conftest.er1
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } && {
30036 test -z "$ac_c_werror_flag" ||
30037 test ! -s conftest.err
30038 } && test -s conftest$ac_exeext &&
30039 $as_test_x conftest$ac_exeext; then
30040 :
30041 else
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30044
30045 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30046 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30047 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30048 echo $ECHO_N "(cached) $ECHO_C" >&6
30049 else
30050 ac_check_lib_save_LIBS=$LIBS
30051 LIBS="-ldnet $LIBS"
30052 cat >conftest.$ac_ext <<_ACEOF
30053 /* confdefs.h. */
30054 _ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30058
30059 /* Override any GCC internal prototype to avoid an error.
30060 Use char because int might match the return type of a GCC
30061 builtin and then its argument prototype would still apply. */
30062 #ifdef __cplusplus
30063 extern "C"
30064 #endif
30065 char dnet_ntoa ();
30066 int
30067 main ()
30068 {
30069 return dnet_ntoa ();
30070 ;
30071 return 0;
30072 }
30073 _ACEOF
30074 rm -f conftest.$ac_objext conftest$ac_exeext
30075 if { (ac_try="$ac_link"
30076 case "(($ac_try" in
30077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30078 *) ac_try_echo=$ac_try;;
30079 esac
30080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30081 (eval "$ac_link") 2>conftest.er1
30082 ac_status=$?
30083 grep -v '^ *+' conftest.er1 >conftest.err
30084 rm -f conftest.er1
30085 cat conftest.err >&5
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); } && {
30088 test -z "$ac_c_werror_flag" ||
30089 test ! -s conftest.err
30090 } && test -s conftest$ac_exeext &&
30091 $as_test_x conftest$ac_exeext; then
30092 ac_cv_lib_dnet_dnet_ntoa=yes
30093 else
30094 echo "$as_me: failed program was:" >&5
30095 sed 's/^/| /' conftest.$ac_ext >&5
30096
30097 ac_cv_lib_dnet_dnet_ntoa=no
30098 fi
30099
30100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30101 conftest$ac_exeext conftest.$ac_ext
30102 LIBS=$ac_check_lib_save_LIBS
30103 fi
30104 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30105 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30106 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30107 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30108 fi
30109
30110 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30111 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30112 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30113 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30115 else
30116 ac_check_lib_save_LIBS=$LIBS
30117 LIBS="-ldnet_stub $LIBS"
30118 cat >conftest.$ac_ext <<_ACEOF
30119 /* confdefs.h. */
30120 _ACEOF
30121 cat confdefs.h >>conftest.$ac_ext
30122 cat >>conftest.$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30124
30125 /* Override any GCC internal prototype to avoid an error.
30126 Use char because int might match the return type of a GCC
30127 builtin and then its argument prototype would still apply. */
30128 #ifdef __cplusplus
30129 extern "C"
30130 #endif
30131 char dnet_ntoa ();
30132 int
30133 main ()
30134 {
30135 return dnet_ntoa ();
30136 ;
30137 return 0;
30138 }
30139 _ACEOF
30140 rm -f conftest.$ac_objext conftest$ac_exeext
30141 if { (ac_try="$ac_link"
30142 case "(($ac_try" in
30143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30144 *) ac_try_echo=$ac_try;;
30145 esac
30146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30147 (eval "$ac_link") 2>conftest.er1
30148 ac_status=$?
30149 grep -v '^ *+' conftest.er1 >conftest.err
30150 rm -f conftest.er1
30151 cat conftest.err >&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } && {
30154 test -z "$ac_c_werror_flag" ||
30155 test ! -s conftest.err
30156 } && test -s conftest$ac_exeext &&
30157 $as_test_x conftest$ac_exeext; then
30158 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30159 else
30160 echo "$as_me: failed program was:" >&5
30161 sed 's/^/| /' conftest.$ac_ext >&5
30162
30163 ac_cv_lib_dnet_stub_dnet_ntoa=no
30164 fi
30165
30166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30167 conftest$ac_exeext conftest.$ac_ext
30168 LIBS=$ac_check_lib_save_LIBS
30169 fi
30170 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30171 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30172 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30173 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30174 fi
30175
30176 fi
30177 fi
30178
30179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30180 conftest$ac_exeext conftest.$ac_ext
30181 LIBS="$ac_xsave_LIBS"
30182
30183 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30184 # to get the SysV transport functions.
30185 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30186 # needs -lnsl.
30187 # The nsl library prevents programs from opening the X display
30188 # on Irix 5.2, according to T.E. Dickey.
30189 # The functions gethostbyname, getservbyname, and inet_addr are
30190 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30191 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30192 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30193 if test "${ac_cv_func_gethostbyname+set}" = set; then
30194 echo $ECHO_N "(cached) $ECHO_C" >&6
30195 else
30196 cat >conftest.$ac_ext <<_ACEOF
30197 /* confdefs.h. */
30198 _ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30204 #define gethostbyname innocuous_gethostbyname
30205
30206 /* System header to define __stub macros and hopefully few prototypes,
30207 which can conflict with char gethostbyname (); below.
30208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30209 <limits.h> exists even on freestanding compilers. */
30210
30211 #ifdef __STDC__
30212 # include <limits.h>
30213 #else
30214 # include <assert.h>
30215 #endif
30216
30217 #undef gethostbyname
30218
30219 /* Override any GCC internal prototype to avoid an error.
30220 Use char because int might match the return type of a GCC
30221 builtin and then its argument prototype would still apply. */
30222 #ifdef __cplusplus
30223 extern "C"
30224 #endif
30225 char gethostbyname ();
30226 /* The GNU C library defines this for functions which it implements
30227 to always fail with ENOSYS. Some functions are actually named
30228 something starting with __ and the normal name is an alias. */
30229 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30230 choke me
30231 #endif
30232
30233 int
30234 main ()
30235 {
30236 return gethostbyname ();
30237 ;
30238 return 0;
30239 }
30240 _ACEOF
30241 rm -f conftest.$ac_objext conftest$ac_exeext
30242 if { (ac_try="$ac_link"
30243 case "(($ac_try" in
30244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30245 *) ac_try_echo=$ac_try;;
30246 esac
30247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30248 (eval "$ac_link") 2>conftest.er1
30249 ac_status=$?
30250 grep -v '^ *+' conftest.er1 >conftest.err
30251 rm -f conftest.er1
30252 cat conftest.err >&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); } && {
30255 test -z "$ac_c_werror_flag" ||
30256 test ! -s conftest.err
30257 } && test -s conftest$ac_exeext &&
30258 $as_test_x conftest$ac_exeext; then
30259 ac_cv_func_gethostbyname=yes
30260 else
30261 echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.$ac_ext >&5
30263
30264 ac_cv_func_gethostbyname=no
30265 fi
30266
30267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30268 conftest$ac_exeext conftest.$ac_ext
30269 fi
30270 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30271 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30272
30273 if test $ac_cv_func_gethostbyname = no; then
30274 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30275 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30276 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30277 echo $ECHO_N "(cached) $ECHO_C" >&6
30278 else
30279 ac_check_lib_save_LIBS=$LIBS
30280 LIBS="-lnsl $LIBS"
30281 cat >conftest.$ac_ext <<_ACEOF
30282 /* confdefs.h. */
30283 _ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h. */
30287
30288 /* Override any GCC internal prototype to avoid an error.
30289 Use char because int might match the return type of a GCC
30290 builtin and then its argument prototype would still apply. */
30291 #ifdef __cplusplus
30292 extern "C"
30293 #endif
30294 char gethostbyname ();
30295 int
30296 main ()
30297 {
30298 return gethostbyname ();
30299 ;
30300 return 0;
30301 }
30302 _ACEOF
30303 rm -f conftest.$ac_objext conftest$ac_exeext
30304 if { (ac_try="$ac_link"
30305 case "(($ac_try" in
30306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30307 *) ac_try_echo=$ac_try;;
30308 esac
30309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30310 (eval "$ac_link") 2>conftest.er1
30311 ac_status=$?
30312 grep -v '^ *+' conftest.er1 >conftest.err
30313 rm -f conftest.er1
30314 cat conftest.err >&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); } && {
30317 test -z "$ac_c_werror_flag" ||
30318 test ! -s conftest.err
30319 } && test -s conftest$ac_exeext &&
30320 $as_test_x conftest$ac_exeext; then
30321 ac_cv_lib_nsl_gethostbyname=yes
30322 else
30323 echo "$as_me: failed program was:" >&5
30324 sed 's/^/| /' conftest.$ac_ext >&5
30325
30326 ac_cv_lib_nsl_gethostbyname=no
30327 fi
30328
30329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30330 conftest$ac_exeext conftest.$ac_ext
30331 LIBS=$ac_check_lib_save_LIBS
30332 fi
30333 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30337 fi
30338
30339 if test $ac_cv_lib_nsl_gethostbyname = no; then
30340 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30343 echo $ECHO_N "(cached) $ECHO_C" >&6
30344 else
30345 ac_check_lib_save_LIBS=$LIBS
30346 LIBS="-lbsd $LIBS"
30347 cat >conftest.$ac_ext <<_ACEOF
30348 /* confdefs.h. */
30349 _ACEOF
30350 cat confdefs.h >>conftest.$ac_ext
30351 cat >>conftest.$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30353
30354 /* Override any GCC internal prototype to avoid an error.
30355 Use char because int might match the return type of a GCC
30356 builtin and then its argument prototype would still apply. */
30357 #ifdef __cplusplus
30358 extern "C"
30359 #endif
30360 char gethostbyname ();
30361 int
30362 main ()
30363 {
30364 return gethostbyname ();
30365 ;
30366 return 0;
30367 }
30368 _ACEOF
30369 rm -f conftest.$ac_objext conftest$ac_exeext
30370 if { (ac_try="$ac_link"
30371 case "(($ac_try" in
30372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30373 *) ac_try_echo=$ac_try;;
30374 esac
30375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30376 (eval "$ac_link") 2>conftest.er1
30377 ac_status=$?
30378 grep -v '^ *+' conftest.er1 >conftest.err
30379 rm -f conftest.er1
30380 cat conftest.err >&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); } && {
30383 test -z "$ac_c_werror_flag" ||
30384 test ! -s conftest.err
30385 } && test -s conftest$ac_exeext &&
30386 $as_test_x conftest$ac_exeext; then
30387 ac_cv_lib_bsd_gethostbyname=yes
30388 else
30389 echo "$as_me: failed program was:" >&5
30390 sed 's/^/| /' conftest.$ac_ext >&5
30391
30392 ac_cv_lib_bsd_gethostbyname=no
30393 fi
30394
30395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30396 conftest$ac_exeext conftest.$ac_ext
30397 LIBS=$ac_check_lib_save_LIBS
30398 fi
30399 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30400 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30401 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30402 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30403 fi
30404
30405 fi
30406 fi
30407
30408 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30409 # socket/setsockopt and other routines are undefined under SCO ODT
30410 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30411 # on later versions), says Simon Leinen: it contains gethostby*
30412 # variants that don't use the name server (or something). -lsocket
30413 # must be given before -lnsl if both are needed. We assume that
30414 # if connect needs -lnsl, so does gethostbyname.
30415 { echo "$as_me:$LINENO: checking for connect" >&5
30416 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30417 if test "${ac_cv_func_connect+set}" = set; then
30418 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 else
30420 cat >conftest.$ac_ext <<_ACEOF
30421 /* confdefs.h. */
30422 _ACEOF
30423 cat confdefs.h >>conftest.$ac_ext
30424 cat >>conftest.$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30428 #define connect innocuous_connect
30429
30430 /* System header to define __stub macros and hopefully few prototypes,
30431 which can conflict with char connect (); below.
30432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30433 <limits.h> exists even on freestanding compilers. */
30434
30435 #ifdef __STDC__
30436 # include <limits.h>
30437 #else
30438 # include <assert.h>
30439 #endif
30440
30441 #undef connect
30442
30443 /* Override any GCC internal prototype to avoid an error.
30444 Use char because int might match the return type of a GCC
30445 builtin and then its argument prototype would still apply. */
30446 #ifdef __cplusplus
30447 extern "C"
30448 #endif
30449 char connect ();
30450 /* The GNU C library defines this for functions which it implements
30451 to always fail with ENOSYS. Some functions are actually named
30452 something starting with __ and the normal name is an alias. */
30453 #if defined __stub_connect || defined __stub___connect
30454 choke me
30455 #endif
30456
30457 int
30458 main ()
30459 {
30460 return connect ();
30461 ;
30462 return 0;
30463 }
30464 _ACEOF
30465 rm -f conftest.$ac_objext conftest$ac_exeext
30466 if { (ac_try="$ac_link"
30467 case "(($ac_try" in
30468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30469 *) ac_try_echo=$ac_try;;
30470 esac
30471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30472 (eval "$ac_link") 2>conftest.er1
30473 ac_status=$?
30474 grep -v '^ *+' conftest.er1 >conftest.err
30475 rm -f conftest.er1
30476 cat conftest.err >&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } && {
30479 test -z "$ac_c_werror_flag" ||
30480 test ! -s conftest.err
30481 } && test -s conftest$ac_exeext &&
30482 $as_test_x conftest$ac_exeext; then
30483 ac_cv_func_connect=yes
30484 else
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.$ac_ext >&5
30487
30488 ac_cv_func_connect=no
30489 fi
30490
30491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30492 conftest$ac_exeext conftest.$ac_ext
30493 fi
30494 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30495 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30496
30497 if test $ac_cv_func_connect = no; then
30498 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30499 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30500 if test "${ac_cv_lib_socket_connect+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30502 else
30503 ac_check_lib_save_LIBS=$LIBS
30504 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30505 cat >conftest.$ac_ext <<_ACEOF
30506 /* confdefs.h. */
30507 _ACEOF
30508 cat confdefs.h >>conftest.$ac_ext
30509 cat >>conftest.$ac_ext <<_ACEOF
30510 /* end confdefs.h. */
30511
30512 /* Override any GCC internal prototype to avoid an error.
30513 Use char because int might match the return type of a GCC
30514 builtin and then its argument prototype would still apply. */
30515 #ifdef __cplusplus
30516 extern "C"
30517 #endif
30518 char connect ();
30519 int
30520 main ()
30521 {
30522 return connect ();
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_lib_socket_connect=yes
30546 else
30547 echo "$as_me: failed program was:" >&5
30548 sed 's/^/| /' conftest.$ac_ext >&5
30549
30550 ac_cv_lib_socket_connect=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 LIBS=$ac_check_lib_save_LIBS
30556 fi
30557 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30558 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30559 if test $ac_cv_lib_socket_connect = yes; then
30560 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30561 fi
30562
30563 fi
30564
30565 # Guillermo Gomez says -lposix is necessary on A/UX.
30566 { echo "$as_me:$LINENO: checking for remove" >&5
30567 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30568 if test "${ac_cv_func_remove+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30570 else
30571 cat >conftest.$ac_ext <<_ACEOF
30572 /* confdefs.h. */
30573 _ACEOF
30574 cat confdefs.h >>conftest.$ac_ext
30575 cat >>conftest.$ac_ext <<_ACEOF
30576 /* end confdefs.h. */
30577 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30579 #define remove innocuous_remove
30580
30581 /* System header to define __stub macros and hopefully few prototypes,
30582 which can conflict with char remove (); below.
30583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30584 <limits.h> exists even on freestanding compilers. */
30585
30586 #ifdef __STDC__
30587 # include <limits.h>
30588 #else
30589 # include <assert.h>
30590 #endif
30591
30592 #undef remove
30593
30594 /* Override any GCC internal prototype to avoid an error.
30595 Use char because int might match the return type of a GCC
30596 builtin and then its argument prototype would still apply. */
30597 #ifdef __cplusplus
30598 extern "C"
30599 #endif
30600 char remove ();
30601 /* The GNU C library defines this for functions which it implements
30602 to always fail with ENOSYS. Some functions are actually named
30603 something starting with __ and the normal name is an alias. */
30604 #if defined __stub_remove || defined __stub___remove
30605 choke me
30606 #endif
30607
30608 int
30609 main ()
30610 {
30611 return remove ();
30612 ;
30613 return 0;
30614 }
30615 _ACEOF
30616 rm -f conftest.$ac_objext conftest$ac_exeext
30617 if { (ac_try="$ac_link"
30618 case "(($ac_try" in
30619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30620 *) ac_try_echo=$ac_try;;
30621 esac
30622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30623 (eval "$ac_link") 2>conftest.er1
30624 ac_status=$?
30625 grep -v '^ *+' conftest.er1 >conftest.err
30626 rm -f conftest.er1
30627 cat conftest.err >&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); } && {
30630 test -z "$ac_c_werror_flag" ||
30631 test ! -s conftest.err
30632 } && test -s conftest$ac_exeext &&
30633 $as_test_x conftest$ac_exeext; then
30634 ac_cv_func_remove=yes
30635 else
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.$ac_ext >&5
30638
30639 ac_cv_func_remove=no
30640 fi
30641
30642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30643 conftest$ac_exeext conftest.$ac_ext
30644 fi
30645 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30646 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30647
30648 if test $ac_cv_func_remove = no; then
30649 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30650 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30651 if test "${ac_cv_lib_posix_remove+set}" = set; then
30652 echo $ECHO_N "(cached) $ECHO_C" >&6
30653 else
30654 ac_check_lib_save_LIBS=$LIBS
30655 LIBS="-lposix $LIBS"
30656 cat >conftest.$ac_ext <<_ACEOF
30657 /* confdefs.h. */
30658 _ACEOF
30659 cat confdefs.h >>conftest.$ac_ext
30660 cat >>conftest.$ac_ext <<_ACEOF
30661 /* end confdefs.h. */
30662
30663 /* Override any GCC internal prototype to avoid an error.
30664 Use char because int might match the return type of a GCC
30665 builtin and then its argument prototype would still apply. */
30666 #ifdef __cplusplus
30667 extern "C"
30668 #endif
30669 char remove ();
30670 int
30671 main ()
30672 {
30673 return remove ();
30674 ;
30675 return 0;
30676 }
30677 _ACEOF
30678 rm -f conftest.$ac_objext conftest$ac_exeext
30679 if { (ac_try="$ac_link"
30680 case "(($ac_try" in
30681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30682 *) ac_try_echo=$ac_try;;
30683 esac
30684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30685 (eval "$ac_link") 2>conftest.er1
30686 ac_status=$?
30687 grep -v '^ *+' conftest.er1 >conftest.err
30688 rm -f conftest.er1
30689 cat conftest.err >&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); } && {
30692 test -z "$ac_c_werror_flag" ||
30693 test ! -s conftest.err
30694 } && test -s conftest$ac_exeext &&
30695 $as_test_x conftest$ac_exeext; then
30696 ac_cv_lib_posix_remove=yes
30697 else
30698 echo "$as_me: failed program was:" >&5
30699 sed 's/^/| /' conftest.$ac_ext >&5
30700
30701 ac_cv_lib_posix_remove=no
30702 fi
30703
30704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30705 conftest$ac_exeext conftest.$ac_ext
30706 LIBS=$ac_check_lib_save_LIBS
30707 fi
30708 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30709 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30710 if test $ac_cv_lib_posix_remove = yes; then
30711 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30712 fi
30713
30714 fi
30715
30716 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30717 { echo "$as_me:$LINENO: checking for shmat" >&5
30718 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30719 if test "${ac_cv_func_shmat+set}" = set; then
30720 echo $ECHO_N "(cached) $ECHO_C" >&6
30721 else
30722 cat >conftest.$ac_ext <<_ACEOF
30723 /* confdefs.h. */
30724 _ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30728 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30730 #define shmat innocuous_shmat
30731
30732 /* System header to define __stub macros and hopefully few prototypes,
30733 which can conflict with char shmat (); below.
30734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30735 <limits.h> exists even on freestanding compilers. */
30736
30737 #ifdef __STDC__
30738 # include <limits.h>
30739 #else
30740 # include <assert.h>
30741 #endif
30742
30743 #undef shmat
30744
30745 /* Override any GCC internal prototype to avoid an error.
30746 Use char because int might match the return type of a GCC
30747 builtin and then its argument prototype would still apply. */
30748 #ifdef __cplusplus
30749 extern "C"
30750 #endif
30751 char shmat ();
30752 /* The GNU C library defines this for functions which it implements
30753 to always fail with ENOSYS. Some functions are actually named
30754 something starting with __ and the normal name is an alias. */
30755 #if defined __stub_shmat || defined __stub___shmat
30756 choke me
30757 #endif
30758
30759 int
30760 main ()
30761 {
30762 return shmat ();
30763 ;
30764 return 0;
30765 }
30766 _ACEOF
30767 rm -f conftest.$ac_objext conftest$ac_exeext
30768 if { (ac_try="$ac_link"
30769 case "(($ac_try" in
30770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30771 *) ac_try_echo=$ac_try;;
30772 esac
30773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774 (eval "$ac_link") 2>conftest.er1
30775 ac_status=$?
30776 grep -v '^ *+' conftest.er1 >conftest.err
30777 rm -f conftest.er1
30778 cat conftest.err >&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); } && {
30781 test -z "$ac_c_werror_flag" ||
30782 test ! -s conftest.err
30783 } && test -s conftest$ac_exeext &&
30784 $as_test_x conftest$ac_exeext; then
30785 ac_cv_func_shmat=yes
30786 else
30787 echo "$as_me: failed program was:" >&5
30788 sed 's/^/| /' conftest.$ac_ext >&5
30789
30790 ac_cv_func_shmat=no
30791 fi
30792
30793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30794 conftest$ac_exeext conftest.$ac_ext
30795 fi
30796 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30797 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30798
30799 if test $ac_cv_func_shmat = no; then
30800 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30801 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30802 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30803 echo $ECHO_N "(cached) $ECHO_C" >&6
30804 else
30805 ac_check_lib_save_LIBS=$LIBS
30806 LIBS="-lipc $LIBS"
30807 cat >conftest.$ac_ext <<_ACEOF
30808 /* confdefs.h. */
30809 _ACEOF
30810 cat confdefs.h >>conftest.$ac_ext
30811 cat >>conftest.$ac_ext <<_ACEOF
30812 /* end confdefs.h. */
30813
30814 /* Override any GCC internal prototype to avoid an error.
30815 Use char because int might match the return type of a GCC
30816 builtin and then its argument prototype would still apply. */
30817 #ifdef __cplusplus
30818 extern "C"
30819 #endif
30820 char shmat ();
30821 int
30822 main ()
30823 {
30824 return shmat ();
30825 ;
30826 return 0;
30827 }
30828 _ACEOF
30829 rm -f conftest.$ac_objext conftest$ac_exeext
30830 if { (ac_try="$ac_link"
30831 case "(($ac_try" in
30832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30833 *) ac_try_echo=$ac_try;;
30834 esac
30835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30836 (eval "$ac_link") 2>conftest.er1
30837 ac_status=$?
30838 grep -v '^ *+' conftest.er1 >conftest.err
30839 rm -f conftest.er1
30840 cat conftest.err >&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } && {
30843 test -z "$ac_c_werror_flag" ||
30844 test ! -s conftest.err
30845 } && test -s conftest$ac_exeext &&
30846 $as_test_x conftest$ac_exeext; then
30847 ac_cv_lib_ipc_shmat=yes
30848 else
30849 echo "$as_me: failed program was:" >&5
30850 sed 's/^/| /' conftest.$ac_ext >&5
30851
30852 ac_cv_lib_ipc_shmat=no
30853 fi
30854
30855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30856 conftest$ac_exeext conftest.$ac_ext
30857 LIBS=$ac_check_lib_save_LIBS
30858 fi
30859 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30860 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30861 if test $ac_cv_lib_ipc_shmat = yes; then
30862 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30863 fi
30864
30865 fi
30866 fi
30867
30868 # Check for libraries that X11R6 Xt/Xaw programs need.
30869 ac_save_LDFLAGS=$LDFLAGS
30870 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30871 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30872 # check for ICE first), but we must link in the order -lSM -lICE or
30873 # we get undefined symbols. So assume we have SM if we have ICE.
30874 # These have to be linked with before -lX11, unlike the other
30875 # libraries we check for below, so use a different variable.
30876 # John Interrante, Karl Berry
30877 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30878 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30879 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30880 echo $ECHO_N "(cached) $ECHO_C" >&6
30881 else
30882 ac_check_lib_save_LIBS=$LIBS
30883 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30884 cat >conftest.$ac_ext <<_ACEOF
30885 /* confdefs.h. */
30886 _ACEOF
30887 cat confdefs.h >>conftest.$ac_ext
30888 cat >>conftest.$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30890
30891 /* Override any GCC internal prototype to avoid an error.
30892 Use char because int might match the return type of a GCC
30893 builtin and then its argument prototype would still apply. */
30894 #ifdef __cplusplus
30895 extern "C"
30896 #endif
30897 char IceConnectionNumber ();
30898 int
30899 main ()
30900 {
30901 return IceConnectionNumber ();
30902 ;
30903 return 0;
30904 }
30905 _ACEOF
30906 rm -f conftest.$ac_objext conftest$ac_exeext
30907 if { (ac_try="$ac_link"
30908 case "(($ac_try" in
30909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30910 *) ac_try_echo=$ac_try;;
30911 esac
30912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30913 (eval "$ac_link") 2>conftest.er1
30914 ac_status=$?
30915 grep -v '^ *+' conftest.er1 >conftest.err
30916 rm -f conftest.er1
30917 cat conftest.err >&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } && {
30920 test -z "$ac_c_werror_flag" ||
30921 test ! -s conftest.err
30922 } && test -s conftest$ac_exeext &&
30923 $as_test_x conftest$ac_exeext; then
30924 ac_cv_lib_ICE_IceConnectionNumber=yes
30925 else
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.$ac_ext >&5
30928
30929 ac_cv_lib_ICE_IceConnectionNumber=no
30930 fi
30931
30932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30933 conftest$ac_exeext conftest.$ac_ext
30934 LIBS=$ac_check_lib_save_LIBS
30935 fi
30936 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30937 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30938 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30939 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30940 fi
30941
30942 LDFLAGS=$ac_save_LDFLAGS
30943
30944 fi
30945
30946
30947 if test "$no_x" = "yes"; then
30948 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30949 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30950 { (exit 1); exit 1; }; }
30951 fi
30952
30953 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30954 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30955 AFMINSTALL=afminstall
30956 COMPILED_X_PROGRAM=0
30957
30958 fi
30959
30960 if test "$wxUSE_X11" = 1; then
30961 if test "$wxUSE_NANOX" = "yes"; then
30962 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30963 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30964 if test "x$MICROWIN" = x ; then
30965 { echo "$as_me:$LINENO: result: not found" >&5
30966 echo "${ECHO_T}not found" >&6; }
30967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30969 { (exit 1); exit 1; }; }
30970 else
30971 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30972 echo "${ECHO_T}$MICROWIN" >&6; }
30973 cat >>confdefs.h <<\_ACEOF
30974 #define wxUSE_NANOX 1
30975 _ACEOF
30976
30977 fi
30978 fi
30979
30980 if test "$wxUSE_UNICODE" = "yes"; then
30981
30982
30983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30984 if test -n "$ac_tool_prefix"; then
30985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30986 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 else
30992 case $PKG_CONFIG in
30993 [\\/]* | ?:[\\/]*)
30994 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30995 ;;
30996 *)
30997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30998 for as_dir in $PATH
30999 do
31000 IFS=$as_save_IFS
31001 test -z "$as_dir" && as_dir=.
31002 for ac_exec_ext in '' $ac_executable_extensions; do
31003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31004 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31006 break 2
31007 fi
31008 done
31009 done
31010 IFS=$as_save_IFS
31011
31012 ;;
31013 esac
31014 fi
31015 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31016 if test -n "$PKG_CONFIG"; then
31017 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31018 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31019 else
31020 { echo "$as_me:$LINENO: result: no" >&5
31021 echo "${ECHO_T}no" >&6; }
31022 fi
31023
31024
31025 fi
31026 if test -z "$ac_cv_path_PKG_CONFIG"; then
31027 ac_pt_PKG_CONFIG=$PKG_CONFIG
31028 # Extract the first word of "pkg-config", so it can be a program name with args.
31029 set dummy pkg-config; ac_word=$2
31030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31033 echo $ECHO_N "(cached) $ECHO_C" >&6
31034 else
31035 case $ac_pt_PKG_CONFIG in
31036 [\\/]* | ?:[\\/]*)
31037 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31038 ;;
31039 *)
31040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31041 for as_dir in $PATH
31042 do
31043 IFS=$as_save_IFS
31044 test -z "$as_dir" && as_dir=.
31045 for ac_exec_ext in '' $ac_executable_extensions; do
31046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31047 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31049 break 2
31050 fi
31051 done
31052 done
31053 IFS=$as_save_IFS
31054
31055 ;;
31056 esac
31057 fi
31058 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31059 if test -n "$ac_pt_PKG_CONFIG"; then
31060 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31061 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31062 else
31063 { echo "$as_me:$LINENO: result: no" >&5
31064 echo "${ECHO_T}no" >&6; }
31065 fi
31066
31067 if test "x$ac_pt_PKG_CONFIG" = x; then
31068 PKG_CONFIG=""
31069 else
31070 case $cross_compiling:$ac_tool_warned in
31071 yes:)
31072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31073 whose name does not start with the host triplet. If you think this
31074 configuration is useful to you, please write to autoconf@gnu.org." >&5
31075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31076 whose name does not start with the host triplet. If you think this
31077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31078 ac_tool_warned=yes ;;
31079 esac
31080 PKG_CONFIG=$ac_pt_PKG_CONFIG
31081 fi
31082 else
31083 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31084 fi
31085
31086 fi
31087 if test -n "$PKG_CONFIG"; then
31088 _pkg_min_version=0.9.0
31089 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31090 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31092 { echo "$as_me:$LINENO: result: yes" >&5
31093 echo "${ECHO_T}yes" >&6; }
31094 else
31095 { echo "$as_me:$LINENO: result: no" >&5
31096 echo "${ECHO_T}no" >&6; }
31097 PKG_CONFIG=""
31098 fi
31099
31100 fi
31101
31102
31103 pkg_failed=no
31104 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31105 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31106
31107 if test -n "$PKG_CONFIG"; then
31108 if test -n "$PANGOX_CFLAGS"; then
31109 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31110 else
31111 if test -n "$PKG_CONFIG" && \
31112 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31113 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; then
31117 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31118 else
31119 pkg_failed=yes
31120 fi
31121 fi
31122 else
31123 pkg_failed=untried
31124 fi
31125 if test -n "$PKG_CONFIG"; then
31126 if test -n "$PANGOX_LIBS"; then
31127 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31128 else
31129 if test -n "$PKG_CONFIG" && \
31130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31131 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31132 ac_status=$?
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; then
31135 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31136 else
31137 pkg_failed=yes
31138 fi
31139 fi
31140 else
31141 pkg_failed=untried
31142 fi
31143
31144
31145
31146 if test $pkg_failed = yes; then
31147
31148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31149 _pkg_short_errors_supported=yes
31150 else
31151 _pkg_short_errors_supported=no
31152 fi
31153 if test $_pkg_short_errors_supported = yes; then
31154 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31155 else
31156 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31157 fi
31158 # Put the nasty error message in config.log where it belongs
31159 echo "$PANGOX_PKG_ERRORS" >&5
31160
31161
31162 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31163 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31164 { (exit 1); exit 1; }; }
31165
31166
31167 elif test $pkg_failed = untried; then
31168
31169 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31170 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31171 { (exit 1); exit 1; }; }
31172
31173
31174 else
31175 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31176 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31177 { echo "$as_me:$LINENO: result: yes" >&5
31178 echo "${ECHO_T}yes" >&6; }
31179
31180 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31181 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31182 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31183
31184 fi
31185
31186 pkg_failed=no
31187 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31188 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31189
31190 if test -n "$PKG_CONFIG"; then
31191 if test -n "$PANGOFT2_CFLAGS"; then
31192 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31193 else
31194 if test -n "$PKG_CONFIG" && \
31195 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31196 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31197 ac_status=$?
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); }; then
31200 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31201 else
31202 pkg_failed=yes
31203 fi
31204 fi
31205 else
31206 pkg_failed=untried
31207 fi
31208 if test -n "$PKG_CONFIG"; then
31209 if test -n "$PANGOFT2_LIBS"; then
31210 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31211 else
31212 if test -n "$PKG_CONFIG" && \
31213 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31214 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31215 ac_status=$?
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; then
31218 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31219 else
31220 pkg_failed=yes
31221 fi
31222 fi
31223 else
31224 pkg_failed=untried
31225 fi
31226
31227
31228
31229 if test $pkg_failed = yes; then
31230
31231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31232 _pkg_short_errors_supported=yes
31233 else
31234 _pkg_short_errors_supported=no
31235 fi
31236 if test $_pkg_short_errors_supported = yes; then
31237 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31238 else
31239 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31240 fi
31241 # Put the nasty error message in config.log where it belongs
31242 echo "$PANGOFT2_PKG_ERRORS" >&5
31243
31244
31245 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31246 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31247 wxUSE_PRINTING_ARCHITECTURE="no"
31248
31249
31250 elif test $pkg_failed = untried; then
31251
31252 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31253 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31254 wxUSE_PRINTING_ARCHITECTURE="no"
31255
31256
31257 else
31258 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31259 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31260 { echo "$as_me:$LINENO: result: yes" >&5
31261 echo "${ECHO_T}yes" >&6; }
31262
31263 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31264 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31266
31267 fi
31268
31269 pkg_failed=no
31270 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31271 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31272
31273 if test -n "$PKG_CONFIG"; then
31274 if test -n "$PANGOXFT_CFLAGS"; then
31275 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31276 else
31277 if test -n "$PKG_CONFIG" && \
31278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31279 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31280 ac_status=$?
31281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31282 (exit $ac_status); }; then
31283 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31284 else
31285 pkg_failed=yes
31286 fi
31287 fi
31288 else
31289 pkg_failed=untried
31290 fi
31291 if test -n "$PKG_CONFIG"; then
31292 if test -n "$PANGOXFT_LIBS"; then
31293 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31294 else
31295 if test -n "$PKG_CONFIG" && \
31296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31297 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31298 ac_status=$?
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; then
31301 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31302 else
31303 pkg_failed=yes
31304 fi
31305 fi
31306 else
31307 pkg_failed=untried
31308 fi
31309
31310
31311
31312 if test $pkg_failed = yes; then
31313
31314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31315 _pkg_short_errors_supported=yes
31316 else
31317 _pkg_short_errors_supported=no
31318 fi
31319 if test $_pkg_short_errors_supported = yes; then
31320 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31321 else
31322 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31323 fi
31324 # Put the nasty error message in config.log where it belongs
31325 echo "$PANGOXFT_PKG_ERRORS" >&5
31326
31327
31328 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31329 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31330
31331
31332 elif test $pkg_failed = untried; then
31333
31334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31336
31337
31338 else
31339 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31340 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31341 { echo "$as_me:$LINENO: result: yes" >&5
31342 echo "${ECHO_T}yes" >&6; }
31343
31344 cat >>confdefs.h <<\_ACEOF
31345 #define HAVE_PANGO_XFT 1
31346 _ACEOF
31347
31348 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31349 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31351
31352 fi
31353 save_LIBS="$LIBS"
31354 LIBS="$LIBS $PANGOX_LIBS"
31355
31356 for ac_func in pango_font_family_is_monospace
31357 do
31358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 else
31364 cat >conftest.$ac_ext <<_ACEOF
31365 /* confdefs.h. */
31366 _ACEOF
31367 cat confdefs.h >>conftest.$ac_ext
31368 cat >>conftest.$ac_ext <<_ACEOF
31369 /* end confdefs.h. */
31370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31372 #define $ac_func innocuous_$ac_func
31373
31374 /* System header to define __stub macros and hopefully few prototypes,
31375 which can conflict with char $ac_func (); below.
31376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31377 <limits.h> exists even on freestanding compilers. */
31378
31379 #ifdef __STDC__
31380 # include <limits.h>
31381 #else
31382 # include <assert.h>
31383 #endif
31384
31385 #undef $ac_func
31386
31387 /* Override any GCC internal prototype to avoid an error.
31388 Use char because int might match the return type of a GCC
31389 builtin and then its argument prototype would still apply. */
31390 #ifdef __cplusplus
31391 extern "C"
31392 #endif
31393 char $ac_func ();
31394 /* The GNU C library defines this for functions which it implements
31395 to always fail with ENOSYS. Some functions are actually named
31396 something starting with __ and the normal name is an alias. */
31397 #if defined __stub_$ac_func || defined __stub___$ac_func
31398 choke me
31399 #endif
31400
31401 int
31402 main ()
31403 {
31404 return $ac_func ();
31405 ;
31406 return 0;
31407 }
31408 _ACEOF
31409 rm -f conftest.$ac_objext conftest$ac_exeext
31410 if { (ac_try="$ac_link"
31411 case "(($ac_try" in
31412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31413 *) ac_try_echo=$ac_try;;
31414 esac
31415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31416 (eval "$ac_link") 2>conftest.er1
31417 ac_status=$?
31418 grep -v '^ *+' conftest.er1 >conftest.err
31419 rm -f conftest.er1
31420 cat conftest.err >&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); } && {
31423 test -z "$ac_c_werror_flag" ||
31424 test ! -s conftest.err
31425 } && test -s conftest$ac_exeext &&
31426 $as_test_x conftest$ac_exeext; then
31427 eval "$as_ac_var=yes"
31428 else
31429 echo "$as_me: failed program was:" >&5
31430 sed 's/^/| /' conftest.$ac_ext >&5
31431
31432 eval "$as_ac_var=no"
31433 fi
31434
31435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31436 conftest$ac_exeext conftest.$ac_ext
31437 fi
31438 ac_res=`eval echo '${'$as_ac_var'}'`
31439 { echo "$as_me:$LINENO: result: $ac_res" >&5
31440 echo "${ECHO_T}$ac_res" >&6; }
31441 if test `eval echo '${'$as_ac_var'}'` = yes; then
31442 cat >>confdefs.h <<_ACEOF
31443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31444 _ACEOF
31445
31446 fi
31447 done
31448
31449 LIBS="$save_LIBS"
31450 fi
31451
31452 wxUSE_UNIVERSAL="yes"
31453
31454 if test "$wxUSE_NANOX" = "yes"; then
31455 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31456 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"
31457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31458 else
31459 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31460 fi
31461
31462 TOOLKIT=X11
31463 GUIDIST=X11_DIST
31464 fi
31465
31466 if test "$wxUSE_MOTIF" = 1; then
31467 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31468 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31469
31470 ac_find_includes=
31471 for ac_dir in $SEARCH_INCLUDE /usr/include;
31472 do
31473 if test -f "$ac_dir/Xm/Xm.h"; then
31474 ac_find_includes=$ac_dir
31475 break
31476 fi
31477 done
31478
31479 if test "$ac_find_includes" != "" ; then
31480 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31481 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31482
31483 if test "x$ac_find_includes" = "x/usr/include"; then
31484 ac_path_to_include=""
31485 else
31486 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31487 result=$?
31488 if test $result = 0; then
31489 ac_path_to_include=""
31490 else
31491 ac_path_to_include=" -I$ac_find_includes"
31492 fi
31493 fi
31494
31495 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31496 else
31497 save_CFLAGS=$CFLAGS
31498 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31499
31500 cat >conftest.$ac_ext <<_ACEOF
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506
31507 #include <Xm/Xm.h>
31508
31509 int
31510 main ()
31511 {
31512
31513 int version;
31514 version = xmUseVersion;
31515
31516 ;
31517 return 0;
31518 }
31519 _ACEOF
31520 rm -f conftest.$ac_objext
31521 if { (ac_try="$ac_compile"
31522 case "(($ac_try" in
31523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31524 *) ac_try_echo=$ac_try;;
31525 esac
31526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31527 (eval "$ac_compile") 2>conftest.er1
31528 ac_status=$?
31529 grep -v '^ *+' conftest.er1 >conftest.err
31530 rm -f conftest.er1
31531 cat conftest.err >&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } && {
31534 test -z "$ac_c_werror_flag" ||
31535 test ! -s conftest.err
31536 } && test -s conftest.$ac_objext; then
31537
31538 { echo "$as_me:$LINENO: result: found in default search path" >&5
31539 echo "${ECHO_T}found in default search path" >&6; }
31540 COMPILED_X_PROGRAM=1
31541
31542 else
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31545
31546
31547 { echo "$as_me:$LINENO: result: no" >&5
31548 echo "${ECHO_T}no" >&6; }
31549 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31550 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31551 { (exit 1); exit 1; }; }
31552
31553
31554 fi
31555
31556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31557
31558 CFLAGS=$save_CFLAGS
31559 fi
31560
31561
31562 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31563 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31564
31565 ac_find_libraries=
31566 for ac_dir in $SEARCH_LIB;
31567 do
31568 for ac_extension in a so sl dylib dll.a; do
31569 if test -f "$ac_dir/libXm.$ac_extension"; then
31570 ac_find_libraries=$ac_dir
31571 break 2
31572 fi
31573 done
31574 done
31575
31576
31577 if test "x$ac_find_libraries" != "x" ; then
31578 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31579 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31580
31581
31582 if test "$ac_find_libraries" = "default location"; then
31583 ac_path_to_link=""
31584 else
31585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31586 result=$?
31587 if test $result = 0; then
31588 ac_path_to_link=""
31589 else
31590 ac_path_to_link=" -L$ac_find_libraries"
31591 fi
31592 fi
31593
31594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31595 else
31596 save_CFLAGS=$CFLAGS
31597 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31598 save_LIBS="$LIBS"
31599 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31600
31601 cat >conftest.$ac_ext <<_ACEOF
31602 /* confdefs.h. */
31603 _ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31607
31608 #include <Xm/Xm.h>
31609
31610 int
31611 main ()
31612 {
31613
31614 int version;
31615 version = xmUseVersion;
31616
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 rm -f conftest.$ac_objext conftest$ac_exeext
31622 if { (ac_try="$ac_link"
31623 case "(($ac_try" in
31624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31625 *) ac_try_echo=$ac_try;;
31626 esac
31627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31628 (eval "$ac_link") 2>conftest.er1
31629 ac_status=$?
31630 grep -v '^ *+' conftest.er1 >conftest.err
31631 rm -f conftest.er1
31632 cat conftest.err >&5
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); } && {
31635 test -z "$ac_c_werror_flag" ||
31636 test ! -s conftest.err
31637 } && test -s conftest$ac_exeext &&
31638 $as_test_x conftest$ac_exeext; then
31639
31640 { echo "$as_me:$LINENO: result: found in default search path" >&5
31641 echo "${ECHO_T}found in default search path" >&6; }
31642 COMPILED_X_PROGRAM=1
31643
31644 else
31645 echo "$as_me: failed program was:" >&5
31646 sed 's/^/| /' conftest.$ac_ext >&5
31647
31648
31649 { echo "$as_me:$LINENO: result: no" >&5
31650 echo "${ECHO_T}no" >&6; }
31651 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31652 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31653 { (exit 1); exit 1; }; }
31654
31655
31656 fi
31657
31658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31659 conftest$ac_exeext conftest.$ac_ext
31660
31661 CFLAGS=$save_CFLAGS
31662 LIBS="$save_LIBS"
31663 fi
31664
31665 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31666 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31667 libp_link=""
31668 libsm_ice_link=""
31669 libs_found=0
31670 for libp in "" " -lXp"; do
31671 if test "$libs_found" = 0; then
31672 for libsm_ice in "" " -lSM -lICE"; do
31673 if test "$libs_found" = 0; then
31674 save_LIBS="$LIBS"
31675 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31676 save_CFLAGS=$CFLAGS
31677 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31678
31679 cat >conftest.$ac_ext <<_ACEOF
31680 /* confdefs.h. */
31681 _ACEOF
31682 cat confdefs.h >>conftest.$ac_ext
31683 cat >>conftest.$ac_ext <<_ACEOF
31684 /* end confdefs.h. */
31685
31686 #include <Xm/Xm.h>
31687 #include <Xm/List.h>
31688
31689 int
31690 main ()
31691 {
31692
31693 XmString string = NULL;
31694 Widget w = NULL;
31695 int position = 0;
31696 XmListAddItem(w, string, position);
31697
31698 ;
31699 return 0;
31700 }
31701 _ACEOF
31702 rm -f conftest.$ac_objext conftest$ac_exeext
31703 if { (ac_try="$ac_link"
31704 case "(($ac_try" in
31705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31707 esac
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_link") 2>conftest.er1
31710 ac_status=$?
31711 grep -v '^ *+' conftest.er1 >conftest.err
31712 rm -f conftest.er1
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } && {
31716 test -z "$ac_c_werror_flag" ||
31717 test ! -s conftest.err
31718 } && test -s conftest$ac_exeext &&
31719 $as_test_x conftest$ac_exeext; then
31720
31721 libp_link="$libp"
31722 libsm_ice_link="$libsm_ice"
31723 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31724 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31725 libs_found=1
31726
31727 else
31728 echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.$ac_ext >&5
31730
31731
31732
31733 fi
31734
31735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31736 conftest$ac_exeext conftest.$ac_ext
31737
31738 LIBS="$save_LIBS"
31739 CFLAGS=$save_CFLAGS
31740 fi
31741 done
31742 fi
31743 done
31744
31745 if test "$libs_found" = 0; then
31746 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31747 echo "${ECHO_T}can't find the right libraries" >&6; }
31748 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31749 echo "$as_me: error: can't link a simple motif program" >&2;}
31750 { (exit 1); exit 1; }; }
31751 fi
31752
31753 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31754 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31755 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31756 echo $ECHO_N "(cached) $ECHO_C" >&6
31757 else
31758 ac_check_lib_save_LIBS=$LIBS
31759 LIBS="-lSgm $LIBS"
31760 cat >conftest.$ac_ext <<_ACEOF
31761 /* confdefs.h. */
31762 _ACEOF
31763 cat confdefs.h >>conftest.$ac_ext
31764 cat >>conftest.$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31766
31767 /* Override any GCC internal prototype to avoid an error.
31768 Use char because int might match the return type of a GCC
31769 builtin and then its argument prototype would still apply. */
31770 #ifdef __cplusplus
31771 extern "C"
31772 #endif
31773 char SgCreateList ();
31774 int
31775 main ()
31776 {
31777 return SgCreateList ();
31778 ;
31779 return 0;
31780 }
31781 _ACEOF
31782 rm -f conftest.$ac_objext conftest$ac_exeext
31783 if { (ac_try="$ac_link"
31784 case "(($ac_try" in
31785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31786 *) ac_try_echo=$ac_try;;
31787 esac
31788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31789 (eval "$ac_link") 2>conftest.er1
31790 ac_status=$?
31791 grep -v '^ *+' conftest.er1 >conftest.err
31792 rm -f conftest.er1
31793 cat conftest.err >&5
31794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795 (exit $ac_status); } && {
31796 test -z "$ac_c_werror_flag" ||
31797 test ! -s conftest.err
31798 } && test -s conftest$ac_exeext &&
31799 $as_test_x conftest$ac_exeext; then
31800 ac_cv_lib_Sgm_SgCreateList=yes
31801 else
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.$ac_ext >&5
31804
31805 ac_cv_lib_Sgm_SgCreateList=no
31806 fi
31807
31808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31809 conftest$ac_exeext conftest.$ac_ext
31810 LIBS=$ac_check_lib_save_LIBS
31811 fi
31812 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31813 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31814 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31815 libsgm_link=" -lSgm"
31816 fi
31817
31818
31819 save_CFLAGS=$CFLAGS
31820 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31821
31822 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31823 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31824 if test "${wx_cv_lib_motif2+set}" = set; then
31825 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 else
31827 cat >conftest.$ac_ext <<_ACEOF
31828 /* confdefs.h. */
31829 _ACEOF
31830 cat confdefs.h >>conftest.$ac_ext
31831 cat >>conftest.$ac_ext <<_ACEOF
31832 /* end confdefs.h. */
31833
31834 #include <Xm/Xm.h>
31835
31836 int
31837 main ()
31838 {
31839
31840 #if XmVersion < 2000
31841 Not Motif 2
31842 #endif
31843
31844 ;
31845 return 0;
31846 }
31847 _ACEOF
31848 rm -f conftest.$ac_objext
31849 if { (ac_try="$ac_compile"
31850 case "(($ac_try" in
31851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31852 *) ac_try_echo=$ac_try;;
31853 esac
31854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31855 (eval "$ac_compile") 2>conftest.er1
31856 ac_status=$?
31857 grep -v '^ *+' conftest.er1 >conftest.err
31858 rm -f conftest.er1
31859 cat conftest.err >&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); } && {
31862 test -z "$ac_c_werror_flag" ||
31863 test ! -s conftest.err
31864 } && test -s conftest.$ac_objext; then
31865 wx_cv_lib_motif2="yes"
31866 else
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.$ac_ext >&5
31869
31870 wx_cv_lib_motif2="no"
31871 fi
31872
31873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31874 fi
31875 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31876 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31877 if test "$wx_cv_lib_motif2" = "yes"; then
31878 cat >>confdefs.h <<\_ACEOF
31879 #define __WXMOTIF20__ 1
31880 _ACEOF
31881
31882 else
31883 cat >>confdefs.h <<\_ACEOF
31884 #define __WXMOTIF20__ 0
31885 _ACEOF
31886
31887 fi
31888
31889 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31890 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31891 if test "${wx_cv_lib_lesstif+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 else
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h. */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900
31901 #include <Xm/Xm.h>
31902
31903 int
31904 main ()
31905 {
31906
31907 #if !defined(LesstifVersion) || LesstifVersion <= 0
31908 Not Lesstif
31909 #endif
31910
31911 ;
31912 return 0;
31913 }
31914 _ACEOF
31915 rm -f conftest.$ac_objext
31916 if { (ac_try="$ac_compile"
31917 case "(($ac_try" in
31918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31919 *) ac_try_echo=$ac_try;;
31920 esac
31921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31922 (eval "$ac_compile") 2>conftest.er1
31923 ac_status=$?
31924 grep -v '^ *+' conftest.er1 >conftest.err
31925 rm -f conftest.er1
31926 cat conftest.err >&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } && {
31929 test -z "$ac_c_werror_flag" ||
31930 test ! -s conftest.err
31931 } && test -s conftest.$ac_objext; then
31932 wx_cv_lib_lesstif="yes"
31933 else
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.$ac_ext >&5
31936
31937 wx_cv_lib_lesstif="no"
31938 fi
31939
31940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31941
31942 fi
31943 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31944 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31945 if test "$wx_cv_lib_lesstif" = "yes"; then
31946 cat >>confdefs.h <<\_ACEOF
31947 #define __WXLESSTIF__ 1
31948 _ACEOF
31949
31950 else
31951 cat >>confdefs.h <<\_ACEOF
31952 #define __WXLESSTIF__ 0
31953 _ACEOF
31954
31955 fi
31956
31957 CFLAGS=$save_CFLAGS
31958
31959 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31960 TOOLKIT=MOTIF
31961 GUIDIST=MOTIF_DIST
31962 fi
31963
31964 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31965 if test "$wxUSE_LIBXPM" = "sys"; then
31966 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31967 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31968
31969 ac_find_libraries=
31970 for ac_dir in $SEARCH_LIB;
31971 do
31972 for ac_extension in a so sl dylib dll.a; do
31973 if test -f "$ac_dir/libXpm.$ac_extension"; then
31974 ac_find_libraries=$ac_dir
31975 break 2
31976 fi
31977 done
31978 done
31979
31980 if test "$ac_find_libraries" != "" ; then
31981
31982 if test "$ac_find_libraries" = "default location"; then
31983 ac_path_to_link=""
31984 else
31985 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31986 result=$?
31987 if test $result = 0; then
31988 ac_path_to_link=""
31989 else
31990 ac_path_to_link=" -L$ac_find_libraries"
31991 fi
31992 fi
31993
31994 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31995 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31996 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31997
31998 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31999 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32000 if test "${wx_cv_x11_xpm_h+set}" = set; then
32001 echo $ECHO_N "(cached) $ECHO_C" >&6
32002 else
32003
32004 save_CFLAGS=$CFLAGS
32005 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32006
32007 cat >conftest.$ac_ext <<_ACEOF
32008 /* confdefs.h. */
32009 _ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32013
32014 #include <X11/xpm.h>
32015
32016 int
32017 main ()
32018 {
32019
32020 int version;
32021 version = XpmLibraryVersion();
32022
32023 ;
32024 return 0;
32025 }
32026 _ACEOF
32027 rm -f conftest.$ac_objext
32028 if { (ac_try="$ac_compile"
32029 case "(($ac_try" in
32030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32031 *) ac_try_echo=$ac_try;;
32032 esac
32033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32034 (eval "$ac_compile") 2>conftest.er1
32035 ac_status=$?
32036 grep -v '^ *+' conftest.er1 >conftest.err
32037 rm -f conftest.er1
32038 cat conftest.err >&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } && {
32041 test -z "$ac_c_werror_flag" ||
32042 test ! -s conftest.err
32043 } && test -s conftest.$ac_objext; then
32044 wx_cv_x11_xpm_h=yes
32045 else
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32048
32049 wx_cv_x11_xpm_h=no
32050
32051 fi
32052
32053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32054
32055 CFLAGS=$save_CFLAGS
32056
32057
32058 fi
32059 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32060 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32061
32062 if test $wx_cv_x11_xpm_h = "yes"; then
32063 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32064 cat >>confdefs.h <<\_ACEOF
32065 #define wxHAVE_LIB_XPM 1
32066 _ACEOF
32067
32068 else
32069 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32070 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32071 fi
32072 fi
32073
32074 fi
32075
32076 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32077 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32078 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32080 else
32081 ac_check_lib_save_LIBS=$LIBS
32082 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32083 cat >conftest.$ac_ext <<_ACEOF
32084 /* confdefs.h. */
32085 _ACEOF
32086 cat confdefs.h >>conftest.$ac_ext
32087 cat >>conftest.$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32089
32090 /* Override any GCC internal prototype to avoid an error.
32091 Use char because int might match the return type of a GCC
32092 builtin and then its argument prototype would still apply. */
32093 #ifdef __cplusplus
32094 extern "C"
32095 #endif
32096 char XShapeQueryExtension ();
32097 int
32098 main ()
32099 {
32100 return XShapeQueryExtension ();
32101 ;
32102 return 0;
32103 }
32104 _ACEOF
32105 rm -f conftest.$ac_objext conftest$ac_exeext
32106 if { (ac_try="$ac_link"
32107 case "(($ac_try" in
32108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32109 *) ac_try_echo=$ac_try;;
32110 esac
32111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32112 (eval "$ac_link") 2>conftest.er1
32113 ac_status=$?
32114 grep -v '^ *+' conftest.er1 >conftest.err
32115 rm -f conftest.er1
32116 cat conftest.err >&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); } && {
32119 test -z "$ac_c_werror_flag" ||
32120 test ! -s conftest.err
32121 } && test -s conftest$ac_exeext &&
32122 $as_test_x conftest$ac_exeext; then
32123 ac_cv_lib_Xext_XShapeQueryExtension=yes
32124 else
32125 echo "$as_me: failed program was:" >&5
32126 sed 's/^/| /' conftest.$ac_ext >&5
32127
32128 ac_cv_lib_Xext_XShapeQueryExtension=no
32129 fi
32130
32131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32132 conftest$ac_exeext conftest.$ac_ext
32133 LIBS=$ac_check_lib_save_LIBS
32134 fi
32135 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32136 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32137 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32138
32139 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32140 wxHAVE_XEXT_LIB=1
32141
32142 fi
32143
32144
32145 if test "$wxHAVE_XEXT_LIB" = 1; then
32146 save_CFLAGS="$CFLAGS"
32147 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32148
32149 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32150 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32151 cat >conftest.$ac_ext <<_ACEOF
32152 /* confdefs.h. */
32153 _ACEOF
32154 cat confdefs.h >>conftest.$ac_ext
32155 cat >>conftest.$ac_ext <<_ACEOF
32156 /* end confdefs.h. */
32157
32158 #include <X11/Xlib.h>
32159 #include <X11/extensions/shape.h>
32160
32161 int
32162 main ()
32163 {
32164
32165 int dummy1, dummy2;
32166 XShapeQueryExtension((Display*)NULL,
32167 (int*)NULL, (int*)NULL);
32168
32169 ;
32170 return 0;
32171 }
32172 _ACEOF
32173 rm -f conftest.$ac_objext
32174 if { (ac_try="$ac_compile"
32175 case "(($ac_try" in
32176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32177 *) ac_try_echo=$ac_try;;
32178 esac
32179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32180 (eval "$ac_compile") 2>conftest.er1
32181 ac_status=$?
32182 grep -v '^ *+' conftest.er1 >conftest.err
32183 rm -f conftest.er1
32184 cat conftest.err >&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } && {
32187 test -z "$ac_c_werror_flag" ||
32188 test ! -s conftest.err
32189 } && test -s conftest.$ac_objext; then
32190
32191 cat >>confdefs.h <<\_ACEOF
32192 #define HAVE_XSHAPE 1
32193 _ACEOF
32194
32195 { echo "$as_me:$LINENO: result: found" >&5
32196 echo "${ECHO_T}found" >&6; }
32197
32198 else
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32201
32202
32203 { echo "$as_me:$LINENO: result: not found" >&5
32204 echo "${ECHO_T}not found" >&6; }
32205
32206 fi
32207
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209 CFLAGS="$save_CFLAGS"
32210
32211 fi
32212 fi
32213
32214 if test "$wxUSE_MAC" = 1; then
32215 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32216 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32217 if test "$GCC" = yes; then
32218 { echo "$as_me:$LINENO: result: gcc" >&5
32219 echo "${ECHO_T}gcc" >&6; }
32220 CPPFLAGS_PASCAL="-fpascal-strings"
32221 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32222 { echo "$as_me:$LINENO: result: xlc" >&5
32223 echo "${ECHO_T}xlc" >&6; }
32224 CPPFLAGS_PASCAL="-qmacpstr"
32225 else
32226 { echo "$as_me:$LINENO: result: none" >&5
32227 echo "${ECHO_T}none" >&6; }
32228 fi
32229
32230 if test "x$wxUSE_UNIX" = "xyes"; then
32231 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32232 else
32233 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32234 fi
32235
32236 TOOLKIT=MAC
32237 GUIDIST=MACX_DIST
32238 WXBASEPORT="_carbon"
32239 fi
32240
32241 if test "$wxUSE_COCOA" = 1; then
32242 TOOLKIT=COCOA
32243 GUIDIST=COCOA_DIST
32244 fi
32245
32246 if test "$wxUSE_PM" = 1; then
32247 TOOLKIT=PM
32248 GUIDIST=PM_DIST
32249 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32250 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32251 if test "${wx_cv_spbcdata+set}" = set; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32253 else
32254
32255 cat >conftest.$ac_ext <<_ACEOF
32256 /* confdefs.h. */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32261
32262 #define INCL_PM
32263 #include <os2.h>
32264
32265 int
32266 main ()
32267 {
32268
32269 SPBCDATA test;
32270
32271 ;
32272 return 0;
32273 }
32274 _ACEOF
32275 rm -f conftest.$ac_objext
32276 if { (ac_try="$ac_compile"
32277 case "(($ac_try" in
32278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32279 *) ac_try_echo=$ac_try;;
32280 esac
32281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32282 (eval "$ac_compile") 2>conftest.er1
32283 ac_status=$?
32284 grep -v '^ *+' conftest.er1 >conftest.err
32285 rm -f conftest.er1
32286 cat conftest.err >&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } && {
32289 test -z "$ac_c_werror_flag" ||
32290 test ! -s conftest.err
32291 } && test -s conftest.$ac_objext; then
32292 wx_cv_spbcdata=yes
32293 else
32294 echo "$as_me: failed program was:" >&5
32295 sed 's/^/| /' conftest.$ac_ext >&5
32296
32297 wx_cv_spbcdata=no
32298
32299 fi
32300
32301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32302
32303
32304 fi
32305 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32306 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32307
32308 if test $wx_cv_spbcdata = "yes"; then
32309 cat >>confdefs.h <<\_ACEOF
32310 #define HAVE_SPBCDATA 1
32311 _ACEOF
32312
32313 fi
32314 fi
32315
32316 if test "$TOOLKIT" = "PM" ; then
32317 TOOLKIT_DIR="os2"
32318 else
32319 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32320 fi
32321
32322 if test "$wxUSE_UNIVERSAL" = "yes"; then
32323 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32324 WIDGET_SET=univ
32325 fi
32326
32327 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32328 DISTDIR="wx\$(TOOLKIT)"
32329 else
32330 USE_GUI=0
32331
32332 TOOLKIT_DIR="base"
32333
32334 if test "$USE_WIN32" = 1 ; then
32335 TOOLKIT="MSW"
32336 fi
32337
32338 GUIDIST="BASE_DIST"
32339 DISTDIR="wxBase"
32340 fi
32341
32342
32343
32344 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32345 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32346 wxUSE_UNICODE_UTF8=yes
32347 elif test "$USE_OS2" = 1 ; then
32348 wxUSE_UNICODE_UTF8=yes
32349 else
32350 wxUSE_UNICODE_UTF8=no
32351 fi
32352 fi
32353
32354
32355 if test "$wxUSE_GUI" = "yes"; then
32356 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32357
32358 for ac_header in X11/Xlib.h
32359 do
32360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 else
32366 cat >conftest.$ac_ext <<_ACEOF
32367 /* confdefs.h. */
32368 _ACEOF
32369 cat confdefs.h >>conftest.$ac_ext
32370 cat >>conftest.$ac_ext <<_ACEOF
32371 /* end confdefs.h. */
32372
32373
32374 #include <$ac_header>
32375 _ACEOF
32376 rm -f conftest.$ac_objext
32377 if { (ac_try="$ac_compile"
32378 case "(($ac_try" in
32379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32380 *) ac_try_echo=$ac_try;;
32381 esac
32382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32383 (eval "$ac_compile") 2>conftest.er1
32384 ac_status=$?
32385 grep -v '^ *+' conftest.er1 >conftest.err
32386 rm -f conftest.er1
32387 cat conftest.err >&5
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); } && {
32390 test -z "$ac_c_werror_flag" ||
32391 test ! -s conftest.err
32392 } && test -s conftest.$ac_objext; then
32393 eval "$as_ac_Header=yes"
32394 else
32395 echo "$as_me: failed program was:" >&5
32396 sed 's/^/| /' conftest.$ac_ext >&5
32397
32398 eval "$as_ac_Header=no"
32399 fi
32400
32401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32402 fi
32403 ac_res=`eval echo '${'$as_ac_Header'}'`
32404 { echo "$as_me:$LINENO: result: $ac_res" >&5
32405 echo "${ECHO_T}$ac_res" >&6; }
32406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32407 cat >>confdefs.h <<_ACEOF
32408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32409 _ACEOF
32410
32411 fi
32412
32413 done
32414
32415
32416 for ac_header in X11/XKBlib.h
32417 do
32418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 else
32424 cat >conftest.$ac_ext <<_ACEOF
32425 /* confdefs.h. */
32426 _ACEOF
32427 cat confdefs.h >>conftest.$ac_ext
32428 cat >>conftest.$ac_ext <<_ACEOF
32429 /* end confdefs.h. */
32430
32431 #if HAVE_X11_XLIB_H
32432 #include <X11/Xlib.h>
32433 #endif
32434
32435
32436 #include <$ac_header>
32437 _ACEOF
32438 rm -f conftest.$ac_objext
32439 if { (ac_try="$ac_compile"
32440 case "(($ac_try" in
32441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32442 *) ac_try_echo=$ac_try;;
32443 esac
32444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32445 (eval "$ac_compile") 2>conftest.er1
32446 ac_status=$?
32447 grep -v '^ *+' conftest.er1 >conftest.err
32448 rm -f conftest.er1
32449 cat conftest.err >&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); } && {
32452 test -z "$ac_c_werror_flag" ||
32453 test ! -s conftest.err
32454 } && test -s conftest.$ac_objext; then
32455 eval "$as_ac_Header=yes"
32456 else
32457 echo "$as_me: failed program was:" >&5
32458 sed 's/^/| /' conftest.$ac_ext >&5
32459
32460 eval "$as_ac_Header=no"
32461 fi
32462
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464 fi
32465 ac_res=`eval echo '${'$as_ac_Header'}'`
32466 { echo "$as_me:$LINENO: result: $ac_res" >&5
32467 echo "${ECHO_T}$ac_res" >&6; }
32468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32469 cat >>confdefs.h <<_ACEOF
32470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32471 _ACEOF
32472
32473 fi
32474
32475 done
32476
32477 fi
32478 fi
32479
32480
32481
32482 if test "$wxUSE_DISPLAY" = "yes"; then
32483 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32484 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32485 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32486
32487 ac_find_libraries=
32488 for ac_dir in $SEARCH_LIB;
32489 do
32490 for ac_extension in a so sl dylib dll.a; do
32491 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32492 ac_find_libraries=$ac_dir
32493 break 2
32494 fi
32495 done
32496 done
32497
32498 if test "$ac_find_libraries" != "" ; then
32499
32500 if test "$ac_find_libraries" = "default location"; then
32501 ac_path_to_link=""
32502 else
32503 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32504 result=$?
32505 if test $result = 0; then
32506 ac_path_to_link=""
32507 else
32508 ac_path_to_link=" -L$ac_find_libraries"
32509 fi
32510 fi
32511
32512 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32513 LDFLAGS="$LDFLAGS $ac_path_to_link"
32514 fi
32515 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32516 { echo "$as_me:$LINENO: result: yes" >&5
32517 echo "${ECHO_T}yes" >&6; }
32518
32519 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32520 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32521
32522 ac_find_libraries=
32523 for ac_dir in $SEARCH_LIB;
32524 do
32525 for ac_extension in a so sl dylib dll.a; do
32526 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32527 ac_find_libraries=$ac_dir
32528 break 2
32529 fi
32530 done
32531 done
32532
32533 if test "$ac_find_libraries" != "" ; then
32534 { echo "$as_me:$LINENO: result: yes" >&5
32535 echo "${ECHO_T}yes" >&6; }
32536
32537 for ac_header in X11/extensions/xf86vmode.h
32538 do
32539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32544 else
32545 cat >conftest.$ac_ext <<_ACEOF
32546 /* confdefs.h. */
32547 _ACEOF
32548 cat confdefs.h >>conftest.$ac_ext
32549 cat >>conftest.$ac_ext <<_ACEOF
32550 /* end confdefs.h. */
32551
32552 #if HAVE_X11_XLIB_H
32553 #include <X11/Xlib.h>
32554 #endif
32555
32556
32557 #include <$ac_header>
32558 _ACEOF
32559 rm -f conftest.$ac_objext
32560 if { (ac_try="$ac_compile"
32561 case "(($ac_try" in
32562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32563 *) ac_try_echo=$ac_try;;
32564 esac
32565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32566 (eval "$ac_compile") 2>conftest.er1
32567 ac_status=$?
32568 grep -v '^ *+' conftest.er1 >conftest.err
32569 rm -f conftest.er1
32570 cat conftest.err >&5
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); } && {
32573 test -z "$ac_c_werror_flag" ||
32574 test ! -s conftest.err
32575 } && test -s conftest.$ac_objext; then
32576 eval "$as_ac_Header=yes"
32577 else
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.$ac_ext >&5
32580
32581 eval "$as_ac_Header=no"
32582 fi
32583
32584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32585 fi
32586 ac_res=`eval echo '${'$as_ac_Header'}'`
32587 { echo "$as_me:$LINENO: result: $ac_res" >&5
32588 echo "${ECHO_T}$ac_res" >&6; }
32589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32590 cat >>confdefs.h <<_ACEOF
32591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32592 _ACEOF
32593
32594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32595
32596 fi
32597
32598 done
32599
32600 else
32601 { echo "$as_me:$LINENO: result: no" >&5
32602 echo "${ECHO_T}no" >&6; }
32603 fi
32604
32605 else
32606 { echo "$as_me:$LINENO: result: no" >&5
32607 echo "${ECHO_T}no" >&6; }
32608 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32609 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32610 wxUSE_DISPLAY="no"
32611 fi
32612 elif test "$wxUSE_MSW" = 1; then
32613 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32614 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32615 if test "${ac_cv_header_ddraw_h+set}" = set; then
32616 echo $ECHO_N "(cached) $ECHO_C" >&6
32617 else
32618 cat >conftest.$ac_ext <<_ACEOF
32619 /* confdefs.h. */
32620 _ACEOF
32621 cat confdefs.h >>conftest.$ac_ext
32622 cat >>conftest.$ac_ext <<_ACEOF
32623 /* end confdefs.h. */
32624 #include <windows.h>
32625
32626 #include <ddraw.h>
32627 _ACEOF
32628 rm -f conftest.$ac_objext
32629 if { (ac_try="$ac_compile"
32630 case "(($ac_try" in
32631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32632 *) ac_try_echo=$ac_try;;
32633 esac
32634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32635 (eval "$ac_compile") 2>conftest.er1
32636 ac_status=$?
32637 grep -v '^ *+' conftest.er1 >conftest.err
32638 rm -f conftest.er1
32639 cat conftest.err >&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } && {
32642 test -z "$ac_c_werror_flag" ||
32643 test ! -s conftest.err
32644 } && test -s conftest.$ac_objext; then
32645 ac_cv_header_ddraw_h=yes
32646 else
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32649
32650 ac_cv_header_ddraw_h=no
32651 fi
32652
32653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32654 fi
32655 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32656 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32657
32658
32659 fi
32660 fi
32661
32662 if test "$wxUSE_DETECT_SM" = "yes"; then
32663 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32664 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32665 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32666
32667 ac_find_libraries=
32668 for ac_dir in $SEARCH_LIB;
32669 do
32670 for ac_extension in a so sl dylib dll.a; do
32671 if test -f "$ac_dir/libSM.$ac_extension"; then
32672 ac_find_libraries=$ac_dir
32673 break 2
32674 fi
32675 done
32676 done
32677
32678 if test "$ac_find_libraries" != "" ; then
32679
32680 if test "$ac_find_libraries" = "default location"; then
32681 ac_path_to_link=""
32682 else
32683 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32684 result=$?
32685 if test $result = 0; then
32686 ac_path_to_link=""
32687 else
32688 ac_path_to_link=" -L$ac_find_libraries"
32689 fi
32690 fi
32691
32692 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32693 LDFLAGS="$LDFLAGS $ac_path_to_link"
32694 fi
32695 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32696 { echo "$as_me:$LINENO: result: yes" >&5
32697 echo "${ECHO_T}yes" >&6; }
32698 else
32699 { echo "$as_me:$LINENO: result: no" >&5
32700 echo "${ECHO_T}no" >&6; }
32701 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32702 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32703 wxUSE_DETECT_SM="no"
32704 fi
32705 else
32706 wxUSE_DETECT_SM="no"
32707 fi
32708 fi
32709
32710
32711
32712 USE_OPENGL=0
32713 if test "$wxUSE_OPENGL" = "yes"; then
32714 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32715 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32716 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32717 wxUSE_OPENGL="no"
32718 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32719 OPENGL_LIBS="-framework OpenGL -framework AGL"
32720 elif test "$wxUSE_MSW" = 1; then
32721 OPENGL_LIBS="-lopengl32 -lglu32"
32722 else
32723 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32724 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32725
32726 ac_find_includes=
32727 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32728 do
32729 if test -f "$ac_dir/GL/gl.h"; then
32730 ac_find_includes=$ac_dir
32731 break
32732 fi
32733 done
32734
32735 if test "$ac_find_includes" != "" ; then
32736 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32737 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32738
32739 if test "x$ac_find_includes" = "x/usr/include"; then
32740 ac_path_to_include=""
32741 else
32742 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32743 result=$?
32744 if test $result = 0; then
32745 ac_path_to_include=""
32746 else
32747 ac_path_to_include=" -I$ac_find_includes"
32748 fi
32749 fi
32750
32751 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32752 else
32753 { echo "$as_me:$LINENO: result: not found" >&5
32754 echo "${ECHO_T}not found" >&6; }
32755 fi
32756
32757 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32758 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32759 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 else
32762 cat >conftest.$ac_ext <<_ACEOF
32763 /* confdefs.h. */
32764 _ACEOF
32765 cat confdefs.h >>conftest.$ac_ext
32766 cat >>conftest.$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32768
32769
32770 #include <GL/gl.h>
32771 _ACEOF
32772 rm -f conftest.$ac_objext
32773 if { (ac_try="$ac_compile"
32774 case "(($ac_try" in
32775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32776 *) ac_try_echo=$ac_try;;
32777 esac
32778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32779 (eval "$ac_compile") 2>conftest.er1
32780 ac_status=$?
32781 grep -v '^ *+' conftest.er1 >conftest.err
32782 rm -f conftest.er1
32783 cat conftest.err >&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } && {
32786 test -z "$ac_c_werror_flag" ||
32787 test ! -s conftest.err
32788 } && test -s conftest.$ac_objext; then
32789 ac_cv_header_GL_gl_h=yes
32790 else
32791 echo "$as_me: failed program was:" >&5
32792 sed 's/^/| /' conftest.$ac_ext >&5
32793
32794 ac_cv_header_GL_gl_h=no
32795 fi
32796
32797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798 fi
32799 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32800 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32801 if test $ac_cv_header_GL_gl_h = yes; then
32802
32803 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32804 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32805 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32806 echo $ECHO_N "(cached) $ECHO_C" >&6
32807 else
32808 cat >conftest.$ac_ext <<_ACEOF
32809 /* confdefs.h. */
32810 _ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814
32815
32816 #include <GL/glu.h>
32817 _ACEOF
32818 rm -f conftest.$ac_objext
32819 if { (ac_try="$ac_compile"
32820 case "(($ac_try" in
32821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32822 *) ac_try_echo=$ac_try;;
32823 esac
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_compile") 2>conftest.er1
32826 ac_status=$?
32827 grep -v '^ *+' conftest.er1 >conftest.err
32828 rm -f conftest.er1
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } && {
32832 test -z "$ac_c_werror_flag" ||
32833 test ! -s conftest.err
32834 } && test -s conftest.$ac_objext; then
32835 ac_cv_header_GL_glu_h=yes
32836 else
32837 echo "$as_me: failed program was:" >&5
32838 sed 's/^/| /' conftest.$ac_ext >&5
32839
32840 ac_cv_header_GL_glu_h=no
32841 fi
32842
32843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32844 fi
32845 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32846 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32847 if test $ac_cv_header_GL_glu_h = yes; then
32848
32849 found_gl=0
32850
32851 { echo "$as_me:$LINENO: checking for -lGL" >&5
32852 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32853
32854 ac_find_libraries=
32855 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32856 do
32857 for ac_extension in a so sl dylib dll.a; do
32858 if test -f "$ac_dir/libGL.$ac_extension"; then
32859 ac_find_libraries=$ac_dir
32860 break 2
32861 fi
32862 done
32863 done
32864
32865 if test "$ac_find_libraries" != "" ; then
32866 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32867 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32868
32869
32870 if test "$ac_find_libraries" = "default location"; then
32871 ac_path_to_link=""
32872 else
32873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32874 result=$?
32875 if test $result = 0; then
32876 ac_path_to_link=""
32877 else
32878 ac_path_to_link=" -L$ac_find_libraries"
32879 fi
32880 fi
32881
32882 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32883 LDFLAGS_GL="$ac_path_to_link"
32884 fi
32885
32886 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32887 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32888
32889 ac_find_libraries=
32890 for ac_dir in $SEARCH_LIB;
32891 do
32892 for ac_extension in a so sl dylib dll.a; do
32893 if test -f "$ac_dir/libGLU.$ac_extension"; then
32894 ac_find_libraries=$ac_dir
32895 break 2
32896 fi
32897 done
32898 done
32899
32900 if test "$ac_find_libraries" != "" ; then
32901
32902 if test "$ac_find_libraries" = "default location"; then
32903 ac_path_to_link=""
32904 else
32905 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32906 result=$?
32907 if test $result = 0; then
32908 ac_path_to_link=""
32909 else
32910 ac_path_to_link=" -L$ac_find_libraries"
32911 fi
32912 fi
32913
32914 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32915 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32916 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32917 fi
32918
32919 found_gl=1
32920 OPENGL_LIBS="-lGL -lGLU"
32921 { echo "$as_me:$LINENO: result: yes" >&5
32922 echo "${ECHO_T}yes" >&6; }
32923 else
32924 { echo "$as_me:$LINENO: result: no" >&5
32925 echo "${ECHO_T}no" >&6; }
32926 fi
32927 else
32928 { echo "$as_me:$LINENO: result: no" >&5
32929 echo "${ECHO_T}no" >&6; }
32930 fi
32931
32932 if test "$found_gl" != 1; then
32933 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32934 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32935
32936 ac_find_libraries=
32937 for ac_dir in $SEARCH_LIB;
32938 do
32939 for ac_extension in a so sl dylib dll.a; do
32940 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32941 ac_find_libraries=$ac_dir
32942 break 2
32943 fi
32944 done
32945 done
32946
32947 if test "$ac_find_libraries" != "" ; then
32948
32949 if test "$ac_find_libraries" = "default location"; then
32950 ac_path_to_link=""
32951 else
32952 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32953 result=$?
32954 if test $result = 0; then
32955 ac_path_to_link=""
32956 else
32957 ac_path_to_link=" -L$ac_find_libraries"
32958 fi
32959 fi
32960
32961 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32962 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32963 { echo "$as_me:$LINENO: result: yes" >&5
32964 echo "${ECHO_T}yes" >&6; }
32965 else
32966 { echo "$as_me:$LINENO: result: no" >&5
32967 echo "${ECHO_T}no" >&6; }
32968 fi
32969 fi
32970
32971 fi
32972
32973
32974
32975 fi
32976
32977
32978
32979 if test "x$OPENGL_LIBS" = "x"; then
32980 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32981 echo "$as_me: error: OpenGL libraries not available" >&2;}
32982 { (exit 1); exit 1; }; }
32983 fi
32984 fi
32985
32986 if test "$wxUSE_OPENGL" = "yes"; then
32987 USE_OPENGL=1
32988 cat >>confdefs.h <<\_ACEOF
32989 #define wxUSE_OPENGL 1
32990 _ACEOF
32991
32992 cat >>confdefs.h <<\_ACEOF
32993 #define wxUSE_GLCANVAS 1
32994 _ACEOF
32995
32996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32997 fi
32998 fi
32999
33000
33001 if test -n "$TOOLKIT" ; then
33002 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33003 fi
33004
33005
33006
33007 if test "$wxUSE_SHARED" = "yes"; then
33008 case "${host}" in
33009 *-pc-msdosdjgpp )
33010 wxUSE_SHARED=no
33011 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33012 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33013 ;;
33014 esac
33015 fi
33016
33017 if test "$wxUSE_SHARED" = "yes"; then
33018
33019
33020 case "${host}" in
33021 *-*-cygwin* | *-*-mingw* )
33022 wx_cv_version_script=no
33023 ;;
33024
33025 *)
33026 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33027 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33028 if test "${wx_cv_version_script+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 else
33031
33032 echo "VER_1 { *; };" >conftest.sym
33033 echo "int main() { return 0; }" >conftest.cpp
33034
33035 if { ac_try='
33036 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33037 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33040 ac_status=$?
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; } ; then
33043 if test -s conftest.stderr ; then
33044 wx_cv_version_script=no
33045 else
33046 wx_cv_version_script=yes
33047 fi
33048 else
33049 wx_cv_version_script=no
33050 fi
33051
33052 if test $wx_cv_version_script = yes
33053 then
33054 echo "struct B { virtual ~B() { } }; \
33055 struct D : public B { }; \
33056 void F() { D d; }" > conftest.cpp
33057
33058 if { ac_try='
33059 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33060 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; } &&
33066 { ac_try='
33067 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33068 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33071 ac_status=$?
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; }
33074 then
33075 if { ac_try='
33076 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33077 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33079 (eval $ac_try) 2>&5
33080 ac_status=$?
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); }; }
33083 then
33084 wx_cv_version_script=yes
33085 else
33086 wx_cv_version_script=no
33087 fi
33088 fi
33089 fi
33090
33091 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33092 rm -f conftest1.output conftest2.output conftest3.output
33093
33094 fi
33095 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33096 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33097
33098 if test $wx_cv_version_script = yes ; then
33099 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33100 fi
33101 ;;
33102 esac
33103
33104
33105 if test "$wxUSE_VISIBILITY" != "no"; then
33106
33107
33108 if test -n "$GCC"; then
33109 CFLAGS_VISIBILITY="-fvisibility=hidden"
33110 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33111 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33112 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33113 if test "${wx_cv_cc_visibility+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33115 else
33116
33117 wx_save_CXXFLAGS="$CXXFLAGS"
33118 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33119 ac_ext=cpp
33120 ac_cpp='$CXXCPP $CPPFLAGS'
33121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33124
33125 cat >conftest.$ac_ext <<_ACEOF
33126 /* confdefs.h. */
33127 _ACEOF
33128 cat confdefs.h >>conftest.$ac_ext
33129 cat >>conftest.$ac_ext <<_ACEOF
33130 /* end confdefs.h. */
33131
33132 /* we need gcc >= 4.0, older versions with visibility support
33133 didn't have class visibility: */
33134 #if defined(__GNUC__) && __GNUC__ < 4
33135 error this gcc is too old;
33136 #endif
33137
33138 /* visibility only makes sense for ELF shared libs: */
33139 #if !defined(__ELF__) && !defined(__APPLE__)
33140 error this platform has no visibility;
33141 #endif
33142
33143 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33144 extern __attribute__((__visibility__("default"))) int exportedvar;
33145 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33146 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33147 class __attribute__((__visibility__("default"))) Foo {
33148 Foo() {}
33149 };
33150
33151 int
33152 main ()
33153 {
33154
33155 ;
33156 return 0;
33157 }
33158 _ACEOF
33159 rm -f conftest.$ac_objext
33160 if { (ac_try="$ac_compile"
33161 case "(($ac_try" in
33162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33163 *) ac_try_echo=$ac_try;;
33164 esac
33165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33166 (eval "$ac_compile") 2>conftest.er1
33167 ac_status=$?
33168 grep -v '^ *+' conftest.er1 >conftest.err
33169 rm -f conftest.er1
33170 cat conftest.err >&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); } && {
33173 test -z "$ac_cxx_werror_flag" ||
33174 test ! -s conftest.err
33175 } && test -s conftest.$ac_objext; then
33176 wx_cv_cc_visibility=yes
33177 else
33178 echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33180
33181 wx_cv_cc_visibility=no
33182 fi
33183
33184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33185 ac_ext=c
33186 ac_cpp='$CPP $CPPFLAGS'
33187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33190
33191 CXXFLAGS="$wx_save_CXXFLAGS"
33192 fi
33193
33194 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33195 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33196 if test $wx_cv_cc_visibility = yes; then
33197 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33198 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33199 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33201 else
33202
33203 wx_save_CXXFLAGS="$CXXFLAGS"
33204 wx_save_LDFLAGS="$LDFLAGS"
33205 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33206 LDFLAGS="$LDFLAGS -shared -fPIC"
33207 ac_ext=cpp
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33212
33213 cat >conftest.$ac_ext <<_ACEOF
33214 /* confdefs.h. */
33215 _ACEOF
33216 cat confdefs.h >>conftest.$ac_ext
33217 cat >>conftest.$ac_ext <<_ACEOF
33218 /* end confdefs.h. */
33219
33220 #include <string>
33221
33222 int
33223 main ()
33224 {
33225
33226 std::string s("hello");
33227 return s.length();
33228
33229 ;
33230 return 0;
33231 }
33232 _ACEOF
33233 rm -f conftest.$ac_objext conftest$ac_exeext
33234 if { (ac_try="$ac_link"
33235 case "(($ac_try" in
33236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33237 *) ac_try_echo=$ac_try;;
33238 esac
33239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33240 (eval "$ac_link") 2>conftest.er1
33241 ac_status=$?
33242 grep -v '^ *+' conftest.er1 >conftest.err
33243 rm -f conftest.er1
33244 cat conftest.err >&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } && {
33247 test -z "$ac_cxx_werror_flag" ||
33248 test ! -s conftest.err
33249 } && test -s conftest$ac_exeext &&
33250 $as_test_x conftest$ac_exeext; then
33251 wx_cv_cc_broken_libstdcxx_visibility=no
33252 else
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33255
33256 wx_cv_cc_broken_libstdcxx_visibility=yes
33257 fi
33258
33259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33260 conftest$ac_exeext conftest.$ac_ext
33261 ac_ext=c
33262 ac_cpp='$CPP $CPPFLAGS'
33263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33266
33267 CXXFLAGS="$wx_save_CXXFLAGS"
33268 LDFLAGS="$wx_save_LDFLAGS"
33269 fi
33270
33271 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33272 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33273
33274 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33275 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33276 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33277 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33278 echo $ECHO_N "(cached) $ECHO_C" >&6
33279 else
33280
33281 ac_ext=cpp
33282 ac_cpp='$CXXCPP $CPPFLAGS'
33283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33286
33287 cat >conftest.$ac_ext <<_ACEOF
33288 /* confdefs.h. */
33289 _ACEOF
33290 cat confdefs.h >>conftest.$ac_ext
33291 cat >>conftest.$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293
33294 #pragma GCC visibility push(default)
33295 #include <string>
33296 #pragma GCC visibility pop
33297
33298 int
33299 main ()
33300 {
33301
33302 std::string s("hello");
33303 return s.length();
33304
33305 ;
33306 return 0;
33307 }
33308 _ACEOF
33309 rm -f conftest.$ac_objext conftest$ac_exeext
33310 if { (ac_try="$ac_link"
33311 case "(($ac_try" in
33312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33313 *) ac_try_echo=$ac_try;;
33314 esac
33315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33316 (eval "$ac_link") 2>conftest.er1
33317 ac_status=$?
33318 grep -v '^ *+' conftest.er1 >conftest.err
33319 rm -f conftest.er1
33320 cat conftest.err >&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); } && {
33323 test -z "$ac_cxx_werror_flag" ||
33324 test ! -s conftest.err
33325 } && test -s conftest$ac_exeext &&
33326 $as_test_x conftest$ac_exeext; then
33327 wx_cv_cc_visibility_workaround=no
33328 else
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33331
33332 wx_cv_cc_visibility_workaround=yes
33333 fi
33334
33335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33336 conftest$ac_exeext conftest.$ac_ext
33337 ac_ext=c
33338 ac_cpp='$CPP $CPPFLAGS'
33339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33342
33343
33344 fi
33345
33346 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33347 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33348
33349 if test $wx_cv_cc_visibility_workaround = no; then
33350 wx_cv_cc_visibility=no
33351 fi
33352 fi
33353 fi
33354
33355 if test $wx_cv_cc_visibility = yes; then
33356 cat >>confdefs.h <<\_ACEOF
33357 #define HAVE_VISIBILITY 1
33358 _ACEOF
33359
33360 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33361 cat >>confdefs.h <<\_ACEOF
33362 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33363 _ACEOF
33364
33365 fi
33366 else
33367 CFLAGS_VISIBILITY=""
33368 CXXFLAGS_VISIBILITY=""
33369 fi
33370
33371
33372 fi
33373
33374 fi
33375
33376 if test "x$SUNCXX" = xyes; then
33377 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33378 WXCONFIG_RPATH="-R\$libdir"
33379 else
33380 case "${host}" in
33381 *-*-linux* | *-*-gnu* )
33382 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33383 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33384 ;;
33385
33386 *-*-solaris2* )
33387
33388 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33389
33390 saveLdflags="$LDFLAGS"
33391 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33392 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33393 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33394 cat >conftest.$ac_ext <<_ACEOF
33395 /* confdefs.h. */
33396 _ACEOF
33397 cat confdefs.h >>conftest.$ac_ext
33398 cat >>conftest.$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33400
33401 int
33402 main ()
33403 {
33404
33405 ;
33406 return 0;
33407 }
33408 _ACEOF
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (ac_try="$ac_link"
33411 case "(($ac_try" in
33412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33413 *) ac_try_echo=$ac_try;;
33414 esac
33415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33416 (eval "$ac_link") 2>conftest.er1
33417 ac_status=$?
33418 grep -v '^ *+' conftest.er1 >conftest.err
33419 rm -f conftest.er1
33420 cat conftest.err >&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } && {
33423 test -z "$ac_c_werror_flag" ||
33424 test ! -s conftest.err
33425 } && test -s conftest$ac_exeext &&
33426 $as_test_x conftest$ac_exeext; then
33427
33428 { echo "$as_me:$LINENO: result: yes" >&5
33429 echo "${ECHO_T}yes" >&6; }
33430 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33431 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33432
33433 else
33434 echo "$as_me: failed program was:" >&5
33435 sed 's/^/| /' conftest.$ac_ext >&5
33436
33437
33438 { echo "$as_me:$LINENO: result: no" >&5
33439 echo "${ECHO_T}no" >&6; }
33440 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33441 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33442 LDFLAGS="$saveLdflags -Wl,-R,/"
33443 cat >conftest.$ac_ext <<_ACEOF
33444 /* confdefs.h. */
33445 _ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449
33450 int
33451 main ()
33452 {
33453
33454 ;
33455 return 0;
33456 }
33457 _ACEOF
33458 rm -f conftest.$ac_objext conftest$ac_exeext
33459 if { (ac_try="$ac_link"
33460 case "(($ac_try" in
33461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33462 *) ac_try_echo=$ac_try;;
33463 esac
33464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33465 (eval "$ac_link") 2>conftest.er1
33466 ac_status=$?
33467 grep -v '^ *+' conftest.er1 >conftest.err
33468 rm -f conftest.er1
33469 cat conftest.err >&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); } && {
33472 test -z "$ac_c_werror_flag" ||
33473 test ! -s conftest.err
33474 } && test -s conftest$ac_exeext &&
33475 $as_test_x conftest$ac_exeext; then
33476
33477 { echo "$as_me:$LINENO: result: yes" >&5
33478 echo "${ECHO_T}yes" >&6; }
33479 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33480 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33481
33482 else
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.$ac_ext >&5
33485
33486
33487 { echo "$as_me:$LINENO: result: no" >&5
33488 echo "${ECHO_T}no" >&6; }
33489
33490 fi
33491
33492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33493 conftest$ac_exeext conftest.$ac_ext
33494
33495 fi
33496
33497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33498 conftest$ac_exeext conftest.$ac_ext
33499 LDFLAGS="$saveLdflags"
33500 ;;
33501
33502 *-*-darwin* )
33503 install_name_tool=`which install_name_tool`
33504 if test "$install_name_tool" -a -x "$install_name_tool"; then
33505 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33506 cat <<EOF >change-install-names
33507 #!/bin/sh
33508 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33509 inst_cmd="install_name_tool "
33510 for i in \${libnames} ; do
33511 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33512 done
33513 \${inst_cmd} \${3}
33514 EOF
33515 chmod +x change-install-names
33516 fi
33517 ;;
33518
33519 *-*-cygwin* | *-*-mingw32* )
33520 ;;
33521
33522 *-*-hpux* )
33523 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33524 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33525 ;;
33526
33527 esac
33528 fi
33529
33530 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33531
33532 if test $wxUSE_RPATH = "no"; then
33533 SAMPLES_RPATH_FLAG=''
33534 SAMPLES_RPATH_POSTLINK=''
33535 WXCONFIG_RPATH=''
33536 fi
33537
33538 SHARED=1
33539
33540 else
33541
33542 config_linkage_component="-static"
33543 SHARED=0
33544
33545 fi
33546
33547
33548 UNICODE=0
33549 lib_unicode_suffix=
33550 WX_CHARTYPE="ansi"
33551 if test "$wxUSE_UNICODE" = "yes"; then
33552 lib_unicode_suffix=u
33553 WX_CHARTYPE="unicode"
33554 UNICODE=1
33555 fi
33556
33557 lib_debug_suffix=
33558 WX_DEBUGTYPE="release"
33559 DEBUG_FLAG=0
33560 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33561 lib_debug_suffix=d
33562 WX_DEBUGTYPE="debug"
33563 DEBUG_FLAG=1
33564 fi
33565
33566 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33567 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33568
33569 DEBUG_INFO=0
33570 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33571 DEBUG_INFO=1
33572 fi
33573
33574 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33575
33576 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33577
33578 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33579
33580 if test "$cross_compiling" = "yes"; then
33581 HOST_SUFFIX="-$host_alias"
33582 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33583 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33584 fi
33585
33586 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33587 if test "${TOOLKIT_DIR}" = "os2"; then
33588 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33589 else
33590 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33591 fi
33592
33593
33594
33595 if test "$wxUSE_COCOA" = 1; then
33596
33597 ac_ext=c
33598 ac_cpp='$CPP $CPPFLAGS'
33599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33602
33603 ac_ext=m
33604
33605 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33606 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33607 cat >conftest.$ac_ext <<_ACEOF
33608 /* confdefs.h. */
33609 _ACEOF
33610 cat confdefs.h >>conftest.$ac_ext
33611 cat >>conftest.$ac_ext <<_ACEOF
33612 /* end confdefs.h. */
33613 #include <AppKit/NSEvent.h>
33614 #include <CoreFoundation/CoreFoundation.h>
33615
33616 int
33617 main ()
33618 {
33619
33620 ;
33621 return 0;
33622 }
33623 _ACEOF
33624 rm -f conftest.$ac_objext
33625 if { (ac_try="$ac_compile"
33626 case "(($ac_try" in
33627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33628 *) ac_try_echo=$ac_try;;
33629 esac
33630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33631 (eval "$ac_compile") 2>conftest.er1
33632 ac_status=$?
33633 grep -v '^ *+' conftest.er1 >conftest.err
33634 rm -f conftest.er1
33635 cat conftest.err >&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); } && {
33638 test -z "$ac_c_werror_flag" ||
33639 test ! -s conftest.err
33640 } && test -s conftest.$ac_objext; then
33641 { echo "$as_me:$LINENO: result: no" >&5
33642 echo "${ECHO_T}no" >&6; }
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 { echo "$as_me:$LINENO: result: yes" >&5
33648 echo "${ECHO_T}yes" >&6; }
33649 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33650 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33651 cat >conftest.$ac_ext <<_ACEOF
33652 /* confdefs.h. */
33653 _ACEOF
33654 cat confdefs.h >>conftest.$ac_ext
33655 cat >>conftest.$ac_ext <<_ACEOF
33656 /* end confdefs.h. */
33657 #define __Point__ 1
33658 #include <AppKit/NSEvent.h>
33659 #include <CoreFoundation/CoreFoundation.h>
33660
33661 int
33662 main ()
33663 {
33664
33665 ;
33666 return 0;
33667 }
33668 _ACEOF
33669 rm -f conftest.$ac_objext
33670 if { (ac_try="$ac_compile"
33671 case "(($ac_try" in
33672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33673 *) ac_try_echo=$ac_try;;
33674 esac
33675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33676 (eval "$ac_compile") 2>conftest.er1
33677 ac_status=$?
33678 grep -v '^ *+' conftest.er1 >conftest.err
33679 rm -f conftest.er1
33680 cat conftest.err >&5
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); } && {
33683 test -z "$ac_c_werror_flag" ||
33684 test ! -s conftest.err
33685 } && test -s conftest.$ac_objext; then
33686 { echo "$as_me:$LINENO: result: yes" >&5
33687 echo "${ECHO_T}yes" >&6; }
33688 cat >>confdefs.h <<\_ACEOF
33689 #define __Point__ 1
33690 _ACEOF
33691
33692
33693 else
33694 echo "$as_me: failed program was:" >&5
33695 sed 's/^/| /' conftest.$ac_ext >&5
33696
33697 { { echo "$as_me:$LINENO: error: no
33698 See \`config.log' for more details." >&5
33699 echo "$as_me: error: no
33700 See \`config.log' for more details." >&2;}
33701 { (exit 1); exit 1; }; }
33702
33703 fi
33704
33705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33706
33707 fi
33708
33709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33710 ac_ext=c
33711 ac_cpp='$CPP $CPPFLAGS'
33712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33715
33716 fi
33717
33718
33719 { echo "$as_me:$LINENO: checking for mode_t" >&5
33720 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33721 if test "${ac_cv_type_mode_t+set}" = set; then
33722 echo $ECHO_N "(cached) $ECHO_C" >&6
33723 else
33724 cat >conftest.$ac_ext <<_ACEOF
33725 /* confdefs.h. */
33726 _ACEOF
33727 cat confdefs.h >>conftest.$ac_ext
33728 cat >>conftest.$ac_ext <<_ACEOF
33729 /* end confdefs.h. */
33730 $ac_includes_default
33731 typedef mode_t ac__type_new_;
33732 int
33733 main ()
33734 {
33735 if ((ac__type_new_ *) 0)
33736 return 0;
33737 if (sizeof (ac__type_new_))
33738 return 0;
33739 ;
33740 return 0;
33741 }
33742 _ACEOF
33743 rm -f conftest.$ac_objext
33744 if { (ac_try="$ac_compile"
33745 case "(($ac_try" in
33746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33747 *) ac_try_echo=$ac_try;;
33748 esac
33749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33750 (eval "$ac_compile") 2>conftest.er1
33751 ac_status=$?
33752 grep -v '^ *+' conftest.er1 >conftest.err
33753 rm -f conftest.er1
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } && {
33757 test -z "$ac_c_werror_flag" ||
33758 test ! -s conftest.err
33759 } && test -s conftest.$ac_objext; then
33760 ac_cv_type_mode_t=yes
33761 else
33762 echo "$as_me: failed program was:" >&5
33763 sed 's/^/| /' conftest.$ac_ext >&5
33764
33765 ac_cv_type_mode_t=no
33766 fi
33767
33768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 fi
33770 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33771 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33772 if test $ac_cv_type_mode_t = yes; then
33773 :
33774 else
33775
33776 cat >>confdefs.h <<_ACEOF
33777 #define mode_t int
33778 _ACEOF
33779
33780 fi
33781
33782 { echo "$as_me:$LINENO: checking for off_t" >&5
33783 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33784 if test "${ac_cv_type_off_t+set}" = set; then
33785 echo $ECHO_N "(cached) $ECHO_C" >&6
33786 else
33787 cat >conftest.$ac_ext <<_ACEOF
33788 /* confdefs.h. */
33789 _ACEOF
33790 cat confdefs.h >>conftest.$ac_ext
33791 cat >>conftest.$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33793 $ac_includes_default
33794 typedef off_t ac__type_new_;
33795 int
33796 main ()
33797 {
33798 if ((ac__type_new_ *) 0)
33799 return 0;
33800 if (sizeof (ac__type_new_))
33801 return 0;
33802 ;
33803 return 0;
33804 }
33805 _ACEOF
33806 rm -f conftest.$ac_objext
33807 if { (ac_try="$ac_compile"
33808 case "(($ac_try" in
33809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33810 *) ac_try_echo=$ac_try;;
33811 esac
33812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33813 (eval "$ac_compile") 2>conftest.er1
33814 ac_status=$?
33815 grep -v '^ *+' conftest.er1 >conftest.err
33816 rm -f conftest.er1
33817 cat conftest.err >&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); } && {
33820 test -z "$ac_c_werror_flag" ||
33821 test ! -s conftest.err
33822 } && test -s conftest.$ac_objext; then
33823 ac_cv_type_off_t=yes
33824 else
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.$ac_ext >&5
33827
33828 ac_cv_type_off_t=no
33829 fi
33830
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 fi
33833 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33834 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33835 if test $ac_cv_type_off_t = yes; then
33836 :
33837 else
33838
33839 cat >>confdefs.h <<_ACEOF
33840 #define off_t long int
33841 _ACEOF
33842
33843 fi
33844
33845 { echo "$as_me:$LINENO: checking for pid_t" >&5
33846 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33847 if test "${ac_cv_type_pid_t+set}" = set; then
33848 echo $ECHO_N "(cached) $ECHO_C" >&6
33849 else
33850 cat >conftest.$ac_ext <<_ACEOF
33851 /* confdefs.h. */
33852 _ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33856 $ac_includes_default
33857 typedef pid_t ac__type_new_;
33858 int
33859 main ()
33860 {
33861 if ((ac__type_new_ *) 0)
33862 return 0;
33863 if (sizeof (ac__type_new_))
33864 return 0;
33865 ;
33866 return 0;
33867 }
33868 _ACEOF
33869 rm -f conftest.$ac_objext
33870 if { (ac_try="$ac_compile"
33871 case "(($ac_try" in
33872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33873 *) ac_try_echo=$ac_try;;
33874 esac
33875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33876 (eval "$ac_compile") 2>conftest.er1
33877 ac_status=$?
33878 grep -v '^ *+' conftest.er1 >conftest.err
33879 rm -f conftest.er1
33880 cat conftest.err >&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); } && {
33883 test -z "$ac_c_werror_flag" ||
33884 test ! -s conftest.err
33885 } && test -s conftest.$ac_objext; then
33886 ac_cv_type_pid_t=yes
33887 else
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.$ac_ext >&5
33890
33891 ac_cv_type_pid_t=no
33892 fi
33893
33894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33895 fi
33896 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33897 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33898 if test $ac_cv_type_pid_t = yes; then
33899 :
33900 else
33901
33902 cat >>confdefs.h <<_ACEOF
33903 #define pid_t int
33904 _ACEOF
33905
33906 fi
33907
33908 { echo "$as_me:$LINENO: checking for size_t" >&5
33909 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33910 if test "${ac_cv_type_size_t+set}" = set; then
33911 echo $ECHO_N "(cached) $ECHO_C" >&6
33912 else
33913 cat >conftest.$ac_ext <<_ACEOF
33914 /* confdefs.h. */
33915 _ACEOF
33916 cat confdefs.h >>conftest.$ac_ext
33917 cat >>conftest.$ac_ext <<_ACEOF
33918 /* end confdefs.h. */
33919 $ac_includes_default
33920 typedef size_t ac__type_new_;
33921 int
33922 main ()
33923 {
33924 if ((ac__type_new_ *) 0)
33925 return 0;
33926 if (sizeof (ac__type_new_))
33927 return 0;
33928 ;
33929 return 0;
33930 }
33931 _ACEOF
33932 rm -f conftest.$ac_objext
33933 if { (ac_try="$ac_compile"
33934 case "(($ac_try" in
33935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33936 *) ac_try_echo=$ac_try;;
33937 esac
33938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33939 (eval "$ac_compile") 2>conftest.er1
33940 ac_status=$?
33941 grep -v '^ *+' conftest.er1 >conftest.err
33942 rm -f conftest.er1
33943 cat conftest.err >&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } && {
33946 test -z "$ac_c_werror_flag" ||
33947 test ! -s conftest.err
33948 } && test -s conftest.$ac_objext; then
33949 ac_cv_type_size_t=yes
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33953
33954 ac_cv_type_size_t=no
33955 fi
33956
33957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33958 fi
33959 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33960 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33961 if test $ac_cv_type_size_t = yes; then
33962 :
33963 else
33964
33965 cat >>confdefs.h <<_ACEOF
33966 #define size_t unsigned int
33967 _ACEOF
33968
33969 fi
33970
33971
33972 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33973 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33974 if test "${ac_cv_type_ssize_t+set}" = set; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 else
33977 cat >conftest.$ac_ext <<_ACEOF
33978 /* confdefs.h. */
33979 _ACEOF
33980 cat confdefs.h >>conftest.$ac_ext
33981 cat >>conftest.$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 $ac_includes_default
33984 typedef ssize_t ac__type_new_;
33985 int
33986 main ()
33987 {
33988 if ((ac__type_new_ *) 0)
33989 return 0;
33990 if (sizeof (ac__type_new_))
33991 return 0;
33992 ;
33993 return 0;
33994 }
33995 _ACEOF
33996 rm -f conftest.$ac_objext
33997 if { (ac_try="$ac_compile"
33998 case "(($ac_try" in
33999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34000 *) ac_try_echo=$ac_try;;
34001 esac
34002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34003 (eval "$ac_compile") 2>conftest.er1
34004 ac_status=$?
34005 grep -v '^ *+' conftest.er1 >conftest.err
34006 rm -f conftest.er1
34007 cat conftest.err >&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); } && {
34010 test -z "$ac_c_werror_flag" ||
34011 test ! -s conftest.err
34012 } && test -s conftest.$ac_objext; then
34013 ac_cv_type_ssize_t=yes
34014 else
34015 echo "$as_me: failed program was:" >&5
34016 sed 's/^/| /' conftest.$ac_ext >&5
34017
34018 ac_cv_type_ssize_t=no
34019 fi
34020
34021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34022 fi
34023 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34024 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34025 if test $ac_cv_type_ssize_t = yes; then
34026
34027 cat >>confdefs.h <<_ACEOF
34028 #define HAVE_SSIZE_T 1
34029 _ACEOF
34030
34031
34032 fi
34033
34034
34035 ac_ext=cpp
34036 ac_cpp='$CXXCPP $CPPFLAGS'
34037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34040 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34041 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34042 if test "${wx_cv_size_t_is_uint+set}" = set; then
34043 echo $ECHO_N "(cached) $ECHO_C" >&6
34044 else
34045
34046 cat >conftest.$ac_ext <<_ACEOF
34047 /* confdefs.h. */
34048 _ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052 #include <stddef.h>
34053 int
34054 main ()
34055 {
34056
34057 return 0; }
34058
34059 struct Foo { void foo(size_t); void foo(unsigned int); };
34060
34061 int bar() {
34062
34063 ;
34064 return 0;
34065 }
34066 _ACEOF
34067 rm -f conftest.$ac_objext
34068 if { (ac_try="$ac_compile"
34069 case "(($ac_try" in
34070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34071 *) ac_try_echo=$ac_try;;
34072 esac
34073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34074 (eval "$ac_compile") 2>conftest.er1
34075 ac_status=$?
34076 grep -v '^ *+' conftest.er1 >conftest.err
34077 rm -f conftest.er1
34078 cat conftest.err >&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); } && {
34081 test -z "$ac_cxx_werror_flag" ||
34082 test ! -s conftest.err
34083 } && test -s conftest.$ac_objext; then
34084 wx_cv_size_t_is_uint=no
34085 else
34086 echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.$ac_ext >&5
34088
34089 wx_cv_size_t_is_uint=yes
34090
34091 fi
34092
34093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34094
34095
34096 fi
34097 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34098 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34099
34100 if test "$wx_cv_size_t_is_uint" = "yes"; then
34101 cat >>confdefs.h <<\_ACEOF
34102 #define wxSIZE_T_IS_UINT 1
34103 _ACEOF
34104
34105 else
34106 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34107 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34108 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34109 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 else
34111 cat >conftest.$ac_ext <<_ACEOF
34112 /* confdefs.h. */
34113 _ACEOF
34114 cat confdefs.h >>conftest.$ac_ext
34115 cat >>conftest.$ac_ext <<_ACEOF
34116 /* end confdefs.h. */
34117 #include <stddef.h>
34118 int
34119 main ()
34120 {
34121
34122 return 0; }
34123
34124 struct Foo { void foo(size_t); void foo(unsigned long); };
34125
34126 int bar() {
34127
34128 ;
34129 return 0;
34130 }
34131 _ACEOF
34132 rm -f conftest.$ac_objext
34133 if { (ac_try="$ac_compile"
34134 case "(($ac_try" in
34135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34136 *) ac_try_echo=$ac_try;;
34137 esac
34138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34139 (eval "$ac_compile") 2>conftest.er1
34140 ac_status=$?
34141 grep -v '^ *+' conftest.er1 >conftest.err
34142 rm -f conftest.er1
34143 cat conftest.err >&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } && {
34146 test -z "$ac_cxx_werror_flag" ||
34147 test ! -s conftest.err
34148 } && test -s conftest.$ac_objext; then
34149 wx_cv_size_t_is_ulong=no
34150 else
34151 echo "$as_me: failed program was:" >&5
34152 sed 's/^/| /' conftest.$ac_ext >&5
34153
34154 wx_cv_size_t_is_ulong=yes
34155
34156 fi
34157
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159
34160 fi
34161 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34162 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34163
34164 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34165 cat >>confdefs.h <<\_ACEOF
34166 #define wxSIZE_T_IS_ULONG 1
34167 _ACEOF
34168
34169 fi
34170 fi
34171
34172 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34173 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34174 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34175 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 else
34177 cat >conftest.$ac_ext <<_ACEOF
34178 /* confdefs.h. */
34179 _ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34183 #include <wchar.h>
34184 int
34185 main ()
34186 {
34187
34188 return 0; }
34189
34190 struct Foo { void foo(wchar_t);
34191 void foo(unsigned short);
34192 void foo(unsigned int);
34193 void foo(unsigned long); };
34194
34195 int bar() {
34196
34197 ;
34198 return 0;
34199 }
34200 _ACEOF
34201 rm -f conftest.$ac_objext
34202 if { (ac_try="$ac_compile"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34205 *) ac_try_echo=$ac_try;;
34206 esac
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_compile") 2>conftest.er1
34209 ac_status=$?
34210 grep -v '^ *+' conftest.er1 >conftest.err
34211 rm -f conftest.er1
34212 cat conftest.err >&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_cxx_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest.$ac_objext; then
34218 wx_cv_wchar_t_is_separate_type=yes
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34222
34223 wx_cv_wchar_t_is_separate_type=no
34224
34225 fi
34226
34227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34228
34229 fi
34230 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34231 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34232
34233 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34234 cat >>confdefs.h <<\_ACEOF
34235 #define wxWCHAR_T_IS_REAL_TYPE 1
34236 _ACEOF
34237
34238 else
34239 cat >>confdefs.h <<\_ACEOF
34240 #define wxWCHAR_T_IS_REAL_TYPE 0
34241 _ACEOF
34242
34243 fi
34244
34245 ac_ext=c
34246 ac_cpp='$CPP $CPPFLAGS'
34247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34250
34251
34252 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34253 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34254 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34256 else
34257
34258 cat >conftest.$ac_ext <<_ACEOF
34259 /* confdefs.h. */
34260 _ACEOF
34261 cat confdefs.h >>conftest.$ac_ext
34262 cat >>conftest.$ac_ext <<_ACEOF
34263 /* end confdefs.h. */
34264 #include <pwd.h>
34265 int
34266 main ()
34267 {
34268
34269 char *p;
34270 struct passwd *pw;
34271 p = pw->pw_gecos;
34272
34273 ;
34274 return 0;
34275 }
34276 _ACEOF
34277 rm -f conftest.$ac_objext
34278 if { (ac_try="$ac_compile"
34279 case "(($ac_try" in
34280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34281 *) ac_try_echo=$ac_try;;
34282 esac
34283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34284 (eval "$ac_compile") 2>conftest.er1
34285 ac_status=$?
34286 grep -v '^ *+' conftest.er1 >conftest.err
34287 rm -f conftest.er1
34288 cat conftest.err >&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } && {
34291 test -z "$ac_c_werror_flag" ||
34292 test ! -s conftest.err
34293 } && test -s conftest.$ac_objext; then
34294
34295 wx_cv_struct_pw_gecos=yes
34296
34297 else
34298 echo "$as_me: failed program was:" >&5
34299 sed 's/^/| /' conftest.$ac_ext >&5
34300
34301
34302 wx_cv_struct_pw_gecos=no
34303
34304
34305 fi
34306
34307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34308
34309
34310 fi
34311 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34312 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34313
34314 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34315 cat >>confdefs.h <<\_ACEOF
34316 #define HAVE_PW_GECOS 1
34317 _ACEOF
34318
34319 fi
34320
34321
34322 if test "$wxUSE_WCHAR_T" = "yes"; then
34323 cat >>confdefs.h <<\_ACEOF
34324 #define wxUSE_WCHAR_T 1
34325 _ACEOF
34326
34327
34328 WCSLEN_FOUND=0
34329 WCHAR_LINK=
34330
34331 for ac_func in wcslen
34332 do
34333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34337 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 else
34339 cat >conftest.$ac_ext <<_ACEOF
34340 /* confdefs.h. */
34341 _ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34347 #define $ac_func innocuous_$ac_func
34348
34349 /* System header to define __stub macros and hopefully few prototypes,
34350 which can conflict with char $ac_func (); below.
34351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34352 <limits.h> exists even on freestanding compilers. */
34353
34354 #ifdef __STDC__
34355 # include <limits.h>
34356 #else
34357 # include <assert.h>
34358 #endif
34359
34360 #undef $ac_func
34361
34362 /* Override any GCC internal prototype to avoid an error.
34363 Use char because int might match the return type of a GCC
34364 builtin and then its argument prototype would still apply. */
34365 #ifdef __cplusplus
34366 extern "C"
34367 #endif
34368 char $ac_func ();
34369 /* The GNU C library defines this for functions which it implements
34370 to always fail with ENOSYS. Some functions are actually named
34371 something starting with __ and the normal name is an alias. */
34372 #if defined __stub_$ac_func || defined __stub___$ac_func
34373 choke me
34374 #endif
34375
34376 int
34377 main ()
34378 {
34379 return $ac_func ();
34380 ;
34381 return 0;
34382 }
34383 _ACEOF
34384 rm -f conftest.$ac_objext conftest$ac_exeext
34385 if { (ac_try="$ac_link"
34386 case "(($ac_try" in
34387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34388 *) ac_try_echo=$ac_try;;
34389 esac
34390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34391 (eval "$ac_link") 2>conftest.er1
34392 ac_status=$?
34393 grep -v '^ *+' conftest.er1 >conftest.err
34394 rm -f conftest.er1
34395 cat conftest.err >&5
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); } && {
34398 test -z "$ac_c_werror_flag" ||
34399 test ! -s conftest.err
34400 } && test -s conftest$ac_exeext &&
34401 $as_test_x conftest$ac_exeext; then
34402 eval "$as_ac_var=yes"
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34406
34407 eval "$as_ac_var=no"
34408 fi
34409
34410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34411 conftest$ac_exeext conftest.$ac_ext
34412 fi
34413 ac_res=`eval echo '${'$as_ac_var'}'`
34414 { echo "$as_me:$LINENO: result: $ac_res" >&5
34415 echo "${ECHO_T}$ac_res" >&6; }
34416 if test `eval echo '${'$as_ac_var'}'` = yes; then
34417 cat >>confdefs.h <<_ACEOF
34418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34419 _ACEOF
34420 WCSLEN_FOUND=1
34421 fi
34422 done
34423
34424
34425 if test "$WCSLEN_FOUND" = 0; then
34426 if test "$TOOLKIT" = "MSW"; then
34427 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34428 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34429 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 else
34432 ac_check_lib_save_LIBS=$LIBS
34433 LIBS="-lmsvcrt $LIBS"
34434 cat >conftest.$ac_ext <<_ACEOF
34435 /* confdefs.h. */
34436 _ACEOF
34437 cat confdefs.h >>conftest.$ac_ext
34438 cat >>conftest.$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34440
34441 /* Override any GCC internal prototype to avoid an error.
34442 Use char because int might match the return type of a GCC
34443 builtin and then its argument prototype would still apply. */
34444 #ifdef __cplusplus
34445 extern "C"
34446 #endif
34447 char wcslen ();
34448 int
34449 main ()
34450 {
34451 return wcslen ();
34452 ;
34453 return 0;
34454 }
34455 _ACEOF
34456 rm -f conftest.$ac_objext conftest$ac_exeext
34457 if { (ac_try="$ac_link"
34458 case "(($ac_try" in
34459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34460 *) ac_try_echo=$ac_try;;
34461 esac
34462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34463 (eval "$ac_link") 2>conftest.er1
34464 ac_status=$?
34465 grep -v '^ *+' conftest.er1 >conftest.err
34466 rm -f conftest.er1
34467 cat conftest.err >&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); } && {
34470 test -z "$ac_c_werror_flag" ||
34471 test ! -s conftest.err
34472 } && test -s conftest$ac_exeext &&
34473 $as_test_x conftest$ac_exeext; then
34474 ac_cv_lib_msvcrt_wcslen=yes
34475 else
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34478
34479 ac_cv_lib_msvcrt_wcslen=no
34480 fi
34481
34482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34483 conftest$ac_exeext conftest.$ac_ext
34484 LIBS=$ac_check_lib_save_LIBS
34485 fi
34486 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34487 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34488 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34489 WCHAR_OK=1
34490 fi
34491
34492 else
34493 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34494 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34495 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 else
34498 ac_check_lib_save_LIBS=$LIBS
34499 LIBS="-lw $LIBS"
34500 cat >conftest.$ac_ext <<_ACEOF
34501 /* confdefs.h. */
34502 _ACEOF
34503 cat confdefs.h >>conftest.$ac_ext
34504 cat >>conftest.$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34506
34507 /* Override any GCC internal prototype to avoid an error.
34508 Use char because int might match the return type of a GCC
34509 builtin and then its argument prototype would still apply. */
34510 #ifdef __cplusplus
34511 extern "C"
34512 #endif
34513 char wcslen ();
34514 int
34515 main ()
34516 {
34517 return wcslen ();
34518 ;
34519 return 0;
34520 }
34521 _ACEOF
34522 rm -f conftest.$ac_objext conftest$ac_exeext
34523 if { (ac_try="$ac_link"
34524 case "(($ac_try" in
34525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34526 *) ac_try_echo=$ac_try;;
34527 esac
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_link") 2>conftest.er1
34530 ac_status=$?
34531 grep -v '^ *+' conftest.er1 >conftest.err
34532 rm -f conftest.er1
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_c_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest$ac_exeext &&
34539 $as_test_x conftest$ac_exeext; then
34540 ac_cv_lib_w_wcslen=yes
34541 else
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34544
34545 ac_cv_lib_w_wcslen=no
34546 fi
34547
34548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34549 conftest$ac_exeext conftest.$ac_ext
34550 LIBS=$ac_check_lib_save_LIBS
34551 fi
34552 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34553 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34554 if test $ac_cv_lib_w_wcslen = yes; then
34555
34556 WCHAR_LINK=" -lw"
34557 WCSLEN_FOUND=1
34558
34559 fi
34560
34561 fi
34562 fi
34563
34564 if test "$WCSLEN_FOUND" = 1; then
34565 cat >>confdefs.h <<\_ACEOF
34566 #define HAVE_WCSLEN 1
34567 _ACEOF
34568
34569 fi
34570
34571
34572 for ac_func in wcsdup
34573 do
34574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34578 echo $ECHO_N "(cached) $ECHO_C" >&6
34579 else
34580 cat >conftest.$ac_ext <<_ACEOF
34581 /* confdefs.h. */
34582 _ACEOF
34583 cat confdefs.h >>conftest.$ac_ext
34584 cat >>conftest.$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34588 #define $ac_func innocuous_$ac_func
34589
34590 /* System header to define __stub macros and hopefully few prototypes,
34591 which can conflict with char $ac_func (); below.
34592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34593 <limits.h> exists even on freestanding compilers. */
34594
34595 #ifdef __STDC__
34596 # include <limits.h>
34597 #else
34598 # include <assert.h>
34599 #endif
34600
34601 #undef $ac_func
34602
34603 /* Override any GCC internal prototype to avoid an error.
34604 Use char because int might match the return type of a GCC
34605 builtin and then its argument prototype would still apply. */
34606 #ifdef __cplusplus
34607 extern "C"
34608 #endif
34609 char $ac_func ();
34610 /* The GNU C library defines this for functions which it implements
34611 to always fail with ENOSYS. Some functions are actually named
34612 something starting with __ and the normal name is an alias. */
34613 #if defined __stub_$ac_func || defined __stub___$ac_func
34614 choke me
34615 #endif
34616
34617 int
34618 main ()
34619 {
34620 return $ac_func ();
34621 ;
34622 return 0;
34623 }
34624 _ACEOF
34625 rm -f conftest.$ac_objext conftest$ac_exeext
34626 if { (ac_try="$ac_link"
34627 case "(($ac_try" in
34628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34629 *) ac_try_echo=$ac_try;;
34630 esac
34631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34632 (eval "$ac_link") 2>conftest.er1
34633 ac_status=$?
34634 grep -v '^ *+' conftest.er1 >conftest.err
34635 rm -f conftest.er1
34636 cat conftest.err >&5
34637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638 (exit $ac_status); } && {
34639 test -z "$ac_c_werror_flag" ||
34640 test ! -s conftest.err
34641 } && test -s conftest$ac_exeext &&
34642 $as_test_x conftest$ac_exeext; then
34643 eval "$as_ac_var=yes"
34644 else
34645 echo "$as_me: failed program was:" >&5
34646 sed 's/^/| /' conftest.$ac_ext >&5
34647
34648 eval "$as_ac_var=no"
34649 fi
34650
34651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34652 conftest$ac_exeext conftest.$ac_ext
34653 fi
34654 ac_res=`eval echo '${'$as_ac_var'}'`
34655 { echo "$as_me:$LINENO: result: $ac_res" >&5
34656 echo "${ECHO_T}$ac_res" >&6; }
34657 if test `eval echo '${'$as_ac_var'}'` = yes; then
34658 cat >>confdefs.h <<_ACEOF
34659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34660 _ACEOF
34661
34662 fi
34663 done
34664
34665
34666 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34667 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34668 fi
34669
34670 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34671 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34672 if test "${ac_cv_type_mbstate_t+set}" = set; then
34673 echo $ECHO_N "(cached) $ECHO_C" >&6
34674 else
34675 cat >conftest.$ac_ext <<_ACEOF
34676 /* confdefs.h. */
34677 _ACEOF
34678 cat confdefs.h >>conftest.$ac_ext
34679 cat >>conftest.$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34681 #include <wchar.h>
34682
34683 typedef mbstate_t ac__type_new_;
34684 int
34685 main ()
34686 {
34687 if ((ac__type_new_ *) 0)
34688 return 0;
34689 if (sizeof (ac__type_new_))
34690 return 0;
34691 ;
34692 return 0;
34693 }
34694 _ACEOF
34695 rm -f conftest.$ac_objext
34696 if { (ac_try="$ac_compile"
34697 case "(($ac_try" in
34698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34699 *) ac_try_echo=$ac_try;;
34700 esac
34701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34702 (eval "$ac_compile") 2>conftest.er1
34703 ac_status=$?
34704 grep -v '^ *+' conftest.er1 >conftest.err
34705 rm -f conftest.er1
34706 cat conftest.err >&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } && {
34709 test -z "$ac_c_werror_flag" ||
34710 test ! -s conftest.err
34711 } && test -s conftest.$ac_objext; then
34712 ac_cv_type_mbstate_t=yes
34713 else
34714 echo "$as_me: failed program was:" >&5
34715 sed 's/^/| /' conftest.$ac_ext >&5
34716
34717 ac_cv_type_mbstate_t=no
34718 fi
34719
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721 fi
34722 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34723 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34724 if test $ac_cv_type_mbstate_t = yes; then
34725
34726 cat >>confdefs.h <<_ACEOF
34727 #define HAVE_MBSTATE_T 1
34728 _ACEOF
34729
34730
34731 for ac_func in wcsrtombs
34732 do
34733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739 cat >conftest.$ac_ext <<_ACEOF
34740 /* confdefs.h. */
34741 _ACEOF
34742 cat confdefs.h >>conftest.$ac_ext
34743 cat >>conftest.$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34747 #define $ac_func innocuous_$ac_func
34748
34749 /* System header to define __stub macros and hopefully few prototypes,
34750 which can conflict with char $ac_func (); below.
34751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34752 <limits.h> exists even on freestanding compilers. */
34753
34754 #ifdef __STDC__
34755 # include <limits.h>
34756 #else
34757 # include <assert.h>
34758 #endif
34759
34760 #undef $ac_func
34761
34762 /* Override any GCC internal prototype to avoid an error.
34763 Use char because int might match the return type of a GCC
34764 builtin and then its argument prototype would still apply. */
34765 #ifdef __cplusplus
34766 extern "C"
34767 #endif
34768 char $ac_func ();
34769 /* The GNU C library defines this for functions which it implements
34770 to always fail with ENOSYS. Some functions are actually named
34771 something starting with __ and the normal name is an alias. */
34772 #if defined __stub_$ac_func || defined __stub___$ac_func
34773 choke me
34774 #endif
34775
34776 int
34777 main ()
34778 {
34779 return $ac_func ();
34780 ;
34781 return 0;
34782 }
34783 _ACEOF
34784 rm -f conftest.$ac_objext conftest$ac_exeext
34785 if { (ac_try="$ac_link"
34786 case "(($ac_try" in
34787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34788 *) ac_try_echo=$ac_try;;
34789 esac
34790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34791 (eval "$ac_link") 2>conftest.er1
34792 ac_status=$?
34793 grep -v '^ *+' conftest.er1 >conftest.err
34794 rm -f conftest.er1
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } && {
34798 test -z "$ac_c_werror_flag" ||
34799 test ! -s conftest.err
34800 } && test -s conftest$ac_exeext &&
34801 $as_test_x conftest$ac_exeext; then
34802 eval "$as_ac_var=yes"
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34806
34807 eval "$as_ac_var=no"
34808 fi
34809
34810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34811 conftest$ac_exeext conftest.$ac_ext
34812 fi
34813 ac_res=`eval echo '${'$as_ac_var'}'`
34814 { echo "$as_me:$LINENO: result: $ac_res" >&5
34815 echo "${ECHO_T}$ac_res" >&6; }
34816 if test `eval echo '${'$as_ac_var'}'` = yes; then
34817 cat >>confdefs.h <<_ACEOF
34818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34819 _ACEOF
34820
34821 fi
34822 done
34823
34824 fi
34825
34826 else
34827 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34828 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34829 fi
34830
34831
34832
34833 for ac_func in snprintf vsnprintf
34834 do
34835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 else
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34849 #define $ac_func innocuous_$ac_func
34850
34851 /* System header to define __stub macros and hopefully few prototypes,
34852 which can conflict with char $ac_func (); below.
34853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34854 <limits.h> exists even on freestanding compilers. */
34855
34856 #ifdef __STDC__
34857 # include <limits.h>
34858 #else
34859 # include <assert.h>
34860 #endif
34861
34862 #undef $ac_func
34863
34864 /* Override any GCC internal prototype to avoid an error.
34865 Use char because int might match the return type of a GCC
34866 builtin and then its argument prototype would still apply. */
34867 #ifdef __cplusplus
34868 extern "C"
34869 #endif
34870 char $ac_func ();
34871 /* The GNU C library defines this for functions which it implements
34872 to always fail with ENOSYS. Some functions are actually named
34873 something starting with __ and the normal name is an alias. */
34874 #if defined __stub_$ac_func || defined __stub___$ac_func
34875 choke me
34876 #endif
34877
34878 int
34879 main ()
34880 {
34881 return $ac_func ();
34882 ;
34883 return 0;
34884 }
34885 _ACEOF
34886 rm -f conftest.$ac_objext conftest$ac_exeext
34887 if { (ac_try="$ac_link"
34888 case "(($ac_try" in
34889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34890 *) ac_try_echo=$ac_try;;
34891 esac
34892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34893 (eval "$ac_link") 2>conftest.er1
34894 ac_status=$?
34895 grep -v '^ *+' conftest.er1 >conftest.err
34896 rm -f conftest.er1
34897 cat conftest.err >&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } && {
34900 test -z "$ac_c_werror_flag" ||
34901 test ! -s conftest.err
34902 } && test -s conftest$ac_exeext &&
34903 $as_test_x conftest$ac_exeext; then
34904 eval "$as_ac_var=yes"
34905 else
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.$ac_ext >&5
34908
34909 eval "$as_ac_var=no"
34910 fi
34911
34912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34913 conftest$ac_exeext conftest.$ac_ext
34914 fi
34915 ac_res=`eval echo '${'$as_ac_var'}'`
34916 { echo "$as_me:$LINENO: result: $ac_res" >&5
34917 echo "${ECHO_T}$ac_res" >&6; }
34918 if test `eval echo '${'$as_ac_var'}'` = yes; then
34919 cat >>confdefs.h <<_ACEOF
34920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34921 _ACEOF
34922
34923 fi
34924 done
34925
34926
34927 if test "$ac_cv_func_vsnprintf" = "yes"; then
34928 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34929 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34930 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 else
34933
34934 cat >conftest.$ac_ext <<_ACEOF
34935 /* confdefs.h. */
34936 _ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940
34941 #include <stdio.h>
34942 #include <stdarg.h>
34943 #ifdef __MSL__
34944 #if __MSL__ >= 0x6000
34945 namespace std {}
34946 using namespace std;
34947 #endif
34948 #endif
34949
34950 int
34951 main ()
34952 {
34953
34954 char *buf;
34955 va_list ap;
34956 vsnprintf(buf, 10u, "%s", ap);
34957
34958 ;
34959 return 0;
34960 }
34961 _ACEOF
34962 rm -f conftest.$ac_objext
34963 if { (ac_try="$ac_compile"
34964 case "(($ac_try" in
34965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34966 *) ac_try_echo=$ac_try;;
34967 esac
34968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34969 (eval "$ac_compile") 2>conftest.er1
34970 ac_status=$?
34971 grep -v '^ *+' conftest.er1 >conftest.err
34972 rm -f conftest.er1
34973 cat conftest.err >&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); } && {
34976 test -z "$ac_c_werror_flag" ||
34977 test ! -s conftest.err
34978 } && test -s conftest.$ac_objext; then
34979 wx_cv_func_vsnprintf_decl=yes
34980 else
34981 echo "$as_me: failed program was:" >&5
34982 sed 's/^/| /' conftest.$ac_ext >&5
34983
34984 wx_cv_func_vsnprintf_decl=no
34985
34986 fi
34987
34988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34989
34990
34991 fi
34992 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34993 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34994
34995 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34996 cat >>confdefs.h <<\_ACEOF
34997 #define HAVE_VSNPRINTF_DECL 1
34998 _ACEOF
34999
35000
35001 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35002 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35003 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35005 else
35006
35007 cat >conftest.$ac_ext <<_ACEOF
35008 /* confdefs.h. */
35009 _ACEOF
35010 cat confdefs.h >>conftest.$ac_ext
35011 cat >>conftest.$ac_ext <<_ACEOF
35012 /* end confdefs.h. */
35013
35014 #include <stdio.h>
35015 #include <stdarg.h>
35016 #ifdef __MSL__
35017 #if __MSL__ >= 0x6000
35018 namespace std {}
35019 using namespace std;
35020 #endif
35021 #endif
35022
35023 int
35024 main ()
35025 {
35026
35027 char *buf;
35028 va_list ap;
35029 const char *fmt = "%s";
35030 vsnprintf(buf, 10u, fmt, ap);
35031
35032 ;
35033 return 0;
35034 }
35035 _ACEOF
35036 rm -f conftest.$ac_objext
35037 if { (ac_try="$ac_compile"
35038 case "(($ac_try" in
35039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35040 *) ac_try_echo=$ac_try;;
35041 esac
35042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35043 (eval "$ac_compile") 2>conftest.er1
35044 ac_status=$?
35045 grep -v '^ *+' conftest.er1 >conftest.err
35046 rm -f conftest.er1
35047 cat conftest.err >&5
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); } && {
35050 test -z "$ac_c_werror_flag" ||
35051 test ! -s conftest.err
35052 } && test -s conftest.$ac_objext; then
35053 wx_cv_func_broken_vsnprintf_decl=no
35054 else
35055 echo "$as_me: failed program was:" >&5
35056 sed 's/^/| /' conftest.$ac_ext >&5
35057
35058 wx_cv_func_broken_vsnprintf_decl=yes
35059
35060 fi
35061
35062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35063
35064
35065 fi
35066 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35067 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35068
35069 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35070 cat >>confdefs.h <<\_ACEOF
35071 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35072 _ACEOF
35073
35074 fi
35075 fi
35076 fi
35077
35078 if test "$ac_cv_func_snprintf" = "yes"; then
35079 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35080 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35081 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35083 else
35084
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091
35092 #include <stdio.h>
35093 #include <stdarg.h>
35094 #ifdef __MSL__
35095 #if __MSL__ >= 0x6000
35096 namespace std {}
35097 using namespace std;
35098 #endif
35099 #endif
35100
35101 int
35102 main ()
35103 {
35104
35105 char *buf;
35106 snprintf(buf, 10u, "%s", "wx");
35107
35108 ;
35109 return 0;
35110 }
35111 _ACEOF
35112 rm -f conftest.$ac_objext
35113 if { (ac_try="$ac_compile"
35114 case "(($ac_try" in
35115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35117 esac
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_compile") 2>conftest.er1
35120 ac_status=$?
35121 grep -v '^ *+' conftest.er1 >conftest.err
35122 rm -f conftest.er1
35123 cat conftest.err >&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } && {
35126 test -z "$ac_c_werror_flag" ||
35127 test ! -s conftest.err
35128 } && test -s conftest.$ac_objext; then
35129 wx_cv_func_snprintf_decl=yes
35130 else
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.$ac_ext >&5
35133
35134 wx_cv_func_snprintf_decl=no
35135
35136 fi
35137
35138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35139
35140
35141 fi
35142 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35143 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35144
35145 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35146 cat >>confdefs.h <<\_ACEOF
35147 #define HAVE_SNPRINTF_DECL 1
35148 _ACEOF
35149
35150 fi
35151
35152 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35153
35154 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35155 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35156 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35157 echo $ECHO_N "(cached) $ECHO_C" >&6
35158 else
35159
35160 if test "$cross_compiling" = yes; then
35161
35162 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35163 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35164 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35165 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35166 wx_cv_func_snprintf_pos_params=no
35167
35168
35169 else
35170 cat >conftest.$ac_ext <<_ACEOF
35171 /* confdefs.h. */
35172 _ACEOF
35173 cat confdefs.h >>conftest.$ac_ext
35174 cat >>conftest.$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35176
35177 #include <stdio.h>
35178
35179 int main (void)
35180 {
35181 char buffer[128];
35182 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35183 if (strcmp ("2 3 1", buffer) == 0)
35184 exit (0);
35185 exit (1);
35186 }
35187
35188 _ACEOF
35189 rm -f conftest$ac_exeext
35190 if { (ac_try="$ac_link"
35191 case "(($ac_try" in
35192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35193 *) ac_try_echo=$ac_try;;
35194 esac
35195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35196 (eval "$ac_link") 2>&5
35197 ac_status=$?
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35200 { (case "(($ac_try" in
35201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35202 *) ac_try_echo=$ac_try;;
35203 esac
35204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35205 (eval "$ac_try") 2>&5
35206 ac_status=$?
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; }; then
35209 wx_cv_func_snprintf_pos_params=no
35210 else
35211 echo "$as_me: program exited with status $ac_status" >&5
35212 echo "$as_me: failed program was:" >&5
35213 sed 's/^/| /' conftest.$ac_ext >&5
35214
35215 ( exit $ac_status )
35216 wx_cv_func_snprintf_pos_params=yes
35217 fi
35218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35219 fi
35220
35221
35222
35223
35224 fi
35225 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35226 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35227
35228 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35229 cat >>confdefs.h <<\_ACEOF
35230 #define HAVE_UNIX98_PRINTF 1
35231 _ACEOF
35232
35233 fi
35234 fi
35235 fi
35236
35237 if test "$wxUSE_UNICODE" = yes; then
35238
35239 wchar_headers="#include <stdio.h>
35240 #include <wchar.h>"
35241 case "${host}" in
35242 *-*-solaris2* )
35243
35244 for ac_header in widec.h
35245 do
35246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35250 echo $ECHO_N "(cached) $ECHO_C" >&6
35251 else
35252 cat >conftest.$ac_ext <<_ACEOF
35253 /* confdefs.h. */
35254 _ACEOF
35255 cat confdefs.h >>conftest.$ac_ext
35256 cat >>conftest.$ac_ext <<_ACEOF
35257 /* end confdefs.h. */
35258 $ac_includes_default
35259
35260 #include <$ac_header>
35261 _ACEOF
35262 rm -f conftest.$ac_objext
35263 if { (ac_try="$ac_compile"
35264 case "(($ac_try" in
35265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35266 *) ac_try_echo=$ac_try;;
35267 esac
35268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35269 (eval "$ac_compile") 2>conftest.er1
35270 ac_status=$?
35271 grep -v '^ *+' conftest.er1 >conftest.err
35272 rm -f conftest.er1
35273 cat conftest.err >&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } && {
35276 test -z "$ac_c_werror_flag" ||
35277 test ! -s conftest.err
35278 } && test -s conftest.$ac_objext; then
35279 eval "$as_ac_Header=yes"
35280 else
35281 echo "$as_me: failed program was:" >&5
35282 sed 's/^/| /' conftest.$ac_ext >&5
35283
35284 eval "$as_ac_Header=no"
35285 fi
35286
35287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35288 fi
35289 ac_res=`eval echo '${'$as_ac_Header'}'`
35290 { echo "$as_me:$LINENO: result: $ac_res" >&5
35291 echo "${ECHO_T}$ac_res" >&6; }
35292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35293 cat >>confdefs.h <<_ACEOF
35294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35295 _ACEOF
35296
35297 fi
35298
35299 done
35300
35301 if test "$ac_cv_header_widec_h" = "yes"; then
35302 wchar_headers="$wchar_headers
35303 #include <widec.h>"
35304 fi
35305 esac
35306
35307
35308 for wx_func in putws fputws wprintf vswprintf vswscanf
35309 do
35310 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35311 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35312 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35314 else
35315
35316 cat >conftest.$ac_ext <<_ACEOF
35317
35318 /* confdefs.h. */
35319 _ACEOF
35320 cat confdefs.h >>conftest.$ac_ext
35321 cat >>conftest.$ac_ext <<_ACEOF
35322 /* end confdefs.h. */
35323
35324 $wchar_headers
35325 $ac_includes_default
35326
35327 int
35328 main ()
35329 {
35330
35331 #ifndef $wx_func
35332 &$wx_func;
35333 #endif
35334
35335
35336 ;
35337 return 0;
35338 }
35339
35340 _ACEOF
35341 rm -f conftest.$ac_objext conftest$ac_exeext
35342 if { (ac_try="$ac_link"
35343 case "(($ac_try" in
35344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35345 *) ac_try_echo=$ac_try;;
35346 esac
35347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35348 (eval "$ac_link") 2>conftest.er1
35349 ac_status=$?
35350 grep -v '^ *+' conftest.er1 >conftest.err
35351 rm -f conftest.er1
35352 cat conftest.err >&5
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); } && {
35355 test -z "$ac_c_werror_flag" ||
35356 test ! -s conftest.err
35357 } && test -s conftest$ac_exeext &&
35358 $as_test_x conftest$ac_exeext; then
35359 eval wx_cv_func_$wx_func=yes
35360 else
35361 echo "$as_me: failed program was:" >&5
35362 sed 's/^/| /' conftest.$ac_ext >&5
35363
35364 eval wx_cv_func_$wx_func=no
35365 fi
35366
35367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35368 conftest$ac_exeext conftest.$ac_ext
35369
35370 fi
35371 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35372 { echo "$as_me:$LINENO: result: $ac_res" >&5
35373 echo "${ECHO_T}$ac_res" >&6; }
35374
35375 if eval test \$wx_cv_func_$wx_func = yes
35376 then
35377 cat >>confdefs.h <<_ACEOF
35378 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35379 _ACEOF
35380
35381
35382 else
35383 :
35384
35385 fi
35386 done
35387
35388
35389 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35390 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35391 cat >conftest.$ac_ext <<_ACEOF
35392 /* confdefs.h. */
35393 _ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397 #include <wchar.h>
35398 int
35399 main ()
35400 {
35401 &_vsnwprintf;
35402 ;
35403 return 0;
35404 }
35405 _ACEOF
35406 rm -f conftest.$ac_objext
35407 if { (ac_try="$ac_compile"
35408 case "(($ac_try" in
35409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35410 *) ac_try_echo=$ac_try;;
35411 esac
35412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35413 (eval "$ac_compile") 2>conftest.er1
35414 ac_status=$?
35415 grep -v '^ *+' conftest.er1 >conftest.err
35416 rm -f conftest.er1
35417 cat conftest.err >&5
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); } && {
35420 test -z "$ac_c_werror_flag" ||
35421 test ! -s conftest.err
35422 } && test -s conftest.$ac_objext; then
35423 { echo "$as_me:$LINENO: result: yes" >&5
35424 echo "${ECHO_T}yes" >&6; }
35425 cat >>confdefs.h <<\_ACEOF
35426 #define HAVE__VSNWPRINTF 1
35427 _ACEOF
35428
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35432
35433 { echo "$as_me:$LINENO: result: no" >&5
35434 echo "${ECHO_T}no" >&6; }
35435 fi
35436
35437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35438 fi
35439
35440 if test "$wxUSE_FILE" = "yes"; then
35441
35442 for wx_func in fsync
35443 do
35444 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35445 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35446 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35448 else
35449
35450 cat >conftest.$ac_ext <<_ACEOF
35451
35452 /* confdefs.h. */
35453 _ACEOF
35454 cat confdefs.h >>conftest.$ac_ext
35455 cat >>conftest.$ac_ext <<_ACEOF
35456 /* end confdefs.h. */
35457
35458
35459 $ac_includes_default
35460
35461 int
35462 main ()
35463 {
35464
35465 #ifndef $wx_func
35466 &$wx_func;
35467 #endif
35468
35469
35470 ;
35471 return 0;
35472 }
35473
35474 _ACEOF
35475 rm -f conftest.$ac_objext conftest$ac_exeext
35476 if { (ac_try="$ac_link"
35477 case "(($ac_try" in
35478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35479 *) ac_try_echo=$ac_try;;
35480 esac
35481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35482 (eval "$ac_link") 2>conftest.er1
35483 ac_status=$?
35484 grep -v '^ *+' conftest.er1 >conftest.err
35485 rm -f conftest.er1
35486 cat conftest.err >&5
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); } && {
35489 test -z "$ac_c_werror_flag" ||
35490 test ! -s conftest.err
35491 } && test -s conftest$ac_exeext &&
35492 $as_test_x conftest$ac_exeext; then
35493 eval wx_cv_func_$wx_func=yes
35494 else
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.$ac_ext >&5
35497
35498 eval wx_cv_func_$wx_func=no
35499 fi
35500
35501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35502 conftest$ac_exeext conftest.$ac_ext
35503
35504 fi
35505 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35506 { echo "$as_me:$LINENO: result: $ac_res" >&5
35507 echo "${ECHO_T}$ac_res" >&6; }
35508
35509 if eval test \$wx_cv_func_$wx_func = yes
35510 then
35511 cat >>confdefs.h <<_ACEOF
35512 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35513 _ACEOF
35514
35515
35516 else
35517 :
35518
35519 fi
35520 done
35521
35522 fi
35523
35524 ac_ext=cpp
35525 ac_cpp='$CXXCPP $CPPFLAGS'
35526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35529
35530
35531 for wx_func in round
35532 do
35533 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35534 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35535 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35536 echo $ECHO_N "(cached) $ECHO_C" >&6
35537 else
35538
35539 cat >conftest.$ac_ext <<_ACEOF
35540
35541 /* confdefs.h. */
35542 _ACEOF
35543 cat confdefs.h >>conftest.$ac_ext
35544 cat >>conftest.$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546
35547 #include <math.h>
35548 $ac_includes_default
35549
35550 int
35551 main ()
35552 {
35553
35554 #ifndef $wx_func
35555 &$wx_func;
35556 #endif
35557
35558
35559 ;
35560 return 0;
35561 }
35562
35563 _ACEOF
35564 rm -f conftest.$ac_objext conftest$ac_exeext
35565 if { (ac_try="$ac_link"
35566 case "(($ac_try" in
35567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35568 *) ac_try_echo=$ac_try;;
35569 esac
35570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35571 (eval "$ac_link") 2>conftest.er1
35572 ac_status=$?
35573 grep -v '^ *+' conftest.er1 >conftest.err
35574 rm -f conftest.er1
35575 cat conftest.err >&5
35576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577 (exit $ac_status); } && {
35578 test -z "$ac_cxx_werror_flag" ||
35579 test ! -s conftest.err
35580 } && test -s conftest$ac_exeext &&
35581 $as_test_x conftest$ac_exeext; then
35582 eval wx_cv_func_$wx_func=yes
35583 else
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.$ac_ext >&5
35586
35587 eval wx_cv_func_$wx_func=no
35588 fi
35589
35590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35591 conftest$ac_exeext conftest.$ac_ext
35592
35593 fi
35594 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35595 { echo "$as_me:$LINENO: result: $ac_res" >&5
35596 echo "${ECHO_T}$ac_res" >&6; }
35597
35598 if eval test \$wx_cv_func_$wx_func = yes
35599 then
35600 cat >>confdefs.h <<_ACEOF
35601 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35602 _ACEOF
35603
35604
35605 else
35606 :
35607
35608 fi
35609 done
35610
35611 ac_ext=c
35612 ac_cpp='$CPP $CPPFLAGS'
35613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616
35617
35618 if test "$TOOLKIT" != "MSW"; then
35619
35620 if test "$wxUSE_LIBICONV" != "no" ; then
35621
35622
35623
35624 # Check whether --with-libiconv-prefix was given.
35625 if test "${with_libiconv_prefix+set}" = set; then
35626 withval=$with_libiconv_prefix;
35627 for dir in `echo "$withval" | tr : ' '`; do
35628 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35629 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35630 done
35631
35632 fi
35633
35634
35635 { echo "$as_me:$LINENO: checking for iconv" >&5
35636 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35637 if test "${am_cv_func_iconv+set}" = set; then
35638 echo $ECHO_N "(cached) $ECHO_C" >&6
35639 else
35640
35641 am_cv_func_iconv="no, consider installing GNU libiconv"
35642 am_cv_lib_iconv=no
35643 cat >conftest.$ac_ext <<_ACEOF
35644 /* confdefs.h. */
35645 _ACEOF
35646 cat confdefs.h >>conftest.$ac_ext
35647 cat >>conftest.$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35649 #include <stdlib.h>
35650 #include <iconv.h>
35651 int
35652 main ()
35653 {
35654 iconv_t cd = iconv_open("","");
35655 iconv(cd,NULL,NULL,NULL,NULL);
35656 iconv_close(cd);
35657 ;
35658 return 0;
35659 }
35660 _ACEOF
35661 rm -f conftest.$ac_objext conftest$ac_exeext
35662 if { (ac_try="$ac_link"
35663 case "(($ac_try" in
35664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35665 *) ac_try_echo=$ac_try;;
35666 esac
35667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35668 (eval "$ac_link") 2>conftest.er1
35669 ac_status=$?
35670 grep -v '^ *+' conftest.er1 >conftest.err
35671 rm -f conftest.er1
35672 cat conftest.err >&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } && {
35675 test -z "$ac_c_werror_flag" ||
35676 test ! -s conftest.err
35677 } && test -s conftest$ac_exeext &&
35678 $as_test_x conftest$ac_exeext; then
35679 am_cv_func_iconv=yes
35680 else
35681 echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.$ac_ext >&5
35683
35684
35685 fi
35686
35687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35688 conftest$ac_exeext conftest.$ac_ext
35689 if test "$am_cv_func_iconv" != yes; then
35690 am_save_LIBS="$LIBS"
35691 LIBS="$LIBS -liconv"
35692 cat >conftest.$ac_ext <<_ACEOF
35693 /* confdefs.h. */
35694 _ACEOF
35695 cat confdefs.h >>conftest.$ac_ext
35696 cat >>conftest.$ac_ext <<_ACEOF
35697 /* end confdefs.h. */
35698 #include <stdlib.h>
35699 #include <iconv.h>
35700 int
35701 main ()
35702 {
35703 iconv_t cd = iconv_open("","");
35704 iconv(cd,NULL,NULL,NULL,NULL);
35705 iconv_close(cd);
35706 ;
35707 return 0;
35708 }
35709 _ACEOF
35710 rm -f conftest.$ac_objext conftest$ac_exeext
35711 if { (ac_try="$ac_link"
35712 case "(($ac_try" in
35713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35714 *) ac_try_echo=$ac_try;;
35715 esac
35716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35717 (eval "$ac_link") 2>conftest.er1
35718 ac_status=$?
35719 grep -v '^ *+' conftest.er1 >conftest.err
35720 rm -f conftest.er1
35721 cat conftest.err >&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); } && {
35724 test -z "$ac_c_werror_flag" ||
35725 test ! -s conftest.err
35726 } && test -s conftest$ac_exeext &&
35727 $as_test_x conftest$ac_exeext; then
35728 am_cv_lib_iconv=yes
35729 am_cv_func_iconv=yes
35730 else
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35733
35734
35735 fi
35736
35737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35738 conftest$ac_exeext conftest.$ac_ext
35739 LIBS="$am_save_LIBS"
35740 fi
35741
35742 fi
35743 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35744 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35745 if test "$am_cv_func_iconv" = yes; then
35746
35747 cat >>confdefs.h <<\_ACEOF
35748 #define HAVE_ICONV 1
35749 _ACEOF
35750
35751 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35752 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35753 if test "${wx_cv_func_iconv_const+set}" = set; then
35754 echo $ECHO_N "(cached) $ECHO_C" >&6
35755 else
35756 cat >conftest.$ac_ext <<_ACEOF
35757 /* confdefs.h. */
35758 _ACEOF
35759 cat confdefs.h >>conftest.$ac_ext
35760 cat >>conftest.$ac_ext <<_ACEOF
35761 /* end confdefs.h. */
35762
35763 #include <stdlib.h>
35764 #include <iconv.h>
35765 extern
35766 #ifdef __cplusplus
35767 "C"
35768 #endif
35769 #if defined(__STDC__) || defined(__cplusplus)
35770 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35771 #else
35772 size_t iconv();
35773 #endif
35774
35775 int
35776 main ()
35777 {
35778
35779 ;
35780 return 0;
35781 }
35782 _ACEOF
35783 rm -f conftest.$ac_objext
35784 if { (ac_try="$ac_compile"
35785 case "(($ac_try" in
35786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35787 *) ac_try_echo=$ac_try;;
35788 esac
35789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35790 (eval "$ac_compile") 2>conftest.er1
35791 ac_status=$?
35792 grep -v '^ *+' conftest.er1 >conftest.err
35793 rm -f conftest.er1
35794 cat conftest.err >&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } && {
35797 test -z "$ac_c_werror_flag" ||
35798 test ! -s conftest.err
35799 } && test -s conftest.$ac_objext; then
35800 wx_cv_func_iconv_const="no"
35801 else
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35804
35805 wx_cv_func_iconv_const="yes"
35806
35807 fi
35808
35809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35810
35811 fi
35812 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35813 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35814
35815 iconv_const=
35816 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35817 iconv_const="const"
35818 fi
35819
35820
35821 cat >>confdefs.h <<_ACEOF
35822 #define ICONV_CONST $iconv_const
35823 _ACEOF
35824
35825 fi
35826 LIBICONV=
35827 if test "$am_cv_lib_iconv" = yes; then
35828 LIBICONV="-liconv"
35829 fi
35830
35831
35832 LIBS="$LIBICONV $LIBS"
35833 fi
35834
35835 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35836
35837 for ac_func in sigaction
35838 do
35839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35843 echo $ECHO_N "(cached) $ECHO_C" >&6
35844 else
35845 cat >conftest.$ac_ext <<_ACEOF
35846 /* confdefs.h. */
35847 _ACEOF
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35853 #define $ac_func innocuous_$ac_func
35854
35855 /* System header to define __stub macros and hopefully few prototypes,
35856 which can conflict with char $ac_func (); below.
35857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35858 <limits.h> exists even on freestanding compilers. */
35859
35860 #ifdef __STDC__
35861 # include <limits.h>
35862 #else
35863 # include <assert.h>
35864 #endif
35865
35866 #undef $ac_func
35867
35868 /* Override any GCC internal prototype to avoid an error.
35869 Use char because int might match the return type of a GCC
35870 builtin and then its argument prototype would still apply. */
35871 #ifdef __cplusplus
35872 extern "C"
35873 #endif
35874 char $ac_func ();
35875 /* The GNU C library defines this for functions which it implements
35876 to always fail with ENOSYS. Some functions are actually named
35877 something starting with __ and the normal name is an alias. */
35878 #if defined __stub_$ac_func || defined __stub___$ac_func
35879 choke me
35880 #endif
35881
35882 int
35883 main ()
35884 {
35885 return $ac_func ();
35886 ;
35887 return 0;
35888 }
35889 _ACEOF
35890 rm -f conftest.$ac_objext conftest$ac_exeext
35891 if { (ac_try="$ac_link"
35892 case "(($ac_try" in
35893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35894 *) ac_try_echo=$ac_try;;
35895 esac
35896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35897 (eval "$ac_link") 2>conftest.er1
35898 ac_status=$?
35899 grep -v '^ *+' conftest.er1 >conftest.err
35900 rm -f conftest.er1
35901 cat conftest.err >&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); } && {
35904 test -z "$ac_c_werror_flag" ||
35905 test ! -s conftest.err
35906 } && test -s conftest$ac_exeext &&
35907 $as_test_x conftest$ac_exeext; then
35908 eval "$as_ac_var=yes"
35909 else
35910 echo "$as_me: failed program was:" >&5
35911 sed 's/^/| /' conftest.$ac_ext >&5
35912
35913 eval "$as_ac_var=no"
35914 fi
35915
35916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35917 conftest$ac_exeext conftest.$ac_ext
35918 fi
35919 ac_res=`eval echo '${'$as_ac_var'}'`
35920 { echo "$as_me:$LINENO: result: $ac_res" >&5
35921 echo "${ECHO_T}$ac_res" >&6; }
35922 if test `eval echo '${'$as_ac_var'}'` = yes; then
35923 cat >>confdefs.h <<_ACEOF
35924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35925 _ACEOF
35926
35927 fi
35928 done
35929
35930
35931 if test "$ac_cv_func_sigaction" = "no"; then
35932 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35933 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35934 wxUSE_ON_FATAL_EXCEPTION=no
35935 fi
35936
35937 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35938 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35939 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35940 if test "${wx_cv_type_sa_handler+set}" = set; then
35941 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 else
35943
35944 ac_ext=cpp
35945 ac_cpp='$CXXCPP $CPPFLAGS'
35946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35949
35950 cat >conftest.$ac_ext <<_ACEOF
35951 /* confdefs.h. */
35952 _ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956 #include <signal.h>
35957 int
35958 main ()
35959 {
35960
35961 extern void testSigHandler(int);
35962
35963 struct sigaction sa;
35964 sa.sa_handler = testSigHandler;
35965
35966 ;
35967 return 0;
35968 }
35969 _ACEOF
35970 rm -f conftest.$ac_objext
35971 if { (ac_try="$ac_compile"
35972 case "(($ac_try" in
35973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35974 *) ac_try_echo=$ac_try;;
35975 esac
35976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35977 (eval "$ac_compile") 2>conftest.er1
35978 ac_status=$?
35979 grep -v '^ *+' conftest.er1 >conftest.err
35980 rm -f conftest.er1
35981 cat conftest.err >&5
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); } && {
35984 test -z "$ac_cxx_werror_flag" ||
35985 test ! -s conftest.err
35986 } && test -s conftest.$ac_objext; then
35987
35988 wx_cv_type_sa_handler=int
35989
35990 else
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.$ac_ext >&5
35993
35994
35995 wx_cv_type_sa_handler=void
35996
35997 fi
35998
35999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36000 ac_ext=c
36001 ac_cpp='$CPP $CPPFLAGS'
36002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36005
36006
36007 fi
36008 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36009 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36010
36011 cat >>confdefs.h <<_ACEOF
36012 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36013 _ACEOF
36014
36015 fi
36016 fi
36017
36018 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36019 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36020 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36021 if test "${wx_cv_func_backtrace+set}" = set; then
36022 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 else
36024
36025 ac_ext=cpp
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030
36031 cat >conftest.$ac_ext <<_ACEOF
36032 /* confdefs.h. */
36033 _ACEOF
36034 cat confdefs.h >>conftest.$ac_ext
36035 cat >>conftest.$ac_ext <<_ACEOF
36036 /* end confdefs.h. */
36037 #include <execinfo.h>
36038 int
36039 main ()
36040 {
36041
36042 void *trace[1];
36043 char **messages;
36044
36045 backtrace(trace, 1);
36046 messages = backtrace_symbols(trace, 1);
36047
36048 ;
36049 return 0;
36050 }
36051 _ACEOF
36052 rm -f conftest.$ac_objext
36053 if { (ac_try="$ac_compile"
36054 case "(($ac_try" in
36055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36056 *) ac_try_echo=$ac_try;;
36057 esac
36058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36059 (eval "$ac_compile") 2>conftest.er1
36060 ac_status=$?
36061 grep -v '^ *+' conftest.er1 >conftest.err
36062 rm -f conftest.er1
36063 cat conftest.err >&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); } && {
36066 test -z "$ac_cxx_werror_flag" ||
36067 test ! -s conftest.err
36068 } && test -s conftest.$ac_objext; then
36069 wx_cv_func_backtrace=yes
36070 else
36071 echo "$as_me: failed program was:" >&5
36072 sed 's/^/| /' conftest.$ac_ext >&5
36073
36074 wx_cv_func_backtrace=no
36075
36076 fi
36077
36078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36079 ac_ext=c
36080 ac_cpp='$CPP $CPPFLAGS'
36081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36084
36085
36086
36087 fi
36088 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36089 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36090
36091
36092 if test "$wx_cv_func_backtrace" = "no"; then
36093 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36094 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36095 wxUSE_STACKWALKER=no
36096 else
36097 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36098 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36099 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36100 echo $ECHO_N "(cached) $ECHO_C" >&6
36101 else
36102
36103 ac_ext=cpp
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36108
36109 cat >conftest.$ac_ext <<_ACEOF
36110 /* confdefs.h. */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <cxxabi.h>
36116 int
36117 main ()
36118 {
36119
36120 int rc;
36121 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36122
36123 ;
36124 return 0;
36125 }
36126 _ACEOF
36127 rm -f conftest.$ac_objext conftest$ac_exeext
36128 if { (ac_try="$ac_link"
36129 case "(($ac_try" in
36130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36131 *) ac_try_echo=$ac_try;;
36132 esac
36133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36134 (eval "$ac_link") 2>conftest.er1
36135 ac_status=$?
36136 grep -v '^ *+' conftest.er1 >conftest.err
36137 rm -f conftest.er1
36138 cat conftest.err >&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); } && {
36141 test -z "$ac_cxx_werror_flag" ||
36142 test ! -s conftest.err
36143 } && test -s conftest$ac_exeext &&
36144 $as_test_x conftest$ac_exeext; then
36145 wx_cv_func_cxa_demangle=yes
36146 else
36147 echo "$as_me: failed program was:" >&5
36148 sed 's/^/| /' conftest.$ac_ext >&5
36149
36150 wx_cv_func_cxa_demangle=no
36151
36152 fi
36153
36154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36155 conftest$ac_exeext conftest.$ac_ext
36156 ac_ext=c
36157 ac_cpp='$CPP $CPPFLAGS'
36158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36161
36162
36163
36164 fi
36165 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36166 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36167
36168 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36169 cat >>confdefs.h <<\_ACEOF
36170 #define HAVE_CXA_DEMANGLE 1
36171 _ACEOF
36172
36173 fi
36174 fi
36175 fi
36176
36177 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36178 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36179 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36180 wxUSE_STACKWALKER=no
36181 fi
36182
36183
36184
36185
36186 for ac_func in mkstemp mktemp
36187 do
36188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36189 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36191 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36192 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 else
36194 cat >conftest.$ac_ext <<_ACEOF
36195 /* confdefs.h. */
36196 _ACEOF
36197 cat confdefs.h >>conftest.$ac_ext
36198 cat >>conftest.$ac_ext <<_ACEOF
36199 /* end confdefs.h. */
36200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36202 #define $ac_func innocuous_$ac_func
36203
36204 /* System header to define __stub macros and hopefully few prototypes,
36205 which can conflict with char $ac_func (); below.
36206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36207 <limits.h> exists even on freestanding compilers. */
36208
36209 #ifdef __STDC__
36210 # include <limits.h>
36211 #else
36212 # include <assert.h>
36213 #endif
36214
36215 #undef $ac_func
36216
36217 /* Override any GCC internal prototype to avoid an error.
36218 Use char because int might match the return type of a GCC
36219 builtin and then its argument prototype would still apply. */
36220 #ifdef __cplusplus
36221 extern "C"
36222 #endif
36223 char $ac_func ();
36224 /* The GNU C library defines this for functions which it implements
36225 to always fail with ENOSYS. Some functions are actually named
36226 something starting with __ and the normal name is an alias. */
36227 #if defined __stub_$ac_func || defined __stub___$ac_func
36228 choke me
36229 #endif
36230
36231 int
36232 main ()
36233 {
36234 return $ac_func ();
36235 ;
36236 return 0;
36237 }
36238 _ACEOF
36239 rm -f conftest.$ac_objext conftest$ac_exeext
36240 if { (ac_try="$ac_link"
36241 case "(($ac_try" in
36242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36243 *) ac_try_echo=$ac_try;;
36244 esac
36245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36246 (eval "$ac_link") 2>conftest.er1
36247 ac_status=$?
36248 grep -v '^ *+' conftest.er1 >conftest.err
36249 rm -f conftest.er1
36250 cat conftest.err >&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); } && {
36253 test -z "$ac_c_werror_flag" ||
36254 test ! -s conftest.err
36255 } && test -s conftest$ac_exeext &&
36256 $as_test_x conftest$ac_exeext; then
36257 eval "$as_ac_var=yes"
36258 else
36259 echo "$as_me: failed program was:" >&5
36260 sed 's/^/| /' conftest.$ac_ext >&5
36261
36262 eval "$as_ac_var=no"
36263 fi
36264
36265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36266 conftest$ac_exeext conftest.$ac_ext
36267 fi
36268 ac_res=`eval echo '${'$as_ac_var'}'`
36269 { echo "$as_me:$LINENO: result: $ac_res" >&5
36270 echo "${ECHO_T}$ac_res" >&6; }
36271 if test `eval echo '${'$as_ac_var'}'` = yes; then
36272 cat >>confdefs.h <<_ACEOF
36273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36274 _ACEOF
36275 break
36276 fi
36277 done
36278
36279
36280 { echo "$as_me:$LINENO: checking for statfs" >&5
36281 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36282 if test "${wx_cv_func_statfs+set}" = set; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 else
36285 cat >conftest.$ac_ext <<_ACEOF
36286 /* confdefs.h. */
36287 _ACEOF
36288 cat confdefs.h >>conftest.$ac_ext
36289 cat >>conftest.$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36291
36292 #if defined(__BSD__)
36293 #include <sys/param.h>
36294 #include <sys/mount.h>
36295 #else
36296 #include <sys/vfs.h>
36297 #endif
36298
36299 int
36300 main ()
36301 {
36302
36303 long l;
36304 struct statfs fs;
36305 statfs("/", &fs);
36306 l = fs.f_bsize;
36307 l += fs.f_blocks;
36308 l += fs.f_bavail;
36309
36310 ;
36311 return 0;
36312 }
36313 _ACEOF
36314 rm -f conftest.$ac_objext
36315 if { (ac_try="$ac_compile"
36316 case "(($ac_try" in
36317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36318 *) ac_try_echo=$ac_try;;
36319 esac
36320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36321 (eval "$ac_compile") 2>conftest.er1
36322 ac_status=$?
36323 grep -v '^ *+' conftest.er1 >conftest.err
36324 rm -f conftest.er1
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); } && {
36328 test -z "$ac_c_werror_flag" ||
36329 test ! -s conftest.err
36330 } && test -s conftest.$ac_objext; then
36331 wx_cv_func_statfs=yes
36332 else
36333 echo "$as_me: failed program was:" >&5
36334 sed 's/^/| /' conftest.$ac_ext >&5
36335
36336 wx_cv_func_statfs=no
36337
36338 fi
36339
36340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36341
36342 fi
36343 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36344 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36345
36346 if test "$wx_cv_func_statfs" = "yes"; then
36347 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36348 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36349 if test "${wx_cv_func_statfs_decl+set}" = set; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36351 else
36352 ac_ext=cpp
36353 ac_cpp='$CXXCPP $CPPFLAGS'
36354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36357
36358 cat >conftest.$ac_ext <<_ACEOF
36359 /* confdefs.h. */
36360 _ACEOF
36361 cat confdefs.h >>conftest.$ac_ext
36362 cat >>conftest.$ac_ext <<_ACEOF
36363 /* end confdefs.h. */
36364
36365 #if defined(__BSD__)
36366 #include <sys/param.h>
36367 #include <sys/mount.h>
36368 #else
36369 #include <sys/vfs.h>
36370 #endif
36371
36372 int
36373 main ()
36374 {
36375
36376 struct statfs fs;
36377 statfs("", &fs);
36378
36379 ;
36380 return 0;
36381 }
36382 _ACEOF
36383 rm -f conftest.$ac_objext
36384 if { (ac_try="$ac_compile"
36385 case "(($ac_try" in
36386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36387 *) ac_try_echo=$ac_try;;
36388 esac
36389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36390 (eval "$ac_compile") 2>conftest.er1
36391 ac_status=$?
36392 grep -v '^ *+' conftest.er1 >conftest.err
36393 rm -f conftest.er1
36394 cat conftest.err >&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); } && {
36397 test -z "$ac_cxx_werror_flag" ||
36398 test ! -s conftest.err
36399 } && test -s conftest.$ac_objext; then
36400 wx_cv_func_statfs_decl=yes
36401 else
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.$ac_ext >&5
36404
36405 wx_cv_func_statfs_decl=no
36406
36407 fi
36408
36409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36410 ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36415
36416
36417 fi
36418 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36419 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36420
36421 if test "$wx_cv_func_statfs_decl" = "yes"; then
36422 cat >>confdefs.h <<\_ACEOF
36423 #define HAVE_STATFS_DECL 1
36424 _ACEOF
36425
36426 fi
36427
36428 wx_cv_type_statvfs_t="struct statfs"
36429 cat >>confdefs.h <<\_ACEOF
36430 #define HAVE_STATFS 1
36431 _ACEOF
36432
36433 else
36434 { echo "$as_me:$LINENO: checking for statvfs" >&5
36435 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36436 if test "${wx_cv_func_statvfs+set}" = set; then
36437 echo $ECHO_N "(cached) $ECHO_C" >&6
36438 else
36439 cat >conftest.$ac_ext <<_ACEOF
36440 /* confdefs.h. */
36441 _ACEOF
36442 cat confdefs.h >>conftest.$ac_ext
36443 cat >>conftest.$ac_ext <<_ACEOF
36444 /* end confdefs.h. */
36445
36446 #include <stddef.h>
36447 #include <sys/statvfs.h>
36448
36449 int
36450 main ()
36451 {
36452
36453 statvfs("/", NULL);
36454
36455 ;
36456 return 0;
36457 }
36458 _ACEOF
36459 rm -f conftest.$ac_objext
36460 if { (ac_try="$ac_compile"
36461 case "(($ac_try" in
36462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36463 *) ac_try_echo=$ac_try;;
36464 esac
36465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36466 (eval "$ac_compile") 2>conftest.er1
36467 ac_status=$?
36468 grep -v '^ *+' conftest.er1 >conftest.err
36469 rm -f conftest.er1
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } && {
36473 test -z "$ac_c_werror_flag" ||
36474 test ! -s conftest.err
36475 } && test -s conftest.$ac_objext; then
36476 wx_cv_func_statvfs=yes
36477 else
36478 echo "$as_me: failed program was:" >&5
36479 sed 's/^/| /' conftest.$ac_ext >&5
36480
36481 wx_cv_func_statvfs=no
36482
36483 fi
36484
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36486
36487 fi
36488 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36489 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36490
36491 if test "$wx_cv_func_statvfs" = "yes"; then
36492 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36493 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36494 if test "${wx_cv_type_statvfs_t+set}" = set; then
36495 echo $ECHO_N "(cached) $ECHO_C" >&6
36496 else
36497 ac_ext=cpp
36498 ac_cpp='$CXXCPP $CPPFLAGS'
36499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36502
36503 cat >conftest.$ac_ext <<_ACEOF
36504 /* confdefs.h. */
36505 _ACEOF
36506 cat confdefs.h >>conftest.$ac_ext
36507 cat >>conftest.$ac_ext <<_ACEOF
36508 /* end confdefs.h. */
36509
36510 #include <sys/statvfs.h>
36511
36512 int
36513 main ()
36514 {
36515
36516 long l;
36517 statvfs_t fs;
36518 statvfs("/", &fs);
36519 l = fs.f_bsize;
36520 l += fs.f_blocks;
36521 l += fs.f_bavail;
36522
36523 ;
36524 return 0;
36525 }
36526 _ACEOF
36527 rm -f conftest.$ac_objext
36528 if { (ac_try="$ac_compile"
36529 case "(($ac_try" in
36530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36531 *) ac_try_echo=$ac_try;;
36532 esac
36533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36534 (eval "$ac_compile") 2>conftest.er1
36535 ac_status=$?
36536 grep -v '^ *+' conftest.er1 >conftest.err
36537 rm -f conftest.er1
36538 cat conftest.err >&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); } && {
36541 test -z "$ac_cxx_werror_flag" ||
36542 test ! -s conftest.err
36543 } && test -s conftest.$ac_objext; then
36544 wx_cv_type_statvfs_t=statvfs_t
36545 else
36546 echo "$as_me: failed program was:" >&5
36547 sed 's/^/| /' conftest.$ac_ext >&5
36548
36549
36550 cat >conftest.$ac_ext <<_ACEOF
36551 /* confdefs.h. */
36552 _ACEOF
36553 cat confdefs.h >>conftest.$ac_ext
36554 cat >>conftest.$ac_ext <<_ACEOF
36555 /* end confdefs.h. */
36556
36557 #include <sys/statvfs.h>
36558
36559 int
36560 main ()
36561 {
36562
36563 long l;
36564 struct statvfs fs;
36565 statvfs("/", &fs);
36566 l = fs.f_bsize;
36567 l += fs.f_blocks;
36568 l += fs.f_bavail;
36569
36570 ;
36571 return 0;
36572 }
36573 _ACEOF
36574 rm -f conftest.$ac_objext
36575 if { (ac_try="$ac_compile"
36576 case "(($ac_try" in
36577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36578 *) ac_try_echo=$ac_try;;
36579 esac
36580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36581 (eval "$ac_compile") 2>conftest.er1
36582 ac_status=$?
36583 grep -v '^ *+' conftest.er1 >conftest.err
36584 rm -f conftest.er1
36585 cat conftest.err >&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); } && {
36588 test -z "$ac_cxx_werror_flag" ||
36589 test ! -s conftest.err
36590 } && test -s conftest.$ac_objext; then
36591 wx_cv_type_statvfs_t="struct statvfs"
36592 else
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36595
36596 wx_cv_type_statvfs_t="unknown"
36597
36598 fi
36599
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36601
36602
36603 fi
36604
36605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36606 ac_ext=c
36607 ac_cpp='$CPP $CPPFLAGS'
36608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611
36612
36613 fi
36614 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36615 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36616
36617 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36618 cat >>confdefs.h <<\_ACEOF
36619 #define HAVE_STATVFS 1
36620 _ACEOF
36621
36622 fi
36623 else
36624 wx_cv_type_statvfs_t="unknown"
36625 fi
36626 fi
36627
36628 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36629 cat >>confdefs.h <<_ACEOF
36630 #define WX_STATFS_T $wx_cv_type_statvfs_t
36631 _ACEOF
36632
36633 else
36634 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36635 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36636 fi
36637
36638 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36639
36640
36641 for ac_func in fcntl flock
36642 do
36643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 else
36649 cat >conftest.$ac_ext <<_ACEOF
36650 /* confdefs.h. */
36651 _ACEOF
36652 cat confdefs.h >>conftest.$ac_ext
36653 cat >>conftest.$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36657 #define $ac_func innocuous_$ac_func
36658
36659 /* System header to define __stub macros and hopefully few prototypes,
36660 which can conflict with char $ac_func (); below.
36661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36662 <limits.h> exists even on freestanding compilers. */
36663
36664 #ifdef __STDC__
36665 # include <limits.h>
36666 #else
36667 # include <assert.h>
36668 #endif
36669
36670 #undef $ac_func
36671
36672 /* Override any GCC internal prototype to avoid an error.
36673 Use char because int might match the return type of a GCC
36674 builtin and then its argument prototype would still apply. */
36675 #ifdef __cplusplus
36676 extern "C"
36677 #endif
36678 char $ac_func ();
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined __stub_$ac_func || defined __stub___$ac_func
36683 choke me
36684 #endif
36685
36686 int
36687 main ()
36688 {
36689 return $ac_func ();
36690 ;
36691 return 0;
36692 }
36693 _ACEOF
36694 rm -f conftest.$ac_objext conftest$ac_exeext
36695 if { (ac_try="$ac_link"
36696 case "(($ac_try" in
36697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36698 *) ac_try_echo=$ac_try;;
36699 esac
36700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36701 (eval "$ac_link") 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } && {
36708 test -z "$ac_c_werror_flag" ||
36709 test ! -s conftest.err
36710 } && test -s conftest$ac_exeext &&
36711 $as_test_x conftest$ac_exeext; then
36712 eval "$as_ac_var=yes"
36713 else
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36716
36717 eval "$as_ac_var=no"
36718 fi
36719
36720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36721 conftest$ac_exeext conftest.$ac_ext
36722 fi
36723 ac_res=`eval echo '${'$as_ac_var'}'`
36724 { echo "$as_me:$LINENO: result: $ac_res" >&5
36725 echo "${ECHO_T}$ac_res" >&6; }
36726 if test `eval echo '${'$as_ac_var'}'` = yes; then
36727 cat >>confdefs.h <<_ACEOF
36728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36729 _ACEOF
36730 break
36731 fi
36732 done
36733
36734
36735 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36736 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36737 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36738 wxUSE_SNGLINST_CHECKER=no
36739 fi
36740 fi
36741
36742
36743
36744 for ac_func in setenv putenv
36745 do
36746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36750 echo $ECHO_N "(cached) $ECHO_C" >&6
36751 else
36752 cat >conftest.$ac_ext <<_ACEOF
36753 /* confdefs.h. */
36754 _ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36760 #define $ac_func innocuous_$ac_func
36761
36762 /* System header to define __stub macros and hopefully few prototypes,
36763 which can conflict with char $ac_func (); below.
36764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36765 <limits.h> exists even on freestanding compilers. */
36766
36767 #ifdef __STDC__
36768 # include <limits.h>
36769 #else
36770 # include <assert.h>
36771 #endif
36772
36773 #undef $ac_func
36774
36775 /* Override any GCC internal prototype to avoid an error.
36776 Use char because int might match the return type of a GCC
36777 builtin and then its argument prototype would still apply. */
36778 #ifdef __cplusplus
36779 extern "C"
36780 #endif
36781 char $ac_func ();
36782 /* The GNU C library defines this for functions which it implements
36783 to always fail with ENOSYS. Some functions are actually named
36784 something starting with __ and the normal name is an alias. */
36785 #if defined __stub_$ac_func || defined __stub___$ac_func
36786 choke me
36787 #endif
36788
36789 int
36790 main ()
36791 {
36792 return $ac_func ();
36793 ;
36794 return 0;
36795 }
36796 _ACEOF
36797 rm -f conftest.$ac_objext conftest$ac_exeext
36798 if { (ac_try="$ac_link"
36799 case "(($ac_try" in
36800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36801 *) ac_try_echo=$ac_try;;
36802 esac
36803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36804 (eval "$ac_link") 2>conftest.er1
36805 ac_status=$?
36806 grep -v '^ *+' conftest.er1 >conftest.err
36807 rm -f conftest.er1
36808 cat conftest.err >&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); } && {
36811 test -z "$ac_c_werror_flag" ||
36812 test ! -s conftest.err
36813 } && test -s conftest$ac_exeext &&
36814 $as_test_x conftest$ac_exeext; then
36815 eval "$as_ac_var=yes"
36816 else
36817 echo "$as_me: failed program was:" >&5
36818 sed 's/^/| /' conftest.$ac_ext >&5
36819
36820 eval "$as_ac_var=no"
36821 fi
36822
36823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36824 conftest$ac_exeext conftest.$ac_ext
36825 fi
36826 ac_res=`eval echo '${'$as_ac_var'}'`
36827 { echo "$as_me:$LINENO: result: $ac_res" >&5
36828 echo "${ECHO_T}$ac_res" >&6; }
36829 if test `eval echo '${'$as_ac_var'}'` = yes; then
36830 cat >>confdefs.h <<_ACEOF
36831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36832 _ACEOF
36833 break
36834 fi
36835 done
36836
36837 if test "$ac_cv_func_setenv" = "yes"; then
36838
36839 for ac_func in unsetenv
36840 do
36841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36846 else
36847 cat >conftest.$ac_ext <<_ACEOF
36848 /* confdefs.h. */
36849 _ACEOF
36850 cat confdefs.h >>conftest.$ac_ext
36851 cat >>conftest.$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36855 #define $ac_func innocuous_$ac_func
36856
36857 /* System header to define __stub macros and hopefully few prototypes,
36858 which can conflict with char $ac_func (); below.
36859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36860 <limits.h> exists even on freestanding compilers. */
36861
36862 #ifdef __STDC__
36863 # include <limits.h>
36864 #else
36865 # include <assert.h>
36866 #endif
36867
36868 #undef $ac_func
36869
36870 /* Override any GCC internal prototype to avoid an error.
36871 Use char because int might match the return type of a GCC
36872 builtin and then its argument prototype would still apply. */
36873 #ifdef __cplusplus
36874 extern "C"
36875 #endif
36876 char $ac_func ();
36877 /* The GNU C library defines this for functions which it implements
36878 to always fail with ENOSYS. Some functions are actually named
36879 something starting with __ and the normal name is an alias. */
36880 #if defined __stub_$ac_func || defined __stub___$ac_func
36881 choke me
36882 #endif
36883
36884 int
36885 main ()
36886 {
36887 return $ac_func ();
36888 ;
36889 return 0;
36890 }
36891 _ACEOF
36892 rm -f conftest.$ac_objext conftest$ac_exeext
36893 if { (ac_try="$ac_link"
36894 case "(($ac_try" in
36895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36896 *) ac_try_echo=$ac_try;;
36897 esac
36898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36899 (eval "$ac_link") 2>conftest.er1
36900 ac_status=$?
36901 grep -v '^ *+' conftest.er1 >conftest.err
36902 rm -f conftest.er1
36903 cat conftest.err >&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); } && {
36906 test -z "$ac_c_werror_flag" ||
36907 test ! -s conftest.err
36908 } && test -s conftest$ac_exeext &&
36909 $as_test_x conftest$ac_exeext; then
36910 eval "$as_ac_var=yes"
36911 else
36912 echo "$as_me: failed program was:" >&5
36913 sed 's/^/| /' conftest.$ac_ext >&5
36914
36915 eval "$as_ac_var=no"
36916 fi
36917
36918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36919 conftest$ac_exeext conftest.$ac_ext
36920 fi
36921 ac_res=`eval echo '${'$as_ac_var'}'`
36922 { echo "$as_me:$LINENO: result: $ac_res" >&5
36923 echo "${ECHO_T}$ac_res" >&6; }
36924 if test `eval echo '${'$as_ac_var'}'` = yes; then
36925 cat >>confdefs.h <<_ACEOF
36926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36927 _ACEOF
36928
36929 fi
36930 done
36931
36932 fi
36933
36934 HAVE_SOME_SLEEP_FUNC=0
36935 if test "$USE_BEOS" = 1; then
36936 cat >>confdefs.h <<\_ACEOF
36937 #define HAVE_SLEEP 1
36938 _ACEOF
36939
36940 HAVE_SOME_SLEEP_FUNC=1
36941 fi
36942
36943 if test "$USE_DARWIN" = 1; then
36944 cat >>confdefs.h <<\_ACEOF
36945 #define HAVE_USLEEP 1
36946 _ACEOF
36947
36948 HAVE_SOME_SLEEP_FUNC=1
36949 fi
36950
36951 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36952 POSIX4_LINK=
36953
36954 for ac_func in nanosleep
36955 do
36956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36959 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36960 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 else
36962 cat >conftest.$ac_ext <<_ACEOF
36963 /* confdefs.h. */
36964 _ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36970 #define $ac_func innocuous_$ac_func
36971
36972 /* System header to define __stub macros and hopefully few prototypes,
36973 which can conflict with char $ac_func (); below.
36974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36975 <limits.h> exists even on freestanding compilers. */
36976
36977 #ifdef __STDC__
36978 # include <limits.h>
36979 #else
36980 # include <assert.h>
36981 #endif
36982
36983 #undef $ac_func
36984
36985 /* Override any GCC internal prototype to avoid an error.
36986 Use char because int might match the return type of a GCC
36987 builtin and then its argument prototype would still apply. */
36988 #ifdef __cplusplus
36989 extern "C"
36990 #endif
36991 char $ac_func ();
36992 /* The GNU C library defines this for functions which it implements
36993 to always fail with ENOSYS. Some functions are actually named
36994 something starting with __ and the normal name is an alias. */
36995 #if defined __stub_$ac_func || defined __stub___$ac_func
36996 choke me
36997 #endif
36998
36999 int
37000 main ()
37001 {
37002 return $ac_func ();
37003 ;
37004 return 0;
37005 }
37006 _ACEOF
37007 rm -f conftest.$ac_objext conftest$ac_exeext
37008 if { (ac_try="$ac_link"
37009 case "(($ac_try" in
37010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37011 *) ac_try_echo=$ac_try;;
37012 esac
37013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37014 (eval "$ac_link") 2>conftest.er1
37015 ac_status=$?
37016 grep -v '^ *+' conftest.er1 >conftest.err
37017 rm -f conftest.er1
37018 cat conftest.err >&5
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); } && {
37021 test -z "$ac_c_werror_flag" ||
37022 test ! -s conftest.err
37023 } && test -s conftest$ac_exeext &&
37024 $as_test_x conftest$ac_exeext; then
37025 eval "$as_ac_var=yes"
37026 else
37027 echo "$as_me: failed program was:" >&5
37028 sed 's/^/| /' conftest.$ac_ext >&5
37029
37030 eval "$as_ac_var=no"
37031 fi
37032
37033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37034 conftest$ac_exeext conftest.$ac_ext
37035 fi
37036 ac_res=`eval echo '${'$as_ac_var'}'`
37037 { echo "$as_me:$LINENO: result: $ac_res" >&5
37038 echo "${ECHO_T}$ac_res" >&6; }
37039 if test `eval echo '${'$as_ac_var'}'` = yes; then
37040 cat >>confdefs.h <<_ACEOF
37041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37042 _ACEOF
37043 cat >>confdefs.h <<\_ACEOF
37044 #define HAVE_NANOSLEEP 1
37045 _ACEOF
37046
37047 else
37048
37049 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37050 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37051 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 else
37054 ac_check_lib_save_LIBS=$LIBS
37055 LIBS="-lposix4 $LIBS"
37056 cat >conftest.$ac_ext <<_ACEOF
37057 /* confdefs.h. */
37058 _ACEOF
37059 cat confdefs.h >>conftest.$ac_ext
37060 cat >>conftest.$ac_ext <<_ACEOF
37061 /* end confdefs.h. */
37062
37063 /* Override any GCC internal prototype to avoid an error.
37064 Use char because int might match the return type of a GCC
37065 builtin and then its argument prototype would still apply. */
37066 #ifdef __cplusplus
37067 extern "C"
37068 #endif
37069 char nanosleep ();
37070 int
37071 main ()
37072 {
37073 return nanosleep ();
37074 ;
37075 return 0;
37076 }
37077 _ACEOF
37078 rm -f conftest.$ac_objext conftest$ac_exeext
37079 if { (ac_try="$ac_link"
37080 case "(($ac_try" in
37081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37082 *) ac_try_echo=$ac_try;;
37083 esac
37084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37085 (eval "$ac_link") 2>conftest.er1
37086 ac_status=$?
37087 grep -v '^ *+' conftest.er1 >conftest.err
37088 rm -f conftest.er1
37089 cat conftest.err >&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); } && {
37092 test -z "$ac_c_werror_flag" ||
37093 test ! -s conftest.err
37094 } && test -s conftest$ac_exeext &&
37095 $as_test_x conftest$ac_exeext; then
37096 ac_cv_lib_posix4_nanosleep=yes
37097 else
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.$ac_ext >&5
37100
37101 ac_cv_lib_posix4_nanosleep=no
37102 fi
37103
37104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37105 conftest$ac_exeext conftest.$ac_ext
37106 LIBS=$ac_check_lib_save_LIBS
37107 fi
37108 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37109 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37110 if test $ac_cv_lib_posix4_nanosleep = yes; then
37111
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_NANOSLEEP 1
37114 _ACEOF
37115
37116 POSIX4_LINK=" -lposix4"
37117
37118 else
37119
37120
37121 for wx_func in usleep
37122 do
37123 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37124 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37125 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37126 echo $ECHO_N "(cached) $ECHO_C" >&6
37127 else
37128
37129 cat >conftest.$ac_ext <<_ACEOF
37130
37131 /* confdefs.h. */
37132 _ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136
37137
37138 $ac_includes_default
37139
37140 int
37141 main ()
37142 {
37143
37144 #ifndef $wx_func
37145 &$wx_func;
37146 #endif
37147
37148
37149 ;
37150 return 0;
37151 }
37152
37153 _ACEOF
37154 rm -f conftest.$ac_objext conftest$ac_exeext
37155 if { (ac_try="$ac_link"
37156 case "(($ac_try" in
37157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37159 esac
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_link") 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_c_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest$ac_exeext &&
37171 $as_test_x conftest$ac_exeext; then
37172 eval wx_cv_func_$wx_func=yes
37173 else
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37176
37177 eval wx_cv_func_$wx_func=no
37178 fi
37179
37180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37181 conftest$ac_exeext conftest.$ac_ext
37182
37183 fi
37184 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37185 { echo "$as_me:$LINENO: result: $ac_res" >&5
37186 echo "${ECHO_T}$ac_res" >&6; }
37187
37188 if eval test \$wx_cv_func_$wx_func = yes
37189 then
37190 cat >>confdefs.h <<_ACEOF
37191 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37192 _ACEOF
37193
37194
37195 else
37196 :
37197 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37198 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37199
37200 fi
37201 done
37202
37203
37204
37205 fi
37206
37207
37208
37209 fi
37210 done
37211
37212 fi
37213
37214
37215 for wx_func in uname
37216 do
37217 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37218 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37219 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222
37223 cat >conftest.$ac_ext <<_ACEOF
37224
37225 /* confdefs.h. */
37226 _ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37230
37231 #include <sys/utsname.h>
37232 $ac_includes_default
37233
37234 int
37235 main ()
37236 {
37237
37238 #ifndef $wx_func
37239 &$wx_func;
37240 #endif
37241
37242
37243 ;
37244 return 0;
37245 }
37246
37247 _ACEOF
37248 rm -f conftest.$ac_objext conftest$ac_exeext
37249 if { (ac_try="$ac_link"
37250 case "(($ac_try" in
37251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37252 *) ac_try_echo=$ac_try;;
37253 esac
37254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37255 (eval "$ac_link") 2>conftest.er1
37256 ac_status=$?
37257 grep -v '^ *+' conftest.er1 >conftest.err
37258 rm -f conftest.er1
37259 cat conftest.err >&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } && {
37262 test -z "$ac_c_werror_flag" ||
37263 test ! -s conftest.err
37264 } && test -s conftest$ac_exeext &&
37265 $as_test_x conftest$ac_exeext; then
37266 eval wx_cv_func_$wx_func=yes
37267 else
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.$ac_ext >&5
37270
37271 eval wx_cv_func_$wx_func=no
37272 fi
37273
37274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37275 conftest$ac_exeext conftest.$ac_ext
37276
37277 fi
37278 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37279 { echo "$as_me:$LINENO: result: $ac_res" >&5
37280 echo "${ECHO_T}$ac_res" >&6; }
37281
37282 if eval test \$wx_cv_func_$wx_func = yes
37283 then
37284 cat >>confdefs.h <<_ACEOF
37285 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37286 _ACEOF
37287
37288
37289 else
37290 :
37291
37292 fi
37293 done
37294
37295 if test "$wx_cv_func_uname" != yes; then
37296
37297 for wx_func in gethostname
37298 do
37299 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37300 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37301 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37302 echo $ECHO_N "(cached) $ECHO_C" >&6
37303 else
37304
37305 cat >conftest.$ac_ext <<_ACEOF
37306
37307 /* confdefs.h. */
37308 _ACEOF
37309 cat confdefs.h >>conftest.$ac_ext
37310 cat >>conftest.$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312
37313
37314 $ac_includes_default
37315
37316 int
37317 main ()
37318 {
37319
37320 #ifndef $wx_func
37321 &$wx_func;
37322 #endif
37323
37324
37325 ;
37326 return 0;
37327 }
37328
37329 _ACEOF
37330 rm -f conftest.$ac_objext conftest$ac_exeext
37331 if { (ac_try="$ac_link"
37332 case "(($ac_try" in
37333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37334 *) ac_try_echo=$ac_try;;
37335 esac
37336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37337 (eval "$ac_link") 2>conftest.er1
37338 ac_status=$?
37339 grep -v '^ *+' conftest.er1 >conftest.err
37340 rm -f conftest.er1
37341 cat conftest.err >&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); } && {
37344 test -z "$ac_c_werror_flag" ||
37345 test ! -s conftest.err
37346 } && test -s conftest$ac_exeext &&
37347 $as_test_x conftest$ac_exeext; then
37348 eval wx_cv_func_$wx_func=yes
37349 else
37350 echo "$as_me: failed program was:" >&5
37351 sed 's/^/| /' conftest.$ac_ext >&5
37352
37353 eval wx_cv_func_$wx_func=no
37354 fi
37355
37356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37357 conftest$ac_exeext conftest.$ac_ext
37358
37359 fi
37360 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37361 { echo "$as_me:$LINENO: result: $ac_res" >&5
37362 echo "${ECHO_T}$ac_res" >&6; }
37363
37364 if eval test \$wx_cv_func_$wx_func = yes
37365 then
37366 cat >>confdefs.h <<_ACEOF
37367 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37368 _ACEOF
37369
37370
37371 else
37372 :
37373
37374 fi
37375 done
37376
37377 fi
37378
37379
37380 for wx_func in strtok_r
37381 do
37382 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37383 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37384 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37385 echo $ECHO_N "(cached) $ECHO_C" >&6
37386 else
37387
37388 cat >conftest.$ac_ext <<_ACEOF
37389
37390 /* confdefs.h. */
37391 _ACEOF
37392 cat confdefs.h >>conftest.$ac_ext
37393 cat >>conftest.$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395
37396 #define _REENTRANT
37397 $ac_includes_default
37398
37399 int
37400 main ()
37401 {
37402
37403 #ifndef $wx_func
37404 &$wx_func;
37405 #endif
37406
37407
37408 ;
37409 return 0;
37410 }
37411
37412 _ACEOF
37413 rm -f conftest.$ac_objext conftest$ac_exeext
37414 if { (ac_try="$ac_link"
37415 case "(($ac_try" in
37416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37417 *) ac_try_echo=$ac_try;;
37418 esac
37419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37420 (eval "$ac_link") 2>conftest.er1
37421 ac_status=$?
37422 grep -v '^ *+' conftest.er1 >conftest.err
37423 rm -f conftest.er1
37424 cat conftest.err >&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); } && {
37427 test -z "$ac_c_werror_flag" ||
37428 test ! -s conftest.err
37429 } && test -s conftest$ac_exeext &&
37430 $as_test_x conftest$ac_exeext; then
37431 eval wx_cv_func_$wx_func=yes
37432 else
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.$ac_ext >&5
37435
37436 eval wx_cv_func_$wx_func=no
37437 fi
37438
37439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37440 conftest$ac_exeext conftest.$ac_ext
37441
37442 fi
37443 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37444 { echo "$as_me:$LINENO: result: $ac_res" >&5
37445 echo "${ECHO_T}$ac_res" >&6; }
37446
37447 if eval test \$wx_cv_func_$wx_func = yes
37448 then
37449 cat >>confdefs.h <<_ACEOF
37450 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37451 _ACEOF
37452
37453
37454 else
37455 :
37456
37457 fi
37458 done
37459
37460
37461 INET_LINK=
37462
37463 for ac_func in inet_addr
37464 do
37465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37469 echo $ECHO_N "(cached) $ECHO_C" >&6
37470 else
37471 cat >conftest.$ac_ext <<_ACEOF
37472 /* confdefs.h. */
37473 _ACEOF
37474 cat confdefs.h >>conftest.$ac_ext
37475 cat >>conftest.$ac_ext <<_ACEOF
37476 /* end confdefs.h. */
37477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37479 #define $ac_func innocuous_$ac_func
37480
37481 /* System header to define __stub macros and hopefully few prototypes,
37482 which can conflict with char $ac_func (); below.
37483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37484 <limits.h> exists even on freestanding compilers. */
37485
37486 #ifdef __STDC__
37487 # include <limits.h>
37488 #else
37489 # include <assert.h>
37490 #endif
37491
37492 #undef $ac_func
37493
37494 /* Override any GCC internal prototype to avoid an error.
37495 Use char because int might match the return type of a GCC
37496 builtin and then its argument prototype would still apply. */
37497 #ifdef __cplusplus
37498 extern "C"
37499 #endif
37500 char $ac_func ();
37501 /* The GNU C library defines this for functions which it implements
37502 to always fail with ENOSYS. Some functions are actually named
37503 something starting with __ and the normal name is an alias. */
37504 #if defined __stub_$ac_func || defined __stub___$ac_func
37505 choke me
37506 #endif
37507
37508 int
37509 main ()
37510 {
37511 return $ac_func ();
37512 ;
37513 return 0;
37514 }
37515 _ACEOF
37516 rm -f conftest.$ac_objext conftest$ac_exeext
37517 if { (ac_try="$ac_link"
37518 case "(($ac_try" in
37519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37520 *) ac_try_echo=$ac_try;;
37521 esac
37522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37523 (eval "$ac_link") 2>conftest.er1
37524 ac_status=$?
37525 grep -v '^ *+' conftest.er1 >conftest.err
37526 rm -f conftest.er1
37527 cat conftest.err >&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } && {
37530 test -z "$ac_c_werror_flag" ||
37531 test ! -s conftest.err
37532 } && test -s conftest$ac_exeext &&
37533 $as_test_x conftest$ac_exeext; then
37534 eval "$as_ac_var=yes"
37535 else
37536 echo "$as_me: failed program was:" >&5
37537 sed 's/^/| /' conftest.$ac_ext >&5
37538
37539 eval "$as_ac_var=no"
37540 fi
37541
37542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37543 conftest$ac_exeext conftest.$ac_ext
37544 fi
37545 ac_res=`eval echo '${'$as_ac_var'}'`
37546 { echo "$as_me:$LINENO: result: $ac_res" >&5
37547 echo "${ECHO_T}$ac_res" >&6; }
37548 if test `eval echo '${'$as_ac_var'}'` = yes; then
37549 cat >>confdefs.h <<_ACEOF
37550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37551 _ACEOF
37552 cat >>confdefs.h <<\_ACEOF
37553 #define HAVE_INET_ADDR 1
37554 _ACEOF
37555
37556 else
37557
37558 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37559 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37560 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37562 else
37563 ac_check_lib_save_LIBS=$LIBS
37564 LIBS="-lnsl $LIBS"
37565 cat >conftest.$ac_ext <<_ACEOF
37566 /* confdefs.h. */
37567 _ACEOF
37568 cat confdefs.h >>conftest.$ac_ext
37569 cat >>conftest.$ac_ext <<_ACEOF
37570 /* end confdefs.h. */
37571
37572 /* Override any GCC internal prototype to avoid an error.
37573 Use char because int might match the return type of a GCC
37574 builtin and then its argument prototype would still apply. */
37575 #ifdef __cplusplus
37576 extern "C"
37577 #endif
37578 char inet_addr ();
37579 int
37580 main ()
37581 {
37582 return inet_addr ();
37583 ;
37584 return 0;
37585 }
37586 _ACEOF
37587 rm -f conftest.$ac_objext conftest$ac_exeext
37588 if { (ac_try="$ac_link"
37589 case "(($ac_try" in
37590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37591 *) ac_try_echo=$ac_try;;
37592 esac
37593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37594 (eval "$ac_link") 2>conftest.er1
37595 ac_status=$?
37596 grep -v '^ *+' conftest.er1 >conftest.err
37597 rm -f conftest.er1
37598 cat conftest.err >&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); } && {
37601 test -z "$ac_c_werror_flag" ||
37602 test ! -s conftest.err
37603 } && test -s conftest$ac_exeext &&
37604 $as_test_x conftest$ac_exeext; then
37605 ac_cv_lib_nsl_inet_addr=yes
37606 else
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.$ac_ext >&5
37609
37610 ac_cv_lib_nsl_inet_addr=no
37611 fi
37612
37613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37614 conftest$ac_exeext conftest.$ac_ext
37615 LIBS=$ac_check_lib_save_LIBS
37616 fi
37617 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37618 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37619 if test $ac_cv_lib_nsl_inet_addr = yes; then
37620 INET_LINK="nsl"
37621 else
37622
37623 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37624 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37625 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37626 echo $ECHO_N "(cached) $ECHO_C" >&6
37627 else
37628 ac_check_lib_save_LIBS=$LIBS
37629 LIBS="-lresolv $LIBS"
37630 cat >conftest.$ac_ext <<_ACEOF
37631 /* confdefs.h. */
37632 _ACEOF
37633 cat confdefs.h >>conftest.$ac_ext
37634 cat >>conftest.$ac_ext <<_ACEOF
37635 /* end confdefs.h. */
37636
37637 /* Override any GCC internal prototype to avoid an error.
37638 Use char because int might match the return type of a GCC
37639 builtin and then its argument prototype would still apply. */
37640 #ifdef __cplusplus
37641 extern "C"
37642 #endif
37643 char inet_addr ();
37644 int
37645 main ()
37646 {
37647 return inet_addr ();
37648 ;
37649 return 0;
37650 }
37651 _ACEOF
37652 rm -f conftest.$ac_objext conftest$ac_exeext
37653 if { (ac_try="$ac_link"
37654 case "(($ac_try" in
37655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37656 *) ac_try_echo=$ac_try;;
37657 esac
37658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37659 (eval "$ac_link") 2>conftest.er1
37660 ac_status=$?
37661 grep -v '^ *+' conftest.er1 >conftest.err
37662 rm -f conftest.er1
37663 cat conftest.err >&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } && {
37666 test -z "$ac_c_werror_flag" ||
37667 test ! -s conftest.err
37668 } && test -s conftest$ac_exeext &&
37669 $as_test_x conftest$ac_exeext; then
37670 ac_cv_lib_resolv_inet_addr=yes
37671 else
37672 echo "$as_me: failed program was:" >&5
37673 sed 's/^/| /' conftest.$ac_ext >&5
37674
37675 ac_cv_lib_resolv_inet_addr=no
37676 fi
37677
37678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37679 conftest$ac_exeext conftest.$ac_ext
37680 LIBS=$ac_check_lib_save_LIBS
37681 fi
37682 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37683 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37684 if test $ac_cv_lib_resolv_inet_addr = yes; then
37685 INET_LINK="resolv"
37686 else
37687
37688 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37689 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37690 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 else
37693 ac_check_lib_save_LIBS=$LIBS
37694 LIBS="-lsocket $LIBS"
37695 cat >conftest.$ac_ext <<_ACEOF
37696 /* confdefs.h. */
37697 _ACEOF
37698 cat confdefs.h >>conftest.$ac_ext
37699 cat >>conftest.$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37701
37702 /* Override any GCC internal prototype to avoid an error.
37703 Use char because int might match the return type of a GCC
37704 builtin and then its argument prototype would still apply. */
37705 #ifdef __cplusplus
37706 extern "C"
37707 #endif
37708 char inet_addr ();
37709 int
37710 main ()
37711 {
37712 return inet_addr ();
37713 ;
37714 return 0;
37715 }
37716 _ACEOF
37717 rm -f conftest.$ac_objext conftest$ac_exeext
37718 if { (ac_try="$ac_link"
37719 case "(($ac_try" in
37720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37721 *) ac_try_echo=$ac_try;;
37722 esac
37723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37724 (eval "$ac_link") 2>conftest.er1
37725 ac_status=$?
37726 grep -v '^ *+' conftest.er1 >conftest.err
37727 rm -f conftest.er1
37728 cat conftest.err >&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); } && {
37731 test -z "$ac_c_werror_flag" ||
37732 test ! -s conftest.err
37733 } && test -s conftest$ac_exeext &&
37734 $as_test_x conftest$ac_exeext; then
37735 ac_cv_lib_socket_inet_addr=yes
37736 else
37737 echo "$as_me: failed program was:" >&5
37738 sed 's/^/| /' conftest.$ac_ext >&5
37739
37740 ac_cv_lib_socket_inet_addr=no
37741 fi
37742
37743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37744 conftest$ac_exeext conftest.$ac_ext
37745 LIBS=$ac_check_lib_save_LIBS
37746 fi
37747 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37748 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37749 if test $ac_cv_lib_socket_inet_addr = yes; then
37750 INET_LINK="socket"
37751
37752 fi
37753
37754
37755
37756 fi
37757
37758
37759
37760 fi
37761
37762
37763
37764 fi
37765 done
37766
37767
37768
37769 for ac_func in inet_aton
37770 do
37771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 else
37777 cat >conftest.$ac_ext <<_ACEOF
37778 /* confdefs.h. */
37779 _ACEOF
37780 cat confdefs.h >>conftest.$ac_ext
37781 cat >>conftest.$ac_ext <<_ACEOF
37782 /* end confdefs.h. */
37783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37785 #define $ac_func innocuous_$ac_func
37786
37787 /* System header to define __stub macros and hopefully few prototypes,
37788 which can conflict with char $ac_func (); below.
37789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37790 <limits.h> exists even on freestanding compilers. */
37791
37792 #ifdef __STDC__
37793 # include <limits.h>
37794 #else
37795 # include <assert.h>
37796 #endif
37797
37798 #undef $ac_func
37799
37800 /* Override any GCC internal prototype to avoid an error.
37801 Use char because int might match the return type of a GCC
37802 builtin and then its argument prototype would still apply. */
37803 #ifdef __cplusplus
37804 extern "C"
37805 #endif
37806 char $ac_func ();
37807 /* The GNU C library defines this for functions which it implements
37808 to always fail with ENOSYS. Some functions are actually named
37809 something starting with __ and the normal name is an alias. */
37810 #if defined __stub_$ac_func || defined __stub___$ac_func
37811 choke me
37812 #endif
37813
37814 int
37815 main ()
37816 {
37817 return $ac_func ();
37818 ;
37819 return 0;
37820 }
37821 _ACEOF
37822 rm -f conftest.$ac_objext conftest$ac_exeext
37823 if { (ac_try="$ac_link"
37824 case "(($ac_try" in
37825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37826 *) ac_try_echo=$ac_try;;
37827 esac
37828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37829 (eval "$ac_link") 2>conftest.er1
37830 ac_status=$?
37831 grep -v '^ *+' conftest.er1 >conftest.err
37832 rm -f conftest.er1
37833 cat conftest.err >&5
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); } && {
37836 test -z "$ac_c_werror_flag" ||
37837 test ! -s conftest.err
37838 } && test -s conftest$ac_exeext &&
37839 $as_test_x conftest$ac_exeext; then
37840 eval "$as_ac_var=yes"
37841 else
37842 echo "$as_me: failed program was:" >&5
37843 sed 's/^/| /' conftest.$ac_ext >&5
37844
37845 eval "$as_ac_var=no"
37846 fi
37847
37848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37849 conftest$ac_exeext conftest.$ac_ext
37850 fi
37851 ac_res=`eval echo '${'$as_ac_var'}'`
37852 { echo "$as_me:$LINENO: result: $ac_res" >&5
37853 echo "${ECHO_T}$ac_res" >&6; }
37854 if test `eval echo '${'$as_ac_var'}'` = yes; then
37855 cat >>confdefs.h <<_ACEOF
37856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37857 _ACEOF
37858 cat >>confdefs.h <<\_ACEOF
37859 #define HAVE_INET_ATON 1
37860 _ACEOF
37861
37862 else
37863
37864 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37865 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37866 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37867 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 else
37870 ac_check_lib_save_LIBS=$LIBS
37871 LIBS="-l$INET_LINK $LIBS"
37872 cat >conftest.$ac_ext <<_ACEOF
37873 /* confdefs.h. */
37874 _ACEOF
37875 cat confdefs.h >>conftest.$ac_ext
37876 cat >>conftest.$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878
37879 /* Override any GCC internal prototype to avoid an error.
37880 Use char because int might match the return type of a GCC
37881 builtin and then its argument prototype would still apply. */
37882 #ifdef __cplusplus
37883 extern "C"
37884 #endif
37885 char inet_aton ();
37886 int
37887 main ()
37888 {
37889 return inet_aton ();
37890 ;
37891 return 0;
37892 }
37893 _ACEOF
37894 rm -f conftest.$ac_objext conftest$ac_exeext
37895 if { (ac_try="$ac_link"
37896 case "(($ac_try" in
37897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37898 *) ac_try_echo=$ac_try;;
37899 esac
37900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37901 (eval "$ac_link") 2>conftest.er1
37902 ac_status=$?
37903 grep -v '^ *+' conftest.er1 >conftest.err
37904 rm -f conftest.er1
37905 cat conftest.err >&5
37906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37907 (exit $ac_status); } && {
37908 test -z "$ac_c_werror_flag" ||
37909 test ! -s conftest.err
37910 } && test -s conftest$ac_exeext &&
37911 $as_test_x conftest$ac_exeext; then
37912 eval "$as_ac_Lib=yes"
37913 else
37914 echo "$as_me: failed program was:" >&5
37915 sed 's/^/| /' conftest.$ac_ext >&5
37916
37917 eval "$as_ac_Lib=no"
37918 fi
37919
37920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37921 conftest$ac_exeext conftest.$ac_ext
37922 LIBS=$ac_check_lib_save_LIBS
37923 fi
37924 ac_res=`eval echo '${'$as_ac_Lib'}'`
37925 { echo "$as_me:$LINENO: result: $ac_res" >&5
37926 echo "${ECHO_T}$ac_res" >&6; }
37927 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37928 cat >>confdefs.h <<\_ACEOF
37929 #define HAVE_INET_ATON 1
37930 _ACEOF
37931
37932 fi
37933
37934
37935 fi
37936 done
37937
37938
37939 if test "x$INET_LINK" != "x"; then
37940 cat >>confdefs.h <<\_ACEOF
37941 #define HAVE_INET_ADDR 1
37942 _ACEOF
37943
37944 INET_LINK=" -l$INET_LINK"
37945 fi
37946
37947
37948 for wx_func in fdopen
37949 do
37950 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37951 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37952 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37954 else
37955
37956 cat >conftest.$ac_ext <<_ACEOF
37957
37958 /* confdefs.h. */
37959 _ACEOF
37960 cat confdefs.h >>conftest.$ac_ext
37961 cat >>conftest.$ac_ext <<_ACEOF
37962 /* end confdefs.h. */
37963
37964
37965 $ac_includes_default
37966
37967 int
37968 main ()
37969 {
37970
37971 #ifndef $wx_func
37972 &$wx_func;
37973 #endif
37974
37975
37976 ;
37977 return 0;
37978 }
37979
37980 _ACEOF
37981 rm -f conftest.$ac_objext conftest$ac_exeext
37982 if { (ac_try="$ac_link"
37983 case "(($ac_try" in
37984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37985 *) ac_try_echo=$ac_try;;
37986 esac
37987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37988 (eval "$ac_link") 2>conftest.er1
37989 ac_status=$?
37990 grep -v '^ *+' conftest.er1 >conftest.err
37991 rm -f conftest.er1
37992 cat conftest.err >&5
37993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994 (exit $ac_status); } && {
37995 test -z "$ac_c_werror_flag" ||
37996 test ! -s conftest.err
37997 } && test -s conftest$ac_exeext &&
37998 $as_test_x conftest$ac_exeext; then
37999 eval wx_cv_func_$wx_func=yes
38000 else
38001 echo "$as_me: failed program was:" >&5
38002 sed 's/^/| /' conftest.$ac_ext >&5
38003
38004 eval wx_cv_func_$wx_func=no
38005 fi
38006
38007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38008 conftest$ac_exeext conftest.$ac_ext
38009
38010 fi
38011 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38012 { echo "$as_me:$LINENO: result: $ac_res" >&5
38013 echo "${ECHO_T}$ac_res" >&6; }
38014
38015 if eval test \$wx_cv_func_$wx_func = yes
38016 then
38017 cat >>confdefs.h <<_ACEOF
38018 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38019 _ACEOF
38020
38021
38022 else
38023 :
38024
38025 fi
38026 done
38027
38028
38029 if test "$wxUSE_TARSTREAM" = "yes"; then
38030
38031 for wx_func in sysconf
38032 do
38033 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38034 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38035 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 else
38038
38039 cat >conftest.$ac_ext <<_ACEOF
38040
38041 /* confdefs.h. */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046
38047
38048 $ac_includes_default
38049
38050 int
38051 main ()
38052 {
38053
38054 #ifndef $wx_func
38055 &$wx_func;
38056 #endif
38057
38058
38059 ;
38060 return 0;
38061 }
38062
38063 _ACEOF
38064 rm -f conftest.$ac_objext conftest$ac_exeext
38065 if { (ac_try="$ac_link"
38066 case "(($ac_try" in
38067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38068 *) ac_try_echo=$ac_try;;
38069 esac
38070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38071 (eval "$ac_link") 2>conftest.er1
38072 ac_status=$?
38073 grep -v '^ *+' conftest.er1 >conftest.err
38074 rm -f conftest.er1
38075 cat conftest.err >&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } && {
38078 test -z "$ac_c_werror_flag" ||
38079 test ! -s conftest.err
38080 } && test -s conftest$ac_exeext &&
38081 $as_test_x conftest$ac_exeext; then
38082 eval wx_cv_func_$wx_func=yes
38083 else
38084 echo "$as_me: failed program was:" >&5
38085 sed 's/^/| /' conftest.$ac_ext >&5
38086
38087 eval wx_cv_func_$wx_func=no
38088 fi
38089
38090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38091 conftest$ac_exeext conftest.$ac_ext
38092
38093 fi
38094 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38095 { echo "$as_me:$LINENO: result: $ac_res" >&5
38096 echo "${ECHO_T}$ac_res" >&6; }
38097
38098 if eval test \$wx_cv_func_$wx_func = yes
38099 then
38100 cat >>confdefs.h <<_ACEOF
38101 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38102 _ACEOF
38103
38104
38105 else
38106 :
38107
38108 fi
38109 done
38110
38111
38112
38113 for wx_func in getpwuid_r
38114 do
38115 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38116 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38117 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38118 echo $ECHO_N "(cached) $ECHO_C" >&6
38119 else
38120
38121 cat >conftest.$ac_ext <<_ACEOF
38122
38123 /* confdefs.h. */
38124 _ACEOF
38125 cat confdefs.h >>conftest.$ac_ext
38126 cat >>conftest.$ac_ext <<_ACEOF
38127 /* end confdefs.h. */
38128
38129
38130 #define _REENTRANT
38131 #include <pwd.h>
38132
38133 $ac_includes_default
38134
38135 int
38136 main ()
38137 {
38138
38139 #ifndef $wx_func
38140 &$wx_func;
38141 #endif
38142
38143 struct passwd pw, *ppw;
38144 char buf[1024];
38145 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38146
38147
38148 ;
38149 return 0;
38150 }
38151
38152 _ACEOF
38153 rm -f conftest.$ac_objext conftest$ac_exeext
38154 if { (ac_try="$ac_link"
38155 case "(($ac_try" in
38156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38157 *) ac_try_echo=$ac_try;;
38158 esac
38159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38160 (eval "$ac_link") 2>conftest.er1
38161 ac_status=$?
38162 grep -v '^ *+' conftest.er1 >conftest.err
38163 rm -f conftest.er1
38164 cat conftest.err >&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); } && {
38167 test -z "$ac_c_werror_flag" ||
38168 test ! -s conftest.err
38169 } && test -s conftest$ac_exeext &&
38170 $as_test_x conftest$ac_exeext; then
38171 eval wx_cv_func_$wx_func=yes
38172 else
38173 echo "$as_me: failed program was:" >&5
38174 sed 's/^/| /' conftest.$ac_ext >&5
38175
38176 eval wx_cv_func_$wx_func=no
38177 fi
38178
38179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38180 conftest$ac_exeext conftest.$ac_ext
38181
38182 fi
38183 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38184 { echo "$as_me:$LINENO: result: $ac_res" >&5
38185 echo "${ECHO_T}$ac_res" >&6; }
38186
38187 if eval test \$wx_cv_func_$wx_func = yes
38188 then
38189 cat >>confdefs.h <<_ACEOF
38190 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38191 _ACEOF
38192
38193
38194 else
38195 :
38196
38197 fi
38198 done
38199
38200
38201
38202 for wx_func in getgrgid_r
38203 do
38204 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38205 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38206 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38207 echo $ECHO_N "(cached) $ECHO_C" >&6
38208 else
38209
38210 cat >conftest.$ac_ext <<_ACEOF
38211
38212 /* confdefs.h. */
38213 _ACEOF
38214 cat confdefs.h >>conftest.$ac_ext
38215 cat >>conftest.$ac_ext <<_ACEOF
38216 /* end confdefs.h. */
38217
38218
38219 #define _REENTRANT
38220 #include <grp.h>
38221
38222 $ac_includes_default
38223
38224 int
38225 main ()
38226 {
38227
38228 #ifndef $wx_func
38229 &$wx_func;
38230 #endif
38231
38232 struct group grp, *pgrp;
38233 char buf[1024];
38234 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38235
38236
38237 ;
38238 return 0;
38239 }
38240
38241 _ACEOF
38242 rm -f conftest.$ac_objext conftest$ac_exeext
38243 if { (ac_try="$ac_link"
38244 case "(($ac_try" in
38245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38246 *) ac_try_echo=$ac_try;;
38247 esac
38248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38249 (eval "$ac_link") 2>conftest.er1
38250 ac_status=$?
38251 grep -v '^ *+' conftest.er1 >conftest.err
38252 rm -f conftest.er1
38253 cat conftest.err >&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } && {
38256 test -z "$ac_c_werror_flag" ||
38257 test ! -s conftest.err
38258 } && test -s conftest$ac_exeext &&
38259 $as_test_x conftest$ac_exeext; then
38260 eval wx_cv_func_$wx_func=yes
38261 else
38262 echo "$as_me: failed program was:" >&5
38263 sed 's/^/| /' conftest.$ac_ext >&5
38264
38265 eval wx_cv_func_$wx_func=no
38266 fi
38267
38268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38269 conftest$ac_exeext conftest.$ac_ext
38270
38271 fi
38272 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38273 { echo "$as_me:$LINENO: result: $ac_res" >&5
38274 echo "${ECHO_T}$ac_res" >&6; }
38275
38276 if eval test \$wx_cv_func_$wx_func = yes
38277 then
38278 cat >>confdefs.h <<_ACEOF
38279 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38280 _ACEOF
38281
38282
38283 else
38284 :
38285
38286 fi
38287 done
38288
38289 fi
38290
38291 fi
38292
38293
38294
38295 cat >confcache <<\_ACEOF
38296 # This file is a shell script that caches the results of configure
38297 # tests run on this system so they can be shared between configure
38298 # scripts and configure runs, see configure's option --config-cache.
38299 # It is not useful on other systems. If it contains results you don't
38300 # want to keep, you may remove or edit it.
38301 #
38302 # config.status only pays attention to the cache file if you give it
38303 # the --recheck option to rerun configure.
38304 #
38305 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38306 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38307 # following values.
38308
38309 _ACEOF
38310
38311 # The following way of writing the cache mishandles newlines in values,
38312 # but we know of no workaround that is simple, portable, and efficient.
38313 # So, we kill variables containing newlines.
38314 # Ultrix sh set writes to stderr and can't be redirected directly,
38315 # and sets the high bit in the cache file unless we assign to the vars.
38316 (
38317 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38318 eval ac_val=\$$ac_var
38319 case $ac_val in #(
38320 *${as_nl}*)
38321 case $ac_var in #(
38322 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38323 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38324 esac
38325 case $ac_var in #(
38326 _ | IFS | as_nl) ;; #(
38327 *) $as_unset $ac_var ;;
38328 esac ;;
38329 esac
38330 done
38331
38332 (set) 2>&1 |
38333 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38334 *${as_nl}ac_space=\ *)
38335 # `set' does not quote correctly, so add quotes (double-quote
38336 # substitution turns \\\\ into \\, and sed turns \\ into \).
38337 sed -n \
38338 "s/'/'\\\\''/g;
38339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38340 ;; #(
38341 *)
38342 # `set' quotes correctly as required by POSIX, so do not add quotes.
38343 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38344 ;;
38345 esac |
38346 sort
38347 ) |
38348 sed '
38349 /^ac_cv_env_/b end
38350 t clear
38351 :clear
38352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38353 t end
38354 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38355 :end' >>confcache
38356 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38357 if test -w "$cache_file"; then
38358 test "x$cache_file" != "x/dev/null" &&
38359 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38360 echo "$as_me: updating cache $cache_file" >&6;}
38361 cat confcache >$cache_file
38362 else
38363 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38364 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38365 fi
38366 fi
38367 rm -f confcache
38368
38369
38370 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38371
38372
38373 THREADS_LINK=
38374 THREADS_CFLAGS=
38375
38376 if test "$wxUSE_THREADS" = "yes" ; then
38377 if test "$USE_BEOS" = 1; then
38378 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38379 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38380 wxUSE_THREADS="no"
38381 fi
38382 fi
38383
38384 if test "$wxUSE_THREADS" = "yes" ; then
38385
38386
38387 THREAD_OPTS="-pthread"
38388 if test "x$SUNCXX" = xyes; then
38389 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38390 fi
38391
38392 case "${host}" in
38393 *-*-solaris2* | *-*-sunos4* )
38394 if test "x$GCC" = "xyes"; then
38395 THREAD_OPTS="-pthreads $THREAD_OPTS"
38396 fi
38397 ;;
38398 *-*-freebsd*)
38399 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38400 ;;
38401 *-*-darwin* | *-*-cygwin* )
38402 THREAD_OPTS=""
38403 ;;
38404 *-*-aix*)
38405 THREAD_OPTS="pthreads"
38406 ;;
38407 *-hp-hpux* )
38408 if test "x$GCC" = "xyes"; then
38409 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38410 THREAD_OPTS=""
38411 else
38412 THREAD_OPTS="-mt"
38413 fi
38414 ;;
38415
38416 *-*-irix* )
38417 if test "x$GCC" = "xyes"; then
38418 THREAD_OPTS=""
38419 fi
38420 ;;
38421
38422 *-*-*UnixWare*)
38423 if test "x$GCC" != "xyes"; then
38424 THREAD_OPTS="-Ethread"
38425 fi
38426 ;;
38427 esac
38428
38429 THREAD_OPTS="$THREAD_OPTS pthread none"
38430
38431 THREADS_OK=no
38432 for flag in $THREAD_OPTS; do
38433 case $flag in
38434 none)
38435 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38436 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38437 ;;
38438
38439 -*)
38440 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38441 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38442 THREADS_CFLAGS="$flag"
38443 ;;
38444
38445 *)
38446 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38447 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38448 THREADS_LINK="-l$flag"
38449 ;;
38450 esac
38451
38452 save_LIBS="$LIBS"
38453 save_CFLAGS="$CFLAGS"
38454 LIBS="$THREADS_LINK $LIBS"
38455 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38456
38457 cat >conftest.$ac_ext <<_ACEOF
38458 /* confdefs.h. */
38459 _ACEOF
38460 cat confdefs.h >>conftest.$ac_ext
38461 cat >>conftest.$ac_ext <<_ACEOF
38462 /* end confdefs.h. */
38463 #include <pthread.h>
38464 int
38465 main ()
38466 {
38467 pthread_create(0,0,0,0);
38468 ;
38469 return 0;
38470 }
38471 _ACEOF
38472 rm -f conftest.$ac_objext conftest$ac_exeext
38473 if { (ac_try="$ac_link"
38474 case "(($ac_try" in
38475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38476 *) ac_try_echo=$ac_try;;
38477 esac
38478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38479 (eval "$ac_link") 2>conftest.er1
38480 ac_status=$?
38481 grep -v '^ *+' conftest.er1 >conftest.err
38482 rm -f conftest.er1
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } && {
38486 test -z "$ac_c_werror_flag" ||
38487 test ! -s conftest.err
38488 } && test -s conftest$ac_exeext &&
38489 $as_test_x conftest$ac_exeext; then
38490 THREADS_OK=yes
38491 else
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38494
38495
38496 fi
38497
38498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38499 conftest$ac_exeext conftest.$ac_ext
38500
38501 LIBS="$save_LIBS"
38502 CFLAGS="$save_CFLAGS"
38503
38504 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38505 echo "${ECHO_T}$THREADS_OK" >&6; }
38506 if test "x$THREADS_OK" = "xyes"; then
38507 break;
38508 fi
38509
38510 THREADS_LINK=""
38511 THREADS_CFLAGS=""
38512 done
38513
38514 if test "x$THREADS_OK" != "xyes"; then
38515 wxUSE_THREADS=no
38516 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38517 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38518 else
38519 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38520 LIBS="$THREADS_LINK $LIBS"
38521
38522 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38523 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38524 flag=no
38525 case "${host}" in
38526 *-aix*)
38527 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38528 flag="-D_THREAD_SAFE"
38529 ;;
38530 *-freebsd*)
38531 flag="-D_THREAD_SAFE"
38532 ;;
38533 *-hp-hpux* )
38534 flag="-D_REENTRANT"
38535 if test "x$GCC" != "xyes"; then
38536 flag="$flag -D_RWSTD_MULTI_THREAD"
38537 fi
38538 ;;
38539 *solaris* | alpha*-osf*)
38540 flag="-D_REENTRANT"
38541 ;;
38542 esac
38543 { echo "$as_me:$LINENO: result: ${flag}" >&5
38544 echo "${ECHO_T}${flag}" >&6; }
38545 if test "x$flag" != xno; then
38546 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38547 fi
38548
38549 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38550 fi
38551 fi
38552
38553 if test "$wxUSE_THREADS" = "yes" ; then
38554
38555 for ac_func in thr_setconcurrency
38556 do
38557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38561 echo $ECHO_N "(cached) $ECHO_C" >&6
38562 else
38563 cat >conftest.$ac_ext <<_ACEOF
38564 /* confdefs.h. */
38565 _ACEOF
38566 cat confdefs.h >>conftest.$ac_ext
38567 cat >>conftest.$ac_ext <<_ACEOF
38568 /* end confdefs.h. */
38569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38571 #define $ac_func innocuous_$ac_func
38572
38573 /* System header to define __stub macros and hopefully few prototypes,
38574 which can conflict with char $ac_func (); below.
38575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38576 <limits.h> exists even on freestanding compilers. */
38577
38578 #ifdef __STDC__
38579 # include <limits.h>
38580 #else
38581 # include <assert.h>
38582 #endif
38583
38584 #undef $ac_func
38585
38586 /* Override any GCC internal prototype to avoid an error.
38587 Use char because int might match the return type of a GCC
38588 builtin and then its argument prototype would still apply. */
38589 #ifdef __cplusplus
38590 extern "C"
38591 #endif
38592 char $ac_func ();
38593 /* The GNU C library defines this for functions which it implements
38594 to always fail with ENOSYS. Some functions are actually named
38595 something starting with __ and the normal name is an alias. */
38596 #if defined __stub_$ac_func || defined __stub___$ac_func
38597 choke me
38598 #endif
38599
38600 int
38601 main ()
38602 {
38603 return $ac_func ();
38604 ;
38605 return 0;
38606 }
38607 _ACEOF
38608 rm -f conftest.$ac_objext conftest$ac_exeext
38609 if { (ac_try="$ac_link"
38610 case "(($ac_try" in
38611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38612 *) ac_try_echo=$ac_try;;
38613 esac
38614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38615 (eval "$ac_link") 2>conftest.er1
38616 ac_status=$?
38617 grep -v '^ *+' conftest.er1 >conftest.err
38618 rm -f conftest.er1
38619 cat conftest.err >&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } && {
38622 test -z "$ac_c_werror_flag" ||
38623 test ! -s conftest.err
38624 } && test -s conftest$ac_exeext &&
38625 $as_test_x conftest$ac_exeext; then
38626 eval "$as_ac_var=yes"
38627 else
38628 echo "$as_me: failed program was:" >&5
38629 sed 's/^/| /' conftest.$ac_ext >&5
38630
38631 eval "$as_ac_var=no"
38632 fi
38633
38634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38635 conftest$ac_exeext conftest.$ac_ext
38636 fi
38637 ac_res=`eval echo '${'$as_ac_var'}'`
38638 { echo "$as_me:$LINENO: result: $ac_res" >&5
38639 echo "${ECHO_T}$ac_res" >&6; }
38640 if test `eval echo '${'$as_ac_var'}'` = yes; then
38641 cat >>confdefs.h <<_ACEOF
38642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38643 _ACEOF
38644
38645 fi
38646 done
38647
38648
38649 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38650 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38651 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38652 echo $ECHO_N "(cached) $ECHO_C" >&6
38653 else
38654
38655 ac_ext=cpp
38656 ac_cpp='$CXXCPP $CPPFLAGS'
38657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38660
38661 cat >conftest.$ac_ext <<_ACEOF
38662 /* confdefs.h. */
38663 _ACEOF
38664 cat confdefs.h >>conftest.$ac_ext
38665 cat >>conftest.$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 #include <pthread.h>
38668 void ThreadCleanupFunc(void *p);
38669
38670 int
38671 main ()
38672 {
38673
38674 void *p;
38675 pthread_cleanup_push(ThreadCleanupFunc, p);
38676 pthread_cleanup_pop(0);
38677
38678 ;
38679 return 0;
38680 }
38681 _ACEOF
38682 rm -f conftest.$ac_objext
38683 if { (ac_try="$ac_compile"
38684 case "(($ac_try" in
38685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38686 *) ac_try_echo=$ac_try;;
38687 esac
38688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38689 (eval "$ac_compile") 2>conftest.er1
38690 ac_status=$?
38691 grep -v '^ *+' conftest.er1 >conftest.err
38692 rm -f conftest.er1
38693 cat conftest.err >&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); } && {
38696 test -z "$ac_cxx_werror_flag" ||
38697 test ! -s conftest.err
38698 } && test -s conftest.$ac_objext; then
38699
38700 wx_cv_func_pthread_cleanup=yes
38701
38702 else
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.$ac_ext >&5
38705
38706
38707 wx_cv_func_pthread_cleanup=no
38708
38709
38710 fi
38711
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38713 ac_ext=c
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38718
38719
38720 fi
38721 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38722 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38723 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38724 cat >>confdefs.h <<\_ACEOF
38725 #define wxHAVE_PTHREAD_CLEANUP 1
38726 _ACEOF
38727
38728 fi
38729
38730
38731 for ac_header in sched.h
38732 do
38733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38734 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38737 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 else
38739 cat >conftest.$ac_ext <<_ACEOF
38740 /* confdefs.h. */
38741 _ACEOF
38742 cat confdefs.h >>conftest.$ac_ext
38743 cat >>conftest.$ac_ext <<_ACEOF
38744 /* end confdefs.h. */
38745 $ac_includes_default
38746
38747 #include <$ac_header>
38748 _ACEOF
38749 rm -f conftest.$ac_objext
38750 if { (ac_try="$ac_compile"
38751 case "(($ac_try" in
38752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38753 *) ac_try_echo=$ac_try;;
38754 esac
38755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38756 (eval "$ac_compile") 2>conftest.er1
38757 ac_status=$?
38758 grep -v '^ *+' conftest.er1 >conftest.err
38759 rm -f conftest.er1
38760 cat conftest.err >&5
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); } && {
38763 test -z "$ac_c_werror_flag" ||
38764 test ! -s conftest.err
38765 } && test -s conftest.$ac_objext; then
38766 eval "$as_ac_Header=yes"
38767 else
38768 echo "$as_me: failed program was:" >&5
38769 sed 's/^/| /' conftest.$ac_ext >&5
38770
38771 eval "$as_ac_Header=no"
38772 fi
38773
38774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38775 fi
38776 ac_res=`eval echo '${'$as_ac_Header'}'`
38777 { echo "$as_me:$LINENO: result: $ac_res" >&5
38778 echo "${ECHO_T}$ac_res" >&6; }
38779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38780 cat >>confdefs.h <<_ACEOF
38781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38782 _ACEOF
38783
38784 fi
38785
38786 done
38787
38788 if test "$ac_cv_header_sched_h" = "yes"; then
38789 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38790 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38791 if test "${ac_cv_func_sched_yield+set}" = set; then
38792 echo $ECHO_N "(cached) $ECHO_C" >&6
38793 else
38794 cat >conftest.$ac_ext <<_ACEOF
38795 /* confdefs.h. */
38796 _ACEOF
38797 cat confdefs.h >>conftest.$ac_ext
38798 cat >>conftest.$ac_ext <<_ACEOF
38799 /* end confdefs.h. */
38800 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38802 #define sched_yield innocuous_sched_yield
38803
38804 /* System header to define __stub macros and hopefully few prototypes,
38805 which can conflict with char sched_yield (); below.
38806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38807 <limits.h> exists even on freestanding compilers. */
38808
38809 #ifdef __STDC__
38810 # include <limits.h>
38811 #else
38812 # include <assert.h>
38813 #endif
38814
38815 #undef sched_yield
38816
38817 /* Override any GCC internal prototype to avoid an error.
38818 Use char because int might match the return type of a GCC
38819 builtin and then its argument prototype would still apply. */
38820 #ifdef __cplusplus
38821 extern "C"
38822 #endif
38823 char sched_yield ();
38824 /* The GNU C library defines this for functions which it implements
38825 to always fail with ENOSYS. Some functions are actually named
38826 something starting with __ and the normal name is an alias. */
38827 #if defined __stub_sched_yield || defined __stub___sched_yield
38828 choke me
38829 #endif
38830
38831 int
38832 main ()
38833 {
38834 return sched_yield ();
38835 ;
38836 return 0;
38837 }
38838 _ACEOF
38839 rm -f conftest.$ac_objext conftest$ac_exeext
38840 if { (ac_try="$ac_link"
38841 case "(($ac_try" in
38842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38843 *) ac_try_echo=$ac_try;;
38844 esac
38845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38846 (eval "$ac_link") 2>conftest.er1
38847 ac_status=$?
38848 grep -v '^ *+' conftest.er1 >conftest.err
38849 rm -f conftest.er1
38850 cat conftest.err >&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); } && {
38853 test -z "$ac_c_werror_flag" ||
38854 test ! -s conftest.err
38855 } && test -s conftest$ac_exeext &&
38856 $as_test_x conftest$ac_exeext; then
38857 ac_cv_func_sched_yield=yes
38858 else
38859 echo "$as_me: failed program was:" >&5
38860 sed 's/^/| /' conftest.$ac_ext >&5
38861
38862 ac_cv_func_sched_yield=no
38863 fi
38864
38865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38866 conftest$ac_exeext conftest.$ac_ext
38867 fi
38868 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38869 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38870 if test $ac_cv_func_sched_yield = yes; then
38871 cat >>confdefs.h <<\_ACEOF
38872 #define HAVE_SCHED_YIELD 1
38873 _ACEOF
38874
38875 else
38876
38877 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38878 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38879 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38880 echo $ECHO_N "(cached) $ECHO_C" >&6
38881 else
38882 ac_check_lib_save_LIBS=$LIBS
38883 LIBS="-lposix4 $LIBS"
38884 cat >conftest.$ac_ext <<_ACEOF
38885 /* confdefs.h. */
38886 _ACEOF
38887 cat confdefs.h >>conftest.$ac_ext
38888 cat >>conftest.$ac_ext <<_ACEOF
38889 /* end confdefs.h. */
38890
38891 /* Override any GCC internal prototype to avoid an error.
38892 Use char because int might match the return type of a GCC
38893 builtin and then its argument prototype would still apply. */
38894 #ifdef __cplusplus
38895 extern "C"
38896 #endif
38897 char sched_yield ();
38898 int
38899 main ()
38900 {
38901 return sched_yield ();
38902 ;
38903 return 0;
38904 }
38905 _ACEOF
38906 rm -f conftest.$ac_objext conftest$ac_exeext
38907 if { (ac_try="$ac_link"
38908 case "(($ac_try" in
38909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38910 *) ac_try_echo=$ac_try;;
38911 esac
38912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38913 (eval "$ac_link") 2>conftest.er1
38914 ac_status=$?
38915 grep -v '^ *+' conftest.er1 >conftest.err
38916 rm -f conftest.er1
38917 cat conftest.err >&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } && {
38920 test -z "$ac_c_werror_flag" ||
38921 test ! -s conftest.err
38922 } && test -s conftest$ac_exeext &&
38923 $as_test_x conftest$ac_exeext; then
38924 ac_cv_lib_posix4_sched_yield=yes
38925 else
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.$ac_ext >&5
38928
38929 ac_cv_lib_posix4_sched_yield=no
38930 fi
38931
38932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38933 conftest$ac_exeext conftest.$ac_ext
38934 LIBS=$ac_check_lib_save_LIBS
38935 fi
38936 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38937 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38938 if test $ac_cv_lib_posix4_sched_yield = yes; then
38939 cat >>confdefs.h <<\_ACEOF
38940 #define HAVE_SCHED_YIELD 1
38941 _ACEOF
38942 POSIX4_LINK=" -lposix4"
38943 else
38944 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38945 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38946
38947 fi
38948
38949
38950
38951 fi
38952
38953 fi
38954
38955 HAVE_PRIOR_FUNCS=0
38956 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38957 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38958 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38959 echo $ECHO_N "(cached) $ECHO_C" >&6
38960 else
38961 cat >conftest.$ac_ext <<_ACEOF
38962 /* confdefs.h. */
38963 _ACEOF
38964 cat confdefs.h >>conftest.$ac_ext
38965 cat >>conftest.$ac_ext <<_ACEOF
38966 /* end confdefs.h. */
38967 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38969 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38970
38971 /* System header to define __stub macros and hopefully few prototypes,
38972 which can conflict with char pthread_attr_getschedpolicy (); below.
38973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38974 <limits.h> exists even on freestanding compilers. */
38975
38976 #ifdef __STDC__
38977 # include <limits.h>
38978 #else
38979 # include <assert.h>
38980 #endif
38981
38982 #undef pthread_attr_getschedpolicy
38983
38984 /* Override any GCC internal prototype to avoid an error.
38985 Use char because int might match the return type of a GCC
38986 builtin and then its argument prototype would still apply. */
38987 #ifdef __cplusplus
38988 extern "C"
38989 #endif
38990 char pthread_attr_getschedpolicy ();
38991 /* The GNU C library defines this for functions which it implements
38992 to always fail with ENOSYS. Some functions are actually named
38993 something starting with __ and the normal name is an alias. */
38994 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38995 choke me
38996 #endif
38997
38998 int
38999 main ()
39000 {
39001 return pthread_attr_getschedpolicy ();
39002 ;
39003 return 0;
39004 }
39005 _ACEOF
39006 rm -f conftest.$ac_objext conftest$ac_exeext
39007 if { (ac_try="$ac_link"
39008 case "(($ac_try" in
39009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39010 *) ac_try_echo=$ac_try;;
39011 esac
39012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39013 (eval "$ac_link") 2>conftest.er1
39014 ac_status=$?
39015 grep -v '^ *+' conftest.er1 >conftest.err
39016 rm -f conftest.er1
39017 cat conftest.err >&5
39018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39019 (exit $ac_status); } && {
39020 test -z "$ac_c_werror_flag" ||
39021 test ! -s conftest.err
39022 } && test -s conftest$ac_exeext &&
39023 $as_test_x conftest$ac_exeext; then
39024 ac_cv_func_pthread_attr_getschedpolicy=yes
39025 else
39026 echo "$as_me: failed program was:" >&5
39027 sed 's/^/| /' conftest.$ac_ext >&5
39028
39029 ac_cv_func_pthread_attr_getschedpolicy=no
39030 fi
39031
39032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39033 conftest$ac_exeext conftest.$ac_ext
39034 fi
39035 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39036 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39037 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39038 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39039 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39040 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39041 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 else
39043 cat >conftest.$ac_ext <<_ACEOF
39044 /* confdefs.h. */
39045 _ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39051 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39052
39053 /* System header to define __stub macros and hopefully few prototypes,
39054 which can conflict with char pthread_attr_setschedparam (); below.
39055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39056 <limits.h> exists even on freestanding compilers. */
39057
39058 #ifdef __STDC__
39059 # include <limits.h>
39060 #else
39061 # include <assert.h>
39062 #endif
39063
39064 #undef pthread_attr_setschedparam
39065
39066 /* Override any GCC internal prototype to avoid an error.
39067 Use char because int might match the return type of a GCC
39068 builtin and then its argument prototype would still apply. */
39069 #ifdef __cplusplus
39070 extern "C"
39071 #endif
39072 char pthread_attr_setschedparam ();
39073 /* The GNU C library defines this for functions which it implements
39074 to always fail with ENOSYS. Some functions are actually named
39075 something starting with __ and the normal name is an alias. */
39076 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39077 choke me
39078 #endif
39079
39080 int
39081 main ()
39082 {
39083 return pthread_attr_setschedparam ();
39084 ;
39085 return 0;
39086 }
39087 _ACEOF
39088 rm -f conftest.$ac_objext conftest$ac_exeext
39089 if { (ac_try="$ac_link"
39090 case "(($ac_try" in
39091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39092 *) ac_try_echo=$ac_try;;
39093 esac
39094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39095 (eval "$ac_link") 2>conftest.er1
39096 ac_status=$?
39097 grep -v '^ *+' conftest.er1 >conftest.err
39098 rm -f conftest.er1
39099 cat conftest.err >&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } && {
39102 test -z "$ac_c_werror_flag" ||
39103 test ! -s conftest.err
39104 } && test -s conftest$ac_exeext &&
39105 $as_test_x conftest$ac_exeext; then
39106 ac_cv_func_pthread_attr_setschedparam=yes
39107 else
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.$ac_ext >&5
39110
39111 ac_cv_func_pthread_attr_setschedparam=no
39112 fi
39113
39114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39115 conftest$ac_exeext conftest.$ac_ext
39116 fi
39117 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39118 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39119 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39120 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39121 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39122 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39123 echo $ECHO_N "(cached) $ECHO_C" >&6
39124 else
39125 cat >conftest.$ac_ext <<_ACEOF
39126 /* confdefs.h. */
39127 _ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39131 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39133 #define sched_get_priority_max innocuous_sched_get_priority_max
39134
39135 /* System header to define __stub macros and hopefully few prototypes,
39136 which can conflict with char sched_get_priority_max (); below.
39137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39138 <limits.h> exists even on freestanding compilers. */
39139
39140 #ifdef __STDC__
39141 # include <limits.h>
39142 #else
39143 # include <assert.h>
39144 #endif
39145
39146 #undef sched_get_priority_max
39147
39148 /* Override any GCC internal prototype to avoid an error.
39149 Use char because int might match the return type of a GCC
39150 builtin and then its argument prototype would still apply. */
39151 #ifdef __cplusplus
39152 extern "C"
39153 #endif
39154 char sched_get_priority_max ();
39155 /* The GNU C library defines this for functions which it implements
39156 to always fail with ENOSYS. Some functions are actually named
39157 something starting with __ and the normal name is an alias. */
39158 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39159 choke me
39160 #endif
39161
39162 int
39163 main ()
39164 {
39165 return sched_get_priority_max ();
39166 ;
39167 return 0;
39168 }
39169 _ACEOF
39170 rm -f conftest.$ac_objext conftest$ac_exeext
39171 if { (ac_try="$ac_link"
39172 case "(($ac_try" in
39173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39174 *) ac_try_echo=$ac_try;;
39175 esac
39176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39177 (eval "$ac_link") 2>conftest.er1
39178 ac_status=$?
39179 grep -v '^ *+' conftest.er1 >conftest.err
39180 rm -f conftest.er1
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } && {
39184 test -z "$ac_c_werror_flag" ||
39185 test ! -s conftest.err
39186 } && test -s conftest$ac_exeext &&
39187 $as_test_x conftest$ac_exeext; then
39188 ac_cv_func_sched_get_priority_max=yes
39189 else
39190 echo "$as_me: failed program was:" >&5
39191 sed 's/^/| /' conftest.$ac_ext >&5
39192
39193 ac_cv_func_sched_get_priority_max=no
39194 fi
39195
39196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39197 conftest$ac_exeext conftest.$ac_ext
39198 fi
39199 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39200 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39201 if test $ac_cv_func_sched_get_priority_max = yes; then
39202 HAVE_PRIOR_FUNCS=1
39203 else
39204 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39205 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39206 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 else
39209 ac_check_lib_save_LIBS=$LIBS
39210 LIBS="-lposix4 $LIBS"
39211 cat >conftest.$ac_ext <<_ACEOF
39212 /* confdefs.h. */
39213 _ACEOF
39214 cat confdefs.h >>conftest.$ac_ext
39215 cat >>conftest.$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39217
39218 /* Override any GCC internal prototype to avoid an error.
39219 Use char because int might match the return type of a GCC
39220 builtin and then its argument prototype would still apply. */
39221 #ifdef __cplusplus
39222 extern "C"
39223 #endif
39224 char sched_get_priority_max ();
39225 int
39226 main ()
39227 {
39228 return sched_get_priority_max ();
39229 ;
39230 return 0;
39231 }
39232 _ACEOF
39233 rm -f conftest.$ac_objext conftest$ac_exeext
39234 if { (ac_try="$ac_link"
39235 case "(($ac_try" in
39236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39237 *) ac_try_echo=$ac_try;;
39238 esac
39239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39240 (eval "$ac_link") 2>conftest.er1
39241 ac_status=$?
39242 grep -v '^ *+' conftest.er1 >conftest.err
39243 rm -f conftest.er1
39244 cat conftest.err >&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } && {
39247 test -z "$ac_c_werror_flag" ||
39248 test ! -s conftest.err
39249 } && test -s conftest$ac_exeext &&
39250 $as_test_x conftest$ac_exeext; then
39251 ac_cv_lib_posix4_sched_get_priority_max=yes
39252 else
39253 echo "$as_me: failed program was:" >&5
39254 sed 's/^/| /' conftest.$ac_ext >&5
39255
39256 ac_cv_lib_posix4_sched_get_priority_max=no
39257 fi
39258
39259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39260 conftest$ac_exeext conftest.$ac_ext
39261 LIBS=$ac_check_lib_save_LIBS
39262 fi
39263 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39264 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39265 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39266
39267 HAVE_PRIOR_FUNCS=1
39268 POSIX4_LINK=" -lposix4"
39269
39270 fi
39271
39272
39273 fi
39274
39275
39276 fi
39277
39278
39279 fi
39280
39281
39282 if test "$HAVE_PRIOR_FUNCS" = 1; then
39283 cat >>confdefs.h <<\_ACEOF
39284 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39285 _ACEOF
39286
39287 else
39288 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39289 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39290 fi
39291
39292 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39293 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39294 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39295 echo $ECHO_N "(cached) $ECHO_C" >&6
39296 else
39297 cat >conftest.$ac_ext <<_ACEOF
39298 /* confdefs.h. */
39299 _ACEOF
39300 cat confdefs.h >>conftest.$ac_ext
39301 cat >>conftest.$ac_ext <<_ACEOF
39302 /* end confdefs.h. */
39303 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39305 #define pthread_cancel innocuous_pthread_cancel
39306
39307 /* System header to define __stub macros and hopefully few prototypes,
39308 which can conflict with char pthread_cancel (); below.
39309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39310 <limits.h> exists even on freestanding compilers. */
39311
39312 #ifdef __STDC__
39313 # include <limits.h>
39314 #else
39315 # include <assert.h>
39316 #endif
39317
39318 #undef pthread_cancel
39319
39320 /* Override any GCC internal prototype to avoid an error.
39321 Use char because int might match the return type of a GCC
39322 builtin and then its argument prototype would still apply. */
39323 #ifdef __cplusplus
39324 extern "C"
39325 #endif
39326 char pthread_cancel ();
39327 /* The GNU C library defines this for functions which it implements
39328 to always fail with ENOSYS. Some functions are actually named
39329 something starting with __ and the normal name is an alias. */
39330 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39331 choke me
39332 #endif
39333
39334 int
39335 main ()
39336 {
39337 return pthread_cancel ();
39338 ;
39339 return 0;
39340 }
39341 _ACEOF
39342 rm -f conftest.$ac_objext conftest$ac_exeext
39343 if { (ac_try="$ac_link"
39344 case "(($ac_try" in
39345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39346 *) ac_try_echo=$ac_try;;
39347 esac
39348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39349 (eval "$ac_link") 2>conftest.er1
39350 ac_status=$?
39351 grep -v '^ *+' conftest.er1 >conftest.err
39352 rm -f conftest.er1
39353 cat conftest.err >&5
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); } && {
39356 test -z "$ac_c_werror_flag" ||
39357 test ! -s conftest.err
39358 } && test -s conftest$ac_exeext &&
39359 $as_test_x conftest$ac_exeext; then
39360 ac_cv_func_pthread_cancel=yes
39361 else
39362 echo "$as_me: failed program was:" >&5
39363 sed 's/^/| /' conftest.$ac_ext >&5
39364
39365 ac_cv_func_pthread_cancel=no
39366 fi
39367
39368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39369 conftest$ac_exeext conftest.$ac_ext
39370 fi
39371 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39372 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39373 if test $ac_cv_func_pthread_cancel = yes; then
39374 cat >>confdefs.h <<\_ACEOF
39375 #define HAVE_PTHREAD_CANCEL 1
39376 _ACEOF
39377
39378 else
39379 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39380 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39381 fi
39382
39383
39384 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39385 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39386 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39387 echo $ECHO_N "(cached) $ECHO_C" >&6
39388 else
39389 cat >conftest.$ac_ext <<_ACEOF
39390 /* confdefs.h. */
39391 _ACEOF
39392 cat confdefs.h >>conftest.$ac_ext
39393 cat >>conftest.$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39395 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39397 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39398
39399 /* System header to define __stub macros and hopefully few prototypes,
39400 which can conflict with char pthread_mutex_timedlock (); below.
39401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39402 <limits.h> exists even on freestanding compilers. */
39403
39404 #ifdef __STDC__
39405 # include <limits.h>
39406 #else
39407 # include <assert.h>
39408 #endif
39409
39410 #undef pthread_mutex_timedlock
39411
39412 /* Override any GCC internal prototype to avoid an error.
39413 Use char because int might match the return type of a GCC
39414 builtin and then its argument prototype would still apply. */
39415 #ifdef __cplusplus
39416 extern "C"
39417 #endif
39418 char pthread_mutex_timedlock ();
39419 /* The GNU C library defines this for functions which it implements
39420 to always fail with ENOSYS. Some functions are actually named
39421 something starting with __ and the normal name is an alias. */
39422 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39423 choke me
39424 #endif
39425
39426 int
39427 main ()
39428 {
39429 return pthread_mutex_timedlock ();
39430 ;
39431 return 0;
39432 }
39433 _ACEOF
39434 rm -f conftest.$ac_objext conftest$ac_exeext
39435 if { (ac_try="$ac_link"
39436 case "(($ac_try" in
39437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39438 *) ac_try_echo=$ac_try;;
39439 esac
39440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39441 (eval "$ac_link") 2>conftest.er1
39442 ac_status=$?
39443 grep -v '^ *+' conftest.er1 >conftest.err
39444 rm -f conftest.er1
39445 cat conftest.err >&5
39446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39447 (exit $ac_status); } && {
39448 test -z "$ac_c_werror_flag" ||
39449 test ! -s conftest.err
39450 } && test -s conftest$ac_exeext &&
39451 $as_test_x conftest$ac_exeext; then
39452 ac_cv_func_pthread_mutex_timedlock=yes
39453 else
39454 echo "$as_me: failed program was:" >&5
39455 sed 's/^/| /' conftest.$ac_ext >&5
39456
39457 ac_cv_func_pthread_mutex_timedlock=no
39458 fi
39459
39460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39461 conftest$ac_exeext conftest.$ac_ext
39462 fi
39463 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39464 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39465 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39466 cat >>confdefs.h <<\_ACEOF
39467 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39468 _ACEOF
39469
39470 else
39471 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39472 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39473 fi
39474
39475
39476 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39477 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39478 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39479 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 else
39481 cat >conftest.$ac_ext <<_ACEOF
39482 /* confdefs.h. */
39483 _ACEOF
39484 cat confdefs.h >>conftest.$ac_ext
39485 cat >>conftest.$ac_ext <<_ACEOF
39486 /* end confdefs.h. */
39487 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39489 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39490
39491 /* System header to define __stub macros and hopefully few prototypes,
39492 which can conflict with char pthread_attr_setstacksize (); below.
39493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39494 <limits.h> exists even on freestanding compilers. */
39495
39496 #ifdef __STDC__
39497 # include <limits.h>
39498 #else
39499 # include <assert.h>
39500 #endif
39501
39502 #undef pthread_attr_setstacksize
39503
39504 /* Override any GCC internal prototype to avoid an error.
39505 Use char because int might match the return type of a GCC
39506 builtin and then its argument prototype would still apply. */
39507 #ifdef __cplusplus
39508 extern "C"
39509 #endif
39510 char pthread_attr_setstacksize ();
39511 /* The GNU C library defines this for functions which it implements
39512 to always fail with ENOSYS. Some functions are actually named
39513 something starting with __ and the normal name is an alias. */
39514 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39515 choke me
39516 #endif
39517
39518 int
39519 main ()
39520 {
39521 return pthread_attr_setstacksize ();
39522 ;
39523 return 0;
39524 }
39525 _ACEOF
39526 rm -f conftest.$ac_objext conftest$ac_exeext
39527 if { (ac_try="$ac_link"
39528 case "(($ac_try" in
39529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39530 *) ac_try_echo=$ac_try;;
39531 esac
39532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39533 (eval "$ac_link") 2>conftest.er1
39534 ac_status=$?
39535 grep -v '^ *+' conftest.er1 >conftest.err
39536 rm -f conftest.er1
39537 cat conftest.err >&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } && {
39540 test -z "$ac_c_werror_flag" ||
39541 test ! -s conftest.err
39542 } && test -s conftest$ac_exeext &&
39543 $as_test_x conftest$ac_exeext; then
39544 ac_cv_func_pthread_attr_setstacksize=yes
39545 else
39546 echo "$as_me: failed program was:" >&5
39547 sed 's/^/| /' conftest.$ac_ext >&5
39548
39549 ac_cv_func_pthread_attr_setstacksize=no
39550 fi
39551
39552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39553 conftest$ac_exeext conftest.$ac_ext
39554 fi
39555 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39556 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39557 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39558 cat >>confdefs.h <<\_ACEOF
39559 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39560 _ACEOF
39561
39562 fi
39563
39564
39565
39566 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39567 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39568 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39570 else
39571
39572 cat >conftest.$ac_ext <<_ACEOF
39573 /* confdefs.h. */
39574 _ACEOF
39575 cat confdefs.h >>conftest.$ac_ext
39576 cat >>conftest.$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39578 #include <pthread.h>
39579 int
39580 main ()
39581 {
39582
39583 pthread_mutexattr_t attr;
39584 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39585
39586 ;
39587 return 0;
39588 }
39589 _ACEOF
39590 rm -f conftest.$ac_objext
39591 if { (ac_try="$ac_compile"
39592 case "(($ac_try" in
39593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39594 *) ac_try_echo=$ac_try;;
39595 esac
39596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39597 (eval "$ac_compile") 2>conftest.er1
39598 ac_status=$?
39599 grep -v '^ *+' conftest.er1 >conftest.err
39600 rm -f conftest.er1
39601 cat conftest.err >&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); } && {
39604 test -z "$ac_c_werror_flag" ||
39605 test ! -s conftest.err
39606 } && test -s conftest.$ac_objext; then
39607 wx_cv_type_pthread_mutexattr_t=yes
39608 else
39609 echo "$as_me: failed program was:" >&5
39610 sed 's/^/| /' conftest.$ac_ext >&5
39611
39612 wx_cv_type_pthread_mutexattr_t=no
39613
39614 fi
39615
39616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617
39618 fi
39619 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39620 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39621
39622 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39623 cat >>confdefs.h <<\_ACEOF
39624 #define HAVE_PTHREAD_MUTEXATTR_T 1
39625 _ACEOF
39626
39627
39628 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39629 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39630 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39631 echo $ECHO_N "(cached) $ECHO_C" >&6
39632 else
39633
39634 cat >conftest.$ac_ext <<_ACEOF
39635 /* confdefs.h. */
39636 _ACEOF
39637 cat confdefs.h >>conftest.$ac_ext
39638 cat >>conftest.$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640 #include <pthread.h>
39641 int
39642 main ()
39643 {
39644
39645 pthread_mutexattr_t attr;
39646 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39647
39648 ;
39649 return 0;
39650 }
39651 _ACEOF
39652 rm -f conftest.$ac_objext
39653 if { (ac_try="$ac_compile"
39654 case "(($ac_try" in
39655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39656 *) ac_try_echo=$ac_try;;
39657 esac
39658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39659 (eval "$ac_compile") 2>conftest.er1
39660 ac_status=$?
39661 grep -v '^ *+' conftest.er1 >conftest.err
39662 rm -f conftest.er1
39663 cat conftest.err >&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); } && {
39666 test -z "$ac_c_werror_flag" ||
39667 test ! -s conftest.err
39668 } && test -s conftest.$ac_objext; then
39669 wx_cv_func_pthread_mutexattr_settype_decl=yes
39670 else
39671 echo "$as_me: failed program was:" >&5
39672 sed 's/^/| /' conftest.$ac_ext >&5
39673
39674 wx_cv_func_pthread_mutexattr_settype_decl=no
39675
39676 fi
39677
39678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39679
39680 fi
39681 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39682 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39683 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39684 cat >>confdefs.h <<\_ACEOF
39685 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39686 _ACEOF
39687
39688 fi
39689 else
39690 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39691 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39692 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39693 echo $ECHO_N "(cached) $ECHO_C" >&6
39694 else
39695
39696 cat >conftest.$ac_ext <<_ACEOF
39697 /* confdefs.h. */
39698 _ACEOF
39699 cat confdefs.h >>conftest.$ac_ext
39700 cat >>conftest.$ac_ext <<_ACEOF
39701 /* end confdefs.h. */
39702 #include <pthread.h>
39703 int
39704 main ()
39705 {
39706
39707 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39708
39709 ;
39710 return 0;
39711 }
39712 _ACEOF
39713 rm -f conftest.$ac_objext
39714 if { (ac_try="$ac_compile"
39715 case "(($ac_try" in
39716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39717 *) ac_try_echo=$ac_try;;
39718 esac
39719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39720 (eval "$ac_compile") 2>conftest.er1
39721 ac_status=$?
39722 grep -v '^ *+' conftest.er1 >conftest.err
39723 rm -f conftest.er1
39724 cat conftest.err >&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } && {
39727 test -z "$ac_c_werror_flag" ||
39728 test ! -s conftest.err
39729 } && test -s conftest.$ac_objext; then
39730
39731 wx_cv_type_pthread_rec_mutex_init=yes
39732
39733 else
39734 echo "$as_me: failed program was:" >&5
39735 sed 's/^/| /' conftest.$ac_ext >&5
39736
39737
39738 wx_cv_type_pthread_rec_mutex_init=no
39739
39740
39741 fi
39742
39743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39744
39745 fi
39746 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39747 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39748 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39749 cat >>confdefs.h <<\_ACEOF
39750 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39751 _ACEOF
39752
39753 else
39754 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39755 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39756 fi
39757 fi
39758 fi
39759
39760 else
39761 if test "$wxUSE_THREADS" = "yes" ; then
39762 case "${host}" in
39763 *-*-mingw32* )
39764 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39765 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39766 if test "${wx_cv_cflags_mthread+set}" = set; then
39767 echo $ECHO_N "(cached) $ECHO_C" >&6
39768 else
39769
39770 CFLAGS_OLD="$CFLAGS"
39771 CFLAGS="-mthreads $CFLAGS"
39772 cat >conftest.$ac_ext <<_ACEOF
39773 /* confdefs.h. */
39774 _ACEOF
39775 cat confdefs.h >>conftest.$ac_ext
39776 cat >>conftest.$ac_ext <<_ACEOF
39777 /* end confdefs.h. */
39778
39779 int
39780 main ()
39781 {
39782
39783 ;
39784 return 0;
39785 }
39786 _ACEOF
39787 rm -f conftest.$ac_objext
39788 if { (ac_try="$ac_compile"
39789 case "(($ac_try" in
39790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39791 *) ac_try_echo=$ac_try;;
39792 esac
39793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39794 (eval "$ac_compile") 2>conftest.er1
39795 ac_status=$?
39796 grep -v '^ *+' conftest.er1 >conftest.err
39797 rm -f conftest.er1
39798 cat conftest.err >&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } && {
39801 test -z "$ac_c_werror_flag" ||
39802 test ! -s conftest.err
39803 } && test -s conftest.$ac_objext; then
39804 wx_cv_cflags_mthread=yes
39805 else
39806 echo "$as_me: failed program was:" >&5
39807 sed 's/^/| /' conftest.$ac_ext >&5
39808
39809 wx_cv_cflags_mthread=no
39810
39811 fi
39812
39813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39814
39815
39816 fi
39817 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39818 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39819
39820 if test "$wx_cv_cflags_mthread" = "yes"; then
39821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39822 LDFLAGS="$LDFLAGS -mthreads"
39823 else
39824 CFLAGS="$CFLAGS_OLD"
39825 fi
39826 ;;
39827 *-pc-os2*emx )
39828 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39829 LDFLAGS="$LDFLAGS -Zmt"
39830 ;;
39831 esac
39832 fi
39833 fi
39834
39835 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39836 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39837 if test "${ac_cv_func_localtime_r+set}" = set; then
39838 echo $ECHO_N "(cached) $ECHO_C" >&6
39839 else
39840 cat >conftest.$ac_ext <<_ACEOF
39841 /* confdefs.h. */
39842 _ACEOF
39843 cat confdefs.h >>conftest.$ac_ext
39844 cat >>conftest.$ac_ext <<_ACEOF
39845 /* end confdefs.h. */
39846 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39848 #define localtime_r innocuous_localtime_r
39849
39850 /* System header to define __stub macros and hopefully few prototypes,
39851 which can conflict with char localtime_r (); below.
39852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39853 <limits.h> exists even on freestanding compilers. */
39854
39855 #ifdef __STDC__
39856 # include <limits.h>
39857 #else
39858 # include <assert.h>
39859 #endif
39860
39861 #undef localtime_r
39862
39863 /* Override any GCC internal prototype to avoid an error.
39864 Use char because int might match the return type of a GCC
39865 builtin and then its argument prototype would still apply. */
39866 #ifdef __cplusplus
39867 extern "C"
39868 #endif
39869 char localtime_r ();
39870 /* The GNU C library defines this for functions which it implements
39871 to always fail with ENOSYS. Some functions are actually named
39872 something starting with __ and the normal name is an alias. */
39873 #if defined __stub_localtime_r || defined __stub___localtime_r
39874 choke me
39875 #endif
39876
39877 int
39878 main ()
39879 {
39880 return localtime_r ();
39881 ;
39882 return 0;
39883 }
39884 _ACEOF
39885 rm -f conftest.$ac_objext conftest$ac_exeext
39886 if { (ac_try="$ac_link"
39887 case "(($ac_try" in
39888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39889 *) ac_try_echo=$ac_try;;
39890 esac
39891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39892 (eval "$ac_link") 2>conftest.er1
39893 ac_status=$?
39894 grep -v '^ *+' conftest.er1 >conftest.err
39895 rm -f conftest.er1
39896 cat conftest.err >&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); } && {
39899 test -z "$ac_c_werror_flag" ||
39900 test ! -s conftest.err
39901 } && test -s conftest$ac_exeext &&
39902 $as_test_x conftest$ac_exeext; then
39903 ac_cv_func_localtime_r=yes
39904 else
39905 echo "$as_me: failed program was:" >&5
39906 sed 's/^/| /' conftest.$ac_ext >&5
39907
39908 ac_cv_func_localtime_r=no
39909 fi
39910
39911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39912 conftest$ac_exeext conftest.$ac_ext
39913 fi
39914 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39915 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39916 if test $ac_cv_func_localtime_r = yes; then
39917 cat >>confdefs.h <<\_ACEOF
39918 #define HAVE_LOCALTIME_R 1
39919 _ACEOF
39920
39921 fi
39922
39923 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39924 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39925 if test "${ac_cv_func_gmtime_r+set}" = set; then
39926 echo $ECHO_N "(cached) $ECHO_C" >&6
39927 else
39928 cat >conftest.$ac_ext <<_ACEOF
39929 /* confdefs.h. */
39930 _ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39936 #define gmtime_r innocuous_gmtime_r
39937
39938 /* System header to define __stub macros and hopefully few prototypes,
39939 which can conflict with char gmtime_r (); below.
39940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39941 <limits.h> exists even on freestanding compilers. */
39942
39943 #ifdef __STDC__
39944 # include <limits.h>
39945 #else
39946 # include <assert.h>
39947 #endif
39948
39949 #undef gmtime_r
39950
39951 /* Override any GCC internal prototype to avoid an error.
39952 Use char because int might match the return type of a GCC
39953 builtin and then its argument prototype would still apply. */
39954 #ifdef __cplusplus
39955 extern "C"
39956 #endif
39957 char gmtime_r ();
39958 /* The GNU C library defines this for functions which it implements
39959 to always fail with ENOSYS. Some functions are actually named
39960 something starting with __ and the normal name is an alias. */
39961 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39962 choke me
39963 #endif
39964
39965 int
39966 main ()
39967 {
39968 return gmtime_r ();
39969 ;
39970 return 0;
39971 }
39972 _ACEOF
39973 rm -f conftest.$ac_objext conftest$ac_exeext
39974 if { (ac_try="$ac_link"
39975 case "(($ac_try" in
39976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39977 *) ac_try_echo=$ac_try;;
39978 esac
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_link") 2>conftest.er1
39981 ac_status=$?
39982 grep -v '^ *+' conftest.er1 >conftest.err
39983 rm -f conftest.er1
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_c_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest$ac_exeext &&
39990 $as_test_x conftest$ac_exeext; then
39991 ac_cv_func_gmtime_r=yes
39992 else
39993 echo "$as_me: failed program was:" >&5
39994 sed 's/^/| /' conftest.$ac_ext >&5
39995
39996 ac_cv_func_gmtime_r=no
39997 fi
39998
39999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40000 conftest$ac_exeext conftest.$ac_ext
40001 fi
40002 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40003 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40004 if test $ac_cv_func_gmtime_r = yes; then
40005 cat >>confdefs.h <<\_ACEOF
40006 #define HAVE_GMTIME_R 1
40007 _ACEOF
40008
40009 fi
40010
40011
40012
40013
40014 ac_ext=c
40015 ac_cpp='$CPP $CPPFLAGS'
40016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40019
40020 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40021 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40022
40023 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40025 else
40026
40027
40028 ################################################################
40029
40030 ac_cv_func_which_gethostbyname_r=unknown
40031
40032 #
40033 # ONE ARGUMENT (sanity check)
40034 #
40035
40036 # This should fail, as there is no variant of gethostbyname_r() that takes
40037 # a single argument. If it actually compiles, then we can assume that
40038 # netdb.h is not declaring the function, and the compiler is thereby
40039 # assuming an implicit prototype. In which case, we're out of luck.
40040 #
40041 cat >conftest.$ac_ext <<_ACEOF
40042 /* confdefs.h. */
40043 _ACEOF
40044 cat confdefs.h >>conftest.$ac_ext
40045 cat >>conftest.$ac_ext <<_ACEOF
40046 /* end confdefs.h. */
40047 #include <netdb.h>
40048 int
40049 main ()
40050 {
40051
40052 char *name = "www.gnu.org";
40053 (void)gethostbyname_r(name) /* ; */
40054
40055 ;
40056 return 0;
40057 }
40058 _ACEOF
40059 rm -f conftest.$ac_objext
40060 if { (ac_try="$ac_compile"
40061 case "(($ac_try" in
40062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40063 *) ac_try_echo=$ac_try;;
40064 esac
40065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40066 (eval "$ac_compile") 2>conftest.er1
40067 ac_status=$?
40068 grep -v '^ *+' conftest.er1 >conftest.err
40069 rm -f conftest.er1
40070 cat conftest.err >&5
40071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40072 (exit $ac_status); } && {
40073 test -z "$ac_c_werror_flag" ||
40074 test ! -s conftest.err
40075 } && test -s conftest.$ac_objext; then
40076 ac_cv_func_which_gethostbyname_r=no
40077 else
40078 echo "$as_me: failed program was:" >&5
40079 sed 's/^/| /' conftest.$ac_ext >&5
40080
40081
40082 fi
40083
40084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40085
40086 #
40087 # SIX ARGUMENTS
40088 # (e.g. Linux)
40089 #
40090
40091 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40092
40093 cat >conftest.$ac_ext <<_ACEOF
40094 /* confdefs.h. */
40095 _ACEOF
40096 cat confdefs.h >>conftest.$ac_ext
40097 cat >>conftest.$ac_ext <<_ACEOF
40098 /* end confdefs.h. */
40099 #include <netdb.h>
40100 int
40101 main ()
40102 {
40103
40104 char *name = "www.gnu.org";
40105 struct hostent ret, *retp;
40106 char buf[1024];
40107 int buflen = 1024;
40108 int my_h_errno;
40109 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40110
40111 ;
40112 return 0;
40113 }
40114 _ACEOF
40115 rm -f conftest.$ac_objext
40116 if { (ac_try="$ac_compile"
40117 case "(($ac_try" in
40118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40119 *) ac_try_echo=$ac_try;;
40120 esac
40121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40122 (eval "$ac_compile") 2>conftest.er1
40123 ac_status=$?
40124 grep -v '^ *+' conftest.er1 >conftest.err
40125 rm -f conftest.er1
40126 cat conftest.err >&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); } && {
40129 test -z "$ac_c_werror_flag" ||
40130 test ! -s conftest.err
40131 } && test -s conftest.$ac_objext; then
40132 ac_cv_func_which_gethostbyname_r=six
40133 else
40134 echo "$as_me: failed program was:" >&5
40135 sed 's/^/| /' conftest.$ac_ext >&5
40136
40137
40138 fi
40139
40140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40141
40142 fi
40143
40144 #
40145 # FIVE ARGUMENTS
40146 # (e.g. Solaris)
40147 #
40148
40149 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40150
40151 cat >conftest.$ac_ext <<_ACEOF
40152 /* confdefs.h. */
40153 _ACEOF
40154 cat confdefs.h >>conftest.$ac_ext
40155 cat >>conftest.$ac_ext <<_ACEOF
40156 /* end confdefs.h. */
40157 #include <netdb.h>
40158 int
40159 main ()
40160 {
40161
40162 char *name = "www.gnu.org";
40163 struct hostent ret;
40164 char buf[1024];
40165 int buflen = 1024;
40166 int my_h_errno;
40167 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40168
40169 ;
40170 return 0;
40171 }
40172 _ACEOF
40173 rm -f conftest.$ac_objext
40174 if { (ac_try="$ac_compile"
40175 case "(($ac_try" in
40176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40177 *) ac_try_echo=$ac_try;;
40178 esac
40179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40180 (eval "$ac_compile") 2>conftest.er1
40181 ac_status=$?
40182 grep -v '^ *+' conftest.er1 >conftest.err
40183 rm -f conftest.er1
40184 cat conftest.err >&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } && {
40187 test -z "$ac_c_werror_flag" ||
40188 test ! -s conftest.err
40189 } && test -s conftest.$ac_objext; then
40190 ac_cv_func_which_gethostbyname_r=five
40191 else
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40194
40195
40196 fi
40197
40198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40199
40200 fi
40201
40202 #
40203 # THREE ARGUMENTS
40204 # (e.g. AIX, HP-UX, Tru64)
40205 #
40206
40207 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40208
40209 cat >conftest.$ac_ext <<_ACEOF
40210 /* confdefs.h. */
40211 _ACEOF
40212 cat confdefs.h >>conftest.$ac_ext
40213 cat >>conftest.$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40215 #include <netdb.h>
40216 int
40217 main ()
40218 {
40219
40220 char *name = "www.gnu.org";
40221 struct hostent ret;
40222 struct hostent_data data;
40223 (void)gethostbyname_r(name, &ret, &data) /* ; */
40224
40225 ;
40226 return 0;
40227 }
40228 _ACEOF
40229 rm -f conftest.$ac_objext
40230 if { (ac_try="$ac_compile"
40231 case "(($ac_try" in
40232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40233 *) ac_try_echo=$ac_try;;
40234 esac
40235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40236 (eval "$ac_compile") 2>conftest.er1
40237 ac_status=$?
40238 grep -v '^ *+' conftest.er1 >conftest.err
40239 rm -f conftest.er1
40240 cat conftest.err >&5
40241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40242 (exit $ac_status); } && {
40243 test -z "$ac_c_werror_flag" ||
40244 test ! -s conftest.err
40245 } && test -s conftest.$ac_objext; then
40246 ac_cv_func_which_gethostbyname_r=three
40247 else
40248 echo "$as_me: failed program was:" >&5
40249 sed 's/^/| /' conftest.$ac_ext >&5
40250
40251
40252 fi
40253
40254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40255
40256 fi
40257
40258 ################################################################
40259
40260
40261 fi
40262
40263 case "$ac_cv_func_which_gethostbyname_r" in
40264 three)
40265 { echo "$as_me:$LINENO: result: three" >&5
40266 echo "${ECHO_T}three" >&6; }
40267 cat >>confdefs.h <<\_ACEOF
40268 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40269 _ACEOF
40270
40271 ;;
40272
40273 five)
40274 { echo "$as_me:$LINENO: result: five" >&5
40275 echo "${ECHO_T}five" >&6; }
40276 cat >>confdefs.h <<\_ACEOF
40277 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40278 _ACEOF
40279
40280 ;;
40281
40282 six)
40283 { echo "$as_me:$LINENO: result: six" >&5
40284 echo "${ECHO_T}six" >&6; }
40285 cat >>confdefs.h <<\_ACEOF
40286 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40287 _ACEOF
40288
40289 ;;
40290
40291 no)
40292 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40293 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40294 ;;
40295
40296 unknown)
40297 { echo "$as_me:$LINENO: result: can't tell" >&5
40298 echo "${ECHO_T}can't tell" >&6; }
40299 ;;
40300
40301 *)
40302 { { echo "$as_me:$LINENO: error: internal error" >&5
40303 echo "$as_me: error: internal error" >&2;}
40304 { (exit 1); exit 1; }; }
40305 ;;
40306 esac
40307
40308 ac_ext=c
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40313
40314
40315
40316 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40317 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40318 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40319 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40320 if test "${ac_cv_func_gethostbyname+set}" = set; then
40321 echo $ECHO_N "(cached) $ECHO_C" >&6
40322 else
40323 cat >conftest.$ac_ext <<_ACEOF
40324 /* confdefs.h. */
40325 _ACEOF
40326 cat confdefs.h >>conftest.$ac_ext
40327 cat >>conftest.$ac_ext <<_ACEOF
40328 /* end confdefs.h. */
40329 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40331 #define gethostbyname innocuous_gethostbyname
40332
40333 /* System header to define __stub macros and hopefully few prototypes,
40334 which can conflict with char gethostbyname (); below.
40335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40336 <limits.h> exists even on freestanding compilers. */
40337
40338 #ifdef __STDC__
40339 # include <limits.h>
40340 #else
40341 # include <assert.h>
40342 #endif
40343
40344 #undef gethostbyname
40345
40346 /* Override any GCC internal prototype to avoid an error.
40347 Use char because int might match the return type of a GCC
40348 builtin and then its argument prototype would still apply. */
40349 #ifdef __cplusplus
40350 extern "C"
40351 #endif
40352 char gethostbyname ();
40353 /* The GNU C library defines this for functions which it implements
40354 to always fail with ENOSYS. Some functions are actually named
40355 something starting with __ and the normal name is an alias. */
40356 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40357 choke me
40358 #endif
40359
40360 int
40361 main ()
40362 {
40363 return gethostbyname ();
40364 ;
40365 return 0;
40366 }
40367 _ACEOF
40368 rm -f conftest.$ac_objext conftest$ac_exeext
40369 if { (ac_try="$ac_link"
40370 case "(($ac_try" in
40371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40372 *) ac_try_echo=$ac_try;;
40373 esac
40374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40375 (eval "$ac_link") 2>conftest.er1
40376 ac_status=$?
40377 grep -v '^ *+' conftest.er1 >conftest.err
40378 rm -f conftest.er1
40379 cat conftest.err >&5
40380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40381 (exit $ac_status); } && {
40382 test -z "$ac_c_werror_flag" ||
40383 test ! -s conftest.err
40384 } && test -s conftest$ac_exeext &&
40385 $as_test_x conftest$ac_exeext; then
40386 ac_cv_func_gethostbyname=yes
40387 else
40388 echo "$as_me: failed program was:" >&5
40389 sed 's/^/| /' conftest.$ac_ext >&5
40390
40391 ac_cv_func_gethostbyname=no
40392 fi
40393
40394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40395 conftest$ac_exeext conftest.$ac_ext
40396 fi
40397 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40398 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40399 if test $ac_cv_func_gethostbyname = yes; then
40400 cat >>confdefs.h <<\_ACEOF
40401 #define HAVE_GETHOSTBYNAME 1
40402 _ACEOF
40403
40404 fi
40405
40406 fi
40407
40408 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40409 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40410 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40411 echo $ECHO_N "(cached) $ECHO_C" >&6
40412 else
40413
40414 ac_ext=cpp
40415 ac_cpp='$CXXCPP $CPPFLAGS'
40416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40419
40420
40421 cat >conftest.$ac_ext <<_ACEOF
40422 /* confdefs.h. */
40423 _ACEOF
40424 cat confdefs.h >>conftest.$ac_ext
40425 cat >>conftest.$ac_ext <<_ACEOF
40426 /* end confdefs.h. */
40427 #include <netdb.h>
40428 int
40429 main ()
40430 {
40431
40432 char *name;
40433 char *proto;
40434 struct servent *se, *res;
40435 char buffer[2048];
40436 int buflen = 2048;
40437 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40438
40439 ;
40440 return 0;
40441 }
40442 _ACEOF
40443 rm -f conftest.$ac_objext
40444 if { (ac_try="$ac_compile"
40445 case "(($ac_try" in
40446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40447 *) ac_try_echo=$ac_try;;
40448 esac
40449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40450 (eval "$ac_compile") 2>conftest.er1
40451 ac_status=$?
40452 grep -v '^ *+' conftest.er1 >conftest.err
40453 rm -f conftest.er1
40454 cat conftest.err >&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } && {
40457 test -z "$ac_cxx_werror_flag" ||
40458 test ! -s conftest.err
40459 } && test -s conftest.$ac_objext; then
40460 ac_cv_func_which_getservbyname_r=six
40461 else
40462 echo "$as_me: failed program was:" >&5
40463 sed 's/^/| /' conftest.$ac_ext >&5
40464
40465
40466 cat >conftest.$ac_ext <<_ACEOF
40467 /* confdefs.h. */
40468 _ACEOF
40469 cat confdefs.h >>conftest.$ac_ext
40470 cat >>conftest.$ac_ext <<_ACEOF
40471 /* end confdefs.h. */
40472 #include <netdb.h>
40473 int
40474 main ()
40475 {
40476
40477 char *name;
40478 char *proto;
40479 struct servent *se;
40480 char buffer[2048];
40481 int buflen = 2048;
40482 (void) getservbyname_r(name, proto, se, buffer, buflen)
40483
40484 ;
40485 return 0;
40486 }
40487 _ACEOF
40488 rm -f conftest.$ac_objext
40489 if { (ac_try="$ac_compile"
40490 case "(($ac_try" in
40491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40492 *) ac_try_echo=$ac_try;;
40493 esac
40494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40495 (eval "$ac_compile") 2>conftest.er1
40496 ac_status=$?
40497 grep -v '^ *+' conftest.er1 >conftest.err
40498 rm -f conftest.er1
40499 cat conftest.err >&5
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); } && {
40502 test -z "$ac_cxx_werror_flag" ||
40503 test ! -s conftest.err
40504 } && test -s conftest.$ac_objext; then
40505 ac_cv_func_which_getservbyname_r=five
40506 else
40507 echo "$as_me: failed program was:" >&5
40508 sed 's/^/| /' conftest.$ac_ext >&5
40509
40510
40511 cat >conftest.$ac_ext <<_ACEOF
40512 /* confdefs.h. */
40513 _ACEOF
40514 cat confdefs.h >>conftest.$ac_ext
40515 cat >>conftest.$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517 #include <netdb.h>
40518 int
40519 main ()
40520 {
40521
40522 char *name;
40523 char *proto;
40524 struct servent *se;
40525 struct servent_data data;
40526 (void) getservbyname_r(name, proto, se, &data);
40527
40528 ;
40529 return 0;
40530 }
40531 _ACEOF
40532 rm -f conftest.$ac_objext
40533 if { (ac_try="$ac_compile"
40534 case "(($ac_try" in
40535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40536 *) ac_try_echo=$ac_try;;
40537 esac
40538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40539 (eval "$ac_compile") 2>conftest.er1
40540 ac_status=$?
40541 grep -v '^ *+' conftest.er1 >conftest.err
40542 rm -f conftest.er1
40543 cat conftest.err >&5
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); } && {
40546 test -z "$ac_cxx_werror_flag" ||
40547 test ! -s conftest.err
40548 } && test -s conftest.$ac_objext; then
40549 ac_cv_func_which_getservbyname_r=four
40550 else
40551 echo "$as_me: failed program was:" >&5
40552 sed 's/^/| /' conftest.$ac_ext >&5
40553
40554 ac_cv_func_which_getservbyname_r=no
40555
40556 fi
40557
40558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40559
40560
40561 fi
40562
40563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40564
40565
40566 fi
40567
40568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40569 ac_ext=c
40570 ac_cpp='$CPP $CPPFLAGS'
40571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40574
40575
40576
40577 fi
40578 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40579 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40580
40581 if test $ac_cv_func_which_getservbyname_r = six; then
40582 cat >>confdefs.h <<\_ACEOF
40583 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40584 _ACEOF
40585
40586 elif test $ac_cv_func_which_getservbyname_r = five; then
40587 cat >>confdefs.h <<\_ACEOF
40588 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40589 _ACEOF
40590
40591 elif test $ac_cv_func_which_getservbyname_r = four; then
40592 cat >>confdefs.h <<\_ACEOF
40593 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40594 _ACEOF
40595
40596 fi
40597
40598
40599 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40600 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40601
40602 for ac_func in getservbyname
40603 do
40604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40608 echo $ECHO_N "(cached) $ECHO_C" >&6
40609 else
40610 cat >conftest.$ac_ext <<_ACEOF
40611 /* confdefs.h. */
40612 _ACEOF
40613 cat confdefs.h >>conftest.$ac_ext
40614 cat >>conftest.$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40618 #define $ac_func innocuous_$ac_func
40619
40620 /* System header to define __stub macros and hopefully few prototypes,
40621 which can conflict with char $ac_func (); below.
40622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40623 <limits.h> exists even on freestanding compilers. */
40624
40625 #ifdef __STDC__
40626 # include <limits.h>
40627 #else
40628 # include <assert.h>
40629 #endif
40630
40631 #undef $ac_func
40632
40633 /* Override any GCC internal prototype to avoid an error.
40634 Use char because int might match the return type of a GCC
40635 builtin and then its argument prototype would still apply. */
40636 #ifdef __cplusplus
40637 extern "C"
40638 #endif
40639 char $ac_func ();
40640 /* The GNU C library defines this for functions which it implements
40641 to always fail with ENOSYS. Some functions are actually named
40642 something starting with __ and the normal name is an alias. */
40643 #if defined __stub_$ac_func || defined __stub___$ac_func
40644 choke me
40645 #endif
40646
40647 int
40648 main ()
40649 {
40650 return $ac_func ();
40651 ;
40652 return 0;
40653 }
40654 _ACEOF
40655 rm -f conftest.$ac_objext conftest$ac_exeext
40656 if { (ac_try="$ac_link"
40657 case "(($ac_try" in
40658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40659 *) ac_try_echo=$ac_try;;
40660 esac
40661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40662 (eval "$ac_link") 2>conftest.er1
40663 ac_status=$?
40664 grep -v '^ *+' conftest.er1 >conftest.err
40665 rm -f conftest.er1
40666 cat conftest.err >&5
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); } && {
40669 test -z "$ac_c_werror_flag" ||
40670 test ! -s conftest.err
40671 } && test -s conftest$ac_exeext &&
40672 $as_test_x conftest$ac_exeext; then
40673 eval "$as_ac_var=yes"
40674 else
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40677
40678 eval "$as_ac_var=no"
40679 fi
40680
40681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40682 conftest$ac_exeext conftest.$ac_ext
40683 fi
40684 ac_res=`eval echo '${'$as_ac_var'}'`
40685 { echo "$as_me:$LINENO: result: $ac_res" >&5
40686 echo "${ECHO_T}$ac_res" >&6; }
40687 if test `eval echo '${'$as_ac_var'}'` = yes; then
40688 cat >>confdefs.h <<_ACEOF
40689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40690 _ACEOF
40691 cat >>confdefs.h <<\_ACEOF
40692 #define HAVE_GETSERVBYNAME 1
40693 _ACEOF
40694
40695 fi
40696 done
40697
40698 fi
40699
40700 if test "$wxUSE_THREADS" = "yes"; then
40701 cat >>confdefs.h <<\_ACEOF
40702 #define wxUSE_THREADS 1
40703 _ACEOF
40704
40705
40706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40707 else
40708 if test "$wx_cv_func_strtok_r" = "yes"; then
40709 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40710 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40711 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40712 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40713 { echo "$as_me:$LINENO: result: yes" >&5
40714 echo "${ECHO_T}yes" >&6; }
40715 else
40716 { echo "$as_me:$LINENO: result: no" >&5
40717 echo "${ECHO_T}no" >&6; }
40718 fi
40719 fi
40720 fi
40721
40722 if test "$WXGTK2" = 1 ; then
40723 cat >>confdefs.h <<_ACEOF
40724 #define __WXGTK20__ $WXGTK2
40725 _ACEOF
40726
40727 WXGTK12=1
40728 fi
40729
40730 if test "$WXGTK12" = 1 ; then
40731 cat >>confdefs.h <<_ACEOF
40732 #define __WXGTK12__ $WXGTK12
40733 _ACEOF
40734
40735 fi
40736
40737 if test "$WXGTK127" = 1 ; then
40738 cat >>confdefs.h <<_ACEOF
40739 #define __WXGTK127__ $WXGTK127
40740 _ACEOF
40741
40742 fi
40743
40744 if test "$WXGPE" = 1 ; then
40745 cat >>confdefs.h <<_ACEOF
40746 #define __WXGPE__ $WXGPE
40747 _ACEOF
40748
40749 fi
40750
40751 DEBUG_CFLAGS=
40752 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40753 DEBUG_CFLAGS="-g"
40754 wxUSE_OPTIMISE=no
40755 fi
40756
40757 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40758 wxUSE_DEBUG_INFO=yes
40759 if test "$GCC" = yes; then
40760 DEBUG_CFLAGS="-ggdb"
40761 fi
40762 fi
40763
40764 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40765 cat >>confdefs.h <<\_ACEOF
40766 #define WXDEBUG 1
40767 _ACEOF
40768
40769 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40770 else
40771 if test "$wxUSE_GTK" = 1 ; then
40772 if test "x$wxGTK_VERSION" = "x1" ; then
40773 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40774 fi
40775 fi
40776 fi
40777
40778 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40779 cat >>confdefs.h <<\_ACEOF
40780 #define wxUSE_MEMORY_TRACING 1
40781 _ACEOF
40782
40783 cat >>confdefs.h <<\_ACEOF
40784 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40785 _ACEOF
40786
40787 cat >>confdefs.h <<\_ACEOF
40788 #define wxUSE_DEBUG_NEW_ALWAYS 1
40789 _ACEOF
40790
40791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40792 fi
40793
40794 if test "$wxUSE_DMALLOC" = "yes" ; then
40795 DMALLOC_LIBS="-ldmallocthcxx"
40796 fi
40797
40798 PROFILE_FLAGS=
40799 if test "$wxUSE_PROFILE" = "yes" ; then
40800 PROFILE_FLAGS=" -pg"
40801 fi
40802
40803 if test "$GCC" = "yes" ; then
40804 if test "$wxUSE_NO_RTTI" = "yes" ; then
40805 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40806 fi
40807 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40808 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40809 fi
40810 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40811 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40812 fi
40813
40814 case "${host}" in
40815 powerpc*-*-aix* )
40816 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40817 ;;
40818 *-hppa* )
40819 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40820 ;;
40821 esac
40822 fi
40823
40824 OPTIMISE_CFLAGS=
40825 if test "$wxUSE_OPTIMISE" = "no" ; then
40826 if test "$GCC" = yes ; then
40827 OPTIMISE_CFLAGS="-O0"
40828 fi
40829 else
40830 if test "$GCC" = yes ; then
40831 case "${host}" in
40832 *-pc-os2_emx | *-pc-os2-emx )
40833 OPTIMISE_CFLAGS="-O2"
40834 ;;
40835 *)
40836 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40837 ;;
40838 esac
40839 else
40840 OPTIMISE_CFLAGS="-O"
40841 fi
40842 fi
40843
40844
40845 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40846 cat >>confdefs.h <<\_ACEOF
40847 #define WXWIN_COMPATIBILITY_2_6 1
40848 _ACEOF
40849
40850
40851 WXWIN_COMPATIBILITY_2_8="yes"
40852 fi
40853
40854 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40855 cat >>confdefs.h <<\_ACEOF
40856 #define WXWIN_COMPATIBILITY_2_8 1
40857 _ACEOF
40858
40859 fi
40860
40861
40862 if test "$wxUSE_GUI" = "yes"; then
40863 cat >>confdefs.h <<\_ACEOF
40864 #define wxUSE_GUI 1
40865 _ACEOF
40866
40867
40868 fi
40869
40870
40871 if test "$wxUSE_UNIX" = "yes"; then
40872 cat >>confdefs.h <<\_ACEOF
40873 #define wxUSE_UNIX 1
40874 _ACEOF
40875
40876 fi
40877
40878
40879 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40880
40881 HAVE_DL_FUNCS=0
40882 HAVE_SHL_FUNCS=0
40883 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40884 if test "$USE_DARWIN" = 1; then
40885 HAVE_DL_FUNCS=1
40886 elif test "$USE_DOS" = 1; then
40887 HAVE_DL_FUNCS=0
40888 else
40889
40890 for ac_func in dlopen
40891 do
40892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40895 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40896 echo $ECHO_N "(cached) $ECHO_C" >&6
40897 else
40898 cat >conftest.$ac_ext <<_ACEOF
40899 /* confdefs.h. */
40900 _ACEOF
40901 cat confdefs.h >>conftest.$ac_ext
40902 cat >>conftest.$ac_ext <<_ACEOF
40903 /* end confdefs.h. */
40904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40906 #define $ac_func innocuous_$ac_func
40907
40908 /* System header to define __stub macros and hopefully few prototypes,
40909 which can conflict with char $ac_func (); below.
40910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40911 <limits.h> exists even on freestanding compilers. */
40912
40913 #ifdef __STDC__
40914 # include <limits.h>
40915 #else
40916 # include <assert.h>
40917 #endif
40918
40919 #undef $ac_func
40920
40921 /* Override any GCC internal prototype to avoid an error.
40922 Use char because int might match the return type of a GCC
40923 builtin and then its argument prototype would still apply. */
40924 #ifdef __cplusplus
40925 extern "C"
40926 #endif
40927 char $ac_func ();
40928 /* The GNU C library defines this for functions which it implements
40929 to always fail with ENOSYS. Some functions are actually named
40930 something starting with __ and the normal name is an alias. */
40931 #if defined __stub_$ac_func || defined __stub___$ac_func
40932 choke me
40933 #endif
40934
40935 int
40936 main ()
40937 {
40938 return $ac_func ();
40939 ;
40940 return 0;
40941 }
40942 _ACEOF
40943 rm -f conftest.$ac_objext conftest$ac_exeext
40944 if { (ac_try="$ac_link"
40945 case "(($ac_try" in
40946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40947 *) ac_try_echo=$ac_try;;
40948 esac
40949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40950 (eval "$ac_link") 2>conftest.er1
40951 ac_status=$?
40952 grep -v '^ *+' conftest.er1 >conftest.err
40953 rm -f conftest.er1
40954 cat conftest.err >&5
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } && {
40957 test -z "$ac_c_werror_flag" ||
40958 test ! -s conftest.err
40959 } && test -s conftest$ac_exeext &&
40960 $as_test_x conftest$ac_exeext; then
40961 eval "$as_ac_var=yes"
40962 else
40963 echo "$as_me: failed program was:" >&5
40964 sed 's/^/| /' conftest.$ac_ext >&5
40965
40966 eval "$as_ac_var=no"
40967 fi
40968
40969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40970 conftest$ac_exeext conftest.$ac_ext
40971 fi
40972 ac_res=`eval echo '${'$as_ac_var'}'`
40973 { echo "$as_me:$LINENO: result: $ac_res" >&5
40974 echo "${ECHO_T}$ac_res" >&6; }
40975 if test `eval echo '${'$as_ac_var'}'` = yes; then
40976 cat >>confdefs.h <<_ACEOF
40977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40978 _ACEOF
40979
40980 cat >>confdefs.h <<\_ACEOF
40981 #define HAVE_DLOPEN 1
40982 _ACEOF
40983
40984 HAVE_DL_FUNCS=1
40985
40986 else
40987
40988 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40989 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40990 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40992 else
40993 ac_check_lib_save_LIBS=$LIBS
40994 LIBS="-ldl $LIBS"
40995 cat >conftest.$ac_ext <<_ACEOF
40996 /* confdefs.h. */
40997 _ACEOF
40998 cat confdefs.h >>conftest.$ac_ext
40999 cat >>conftest.$ac_ext <<_ACEOF
41000 /* end confdefs.h. */
41001
41002 /* Override any GCC internal prototype to avoid an error.
41003 Use char because int might match the return type of a GCC
41004 builtin and then its argument prototype would still apply. */
41005 #ifdef __cplusplus
41006 extern "C"
41007 #endif
41008 char dlopen ();
41009 int
41010 main ()
41011 {
41012 return dlopen ();
41013 ;
41014 return 0;
41015 }
41016 _ACEOF
41017 rm -f conftest.$ac_objext conftest$ac_exeext
41018 if { (ac_try="$ac_link"
41019 case "(($ac_try" in
41020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41021 *) ac_try_echo=$ac_try;;
41022 esac
41023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41024 (eval "$ac_link") 2>conftest.er1
41025 ac_status=$?
41026 grep -v '^ *+' conftest.er1 >conftest.err
41027 rm -f conftest.er1
41028 cat conftest.err >&5
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); } && {
41031 test -z "$ac_c_werror_flag" ||
41032 test ! -s conftest.err
41033 } && test -s conftest$ac_exeext &&
41034 $as_test_x conftest$ac_exeext; then
41035 ac_cv_lib_dl_dlopen=yes
41036 else
41037 echo "$as_me: failed program was:" >&5
41038 sed 's/^/| /' conftest.$ac_ext >&5
41039
41040 ac_cv_lib_dl_dlopen=no
41041 fi
41042
41043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41044 conftest$ac_exeext conftest.$ac_ext
41045 LIBS=$ac_check_lib_save_LIBS
41046 fi
41047 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41048 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41049 if test $ac_cv_lib_dl_dlopen = yes; then
41050
41051 cat >>confdefs.h <<\_ACEOF
41052 #define HAVE_DLOPEN 1
41053 _ACEOF
41054
41055 HAVE_DL_FUNCS=1
41056 DL_LINK=" -ldl$DL_LINK"
41057
41058 else
41059
41060
41061 for ac_func in shl_load
41062 do
41063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41066 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41068 else
41069 cat >conftest.$ac_ext <<_ACEOF
41070 /* confdefs.h. */
41071 _ACEOF
41072 cat confdefs.h >>conftest.$ac_ext
41073 cat >>conftest.$ac_ext <<_ACEOF
41074 /* end confdefs.h. */
41075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41077 #define $ac_func innocuous_$ac_func
41078
41079 /* System header to define __stub macros and hopefully few prototypes,
41080 which can conflict with char $ac_func (); below.
41081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41082 <limits.h> exists even on freestanding compilers. */
41083
41084 #ifdef __STDC__
41085 # include <limits.h>
41086 #else
41087 # include <assert.h>
41088 #endif
41089
41090 #undef $ac_func
41091
41092 /* Override any GCC internal prototype to avoid an error.
41093 Use char because int might match the return type of a GCC
41094 builtin and then its argument prototype would still apply. */
41095 #ifdef __cplusplus
41096 extern "C"
41097 #endif
41098 char $ac_func ();
41099 /* The GNU C library defines this for functions which it implements
41100 to always fail with ENOSYS. Some functions are actually named
41101 something starting with __ and the normal name is an alias. */
41102 #if defined __stub_$ac_func || defined __stub___$ac_func
41103 choke me
41104 #endif
41105
41106 int
41107 main ()
41108 {
41109 return $ac_func ();
41110 ;
41111 return 0;
41112 }
41113 _ACEOF
41114 rm -f conftest.$ac_objext conftest$ac_exeext
41115 if { (ac_try="$ac_link"
41116 case "(($ac_try" in
41117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41118 *) ac_try_echo=$ac_try;;
41119 esac
41120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41121 (eval "$ac_link") 2>conftest.er1
41122 ac_status=$?
41123 grep -v '^ *+' conftest.er1 >conftest.err
41124 rm -f conftest.er1
41125 cat conftest.err >&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); } && {
41128 test -z "$ac_c_werror_flag" ||
41129 test ! -s conftest.err
41130 } && test -s conftest$ac_exeext &&
41131 $as_test_x conftest$ac_exeext; then
41132 eval "$as_ac_var=yes"
41133 else
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41136
41137 eval "$as_ac_var=no"
41138 fi
41139
41140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41141 conftest$ac_exeext conftest.$ac_ext
41142 fi
41143 ac_res=`eval echo '${'$as_ac_var'}'`
41144 { echo "$as_me:$LINENO: result: $ac_res" >&5
41145 echo "${ECHO_T}$ac_res" >&6; }
41146 if test `eval echo '${'$as_ac_var'}'` = yes; then
41147 cat >>confdefs.h <<_ACEOF
41148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41149 _ACEOF
41150
41151 cat >>confdefs.h <<\_ACEOF
41152 #define HAVE_SHL_LOAD 1
41153 _ACEOF
41154
41155 HAVE_SHL_FUNCS=1
41156
41157 else
41158
41159 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41160 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41161 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41162 echo $ECHO_N "(cached) $ECHO_C" >&6
41163 else
41164 ac_check_lib_save_LIBS=$LIBS
41165 LIBS="-lshl_load $LIBS"
41166 cat >conftest.$ac_ext <<_ACEOF
41167 /* confdefs.h. */
41168 _ACEOF
41169 cat confdefs.h >>conftest.$ac_ext
41170 cat >>conftest.$ac_ext <<_ACEOF
41171 /* end confdefs.h. */
41172
41173 /* Override any GCC internal prototype to avoid an error.
41174 Use char because int might match the return type of a GCC
41175 builtin and then its argument prototype would still apply. */
41176 #ifdef __cplusplus
41177 extern "C"
41178 #endif
41179 char dld ();
41180 int
41181 main ()
41182 {
41183 return dld ();
41184 ;
41185 return 0;
41186 }
41187 _ACEOF
41188 rm -f conftest.$ac_objext conftest$ac_exeext
41189 if { (ac_try="$ac_link"
41190 case "(($ac_try" in
41191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41192 *) ac_try_echo=$ac_try;;
41193 esac
41194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41195 (eval "$ac_link") 2>conftest.er1
41196 ac_status=$?
41197 grep -v '^ *+' conftest.er1 >conftest.err
41198 rm -f conftest.er1
41199 cat conftest.err >&5
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); } && {
41202 test -z "$ac_c_werror_flag" ||
41203 test ! -s conftest.err
41204 } && test -s conftest$ac_exeext &&
41205 $as_test_x conftest$ac_exeext; then
41206 ac_cv_lib_shl_load_dld=yes
41207 else
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.$ac_ext >&5
41210
41211 ac_cv_lib_shl_load_dld=no
41212 fi
41213
41214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41215 conftest$ac_exeext conftest.$ac_ext
41216 LIBS=$ac_check_lib_save_LIBS
41217 fi
41218 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41219 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41220 if test $ac_cv_lib_shl_load_dld = yes; then
41221
41222 HAVE_SHL_FUNCS=1
41223 DL_LINK=" -ldld$DL_LINK"
41224
41225 fi
41226
41227
41228 fi
41229 done
41230
41231
41232 fi
41233
41234
41235 fi
41236 done
41237
41238
41239 if test "$HAVE_DL_FUNCS" = 1; then
41240
41241 for ac_func in dlerror
41242 do
41243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 else
41249 cat >conftest.$ac_ext <<_ACEOF
41250 /* confdefs.h. */
41251 _ACEOF
41252 cat confdefs.h >>conftest.$ac_ext
41253 cat >>conftest.$ac_ext <<_ACEOF
41254 /* end confdefs.h. */
41255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41257 #define $ac_func innocuous_$ac_func
41258
41259 /* System header to define __stub macros and hopefully few prototypes,
41260 which can conflict with char $ac_func (); below.
41261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41262 <limits.h> exists even on freestanding compilers. */
41263
41264 #ifdef __STDC__
41265 # include <limits.h>
41266 #else
41267 # include <assert.h>
41268 #endif
41269
41270 #undef $ac_func
41271
41272 /* Override any GCC internal prototype to avoid an error.
41273 Use char because int might match the return type of a GCC
41274 builtin and then its argument prototype would still apply. */
41275 #ifdef __cplusplus
41276 extern "C"
41277 #endif
41278 char $ac_func ();
41279 /* The GNU C library defines this for functions which it implements
41280 to always fail with ENOSYS. Some functions are actually named
41281 something starting with __ and the normal name is an alias. */
41282 #if defined __stub_$ac_func || defined __stub___$ac_func
41283 choke me
41284 #endif
41285
41286 int
41287 main ()
41288 {
41289 return $ac_func ();
41290 ;
41291 return 0;
41292 }
41293 _ACEOF
41294 rm -f conftest.$ac_objext conftest$ac_exeext
41295 if { (ac_try="$ac_link"
41296 case "(($ac_try" in
41297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41298 *) ac_try_echo=$ac_try;;
41299 esac
41300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41301 (eval "$ac_link") 2>conftest.er1
41302 ac_status=$?
41303 grep -v '^ *+' conftest.er1 >conftest.err
41304 rm -f conftest.er1
41305 cat conftest.err >&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); } && {
41308 test -z "$ac_c_werror_flag" ||
41309 test ! -s conftest.err
41310 } && test -s conftest$ac_exeext &&
41311 $as_test_x conftest$ac_exeext; then
41312 eval "$as_ac_var=yes"
41313 else
41314 echo "$as_me: failed program was:" >&5
41315 sed 's/^/| /' conftest.$ac_ext >&5
41316
41317 eval "$as_ac_var=no"
41318 fi
41319
41320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41321 conftest$ac_exeext conftest.$ac_ext
41322 fi
41323 ac_res=`eval echo '${'$as_ac_var'}'`
41324 { echo "$as_me:$LINENO: result: $ac_res" >&5
41325 echo "${ECHO_T}$ac_res" >&6; }
41326 if test `eval echo '${'$as_ac_var'}'` = yes; then
41327 cat >>confdefs.h <<_ACEOF
41328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41329 _ACEOF
41330 cat >>confdefs.h <<\_ACEOF
41331 #define HAVE_DLERROR 1
41332 _ACEOF
41333
41334 else
41335
41336 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41337 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41338 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41340 else
41341 ac_check_lib_save_LIBS=$LIBS
41342 LIBS="-ldl $LIBS"
41343 cat >conftest.$ac_ext <<_ACEOF
41344 /* confdefs.h. */
41345 _ACEOF
41346 cat confdefs.h >>conftest.$ac_ext
41347 cat >>conftest.$ac_ext <<_ACEOF
41348 /* end confdefs.h. */
41349
41350 /* Override any GCC internal prototype to avoid an error.
41351 Use char because int might match the return type of a GCC
41352 builtin and then its argument prototype would still apply. */
41353 #ifdef __cplusplus
41354 extern "C"
41355 #endif
41356 char dlerror ();
41357 int
41358 main ()
41359 {
41360 return dlerror ();
41361 ;
41362 return 0;
41363 }
41364 _ACEOF
41365 rm -f conftest.$ac_objext conftest$ac_exeext
41366 if { (ac_try="$ac_link"
41367 case "(($ac_try" in
41368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41369 *) ac_try_echo=$ac_try;;
41370 esac
41371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41372 (eval "$ac_link") 2>conftest.er1
41373 ac_status=$?
41374 grep -v '^ *+' conftest.er1 >conftest.err
41375 rm -f conftest.er1
41376 cat conftest.err >&5
41377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378 (exit $ac_status); } && {
41379 test -z "$ac_c_werror_flag" ||
41380 test ! -s conftest.err
41381 } && test -s conftest$ac_exeext &&
41382 $as_test_x conftest$ac_exeext; then
41383 ac_cv_lib_dl_dlerror=yes
41384 else
41385 echo "$as_me: failed program was:" >&5
41386 sed 's/^/| /' conftest.$ac_ext >&5
41387
41388 ac_cv_lib_dl_dlerror=no
41389 fi
41390
41391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41392 conftest$ac_exeext conftest.$ac_ext
41393 LIBS=$ac_check_lib_save_LIBS
41394 fi
41395 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41396 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41397 if test $ac_cv_lib_dl_dlerror = yes; then
41398 cat >>confdefs.h <<\_ACEOF
41399 #define HAVE_DLERROR 1
41400 _ACEOF
41401
41402 fi
41403
41404
41405
41406 fi
41407 done
41408
41409 fi
41410 fi
41411
41412 if test "$HAVE_DL_FUNCS" = 0; then
41413 if test "$HAVE_SHL_FUNCS" = 0; then
41414 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41415 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41416 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41417 wxUSE_DYNAMIC_LOADER=no
41418 wxUSE_DYNLIB_CLASS=no
41419 else
41420 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41421 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41422 fi
41423 fi
41424 fi
41425 fi
41426 fi
41427
41428 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41429 cat >>confdefs.h <<\_ACEOF
41430 #define wxUSE_DYNAMIC_LOADER 1
41431 _ACEOF
41432
41433 fi
41434 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_DYNLIB_CLASS 1
41437 _ACEOF
41438
41439 fi
41440
41441
41442
41443 if test "$wxUSE_PLUGINS" = "yes" ; then
41444 if test "$wxUSE_SHARED" = "no" ; then
41445 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41446 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41447 wxUSE_PLUGINS=no
41448 fi
41449 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41450 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41451 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41452 wxUSE_PLUGINS=no
41453 fi
41454 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41455 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41456 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41457 wxUSE_PLUGINS=no
41458 fi
41459 if test "$wxUSE_PLUGINS" = "yes" ; then
41460 cat >>confdefs.h <<\_ACEOF
41461 #define wxUSE_PLUGINS 1
41462 _ACEOF
41463
41464 fi
41465 fi
41466
41467
41468 if test "$wxUSE_STL" = "yes"; then
41469 cat >>confdefs.h <<\_ACEOF
41470 #define wxUSE_STL 1
41471 _ACEOF
41472
41473 fi
41474
41475 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41476 cat >>confdefs.h <<\_ACEOF
41477 #define wxUSE_EXTENDED_RTTI 1
41478 _ACEOF
41479
41480 fi
41481
41482 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41483 cat >>confdefs.h <<\_ACEOF
41484 #define wxUSE_APPLE_IEEE 1
41485 _ACEOF
41486
41487 fi
41488
41489 if test "$wxUSE_TIMER" = "yes"; then
41490 cat >>confdefs.h <<\_ACEOF
41491 #define wxUSE_TIMER 1
41492 _ACEOF
41493
41494 fi
41495
41496 if test "$USE_UNIX" = 1 ; then
41497 if test "$wxUSE_MGL" != 1; then
41498 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41499 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41500 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41501 echo $ECHO_N "(cached) $ECHO_C" >&6
41502 else
41503
41504 cat >conftest.$ac_ext <<_ACEOF
41505 /* confdefs.h. */
41506 _ACEOF
41507 cat confdefs.h >>conftest.$ac_ext
41508 cat >>conftest.$ac_ext <<_ACEOF
41509 /* end confdefs.h. */
41510
41511 #include <sys/ioctl.h>
41512 #include <sys/soundcard.h>
41513
41514 int
41515 main ()
41516 {
41517
41518 ioctl(0, SNDCTL_DSP_SPEED, 0);
41519
41520 ;
41521 return 0;
41522 }
41523 _ACEOF
41524 rm -f conftest.$ac_objext conftest$ac_exeext
41525 if { (ac_try="$ac_link"
41526 case "(($ac_try" in
41527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41528 *) ac_try_echo=$ac_try;;
41529 esac
41530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41531 (eval "$ac_link") 2>conftest.er1
41532 ac_status=$?
41533 grep -v '^ *+' conftest.er1 >conftest.err
41534 rm -f conftest.er1
41535 cat conftest.err >&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); } && {
41538 test -z "$ac_c_werror_flag" ||
41539 test ! -s conftest.err
41540 } && test -s conftest$ac_exeext &&
41541 $as_test_x conftest$ac_exeext; then
41542 ac_cv_header_sys_soundcard=yes
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41546
41547
41548 saveLibs="$LIBS"
41549 LIBS="$saveLibs -lossaudio"
41550 cat >conftest.$ac_ext <<_ACEOF
41551 /* confdefs.h. */
41552 _ACEOF
41553 cat confdefs.h >>conftest.$ac_ext
41554 cat >>conftest.$ac_ext <<_ACEOF
41555 /* end confdefs.h. */
41556
41557 #include <sys/ioctl.h>
41558 #include <sys/soundcard.h>
41559
41560 int
41561 main ()
41562 {
41563
41564 ioctl(0, SNDCTL_DSP_SPEED, 0);
41565
41566 ;
41567 return 0;
41568 }
41569 _ACEOF
41570 rm -f conftest.$ac_objext conftest$ac_exeext
41571 if { (ac_try="$ac_link"
41572 case "(($ac_try" in
41573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41574 *) ac_try_echo=$ac_try;;
41575 esac
41576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41577 (eval "$ac_link") 2>conftest.er1
41578 ac_status=$?
41579 grep -v '^ *+' conftest.er1 >conftest.err
41580 rm -f conftest.er1
41581 cat conftest.err >&5
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); } && {
41584 test -z "$ac_c_werror_flag" ||
41585 test ! -s conftest.err
41586 } && test -s conftest$ac_exeext &&
41587 $as_test_x conftest$ac_exeext; then
41588 ac_cv_header_sys_soundcard=yes
41589 else
41590 echo "$as_me: failed program was:" >&5
41591 sed 's/^/| /' conftest.$ac_ext >&5
41592
41593
41594 LIBS="$saveLibs"
41595 ac_cv_header_sys_soundcard=no
41596
41597
41598 fi
41599
41600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41601 conftest$ac_exeext conftest.$ac_ext
41602
41603
41604 fi
41605
41606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41607 conftest$ac_exeext conftest.$ac_ext
41608
41609 fi
41610 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41611 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41612 fi
41613
41614 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41615 cat >>confdefs.h <<\_ACEOF
41616 #define HAVE_SYS_SOUNDCARD_H 1
41617 _ACEOF
41618
41619 fi
41620 fi
41621
41622 WITH_PLUGIN_SDL=0
41623 if test "$wxUSE_SOUND" = "yes"; then
41624 if test "$USE_UNIX" = 1 ; then
41625 if test "$wxUSE_LIBSDL" != "no"; then
41626
41627 # Check whether --with-sdl-prefix was given.
41628 if test "${with_sdl_prefix+set}" = set; then
41629 withval=$with_sdl_prefix; sdl_prefix="$withval"
41630 else
41631 sdl_prefix=""
41632 fi
41633
41634
41635 # Check whether --with-sdl-exec-prefix was given.
41636 if test "${with_sdl_exec_prefix+set}" = set; then
41637 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41638 else
41639 sdl_exec_prefix=""
41640 fi
41641
41642 # Check whether --enable-sdltest was given.
41643 if test "${enable_sdltest+set}" = set; then
41644 enableval=$enable_sdltest;
41645 else
41646 enable_sdltest=yes
41647 fi
41648
41649
41650 if test x$sdl_exec_prefix != x ; then
41651 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41652 if test x${SDL_CONFIG+set} != xset ; then
41653 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41654 fi
41655 fi
41656 if test x$sdl_prefix != x ; then
41657 sdl_args="$sdl_args --prefix=$sdl_prefix"
41658 if test x${SDL_CONFIG+set} != xset ; then
41659 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41660 fi
41661 fi
41662
41663 if test "x$prefix" != xNONE; then
41664 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41665 fi
41666 # Extract the first word of "sdl-config", so it can be a program name with args.
41667 set dummy sdl-config; ac_word=$2
41668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41670 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41672 else
41673 case $SDL_CONFIG in
41674 [\\/]* | ?:[\\/]*)
41675 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41676 ;;
41677 *)
41678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41679 for as_dir in $PATH
41680 do
41681 IFS=$as_save_IFS
41682 test -z "$as_dir" && as_dir=.
41683 for ac_exec_ext in '' $ac_executable_extensions; do
41684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41685 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41687 break 2
41688 fi
41689 done
41690 done
41691 IFS=$as_save_IFS
41692
41693 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41694 ;;
41695 esac
41696 fi
41697 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41698 if test -n "$SDL_CONFIG"; then
41699 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41700 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41701 else
41702 { echo "$as_me:$LINENO: result: no" >&5
41703 echo "${ECHO_T}no" >&6; }
41704 fi
41705
41706
41707 min_sdl_version=1.2.0
41708 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41709 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41710 no_sdl=""
41711 if test "$SDL_CONFIG" = "no" ; then
41712 no_sdl=yes
41713 else
41714 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41715 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41716
41717 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41719 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41721 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41723 if test "x$enable_sdltest" = "xyes" ; then
41724 ac_save_CFLAGS="$CFLAGS"
41725 ac_save_CXXFLAGS="$CXXFLAGS"
41726 ac_save_LIBS="$LIBS"
41727 CFLAGS="$CFLAGS $SDL_CFLAGS"
41728 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41729 LIBS="$LIBS $SDL_LIBS"
41730 rm -f conf.sdltest
41731 if test "$cross_compiling" = yes; then
41732 echo $ac_n "cross compiling; assumed OK... $ac_c"
41733 else
41734 cat >conftest.$ac_ext <<_ACEOF
41735 /* confdefs.h. */
41736 _ACEOF
41737 cat confdefs.h >>conftest.$ac_ext
41738 cat >>conftest.$ac_ext <<_ACEOF
41739 /* end confdefs.h. */
41740
41741 #include <stdio.h>
41742 #include <stdlib.h>
41743 #include <string.h>
41744 #include "SDL.h"
41745
41746 char*
41747 my_strdup (char *str)
41748 {
41749 char *new_str;
41750
41751 if (str)
41752 {
41753 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41754 strcpy (new_str, str);
41755 }
41756 else
41757 new_str = NULL;
41758
41759 return new_str;
41760 }
41761
41762 int main (int argc, char *argv[])
41763 {
41764 int major, minor, micro;
41765 char *tmp_version;
41766
41767 /* This hangs on some systems (?)
41768 system ("touch conf.sdltest");
41769 */
41770 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41771
41772 /* HP/UX 9 (%@#!) writes to sscanf strings */
41773 tmp_version = my_strdup("$min_sdl_version");
41774 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41775 printf("%s, bad version string\n", "$min_sdl_version");
41776 exit(1);
41777 }
41778
41779 if (($sdl_major_version > major) ||
41780 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41781 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41782 {
41783 return 0;
41784 }
41785 else
41786 {
41787 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41788 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41789 printf("*** best to upgrade to the required version.\n");
41790 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41791 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41792 printf("*** config.cache before re-running configure\n");
41793 return 1;
41794 }
41795 }
41796
41797
41798 _ACEOF
41799 rm -f conftest$ac_exeext
41800 if { (ac_try="$ac_link"
41801 case "(($ac_try" in
41802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41803 *) ac_try_echo=$ac_try;;
41804 esac
41805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41806 (eval "$ac_link") 2>&5
41807 ac_status=$?
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41810 { (case "(($ac_try" in
41811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41812 *) ac_try_echo=$ac_try;;
41813 esac
41814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41815 (eval "$ac_try") 2>&5
41816 ac_status=$?
41817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41818 (exit $ac_status); }; }; then
41819 :
41820 else
41821 echo "$as_me: program exited with status $ac_status" >&5
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41824
41825 ( exit $ac_status )
41826 no_sdl=yes
41827 fi
41828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41829 fi
41830
41831
41832 CFLAGS="$ac_save_CFLAGS"
41833 CXXFLAGS="$ac_save_CXXFLAGS"
41834 LIBS="$ac_save_LIBS"
41835 fi
41836 fi
41837 if test "x$no_sdl" = x ; then
41838 { echo "$as_me:$LINENO: result: yes" >&5
41839 echo "${ECHO_T}yes" >&6; }
41840
41841 EXTRALIBS_SDL="$SDL_LIBS"
41842 CFLAGS="$SDL_CFLAGS $CFLAGS"
41843 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41844 cat >>confdefs.h <<\_ACEOF
41845 #define wxUSE_LIBSDL 1
41846 _ACEOF
41847
41848
41849 else
41850 { echo "$as_me:$LINENO: result: no" >&5
41851 echo "${ECHO_T}no" >&6; }
41852 if test "$SDL_CONFIG" = "no" ; then
41853 echo "*** The sdl-config script installed by SDL could not be found"
41854 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41855 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41856 echo "*** full path to sdl-config."
41857 else
41858 if test -f conf.sdltest ; then
41859 :
41860 else
41861 echo "*** Could not run SDL test program, checking why..."
41862 CFLAGS="$CFLAGS $SDL_CFLAGS"
41863 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41864 LIBS="$LIBS $SDL_LIBS"
41865 cat >conftest.$ac_ext <<_ACEOF
41866 /* confdefs.h. */
41867 _ACEOF
41868 cat confdefs.h >>conftest.$ac_ext
41869 cat >>conftest.$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41871
41872 #include <stdio.h>
41873 #include "SDL.h"
41874
41875 int main(int argc, char *argv[])
41876 { return 0; }
41877 #undef main
41878 #define main K_and_R_C_main
41879
41880 int
41881 main ()
41882 {
41883 return 0;
41884 ;
41885 return 0;
41886 }
41887 _ACEOF
41888 rm -f conftest.$ac_objext conftest$ac_exeext
41889 if { (ac_try="$ac_link"
41890 case "(($ac_try" in
41891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41892 *) ac_try_echo=$ac_try;;
41893 esac
41894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41895 (eval "$ac_link") 2>conftest.er1
41896 ac_status=$?
41897 grep -v '^ *+' conftest.er1 >conftest.err
41898 rm -f conftest.er1
41899 cat conftest.err >&5
41900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41901 (exit $ac_status); } && {
41902 test -z "$ac_c_werror_flag" ||
41903 test ! -s conftest.err
41904 } && test -s conftest$ac_exeext &&
41905 $as_test_x conftest$ac_exeext; then
41906 echo "*** The test program compiled, but did not run. This usually means"
41907 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41908 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41909 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41910 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41911 echo "*** is required on your system"
41912 echo "***"
41913 echo "*** If you have an old version installed, it is best to remove it, although"
41914 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41915 else
41916 echo "$as_me: failed program was:" >&5
41917 sed 's/^/| /' conftest.$ac_ext >&5
41918
41919 echo "*** The test program failed to compile or link. See the file config.log for the"
41920 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41921 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41922 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41923 fi
41924
41925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41926 conftest$ac_exeext conftest.$ac_ext
41927 CFLAGS="$ac_save_CFLAGS"
41928 CXXFLAGS="$ac_save_CXXFLAGS"
41929 LIBS="$ac_save_LIBS"
41930 fi
41931 fi
41932 SDL_CFLAGS=""
41933 SDL_LIBS=""
41934 wxUSE_LIBSDL="no"
41935 fi
41936
41937
41938 rm -f conf.sdltest
41939
41940 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41941 WITH_PLUGIN_SDL=1
41942 fi
41943 fi
41944 else
41945 if test "$wxUSE_MGL" = 1; then
41946 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41947 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41948 wxUSE_SOUND="no"
41949 fi
41950 fi
41951 fi
41952
41953 if test "$wxUSE_SOUND" = "yes"; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxUSE_SOUND 1
41956 _ACEOF
41957
41958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41959 fi
41960
41961 if test "$WXGTK2" = 1; then
41962
41963
41964 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41965 if test -n "$ac_tool_prefix"; then
41966 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41967 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41970 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41971 echo $ECHO_N "(cached) $ECHO_C" >&6
41972 else
41973 case $PKG_CONFIG in
41974 [\\/]* | ?:[\\/]*)
41975 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41976 ;;
41977 *)
41978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41979 for as_dir in $PATH
41980 do
41981 IFS=$as_save_IFS
41982 test -z "$as_dir" && as_dir=.
41983 for ac_exec_ext in '' $ac_executable_extensions; do
41984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41985 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41987 break 2
41988 fi
41989 done
41990 done
41991 IFS=$as_save_IFS
41992
41993 ;;
41994 esac
41995 fi
41996 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41997 if test -n "$PKG_CONFIG"; then
41998 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41999 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42000 else
42001 { echo "$as_me:$LINENO: result: no" >&5
42002 echo "${ECHO_T}no" >&6; }
42003 fi
42004
42005
42006 fi
42007 if test -z "$ac_cv_path_PKG_CONFIG"; then
42008 ac_pt_PKG_CONFIG=$PKG_CONFIG
42009 # Extract the first word of "pkg-config", so it can be a program name with args.
42010 set dummy pkg-config; ac_word=$2
42011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42013 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42014 echo $ECHO_N "(cached) $ECHO_C" >&6
42015 else
42016 case $ac_pt_PKG_CONFIG in
42017 [\\/]* | ?:[\\/]*)
42018 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42019 ;;
42020 *)
42021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42022 for as_dir in $PATH
42023 do
42024 IFS=$as_save_IFS
42025 test -z "$as_dir" && as_dir=.
42026 for ac_exec_ext in '' $ac_executable_extensions; do
42027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42028 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42030 break 2
42031 fi
42032 done
42033 done
42034 IFS=$as_save_IFS
42035
42036 ;;
42037 esac
42038 fi
42039 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42040 if test -n "$ac_pt_PKG_CONFIG"; then
42041 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42042 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42043 else
42044 { echo "$as_me:$LINENO: result: no" >&5
42045 echo "${ECHO_T}no" >&6; }
42046 fi
42047
42048 if test "x$ac_pt_PKG_CONFIG" = x; then
42049 PKG_CONFIG=""
42050 else
42051 case $cross_compiling:$ac_tool_warned in
42052 yes:)
42053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42054 whose name does not start with the host triplet. If you think this
42055 configuration is useful to you, please write to autoconf@gnu.org." >&5
42056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42057 whose name does not start with the host triplet. If you think this
42058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42059 ac_tool_warned=yes ;;
42060 esac
42061 PKG_CONFIG=$ac_pt_PKG_CONFIG
42062 fi
42063 else
42064 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42065 fi
42066
42067 fi
42068 if test -n "$PKG_CONFIG"; then
42069 _pkg_min_version=0.9.0
42070 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42071 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42072 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42073 { echo "$as_me:$LINENO: result: yes" >&5
42074 echo "${ECHO_T}yes" >&6; }
42075 else
42076 { echo "$as_me:$LINENO: result: no" >&5
42077 echo "${ECHO_T}no" >&6; }
42078 PKG_CONFIG=""
42079 fi
42080
42081 fi
42082
42083 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42084
42085 if test "$wxUSE_GTKPRINT" = "yes" ; then
42086
42087
42088 pkg_failed=no
42089 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42090 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42091
42092 if test -n "$PKG_CONFIG"; then
42093 if test -n "$GTKPRINT_CFLAGS"; then
42094 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42095 else
42096 if test -n "$PKG_CONFIG" && \
42097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42098 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42099 ac_status=$?
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); }; then
42102 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42103 else
42104 pkg_failed=yes
42105 fi
42106 fi
42107 else
42108 pkg_failed=untried
42109 fi
42110 if test -n "$PKG_CONFIG"; then
42111 if test -n "$GTKPRINT_LIBS"; then
42112 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42113 else
42114 if test -n "$PKG_CONFIG" && \
42115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42116 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42117 ac_status=$?
42118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42119 (exit $ac_status); }; then
42120 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42121 else
42122 pkg_failed=yes
42123 fi
42124 fi
42125 else
42126 pkg_failed=untried
42127 fi
42128
42129
42130
42131 if test $pkg_failed = yes; then
42132
42133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42134 _pkg_short_errors_supported=yes
42135 else
42136 _pkg_short_errors_supported=no
42137 fi
42138 if test $_pkg_short_errors_supported = yes; then
42139 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42140 else
42141 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42142 fi
42143 # Put the nasty error message in config.log where it belongs
42144 echo "$GTKPRINT_PKG_ERRORS" >&5
42145
42146
42147 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42148 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42149 wxUSE_GTKPRINT="no"
42150
42151
42152 elif test $pkg_failed = untried; then
42153
42154 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42155 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42156 wxUSE_GTKPRINT="no"
42157
42158
42159 else
42160 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42161 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42162 { echo "$as_me:$LINENO: result: yes" >&5
42163 echo "${ECHO_T}yes" >&6; }
42164
42165 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42166 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_GTKPRINT 1
42169 _ACEOF
42170
42171
42172 fi
42173 fi
42174
42175 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42176
42177
42178 pkg_failed=no
42179 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42180 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42181
42182 if test -n "$PKG_CONFIG"; then
42183 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42184 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42185 else
42186 if test -n "$PKG_CONFIG" && \
42187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42188 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42189 ac_status=$?
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); }; then
42192 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42193 else
42194 pkg_failed=yes
42195 fi
42196 fi
42197 else
42198 pkg_failed=untried
42199 fi
42200 if test -n "$PKG_CONFIG"; then
42201 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42202 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42203 else
42204 if test -n "$PKG_CONFIG" && \
42205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42206 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42207 ac_status=$?
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); }; then
42210 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42211 else
42212 pkg_failed=yes
42213 fi
42214 fi
42215 else
42216 pkg_failed=untried
42217 fi
42218
42219
42220
42221 if test $pkg_failed = yes; then
42222
42223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42224 _pkg_short_errors_supported=yes
42225 else
42226 _pkg_short_errors_supported=no
42227 fi
42228 if test $_pkg_short_errors_supported = yes; then
42229 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42230 else
42231 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42232 fi
42233 # Put the nasty error message in config.log where it belongs
42234 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42235
42236
42237 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42238 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42239 wxUSE_LIBGNOMEPRINT="no"
42240
42241
42242 elif test $pkg_failed = untried; then
42243
42244 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42245 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42246 wxUSE_LIBGNOMEPRINT="no"
42247
42248
42249 else
42250 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42251 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42252 { echo "$as_me:$LINENO: result: yes" >&5
42253 echo "${ECHO_T}yes" >&6; }
42254
42255 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42256 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42257 cat >>confdefs.h <<\_ACEOF
42258 #define wxUSE_LIBGNOMEPRINT 1
42259 _ACEOF
42260
42261
42262 fi
42263 fi
42264 fi
42265
42266 if test "$wxUSE_MIMETYPE" = "yes" ; then
42267 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42268
42269
42270 pkg_failed=no
42271 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42272 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42273
42274 if test -n "$PKG_CONFIG"; then
42275 if test -n "$GNOMEVFS_CFLAGS"; then
42276 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42277 else
42278 if test -n "$PKG_CONFIG" && \
42279 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42280 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42281 ac_status=$?
42282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42283 (exit $ac_status); }; then
42284 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42285 else
42286 pkg_failed=yes
42287 fi
42288 fi
42289 else
42290 pkg_failed=untried
42291 fi
42292 if test -n "$PKG_CONFIG"; then
42293 if test -n "$GNOMEVFS_LIBS"; then
42294 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42295 else
42296 if test -n "$PKG_CONFIG" && \
42297 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42298 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42299 ac_status=$?
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; then
42302 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42303 else
42304 pkg_failed=yes
42305 fi
42306 fi
42307 else
42308 pkg_failed=untried
42309 fi
42310
42311
42312
42313 if test $pkg_failed = yes; then
42314
42315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42316 _pkg_short_errors_supported=yes
42317 else
42318 _pkg_short_errors_supported=no
42319 fi
42320 if test $_pkg_short_errors_supported = yes; then
42321 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42322 else
42323 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42324 fi
42325 # Put the nasty error message in config.log where it belongs
42326 echo "$GNOMEVFS_PKG_ERRORS" >&5
42327
42328
42329 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42330 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42331 wxUSE_LIBGNOMEVFS="no"
42332
42333
42334 elif test $pkg_failed = untried; then
42335
42336 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42337 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42338 wxUSE_LIBGNOMEVFS="no"
42339
42340
42341 else
42342 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42343 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42344 { echo "$as_me:$LINENO: result: yes" >&5
42345 echo "${ECHO_T}yes" >&6; }
42346
42347 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42348 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42349 cat >>confdefs.h <<\_ACEOF
42350 #define wxUSE_LIBGNOMEVFS 1
42351 _ACEOF
42352
42353
42354 fi
42355 fi
42356 fi
42357
42358 if test "$wxUSE_LIBHILDON" = "yes" ; then
42359
42360 pkg_failed=no
42361 { echo "$as_me:$LINENO: checking for HILDON" >&5
42362 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42363
42364 if test -n "$PKG_CONFIG"; then
42365 if test -n "$HILDON_CFLAGS"; then
42366 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42367 else
42368 if test -n "$PKG_CONFIG" && \
42369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42370 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42371 ac_status=$?
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); }; then
42374 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42375 else
42376 pkg_failed=yes
42377 fi
42378 fi
42379 else
42380 pkg_failed=untried
42381 fi
42382 if test -n "$PKG_CONFIG"; then
42383 if test -n "$HILDON_LIBS"; then
42384 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42385 else
42386 if test -n "$PKG_CONFIG" && \
42387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42388 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42389 ac_status=$?
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); }; then
42392 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42393 else
42394 pkg_failed=yes
42395 fi
42396 fi
42397 else
42398 pkg_failed=untried
42399 fi
42400
42401
42402
42403 if test $pkg_failed = yes; then
42404
42405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42406 _pkg_short_errors_supported=yes
42407 else
42408 _pkg_short_errors_supported=no
42409 fi
42410 if test $_pkg_short_errors_supported = yes; then
42411 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42412 else
42413 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42414 fi
42415 # Put the nasty error message in config.log where it belongs
42416 echo "$HILDON_PKG_ERRORS" >&5
42417
42418
42419 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42420 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42421 wxUSE_LIBHILDON="no"
42422
42423
42424 elif test $pkg_failed = untried; then
42425
42426 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42427 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42428 wxUSE_LIBHILDON="no"
42429
42430
42431 else
42432 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42433 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42434 { echo "$as_me:$LINENO: result: yes" >&5
42435 echo "${ECHO_T}yes" >&6; }
42436
42437 EXTRALIBS_HILDON="$HILDON_LIBS"
42438 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42439 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42440 cat >>confdefs.h <<\_ACEOF
42441 #define wxUSE_LIBHILDON 1
42442 _ACEOF
42443
42444
42445 fi
42446 fi
42447 fi
42448
42449 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42450 cat >>confdefs.h <<\_ACEOF
42451 #define wxUSE_CMDLINE_PARSER 1
42452 _ACEOF
42453
42454 fi
42455
42456 if test "$wxUSE_STOPWATCH" = "yes"; then
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_STOPWATCH 1
42459 _ACEOF
42460
42461 fi
42462
42463 if test "$wxUSE_DATETIME" = "yes"; then
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_DATETIME 1
42466 _ACEOF
42467
42468 fi
42469
42470 if test "$wxUSE_FILE" = "yes"; then
42471 cat >>confdefs.h <<\_ACEOF
42472 #define wxUSE_FILE 1
42473 _ACEOF
42474
42475 fi
42476
42477 if test "$wxUSE_FFILE" = "yes"; then
42478 cat >>confdefs.h <<\_ACEOF
42479 #define wxUSE_FFILE 1
42480 _ACEOF
42481
42482 fi
42483
42484 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42485 if test "$wxUSE_STREAMS" != yes; then
42486 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42487 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42488 wxUSE_ARCHIVE_STREAMS=no
42489 else
42490 cat >>confdefs.h <<\_ACEOF
42491 #define wxUSE_ARCHIVE_STREAMS 1
42492 _ACEOF
42493
42494 fi
42495 fi
42496
42497 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42498 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42499 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42500 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42501 elif test "$wxUSE_ZLIB" = "no"; then
42502 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42503 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42504 else
42505 cat >>confdefs.h <<\_ACEOF
42506 #define wxUSE_ZIPSTREAM 1
42507 _ACEOF
42508
42509 fi
42510 fi
42511
42512 if test "$wxUSE_TARSTREAM" = "yes"; then
42513 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42514 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42515 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42516 else
42517 cat >>confdefs.h <<\_ACEOF
42518 #define wxUSE_TARSTREAM 1
42519 _ACEOF
42520
42521 fi
42522 fi
42523
42524 if test "$wxUSE_FILESYSTEM" = "yes"; then
42525 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42526 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42527 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42528 wxUSE_FILESYSTEM=no
42529 else
42530 cat >>confdefs.h <<\_ACEOF
42531 #define wxUSE_FILESYSTEM 1
42532 _ACEOF
42533
42534 fi
42535 fi
42536
42537 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42538 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42539 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42540 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42541 else
42542 cat >>confdefs.h <<\_ACEOF
42543 #define wxUSE_FS_ARCHIVE 1
42544 _ACEOF
42545
42546 fi
42547 fi
42548
42549 if test "$wxUSE_FS_ZIP" = "yes"; then
42550 if test "$wxUSE_FS_ARCHIVE" != yes; then
42551 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42552 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42553 else
42554 cat >>confdefs.h <<\_ACEOF
42555 #define wxUSE_FS_ZIP 1
42556 _ACEOF
42557
42558 fi
42559 fi
42560
42561 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42562 if test "$USE_UNIX" != 1; then
42563 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42564 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42565 wxUSE_ON_FATAL_EXCEPTION=no
42566 else
42567 cat >>confdefs.h <<\_ACEOF
42568 #define wxUSE_ON_FATAL_EXCEPTION 1
42569 _ACEOF
42570
42571 fi
42572 fi
42573
42574 if test "$wxUSE_STACKWALKER" = "yes"; then
42575 cat >>confdefs.h <<\_ACEOF
42576 #define wxUSE_STACKWALKER 1
42577 _ACEOF
42578
42579 fi
42580
42581 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42582 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42583 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42584 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42585 wxUSE_DEBUGREPORT=no
42586 else
42587 cat >>confdefs.h <<\_ACEOF
42588 #define wxUSE_DEBUGREPORT 1
42589 _ACEOF
42590
42591 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42593 fi
42594 fi
42595 fi
42596
42597 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42598 cat >>confdefs.h <<\_ACEOF
42599 #define wxUSE_SNGLINST_CHECKER 1
42600 _ACEOF
42601
42602 fi
42603
42604 if test "$wxUSE_BUSYINFO" = "yes"; then
42605 cat >>confdefs.h <<\_ACEOF
42606 #define wxUSE_BUSYINFO 1
42607 _ACEOF
42608
42609 fi
42610
42611 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_STD_IOSTREAM 1
42614 _ACEOF
42615
42616 fi
42617
42618 if test "$wxUSE_STD_STRING" = "yes"; then
42619 cat >>confdefs.h <<\_ACEOF
42620 #define wxUSE_STD_STRING 1
42621 _ACEOF
42622
42623 fi
42624
42625 if test "$wxUSE_STDPATHS" = "yes"; then
42626 cat >>confdefs.h <<\_ACEOF
42627 #define wxUSE_STDPATHS 1
42628 _ACEOF
42629
42630 fi
42631
42632 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42633 cat >>confdefs.h <<\_ACEOF
42634 #define wxUSE_TEXTBUFFER 1
42635 _ACEOF
42636
42637 fi
42638
42639 if test "$wxUSE_TEXTFILE" = "yes"; then
42640 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42641 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42642 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42643 else
42644 cat >>confdefs.h <<\_ACEOF
42645 #define wxUSE_TEXTFILE 1
42646 _ACEOF
42647
42648 fi
42649 fi
42650
42651 if test "$wxUSE_CONFIG" = "yes" ; then
42652 if test "$wxUSE_TEXTFILE" != "yes"; then
42653 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42654 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42655 else
42656 cat >>confdefs.h <<\_ACEOF
42657 #define wxUSE_CONFIG 1
42658 _ACEOF
42659
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_CONFIG_NATIVE 1
42662 _ACEOF
42663
42664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42665 fi
42666 fi
42667
42668 if test "$wxUSE_INTL" = "yes" ; then
42669 if test "$wxUSE_FILE" != "yes"; then
42670 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42671 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42672 else
42673 cat >>confdefs.h <<\_ACEOF
42674 #define wxUSE_INTL 1
42675 _ACEOF
42676
42677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42678 GUIDIST="$GUIDIST INTL_DIST"
42679 fi
42680 fi
42681
42682 if test "$wxUSE_LOG" = "yes"; then
42683 cat >>confdefs.h <<\_ACEOF
42684 #define wxUSE_LOG 1
42685 _ACEOF
42686
42687
42688 if test "$wxUSE_LOGGUI" = "yes"; then
42689 cat >>confdefs.h <<\_ACEOF
42690 #define wxUSE_LOGGUI 1
42691 _ACEOF
42692
42693 fi
42694
42695 if test "$wxUSE_LOGWINDOW" = "yes"; then
42696 cat >>confdefs.h <<\_ACEOF
42697 #define wxUSE_LOGWINDOW 1
42698 _ACEOF
42699
42700 fi
42701
42702 if test "$wxUSE_LOGDIALOG" = "yes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define wxUSE_LOG_DIALOG 1
42705 _ACEOF
42706
42707 fi
42708
42709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42710 fi
42711
42712 if test "$wxUSE_LONGLONG" = "yes"; then
42713 cat >>confdefs.h <<\_ACEOF
42714 #define wxUSE_LONGLONG 1
42715 _ACEOF
42716
42717 fi
42718
42719 if test "$wxUSE_GEOMETRY" = "yes"; then
42720 cat >>confdefs.h <<\_ACEOF
42721 #define wxUSE_GEOMETRY 1
42722 _ACEOF
42723
42724 fi
42725
42726 if test "$wxUSE_BASE64" = "yes"; then
42727 cat >>confdefs.h <<\_ACEOF
42728 #define wxUSE_BASE64 1
42729 _ACEOF
42730
42731 fi
42732
42733 if test "$wxUSE_STREAMS" = "yes" ; then
42734 cat >>confdefs.h <<\_ACEOF
42735 #define wxUSE_STREAMS 1
42736 _ACEOF
42737
42738 fi
42739
42740 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42741 cat >>confdefs.h <<\_ACEOF
42742 #define wxUSE_PRINTF_POS_PARAMS 1
42743 _ACEOF
42744
42745 fi
42746
42747 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42748 cat >>confdefs.h <<\_ACEOF
42749 #define wxUSE_OBJC_UNIQUIFYING 1
42750 _ACEOF
42751
42752 fi
42753
42754
42755 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42756 cat >>confdefs.h <<\_ACEOF
42757 #define wxUSE_CONSOLE_EVENTLOOP 1
42758 _ACEOF
42759
42760
42761 if test "$wxUSE_UNIX" = "yes"; then
42762 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42763 cat >>confdefs.h <<\_ACEOF
42764 #define wxUSE_SELECT_DISPATCHER 1
42765 _ACEOF
42766
42767 fi
42768
42769 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42770
42771 for ac_header in sys/epoll.h
42772 do
42773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42777 echo $ECHO_N "(cached) $ECHO_C" >&6
42778 else
42779 cat >conftest.$ac_ext <<_ACEOF
42780 /* confdefs.h. */
42781 _ACEOF
42782 cat confdefs.h >>conftest.$ac_ext
42783 cat >>conftest.$ac_ext <<_ACEOF
42784 /* end confdefs.h. */
42785 $ac_includes_default
42786
42787 #include <$ac_header>
42788 _ACEOF
42789 rm -f conftest.$ac_objext
42790 if { (ac_try="$ac_compile"
42791 case "(($ac_try" in
42792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42793 *) ac_try_echo=$ac_try;;
42794 esac
42795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42796 (eval "$ac_compile") 2>conftest.er1
42797 ac_status=$?
42798 grep -v '^ *+' conftest.er1 >conftest.err
42799 rm -f conftest.er1
42800 cat conftest.err >&5
42801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802 (exit $ac_status); } && {
42803 test -z "$ac_c_werror_flag" ||
42804 test ! -s conftest.err
42805 } && test -s conftest.$ac_objext; then
42806 eval "$as_ac_Header=yes"
42807 else
42808 echo "$as_me: failed program was:" >&5
42809 sed 's/^/| /' conftest.$ac_ext >&5
42810
42811 eval "$as_ac_Header=no"
42812 fi
42813
42814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42815 fi
42816 ac_res=`eval echo '${'$as_ac_Header'}'`
42817 { echo "$as_me:$LINENO: result: $ac_res" >&5
42818 echo "${ECHO_T}$ac_res" >&6; }
42819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42820 cat >>confdefs.h <<_ACEOF
42821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42822 _ACEOF
42823
42824 fi
42825
42826 done
42827
42828 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42829 cat >>confdefs.h <<\_ACEOF
42830 #define wxUSE_EPOLL_DISPATCHER 1
42831 _ACEOF
42832
42833 else
42834 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42835 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42836 fi
42837 fi
42838 fi
42839 fi
42840
42841
42842
42843
42844 for ac_func in gettimeofday ftime
42845 do
42846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42850 echo $ECHO_N "(cached) $ECHO_C" >&6
42851 else
42852 cat >conftest.$ac_ext <<_ACEOF
42853 /* confdefs.h. */
42854 _ACEOF
42855 cat confdefs.h >>conftest.$ac_ext
42856 cat >>conftest.$ac_ext <<_ACEOF
42857 /* end confdefs.h. */
42858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42860 #define $ac_func innocuous_$ac_func
42861
42862 /* System header to define __stub macros and hopefully few prototypes,
42863 which can conflict with char $ac_func (); below.
42864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42865 <limits.h> exists even on freestanding compilers. */
42866
42867 #ifdef __STDC__
42868 # include <limits.h>
42869 #else
42870 # include <assert.h>
42871 #endif
42872
42873 #undef $ac_func
42874
42875 /* Override any GCC internal prototype to avoid an error.
42876 Use char because int might match the return type of a GCC
42877 builtin and then its argument prototype would still apply. */
42878 #ifdef __cplusplus
42879 extern "C"
42880 #endif
42881 char $ac_func ();
42882 /* The GNU C library defines this for functions which it implements
42883 to always fail with ENOSYS. Some functions are actually named
42884 something starting with __ and the normal name is an alias. */
42885 #if defined __stub_$ac_func || defined __stub___$ac_func
42886 choke me
42887 #endif
42888
42889 int
42890 main ()
42891 {
42892 return $ac_func ();
42893 ;
42894 return 0;
42895 }
42896 _ACEOF
42897 rm -f conftest.$ac_objext conftest$ac_exeext
42898 if { (ac_try="$ac_link"
42899 case "(($ac_try" in
42900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42901 *) ac_try_echo=$ac_try;;
42902 esac
42903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42904 (eval "$ac_link") 2>conftest.er1
42905 ac_status=$?
42906 grep -v '^ *+' conftest.er1 >conftest.err
42907 rm -f conftest.er1
42908 cat conftest.err >&5
42909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42910 (exit $ac_status); } && {
42911 test -z "$ac_c_werror_flag" ||
42912 test ! -s conftest.err
42913 } && test -s conftest$ac_exeext &&
42914 $as_test_x conftest$ac_exeext; then
42915 eval "$as_ac_var=yes"
42916 else
42917 echo "$as_me: failed program was:" >&5
42918 sed 's/^/| /' conftest.$ac_ext >&5
42919
42920 eval "$as_ac_var=no"
42921 fi
42922
42923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42924 conftest$ac_exeext conftest.$ac_ext
42925 fi
42926 ac_res=`eval echo '${'$as_ac_var'}'`
42927 { echo "$as_me:$LINENO: result: $ac_res" >&5
42928 echo "${ECHO_T}$ac_res" >&6; }
42929 if test `eval echo '${'$as_ac_var'}'` = yes; then
42930 cat >>confdefs.h <<_ACEOF
42931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42932 _ACEOF
42933 break
42934 fi
42935 done
42936
42937
42938 if test "$ac_cv_func_gettimeofday" = "yes"; then
42939 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42940 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42941 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42942 echo $ECHO_N "(cached) $ECHO_C" >&6
42943 else
42944
42945 cat >conftest.$ac_ext <<_ACEOF
42946 /* confdefs.h. */
42947 _ACEOF
42948 cat confdefs.h >>conftest.$ac_ext
42949 cat >>conftest.$ac_ext <<_ACEOF
42950 /* end confdefs.h. */
42951
42952 #include <sys/time.h>
42953 #include <unistd.h>
42954
42955 int
42956 main ()
42957 {
42958
42959 struct timeval tv;
42960 gettimeofday(&tv, NULL);
42961
42962 ;
42963 return 0;
42964 }
42965 _ACEOF
42966 rm -f conftest.$ac_objext
42967 if { (ac_try="$ac_compile"
42968 case "(($ac_try" in
42969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42970 *) ac_try_echo=$ac_try;;
42971 esac
42972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42973 (eval "$ac_compile") 2>conftest.er1
42974 ac_status=$?
42975 grep -v '^ *+' conftest.er1 >conftest.err
42976 rm -f conftest.er1
42977 cat conftest.err >&5
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); } && {
42980 test -z "$ac_c_werror_flag" ||
42981 test ! -s conftest.err
42982 } && test -s conftest.$ac_objext; then
42983 wx_cv_func_gettimeofday_has_2_args=yes
42984 else
42985 echo "$as_me: failed program was:" >&5
42986 sed 's/^/| /' conftest.$ac_ext >&5
42987
42988 cat >conftest.$ac_ext <<_ACEOF
42989 /* confdefs.h. */
42990 _ACEOF
42991 cat confdefs.h >>conftest.$ac_ext
42992 cat >>conftest.$ac_ext <<_ACEOF
42993 /* end confdefs.h. */
42994
42995 #include <sys/time.h>
42996 #include <unistd.h>
42997
42998 int
42999 main ()
43000 {
43001
43002 struct timeval tv;
43003 gettimeofday(&tv);
43004
43005 ;
43006 return 0;
43007 }
43008 _ACEOF
43009 rm -f conftest.$ac_objext
43010 if { (ac_try="$ac_compile"
43011 case "(($ac_try" in
43012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43013 *) ac_try_echo=$ac_try;;
43014 esac
43015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43016 (eval "$ac_compile") 2>conftest.er1
43017 ac_status=$?
43018 grep -v '^ *+' conftest.er1 >conftest.err
43019 rm -f conftest.er1
43020 cat conftest.err >&5
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); } && {
43023 test -z "$ac_c_werror_flag" ||
43024 test ! -s conftest.err
43025 } && test -s conftest.$ac_objext; then
43026 wx_cv_func_gettimeofday_has_2_args=no
43027 else
43028 echo "$as_me: failed program was:" >&5
43029 sed 's/^/| /' conftest.$ac_ext >&5
43030
43031
43032 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43033 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43034 wx_cv_func_gettimeofday_has_2_args=unknown
43035
43036
43037 fi
43038
43039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43040
43041 fi
43042
43043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43044
43045 fi
43046 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43047 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43048
43049 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43050 cat >>confdefs.h <<\_ACEOF
43051 #define WX_GETTIMEOFDAY_NO_TZ 1
43052 _ACEOF
43053
43054 fi
43055 fi
43056
43057 if test "$wxUSE_DATETIME" = "yes"; then
43058 { echo "$as_me:$LINENO: checking for strptime" >&5
43059 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43060 if test "${ac_cv_func_strptime+set}" = set; then
43061 echo $ECHO_N "(cached) $ECHO_C" >&6
43062 else
43063 cat >conftest.$ac_ext <<_ACEOF
43064 /* confdefs.h. */
43065 _ACEOF
43066 cat confdefs.h >>conftest.$ac_ext
43067 cat >>conftest.$ac_ext <<_ACEOF
43068 /* end confdefs.h. */
43069 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43071 #define strptime innocuous_strptime
43072
43073 /* System header to define __stub macros and hopefully few prototypes,
43074 which can conflict with char strptime (); below.
43075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43076 <limits.h> exists even on freestanding compilers. */
43077
43078 #ifdef __STDC__
43079 # include <limits.h>
43080 #else
43081 # include <assert.h>
43082 #endif
43083
43084 #undef strptime
43085
43086 /* Override any GCC internal prototype to avoid an error.
43087 Use char because int might match the return type of a GCC
43088 builtin and then its argument prototype would still apply. */
43089 #ifdef __cplusplus
43090 extern "C"
43091 #endif
43092 char strptime ();
43093 /* The GNU C library defines this for functions which it implements
43094 to always fail with ENOSYS. Some functions are actually named
43095 something starting with __ and the normal name is an alias. */
43096 #if defined __stub_strptime || defined __stub___strptime
43097 choke me
43098 #endif
43099
43100 int
43101 main ()
43102 {
43103 return strptime ();
43104 ;
43105 return 0;
43106 }
43107 _ACEOF
43108 rm -f conftest.$ac_objext conftest$ac_exeext
43109 if { (ac_try="$ac_link"
43110 case "(($ac_try" in
43111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43112 *) ac_try_echo=$ac_try;;
43113 esac
43114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43115 (eval "$ac_link") 2>conftest.er1
43116 ac_status=$?
43117 grep -v '^ *+' conftest.er1 >conftest.err
43118 rm -f conftest.er1
43119 cat conftest.err >&5
43120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121 (exit $ac_status); } && {
43122 test -z "$ac_c_werror_flag" ||
43123 test ! -s conftest.err
43124 } && test -s conftest$ac_exeext &&
43125 $as_test_x conftest$ac_exeext; then
43126 ac_cv_func_strptime=yes
43127 else
43128 echo "$as_me: failed program was:" >&5
43129 sed 's/^/| /' conftest.$ac_ext >&5
43130
43131 ac_cv_func_strptime=no
43132 fi
43133
43134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43135 conftest$ac_exeext conftest.$ac_ext
43136 fi
43137 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43138 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43139
43140 if test "$ac_cv_func_strptime" = "yes"; then
43141 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43142 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43143 if test "${wx_cv_func_strptime_decl+set}" = set; then
43144 echo $ECHO_N "(cached) $ECHO_C" >&6
43145 else
43146
43147 ac_ext=cpp
43148 ac_cpp='$CXXCPP $CPPFLAGS'
43149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43152
43153 cat >conftest.$ac_ext <<_ACEOF
43154 /* confdefs.h. */
43155 _ACEOF
43156 cat confdefs.h >>conftest.$ac_ext
43157 cat >>conftest.$ac_ext <<_ACEOF
43158 /* end confdefs.h. */
43159
43160 #include <time.h>
43161
43162 int
43163 main ()
43164 {
43165
43166 struct tm t;
43167 strptime("foo", "bar", &t);
43168
43169 ;
43170 return 0;
43171 }
43172 _ACEOF
43173 rm -f conftest.$ac_objext
43174 if { (ac_try="$ac_compile"
43175 case "(($ac_try" in
43176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43177 *) ac_try_echo=$ac_try;;
43178 esac
43179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43180 (eval "$ac_compile") 2>conftest.er1
43181 ac_status=$?
43182 grep -v '^ *+' conftest.er1 >conftest.err
43183 rm -f conftest.er1
43184 cat conftest.err >&5
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); } && {
43187 test -z "$ac_cxx_werror_flag" ||
43188 test ! -s conftest.err
43189 } && test -s conftest.$ac_objext; then
43190 wx_cv_func_strptime_decl=yes
43191 else
43192 echo "$as_me: failed program was:" >&5
43193 sed 's/^/| /' conftest.$ac_ext >&5
43194
43195 wx_cv_func_strptime_decl=no
43196
43197 fi
43198
43199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43200 ac_ext=c
43201 ac_cpp='$CPP $CPPFLAGS'
43202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43205
43206
43207
43208 fi
43209 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43210 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43211 fi
43212 if test "$wx_cv_func_strptime_decl" = "yes"; then
43213 cat >>confdefs.h <<\_ACEOF
43214 #define HAVE_STRPTIME_DECL 1
43215 _ACEOF
43216
43217 else
43218 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43219 fi
43220 if test "$ac_cv_func_strptime" = "yes"; then
43221 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43222 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43223 if test "${wx_cv_func_strptime_ok+set}" = set; then
43224 echo $ECHO_N "(cached) $ECHO_C" >&6
43225 else
43226 if test "$cross_compiling" = yes; then
43227 wx_cv_func_strptime_ok=no
43228
43229 else
43230 cat >conftest.$ac_ext <<_ACEOF
43231
43232 #include <stdlib.h>
43233 #include <time.h>
43234 #include "confdefs.h"
43235
43236 $wx_strptime_decl
43237
43238 int main()
43239 {
43240 struct tm t;
43241 return !!strptime("", "%x", &t);
43242 }
43243
43244 _ACEOF
43245 rm -f conftest$ac_exeext
43246 if { (ac_try="$ac_link"
43247 case "(($ac_try" in
43248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43249 *) ac_try_echo=$ac_try;;
43250 esac
43251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43252 (eval "$ac_link") 2>&5
43253 ac_status=$?
43254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43255 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43256 { (case "(($ac_try" in
43257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43258 *) ac_try_echo=$ac_try;;
43259 esac
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_try") 2>&5
43262 ac_status=$?
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; }; then
43265 wx_cv_func_strptime_ok=yes
43266 else
43267 echo "$as_me: program exited with status $ac_status" >&5
43268 echo "$as_me: failed program was:" >&5
43269 sed 's/^/| /' conftest.$ac_ext >&5
43270
43271 ( exit $ac_status )
43272 wx_cv_func_strptime_ok=no
43273 fi
43274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43275 fi
43276
43277
43278
43279 fi
43280 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43281 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43282
43283 if test "$wx_cv_func_strptime_ok" = "yes"; then
43284 cat >>confdefs.h <<\_ACEOF
43285 #define HAVE_STRPTIME 1
43286 _ACEOF
43287
43288 fi
43289 fi
43290
43291 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43292 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43293 if test "${wx_cv_var_timezone+set}" = set; then
43294 echo $ECHO_N "(cached) $ECHO_C" >&6
43295 else
43296
43297 ac_ext=cpp
43298 ac_cpp='$CXXCPP $CPPFLAGS'
43299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43302
43303 cat >conftest.$ac_ext <<_ACEOF
43304 /* confdefs.h. */
43305 _ACEOF
43306 cat confdefs.h >>conftest.$ac_ext
43307 cat >>conftest.$ac_ext <<_ACEOF
43308 /* end confdefs.h. */
43309
43310 #include <time.h>
43311
43312 int
43313 main ()
43314 {
43315
43316 int tz;
43317 tz = timezone;
43318
43319 ;
43320 return 0;
43321 }
43322 _ACEOF
43323 rm -f conftest.$ac_objext
43324 if { (ac_try="$ac_compile"
43325 case "(($ac_try" in
43326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43327 *) ac_try_echo=$ac_try;;
43328 esac
43329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43330 (eval "$ac_compile") 2>conftest.er1
43331 ac_status=$?
43332 grep -v '^ *+' conftest.er1 >conftest.err
43333 rm -f conftest.er1
43334 cat conftest.err >&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } && {
43337 test -z "$ac_cxx_werror_flag" ||
43338 test ! -s conftest.err
43339 } && test -s conftest.$ac_objext; then
43340
43341 wx_cv_var_timezone=timezone
43342
43343 else
43344 echo "$as_me: failed program was:" >&5
43345 sed 's/^/| /' conftest.$ac_ext >&5
43346
43347
43348 cat >conftest.$ac_ext <<_ACEOF
43349 /* confdefs.h. */
43350 _ACEOF
43351 cat confdefs.h >>conftest.$ac_ext
43352 cat >>conftest.$ac_ext <<_ACEOF
43353 /* end confdefs.h. */
43354
43355 #include <time.h>
43356
43357 int
43358 main ()
43359 {
43360
43361 int tz;
43362 tz = _timezone;
43363
43364 ;
43365 return 0;
43366 }
43367 _ACEOF
43368 rm -f conftest.$ac_objext
43369 if { (ac_try="$ac_compile"
43370 case "(($ac_try" in
43371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43372 *) ac_try_echo=$ac_try;;
43373 esac
43374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43375 (eval "$ac_compile") 2>conftest.er1
43376 ac_status=$?
43377 grep -v '^ *+' conftest.er1 >conftest.err
43378 rm -f conftest.er1
43379 cat conftest.err >&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); } && {
43382 test -z "$ac_cxx_werror_flag" ||
43383 test ! -s conftest.err
43384 } && test -s conftest.$ac_objext; then
43385
43386 wx_cv_var_timezone=_timezone
43387
43388 else
43389 echo "$as_me: failed program was:" >&5
43390 sed 's/^/| /' conftest.$ac_ext >&5
43391
43392
43393 cat >conftest.$ac_ext <<_ACEOF
43394 /* confdefs.h. */
43395 _ACEOF
43396 cat confdefs.h >>conftest.$ac_ext
43397 cat >>conftest.$ac_ext <<_ACEOF
43398 /* end confdefs.h. */
43399
43400 #include <time.h>
43401
43402 int
43403 main ()
43404 {
43405
43406 int tz;
43407 tz = __timezone;
43408
43409 ;
43410 return 0;
43411 }
43412 _ACEOF
43413 rm -f conftest.$ac_objext
43414 if { (ac_try="$ac_compile"
43415 case "(($ac_try" in
43416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43417 *) ac_try_echo=$ac_try;;
43418 esac
43419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43420 (eval "$ac_compile") 2>conftest.er1
43421 ac_status=$?
43422 grep -v '^ *+' conftest.er1 >conftest.err
43423 rm -f conftest.er1
43424 cat conftest.err >&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } && {
43427 test -z "$ac_cxx_werror_flag" ||
43428 test ! -s conftest.err
43429 } && test -s conftest.$ac_objext; then
43430
43431 wx_cv_var_timezone=__timezone
43432
43433 else
43434 echo "$as_me: failed program was:" >&5
43435 sed 's/^/| /' conftest.$ac_ext >&5
43436
43437
43438 if test "$USE_DOS" = 0 ; then
43439 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43440 echo "$as_me: WARNING: no timezone variable" >&2;}
43441 fi
43442
43443
43444 fi
43445
43446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43447
43448
43449 fi
43450
43451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452
43453
43454 fi
43455
43456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43457 ac_ext=c
43458 ac_cpp='$CPP $CPPFLAGS'
43459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43462
43463
43464
43465 fi
43466 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43467 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43468
43469 if test "x$wx_cv_var_timezone" != x ; then
43470 cat >>confdefs.h <<_ACEOF
43471 #define WX_TIMEZONE $wx_cv_var_timezone
43472 _ACEOF
43473
43474 fi
43475
43476
43477 for ac_func in localtime
43478 do
43479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43483 echo $ECHO_N "(cached) $ECHO_C" >&6
43484 else
43485 cat >conftest.$ac_ext <<_ACEOF
43486 /* confdefs.h. */
43487 _ACEOF
43488 cat confdefs.h >>conftest.$ac_ext
43489 cat >>conftest.$ac_ext <<_ACEOF
43490 /* end confdefs.h. */
43491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43493 #define $ac_func innocuous_$ac_func
43494
43495 /* System header to define __stub macros and hopefully few prototypes,
43496 which can conflict with char $ac_func (); below.
43497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43498 <limits.h> exists even on freestanding compilers. */
43499
43500 #ifdef __STDC__
43501 # include <limits.h>
43502 #else
43503 # include <assert.h>
43504 #endif
43505
43506 #undef $ac_func
43507
43508 /* Override any GCC internal prototype to avoid an error.
43509 Use char because int might match the return type of a GCC
43510 builtin and then its argument prototype would still apply. */
43511 #ifdef __cplusplus
43512 extern "C"
43513 #endif
43514 char $ac_func ();
43515 /* The GNU C library defines this for functions which it implements
43516 to always fail with ENOSYS. Some functions are actually named
43517 something starting with __ and the normal name is an alias. */
43518 #if defined __stub_$ac_func || defined __stub___$ac_func
43519 choke me
43520 #endif
43521
43522 int
43523 main ()
43524 {
43525 return $ac_func ();
43526 ;
43527 return 0;
43528 }
43529 _ACEOF
43530 rm -f conftest.$ac_objext conftest$ac_exeext
43531 if { (ac_try="$ac_link"
43532 case "(($ac_try" in
43533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43534 *) ac_try_echo=$ac_try;;
43535 esac
43536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43537 (eval "$ac_link") 2>conftest.er1
43538 ac_status=$?
43539 grep -v '^ *+' conftest.er1 >conftest.err
43540 rm -f conftest.er1
43541 cat conftest.err >&5
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); } && {
43544 test -z "$ac_c_werror_flag" ||
43545 test ! -s conftest.err
43546 } && test -s conftest$ac_exeext &&
43547 $as_test_x conftest$ac_exeext; then
43548 eval "$as_ac_var=yes"
43549 else
43550 echo "$as_me: failed program was:" >&5
43551 sed 's/^/| /' conftest.$ac_ext >&5
43552
43553 eval "$as_ac_var=no"
43554 fi
43555
43556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43557 conftest$ac_exeext conftest.$ac_ext
43558 fi
43559 ac_res=`eval echo '${'$as_ac_var'}'`
43560 { echo "$as_me:$LINENO: result: $ac_res" >&5
43561 echo "${ECHO_T}$ac_res" >&6; }
43562 if test `eval echo '${'$as_ac_var'}'` = yes; then
43563 cat >>confdefs.h <<_ACEOF
43564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43565 _ACEOF
43566
43567 fi
43568 done
43569
43570
43571 if test "$ac_cv_func_localtime" = "yes"; then
43572 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43573 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43574 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43576 else
43577
43578 cat >conftest.$ac_ext <<_ACEOF
43579 /* confdefs.h. */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584
43585 #include <time.h>
43586
43587 int
43588 main ()
43589 {
43590
43591 struct tm tm;
43592 tm.tm_gmtoff++;
43593
43594 ;
43595 return 0;
43596 }
43597 _ACEOF
43598 rm -f conftest.$ac_objext
43599 if { (ac_try="$ac_compile"
43600 case "(($ac_try" in
43601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43602 *) ac_try_echo=$ac_try;;
43603 esac
43604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43605 (eval "$ac_compile") 2>conftest.er1
43606 ac_status=$?
43607 grep -v '^ *+' conftest.er1 >conftest.err
43608 rm -f conftest.er1
43609 cat conftest.err >&5
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); } && {
43612 test -z "$ac_c_werror_flag" ||
43613 test ! -s conftest.err
43614 } && test -s conftest.$ac_objext; then
43615
43616 wx_cv_struct_tm_has_gmtoff=yes
43617
43618 else
43619 echo "$as_me: failed program was:" >&5
43620 sed 's/^/| /' conftest.$ac_ext >&5
43621
43622 wx_cv_struct_tm_has_gmtoff=no
43623
43624 fi
43625
43626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43627
43628 fi
43629 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43630 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43631 fi
43632
43633 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43634 cat >>confdefs.h <<\_ACEOF
43635 #define WX_GMTOFF_IN_TM 1
43636 _ACEOF
43637
43638 fi
43639
43640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43641 fi
43642
43643
43644 if test "$wxUSE_SOCKETS" = "yes"; then
43645 if test "$wxUSE_MGL" = 1; then
43646 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43647 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43648 wxUSE_SOCKETS="no"
43649 fi
43650 fi
43651
43652 if test "$wxUSE_SOCKETS" = "yes"; then
43653 if test "$TOOLKIT" != "MSW"; then
43654 { echo "$as_me:$LINENO: checking for socket" >&5
43655 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43656 if test "${ac_cv_func_socket+set}" = set; then
43657 echo $ECHO_N "(cached) $ECHO_C" >&6
43658 else
43659 cat >conftest.$ac_ext <<_ACEOF
43660 /* confdefs.h. */
43661 _ACEOF
43662 cat confdefs.h >>conftest.$ac_ext
43663 cat >>conftest.$ac_ext <<_ACEOF
43664 /* end confdefs.h. */
43665 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43667 #define socket innocuous_socket
43668
43669 /* System header to define __stub macros and hopefully few prototypes,
43670 which can conflict with char socket (); below.
43671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43672 <limits.h> exists even on freestanding compilers. */
43673
43674 #ifdef __STDC__
43675 # include <limits.h>
43676 #else
43677 # include <assert.h>
43678 #endif
43679
43680 #undef socket
43681
43682 /* Override any GCC internal prototype to avoid an error.
43683 Use char because int might match the return type of a GCC
43684 builtin and then its argument prototype would still apply. */
43685 #ifdef __cplusplus
43686 extern "C"
43687 #endif
43688 char socket ();
43689 /* The GNU C library defines this for functions which it implements
43690 to always fail with ENOSYS. Some functions are actually named
43691 something starting with __ and the normal name is an alias. */
43692 #if defined __stub_socket || defined __stub___socket
43693 choke me
43694 #endif
43695
43696 int
43697 main ()
43698 {
43699 return socket ();
43700 ;
43701 return 0;
43702 }
43703 _ACEOF
43704 rm -f conftest.$ac_objext conftest$ac_exeext
43705 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
43712 ac_status=$?
43713 grep -v '^ *+' conftest.er1 >conftest.err
43714 rm -f conftest.er1
43715 cat conftest.err >&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); } && {
43718 test -z "$ac_c_werror_flag" ||
43719 test ! -s conftest.err
43720 } && test -s conftest$ac_exeext &&
43721 $as_test_x conftest$ac_exeext; then
43722 ac_cv_func_socket=yes
43723 else
43724 echo "$as_me: failed program was:" >&5
43725 sed 's/^/| /' conftest.$ac_ext >&5
43726
43727 ac_cv_func_socket=no
43728 fi
43729
43730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43731 conftest$ac_exeext conftest.$ac_ext
43732 fi
43733 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43734 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43735 if test $ac_cv_func_socket = yes; then
43736 :
43737 else
43738
43739 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43740 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43741 if test "${ac_cv_lib_socket_socket+set}" = set; then
43742 echo $ECHO_N "(cached) $ECHO_C" >&6
43743 else
43744 ac_check_lib_save_LIBS=$LIBS
43745 LIBS="-lsocket $LIBS"
43746 cat >conftest.$ac_ext <<_ACEOF
43747 /* confdefs.h. */
43748 _ACEOF
43749 cat confdefs.h >>conftest.$ac_ext
43750 cat >>conftest.$ac_ext <<_ACEOF
43751 /* end confdefs.h. */
43752
43753 /* Override any GCC internal prototype to avoid an error.
43754 Use char because int might match the return type of a GCC
43755 builtin and then its argument prototype would still apply. */
43756 #ifdef __cplusplus
43757 extern "C"
43758 #endif
43759 char socket ();
43760 int
43761 main ()
43762 {
43763 return socket ();
43764 ;
43765 return 0;
43766 }
43767 _ACEOF
43768 rm -f conftest.$ac_objext conftest$ac_exeext
43769 if { (ac_try="$ac_link"
43770 case "(($ac_try" in
43771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43772 *) ac_try_echo=$ac_try;;
43773 esac
43774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43775 (eval "$ac_link") 2>conftest.er1
43776 ac_status=$?
43777 grep -v '^ *+' conftest.er1 >conftest.err
43778 rm -f conftest.er1
43779 cat conftest.err >&5
43780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43781 (exit $ac_status); } && {
43782 test -z "$ac_c_werror_flag" ||
43783 test ! -s conftest.err
43784 } && test -s conftest$ac_exeext &&
43785 $as_test_x conftest$ac_exeext; then
43786 ac_cv_lib_socket_socket=yes
43787 else
43788 echo "$as_me: failed program was:" >&5
43789 sed 's/^/| /' conftest.$ac_ext >&5
43790
43791 ac_cv_lib_socket_socket=no
43792 fi
43793
43794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43795 conftest$ac_exeext conftest.$ac_ext
43796 LIBS=$ac_check_lib_save_LIBS
43797 fi
43798 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43799 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43800 if test $ac_cv_lib_socket_socket = yes; then
43801 if test "$INET_LINK" != " -lsocket"; then
43802 INET_LINK="$INET_LINK -lsocket"
43803 fi
43804 else
43805
43806 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43807 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43808 wxUSE_SOCKETS=no
43809
43810
43811 fi
43812
43813
43814
43815 fi
43816
43817 fi
43818 fi
43819
43820 if test "$wxUSE_SOCKETS" = "yes" ; then
43821 if test "$TOOLKIT" != "MSW"; then
43822 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43823 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43824 if test "${wx_cv_type_getsockname3+set}" = set; then
43825 echo $ECHO_N "(cached) $ECHO_C" >&6
43826 else
43827
43828 ac_ext=cpp
43829 ac_cpp='$CXXCPP $CPPFLAGS'
43830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43833
43834 cat >conftest.$ac_ext <<_ACEOF
43835 /* confdefs.h. */
43836 _ACEOF
43837 cat confdefs.h >>conftest.$ac_ext
43838 cat >>conftest.$ac_ext <<_ACEOF
43839 /* end confdefs.h. */
43840
43841 #include <sys/types.h>
43842 #include <sys/socket.h>
43843
43844 int
43845 main ()
43846 {
43847
43848 socklen_t len;
43849 getsockname(0, 0, &len);
43850
43851 ;
43852 return 0;
43853 }
43854 _ACEOF
43855 rm -f conftest.$ac_objext
43856 if { (ac_try="$ac_compile"
43857 case "(($ac_try" in
43858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43859 *) ac_try_echo=$ac_try;;
43860 esac
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_compile") 2>conftest.er1
43863 ac_status=$?
43864 grep -v '^ *+' conftest.er1 >conftest.err
43865 rm -f conftest.er1
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_cxx_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest.$ac_objext; then
43872 wx_cv_type_getsockname3=socklen_t
43873 else
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43876
43877
43878 CFLAGS_OLD="$CFLAGS"
43879 if test "$GCC" = yes ; then
43880 CFLAGS="-Werror $CFLAGS"
43881 fi
43882
43883 cat >conftest.$ac_ext <<_ACEOF
43884 /* confdefs.h. */
43885 _ACEOF
43886 cat confdefs.h >>conftest.$ac_ext
43887 cat >>conftest.$ac_ext <<_ACEOF
43888 /* end confdefs.h. */
43889
43890 #include <sys/types.h>
43891 #include <sys/socket.h>
43892
43893 int
43894 main ()
43895 {
43896
43897 size_t len;
43898 getsockname(0, 0, &len);
43899
43900 ;
43901 return 0;
43902 }
43903 _ACEOF
43904 rm -f conftest.$ac_objext
43905 if { (ac_try="$ac_compile"
43906 case "(($ac_try" in
43907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43908 *) ac_try_echo=$ac_try;;
43909 esac
43910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43911 (eval "$ac_compile") 2>conftest.er1
43912 ac_status=$?
43913 grep -v '^ *+' conftest.er1 >conftest.err
43914 rm -f conftest.er1
43915 cat conftest.err >&5
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); } && {
43918 test -z "$ac_cxx_werror_flag" ||
43919 test ! -s conftest.err
43920 } && test -s conftest.$ac_objext; then
43921 wx_cv_type_getsockname3=size_t
43922 else
43923 echo "$as_me: failed program was:" >&5
43924 sed 's/^/| /' conftest.$ac_ext >&5
43925
43926 cat >conftest.$ac_ext <<_ACEOF
43927 /* confdefs.h. */
43928 _ACEOF
43929 cat confdefs.h >>conftest.$ac_ext
43930 cat >>conftest.$ac_ext <<_ACEOF
43931 /* end confdefs.h. */
43932
43933 #include <sys/types.h>
43934 #include <sys/socket.h>
43935
43936 int
43937 main ()
43938 {
43939
43940 int len;
43941 getsockname(0, 0, &len);
43942
43943 ;
43944 return 0;
43945 }
43946 _ACEOF
43947 rm -f conftest.$ac_objext
43948 if { (ac_try="$ac_compile"
43949 case "(($ac_try" in
43950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43951 *) ac_try_echo=$ac_try;;
43952 esac
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_compile") 2>conftest.er1
43955 ac_status=$?
43956 grep -v '^ *+' conftest.er1 >conftest.err
43957 rm -f conftest.er1
43958 cat conftest.err >&5
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); } && {
43961 test -z "$ac_cxx_werror_flag" ||
43962 test ! -s conftest.err
43963 } && test -s conftest.$ac_objext; then
43964 wx_cv_type_getsockname3=int
43965 else
43966 echo "$as_me: failed program was:" >&5
43967 sed 's/^/| /' conftest.$ac_ext >&5
43968
43969 wx_cv_type_getsockname3=unknown
43970
43971 fi
43972
43973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43974
43975 fi
43976
43977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43978
43979 CFLAGS="$CFLAGS_OLD"
43980
43981
43982 fi
43983
43984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43985 ac_ext=c
43986 ac_cpp='$CPP $CPPFLAGS'
43987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43990
43991
43992 fi
43993 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43994 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43995
43996 if test "$wx_cv_type_getsockname3" = "unknown"; then
43997 wxUSE_SOCKETS=no
43998 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43999 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44000 else
44001 cat >>confdefs.h <<_ACEOF
44002 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44003 _ACEOF
44004
44005 fi
44006 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44007 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44008 if test "${wx_cv_type_getsockopt5+set}" = set; then
44009 echo $ECHO_N "(cached) $ECHO_C" >&6
44010 else
44011
44012 ac_ext=cpp
44013 ac_cpp='$CXXCPP $CPPFLAGS'
44014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44017
44018 cat >conftest.$ac_ext <<_ACEOF
44019 /* confdefs.h. */
44020 _ACEOF
44021 cat confdefs.h >>conftest.$ac_ext
44022 cat >>conftest.$ac_ext <<_ACEOF
44023 /* end confdefs.h. */
44024
44025 #include <sys/types.h>
44026 #include <sys/socket.h>
44027
44028 int
44029 main ()
44030 {
44031
44032 socklen_t len;
44033 getsockopt(0, 0, 0, 0, &len);
44034
44035 ;
44036 return 0;
44037 }
44038 _ACEOF
44039 rm -f conftest.$ac_objext
44040 if { (ac_try="$ac_compile"
44041 case "(($ac_try" in
44042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44043 *) ac_try_echo=$ac_try;;
44044 esac
44045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44046 (eval "$ac_compile") 2>conftest.er1
44047 ac_status=$?
44048 grep -v '^ *+' conftest.er1 >conftest.err
44049 rm -f conftest.er1
44050 cat conftest.err >&5
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); } && {
44053 test -z "$ac_cxx_werror_flag" ||
44054 test ! -s conftest.err
44055 } && test -s conftest.$ac_objext; then
44056 wx_cv_type_getsockopt5=socklen_t
44057 else
44058 echo "$as_me: failed program was:" >&5
44059 sed 's/^/| /' conftest.$ac_ext >&5
44060
44061
44062 cat >conftest.$ac_ext <<_ACEOF
44063 /* confdefs.h. */
44064 _ACEOF
44065 cat confdefs.h >>conftest.$ac_ext
44066 cat >>conftest.$ac_ext <<_ACEOF
44067 /* end confdefs.h. */
44068
44069 #include <sys/types.h>
44070 #include <sys/socket.h>
44071
44072 int
44073 main ()
44074 {
44075
44076 size_t len;
44077 getsockopt(0, 0, 0, 0, &len);
44078
44079 ;
44080 return 0;
44081 }
44082 _ACEOF
44083 rm -f conftest.$ac_objext
44084 if { (ac_try="$ac_compile"
44085 case "(($ac_try" in
44086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44087 *) ac_try_echo=$ac_try;;
44088 esac
44089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44090 (eval "$ac_compile") 2>conftest.er1
44091 ac_status=$?
44092 grep -v '^ *+' conftest.er1 >conftest.err
44093 rm -f conftest.er1
44094 cat conftest.err >&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); } && {
44097 test -z "$ac_cxx_werror_flag" ||
44098 test ! -s conftest.err
44099 } && test -s conftest.$ac_objext; then
44100 wx_cv_type_getsockopt5=size_t
44101 else
44102 echo "$as_me: failed program was:" >&5
44103 sed 's/^/| /' conftest.$ac_ext >&5
44104
44105 cat >conftest.$ac_ext <<_ACEOF
44106 /* confdefs.h. */
44107 _ACEOF
44108 cat confdefs.h >>conftest.$ac_ext
44109 cat >>conftest.$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44111
44112 #include <sys/types.h>
44113 #include <sys/socket.h>
44114
44115 int
44116 main ()
44117 {
44118
44119 int len;
44120 getsockopt(0, 0, 0, 0, &len);
44121
44122 ;
44123 return 0;
44124 }
44125 _ACEOF
44126 rm -f conftest.$ac_objext
44127 if { (ac_try="$ac_compile"
44128 case "(($ac_try" in
44129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44130 *) ac_try_echo=$ac_try;;
44131 esac
44132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44133 (eval "$ac_compile") 2>conftest.er1
44134 ac_status=$?
44135 grep -v '^ *+' conftest.er1 >conftest.err
44136 rm -f conftest.er1
44137 cat conftest.err >&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); } && {
44140 test -z "$ac_cxx_werror_flag" ||
44141 test ! -s conftest.err
44142 } && test -s conftest.$ac_objext; then
44143 wx_cv_type_getsockopt5=int
44144 else
44145 echo "$as_me: failed program was:" >&5
44146 sed 's/^/| /' conftest.$ac_ext >&5
44147
44148 wx_cv_type_getsockopt5=unknown
44149
44150 fi
44151
44152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44153
44154 fi
44155
44156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44157
44158
44159 fi
44160
44161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44162 ac_ext=c
44163 ac_cpp='$CPP $CPPFLAGS'
44164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44167
44168
44169 fi
44170 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44171 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44172
44173 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44174 wxUSE_SOCKETS=no
44175 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44176 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44177 else
44178 cat >>confdefs.h <<_ACEOF
44179 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44180 _ACEOF
44181
44182 fi
44183 fi
44184 fi
44185
44186 if test "$wxUSE_SOCKETS" = "yes" ; then
44187 if test "$wxUSE_IPV6" = "yes"; then
44188 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44189 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44190 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44191 echo $ECHO_N "(cached) $ECHO_C" >&6
44192 else
44193
44194 cat >conftest.$ac_ext <<_ACEOF
44195 /* confdefs.h. */
44196 _ACEOF
44197 cat confdefs.h >>conftest.$ac_ext
44198 cat >>conftest.$ac_ext <<_ACEOF
44199 /* end confdefs.h. */
44200
44201 #include <sys/types.h>
44202 #include <sys/socket.h>
44203 #include <netinet/in.h>
44204
44205 int
44206 main ()
44207 {
44208
44209 struct sockaddr_in6 sa6;
44210
44211 ;
44212 return 0;
44213 }
44214 _ACEOF
44215 rm -f conftest.$ac_objext
44216 if { (ac_try="$ac_compile"
44217 case "(($ac_try" in
44218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44219 *) ac_try_echo=$ac_try;;
44220 esac
44221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44222 (eval "$ac_compile") 2>conftest.er1
44223 ac_status=$?
44224 grep -v '^ *+' conftest.er1 >conftest.err
44225 rm -f conftest.er1
44226 cat conftest.err >&5
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); } && {
44229 test -z "$ac_c_werror_flag" ||
44230 test ! -s conftest.err
44231 } && test -s conftest.$ac_objext; then
44232 wx_cv_type_sockaddr_in6=yes
44233 else
44234 echo "$as_me: failed program was:" >&5
44235 sed 's/^/| /' conftest.$ac_ext >&5
44236
44237 wx_cv_type_sockaddr_in6=no
44238
44239 fi
44240
44241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44242
44243
44244 fi
44245 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44246 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44247
44248 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_IPV6 1
44251 _ACEOF
44252
44253 else
44254 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44255 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44256 fi
44257 fi
44258
44259 cat >>confdefs.h <<\_ACEOF
44260 #define wxUSE_SOCKETS 1
44261 _ACEOF
44262
44263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44264 fi
44265
44266 if test "$wxUSE_PROTOCOL" = "yes"; then
44267 if test "$wxUSE_SOCKETS" != "yes"; then
44268 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44269 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44270 wxUSE_PROTOCOL=no
44271 fi
44272 fi
44273
44274 if test "$wxUSE_PROTOCOL" = "yes"; then
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_PROTOCOL 1
44277 _ACEOF
44278
44279
44280 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44281 cat >>confdefs.h <<\_ACEOF
44282 #define wxUSE_PROTOCOL_HTTP 1
44283 _ACEOF
44284
44285 fi
44286 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_PROTOCOL_FTP 1
44289 _ACEOF
44290
44291 fi
44292 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_PROTOCOL_FILE 1
44295 _ACEOF
44296
44297 fi
44298 else
44299 if test "$wxUSE_FS_INET" = "yes"; then
44300 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44301 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44302 wxUSE_FS_INET="no"
44303 fi
44304 fi
44305
44306 if test "$wxUSE_URL" = "yes"; then
44307 if test "$wxUSE_PROTOCOL" != "yes"; then
44308 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44309 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44310 wxUSE_URL=no
44311 fi
44312 if test "$wxUSE_URL" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_URL 1
44315 _ACEOF
44316
44317 fi
44318 fi
44319
44320 if test "$wxUSE_VARIANT" = "yes"; then
44321 cat >>confdefs.h <<\_ACEOF
44322 #define wxUSE_VARIANT 1
44323 _ACEOF
44324
44325 fi
44326
44327 if test "$wxUSE_FS_INET" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_FS_INET 1
44330 _ACEOF
44331
44332 fi
44333
44334
44335 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44336 wxUSE_JOYSTICK=no
44337
44338 if test "$TOOLKIT" = "MSW"; then
44339 wxUSE_JOYSTICK=yes
44340
44341 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44342 if test "$USE_DARWIN" = 1; then
44343 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44344 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44345 ac_ext=cpp
44346 ac_cpp='$CXXCPP $CPPFLAGS'
44347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44350
44351 cat >conftest.$ac_ext <<_ACEOF
44352 /* confdefs.h. */
44353 _ACEOF
44354 cat confdefs.h >>conftest.$ac_ext
44355 cat >>conftest.$ac_ext <<_ACEOF
44356 /* end confdefs.h. */
44357 #include <IOKit/hid/IOHIDLib.h>
44358 int
44359 main ()
44360 {
44361 IOHIDQueueInterface *qi = NULL;
44362 IOHIDCallbackFunction cb = NULL;
44363 qi->setEventCallout(NULL, cb, NULL, NULL);
44364 ;
44365 return 0;
44366 }
44367 _ACEOF
44368 rm -f conftest.$ac_objext
44369 if { (ac_try="$ac_compile"
44370 case "(($ac_try" in
44371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44372 *) ac_try_echo=$ac_try;;
44373 esac
44374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44375 (eval "$ac_compile") 2>conftest.er1
44376 ac_status=$?
44377 grep -v '^ *+' conftest.er1 >conftest.err
44378 rm -f conftest.er1
44379 cat conftest.err >&5
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); } && {
44382 test -z "$ac_cxx_werror_flag" ||
44383 test ! -s conftest.err
44384 } && test -s conftest.$ac_objext; then
44385 wxUSE_JOYSTICK=yes
44386
44387 else
44388 echo "$as_me: failed program was:" >&5
44389 sed 's/^/| /' conftest.$ac_ext >&5
44390
44391
44392 fi
44393
44394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44395 ac_ext=c
44396 ac_cpp='$CPP $CPPFLAGS'
44397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44400
44401 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44402 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44403 fi
44404
44405 else
44406 if test "$wxUSE_MGL" != 1; then
44407
44408 for ac_header in linux/joystick.h
44409 do
44410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44411 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44414 echo $ECHO_N "(cached) $ECHO_C" >&6
44415 else
44416 cat >conftest.$ac_ext <<_ACEOF
44417 /* confdefs.h. */
44418 _ACEOF
44419 cat confdefs.h >>conftest.$ac_ext
44420 cat >>conftest.$ac_ext <<_ACEOF
44421 /* end confdefs.h. */
44422 $ac_includes_default
44423
44424 #include <$ac_header>
44425 _ACEOF
44426 rm -f conftest.$ac_objext
44427 if { (ac_try="$ac_compile"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44431 esac
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_compile") 2>conftest.er1
44434 ac_status=$?
44435 grep -v '^ *+' conftest.er1 >conftest.err
44436 rm -f conftest.er1
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } && {
44440 test -z "$ac_c_werror_flag" ||
44441 test ! -s conftest.err
44442 } && test -s conftest.$ac_objext; then
44443 eval "$as_ac_Header=yes"
44444 else
44445 echo "$as_me: failed program was:" >&5
44446 sed 's/^/| /' conftest.$ac_ext >&5
44447
44448 eval "$as_ac_Header=no"
44449 fi
44450
44451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44452 fi
44453 ac_res=`eval echo '${'$as_ac_Header'}'`
44454 { echo "$as_me:$LINENO: result: $ac_res" >&5
44455 echo "${ECHO_T}$ac_res" >&6; }
44456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44457 cat >>confdefs.h <<_ACEOF
44458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44459 _ACEOF
44460 wxUSE_JOYSTICK=yes
44461 fi
44462
44463 done
44464
44465 fi
44466 fi
44467
44468 if test "$wxUSE_JOYSTICK" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_JOYSTICK 1
44471 _ACEOF
44472
44473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44474 else
44475 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44476 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44477 fi
44478 fi
44479
44480
44481
44482 if test "$wxUSE_FONTENUM" = "yes" ; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_FONTENUM 1
44485 _ACEOF
44486
44487 fi
44488
44489 if test "$wxUSE_FONTMAP" = "yes" ; then
44490 cat >>confdefs.h <<\_ACEOF
44491 #define wxUSE_FONTMAP 1
44492 _ACEOF
44493
44494 fi
44495
44496 if test "$wxUSE_UNICODE" = "yes" ; then
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_UNICODE 1
44499 _ACEOF
44500
44501
44502 if test "$USE_WIN32" != 1; then
44503 wxUSE_UNICODE_MSLU=no
44504 fi
44505
44506 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44507 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44508 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44509 if test "${ac_cv_lib_unicows_main+set}" = set; then
44510 echo $ECHO_N "(cached) $ECHO_C" >&6
44511 else
44512 ac_check_lib_save_LIBS=$LIBS
44513 LIBS="-lunicows $LIBS"
44514 cat >conftest.$ac_ext <<_ACEOF
44515 /* confdefs.h. */
44516 _ACEOF
44517 cat confdefs.h >>conftest.$ac_ext
44518 cat >>conftest.$ac_ext <<_ACEOF
44519 /* end confdefs.h. */
44520
44521
44522 int
44523 main ()
44524 {
44525 return main ();
44526 ;
44527 return 0;
44528 }
44529 _ACEOF
44530 rm -f conftest.$ac_objext conftest$ac_exeext
44531 if { (ac_try="$ac_link"
44532 case "(($ac_try" in
44533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44534 *) ac_try_echo=$ac_try;;
44535 esac
44536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44537 (eval "$ac_link") 2>conftest.er1
44538 ac_status=$?
44539 grep -v '^ *+' conftest.er1 >conftest.err
44540 rm -f conftest.er1
44541 cat conftest.err >&5
44542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44543 (exit $ac_status); } && {
44544 test -z "$ac_c_werror_flag" ||
44545 test ! -s conftest.err
44546 } && test -s conftest$ac_exeext &&
44547 $as_test_x conftest$ac_exeext; then
44548 ac_cv_lib_unicows_main=yes
44549 else
44550 echo "$as_me: failed program was:" >&5
44551 sed 's/^/| /' conftest.$ac_ext >&5
44552
44553 ac_cv_lib_unicows_main=no
44554 fi
44555
44556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44557 conftest$ac_exeext conftest.$ac_ext
44558 LIBS=$ac_check_lib_save_LIBS
44559 fi
44560 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44561 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44562 if test $ac_cv_lib_unicows_main = yes; then
44563
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_UNICODE_MSLU 1
44566 _ACEOF
44567
44568
44569 else
44570
44571 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44572 Applications will only run on Windows NT/2000/XP!" >&5
44573 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44574 Applications will only run on Windows NT/2000/XP!" >&2;}
44575 wxUSE_UNICODE_MSLU=no
44576
44577 fi
44578
44579 fi
44580 fi
44581
44582 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_UNICODE_UTF8 1
44585 _ACEOF
44586
44587
44588 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44589 cat >>confdefs.h <<\_ACEOF
44590 #define wxUSE_UTF8_LOCALE_ONLY 1
44591 _ACEOF
44592
44593 fi
44594 fi
44595
44596
44597 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_CONSTRAINTS 1
44600 _ACEOF
44601
44602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44603 fi
44604
44605 if test "$wxUSE_MDI" = "yes"; then
44606 cat >>confdefs.h <<\_ACEOF
44607 #define wxUSE_MDI 1
44608 _ACEOF
44609
44610
44611 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44612 cat >>confdefs.h <<\_ACEOF
44613 #define wxUSE_MDI_ARCHITECTURE 1
44614 _ACEOF
44615
44616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44617 fi
44618 fi
44619
44620 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44621 cat >>confdefs.h <<\_ACEOF
44622 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44623 _ACEOF
44624
44625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44626 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44628 fi
44629 fi
44630
44631 if test "$wxUSE_HELP" = "yes"; then
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_HELP 1
44634 _ACEOF
44635
44636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44637
44638 if test "$wxUSE_MSW" = 1; then
44639 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_MS_HTML_HELP 1
44642 _ACEOF
44643
44644 fi
44645 fi
44646
44647 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44648 if test "$wxUSE_HTML" = "yes"; then
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_WXHTML_HELP 1
44651 _ACEOF
44652
44653 else
44654 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44655 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44656 wxUSE_WXHTML_HELP=no
44657 fi
44658 fi
44659 fi
44660
44661 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44662 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44663 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44664 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44665 else
44666 cat >>confdefs.h <<\_ACEOF
44667 #define wxUSE_PRINTING_ARCHITECTURE 1
44668 _ACEOF
44669
44670 fi
44671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44672 fi
44673
44674 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_POSTSCRIPT 1
44677 _ACEOF
44678
44679 fi
44680
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44683 _ACEOF
44684
44685
44686 if test "$wxUSE_SVG" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_SVG 1
44689 _ACEOF
44690
44691 fi
44692
44693
44694 if test "$wxUSE_METAFILE" = "yes"; then
44695 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44696 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44697 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44698 wxUSE_METAFILE=no
44699 fi
44700 fi
44701
44702
44703 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44704 -o "$wxUSE_CLIPBOARD" = "yes" \
44705 -o "$wxUSE_OLE" = "yes" \
44706 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44707 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44708 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44709 if test "${ac_cv_header_ole2_h+set}" = set; then
44710 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 else
44712 cat >conftest.$ac_ext <<_ACEOF
44713 /* confdefs.h. */
44714 _ACEOF
44715 cat confdefs.h >>conftest.$ac_ext
44716 cat >>conftest.$ac_ext <<_ACEOF
44717 /* end confdefs.h. */
44718
44719
44720 #include <ole2.h>
44721 _ACEOF
44722 rm -f conftest.$ac_objext
44723 if { (ac_try="$ac_compile"
44724 case "(($ac_try" in
44725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44726 *) ac_try_echo=$ac_try;;
44727 esac
44728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44729 (eval "$ac_compile") 2>conftest.er1
44730 ac_status=$?
44731 grep -v '^ *+' conftest.er1 >conftest.err
44732 rm -f conftest.er1
44733 cat conftest.err >&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } && {
44736 test -z "$ac_c_werror_flag" ||
44737 test ! -s conftest.err
44738 } && test -s conftest.$ac_objext; then
44739 ac_cv_header_ole2_h=yes
44740 else
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.$ac_ext >&5
44743
44744 ac_cv_header_ole2_h=no
44745 fi
44746
44747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44748 fi
44749 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44750 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44751
44752
44753
44754 if test "$ac_cv_header_ole2_h" = "yes" ; then
44755 if test "$GCC" = yes ; then
44756 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44757 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44758 cat >conftest.$ac_ext <<_ACEOF
44759 /* confdefs.h. */
44760 _ACEOF
44761 cat confdefs.h >>conftest.$ac_ext
44762 cat >>conftest.$ac_ext <<_ACEOF
44763 /* end confdefs.h. */
44764 #include <windows.h>
44765 #include <ole2.h>
44766 int
44767 main ()
44768 {
44769
44770 ;
44771 return 0;
44772 }
44773 _ACEOF
44774 rm -f conftest.$ac_objext
44775 if { (ac_try="$ac_compile"
44776 case "(($ac_try" in
44777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44778 *) ac_try_echo=$ac_try;;
44779 esac
44780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44781 (eval "$ac_compile") 2>conftest.er1
44782 ac_status=$?
44783 grep -v '^ *+' conftest.er1 >conftest.err
44784 rm -f conftest.er1
44785 cat conftest.err >&5
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); } && {
44788 test -z "$ac_c_werror_flag" ||
44789 test ! -s conftest.err
44790 } && test -s conftest.$ac_objext; then
44791 { echo "$as_me:$LINENO: result: no" >&5
44792 echo "${ECHO_T}no" >&6; }
44793 else
44794 echo "$as_me: failed program was:" >&5
44795 sed 's/^/| /' conftest.$ac_ext >&5
44796
44797 { echo "$as_me:$LINENO: result: yes" >&5
44798 echo "${ECHO_T}yes" >&6; }
44799 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44800 fi
44801
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44804 if test "$wxUSE_OLE" = "yes" ; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_OLE 1
44807 _ACEOF
44808
44809 cat >>confdefs.h <<\_ACEOF
44810 #define wxUSE_OLE_AUTOMATION 1
44811 _ACEOF
44812
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_ACTIVEX 1
44815 _ACEOF
44816
44817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44818 fi
44819 fi
44820
44821 if test "$wxUSE_DATAOBJ" = "yes" ; then
44822 cat >>confdefs.h <<\_ACEOF
44823 #define wxUSE_DATAOBJ 1
44824 _ACEOF
44825
44826 fi
44827 else
44828 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44829 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44830
44831 wxUSE_CLIPBOARD=no
44832 wxUSE_DRAG_AND_DROP=no
44833 wxUSE_DATAOBJ=no
44834 wxUSE_OLE=no
44835 fi
44836
44837 if test "$wxUSE_METAFILE" = "yes"; then
44838 cat >>confdefs.h <<\_ACEOF
44839 #define wxUSE_METAFILE 1
44840 _ACEOF
44841
44842
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_ENH_METAFILE 1
44845 _ACEOF
44846
44847 fi
44848 fi
44849
44850 if test "$wxUSE_IPC" = "yes"; then
44851 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44852 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44853 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44854 wxUSE_IPC=no
44855 fi
44856
44857 if test "$wxUSE_IPC" = "yes"; then
44858 cat >>confdefs.h <<\_ACEOF
44859 #define wxUSE_IPC 1
44860 _ACEOF
44861
44862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44863 fi
44864 fi
44865
44866 if test "$wxUSE_DATAOBJ" = "yes"; then
44867 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44868 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44869 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44870 wxUSE_DATAOBJ=no
44871 else
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_DATAOBJ 1
44874 _ACEOF
44875
44876 fi
44877 else
44878 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44879 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44880 wxUSE_CLIPBOARD=no
44881 wxUSE_DRAG_AND_DROP=no
44882 fi
44883
44884 if test "$wxUSE_CLIPBOARD" = "yes"; then
44885 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44886 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44887 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44888 wxUSE_CLIPBOARD=no
44889 fi
44890
44891 if test "$wxUSE_CLIPBOARD" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_CLIPBOARD 1
44894 _ACEOF
44895
44896 fi
44897 fi
44898
44899 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44900 if test "$wxUSE_GTK" = 1; then
44901 if test "$WXGTK12" != 1; then
44902 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44903 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44904 wxUSE_DRAG_AND_DROP=no
44905 fi
44906 fi
44907
44908 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44909 "$wxUSE_DFB" = 1; then
44910 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44911 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44912 wxUSE_DRAG_AND_DROP=no
44913 fi
44914
44915 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_DRAG_AND_DROP 1
44918 _ACEOF
44919
44920 fi
44921
44922 fi
44923
44924 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44926 fi
44927
44928 if test "$wxUSE_SPLINES" = "yes" ; then
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_SPLINES 1
44931 _ACEOF
44932
44933 fi
44934
44935 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_MOUSEWHEEL 1
44938 _ACEOF
44939
44940 fi
44941
44942
44943 USES_CONTROLS=0
44944 if test "$wxUSE_CONTROLS" = "yes"; then
44945 USES_CONTROLS=1
44946 fi
44947
44948 if test "$wxUSE_ACCEL" = "yes"; then
44949 cat >>confdefs.h <<\_ACEOF
44950 #define wxUSE_ACCEL 1
44951 _ACEOF
44952
44953 USES_CONTROLS=1
44954 fi
44955
44956 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44957 cat >>confdefs.h <<\_ACEOF
44958 #define wxUSE_ANIMATIONCTRL 1
44959 _ACEOF
44960
44961 USES_CONTROLS=1
44962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44963 fi
44964
44965 if test "$wxUSE_BUTTON" = "yes"; then
44966 cat >>confdefs.h <<\_ACEOF
44967 #define wxUSE_BUTTON 1
44968 _ACEOF
44969
44970 USES_CONTROLS=1
44971 fi
44972
44973 if test "$wxUSE_BMPBUTTON" = "yes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_BMPBUTTON 1
44976 _ACEOF
44977
44978 USES_CONTROLS=1
44979 fi
44980
44981 if test "$wxUSE_CALCTRL" = "yes"; then
44982 cat >>confdefs.h <<\_ACEOF
44983 #define wxUSE_CALENDARCTRL 1
44984 _ACEOF
44985
44986 USES_CONTROLS=1
44987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44988 fi
44989
44990 if test "$wxUSE_CARET" = "yes"; then
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_CARET 1
44993 _ACEOF
44994
44995 USES_CONTROLS=1
44996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44997 fi
44998
44999 if test "$wxUSE_COLLPANE" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_COLLPANE 1
45002 _ACEOF
45003
45004 USES_CONTROLS=1
45005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45006 fi
45007
45008 if test "$wxUSE_COMBOBOX" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_COMBOBOX 1
45011 _ACEOF
45012
45013 USES_CONTROLS=1
45014 fi
45015
45016 if test "$wxUSE_COMBOCTRL" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_COMBOCTRL 1
45019 _ACEOF
45020
45021 USES_CONTROLS=1
45022 fi
45023
45024 if test "$wxUSE_CHOICE" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_CHOICE 1
45027 _ACEOF
45028
45029 USES_CONTROLS=1
45030 fi
45031
45032 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_CHOICEBOOK 1
45035 _ACEOF
45036
45037 USES_CONTROLS=1
45038 fi
45039
45040 if test "$wxUSE_CHECKBOX" = "yes"; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_CHECKBOX 1
45043 _ACEOF
45044
45045 USES_CONTROLS=1
45046 fi
45047
45048 if test "$wxUSE_CHECKLST" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_CHECKLISTBOX 1
45051 _ACEOF
45052
45053 USES_CONTROLS=1
45054 fi
45055
45056 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_COLOURPICKERCTRL 1
45059 _ACEOF
45060
45061 USES_CONTROLS=1
45062 fi
45063
45064 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_DATEPICKCTRL 1
45067 _ACEOF
45068
45069 USES_CONTROLS=1
45070 fi
45071
45072 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_DIRPICKERCTRL 1
45075 _ACEOF
45076
45077 USES_CONTROLS=1
45078 fi
45079
45080 if test "$wxUSE_FILECTRL" = "yes"; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_FILECTRL 1
45083 _ACEOF
45084
45085 USES_CONTROLS=1
45086 fi
45087
45088 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_FILEPICKERCTRL 1
45091 _ACEOF
45092
45093 USES_CONTROLS=1
45094 fi
45095
45096 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45097 cat >>confdefs.h <<\_ACEOF
45098 #define wxUSE_FONTPICKERCTRL 1
45099 _ACEOF
45100
45101 USES_CONTROLS=1
45102 fi
45103
45104 if test "$wxUSE_DISPLAY" = "yes"; then
45105 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45106 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45107 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45108 wxUSE_DISPLAY=no
45109 else
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_DISPLAY 1
45112 _ACEOF
45113
45114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45115 fi
45116 fi
45117
45118 if test "$wxUSE_DETECT_SM" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_DETECT_SM 1
45121 _ACEOF
45122
45123 fi
45124
45125 if test "$wxUSE_GAUGE" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_GAUGE 1
45128 _ACEOF
45129
45130 USES_CONTROLS=1
45131 fi
45132
45133 if test "$wxUSE_GRID" = "yes"; then
45134 cat >>confdefs.h <<\_ACEOF
45135 #define wxUSE_GRID 1
45136 _ACEOF
45137
45138 USES_CONTROLS=1
45139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45140 fi
45141
45142 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_HYPERLINKCTRL 1
45145 _ACEOF
45146
45147 USES_CONTROLS=1
45148 fi
45149
45150 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_BITMAPCOMBOBOX 1
45153 _ACEOF
45154
45155 USES_CONTROLS=1
45156 fi
45157
45158 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_DATAVIEWCTRL 1
45161 _ACEOF
45162
45163 USES_CONTROLS=1
45164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45165 fi
45166
45167 if test "$wxUSE_IMAGLIST" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_IMAGLIST 1
45170 _ACEOF
45171
45172 fi
45173
45174 if test "$wxUSE_LISTBOOK" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_LISTBOOK 1
45177 _ACEOF
45178
45179 USES_CONTROLS=1
45180 fi
45181
45182 if test "$wxUSE_LISTBOX" = "yes"; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_LISTBOX 1
45185 _ACEOF
45186
45187 USES_CONTROLS=1
45188 fi
45189
45190 if test "$wxUSE_LISTCTRL" = "yes"; then
45191 if test "$wxUSE_IMAGLIST" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_LISTCTRL 1
45194 _ACEOF
45195
45196 USES_CONTROLS=1
45197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45198 else
45199 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45200 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45201 fi
45202 fi
45203
45204 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_EDITABLELISTBOX 1
45207 _ACEOF
45208
45209 USES_CONTROLS=1
45210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45211 fi
45212
45213 if test "$wxUSE_NOTEBOOK" = "yes"; then
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_NOTEBOOK 1
45216 _ACEOF
45217
45218 USES_CONTROLS=1
45219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45220 fi
45221
45222 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_NOTIFICATION_MESSAGE 1
45225 _ACEOF
45226
45227 fi
45228
45229 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_ODCOMBOBOX 1
45232 _ACEOF
45233
45234 USES_CONTROLS=1
45235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45236 fi
45237
45238 if test "$wxUSE_RADIOBOX" = "yes"; then
45239 cat >>confdefs.h <<\_ACEOF
45240 #define wxUSE_RADIOBOX 1
45241 _ACEOF
45242
45243 USES_CONTROLS=1
45244 fi
45245
45246 if test "$wxUSE_RADIOBTN" = "yes"; then
45247 cat >>confdefs.h <<\_ACEOF
45248 #define wxUSE_RADIOBTN 1
45249 _ACEOF
45250
45251 USES_CONTROLS=1
45252 fi
45253
45254 if test "$wxUSE_SASH" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_SASH 1
45257 _ACEOF
45258
45259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45260 fi
45261
45262 if test "$wxUSE_SCROLLBAR" = "yes"; then
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_SCROLLBAR 1
45265 _ACEOF
45266
45267 USES_CONTROLS=1
45268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45269 fi
45270
45271 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_SEARCHCTRL 1
45274 _ACEOF
45275
45276 USES_CONTROLS=1
45277 fi
45278
45279 if test "$wxUSE_SLIDER" = "yes"; then
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_SLIDER 1
45282 _ACEOF
45283
45284 USES_CONTROLS=1
45285 fi
45286
45287 if test "$wxUSE_SPINBTN" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_SPINBTN 1
45290 _ACEOF
45291
45292 USES_CONTROLS=1
45293 fi
45294
45295 if test "$wxUSE_SPINCTRL" = "yes"; then
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_SPINCTRL 1
45298 _ACEOF
45299
45300 USES_CONTROLS=1
45301 fi
45302
45303 if test "$wxUSE_SPLITTER" = "yes"; then
45304 cat >>confdefs.h <<\_ACEOF
45305 #define wxUSE_SPLITTER 1
45306 _ACEOF
45307
45308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45309 fi
45310
45311 if test "$wxUSE_STATBMP" = "yes"; then
45312 cat >>confdefs.h <<\_ACEOF
45313 #define wxUSE_STATBMP 1
45314 _ACEOF
45315
45316 USES_CONTROLS=1
45317 fi
45318
45319 if test "$wxUSE_STATBOX" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_STATBOX 1
45322 _ACEOF
45323
45324 USES_CONTROLS=1
45325 fi
45326
45327 if test "$wxUSE_STATTEXT" = "yes"; then
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_STATTEXT 1
45330 _ACEOF
45331
45332 USES_CONTROLS=1
45333 fi
45334
45335 if test "$wxUSE_STATLINE" = "yes"; then
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_STATLINE 1
45338 _ACEOF
45339
45340 USES_CONTROLS=1
45341 fi
45342
45343 if test "$wxUSE_STATUSBAR" = "yes"; then
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_NATIVE_STATUSBAR 1
45346 _ACEOF
45347
45348 cat >>confdefs.h <<\_ACEOF
45349 #define wxUSE_STATUSBAR 1
45350 _ACEOF
45351
45352 USES_CONTROLS=1
45353
45354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45355 fi
45356
45357 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_TAB_DIALOG 1
45360 _ACEOF
45361
45362 fi
45363
45364 if test "$wxUSE_TEXTCTRL" = "yes"; then
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_TEXTCTRL 1
45367 _ACEOF
45368
45369 USES_CONTROLS=1
45370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45371 fi
45372
45373 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45374 if test "$wxUSE_COCOA" = 1 ; then
45375 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45376 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45377 wxUSE_TOGGLEBTN=no
45378 fi
45379
45380 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_TOGGLEBTN 1
45383 _ACEOF
45384
45385 USES_CONTROLS=1
45386 fi
45387 fi
45388
45389 if test "$wxUSE_TOOLBAR" = "yes"; then
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_TOOLBAR 1
45392 _ACEOF
45393
45394 USES_CONTROLS=1
45395
45396 if test "$wxUSE_UNIVERSAL" = "yes"; then
45397 wxUSE_TOOLBAR_NATIVE="no"
45398 else
45399 wxUSE_TOOLBAR_NATIVE="yes"
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_TOOLBAR_NATIVE 1
45402 _ACEOF
45403
45404 fi
45405
45406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45407 fi
45408
45409 if test "$wxUSE_TOOLTIPS" = "yes"; then
45410 if test "$wxUSE_MOTIF" = 1; then
45411 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45412 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45413 else
45414 if test "$wxUSE_UNIVERSAL" = "yes"; then
45415 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45416 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45417 else
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_TOOLTIPS 1
45420 _ACEOF
45421
45422 fi
45423 fi
45424 fi
45425
45426 if test "$wxUSE_TREEBOOK" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_TREEBOOK 1
45429 _ACEOF
45430
45431 USES_CONTROLS=1
45432 fi
45433
45434 if test "$wxUSE_TOOLBOOK" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_TOOLBOOK 1
45437 _ACEOF
45438
45439 USES_CONTROLS=1
45440 fi
45441
45442 if test "$wxUSE_TREECTRL" = "yes"; then
45443 if test "$wxUSE_IMAGLIST" = "yes"; then
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_TREECTRL 1
45446 _ACEOF
45447
45448 USES_CONTROLS=1
45449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45450 else
45451 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45452 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45453 fi
45454 fi
45455
45456 if test "$wxUSE_POPUPWIN" = "yes"; then
45457 if test "$wxUSE_COCOA" = 1 ; then
45458 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45459 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45460 else
45461 if test "$wxUSE_PM" = 1; then
45462 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45463 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45464 else
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_POPUPWIN 1
45467 _ACEOF
45468
45469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45470
45471 USES_CONTROLS=1
45472 fi
45473 fi
45474 fi
45475
45476 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45477 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45478 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45479 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45480 else
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_DIALUP_MANAGER 1
45483 _ACEOF
45484
45485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45486 fi
45487 fi
45488
45489 if test "$wxUSE_TIPWINDOW" = "yes"; then
45490 if test "$wxUSE_PM" = 1; then
45491 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45492 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45493 else
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_TIPWINDOW 1
45496 _ACEOF
45497
45498 fi
45499 fi
45500
45501 if test "$USES_CONTROLS" = 1; then
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_CONTROLS 1
45504 _ACEOF
45505
45506 fi
45507
45508
45509 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_ACCESSIBILITY 1
45512 _ACEOF
45513
45514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45515 fi
45516
45517 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_DRAGIMAGE 1
45520 _ACEOF
45521
45522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45523 fi
45524
45525 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45526 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45527 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45528 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45529 else
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_EXCEPTIONS 1
45532 _ACEOF
45533
45534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45535 fi
45536 fi
45537
45538 USE_HTML=0
45539 if test "$wxUSE_HTML" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_HTML 1
45542 _ACEOF
45543
45544 USE_HTML=1
45545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45546 if test "$wxUSE_MAC" = 1; then
45547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45548 fi
45549 fi
45550 if test "$wxUSE_WEBKIT" = "yes"; then
45551 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45552 old_CPPFLAGS="$CPPFLAGS"
45553 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45554 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45555 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45556 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45557 echo $ECHO_N "(cached) $ECHO_C" >&6
45558 else
45559 cat >conftest.$ac_ext <<_ACEOF
45560 /* confdefs.h. */
45561 _ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45565
45566 #include <Carbon/Carbon.h>
45567 #include <WebKit/WebKit.h>
45568
45569
45570 #include <WebKit/HIWebView.h>
45571 _ACEOF
45572 rm -f conftest.$ac_objext
45573 if { (ac_try="$ac_compile"
45574 case "(($ac_try" in
45575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45576 *) ac_try_echo=$ac_try;;
45577 esac
45578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45579 (eval "$ac_compile") 2>conftest.er1
45580 ac_status=$?
45581 grep -v '^ *+' conftest.er1 >conftest.err
45582 rm -f conftest.er1
45583 cat conftest.err >&5
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); } && {
45586 test -z "$ac_c_werror_flag" ||
45587 test ! -s conftest.err
45588 } && test -s conftest.$ac_objext; then
45589 ac_cv_header_WebKit_HIWebView_h=yes
45590 else
45591 echo "$as_me: failed program was:" >&5
45592 sed 's/^/| /' conftest.$ac_ext >&5
45593
45594 ac_cv_header_WebKit_HIWebView_h=no
45595 fi
45596
45597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45598 fi
45599 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45600 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45601 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45602
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_WEBKIT 1
45605 _ACEOF
45606
45607 WEBKIT_LINK="-framework WebKit"
45608
45609 else
45610
45611 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45612 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45613 wxUSE_WEBKIT=no
45614
45615 fi
45616
45617
45618 CPPFLAGS="$old_CPPFLAGS"
45619 elif test "$wxUSE_COCOA" = 1; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_WEBKIT 1
45622 _ACEOF
45623
45624 else
45625 wxUSE_WEBKIT=no
45626 fi
45627 fi
45628
45629 USE_XRC=0
45630 if test "$wxUSE_XRC" = "yes"; then
45631 if test "$wxUSE_XML" != "yes"; then
45632 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45633 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45634 wxUSE_XRC=no
45635 else
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_XRC 1
45638 _ACEOF
45639
45640 USE_XRC=1
45641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45642 fi
45643 fi
45644
45645 USE_AUI=0
45646 if test "$wxUSE_AUI" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_AUI 1
45649 _ACEOF
45650
45651 USE_AUI=1
45652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45653 fi
45654
45655 USE_STC=0
45656 if test "$wxUSE_STC" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_STC 1
45659 _ACEOF
45660
45661 USE_STC=1
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45663 fi
45664
45665 if test "$wxUSE_MENUS" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_MENUS 1
45668 _ACEOF
45669
45670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45671 fi
45672
45673 if test "$wxUSE_METAFILE" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_METAFILE 1
45676 _ACEOF
45677
45678 fi
45679
45680 if test "$wxUSE_MIMETYPE" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_MIMETYPE 1
45683 _ACEOF
45684
45685 fi
45686
45687 if test "$wxUSE_MINIFRAME" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_MINIFRAME 1
45690 _ACEOF
45691
45692 fi
45693
45694 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_SYSTEM_OPTIONS 1
45697 _ACEOF
45698
45699 fi
45700
45701 if test "$wxUSE_TASKBARICON" = "yes"; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_TASKBARICON 1
45704 _ACEOF
45705
45706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45707 fi
45708
45709
45710 if test "$wxUSE_VALIDATORS" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_VALIDATORS 1
45713 _ACEOF
45714
45715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45716 fi
45717
45718 if test "$wxUSE_PALETTE" = "yes" ; then
45719 if test "$wxUSE_DFB" = 1; then
45720 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45721 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45722 wxUSE_PALETTE=no
45723 else
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_PALETTE 1
45726 _ACEOF
45727
45728 fi
45729 fi
45730
45731 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45732 LIBS=" -lunicows $LIBS"
45733 fi
45734
45735 USE_RICHTEXT=0
45736 if test "$wxUSE_RICHTEXT" = "yes"; then
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_RICHTEXT 1
45739 _ACEOF
45740
45741 USE_RICHTEXT=1
45742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45743 fi
45744
45745
45746 if test "$wxUSE_IMAGE" = "yes" ; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_IMAGE 1
45749 _ACEOF
45750
45751
45752 if test "$wxUSE_GIF" = "yes" ; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_GIF 1
45755 _ACEOF
45756
45757 fi
45758
45759 if test "$wxUSE_PCX" = "yes" ; then
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_PCX 1
45762 _ACEOF
45763
45764 fi
45765
45766 if test "$wxUSE_TGA" = "yes" ; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_TGA 1
45769 _ACEOF
45770
45771 fi
45772
45773 if test "$wxUSE_IFF" = "yes" ; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_IFF 1
45776 _ACEOF
45777
45778 fi
45779
45780 if test "$wxUSE_PNM" = "yes" ; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_PNM 1
45783 _ACEOF
45784
45785 fi
45786
45787 if test "$wxUSE_XPM" = "yes" ; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_XPM 1
45790 _ACEOF
45791
45792 fi
45793
45794 if test "$wxUSE_ICO_CUR" = "yes" ; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_ICO_CUR 1
45797 _ACEOF
45798
45799 fi
45800 fi
45801
45802
45803 if test "$wxUSE_ABOUTDLG" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_ABOUTDLG 1
45806 _ACEOF
45807
45808 fi
45809
45810 if test "$wxUSE_CHOICEDLG" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_CHOICEDLG 1
45813 _ACEOF
45814
45815 fi
45816
45817 if test "$wxUSE_COLOURDLG" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_COLOURDLG 1
45820 _ACEOF
45821
45822 fi
45823
45824 if test "$wxUSE_FILEDLG" = "yes"; then
45825 cat >>confdefs.h <<\_ACEOF
45826 #define wxUSE_FILEDLG 1
45827 _ACEOF
45828
45829 fi
45830
45831 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_FINDREPLDLG 1
45834 _ACEOF
45835
45836 fi
45837
45838 if test "$wxUSE_FONTDLG" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_FONTDLG 1
45841 _ACEOF
45842
45843 fi
45844
45845 if test "$wxUSE_DIRDLG" = "yes"; then
45846 if test "$wxUSE_TREECTRL" != "yes"; then
45847 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45848 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45849 else
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_DIRDLG 1
45852 _ACEOF
45853
45854 fi
45855 fi
45856
45857 if test "$wxUSE_MSGDLG" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_MSGDLG 1
45860 _ACEOF
45861
45862 fi
45863
45864 if test "$wxUSE_NUMBERDLG" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_NUMBERDLG 1
45867 _ACEOF
45868
45869 fi
45870
45871 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45872 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45873 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45874 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45875 else
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_PROGRESSDLG 1
45878 _ACEOF
45879
45880 fi
45881 fi
45882
45883 if test "$wxUSE_SPLASH" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_SPLASH 1
45886 _ACEOF
45887
45888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45889 fi
45890
45891 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45892 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45893 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45894 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45895 else
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_STARTUP_TIPS 1
45898 _ACEOF
45899
45900 fi
45901 fi
45902
45903 if test "$wxUSE_TEXTDLG" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_TEXTDLG 1
45906 _ACEOF
45907
45908 fi
45909
45910 if test "$wxUSE_WIZARDDLG" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_WIZARDDLG 1
45913 _ACEOF
45914
45915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45916 fi
45917
45918
45919 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45920 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45921 cat >>confdefs.h <<\_ACEOF
45922 #define wxUSE_OWNER_DRAWN 1
45923 _ACEOF
45924
45925 fi
45926 fi
45927
45928
45929 if test "$wxUSE_MSW" = 1 ; then
45930
45931 if test "$wxUSE_DC_CACHEING" = "yes"; then
45932 cat >>confdefs.h <<\_ACEOF
45933 #define wxUSE_DC_CACHEING 1
45934 _ACEOF
45935
45936 fi
45937
45938 if test "$wxUSE_DIB" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_WXDIB 1
45941 _ACEOF
45942
45943 fi
45944
45945 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45948 _ACEOF
45949
45950 fi
45951
45952 if test "$wxUSE_UXTHEME" = "yes"; then
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_UXTHEME 1
45955 _ACEOF
45956
45957 fi
45958
45959 fi
45960
45961 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_AUTOID_MANAGEMENT 1
45964 _ACEOF
45965
45966 fi
45967
45968 if test "$USE_WIN32" = 1 ; then
45969 if test "$wxUSE_INICONF" = "yes"; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_INICONF 1
45972 _ACEOF
45973
45974 fi
45975
45976 if test "$wxUSE_REGKEY" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_REGKEY 1
45979 _ACEOF
45980
45981 fi
45982 fi
45983
45984
45985 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45986 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_GRAPHICS_CONTEXT 1
45989 _ACEOF
45990
45991 elif test "$wxUSE_GTK" != 1; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_GRAPHICS_CONTEXT 1
45994 _ACEOF
45995
45996 else
45997
45998 pkg_failed=no
45999 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46000 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46001
46002 if test -n "$PKG_CONFIG"; then
46003 if test -n "$CAIRO_CFLAGS"; then
46004 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46005 else
46006 if test -n "$PKG_CONFIG" && \
46007 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46008 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46009 ac_status=$?
46010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46011 (exit $ac_status); }; then
46012 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46013 else
46014 pkg_failed=yes
46015 fi
46016 fi
46017 else
46018 pkg_failed=untried
46019 fi
46020 if test -n "$PKG_CONFIG"; then
46021 if test -n "$CAIRO_LIBS"; then
46022 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46023 else
46024 if test -n "$PKG_CONFIG" && \
46025 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46026 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46027 ac_status=$?
46028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029 (exit $ac_status); }; then
46030 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46031 else
46032 pkg_failed=yes
46033 fi
46034 fi
46035 else
46036 pkg_failed=untried
46037 fi
46038
46039
46040
46041 if test $pkg_failed = yes; then
46042
46043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46044 _pkg_short_errors_supported=yes
46045 else
46046 _pkg_short_errors_supported=no
46047 fi
46048 if test $_pkg_short_errors_supported = yes; then
46049 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46050 else
46051 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46052 fi
46053 # Put the nasty error message in config.log where it belongs
46054 echo "$CAIRO_PKG_ERRORS" >&5
46055
46056 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46057 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46058
46059 elif test $pkg_failed = untried; then
46060 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46061 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46062
46063 else
46064 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46065 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46066 { echo "$as_me:$LINENO: result: yes" >&5
46067 echo "${ECHO_T}yes" >&6; }
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_GRAPHICS_CONTEXT 1
46070 _ACEOF
46071
46072 fi
46073 fi
46074 fi
46075
46076
46077 USE_MEDIA=0
46078
46079 if test "$wxUSE_MEDIACTRL" = "yes"; then
46080 USE_MEDIA=1
46081
46082 if test "$wxUSE_GTK" = 1; then
46083 wxUSE_GSTREAMER="no"
46084
46085 GST_VERSION_MAJOR=0
46086 GST_VERSION_MINOR=10
46087 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46088
46089 if test "$wxUSE_GSTREAMER8" = "no"; then
46090
46091 pkg_failed=no
46092 { echo "$as_me:$LINENO: checking for GST" >&5
46093 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46094
46095 if test -n "$PKG_CONFIG"; then
46096 if test -n "$GST_CFLAGS"; then
46097 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46098 else
46099 if test -n "$PKG_CONFIG" && \
46100 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46101 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46102 ac_status=$?
46103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104 (exit $ac_status); }; then
46105 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46106 else
46107 pkg_failed=yes
46108 fi
46109 fi
46110 else
46111 pkg_failed=untried
46112 fi
46113 if test -n "$PKG_CONFIG"; then
46114 if test -n "$GST_LIBS"; then
46115 pkg_cv_GST_LIBS="$GST_LIBS"
46116 else
46117 if test -n "$PKG_CONFIG" && \
46118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46119 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46120 ac_status=$?
46121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46122 (exit $ac_status); }; then
46123 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46124 else
46125 pkg_failed=yes
46126 fi
46127 fi
46128 else
46129 pkg_failed=untried
46130 fi
46131
46132
46133
46134 if test $pkg_failed = yes; then
46135
46136 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46137 _pkg_short_errors_supported=yes
46138 else
46139 _pkg_short_errors_supported=no
46140 fi
46141 if test $_pkg_short_errors_supported = yes; then
46142 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46143 else
46144 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46145 fi
46146 # Put the nasty error message in config.log where it belongs
46147 echo "$GST_PKG_ERRORS" >&5
46148
46149
46150 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46151 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46152 GST_VERSION_MINOR=8
46153
46154
46155 elif test $pkg_failed = untried; then
46156
46157 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46158 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46159 GST_VERSION_MINOR=8
46160
46161
46162 else
46163 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46164 GST_LIBS=$pkg_cv_GST_LIBS
46165 { echo "$as_me:$LINENO: result: yes" >&5
46166 echo "${ECHO_T}yes" >&6; }
46167
46168 wxUSE_GSTREAMER="yes"
46169 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46170
46171 fi
46172 else
46173 GST_VERSION_MINOR=8
46174 fi
46175
46176 if test $GST_VERSION_MINOR = "8"; then
46177 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46178
46179 pkg_failed=no
46180 { echo "$as_me:$LINENO: checking for GST" >&5
46181 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46182
46183 if test -n "$PKG_CONFIG"; then
46184 if test -n "$GST_CFLAGS"; then
46185 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46186 else
46187 if test -n "$PKG_CONFIG" && \
46188 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46189 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46190 ac_status=$?
46191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46192 (exit $ac_status); }; then
46193 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46194 else
46195 pkg_failed=yes
46196 fi
46197 fi
46198 else
46199 pkg_failed=untried
46200 fi
46201 if test -n "$PKG_CONFIG"; then
46202 if test -n "$GST_LIBS"; then
46203 pkg_cv_GST_LIBS="$GST_LIBS"
46204 else
46205 if test -n "$PKG_CONFIG" && \
46206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46207 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46208 ac_status=$?
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); }; then
46211 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46212 else
46213 pkg_failed=yes
46214 fi
46215 fi
46216 else
46217 pkg_failed=untried
46218 fi
46219
46220
46221
46222 if test $pkg_failed = yes; then
46223
46224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46225 _pkg_short_errors_supported=yes
46226 else
46227 _pkg_short_errors_supported=no
46228 fi
46229 if test $_pkg_short_errors_supported = yes; then
46230 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46231 else
46232 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46233 fi
46234 # Put the nasty error message in config.log where it belongs
46235 echo "$GST_PKG_ERRORS" >&5
46236
46237
46238 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46239 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46240
46241 elif test $pkg_failed = untried; then
46242
46243 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46244 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46245
46246 else
46247 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46248 GST_LIBS=$pkg_cv_GST_LIBS
46249 { echo "$as_me:$LINENO: result: yes" >&5
46250 echo "${ECHO_T}yes" >&6; }
46251 wxUSE_GSTREAMER="yes"
46252 fi
46253 fi
46254
46255
46256 if test "$wxUSE_GSTREAMER" = "yes"; then
46257 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46258 EXTRALIBS_MEDIA="$GST_LIBS"
46259
46260 cat >>confdefs.h <<\_ACEOF
46261 #define wxUSE_GSTREAMER 1
46262 _ACEOF
46263
46264 else
46265 USE_MEDIA=0
46266 fi
46267 fi
46268
46269 if test $USE_MEDIA = 1; then
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_MEDIACTRL 1
46273 _ACEOF
46274
46275 fi
46276 fi
46277
46278
46279 if test "$cross_compiling" = "yes"; then
46280 OSINFO="\"$host\""
46281 else
46282 OSINFO=`uname -s -r -m`
46283 OSINFO="\"$OSINFO\""
46284 fi
46285
46286 cat >>confdefs.h <<_ACEOF
46287 #define WXWIN_OS_DESCRIPTION $OSINFO
46288 _ACEOF
46289
46290
46291
46292 if test "x$prefix" != "xNONE"; then
46293 wxPREFIX=$prefix
46294 else
46295 wxPREFIX=$ac_default_prefix
46296 fi
46297
46298 cat >>confdefs.h <<_ACEOF
46299 #define wxINSTALL_PREFIX "$wxPREFIX"
46300 _ACEOF
46301
46302
46303
46304
46305 STD_BASE_LIBS="base"
46306 STD_GUI_LIBS=""
46307 BUILT_WX_LIBS="base"
46308 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46309
46310 if test "$wxUSE_SOCKETS" = "yes" ; then
46311 STD_BASE_LIBS="net $STD_BASE_LIBS"
46312 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46313 fi
46314 if test "$wxUSE_XML" = "yes" ; then
46315 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46316 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46317 fi
46318
46319 if test "$wxUSE_GUI" = "yes"; then
46320 STD_GUI_LIBS="adv core"
46321 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46322
46323 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46324 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46325 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46326 fi
46327 if test "$wxUSE_HTML" = "yes" ; then
46328 STD_GUI_LIBS="html $STD_GUI_LIBS"
46329 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46330 fi
46331 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46332 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46333 fi
46334 if test "$wxUSE_OPENGL" = "yes" ; then
46335 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46336 fi
46337 if test "$wxUSE_AUI" = "yes" ; then
46338 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46339 fi
46340 if test "$wxUSE_STC" = "yes" ; then
46341 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46342 fi
46343 if test "$wxUSE_XRC" = "yes" ; then
46344 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46345 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46346 fi
46347 fi
46348
46349
46350
46351
46352
46353
46354
46355
46356 if test "$wxUSE_MAC" = 1 ; then
46357 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46358 if test "$USE_DARWIN" = 1; then
46359 LDFLAGS="$LDFLAGS -framework QuickTime"
46360 else
46361 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46362 fi
46363 fi
46364 if test "$USE_DARWIN" = 1; then
46365 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46366 else
46367 LDFLAGS="$LDFLAGS -lCarbonLib"
46368 fi
46369 fi
46370 if test "$wxUSE_COCOA" = 1 ; then
46371 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46372 if test "$wxUSE_MEDIACTRL" = "yes"; then
46373 LDFLAGS="$LDFLAGS -framework QuickTime"
46374 fi
46375 fi
46376 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46377 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46378 fi
46379
46380 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46381
46382 if test "$wxUSE_GUI" = "yes"; then
46383
46384
46385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46386 erase event exec font image minimal mobile \
46387 mobile/wxedit mobile/styles render \
46388 shaped svg taborder vscroll widgets"
46389
46390 if test "$wxUSE_MONOLITHIC" != "yes"; then
46391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46392 fi
46393 if test "$TOOLKIT" = "MSW"; then
46394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46395 if test "$wxUSE_UNIVERSAL" != "yes"; then
46396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46397 fi
46398 fi
46399 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46401 fi
46402 else
46403 SAMPLES_SUBDIRS="console"
46404 if test "$wxUSE_SOCKETS" = "yes" ; then
46405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46406 fi
46407 if test "$wxUSE_IPC" = "yes" ; then
46408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46409 fi
46410 fi
46411
46412
46413 if test "x$INTELCC" = "xyes" ; then
46414 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46415 elif test "$GCC" = yes ; then
46416 CWARNINGS="-Wall -Wundef"
46417 fi
46418
46419 if test "x$INTELCXX" = "xyes" ; then
46420 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46421 elif test "$GXX" = yes ; then
46422 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46423 fi
46424
46425
46426 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46427 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46428
46429
46430 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46431 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46432 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46433 $CPPFLAGS `
46434
46435 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46436 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46437 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46438
46439 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46440
46441
46442 if test "x$MWCC" = "xyes"; then
46443
46444 CC="$CC -cwd source -I-"
46445 CXX="$CXX -cwd source -I-"
46446 fi
46447
46448
46449 LIBS=`echo $LIBS`
46450 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46451 EXTRALIBS_XML="$EXPAT_LINK"
46452 EXTRALIBS_HTML="$MSPACK_LINK"
46453 EXTRALIBS_MEDIA="$GST_LIBS"
46454 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46455 if test "$wxUSE_GUI" = "yes"; then
46456 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46457 fi
46458 if test "$wxUSE_OPENGL" = "yes"; then
46459 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46460 fi
46461
46462 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46463
46464 WXCONFIG_LIBS="$LIBS"
46465
46466 if test "$wxUSE_REGEX" = "builtin" ; then
46467 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46468 fi
46469 if test "$wxUSE_EXPAT" = "builtin" ; then
46470 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46471 fi
46472 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46473 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46474 fi
46475 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46476 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46477 fi
46478 if test "$wxUSE_LIBPNG" = "builtin" ; then
46479 wxconfig_3rdparty="png $wxconfig_3rdparty"
46480 fi
46481 if test "$wxUSE_ZLIB" = "builtin" ; then
46482 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46483 fi
46484
46485 for i in $wxconfig_3rdparty ; do
46486 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46487 done
46488
46489
46490 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46491 WXUNIV=1
46492
46493 case "$wxUNIV_THEMES" in
46494 ''|all)
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_ALL_THEMES 1
46497 _ACEOF
46498
46499 ;;
46500
46501 *)
46502 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46503 cat >>confdefs.h <<_ACEOF
46504 #define wxUSE_THEME_$t 1
46505 _ACEOF
46506
46507 done
46508 esac
46509 else
46510 WXUNIV=0
46511 fi
46512
46513
46514
46515
46516
46517
46518
46519
46520 if test $wxUSE_MONOLITHIC = "yes" ; then
46521 MONOLITHIC=1
46522 else
46523 MONOLITHIC=0
46524 fi
46525
46526 if test $wxUSE_PLUGINS = "yes" ; then
46527 USE_PLUGINS=1
46528 else
46529 USE_PLUGINS=0
46530 fi
46531
46532 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46533 USE_QA=1
46534 else
46535 USE_QA=0
46536 fi
46537
46538 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46539 OFFICIAL_BUILD=1
46540 else
46541 OFFICIAL_BUILD=0
46542 fi
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567
46568
46569
46570
46571 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46572
46573
46574
46575
46576
46577
46578
46579
46580 case "$TOOLKIT" in
46581 GTK)
46582 TOOLKIT_DESC="GTK+"
46583 if test "$WXGTK2" = 1; then
46584 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46585 if test "$wxUSE_GTKPRINT" = "yes" ; then
46586 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46587 fi
46588 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46589 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46590 fi
46591 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46592 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46593 fi
46594 if test "$wxUSE_LIBHILDON" = "yes"; then
46595 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46596 fi
46597
46598 if test "$TOOLKIT_EXTRA" != ""; then
46599 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46600 fi
46601 fi
46602 ;;
46603
46604 ?*)
46605 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46606 ;;
46607
46608 *)
46609 TOOLKIT_DESC="base only"
46610 ;;
46611 esac
46612
46613 if test "$wxUSE_WINE" = "yes"; then
46614 BAKEFILE_FORCE_PLATFORM=win32
46615 fi
46616
46617 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46618 then
46619 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46620 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46621 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46622 echo $ECHO_N "(cached) $ECHO_C" >&6
46623 else
46624
46625 echo '#include <stdio.h>
46626 const wchar_t test_var[] = L"awidetest";' > conftest.h
46627
46628 echo '#include "conftest.h"
46629 int main()
46630 {
46631 printf("%ls", test_var);
46632 return 0;
46633 }' > conftest.cpp
46634
46635 wx_cv_gcc_pch_bug="pch not supported"
46636
46637 if $CXX conftest.h >/dev/null 2>&1
46638 then
46639 wx_cv_gcc_pch_bug=
46640
46641 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46642 then
46643 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46644 grep awidetest >/dev/null
46645 then
46646 wx_cv_gcc_pch_bug=no
46647 else
46648 wx_cv_gcc_pch_bug=yes
46649 fi
46650 fi
46651 fi
46652
46653 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46654
46655 fi
46656 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46657 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46658
46659 if test "$wx_cv_gcc_pch_bug" = yes; then
46660 bk_use_pch=no
46661 fi
46662 fi
46663
46664
46665
46666
46667
46668
46669
46670 if test "x$BAKEFILE_HOST" = "x"; then
46671 if test "x${host}" = "x" ; then
46672 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46673 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46674 { (exit 1); exit 1; }; }
46675 fi
46676
46677 BAKEFILE_HOST="${host}"
46678 fi
46679
46680 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46681
46682 if test -n "$ac_tool_prefix"; then
46683 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46684 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46687 if test "${ac_cv_prog_RANLIB+set}" = set; then
46688 echo $ECHO_N "(cached) $ECHO_C" >&6
46689 else
46690 if test -n "$RANLIB"; then
46691 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46692 else
46693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46694 for as_dir in $PATH
46695 do
46696 IFS=$as_save_IFS
46697 test -z "$as_dir" && as_dir=.
46698 for ac_exec_ext in '' $ac_executable_extensions; do
46699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46700 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46702 break 2
46703 fi
46704 done
46705 done
46706 IFS=$as_save_IFS
46707
46708 fi
46709 fi
46710 RANLIB=$ac_cv_prog_RANLIB
46711 if test -n "$RANLIB"; then
46712 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46713 echo "${ECHO_T}$RANLIB" >&6; }
46714 else
46715 { echo "$as_me:$LINENO: result: no" >&5
46716 echo "${ECHO_T}no" >&6; }
46717 fi
46718
46719
46720 fi
46721 if test -z "$ac_cv_prog_RANLIB"; then
46722 ac_ct_RANLIB=$RANLIB
46723 # Extract the first word of "ranlib", so it can be a program name with args.
46724 set dummy ranlib; ac_word=$2
46725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46728 echo $ECHO_N "(cached) $ECHO_C" >&6
46729 else
46730 if test -n "$ac_ct_RANLIB"; then
46731 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46732 else
46733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46734 for as_dir in $PATH
46735 do
46736 IFS=$as_save_IFS
46737 test -z "$as_dir" && as_dir=.
46738 for ac_exec_ext in '' $ac_executable_extensions; do
46739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46740 ac_cv_prog_ac_ct_RANLIB="ranlib"
46741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46742 break 2
46743 fi
46744 done
46745 done
46746 IFS=$as_save_IFS
46747
46748 fi
46749 fi
46750 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46751 if test -n "$ac_ct_RANLIB"; then
46752 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46753 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46754 else
46755 { echo "$as_me:$LINENO: result: no" >&5
46756 echo "${ECHO_T}no" >&6; }
46757 fi
46758
46759 if test "x$ac_ct_RANLIB" = x; then
46760 RANLIB=":"
46761 else
46762 case $cross_compiling:$ac_tool_warned in
46763 yes:)
46764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46765 whose name does not start with the host triplet. If you think this
46766 configuration is useful to you, please write to autoconf@gnu.org." >&5
46767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46768 whose name does not start with the host triplet. If you think this
46769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46770 ac_tool_warned=yes ;;
46771 esac
46772 RANLIB=$ac_ct_RANLIB
46773 fi
46774 else
46775 RANLIB="$ac_cv_prog_RANLIB"
46776 fi
46777
46778 # Find a good install program. We prefer a C program (faster),
46779 # so one script is as good as another. But avoid the broken or
46780 # incompatible versions:
46781 # SysV /etc/install, /usr/sbin/install
46782 # SunOS /usr/etc/install
46783 # IRIX /sbin/install
46784 # AIX /bin/install
46785 # AmigaOS /C/install, which installs bootblocks on floppy discs
46786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46787 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46788 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46789 # OS/2's system install, which has a completely different semantic
46790 # ./install, which can be erroneously created by make from ./install.sh.
46791 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46793 if test -z "$INSTALL"; then
46794 if test "${ac_cv_path_install+set}" = set; then
46795 echo $ECHO_N "(cached) $ECHO_C" >&6
46796 else
46797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46798 for as_dir in $PATH
46799 do
46800 IFS=$as_save_IFS
46801 test -z "$as_dir" && as_dir=.
46802 # Account for people who put trailing slashes in PATH elements.
46803 case $as_dir/ in
46804 ./ | .// | /cC/* | \
46805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46806 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46807 /usr/ucb/* ) ;;
46808 *)
46809 # OSF1 and SCO ODT 3.0 have their own names for install.
46810 # Don't use installbsd from OSF since it installs stuff as root
46811 # by default.
46812 for ac_prog in ginstall scoinst install; do
46813 for ac_exec_ext in '' $ac_executable_extensions; do
46814 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46815 if test $ac_prog = install &&
46816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46817 # AIX install. It has an incompatible calling convention.
46818 :
46819 elif test $ac_prog = install &&
46820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46821 # program-specific install script used by HP pwplus--don't use.
46822 :
46823 else
46824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46825 break 3
46826 fi
46827 fi
46828 done
46829 done
46830 ;;
46831 esac
46832 done
46833 IFS=$as_save_IFS
46834
46835
46836 fi
46837 if test "${ac_cv_path_install+set}" = set; then
46838 INSTALL=$ac_cv_path_install
46839 else
46840 # As a last resort, use the slow shell script. Don't cache a
46841 # value for INSTALL within a source directory, because that will
46842 # break other packages using the cache if that directory is
46843 # removed, or if the value is a relative name.
46844 INSTALL=$ac_install_sh
46845 fi
46846 fi
46847 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46848 echo "${ECHO_T}$INSTALL" >&6; }
46849
46850 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46851 # It thinks the first close brace ends the variable substitution.
46852 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46853
46854 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46855
46856 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46857
46858 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46859 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46860 LN_S=$as_ln_s
46861 if test "$LN_S" = "ln -s"; then
46862 { echo "$as_me:$LINENO: result: yes" >&5
46863 echo "${ECHO_T}yes" >&6; }
46864 else
46865 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46866 echo "${ECHO_T}no, using $LN_S" >&6; }
46867 fi
46868
46869
46870 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46871 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46872 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46873 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46874 echo $ECHO_N "(cached) $ECHO_C" >&6
46875 else
46876 cat >conftest.make <<\_ACEOF
46877 SHELL = /bin/sh
46878 all:
46879 @echo '@@@%%%=$(MAKE)=@@@%%%'
46880 _ACEOF
46881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46882 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46883 *@@@%%%=?*=@@@%%%*)
46884 eval ac_cv_prog_make_${ac_make}_set=yes;;
46885 *)
46886 eval ac_cv_prog_make_${ac_make}_set=no;;
46887 esac
46888 rm -f conftest.make
46889 fi
46890 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46891 { echo "$as_me:$LINENO: result: yes" >&5
46892 echo "${ECHO_T}yes" >&6; }
46893 SET_MAKE=
46894 else
46895 { echo "$as_me:$LINENO: result: no" >&5
46896 echo "${ECHO_T}no" >&6; }
46897 SET_MAKE="MAKE=${MAKE-make}"
46898 fi
46899
46900
46901
46902 if test "x$SUNCXX" = "xyes"; then
46903 AR=$CXX
46904 AROPTIONS="-xar -o"
46905
46906 elif test "x$SGICC" = "xyes"; then
46907 AR=$CXX
46908 AROPTIONS="-ar -o"
46909
46910 else
46911 if test -n "$ac_tool_prefix"; then
46912 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46913 set dummy ${ac_tool_prefix}ar; ac_word=$2
46914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46916 if test "${ac_cv_prog_AR+set}" = set; then
46917 echo $ECHO_N "(cached) $ECHO_C" >&6
46918 else
46919 if test -n "$AR"; then
46920 ac_cv_prog_AR="$AR" # Let the user override the test.
46921 else
46922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46923 for as_dir in $PATH
46924 do
46925 IFS=$as_save_IFS
46926 test -z "$as_dir" && as_dir=.
46927 for ac_exec_ext in '' $ac_executable_extensions; do
46928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46929 ac_cv_prog_AR="${ac_tool_prefix}ar"
46930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46931 break 2
46932 fi
46933 done
46934 done
46935 IFS=$as_save_IFS
46936
46937 fi
46938 fi
46939 AR=$ac_cv_prog_AR
46940 if test -n "$AR"; then
46941 { echo "$as_me:$LINENO: result: $AR" >&5
46942 echo "${ECHO_T}$AR" >&6; }
46943 else
46944 { echo "$as_me:$LINENO: result: no" >&5
46945 echo "${ECHO_T}no" >&6; }
46946 fi
46947
46948
46949 fi
46950 if test -z "$ac_cv_prog_AR"; then
46951 ac_ct_AR=$AR
46952 # Extract the first word of "ar", so it can be a program name with args.
46953 set dummy ar; ac_word=$2
46954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46956 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46958 else
46959 if test -n "$ac_ct_AR"; then
46960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46961 else
46962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46963 for as_dir in $PATH
46964 do
46965 IFS=$as_save_IFS
46966 test -z "$as_dir" && as_dir=.
46967 for ac_exec_ext in '' $ac_executable_extensions; do
46968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46969 ac_cv_prog_ac_ct_AR="ar"
46970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46971 break 2
46972 fi
46973 done
46974 done
46975 IFS=$as_save_IFS
46976
46977 fi
46978 fi
46979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46980 if test -n "$ac_ct_AR"; then
46981 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46982 echo "${ECHO_T}$ac_ct_AR" >&6; }
46983 else
46984 { echo "$as_me:$LINENO: result: no" >&5
46985 echo "${ECHO_T}no" >&6; }
46986 fi
46987
46988 if test "x$ac_ct_AR" = x; then
46989 AR="ar"
46990 else
46991 case $cross_compiling:$ac_tool_warned in
46992 yes:)
46993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46994 whose name does not start with the host triplet. If you think this
46995 configuration is useful to you, please write to autoconf@gnu.org." >&5
46996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46997 whose name does not start with the host triplet. If you think this
46998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46999 ac_tool_warned=yes ;;
47000 esac
47001 AR=$ac_ct_AR
47002 fi
47003 else
47004 AR="$ac_cv_prog_AR"
47005 fi
47006
47007 AROPTIONS=rcu
47008 fi
47009
47010
47011 if test -n "$ac_tool_prefix"; then
47012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47013 set dummy ${ac_tool_prefix}strip; ac_word=$2
47014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47016 if test "${ac_cv_prog_STRIP+set}" = set; then
47017 echo $ECHO_N "(cached) $ECHO_C" >&6
47018 else
47019 if test -n "$STRIP"; then
47020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47021 else
47022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47023 for as_dir in $PATH
47024 do
47025 IFS=$as_save_IFS
47026 test -z "$as_dir" && as_dir=.
47027 for ac_exec_ext in '' $ac_executable_extensions; do
47028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47031 break 2
47032 fi
47033 done
47034 done
47035 IFS=$as_save_IFS
47036
47037 fi
47038 fi
47039 STRIP=$ac_cv_prog_STRIP
47040 if test -n "$STRIP"; then
47041 { echo "$as_me:$LINENO: result: $STRIP" >&5
47042 echo "${ECHO_T}$STRIP" >&6; }
47043 else
47044 { echo "$as_me:$LINENO: result: no" >&5
47045 echo "${ECHO_T}no" >&6; }
47046 fi
47047
47048
47049 fi
47050 if test -z "$ac_cv_prog_STRIP"; then
47051 ac_ct_STRIP=$STRIP
47052 # Extract the first word of "strip", so it can be a program name with args.
47053 set dummy strip; ac_word=$2
47054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47056 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47057 echo $ECHO_N "(cached) $ECHO_C" >&6
47058 else
47059 if test -n "$ac_ct_STRIP"; then
47060 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47061 else
47062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47063 for as_dir in $PATH
47064 do
47065 IFS=$as_save_IFS
47066 test -z "$as_dir" && as_dir=.
47067 for ac_exec_ext in '' $ac_executable_extensions; do
47068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47069 ac_cv_prog_ac_ct_STRIP="strip"
47070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47071 break 2
47072 fi
47073 done
47074 done
47075 IFS=$as_save_IFS
47076
47077 fi
47078 fi
47079 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47080 if test -n "$ac_ct_STRIP"; then
47081 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47082 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47083 else
47084 { echo "$as_me:$LINENO: result: no" >&5
47085 echo "${ECHO_T}no" >&6; }
47086 fi
47087
47088 if test "x$ac_ct_STRIP" = x; then
47089 STRIP=":"
47090 else
47091 case $cross_compiling:$ac_tool_warned in
47092 yes:)
47093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47094 whose name does not start with the host triplet. If you think this
47095 configuration is useful to you, please write to autoconf@gnu.org." >&5
47096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47097 whose name does not start with the host triplet. If you think this
47098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47099 ac_tool_warned=yes ;;
47100 esac
47101 STRIP=$ac_ct_STRIP
47102 fi
47103 else
47104 STRIP="$ac_cv_prog_STRIP"
47105 fi
47106
47107 if test -n "$ac_tool_prefix"; then
47108 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47109 set dummy ${ac_tool_prefix}nm; ac_word=$2
47110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47112 if test "${ac_cv_prog_NM+set}" = set; then
47113 echo $ECHO_N "(cached) $ECHO_C" >&6
47114 else
47115 if test -n "$NM"; then
47116 ac_cv_prog_NM="$NM" # Let the user override the test.
47117 else
47118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47119 for as_dir in $PATH
47120 do
47121 IFS=$as_save_IFS
47122 test -z "$as_dir" && as_dir=.
47123 for ac_exec_ext in '' $ac_executable_extensions; do
47124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47125 ac_cv_prog_NM="${ac_tool_prefix}nm"
47126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47127 break 2
47128 fi
47129 done
47130 done
47131 IFS=$as_save_IFS
47132
47133 fi
47134 fi
47135 NM=$ac_cv_prog_NM
47136 if test -n "$NM"; then
47137 { echo "$as_me:$LINENO: result: $NM" >&5
47138 echo "${ECHO_T}$NM" >&6; }
47139 else
47140 { echo "$as_me:$LINENO: result: no" >&5
47141 echo "${ECHO_T}no" >&6; }
47142 fi
47143
47144
47145 fi
47146 if test -z "$ac_cv_prog_NM"; then
47147 ac_ct_NM=$NM
47148 # Extract the first word of "nm", so it can be a program name with args.
47149 set dummy nm; ac_word=$2
47150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47152 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47153 echo $ECHO_N "(cached) $ECHO_C" >&6
47154 else
47155 if test -n "$ac_ct_NM"; then
47156 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47157 else
47158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47159 for as_dir in $PATH
47160 do
47161 IFS=$as_save_IFS
47162 test -z "$as_dir" && as_dir=.
47163 for ac_exec_ext in '' $ac_executable_extensions; do
47164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47165 ac_cv_prog_ac_ct_NM="nm"
47166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47167 break 2
47168 fi
47169 done
47170 done
47171 IFS=$as_save_IFS
47172
47173 fi
47174 fi
47175 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47176 if test -n "$ac_ct_NM"; then
47177 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47178 echo "${ECHO_T}$ac_ct_NM" >&6; }
47179 else
47180 { echo "$as_me:$LINENO: result: no" >&5
47181 echo "${ECHO_T}no" >&6; }
47182 fi
47183
47184 if test "x$ac_ct_NM" = x; then
47185 NM=":"
47186 else
47187 case $cross_compiling:$ac_tool_warned in
47188 yes:)
47189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47190 whose name does not start with the host triplet. If you think this
47191 configuration is useful to you, please write to autoconf@gnu.org." >&5
47192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47193 whose name does not start with the host triplet. If you think this
47194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47195 ac_tool_warned=yes ;;
47196 esac
47197 NM=$ac_ct_NM
47198 fi
47199 else
47200 NM="$ac_cv_prog_NM"
47201 fi
47202
47203
47204 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47205 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47206 INSTALL_TEST_DIR=acbftest$$
47207 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47208 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47209 rmdir $INSTALL_TEST_DIR
47210 INSTALL_DIR='$(INSTALL) -d'
47211 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47212 echo "${ECHO_T}$INSTALL -d" >&6; }
47213 else
47214 INSTALL_DIR="mkdir -p"
47215 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47216 echo "${ECHO_T}mkdir -p" >&6; }
47217 fi
47218
47219
47220 LDFLAGS_GUI=
47221 case ${BAKEFILE_HOST} in
47222 *-*-cygwin* | *-*-mingw32* )
47223 LDFLAGS_GUI="-mwindows"
47224 esac
47225
47226
47227 fi
47228
47229 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47230 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47231 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47232 echo $ECHO_N "(cached) $ECHO_C" >&6
47233 else
47234
47235 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47236 egrep -s GNU > /dev/null); then
47237 bakefile_cv_prog_makeisgnu="yes"
47238 else
47239 bakefile_cv_prog_makeisgnu="no"
47240 fi
47241
47242 fi
47243 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47244 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47245
47246 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47247 IF_GNU_MAKE=""
47248 else
47249 IF_GNU_MAKE="#"
47250 fi
47251
47252
47253
47254 PLATFORM_UNIX=0
47255 PLATFORM_WIN32=0
47256 PLATFORM_MSDOS=0
47257 PLATFORM_MAC=0
47258 PLATFORM_MACOS=0
47259 PLATFORM_MACOSX=0
47260 PLATFORM_OS2=0
47261 PLATFORM_BEOS=0
47262
47263 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47264 case "${BAKEFILE_HOST}" in
47265 *-*-mingw32* )
47266 PLATFORM_WIN32=1
47267 ;;
47268 *-pc-msdosdjgpp )
47269 PLATFORM_MSDOS=1
47270 ;;
47271 *-pc-os2_emx | *-pc-os2-emx )
47272 PLATFORM_OS2=1
47273 ;;
47274 *-*-darwin* )
47275 PLATFORM_MAC=1
47276 PLATFORM_MACOSX=1
47277 ;;
47278 *-*-beos* )
47279 PLATFORM_BEOS=1
47280 ;;
47281 powerpc-apple-macos* )
47282 PLATFORM_MAC=1
47283 PLATFORM_MACOS=1
47284 ;;
47285 * )
47286 PLATFORM_UNIX=1
47287 ;;
47288 esac
47289 else
47290 case "$BAKEFILE_FORCE_PLATFORM" in
47291 win32 )
47292 PLATFORM_WIN32=1
47293 ;;
47294 msdos )
47295 PLATFORM_MSDOS=1
47296 ;;
47297 os2 )
47298 PLATFORM_OS2=1
47299 ;;
47300 darwin )
47301 PLATFORM_MAC=1
47302 PLATFORM_MACOSX=1
47303 ;;
47304 unix )
47305 PLATFORM_UNIX=1
47306 ;;
47307 beos )
47308 PLATFORM_BEOS=1
47309 ;;
47310 * )
47311 ;;
47312 esac
47313 fi
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325 # Check whether --enable-omf was given.
47326 if test "${enable_omf+set}" = set; then
47327 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47328 fi
47329
47330
47331 case "${BAKEFILE_HOST}" in
47332 *-*-darwin* )
47333 if test "x$GCC" = "xyes"; then
47334 CFLAGS="$CFLAGS -fno-common"
47335 CXXFLAGS="$CXXFLAGS -fno-common"
47336 fi
47337 if test "x$XLCC" = "xyes"; then
47338 CFLAGS="$CFLAGS -qnocommon"
47339 CXXFLAGS="$CXXFLAGS -qnocommon"
47340 fi
47341 ;;
47342
47343 *-pc-os2_emx | *-pc-os2-emx )
47344 if test "x$bk_os2_use_omf" = "xyes" ; then
47345 AR=emxomfar
47346 RANLIB=:
47347 LDFLAGS="-Zomf $LDFLAGS"
47348 CFLAGS="-Zomf $CFLAGS"
47349 CXXFLAGS="-Zomf $CXXFLAGS"
47350 OS2_LIBEXT="lib"
47351 else
47352 OS2_LIBEXT="a"
47353 fi
47354 ;;
47355
47356 i*86-*-beos* )
47357 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47358 ;;
47359 esac
47360
47361
47362 SO_SUFFIX="so"
47363 SO_SUFFIX_MODULE="so"
47364 EXEEXT=""
47365 LIBPREFIX="lib"
47366 LIBEXT=".a"
47367 DLLPREFIX="lib"
47368 DLLPREFIX_MODULE=""
47369 DLLIMP_SUFFIX=""
47370 dlldir="$libdir"
47371
47372 case "${BAKEFILE_HOST}" in
47373 *-hp-hpux* )
47374 SO_SUFFIX="sl"
47375 SO_SUFFIX_MODULE="sl"
47376 ;;
47377 *-*-aix* )
47378 SO_SUFFIX="a"
47379 SO_SUFFIX_MODULE="a"
47380 ;;
47381 *-*-cygwin* )
47382 SO_SUFFIX="dll"
47383 SO_SUFFIX_MODULE="dll"
47384 DLLIMP_SUFFIX="dll.a"
47385 EXEEXT=".exe"
47386 DLLPREFIX="cyg"
47387 dlldir="$bindir"
47388 ;;
47389 *-*-mingw32* )
47390 SO_SUFFIX="dll"
47391 SO_SUFFIX_MODULE="dll"
47392 DLLIMP_SUFFIX="dll.a"
47393 EXEEXT=".exe"
47394 DLLPREFIX=""
47395 dlldir="$bindir"
47396 ;;
47397 *-pc-msdosdjgpp )
47398 EXEEXT=".exe"
47399 DLLPREFIX=""
47400 dlldir="$bindir"
47401 ;;
47402 *-pc-os2_emx | *-pc-os2-emx )
47403 SO_SUFFIX="dll"
47404 SO_SUFFIX_MODULE="dll"
47405 DLLIMP_SUFFIX=$OS2_LIBEXT
47406 EXEEXT=".exe"
47407 DLLPREFIX=""
47408 LIBPREFIX=""
47409 LIBEXT=".$OS2_LIBEXT"
47410 dlldir="$bindir"
47411 ;;
47412 *-*-darwin* )
47413 SO_SUFFIX="dylib"
47414 SO_SUFFIX_MODULE="bundle"
47415 ;;
47416 esac
47417
47418 if test "x$DLLIMP_SUFFIX" = "x" ; then
47419 DLLIMP_SUFFIX="$SO_SUFFIX"
47420 fi
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433 PIC_FLAG=""
47434 if test "x$GCC" = "xyes"; then
47435 PIC_FLAG="-fPIC"
47436 fi
47437
47438 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47439 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47440 WINDOWS_IMPLIB=0
47441
47442 case "${BAKEFILE_HOST}" in
47443 *-hp-hpux* )
47444 if test "x$GCC" != "xyes"; then
47445 LDFLAGS="$LDFLAGS -L/usr/lib"
47446
47447 SHARED_LD_CC="${CC} -b -o"
47448 SHARED_LD_CXX="${CXX} -b -o"
47449 PIC_FLAG="+Z"
47450 fi
47451 ;;
47452
47453 *-*-linux* )
47454 if test "$INTELCC" = "yes"; then
47455 PIC_FLAG="-KPIC"
47456 elif test "x$SUNCXX" = "xyes"; then
47457 SHARED_LD_CC="${CC} -G -o"
47458 SHARED_LD_CXX="${CXX} -G -o"
47459 PIC_FLAG="-KPIC"
47460 fi
47461 ;;
47462
47463 *-*-solaris2* )
47464 if test "x$SUNCXX" = xyes ; then
47465 SHARED_LD_CC="${CC} -G -o"
47466 SHARED_LD_CXX="${CXX} -G -o"
47467 PIC_FLAG="-KPIC"
47468 fi
47469 ;;
47470
47471 *-*-darwin* )
47472
47473 D='$'
47474 cat <<EOF >shared-ld-sh
47475 #!/bin/sh
47476 #-----------------------------------------------------------------------------
47477 #-- Name: distrib/mac/shared-ld-sh
47478 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47479 #-- Author: Gilles Depeyrot
47480 #-- Copyright: (c) 2002 Gilles Depeyrot
47481 #-- Licence: any use permitted
47482 #-----------------------------------------------------------------------------
47483
47484 verbose=0
47485 args=""
47486 objects=""
47487 linking_flag="-dynamiclib"
47488 ldargs="-r -keep_private_externs -nostdlib"
47489
47490 if test "x${D}CXX" = "x"; then
47491 CXX="c++"
47492 fi
47493
47494 while test ${D}# -gt 0; do
47495 case ${D}1 in
47496
47497 -v)
47498 verbose=1
47499 ;;
47500
47501 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47502 # collect these options and values
47503 args="${D}{args} ${D}1 ${D}2"
47504 shift
47505 ;;
47506
47507 -arch|-isysroot)
47508 # collect these options and values
47509 ldargs="${D}{ldargs} ${D}1 ${D}2"
47510 shift
47511 ;;
47512
47513 -s|-Wl,*)
47514 # collect these load args
47515 ldargs="${D}{ldargs} ${D}1"
47516 ;;
47517
47518 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47519 # collect these options
47520 args="${D}{args} ${D}1"
47521 ;;
47522
47523 -dynamiclib|-bundle)
47524 linking_flag="${D}1"
47525 ;;
47526
47527 -*)
47528 echo "shared-ld: unhandled option '${D}1'"
47529 exit 1
47530 ;;
47531
47532 *.o | *.a | *.dylib)
47533 # collect object files
47534 objects="${D}{objects} ${D}1"
47535 ;;
47536
47537 *)
47538 echo "shared-ld: unhandled argument '${D}1'"
47539 exit 1
47540 ;;
47541
47542 esac
47543 shift
47544 done
47545
47546 status=0
47547
47548 #
47549 # Link one module containing all the others
47550 #
47551 if test ${D}{verbose} = 1; then
47552 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47553 fi
47554 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47555 status=${D}?
47556
47557 #
47558 # Link the shared library from the single module created, but only if the
47559 # previous command didn't fail:
47560 #
47561 if test ${D}{status} = 0; then
47562 if test ${D}{verbose} = 1; then
47563 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47564 fi
47565 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47566 status=${D}?
47567 fi
47568
47569 #
47570 # Remove intermediate module
47571 #
47572 rm -f master.${D}${D}.o
47573
47574 exit ${D}status
47575 EOF
47576
47577 chmod +x shared-ld-sh
47578
47579 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47580 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47581
47582
47583 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47584 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47585 if test "${bakefile_cv_gcc31+set}" = set; then
47586 echo $ECHO_N "(cached) $ECHO_C" >&6
47587 else
47588
47589 cat >conftest.$ac_ext <<_ACEOF
47590 /* confdefs.h. */
47591 _ACEOF
47592 cat confdefs.h >>conftest.$ac_ext
47593 cat >>conftest.$ac_ext <<_ACEOF
47594 /* end confdefs.h. */
47595
47596 int
47597 main ()
47598 {
47599
47600 #if (__GNUC__ < 3) || \
47601 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47602 This is old gcc
47603 #endif
47604
47605 ;
47606 return 0;
47607 }
47608 _ACEOF
47609 rm -f conftest.$ac_objext
47610 if { (ac_try="$ac_compile"
47611 case "(($ac_try" in
47612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47613 *) ac_try_echo=$ac_try;;
47614 esac
47615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47616 (eval "$ac_compile") 2>conftest.er1
47617 ac_status=$?
47618 grep -v '^ *+' conftest.er1 >conftest.err
47619 rm -f conftest.er1
47620 cat conftest.err >&5
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); } && {
47623 test -z "$ac_c_werror_flag" ||
47624 test ! -s conftest.err
47625 } && test -s conftest.$ac_objext; then
47626
47627 bakefile_cv_gcc31=yes
47628
47629 else
47630 echo "$as_me: failed program was:" >&5
47631 sed 's/^/| /' conftest.$ac_ext >&5
47632
47633
47634 bakefile_cv_gcc31=no
47635
47636
47637 fi
47638
47639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47640
47641 fi
47642 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47643 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47644 if test "$bakefile_cv_gcc31" = "no"; then
47645 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47646 SHARED_LD_CXX="$SHARED_LD_CC"
47647 else
47648 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47649 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47650 fi
47651
47652 if test "x$GCC" == "xyes"; then
47653 PIC_FLAG="-dynamic -fPIC"
47654 fi
47655 if test "x$XLCC" = "xyes"; then
47656 PIC_FLAG="-dynamic -DPIC"
47657 fi
47658 ;;
47659
47660 *-*-aix* )
47661 if test "x$GCC" = "xyes"; then
47662 PIC_FLAG=""
47663
47664 case "${BAKEFILE_HOST}" in
47665 *-*-aix5* )
47666 LD_EXPFULL="-Wl,-bexpfull"
47667 ;;
47668 esac
47669
47670 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47671 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47672 else
47673 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47674 set dummy makeC++SharedLib; ac_word=$2
47675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47677 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47678 echo $ECHO_N "(cached) $ECHO_C" >&6
47679 else
47680 if test -n "$AIX_CXX_LD"; then
47681 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47682 else
47683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47684 for as_dir in $PATH
47685 do
47686 IFS=$as_save_IFS
47687 test -z "$as_dir" && as_dir=.
47688 for ac_exec_ext in '' $ac_executable_extensions; do
47689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47690 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47692 break 2
47693 fi
47694 done
47695 done
47696 IFS=$as_save_IFS
47697
47698 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47699 fi
47700 fi
47701 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47702 if test -n "$AIX_CXX_LD"; then
47703 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47704 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47705 else
47706 { echo "$as_me:$LINENO: result: no" >&5
47707 echo "${ECHO_T}no" >&6; }
47708 fi
47709
47710
47711 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47712 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47713 fi
47714 ;;
47715
47716 *-*-beos* )
47717 SHARED_LD_CC="${LD} -nostart -o"
47718 SHARED_LD_CXX="${LD} -nostart -o"
47719 ;;
47720
47721 *-*-irix* )
47722 if test "x$GCC" != "xyes"; then
47723 PIC_FLAG="-KPIC"
47724 fi
47725 ;;
47726
47727 *-*-cygwin* | *-*-mingw32* )
47728 PIC_FLAG=""
47729 SHARED_LD_CC="\$(CC) -shared -o"
47730 SHARED_LD_CXX="\$(CXX) -shared -o"
47731 WINDOWS_IMPLIB=1
47732 ;;
47733
47734 *-pc-os2_emx | *-pc-os2-emx )
47735 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47736 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47737 PIC_FLAG=""
47738
47739 D='$'
47740 cat <<EOF >dllar.sh
47741 #!/bin/sh
47742 #
47743 # dllar - a tool to build both a .dll and an .a file
47744 # from a set of object (.o) files for EMX/OS2.
47745 #
47746 # Written by Andrew Zabolotny, bit@freya.etu.ru
47747 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47748 #
47749 # This script will accept a set of files on the command line.
47750 # All the public symbols from the .o files will be exported into
47751 # a .DEF file, then linker will be run (through gcc) against them to
47752 # build a shared library consisting of all given .o files. All libraries
47753 # (.a) will be first decompressed into component .o files then act as
47754 # described above. You can optionally give a description (-d "description")
47755 # which will be put into .DLL. To see the list of accepted options (as well
47756 # as command-line format) simply run this program without options. The .DLL
47757 # is built to be imported by name (there is no guarantee that new versions
47758 # of the library you build will have same ordinals for same symbols).
47759 #
47760 # dllar is free software; you can redistribute it and/or modify
47761 # it under the terms of the GNU General Public License as published by
47762 # the Free Software Foundation; either version 2, or (at your option)
47763 # any later version.
47764 #
47765 # dllar is distributed in the hope that it will be useful,
47766 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47767 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47768 # GNU General Public License for more details.
47769 #
47770 # You should have received a copy of the GNU General Public License
47771 # along with dllar; see the file COPYING. If not, write to the Free
47772 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47773 # 02111-1307, USA.
47774
47775 # To successfuly run this program you will need:
47776 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47777 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47778 # - gcc
47779 # (used to build the .dll)
47780 # - emxexp
47781 # (used to create .def file from .o files)
47782 # - emximp
47783 # (used to create .a file from .def file)
47784 # - GNU text utilites (cat, sort, uniq)
47785 # used to process emxexp output
47786 # - GNU file utilities (mv, rm)
47787 # - GNU sed
47788 # - lxlite (optional, see flag below)
47789 # (used for general .dll cleanup)
47790 #
47791
47792 flag_USE_LXLITE=1;
47793
47794 #
47795 # helper functions
47796 # basnam, variant of basename, which does _not_ remove the path, _iff_
47797 # second argument (suffix to remove) is given
47798 basnam(){
47799 case ${D}# in
47800 1)
47801 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47802 ;;
47803 2)
47804 echo ${D}1 | sed 's/'${D}2'${D}//'
47805 ;;
47806 *)
47807 echo "error in basnam ${D}*"
47808 exit 8
47809 ;;
47810 esac
47811 }
47812
47813 # Cleanup temporary files and output
47814 CleanUp() {
47815 cd ${D}curDir
47816 for i in ${D}inputFiles ; do
47817 case ${D}i in
47818 *!)
47819 rm -rf \`basnam ${D}i !\`
47820 ;;
47821 *)
47822 ;;
47823 esac
47824 done
47825
47826 # Kill result in case of failure as there is just to many stupid make/nmake
47827 # things out there which doesn't do this.
47828 if [ ${D}# -eq 0 ]; then
47829 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47830 fi
47831 }
47832
47833 # Print usage and exit script with rc=1.
47834 PrintHelp() {
47835 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47836 echo ' [-name-mangler-script script.sh]'
47837 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47838 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47839 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47840 echo ' [*.o] [*.a]'
47841 echo '*> "output_file" should have no extension.'
47842 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47843 echo ' The import library name is derived from this and is set to "name".a,'
47844 echo ' unless overridden by -import'
47845 echo '*> "importlib_name" should have no extension.'
47846 echo ' If it has the .o, or .a extension, it is automatically removed.'
47847 echo ' This name is used as the import library name and may be longer and'
47848 echo ' more descriptive than the DLL name which has to follow the old '
47849 echo ' 8.3 convention of FAT.'
47850 echo '*> "script.sh may be given to override the output_file name by a'
47851 echo ' different name. It is mainly useful if the regular make process'
47852 echo ' of some package does not take into account OS/2 restriction of'
47853 echo ' DLL name lengths. It takes the importlib name as input and is'
47854 echo ' supposed to procude a shorter name as output. The script should'
47855 echo ' expect to get importlib_name without extension and should produce'
47856 echo ' a (max.) 8 letter name without extension.'
47857 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47858 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47859 echo ' These flags will be put at the start of GCC command line.'
47860 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47861 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47862 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47863 echo ' If the last character of a symbol is "*", all symbols beginning'
47864 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47865 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47866 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47867 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47868 echo ' C runtime DLLs.'
47869 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47870 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47871 echo ' unchanged to GCC at the end of command line.'
47872 echo '*> If you create a DLL from a library and you do not specify -o,'
47873 echo ' the basename for DLL and import library will be set to library name,'
47874 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47875 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47876 echo ' library will be renamed into gcc_s.a.'
47877 echo '--------'
47878 echo 'Example:'
47879 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47880 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47881 CleanUp
47882 exit 1
47883 }
47884
47885 # Execute a command.
47886 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47887 # @Uses Whatever CleanUp() uses.
47888 doCommand() {
47889 echo "${D}*"
47890 eval ${D}*
47891 rcCmd=${D}?
47892
47893 if [ ${D}rcCmd -ne 0 ]; then
47894 echo "command failed, exit code="${D}rcCmd
47895 CleanUp
47896 exit ${D}rcCmd
47897 fi
47898 }
47899
47900 # main routine
47901 # setup globals
47902 cmdLine=${D}*
47903 outFile=""
47904 outimpFile=""
47905 inputFiles=""
47906 renameScript=""
47907 description=""
47908 CC=gcc.exe
47909 CFLAGS="-s -Zcrtdll"
47910 EXTRA_CFLAGS=""
47911 EXPORT_BY_ORDINALS=0
47912 exclude_symbols=""
47913 library_flags=""
47914 curDir=\`pwd\`
47915 curDirS=curDir
47916 case ${D}curDirS in
47917 */)
47918 ;;
47919 *)
47920 curDirS=${D}{curDirS}"/"
47921 ;;
47922 esac
47923 # Parse commandline
47924 libsToLink=0
47925 omfLinking=0
47926 while [ ${D}1 ]; do
47927 case ${D}1 in
47928 -ord*)
47929 EXPORT_BY_ORDINALS=1;
47930 ;;
47931 -o*)
47932 shift
47933 outFile=${D}1
47934 ;;
47935 -i*)
47936 shift
47937 outimpFile=${D}1
47938 ;;
47939 -name-mangler-script)
47940 shift
47941 renameScript=${D}1
47942 ;;
47943 -d*)
47944 shift
47945 description=${D}1
47946 ;;
47947 -f*)
47948 shift
47949 CFLAGS=${D}1
47950 ;;
47951 -c*)
47952 shift
47953 CC=${D}1
47954 ;;
47955 -h*)
47956 PrintHelp
47957 ;;
47958 -ex*)
47959 shift
47960 exclude_symbols=${D}{exclude_symbols}${D}1" "
47961 ;;
47962 -libf*)
47963 shift
47964 library_flags=${D}{library_flags}${D}1" "
47965 ;;
47966 -nocrt*)
47967 CFLAGS="-s"
47968 ;;
47969 -nolxl*)
47970 flag_USE_LXLITE=0
47971 ;;
47972 -* | /*)
47973 case ${D}1 in
47974 -L* | -l*)
47975 libsToLink=1
47976 ;;
47977 -Zomf)
47978 omfLinking=1
47979 ;;
47980 *)
47981 ;;
47982 esac
47983 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47984 ;;
47985 *.dll)
47986 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47987 if [ ${D}omfLinking -eq 1 ]; then
47988 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47989 else
47990 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47991 fi
47992 ;;
47993 *)
47994 found=0;
47995 if [ ${D}libsToLink -ne 0 ]; then
47996 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47997 else
47998 for file in ${D}1 ; do
47999 if [ -f ${D}file ]; then
48000 inputFiles="${D}{inputFiles} ${D}file"
48001 found=1
48002 fi
48003 done
48004 if [ ${D}found -eq 0 ]; then
48005 echo "ERROR: No file(s) found: "${D}1
48006 exit 8
48007 fi
48008 fi
48009 ;;
48010 esac
48011 shift
48012 done # iterate cmdline words
48013
48014 #
48015 if [ -z "${D}inputFiles" ]; then
48016 echo "dllar: no input files"
48017 PrintHelp
48018 fi
48019
48020 # Now extract all .o files from .a files
48021 newInputFiles=""
48022 for file in ${D}inputFiles ; do
48023 case ${D}file in
48024 *.a | *.lib)
48025 case ${D}file in
48026 *.a)
48027 suffix=".a"
48028 AR="ar"
48029 ;;
48030 *.lib)
48031 suffix=".lib"
48032 AR="emxomfar"
48033 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48034 ;;
48035 *)
48036 ;;
48037 esac
48038 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48039 mkdir ${D}dirname
48040 if [ ${D}? -ne 0 ]; then
48041 echo "Failed to create subdirectory ./${D}dirname"
48042 CleanUp
48043 exit 8;
48044 fi
48045 # Append '!' to indicate archive
48046 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48047 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48048 cd ${D}curDir
48049 found=0;
48050 for subfile in ${D}dirname/*.o* ; do
48051 if [ -f ${D}subfile ]; then
48052 found=1
48053 if [ -s ${D}subfile ]; then
48054 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48055 newInputFiles="${D}newInputFiles ${D}subfile"
48056 fi
48057 fi
48058 done
48059 if [ ${D}found -eq 0 ]; then
48060 echo "WARNING: there are no files in archive \\'${D}file\\'"
48061 fi
48062 ;;
48063 *)
48064 newInputFiles="${D}{newInputFiles} ${D}file"
48065 ;;
48066 esac
48067 done
48068 inputFiles="${D}newInputFiles"
48069
48070 # Output filename(s).
48071 do_backup=0;
48072 if [ -z ${D}outFile ]; then
48073 do_backup=1;
48074 set outFile ${D}inputFiles; outFile=${D}2
48075 fi
48076
48077 # If it is an archive, remove the '!' and the '_%' suffixes
48078 case ${D}outFile in
48079 *_%!)
48080 outFile=\`basnam ${D}outFile _%!\`
48081 ;;
48082 *)
48083 ;;
48084 esac
48085 case ${D}outFile in
48086 *.dll)
48087 outFile=\`basnam ${D}outFile .dll\`
48088 ;;
48089 *.DLL)
48090 outFile=\`basnam ${D}outFile .DLL\`
48091 ;;
48092 *.o)
48093 outFile=\`basnam ${D}outFile .o\`
48094 ;;
48095 *.obj)
48096 outFile=\`basnam ${D}outFile .obj\`
48097 ;;
48098 *.a)
48099 outFile=\`basnam ${D}outFile .a\`
48100 ;;
48101 *.lib)
48102 outFile=\`basnam ${D}outFile .lib\`
48103 ;;
48104 *)
48105 ;;
48106 esac
48107 case ${D}outimpFile in
48108 *.a)
48109 outimpFile=\`basnam ${D}outimpFile .a\`
48110 ;;
48111 *.lib)
48112 outimpFile=\`basnam ${D}outimpFile .lib\`
48113 ;;
48114 *)
48115 ;;
48116 esac
48117 if [ -z ${D}outimpFile ]; then
48118 outimpFile=${D}outFile
48119 fi
48120 defFile="${D}{outFile}.def"
48121 arcFile="${D}{outimpFile}.a"
48122 arcFile2="${D}{outimpFile}.lib"
48123
48124 #create ${D}dllFile as something matching 8.3 restrictions,
48125 if [ -z ${D}renameScript ] ; then
48126 dllFile="${D}outFile"
48127 else
48128 dllFile=\`${D}renameScript ${D}outimpFile\`
48129 fi
48130
48131 if [ ${D}do_backup -ne 0 ] ; then
48132 if [ -f ${D}arcFile ] ; then
48133 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48134 fi
48135 if [ -f ${D}arcFile2 ] ; then
48136 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48137 fi
48138 fi
48139
48140 # Extract public symbols from all the object files.
48141 tmpdefFile=${D}{defFile}_%
48142 rm -f ${D}tmpdefFile
48143 for file in ${D}inputFiles ; do
48144 case ${D}file in
48145 *!)
48146 ;;
48147 *)
48148 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48149 ;;
48150 esac
48151 done
48152
48153 # Create the def file.
48154 rm -f ${D}defFile
48155 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48156 dllFile="${D}{dllFile}.dll"
48157 if [ ! -z ${D}description ]; then
48158 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48159 fi
48160 echo "EXPORTS" >> ${D}defFile
48161
48162 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48163 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48164
48165 # Checks if the export is ok or not.
48166 for word in ${D}exclude_symbols; do
48167 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48168 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48169 done
48170
48171
48172 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48173 sed "=" < ${D}tmpdefFile | \\
48174 sed '
48175 N
48176 : loop
48177 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48178 t loop
48179 ' > ${D}{tmpdefFile}%
48180 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48181 else
48182 rm -f ${D}{tmpdefFile}%
48183 fi
48184 cat ${D}tmpdefFile >> ${D}defFile
48185 rm -f ${D}tmpdefFile
48186
48187 # Do linking, create implib, and apply lxlite.
48188 gccCmdl="";
48189 for file in ${D}inputFiles ; do
48190 case ${D}file in
48191 *!)
48192 ;;
48193 *)
48194 gccCmdl="${D}gccCmdl ${D}file"
48195 ;;
48196 esac
48197 done
48198 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48199 touch "${D}{outFile}.dll"
48200
48201 doCommand "emximp -o ${D}arcFile ${D}defFile"
48202 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48203 add_flags="";
48204 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48205 add_flags="-ynd"
48206 fi
48207 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48208 fi
48209 doCommand "emxomf -s -l ${D}arcFile"
48210
48211 # Successful exit.
48212 CleanUp 1
48213 exit 0
48214 EOF
48215
48216 chmod +x dllar.sh
48217 ;;
48218
48219 powerpc-apple-macos* | \
48220 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48221 *-*-mirbsd* | \
48222 *-*-sunos4* | \
48223 *-*-osf* | \
48224 *-*-dgux5* | \
48225 *-*-sysv5* | \
48226 *-pc-msdosdjgpp )
48227 ;;
48228
48229 *)
48230 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48231 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48232 { (exit 1); exit 1; }; }
48233 esac
48234
48235 if test "x$PIC_FLAG" != "x" ; then
48236 PIC_FLAG="$PIC_FLAG -DPIC"
48237 fi
48238
48239 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48240 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48241 fi
48242 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48243 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48244 fi
48245
48246
48247
48248
48249
48250
48251
48252
48253
48254 USE_SOVERSION=0
48255 USE_SOVERLINUX=0
48256 USE_SOVERSOLARIS=0
48257 USE_SOVERCYGWIN=0
48258 USE_SOSYMLINKS=0
48259 USE_MACVERSION=0
48260 SONAME_FLAG=
48261
48262 case "${BAKEFILE_HOST}" in
48263 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48264 *-*-k*bsd*-gnu | *-*-mirbsd* )
48265 if test "x$SUNCXX" = "xyes"; then
48266 SONAME_FLAG="-h "
48267 else
48268 SONAME_FLAG="-Wl,-soname,"
48269 fi
48270 USE_SOVERSION=1
48271 USE_SOVERLINUX=1
48272 USE_SOSYMLINKS=1
48273 ;;
48274
48275 *-*-solaris2* )
48276 SONAME_FLAG="-h "
48277 USE_SOVERSION=1
48278 USE_SOVERSOLARIS=1
48279 USE_SOSYMLINKS=1
48280 ;;
48281
48282 *-*-darwin* )
48283 USE_MACVERSION=1
48284 USE_SOVERSION=1
48285 USE_SOSYMLINKS=1
48286 ;;
48287
48288 *-*-cygwin* )
48289 USE_SOVERSION=1
48290 USE_SOVERCYGWIN=1
48291 ;;
48292 esac
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303 # Check whether --enable-dependency-tracking was given.
48304 if test "${enable_dependency_tracking+set}" = set; then
48305 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48306 fi
48307
48308
48309 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48310 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48311
48312 BK_DEPS=""
48313 if test "x$bk_use_trackdeps" = "xno" ; then
48314 DEPS_TRACKING=0
48315 { echo "$as_me:$LINENO: result: disabled" >&5
48316 echo "${ECHO_T}disabled" >&6; }
48317 else
48318 DEPS_TRACKING=1
48319
48320 if test "x$GCC" = "xyes"; then
48321 DEPSMODE=gcc
48322 case "${BAKEFILE_HOST}" in
48323 *-*-darwin* )
48324 DEPSFLAG="-no-cpp-precomp -MMD"
48325 ;;
48326 * )
48327 DEPSFLAG="-MMD"
48328 ;;
48329 esac
48330 { echo "$as_me:$LINENO: result: gcc" >&5
48331 echo "${ECHO_T}gcc" >&6; }
48332 elif test "x$MWCC" = "xyes"; then
48333 DEPSMODE=mwcc
48334 DEPSFLAG="-MM"
48335 { echo "$as_me:$LINENO: result: mwcc" >&5
48336 echo "${ECHO_T}mwcc" >&6; }
48337 elif test "x$SUNCC" = "xyes"; then
48338 DEPSMODE=unixcc
48339 DEPSFLAG="-xM1"
48340 { echo "$as_me:$LINENO: result: Sun cc" >&5
48341 echo "${ECHO_T}Sun cc" >&6; }
48342 elif test "x$SGICC" = "xyes"; then
48343 DEPSMODE=unixcc
48344 DEPSFLAG="-M"
48345 { echo "$as_me:$LINENO: result: SGI cc" >&5
48346 echo "${ECHO_T}SGI cc" >&6; }
48347 elif test "x$HPCC" = "xyes"; then
48348 DEPSMODE=unixcc
48349 DEPSFLAG="+make"
48350 { echo "$as_me:$LINENO: result: HP cc" >&5
48351 echo "${ECHO_T}HP cc" >&6; }
48352 elif test "x$COMPAQCC" = "xyes"; then
48353 DEPSMODE=gcc
48354 DEPSFLAG="-MD"
48355 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48356 echo "${ECHO_T}Compaq cc" >&6; }
48357 else
48358 DEPS_TRACKING=0
48359 { echo "$as_me:$LINENO: result: none" >&5
48360 echo "${ECHO_T}none" >&6; }
48361 fi
48362
48363 if test $DEPS_TRACKING = 1 ; then
48364
48365 D='$'
48366 cat <<EOF >bk-deps
48367 #!/bin/sh
48368
48369 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48370 # script. It is used to track C/C++ files dependencies in portable way.
48371 #
48372 # Permission is given to use this file in any way.
48373
48374 DEPSMODE=${DEPSMODE}
48375 DEPSDIR=.deps
48376 DEPSFLAG="${DEPSFLAG}"
48377
48378 mkdir -p ${D}DEPSDIR
48379
48380 if test ${D}DEPSMODE = gcc ; then
48381 ${D}* ${D}{DEPSFLAG}
48382 status=${D}?
48383
48384 # determine location of created files:
48385 while test ${D}# -gt 0; do
48386 case "${D}1" in
48387 -o )
48388 shift
48389 objfile=${D}1
48390 ;;
48391 -* )
48392 ;;
48393 * )
48394 srcfile=${D}1
48395 ;;
48396 esac
48397 shift
48398 done
48399 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48400 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48401
48402 # if the compiler failed, we're done:
48403 if test ${D}{status} != 0 ; then
48404 rm -f ${D}depfile
48405 exit ${D}{status}
48406 fi
48407
48408 # move created file to the location we want it in:
48409 if test -f ${D}depfile ; then
48410 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48411 rm -f ${D}depfile
48412 else
48413 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48414 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48415 if test ! -f ${D}depfile ; then
48416 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48417 depfile="${D}objfile.d"
48418 fi
48419 if test -f ${D}depfile ; then
48420 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48421 rm -f ${D}depfile
48422 fi
48423 fi
48424 exit 0
48425 elif test ${D}DEPSMODE = mwcc ; then
48426 ${D}* || exit ${D}?
48427 # Run mwcc again with -MM and redirect into the dep file we want
48428 # NOTE: We can't use shift here because we need ${D}* to be valid
48429 prevarg=
48430 for arg in ${D}* ; do
48431 if test "${D}prevarg" = "-o"; then
48432 objfile=${D}arg
48433 else
48434 case "${D}arg" in
48435 -* )
48436 ;;
48437 * )
48438 srcfile=${D}arg
48439 ;;
48440 esac
48441 fi
48442 prevarg="${D}arg"
48443 done
48444 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48445 exit 0
48446 elif test ${D}DEPSMODE = unixcc; then
48447 ${D}* || exit ${D}?
48448 # Run compiler again with deps flag and redirect into the dep file.
48449 # It doesn't work if the '-o FILE' option is used, but without it the
48450 # dependency file will contain the wrong name for the object. So it is
48451 # removed from the command line, and the dep file is fixed with sed.
48452 cmd=""
48453 while test ${D}# -gt 0; do
48454 case "${D}1" in
48455 -o )
48456 shift
48457 objfile=${D}1
48458 ;;
48459 * )
48460 eval arg${D}#=\\${D}1
48461 cmd="${D}cmd \\${D}arg${D}#"
48462 ;;
48463 esac
48464 shift
48465 done
48466 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48467 exit 0
48468 else
48469 ${D}*
48470 exit ${D}?
48471 fi
48472 EOF
48473
48474 chmod +x bk-deps
48475 BK_DEPS="`pwd`/bk-deps"
48476 fi
48477 fi
48478
48479
48480
48481
48482
48483 case ${BAKEFILE_HOST} in
48484 *-*-cygwin* | *-*-mingw32* )
48485 if test -n "$ac_tool_prefix"; then
48486 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48487 set dummy ${ac_tool_prefix}windres; ac_word=$2
48488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48490 if test "${ac_cv_prog_WINDRES+set}" = set; then
48491 echo $ECHO_N "(cached) $ECHO_C" >&6
48492 else
48493 if test -n "$WINDRES"; then
48494 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48495 else
48496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48497 for as_dir in $PATH
48498 do
48499 IFS=$as_save_IFS
48500 test -z "$as_dir" && as_dir=.
48501 for ac_exec_ext in '' $ac_executable_extensions; do
48502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48503 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48505 break 2
48506 fi
48507 done
48508 done
48509 IFS=$as_save_IFS
48510
48511 fi
48512 fi
48513 WINDRES=$ac_cv_prog_WINDRES
48514 if test -n "$WINDRES"; then
48515 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48516 echo "${ECHO_T}$WINDRES" >&6; }
48517 else
48518 { echo "$as_me:$LINENO: result: no" >&5
48519 echo "${ECHO_T}no" >&6; }
48520 fi
48521
48522
48523 fi
48524 if test -z "$ac_cv_prog_WINDRES"; then
48525 ac_ct_WINDRES=$WINDRES
48526 # Extract the first word of "windres", so it can be a program name with args.
48527 set dummy windres; ac_word=$2
48528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48530 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48531 echo $ECHO_N "(cached) $ECHO_C" >&6
48532 else
48533 if test -n "$ac_ct_WINDRES"; then
48534 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48535 else
48536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48537 for as_dir in $PATH
48538 do
48539 IFS=$as_save_IFS
48540 test -z "$as_dir" && as_dir=.
48541 for ac_exec_ext in '' $ac_executable_extensions; do
48542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48543 ac_cv_prog_ac_ct_WINDRES="windres"
48544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48545 break 2
48546 fi
48547 done
48548 done
48549 IFS=$as_save_IFS
48550
48551 fi
48552 fi
48553 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48554 if test -n "$ac_ct_WINDRES"; then
48555 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48556 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48557 else
48558 { echo "$as_me:$LINENO: result: no" >&5
48559 echo "${ECHO_T}no" >&6; }
48560 fi
48561
48562 if test "x$ac_ct_WINDRES" = x; then
48563 WINDRES=""
48564 else
48565 case $cross_compiling:$ac_tool_warned in
48566 yes:)
48567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48568 whose name does not start with the host triplet. If you think this
48569 configuration is useful to you, please write to autoconf@gnu.org." >&5
48570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48571 whose name does not start with the host triplet. If you think this
48572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48573 ac_tool_warned=yes ;;
48574 esac
48575 WINDRES=$ac_ct_WINDRES
48576 fi
48577 else
48578 WINDRES="$ac_cv_prog_WINDRES"
48579 fi
48580
48581 ;;
48582
48583 *-*-darwin* | powerpc-apple-macos* )
48584 # Extract the first word of "Rez", so it can be a program name with args.
48585 set dummy Rez; ac_word=$2
48586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48588 if test "${ac_cv_prog_REZ+set}" = set; then
48589 echo $ECHO_N "(cached) $ECHO_C" >&6
48590 else
48591 if test -n "$REZ"; then
48592 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48593 else
48594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48595 for as_dir in $PATH
48596 do
48597 IFS=$as_save_IFS
48598 test -z "$as_dir" && as_dir=.
48599 for ac_exec_ext in '' $ac_executable_extensions; do
48600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48601 ac_cv_prog_REZ="Rez"
48602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48603 break 2
48604 fi
48605 done
48606 done
48607 IFS=$as_save_IFS
48608
48609 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48610 fi
48611 fi
48612 REZ=$ac_cv_prog_REZ
48613 if test -n "$REZ"; then
48614 { echo "$as_me:$LINENO: result: $REZ" >&5
48615 echo "${ECHO_T}$REZ" >&6; }
48616 else
48617 { echo "$as_me:$LINENO: result: no" >&5
48618 echo "${ECHO_T}no" >&6; }
48619 fi
48620
48621
48622 # Extract the first word of "SetFile", so it can be a program name with args.
48623 set dummy SetFile; ac_word=$2
48624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48626 if test "${ac_cv_prog_SETFILE+set}" = set; then
48627 echo $ECHO_N "(cached) $ECHO_C" >&6
48628 else
48629 if test -n "$SETFILE"; then
48630 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48631 else
48632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48633 for as_dir in $PATH
48634 do
48635 IFS=$as_save_IFS
48636 test -z "$as_dir" && as_dir=.
48637 for ac_exec_ext in '' $ac_executable_extensions; do
48638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48639 ac_cv_prog_SETFILE="SetFile"
48640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48641 break 2
48642 fi
48643 done
48644 done
48645 IFS=$as_save_IFS
48646
48647 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48648 fi
48649 fi
48650 SETFILE=$ac_cv_prog_SETFILE
48651 if test -n "$SETFILE"; then
48652 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48653 echo "${ECHO_T}$SETFILE" >&6; }
48654 else
48655 { echo "$as_me:$LINENO: result: no" >&5
48656 echo "${ECHO_T}no" >&6; }
48657 fi
48658
48659
48660 ;;
48661 esac
48662
48663
48664
48665
48666
48667
48668 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
48669
48670
48671 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
48672
48673
48674
48675 # Check whether --enable-precomp-headers was given.
48676 if test "${enable_precomp_headers+set}" = set; then
48677 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48678 fi
48679
48680
48681 GCC_PCH=0
48682 ICC_PCH=0
48683 USE_PCH=0
48684 BK_MAKE_PCH=""
48685
48686 case ${BAKEFILE_HOST} in
48687 *-*-cygwin* )
48688 bk_use_pch="no"
48689 ;;
48690 esac
48691
48692 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48693 if test "x$GCC" = "xyes"; then
48694 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48695 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48696 cat >conftest.$ac_ext <<_ACEOF
48697 /* confdefs.h. */
48698 _ACEOF
48699 cat confdefs.h >>conftest.$ac_ext
48700 cat >>conftest.$ac_ext <<_ACEOF
48701 /* end confdefs.h. */
48702
48703 int
48704 main ()
48705 {
48706
48707 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48708 There is no PCH support
48709 #endif
48710 #if (__GNUC__ < 3)
48711 There is no PCH support
48712 #endif
48713 #if (__GNUC__ == 3) && \
48714 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48715 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48716 ( defined(__INTEL_COMPILER) )
48717 There is no PCH support
48718 #endif
48719
48720 ;
48721 return 0;
48722 }
48723 _ACEOF
48724 rm -f conftest.$ac_objext
48725 if { (ac_try="$ac_compile"
48726 case "(($ac_try" in
48727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48728 *) ac_try_echo=$ac_try;;
48729 esac
48730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48731 (eval "$ac_compile") 2>conftest.er1
48732 ac_status=$?
48733 grep -v '^ *+' conftest.er1 >conftest.err
48734 rm -f conftest.er1
48735 cat conftest.err >&5
48736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48737 (exit $ac_status); } && {
48738 test -z "$ac_c_werror_flag" ||
48739 test ! -s conftest.err
48740 } && test -s conftest.$ac_objext; then
48741
48742 { echo "$as_me:$LINENO: result: yes" >&5
48743 echo "${ECHO_T}yes" >&6; }
48744 GCC_PCH=1
48745
48746 else
48747 echo "$as_me: failed program was:" >&5
48748 sed 's/^/| /' conftest.$ac_ext >&5
48749
48750
48751 cat >conftest.$ac_ext <<_ACEOF
48752 /* confdefs.h. */
48753 _ACEOF
48754 cat confdefs.h >>conftest.$ac_ext
48755 cat >>conftest.$ac_ext <<_ACEOF
48756 /* end confdefs.h. */
48757
48758 int
48759 main ()
48760 {
48761
48762 #if !defined(__INTEL_COMPILER) || \
48763 (__INTEL_COMPILER < 800)
48764 There is no PCH support
48765 #endif
48766
48767 ;
48768 return 0;
48769 }
48770 _ACEOF
48771 rm -f conftest.$ac_objext
48772 if { (ac_try="$ac_compile"
48773 case "(($ac_try" in
48774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48775 *) ac_try_echo=$ac_try;;
48776 esac
48777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48778 (eval "$ac_compile") 2>conftest.er1
48779 ac_status=$?
48780 grep -v '^ *+' conftest.er1 >conftest.err
48781 rm -f conftest.er1
48782 cat conftest.err >&5
48783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48784 (exit $ac_status); } && {
48785 test -z "$ac_c_werror_flag" ||
48786 test ! -s conftest.err
48787 } && test -s conftest.$ac_objext; then
48788
48789 { echo "$as_me:$LINENO: result: yes" >&5
48790 echo "${ECHO_T}yes" >&6; }
48791 ICC_PCH=1
48792
48793 else
48794 echo "$as_me: failed program was:" >&5
48795 sed 's/^/| /' conftest.$ac_ext >&5
48796
48797
48798 { echo "$as_me:$LINENO: result: no" >&5
48799 echo "${ECHO_T}no" >&6; }
48800
48801 fi
48802
48803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48804
48805 fi
48806
48807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48808 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48809 USE_PCH=1
48810
48811 D='$'
48812 cat <<EOF >bk-make-pch
48813 #!/bin/sh
48814
48815 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48816 # script. It is used to generated precompiled headers.
48817 #
48818 # Permission is given to use this file in any way.
48819
48820 outfile="${D}{1}"
48821 header="${D}{2}"
48822 shift
48823 shift
48824
48825 compiler=""
48826 headerfile=""
48827
48828 while test ${D}{#} -gt 0; do
48829 add_to_cmdline=1
48830 case "${D}{1}" in
48831 -I* )
48832 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48833 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48834 headerfile="${D}{incdir}/${D}{header}"
48835 fi
48836 ;;
48837 -use-pch|-use_pch )
48838 shift
48839 add_to_cmdline=0
48840 ;;
48841 esac
48842 if test ${D}add_to_cmdline = 1 ; then
48843 compiler="${D}{compiler} ${D}{1}"
48844 fi
48845 shift
48846 done
48847
48848 if test "x${D}{headerfile}" = "x" ; then
48849 echo "error: can't find header ${D}{header} in include paths" >&2
48850 else
48851 if test -f ${D}{outfile} ; then
48852 rm -f ${D}{outfile}
48853 else
48854 mkdir -p \`dirname ${D}{outfile}\`
48855 fi
48856 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48857 mkdir -p .deps
48858 if test "x${GCC_PCH}" = "x1" ; then
48859 # can do this because gcc is >= 3.4:
48860 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48861 elif test "x${ICC_PCH}" = "x1" ; then
48862 filename=pch_gen-${D}${D}
48863 file=${D}{filename}.c
48864 dfile=${D}{filename}.d
48865 cat > ${D}file <<EOT
48866 #include "${D}header"
48867 EOT
48868 # using -MF icc complains about differing command lines in creation/use
48869 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48870 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48871 rm -f ${D}file ${D}dfile ${D}{filename}.o
48872 fi
48873 exit ${D}{?}
48874 fi
48875 EOF
48876
48877 chmod +x bk-make-pch
48878 BK_MAKE_PCH="`pwd`/bk-make-pch"
48879 fi
48880 fi
48881 fi
48882
48883
48884
48885
48886
48887 COND_BUILD_DEBUG="#"
48888 if test "x$BUILD" = "xdebug" ; then
48889 COND_BUILD_DEBUG=""
48890 fi
48891
48892 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48893 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48894 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48895 fi
48896
48897 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48898 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48899 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48900 fi
48901
48902 COND_BUILD_DEBUG_UNICODE_0="#"
48903 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48904 COND_BUILD_DEBUG_UNICODE_0=""
48905 fi
48906
48907 COND_BUILD_DEBUG_UNICODE_1="#"
48908 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48909 COND_BUILD_DEBUG_UNICODE_1=""
48910 fi
48911
48912 COND_BUILD_RELEASE="#"
48913 if test "x$BUILD" = "xrelease" ; then
48914 COND_BUILD_RELEASE=""
48915 fi
48916
48917 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48918 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48919 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48920 fi
48921
48922 COND_BUILD_RELEASE_UNICODE_0="#"
48923 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48924 COND_BUILD_RELEASE_UNICODE_0=""
48925 fi
48926
48927 COND_BUILD_RELEASE_UNICODE_1="#"
48928 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48929 COND_BUILD_RELEASE_UNICODE_1=""
48930 fi
48931
48932 COND_DEBUG_FLAG_1="#"
48933 if test "x$DEBUG_FLAG" = "x1" ; then
48934 COND_DEBUG_FLAG_1=""
48935 fi
48936
48937 COND_DEBUG_INFO_0="#"
48938 if test "x$DEBUG_INFO" = "x0" ; then
48939 COND_DEBUG_INFO_0=""
48940 fi
48941
48942 COND_DEBUG_INFO_1="#"
48943 if test "x$DEBUG_INFO" = "x1" ; then
48944 COND_DEBUG_INFO_1=""
48945 fi
48946
48947 COND_DEPS_TRACKING_0="#"
48948 if test "x$DEPS_TRACKING" = "x0" ; then
48949 COND_DEPS_TRACKING_0=""
48950 fi
48951
48952 COND_DEPS_TRACKING_1="#"
48953 if test "x$DEPS_TRACKING" = "x1" ; then
48954 COND_DEPS_TRACKING_1=""
48955 fi
48956
48957 COND_GCC_PCH_1="#"
48958 if test "x$GCC_PCH" = "x1" ; then
48959 COND_GCC_PCH_1=""
48960 fi
48961
48962 COND_ICC_PCH_1="#"
48963 if test "x$ICC_PCH" = "x1" ; then
48964 COND_ICC_PCH_1=""
48965 fi
48966
48967 COND_MONOLITHIC_0="#"
48968 if test "x$MONOLITHIC" = "x0" ; then
48969 COND_MONOLITHIC_0=""
48970 fi
48971
48972 COND_MONOLITHIC_0_SHARED_0="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48974 COND_MONOLITHIC_0_SHARED_0=""
48975 fi
48976
48977 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48979 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48980 fi
48981
48982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48985 fi
48986
48987 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48990 fi
48991
48992 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48995 fi
48996
48997 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49000 fi
49001
49002 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49004 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49005 fi
49006
49007 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49008 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49009 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49010 fi
49011
49012 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49014 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49015 fi
49016
49017 COND_MONOLITHIC_0_SHARED_1="#"
49018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49019 COND_MONOLITHIC_0_SHARED_1=""
49020 fi
49021
49022 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49024 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49025 fi
49026
49027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49030 fi
49031
49032 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49034 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49035 fi
49036
49037 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49039 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49040 fi
49041
49042 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49045 fi
49046
49047 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49049 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49050 fi
49051
49052 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49054 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49055 fi
49056
49057 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49059 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49060 fi
49061
49062 COND_MONOLITHIC_0_USE_AUI_1="#"
49063 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49064 COND_MONOLITHIC_0_USE_AUI_1=""
49065 fi
49066
49067 COND_MONOLITHIC_0_USE_GUI_1="#"
49068 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49069 COND_MONOLITHIC_0_USE_GUI_1=""
49070 fi
49071
49072 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49073 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49074 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49075 fi
49076
49077 COND_MONOLITHIC_0_USE_HTML_1="#"
49078 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49079 COND_MONOLITHIC_0_USE_HTML_1=""
49080 fi
49081
49082 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49083 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49084 COND_MONOLITHIC_0_USE_MEDIA_1=""
49085 fi
49086
49087 COND_MONOLITHIC_0_USE_QA_1="#"
49088 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49089 COND_MONOLITHIC_0_USE_QA_1=""
49090 fi
49091
49092 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49093 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49094 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49095 fi
49096
49097 COND_MONOLITHIC_0_USE_STC_1="#"
49098 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49099 COND_MONOLITHIC_0_USE_STC_1=""
49100 fi
49101
49102 COND_MONOLITHIC_0_USE_XRC_1="#"
49103 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49104 COND_MONOLITHIC_0_USE_XRC_1=""
49105 fi
49106
49107 COND_MONOLITHIC_1="#"
49108 if test "x$MONOLITHIC" = "x1" ; then
49109 COND_MONOLITHIC_1=""
49110 fi
49111
49112 COND_MONOLITHIC_1_SHARED_0="#"
49113 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49114 COND_MONOLITHIC_1_SHARED_0=""
49115 fi
49116
49117 COND_MONOLITHIC_1_SHARED_1="#"
49118 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49119 COND_MONOLITHIC_1_SHARED_1=""
49120 fi
49121
49122 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49123 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49124 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49125 fi
49126
49127 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49128 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49129 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49130 fi
49131
49132 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49133 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49134 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49135 fi
49136
49137 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49138 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49139 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49140 fi
49141
49142 COND_PLATFORM_MACOSX_1="#"
49143 if test "x$PLATFORM_MACOSX" = "x1" ; then
49144 COND_PLATFORM_MACOSX_1=""
49145 fi
49146
49147 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49149 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49150 fi
49151
49152 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49154 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49155 fi
49156
49157 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49158 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49159 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49160 fi
49161
49162 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49163 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49164 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49165 fi
49166
49167 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49168 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49169 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49170 fi
49171
49172 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49173 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49174 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49175 fi
49176
49177 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49178 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49179 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49180 fi
49181
49182 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49183 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49184 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49185 fi
49186
49187 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49188 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49189 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49190 fi
49191
49192 COND_PLATFORM_MACOS_1="#"
49193 if test "x$PLATFORM_MACOS" = "x1" ; then
49194 COND_PLATFORM_MACOS_1=""
49195 fi
49196
49197 COND_PLATFORM_MAC_0="#"
49198 if test "x$PLATFORM_MAC" = "x0" ; then
49199 COND_PLATFORM_MAC_0=""
49200 fi
49201
49202 COND_PLATFORM_MAC_1="#"
49203 if test "x$PLATFORM_MAC" = "x1" ; then
49204 COND_PLATFORM_MAC_1=""
49205 fi
49206
49207 COND_PLATFORM_MSDOS_0="#"
49208 if test "x$PLATFORM_MSDOS" = "x0" ; then
49209 COND_PLATFORM_MSDOS_0=""
49210 fi
49211
49212 COND_PLATFORM_MSDOS_1="#"
49213 if test "x$PLATFORM_MSDOS" = "x1" ; then
49214 COND_PLATFORM_MSDOS_1=""
49215 fi
49216
49217 COND_PLATFORM_OS2_1="#"
49218 if test "x$PLATFORM_OS2" = "x1" ; then
49219 COND_PLATFORM_OS2_1=""
49220 fi
49221
49222 COND_PLATFORM_UNIX_0="#"
49223 if test "x$PLATFORM_UNIX" = "x0" ; then
49224 COND_PLATFORM_UNIX_0=""
49225 fi
49226
49227 COND_PLATFORM_UNIX_1="#"
49228 if test "x$PLATFORM_UNIX" = "x1" ; then
49229 COND_PLATFORM_UNIX_1=""
49230 fi
49231
49232 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49233 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49234 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49235 fi
49236
49237 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49238 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49239 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49240 fi
49241
49242 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49243 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49244 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49245 fi
49246
49247 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49248 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49249 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49250 fi
49251
49252 COND_PLATFORM_WIN32_0="#"
49253 if test "x$PLATFORM_WIN32" = "x0" ; then
49254 COND_PLATFORM_WIN32_0=""
49255 fi
49256
49257 COND_PLATFORM_WIN32_1="#"
49258 if test "x$PLATFORM_WIN32" = "x1" ; then
49259 COND_PLATFORM_WIN32_1=""
49260 fi
49261
49262 COND_SHARED_0="#"
49263 if test "x$SHARED" = "x0" ; then
49264 COND_SHARED_0=""
49265 fi
49266
49267 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49268 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49269 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49270 fi
49271
49272 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49273 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49274 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49275 fi
49276
49277 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49278 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49279 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49280 fi
49281
49282 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49283 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49284 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49285 fi
49286
49287 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49288 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49289 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49290 fi
49291
49292 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49293 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49294 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49295 fi
49296
49297 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49298 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49299 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49300 fi
49301
49302 COND_SHARED_0_USE_STC_1="#"
49303 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49304 COND_SHARED_0_USE_STC_1=""
49305 fi
49306
49307 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49308 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49309 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49310 fi
49311
49312 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49313 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49314 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49315 fi
49316
49317 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49318 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49319 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49320 fi
49321
49322 COND_SHARED_1="#"
49323 if test "x$SHARED" = "x1" ; then
49324 COND_SHARED_1=""
49325 fi
49326
49327 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49328 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49329 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49330 fi
49331
49332 COND_TOOLKIT_="#"
49333 if test "x$TOOLKIT" = "x" ; then
49334 COND_TOOLKIT_=""
49335 fi
49336
49337 COND_TOOLKIT_COCOA="#"
49338 if test "x$TOOLKIT" = "xCOCOA" ; then
49339 COND_TOOLKIT_COCOA=""
49340 fi
49341
49342 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49343 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49344 COND_TOOLKIT_COCOA_USE_GUI_1=""
49345 fi
49346
49347 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49348 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49349 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49350 fi
49351
49352 COND_TOOLKIT_DFB="#"
49353 if test "x$TOOLKIT" = "xDFB" ; then
49354 COND_TOOLKIT_DFB=""
49355 fi
49356
49357 COND_TOOLKIT_DFB_USE_GUI_1="#"
49358 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49359 COND_TOOLKIT_DFB_USE_GUI_1=""
49360 fi
49361
49362 COND_TOOLKIT_GTK="#"
49363 if test "x$TOOLKIT" = "xGTK" ; then
49364 COND_TOOLKIT_GTK=""
49365 fi
49366
49367 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49368 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49369 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49370 fi
49371
49372 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49373 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49374 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49375 fi
49376
49377 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49378 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49379 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49380 fi
49381
49382 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49383 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49384 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49385 fi
49386
49387 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49388 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49389 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49390 fi
49391
49392 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49393 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49394 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49395 fi
49396
49397 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49398 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49399 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49400 fi
49401
49402 COND_TOOLKIT_GTK_USE_GUI_1="#"
49403 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49404 COND_TOOLKIT_GTK_USE_GUI_1=""
49405 fi
49406
49407 COND_TOOLKIT_MAC="#"
49408 if test "x$TOOLKIT" = "xMAC" ; then
49409 COND_TOOLKIT_MAC=""
49410 fi
49411
49412 COND_TOOLKIT_MAC_USE_GUI_1="#"
49413 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49414 COND_TOOLKIT_MAC_USE_GUI_1=""
49415 fi
49416
49417 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49418 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49419 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49420 fi
49421
49422 COND_TOOLKIT_MGL="#"
49423 if test "x$TOOLKIT" = "xMGL" ; then
49424 COND_TOOLKIT_MGL=""
49425 fi
49426
49427 COND_TOOLKIT_MGL_USE_GUI_1="#"
49428 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49429 COND_TOOLKIT_MGL_USE_GUI_1=""
49430 fi
49431
49432 COND_TOOLKIT_MOTIF="#"
49433 if test "x$TOOLKIT" = "xMOTIF" ; then
49434 COND_TOOLKIT_MOTIF=""
49435 fi
49436
49437 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49438 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49439 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49440 fi
49441
49442 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49443 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49444 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49445 fi
49446
49447 COND_TOOLKIT_MSW="#"
49448 if test "x$TOOLKIT" = "xMSW" ; then
49449 COND_TOOLKIT_MSW=""
49450 fi
49451
49452 COND_TOOLKIT_MSW_USE_GUI_1="#"
49453 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49454 COND_TOOLKIT_MSW_USE_GUI_1=""
49455 fi
49456
49457 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49458 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49459 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49460 fi
49461
49462 COND_TOOLKIT_MSW_WXUNIV_0="#"
49463 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49464 COND_TOOLKIT_MSW_WXUNIV_0=""
49465 fi
49466
49467 COND_TOOLKIT_PM="#"
49468 if test "x$TOOLKIT" = "xPM" ; then
49469 COND_TOOLKIT_PM=""
49470 fi
49471
49472 COND_TOOLKIT_PM_USE_GUI_1="#"
49473 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49474 COND_TOOLKIT_PM_USE_GUI_1=""
49475 fi
49476
49477 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49478 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49479 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49480 fi
49481
49482 COND_TOOLKIT_WINCE="#"
49483 if test "x$TOOLKIT" = "xWINCE" ; then
49484 COND_TOOLKIT_WINCE=""
49485 fi
49486
49487 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49488 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49489 COND_TOOLKIT_WINCE_USE_GUI_1=""
49490 fi
49491
49492 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49493 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49494 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49495 fi
49496
49497 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49498 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49499 COND_TOOLKIT_WINCE_WXUNIV_0=""
49500 fi
49501
49502 COND_TOOLKIT_X11="#"
49503 if test "x$TOOLKIT" = "xX11" ; then
49504 COND_TOOLKIT_X11=""
49505 fi
49506
49507 COND_TOOLKIT_X11_USE_GUI_1="#"
49508 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49509 COND_TOOLKIT_X11_USE_GUI_1=""
49510 fi
49511
49512 COND_UNICODE_1="#"
49513 if test "x$UNICODE" = "x1" ; then
49514 COND_UNICODE_1=""
49515 fi
49516
49517 COND_USE_EXCEPTIONS_0="#"
49518 if test "x$USE_EXCEPTIONS" = "x0" ; then
49519 COND_USE_EXCEPTIONS_0=""
49520 fi
49521
49522 COND_USE_EXCEPTIONS_1="#"
49523 if test "x$USE_EXCEPTIONS" = "x1" ; then
49524 COND_USE_EXCEPTIONS_1=""
49525 fi
49526
49527 COND_USE_GUI_0="#"
49528 if test "x$USE_GUI" = "x0" ; then
49529 COND_USE_GUI_0=""
49530 fi
49531
49532 COND_USE_GUI_1="#"
49533 if test "x$USE_GUI" = "x1" ; then
49534 COND_USE_GUI_1=""
49535 fi
49536
49537 COND_USE_GUI_1_USE_OPENGL_1="#"
49538 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49539 COND_USE_GUI_1_USE_OPENGL_1=""
49540 fi
49541
49542 COND_USE_GUI_1_WXUNIV_0="#"
49543 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49544 COND_USE_GUI_1_WXUNIV_0=""
49545 fi
49546
49547 COND_USE_GUI_1_WXUNIV_1="#"
49548 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49549 COND_USE_GUI_1_WXUNIV_1=""
49550 fi
49551
49552 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49553 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49554 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49555 fi
49556
49557 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49558 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49559 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49560 fi
49561
49562 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49564 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49565 fi
49566
49567 COND_USE_OPENGL_1="#"
49568 if test "x$USE_OPENGL" = "x1" ; then
49569 COND_USE_OPENGL_1=""
49570 fi
49571
49572 COND_USE_PCH_1="#"
49573 if test "x$USE_PCH" = "x1" ; then
49574 COND_USE_PCH_1=""
49575 fi
49576
49577 COND_USE_PLUGINS_0="#"
49578 if test "x$USE_PLUGINS" = "x0" ; then
49579 COND_USE_PLUGINS_0=""
49580 fi
49581
49582 COND_USE_RTTI_0="#"
49583 if test "x$USE_RTTI" = "x0" ; then
49584 COND_USE_RTTI_0=""
49585 fi
49586
49587 COND_USE_RTTI_1="#"
49588 if test "x$USE_RTTI" = "x1" ; then
49589 COND_USE_RTTI_1=""
49590 fi
49591
49592 COND_USE_SOSYMLINKS_1="#"
49593 if test "x$USE_SOSYMLINKS" = "x1" ; then
49594 COND_USE_SOSYMLINKS_1=""
49595 fi
49596
49597 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49598 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49599 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49600 fi
49601
49602 COND_USE_SOVERLINUX_1="#"
49603 if test "x$USE_SOVERLINUX" = "x1" ; then
49604 COND_USE_SOVERLINUX_1=""
49605 fi
49606
49607 COND_USE_SOVERSION_0="#"
49608 if test "x$USE_SOVERSION" = "x0" ; then
49609 COND_USE_SOVERSION_0=""
49610 fi
49611
49612 COND_USE_SOVERSOLARIS_1="#"
49613 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49614 COND_USE_SOVERSOLARIS_1=""
49615 fi
49616
49617 COND_USE_STC_1="#"
49618 if test "x$USE_STC" = "x1" ; then
49619 COND_USE_STC_1=""
49620 fi
49621
49622 COND_USE_THREADS_0="#"
49623 if test "x$USE_THREADS" = "x0" ; then
49624 COND_USE_THREADS_0=""
49625 fi
49626
49627 COND_USE_THREADS_1="#"
49628 if test "x$USE_THREADS" = "x1" ; then
49629 COND_USE_THREADS_1=""
49630 fi
49631
49632 COND_USE_XRC_1="#"
49633 if test "x$USE_XRC" = "x1" ; then
49634 COND_USE_XRC_1=""
49635 fi
49636
49637 COND_WINDOWS_IMPLIB_1="#"
49638 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49639 COND_WINDOWS_IMPLIB_1=""
49640 fi
49641
49642 COND_WITH_PLUGIN_SDL_1="#"
49643 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49644 COND_WITH_PLUGIN_SDL_1=""
49645 fi
49646
49647 COND_WXUNIV_0="#"
49648 if test "x$WXUNIV" = "x0" ; then
49649 COND_WXUNIV_0=""
49650 fi
49651
49652 COND_WXUNIV_1="#"
49653 if test "x$WXUNIV" = "x1" ; then
49654 COND_WXUNIV_1=""
49655 fi
49656
49657 COND_WXUSE_EXPAT_BUILTIN="#"
49658 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49659 COND_WXUSE_EXPAT_BUILTIN=""
49660 fi
49661
49662 COND_WXUSE_LIBJPEG_BUILTIN="#"
49663 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49664 COND_WXUSE_LIBJPEG_BUILTIN=""
49665 fi
49666
49667 COND_WXUSE_LIBPNG_BUILTIN="#"
49668 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49669 COND_WXUSE_LIBPNG_BUILTIN=""
49670 fi
49671
49672 COND_WXUSE_LIBTIFF_BUILTIN="#"
49673 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49674 COND_WXUSE_LIBTIFF_BUILTIN=""
49675 fi
49676
49677 COND_WXUSE_REGEX_BUILTIN="#"
49678 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49679 COND_WXUSE_REGEX_BUILTIN=""
49680 fi
49681
49682 COND_WXUSE_ZLIB_BUILTIN="#"
49683 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49684 COND_WXUSE_ZLIB_BUILTIN=""
49685 fi
49686
49687
49688
49689 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49690 { { 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
49691 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;}
49692 { (exit 1); exit 1; }; }
49693 fi
49694
49695 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49696 { { 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
49697 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;}
49698 { (exit 1); exit 1; }; }
49699 fi
49700
49701
49702 case ${INSTALL} in
49703 /* ) # Absolute
49704 ;;
49705 ?:* ) # Drive letter, considered as absolute.
49706 ;;
49707 *)
49708 INSTALL=`pwd`/${INSTALL} ;;
49709 esac
49710
49711 if test "$wxUSE_GUI" = "yes"; then
49712
49713 if test "$wxUSE_MSW" = 1 ; then
49714 if test "x$WINDRES" = "x"; then
49715 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49716 echo "$as_me: error: Required windres program not found" >&2;}
49717 { (exit 1); exit 1; }; }
49718 fi
49719
49720 RESCOMP="$WINDRES"
49721 fi
49722
49723 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49724 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49725 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49726
49727 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49728
49729 # Extract the first word of "DeRez", so it can be a program name with args.
49730 set dummy DeRez; ac_word=$2
49731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49733 if test "${ac_cv_prog_DEREZ+set}" = set; then
49734 echo $ECHO_N "(cached) $ECHO_C" >&6
49735 else
49736 if test -n "$DEREZ"; then
49737 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49738 else
49739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49740 for as_dir in $PATH
49741 do
49742 IFS=$as_save_IFS
49743 test -z "$as_dir" && as_dir=.
49744 for ac_exec_ext in '' $ac_executable_extensions; do
49745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49746 ac_cv_prog_DEREZ="DeRez"
49747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49748 break 2
49749 fi
49750 done
49751 done
49752 IFS=$as_save_IFS
49753
49754 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49755 fi
49756 fi
49757 DEREZ=$ac_cv_prog_DEREZ
49758 if test -n "$DEREZ"; then
49759 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49760 echo "${ECHO_T}$DEREZ" >&6; }
49761 else
49762 { echo "$as_me:$LINENO: result: no" >&5
49763 echo "${ECHO_T}no" >&6; }
49764 fi
49765
49766
49767
49768 MACSETFILE="\$(SETFILE)"
49769
49770 if test "$wxUSE_MAC" = 1; then
49771 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49772 RESCOMP="$REZ"
49773 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49774 else
49775 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49776 RESCOMP="cat /dev/null \| $REZ"
49777 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49778 fi
49779
49780 else
49781 MACSETFILE="@true"
49782
49783 if test "$wxUSE_PM" = 1; then
49784 RESCOMP="emxbind"
49785 WXCONFIG_RESFLAGS="-ep"
49786
49787 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49788 else
49789 POSTLINK_COMMAND="@true"
49790 fi
49791 fi
49792
49793 fi
49794
49795
49796 if test $GCC_PCH = 1
49797 then
49798 if test "$wx_cv_gcc_pch_bug" = yes; then
49799 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49800 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49801 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49802 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49803 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49804 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49805 fi
49806
49807 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49808 fi
49809
49810
49811 if test "$wxUSE_MAC" = 1 ; then
49812 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49813 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49814 mv temp bk-deps
49815 chmod +x bk-deps
49816 fi
49817 fi
49818
49819 if test "$wxUSE_SHARED" = "yes"; then
49820 case "${host}" in
49821 *-pc-os2_emx | *-pc-os2-emx )
49822 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49823 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49824 cp -p ${srcdir}/src/os2/dllnames.sh .
49825 cp -p ${srcdir}/src/os2/dllar.sh .
49826 ;;
49827 esac
49828 fi
49829 if test "$wxUSE_OMF" = "yes"; then
49830 case "${host}" in
49831 *-pc-os2_emx | *-pc-os2-emx )
49832 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49833 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49834 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49835 ;;
49836 esac
49837 fi
49838
49839 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49840
49841
49842 case "${host}" in
49843 *-*-solaris2* )
49844 if test "$GCC" = yes; then
49845 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49846 LIBS=`echo $LIBS | sed 's/-mt//'`
49847 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49848 fi
49849 ;;
49850
49851 *-*-linux* )
49852 if test "x$SUNCXX" = xyes; then
49853 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49854 LIBS=`echo $LIBS | sed 's/-pthread//'`
49855 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49856 fi
49857 ;;
49858 esac
49859
49860 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49861 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49862
49863 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895
49896
49897
49898
49899
49900
49901
49902
49903
49904
49905
49906
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917
49918
49919
49920
49921
49922
49923
49924 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49925 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49926 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49927 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49928 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 else
49930 cat >conftest.make <<\_ACEOF
49931 SHELL = /bin/sh
49932 all:
49933 @echo '@@@%%%=$(MAKE)=@@@%%%'
49934 _ACEOF
49935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49937 *@@@%%%=?*=@@@%%%*)
49938 eval ac_cv_prog_make_${ac_make}_set=yes;;
49939 *)
49940 eval ac_cv_prog_make_${ac_make}_set=no;;
49941 esac
49942 rm -f conftest.make
49943 fi
49944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49945 { echo "$as_me:$LINENO: result: yes" >&5
49946 echo "${ECHO_T}yes" >&6; }
49947 SET_MAKE=
49948 else
49949 { echo "$as_me:$LINENO: result: no" >&5
49950 echo "${ECHO_T}no" >&6; }
49951 SET_MAKE="MAKE=${MAKE-make}"
49952 fi
49953
49954
49955
49956 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49957
49958
49959 if test "$USE_WIN32" = 1; then
49960 ac_config_commands="$ac_config_commands
49961 rcdefs.h
49962 "
49963
49964 fi
49965
49966 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49967
49968
49969 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49970
49971
49972 if test "$wx_cv_version_script" = "yes"; then
49973 ac_config_files="$ac_config_files version-script"
49974
49975 fi
49976 ac_config_files="$ac_config_files Makefile"
49977
49978
49979 ac_config_commands="$ac_config_commands wx-config"
49980
49981
49982
49983 if test "$wxWITH_SUBDIRS" != "no"; then
49984 if test "$wxUSE_GUI" = "yes"; then
49985 SUBDIRS="samples demos utils"
49986 else
49987 SUBDIRS="samples utils"
49988 fi
49989
49990
49991
49992 # Check whether --with-cppunit-prefix was given.
49993 if test "${with_cppunit_prefix+set}" = set; then
49994 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49995 else
49996 cppunit_config_prefix=""
49997 fi
49998
49999
50000 # Check whether --with-cppunit-exec-prefix was given.
50001 if test "${with_cppunit_exec_prefix+set}" = set; then
50002 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50003 else
50004 cppunit_config_exec_prefix=""
50005 fi
50006
50007
50008 if test x$cppunit_config_exec_prefix != x ; then
50009 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50010 if test x${CPPUNIT_CONFIG+set} != xset ; then
50011 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50012 fi
50013 fi
50014 if test x$cppunit_config_prefix != x ; then
50015 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50016 if test x${CPPUNIT_CONFIG+set} != xset ; then
50017 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50018 fi
50019 fi
50020
50021 # Extract the first word of "cppunit-config", so it can be a program name with args.
50022 set dummy cppunit-config; ac_word=$2
50023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50025 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50026 echo $ECHO_N "(cached) $ECHO_C" >&6
50027 else
50028 case $CPPUNIT_CONFIG in
50029 [\\/]* | ?:[\\/]*)
50030 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50031 ;;
50032 *)
50033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50034 for as_dir in $PATH
50035 do
50036 IFS=$as_save_IFS
50037 test -z "$as_dir" && as_dir=.
50038 for ac_exec_ext in '' $ac_executable_extensions; do
50039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50040 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50042 break 2
50043 fi
50044 done
50045 done
50046 IFS=$as_save_IFS
50047
50048 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50049 ;;
50050 esac
50051 fi
50052 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50053 if test -n "$CPPUNIT_CONFIG"; then
50054 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50055 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50056 else
50057 { echo "$as_me:$LINENO: result: no" >&5
50058 echo "${ECHO_T}no" >&6; }
50059 fi
50060
50061
50062 cppunit_version_min=1.8.0
50063
50064 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50065 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50066 no_cppunit=""
50067 if test "$CPPUNIT_CONFIG" = "no" ; then
50068 { echo "$as_me:$LINENO: result: no" >&5
50069 echo "${ECHO_T}no" >&6; }
50070 no_cppunit=yes
50071 else
50072 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50073 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50074 cppunit_version=`$CPPUNIT_CONFIG --version`
50075
50076 cppunit_major_version=`echo $cppunit_version | \
50077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50078 cppunit_minor_version=`echo $cppunit_version | \
50079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50080 cppunit_micro_version=`echo $cppunit_version | \
50081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50082
50083 cppunit_major_min=`echo $cppunit_version_min | \
50084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50085 cppunit_minor_min=`echo $cppunit_version_min | \
50086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50087 cppunit_micro_min=`echo $cppunit_version_min | \
50088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50089
50090 cppunit_version_proper=`expr \
50091 $cppunit_major_version \> $cppunit_major_min \| \
50092 $cppunit_major_version \= $cppunit_major_min \& \
50093 $cppunit_minor_version \> $cppunit_minor_min \| \
50094 $cppunit_major_version \= $cppunit_major_min \& \
50095 $cppunit_minor_version \= $cppunit_minor_min \& \
50096 $cppunit_micro_version \>= $cppunit_micro_min `
50097
50098 if test "$cppunit_version_proper" = "1" ; then
50099 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50100 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50101 else
50102 { echo "$as_me:$LINENO: result: no" >&5
50103 echo "${ECHO_T}no" >&6; }
50104 no_cppunit=yes
50105 fi
50106 fi
50107
50108 if test "x$no_cppunit" = x ; then
50109 SUBDIRS="$SUBDIRS tests"
50110 else
50111 CPPUNIT_CFLAGS=""
50112 CPPUNIT_LIBS=""
50113 :
50114 fi
50115
50116
50117
50118
50119
50120 for subdir in $SUBDIRS; do
50121 if test -d ${srcdir}/${subdir} ; then
50122 if test "$wxUSE_GUI" = "yes"; then
50123 if test ${subdir} = "samples"; then
50124 makefiles="samples/Makefile.in $makefiles"
50125 for sample in $SAMPLES_SUBDIRS; do
50126 if test -d $srcdir/samples/$sample; then
50127 makefiles="samples/$sample/Makefile.in $makefiles"
50128 fi
50129 done
50130 else
50131 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50132 eval "disabled=\$$disabled_var"
50133 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50134 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50135 fi
50136 else
50137 if test ${subdir} = "samples"; then
50138 makefiles="samples/Makefile.in $makefiles"
50139 for sample in `echo $SAMPLES_SUBDIRS`; do
50140 if test -d $srcdir/samples/$sample; then
50141 makefiles="samples/$sample/Makefile.in $makefiles"
50142 fi
50143 done
50144 elif test ${subdir} = "utils"; then
50145 makefiles=""
50146 for util in HelpGen tex2rtf ; do
50147 if test -d $srcdir/utils/$util ; then
50148 makefiles="utils/$util/Makefile.in \
50149 utils/$util/src/Makefile.in \
50150 $makefiles"
50151 fi
50152 done
50153 else
50154 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50155 fi
50156 fi
50157
50158 for mkin in $makefiles ; do
50159 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50160 ac_config_files="$ac_config_files $mk"
50161
50162 done
50163 fi
50164 done
50165 fi
50166 cat >confcache <<\_ACEOF
50167 # This file is a shell script that caches the results of configure
50168 # tests run on this system so they can be shared between configure
50169 # scripts and configure runs, see configure's option --config-cache.
50170 # It is not useful on other systems. If it contains results you don't
50171 # want to keep, you may remove or edit it.
50172 #
50173 # config.status only pays attention to the cache file if you give it
50174 # the --recheck option to rerun configure.
50175 #
50176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50178 # following values.
50179
50180 _ACEOF
50181
50182 # The following way of writing the cache mishandles newlines in values,
50183 # but we know of no workaround that is simple, portable, and efficient.
50184 # So, we kill variables containing newlines.
50185 # Ultrix sh set writes to stderr and can't be redirected directly,
50186 # and sets the high bit in the cache file unless we assign to the vars.
50187 (
50188 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50189 eval ac_val=\$$ac_var
50190 case $ac_val in #(
50191 *${as_nl}*)
50192 case $ac_var in #(
50193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50195 esac
50196 case $ac_var in #(
50197 _ | IFS | as_nl) ;; #(
50198 *) $as_unset $ac_var ;;
50199 esac ;;
50200 esac
50201 done
50202
50203 (set) 2>&1 |
50204 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50205 *${as_nl}ac_space=\ *)
50206 # `set' does not quote correctly, so add quotes (double-quote
50207 # substitution turns \\\\ into \\, and sed turns \\ into \).
50208 sed -n \
50209 "s/'/'\\\\''/g;
50210 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50211 ;; #(
50212 *)
50213 # `set' quotes correctly as required by POSIX, so do not add quotes.
50214 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50215 ;;
50216 esac |
50217 sort
50218 ) |
50219 sed '
50220 /^ac_cv_env_/b end
50221 t clear
50222 :clear
50223 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50224 t end
50225 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50226 :end' >>confcache
50227 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50228 if test -w "$cache_file"; then
50229 test "x$cache_file" != "x/dev/null" &&
50230 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50231 echo "$as_me: updating cache $cache_file" >&6;}
50232 cat confcache >$cache_file
50233 else
50234 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50235 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50236 fi
50237 fi
50238 rm -f confcache
50239
50240 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50241 # Let make expand exec_prefix.
50242 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50243
50244 DEFS=-DHAVE_CONFIG_H
50245
50246 ac_libobjs=
50247 ac_ltlibobjs=
50248 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50249 # 1. Remove the extension, and $U if already installed.
50250 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50251 ac_i=`echo "$ac_i" | sed "$ac_script"`
50252 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50253 # will be set to the directory where LIBOBJS objects are built.
50254 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50255 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50256 done
50257 LIBOBJS=$ac_libobjs
50258
50259 LTLIBOBJS=$ac_ltlibobjs
50260
50261
50262
50263 : ${CONFIG_STATUS=./config.status}
50264 ac_clean_files_save=$ac_clean_files
50265 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50266 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50267 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50268 cat >$CONFIG_STATUS <<_ACEOF
50269 #! $SHELL
50270 # Generated by $as_me.
50271 # Run this file to recreate the current configuration.
50272 # Compiler output produced by configure, useful for debugging
50273 # configure, is in config.log if it exists.
50274
50275 debug=false
50276 ac_cs_recheck=false
50277 ac_cs_silent=false
50278 SHELL=\${CONFIG_SHELL-$SHELL}
50279 _ACEOF
50280
50281 cat >>$CONFIG_STATUS <<\_ACEOF
50282 ## --------------------- ##
50283 ## M4sh Initialization. ##
50284 ## --------------------- ##
50285
50286 # Be more Bourne compatible
50287 DUALCASE=1; export DUALCASE # for MKS sh
50288 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50289 emulate sh
50290 NULLCMD=:
50291 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50292 # is contrary to our usage. Disable this feature.
50293 alias -g '${1+"$@"}'='"$@"'
50294 setopt NO_GLOB_SUBST
50295 else
50296 case `(set -o) 2>/dev/null` in
50297 *posix*) set -o posix ;;
50298 esac
50299
50300 fi
50301
50302
50303
50304
50305 # PATH needs CR
50306 # Avoid depending upon Character Ranges.
50307 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50308 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50309 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50310 as_cr_digits='0123456789'
50311 as_cr_alnum=$as_cr_Letters$as_cr_digits
50312
50313 # The user is always right.
50314 if test "${PATH_SEPARATOR+set}" != set; then
50315 echo "#! /bin/sh" >conf$$.sh
50316 echo "exit 0" >>conf$$.sh
50317 chmod +x conf$$.sh
50318 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50319 PATH_SEPARATOR=';'
50320 else
50321 PATH_SEPARATOR=:
50322 fi
50323 rm -f conf$$.sh
50324 fi
50325
50326 # Support unset when possible.
50327 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50328 as_unset=unset
50329 else
50330 as_unset=false
50331 fi
50332
50333
50334 # IFS
50335 # We need space, tab and new line, in precisely that order. Quoting is
50336 # there to prevent editors from complaining about space-tab.
50337 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50338 # splitting by setting IFS to empty value.)
50339 as_nl='
50340 '
50341 IFS=" "" $as_nl"
50342
50343 # Find who we are. Look in the path if we contain no directory separator.
50344 case $0 in
50345 *[\\/]* ) as_myself=$0 ;;
50346 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50347 for as_dir in $PATH
50348 do
50349 IFS=$as_save_IFS
50350 test -z "$as_dir" && as_dir=.
50351 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50352 done
50353 IFS=$as_save_IFS
50354
50355 ;;
50356 esac
50357 # We did not find ourselves, most probably we were run as `sh COMMAND'
50358 # in which case we are not to be found in the path.
50359 if test "x$as_myself" = x; then
50360 as_myself=$0
50361 fi
50362 if test ! -f "$as_myself"; then
50363 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50364 { (exit 1); exit 1; }
50365 fi
50366
50367 # Work around bugs in pre-3.0 UWIN ksh.
50368 for as_var in ENV MAIL MAILPATH
50369 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50370 done
50371 PS1='$ '
50372 PS2='> '
50373 PS4='+ '
50374
50375 # NLS nuisances.
50376 for as_var in \
50377 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50378 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50379 LC_TELEPHONE LC_TIME
50380 do
50381 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50382 eval $as_var=C; export $as_var
50383 else
50384 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50385 fi
50386 done
50387
50388 # Required to use basename.
50389 if expr a : '\(a\)' >/dev/null 2>&1 &&
50390 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50391 as_expr=expr
50392 else
50393 as_expr=false
50394 fi
50395
50396 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50397 as_basename=basename
50398 else
50399 as_basename=false
50400 fi
50401
50402
50403 # Name of the executable.
50404 as_me=`$as_basename -- "$0" ||
50405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50406 X"$0" : 'X\(//\)$' \| \
50407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50408 echo X/"$0" |
50409 sed '/^.*\/\([^/][^/]*\)\/*$/{
50410 s//\1/
50411 q
50412 }
50413 /^X\/\(\/\/\)$/{
50414 s//\1/
50415 q
50416 }
50417 /^X\/\(\/\).*/{
50418 s//\1/
50419 q
50420 }
50421 s/.*/./; q'`
50422
50423 # CDPATH.
50424 $as_unset CDPATH
50425
50426
50427
50428 as_lineno_1=$LINENO
50429 as_lineno_2=$LINENO
50430 test "x$as_lineno_1" != "x$as_lineno_2" &&
50431 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50432
50433 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50434 # uniformly replaced by the line number. The first 'sed' inserts a
50435 # line-number line after each line using $LINENO; the second 'sed'
50436 # does the real work. The second script uses 'N' to pair each
50437 # line-number line with the line containing $LINENO, and appends
50438 # trailing '-' during substitution so that $LINENO is not a special
50439 # case at line end.
50440 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50441 # scripts with optimization help from Paolo Bonzini. Blame Lee
50442 # E. McMahon (1931-1989) for sed's syntax. :-)
50443 sed -n '
50444 p
50445 /[$]LINENO/=
50446 ' <$as_myself |
50447 sed '
50448 s/[$]LINENO.*/&-/
50449 t lineno
50450 b
50451 :lineno
50452 N
50453 :loop
50454 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50455 t loop
50456 s/-\n.*//
50457 ' >$as_me.lineno &&
50458 chmod +x "$as_me.lineno" ||
50459 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50460 { (exit 1); exit 1; }; }
50461
50462 # Don't try to exec as it changes $[0], causing all sort of problems
50463 # (the dirname of $[0] is not the place where we might find the
50464 # original and so on. Autoconf is especially sensitive to this).
50465 . "./$as_me.lineno"
50466 # Exit status is that of the last command.
50467 exit
50468 }
50469
50470
50471 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50472 as_dirname=dirname
50473 else
50474 as_dirname=false
50475 fi
50476
50477 ECHO_C= ECHO_N= ECHO_T=
50478 case `echo -n x` in
50479 -n*)
50480 case `echo 'x\c'` in
50481 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50482 *) ECHO_C='\c';;
50483 esac;;
50484 *)
50485 ECHO_N='-n';;
50486 esac
50487
50488 if expr a : '\(a\)' >/dev/null 2>&1 &&
50489 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50490 as_expr=expr
50491 else
50492 as_expr=false
50493 fi
50494
50495 rm -f conf$$ conf$$.exe conf$$.file
50496 if test -d conf$$.dir; then
50497 rm -f conf$$.dir/conf$$.file
50498 else
50499 rm -f conf$$.dir
50500 mkdir conf$$.dir
50501 fi
50502 echo >conf$$.file
50503 if ln -s conf$$.file conf$$ 2>/dev/null; then
50504 as_ln_s='ln -s'
50505 # ... but there are two gotchas:
50506 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50507 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50508 # In both cases, we have to default to `cp -p'.
50509 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50510 as_ln_s='cp -p'
50511 elif ln conf$$.file conf$$ 2>/dev/null; then
50512 as_ln_s=ln
50513 else
50514 as_ln_s='cp -p'
50515 fi
50516 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50517 rmdir conf$$.dir 2>/dev/null
50518
50519 if mkdir -p . 2>/dev/null; then
50520 as_mkdir_p=:
50521 else
50522 test -d ./-p && rmdir ./-p
50523 as_mkdir_p=false
50524 fi
50525
50526 if test -x / >/dev/null 2>&1; then
50527 as_test_x='test -x'
50528 else
50529 if ls -dL / >/dev/null 2>&1; then
50530 as_ls_L_option=L
50531 else
50532 as_ls_L_option=
50533 fi
50534 as_test_x='
50535 eval sh -c '\''
50536 if test -d "$1"; then
50537 test -d "$1/.";
50538 else
50539 case $1 in
50540 -*)set "./$1";;
50541 esac;
50542 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50543 ???[sx]*):;;*)false;;esac;fi
50544 '\'' sh
50545 '
50546 fi
50547 as_executable_p=$as_test_x
50548
50549 # Sed expression to map a string onto a valid CPP name.
50550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50551
50552 # Sed expression to map a string onto a valid variable name.
50553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50554
50555
50556 exec 6>&1
50557
50558 # Save the log message, to keep $[0] and so on meaningful, and to
50559 # report actual input values of CONFIG_FILES etc. instead of their
50560 # values after options handling.
50561 ac_log="
50562 This file was extended by wxWidgets $as_me 2.9.0, which was
50563 generated by GNU Autoconf 2.61. Invocation command line was
50564
50565 CONFIG_FILES = $CONFIG_FILES
50566 CONFIG_HEADERS = $CONFIG_HEADERS
50567 CONFIG_LINKS = $CONFIG_LINKS
50568 CONFIG_COMMANDS = $CONFIG_COMMANDS
50569 $ $0 $@
50570
50571 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50572 "
50573
50574 _ACEOF
50575
50576 cat >>$CONFIG_STATUS <<_ACEOF
50577 # Files that config.status was made for.
50578 config_files="$ac_config_files"
50579 config_headers="$ac_config_headers"
50580 config_commands="$ac_config_commands"
50581
50582 _ACEOF
50583
50584 cat >>$CONFIG_STATUS <<\_ACEOF
50585 ac_cs_usage="\
50586 \`$as_me' instantiates files from templates according to the
50587 current configuration.
50588
50589 Usage: $0 [OPTIONS] [FILE]...
50590
50591 -h, --help print this help, then exit
50592 -V, --version print version number and configuration settings, then exit
50593 -q, --quiet do not print progress messages
50594 -d, --debug don't remove temporary files
50595 --recheck update $as_me by reconfiguring in the same conditions
50596 --file=FILE[:TEMPLATE]
50597 instantiate the configuration file FILE
50598 --header=FILE[:TEMPLATE]
50599 instantiate the configuration header FILE
50600
50601 Configuration files:
50602 $config_files
50603
50604 Configuration headers:
50605 $config_headers
50606
50607 Configuration commands:
50608 $config_commands
50609
50610 Report bugs to <bug-autoconf@gnu.org>."
50611
50612 _ACEOF
50613 cat >>$CONFIG_STATUS <<_ACEOF
50614 ac_cs_version="\\
50615 wxWidgets config.status 2.9.0
50616 configured by $0, generated by GNU Autoconf 2.61,
50617 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50618
50619 Copyright (C) 2006 Free Software Foundation, Inc.
50620 This config.status script is free software; the Free Software Foundation
50621 gives unlimited permission to copy, distribute and modify it."
50622
50623 ac_pwd='$ac_pwd'
50624 srcdir='$srcdir'
50625 INSTALL='$INSTALL'
50626 _ACEOF
50627
50628 cat >>$CONFIG_STATUS <<\_ACEOF
50629 # If no file are specified by the user, then we need to provide default
50630 # value. By we need to know if files were specified by the user.
50631 ac_need_defaults=:
50632 while test $# != 0
50633 do
50634 case $1 in
50635 --*=*)
50636 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50637 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50638 ac_shift=:
50639 ;;
50640 *)
50641 ac_option=$1
50642 ac_optarg=$2
50643 ac_shift=shift
50644 ;;
50645 esac
50646
50647 case $ac_option in
50648 # Handling of the options.
50649 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50650 ac_cs_recheck=: ;;
50651 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50652 echo "$ac_cs_version"; exit ;;
50653 --debug | --debu | --deb | --de | --d | -d )
50654 debug=: ;;
50655 --file | --fil | --fi | --f )
50656 $ac_shift
50657 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50658 ac_need_defaults=false;;
50659 --header | --heade | --head | --hea )
50660 $ac_shift
50661 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50662 ac_need_defaults=false;;
50663 --he | --h)
50664 # Conflict between --help and --header
50665 { echo "$as_me: error: ambiguous option: $1
50666 Try \`$0 --help' for more information." >&2
50667 { (exit 1); exit 1; }; };;
50668 --help | --hel | -h )
50669 echo "$ac_cs_usage"; exit ;;
50670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50671 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50672 ac_cs_silent=: ;;
50673
50674 # This is an error.
50675 -*) { echo "$as_me: error: unrecognized option: $1
50676 Try \`$0 --help' for more information." >&2
50677 { (exit 1); exit 1; }; } ;;
50678
50679 *) ac_config_targets="$ac_config_targets $1"
50680 ac_need_defaults=false ;;
50681
50682 esac
50683 shift
50684 done
50685
50686 ac_configure_extra_args=
50687
50688 if $ac_cs_silent; then
50689 exec 6>/dev/null
50690 ac_configure_extra_args="$ac_configure_extra_args --silent"
50691 fi
50692
50693 _ACEOF
50694 cat >>$CONFIG_STATUS <<_ACEOF
50695 if \$ac_cs_recheck; then
50696 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50697 CONFIG_SHELL=$SHELL
50698 export CONFIG_SHELL
50699 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50700 fi
50701
50702 _ACEOF
50703 cat >>$CONFIG_STATUS <<\_ACEOF
50704 exec 5>>config.log
50705 {
50706 echo
50707 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50708 ## Running $as_me. ##
50709 _ASBOX
50710 echo "$ac_log"
50711 } >&5
50712
50713 _ACEOF
50714 cat >>$CONFIG_STATUS <<_ACEOF
50715 #
50716 # INIT-COMMANDS
50717 #
50718
50719 CPP="$CPP"
50720 infile="$srcdir/include/wx/msw/genrcdefs.h"
50721 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50722
50723
50724 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50725 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50726 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50727 LN_S="${LN_S}"
50728
50729
50730 _ACEOF
50731
50732 cat >>$CONFIG_STATUS <<\_ACEOF
50733
50734 # Handling of arguments.
50735 for ac_config_target in $ac_config_targets
50736 do
50737 case $ac_config_target in
50738 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50739 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50740 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50741 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50742 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50743 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50744 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50745 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50746
50747 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50748 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50749 { (exit 1); exit 1; }; };;
50750 esac
50751 done
50752
50753
50754 # If the user did not use the arguments to specify the items to instantiate,
50755 # then the envvar interface is used. Set only those that are not.
50756 # We use the long form for the default assignment because of an extremely
50757 # bizarre bug on SunOS 4.1.3.
50758 if $ac_need_defaults; then
50759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50762 fi
50763
50764 # Have a temporary directory for convenience. Make it in the build tree
50765 # simply because there is no reason against having it here, and in addition,
50766 # creating and moving files from /tmp can sometimes cause problems.
50767 # Hook for its removal unless debugging.
50768 # Note that there is a small window in which the directory will not be cleaned:
50769 # after its creation but before its name has been assigned to `$tmp'.
50770 $debug ||
50771 {
50772 tmp=
50773 trap 'exit_status=$?
50774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50775 ' 0
50776 trap '{ (exit 1); exit 1; }' 1 2 13 15
50777 }
50778 # Create a (secure) tmp directory for tmp files.
50779
50780 {
50781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50782 test -n "$tmp" && test -d "$tmp"
50783 } ||
50784 {
50785 tmp=./conf$$-$RANDOM
50786 (umask 077 && mkdir "$tmp")
50787 } ||
50788 {
50789 echo "$me: cannot create a temporary directory in ." >&2
50790 { (exit 1); exit 1; }
50791 }
50792
50793 #
50794 # Set up the sed scripts for CONFIG_FILES section.
50795 #
50796
50797 # No need to generate the scripts if there are no CONFIG_FILES.
50798 # This happens for instance when ./config.status config.h
50799 if test -n "$CONFIG_FILES"; then
50800
50801 _ACEOF
50802
50803
50804
50805 ac_delim='%!_!# '
50806 for ac_last_try in false false false false false :; do
50807 cat >conf$$subs.sed <<_ACEOF
50808 SHELL!$SHELL$ac_delim
50809 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50810 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50811 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50812 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50813 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50814 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50815 exec_prefix!$exec_prefix$ac_delim
50816 prefix!$prefix$ac_delim
50817 program_transform_name!$program_transform_name$ac_delim
50818 bindir!$bindir$ac_delim
50819 sbindir!$sbindir$ac_delim
50820 libexecdir!$libexecdir$ac_delim
50821 datarootdir!$datarootdir$ac_delim
50822 datadir!$datadir$ac_delim
50823 sysconfdir!$sysconfdir$ac_delim
50824 sharedstatedir!$sharedstatedir$ac_delim
50825 localstatedir!$localstatedir$ac_delim
50826 includedir!$includedir$ac_delim
50827 oldincludedir!$oldincludedir$ac_delim
50828 docdir!$docdir$ac_delim
50829 infodir!$infodir$ac_delim
50830 htmldir!$htmldir$ac_delim
50831 dvidir!$dvidir$ac_delim
50832 pdfdir!$pdfdir$ac_delim
50833 psdir!$psdir$ac_delim
50834 libdir!$libdir$ac_delim
50835 localedir!$localedir$ac_delim
50836 mandir!$mandir$ac_delim
50837 DEFS!$DEFS$ac_delim
50838 ECHO_C!$ECHO_C$ac_delim
50839 ECHO_N!$ECHO_N$ac_delim
50840 ECHO_T!$ECHO_T$ac_delim
50841 LIBS!$LIBS$ac_delim
50842 build_alias!$build_alias$ac_delim
50843 host_alias!$host_alias$ac_delim
50844 target_alias!$target_alias$ac_delim
50845 build!$build$ac_delim
50846 build_cpu!$build_cpu$ac_delim
50847 build_vendor!$build_vendor$ac_delim
50848 build_os!$build_os$ac_delim
50849 host!$host$ac_delim
50850 host_cpu!$host_cpu$ac_delim
50851 host_vendor!$host_vendor$ac_delim
50852 host_os!$host_os$ac_delim
50853 target!$target$ac_delim
50854 target_cpu!$target_cpu$ac_delim
50855 target_vendor!$target_vendor$ac_delim
50856 target_os!$target_os$ac_delim
50857 wx_top_builddir!$wx_top_builddir$ac_delim
50858 CC!$CC$ac_delim
50859 CFLAGS!$CFLAGS$ac_delim
50860 LDFLAGS!$LDFLAGS$ac_delim
50861 CPPFLAGS!$CPPFLAGS$ac_delim
50862 ac_ct_CC!$ac_ct_CC$ac_delim
50863 EXEEXT!$EXEEXT$ac_delim
50864 OBJEXT!$OBJEXT$ac_delim
50865 CPP!$CPP$ac_delim
50866 GREP!$GREP$ac_delim
50867 EGREP!$EGREP$ac_delim
50868 CXX!$CXX$ac_delim
50869 CXXFLAGS!$CXXFLAGS$ac_delim
50870 ac_ct_CXX!$ac_ct_CXX$ac_delim
50871 AR!$AR$ac_delim
50872 subdirs!$subdirs$ac_delim
50873 PKG_CONFIG!$PKG_CONFIG$ac_delim
50874 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50875 GTK_LIBS!$GTK_LIBS$ac_delim
50876 GTK_CONFIG!$GTK_CONFIG$ac_delim
50877 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50878 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50879 XMKMF!$XMKMF$ac_delim
50880 X_CFLAGS!$X_CFLAGS$ac_delim
50881 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50882 X_LIBS!$X_LIBS$ac_delim
50883 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50884 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50885 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50886 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50887 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50888 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50889 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50890 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50891 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50892 LIBICONV!$LIBICONV$ac_delim
50893 SDL_CONFIG!$SDL_CONFIG$ac_delim
50894 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50895 SDL_LIBS!$SDL_LIBS$ac_delim
50896 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50897 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50898 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50899 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50900 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50901 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50902 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50903 HILDON_LIBS!$HILDON_LIBS$ac_delim
50904 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50905 _ACEOF
50906
50907 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50908 break
50909 elif $ac_last_try; then
50910 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50911 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50912 { (exit 1); exit 1; }; }
50913 else
50914 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50915 fi
50916 done
50917
50918 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50919 if test -n "$ac_eof"; then
50920 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50921 ac_eof=`expr $ac_eof + 1`
50922 fi
50923
50924 cat >>$CONFIG_STATUS <<_ACEOF
50925 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50927 _ACEOF
50928 sed '
50929 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50930 s/^/s,@/; s/!/@,|#_!!_#|/
50931 :n
50932 t n
50933 s/'"$ac_delim"'$/,g/; t
50934 s/$/\\/; p
50935 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50936 ' >>$CONFIG_STATUS <conf$$subs.sed
50937 rm -f conf$$subs.sed
50938 cat >>$CONFIG_STATUS <<_ACEOF
50939 CEOF$ac_eof
50940 _ACEOF
50941
50942
50943 ac_delim='%!_!# '
50944 for ac_last_try in false false false false false :; do
50945 cat >conf$$subs.sed <<_ACEOF
50946 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50947 GST_CFLAGS!$GST_CFLAGS$ac_delim
50948 GST_LIBS!$GST_LIBS$ac_delim
50949 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50950 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50951 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50952 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50953 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50954 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50955 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50956 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50957 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50958 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50959 VENDOR!$VENDOR$ac_delim
50960 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50961 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50962 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50963 WXUNIV!$WXUNIV$ac_delim
50964 MONOLITHIC!$MONOLITHIC$ac_delim
50965 USE_PLUGINS!$USE_PLUGINS$ac_delim
50966 CXXWARNINGS!$CXXWARNINGS$ac_delim
50967 EXTRALIBS!$EXTRALIBS$ac_delim
50968 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50969 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50970 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50971 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50972 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50973 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50974 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
50975 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50976 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50977 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50978 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50979 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50980 UNICODE!$UNICODE$ac_delim
50981 BUILD!$BUILD$ac_delim
50982 DEBUG_INFO!$DEBUG_INFO$ac_delim
50983 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50984 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50985 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50986 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50987 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50988 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50989 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50990 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50991 RANLIB!$RANLIB$ac_delim
50992 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50993 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50994 INSTALL_DATA!$INSTALL_DATA$ac_delim
50995 LN_S!$LN_S$ac_delim
50996 SET_MAKE!$SET_MAKE$ac_delim
50997 MAKE_SET!$MAKE_SET$ac_delim
50998 AROPTIONS!$AROPTIONS$ac_delim
50999 STRIP!$STRIP$ac_delim
51000 NM!$NM$ac_delim
51001 INSTALL_DIR!$INSTALL_DIR$ac_delim
51002 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51003 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51004 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51005 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51006 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51007 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51008 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51009 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51010 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51011 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51012 SO_SUFFIX!$SO_SUFFIX$ac_delim
51013 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51014 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51015 LIBPREFIX!$LIBPREFIX$ac_delim
51016 LIBEXT!$LIBEXT$ac_delim
51017 DLLPREFIX!$DLLPREFIX$ac_delim
51018 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51019 dlldir!$dlldir$ac_delim
51020 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51021 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51022 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51023 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51024 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51025 PIC_FLAG!$PIC_FLAG$ac_delim
51026 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51027 USE_SOVERSION!$USE_SOVERSION$ac_delim
51028 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51029 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51030 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51031 USE_MACVERSION!$USE_MACVERSION$ac_delim
51032 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51033 SONAME_FLAG!$SONAME_FLAG$ac_delim
51034 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51035 BK_DEPS!$BK_DEPS$ac_delim
51036 WINDRES!$WINDRES$ac_delim
51037 REZ!$REZ$ac_delim
51038 SETFILE!$SETFILE$ac_delim
51039 GCC_PCH!$GCC_PCH$ac_delim
51040 ICC_PCH!$ICC_PCH$ac_delim
51041 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51042 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51043 _ACEOF
51044
51045 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51046 break
51047 elif $ac_last_try; then
51048 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51049 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51050 { (exit 1); exit 1; }; }
51051 else
51052 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51053 fi
51054 done
51055
51056 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51057 if test -n "$ac_eof"; then
51058 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51059 ac_eof=`expr $ac_eof + 1`
51060 fi
51061
51062 cat >>$CONFIG_STATUS <<_ACEOF
51063 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51065 _ACEOF
51066 sed '
51067 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51068 s/^/s,@/; s/!/@,|#_!!_#|/
51069 :n
51070 t n
51071 s/'"$ac_delim"'$/,g/; t
51072 s/$/\\/; p
51073 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51074 ' >>$CONFIG_STATUS <conf$$subs.sed
51075 rm -f conf$$subs.sed
51076 cat >>$CONFIG_STATUS <<_ACEOF
51077 CEOF$ac_eof
51078 _ACEOF
51079
51080
51081 ac_delim='%!_!# '
51082 for ac_last_try in false false false false false :; do
51083 cat >conf$$subs.sed <<_ACEOF
51084 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51085 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51086 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51087 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51088 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51089 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51090 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51091 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51092 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51093 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51094 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51095 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51096 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51097 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51098 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51099 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51100 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51101 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51106 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51107 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51108 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51109 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51110 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51115 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51116 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51117 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51118 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51119 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51120 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51121 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51122 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51123 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51124 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51125 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51126 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51127 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51128 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51129 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51130 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51131 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51132 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51133 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51134 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51135 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51136 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51137 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51138 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51140 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51141 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51142 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51143 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51144 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51145 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51146 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51147 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51148 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51149 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51150 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51151 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51153 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51154 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51155 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51156 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51157 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51158 COND_SHARED_0!$COND_SHARED_0$ac_delim
51159 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51160 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51161 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51162 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51163 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51164 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51165 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51166 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51167 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51168 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51169 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51170 COND_SHARED_1!$COND_SHARED_1$ac_delim
51171 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51172 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51173 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51174 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51175 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51176 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51177 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51178 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51180 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51181 _ACEOF
51182
51183 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51184 break
51185 elif $ac_last_try; then
51186 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51187 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51188 { (exit 1); exit 1; }; }
51189 else
51190 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51191 fi
51192 done
51193
51194 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51195 if test -n "$ac_eof"; then
51196 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51197 ac_eof=`expr $ac_eof + 1`
51198 fi
51199
51200 cat >>$CONFIG_STATUS <<_ACEOF
51201 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51203 _ACEOF
51204 sed '
51205 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51206 s/^/s,@/; s/!/@,|#_!!_#|/
51207 :n
51208 t n
51209 s/'"$ac_delim"'$/,g/; t
51210 s/$/\\/; p
51211 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51212 ' >>$CONFIG_STATUS <conf$$subs.sed
51213 rm -f conf$$subs.sed
51214 cat >>$CONFIG_STATUS <<_ACEOF
51215 CEOF$ac_eof
51216 _ACEOF
51217
51218
51219 ac_delim='%!_!# '
51220 for ac_last_try in false false false false false :; do
51221 cat >conf$$subs.sed <<_ACEOF
51222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51226 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51227 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51228 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51229 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51230 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51231 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51232 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51233 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51234 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51235 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51236 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51237 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51238 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51239 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51240 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51241 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51242 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51243 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51244 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51245 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51246 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51247 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51248 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51249 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51250 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51251 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51252 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51253 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51254 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51255 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51256 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51257 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51258 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51259 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51260 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51261 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51262 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51263 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51264 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51265 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51266 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51267 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51268 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51269 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51270 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51271 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51272 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51273 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51274 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51275 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51276 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51277 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51278 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51279 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51280 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51281 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51282 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51283 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51284 DEREZ!$DEREZ$ac_delim
51285 SHARED!$SHARED$ac_delim
51286 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51287 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51288 USE_GUI!$USE_GUI$ac_delim
51289 AFMINSTALL!$AFMINSTALL$ac_delim
51290 WIN32INSTALL!$WIN32INSTALL$ac_delim
51291 TOOLKIT!$TOOLKIT$ac_delim
51292 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51293 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51294 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51295 cross_compiling!$cross_compiling$ac_delim
51296 WIDGET_SET!$WIDGET_SET$ac_delim
51297 WX_RELEASE!$WX_RELEASE$ac_delim
51298 WX_VERSION!$WX_VERSION$ac_delim
51299 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51300 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51301 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51302 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51303 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51304 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51305 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51306 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51307 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51308 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51309 GUIDIST!$GUIDIST$ac_delim
51310 DISTDIR!$DISTDIR$ac_delim
51311 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51312 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51313 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51314 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51315 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51316 RESCOMP!$RESCOMP$ac_delim
51317 RESFLAGS!$RESFLAGS$ac_delim
51318 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51319 _ACEOF
51320
51321 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51322 break
51323 elif $ac_last_try; then
51324 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51325 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51326 { (exit 1); exit 1; }; }
51327 else
51328 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51329 fi
51330 done
51331
51332 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51333 if test -n "$ac_eof"; then
51334 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51335 ac_eof=`expr $ac_eof + 1`
51336 fi
51337
51338 cat >>$CONFIG_STATUS <<_ACEOF
51339 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51341 _ACEOF
51342 sed '
51343 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51344 s/^/s,@/; s/!/@,|#_!!_#|/
51345 :n
51346 t n
51347 s/'"$ac_delim"'$/,g/; t
51348 s/$/\\/; p
51349 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51350 ' >>$CONFIG_STATUS <conf$$subs.sed
51351 rm -f conf$$subs.sed
51352 cat >>$CONFIG_STATUS <<_ACEOF
51353 CEOF$ac_eof
51354 _ACEOF
51355
51356
51357 ac_delim='%!_!# '
51358 for ac_last_try in false false false false false :; do
51359 cat >conf$$subs.sed <<_ACEOF
51360 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51361 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51362 LIBWXMACRES!$LIBWXMACRES$ac_delim
51363 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51364 MACSETFILE!$MACSETFILE$ac_delim
51365 GCC!$GCC$ac_delim
51366 DLLTOOL!$DLLTOOL$ac_delim
51367 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51368 LIBOBJS!$LIBOBJS$ac_delim
51369 LTLIBOBJS!$LTLIBOBJS$ac_delim
51370 _ACEOF
51371
51372 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
51373 break
51374 elif $ac_last_try; then
51375 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51376 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51377 { (exit 1); exit 1; }; }
51378 else
51379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51380 fi
51381 done
51382
51383 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51384 if test -n "$ac_eof"; then
51385 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51386 ac_eof=`expr $ac_eof + 1`
51387 fi
51388
51389 cat >>$CONFIG_STATUS <<_ACEOF
51390 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51392 _ACEOF
51393 sed '
51394 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51395 s/^/s,@/; s/!/@,|#_!!_#|/
51396 :n
51397 t n
51398 s/'"$ac_delim"'$/,g/; t
51399 s/$/\\/; p
51400 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51401 ' >>$CONFIG_STATUS <conf$$subs.sed
51402 rm -f conf$$subs.sed
51403 cat >>$CONFIG_STATUS <<_ACEOF
51404 :end
51405 s/|#_!!_#|//g
51406 CEOF$ac_eof
51407 _ACEOF
51408
51409
51410 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51411 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51412 # trailing colons and then remove the whole line if VPATH becomes empty
51413 # (actually we leave an empty line to preserve line numbers).
51414 if test "x$srcdir" = x.; then
51415 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51416 s/:*\$(srcdir):*/:/
51417 s/:*\${srcdir}:*/:/
51418 s/:*@srcdir@:*/:/
51419 s/^\([^=]*=[ ]*\):*/\1/
51420 s/:*$//
51421 s/^[^=]*=[ ]*$//
51422 }'
51423 fi
51424
51425 cat >>$CONFIG_STATUS <<\_ACEOF
51426 fi # test -n "$CONFIG_FILES"
51427
51428
51429 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51430 do
51431 case $ac_tag in
51432 :[FHLC]) ac_mode=$ac_tag; continue;;
51433 esac
51434 case $ac_mode$ac_tag in
51435 :[FHL]*:*);;
51436 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51437 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51438 { (exit 1); exit 1; }; };;
51439 :[FH]-) ac_tag=-:-;;
51440 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51441 esac
51442 ac_save_IFS=$IFS
51443 IFS=:
51444 set x $ac_tag
51445 IFS=$ac_save_IFS
51446 shift
51447 ac_file=$1
51448 shift
51449
51450 case $ac_mode in
51451 :L) ac_source=$1;;
51452 :[FH])
51453 ac_file_inputs=
51454 for ac_f
51455 do
51456 case $ac_f in
51457 -) ac_f="$tmp/stdin";;
51458 *) # Look for the file first in the build tree, then in the source tree
51459 # (if the path is not absolute). The absolute path cannot be DOS-style,
51460 # because $ac_f cannot contain `:'.
51461 test -f "$ac_f" ||
51462 case $ac_f in
51463 [\\/$]*) false;;
51464 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51465 esac ||
51466 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51467 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51468 { (exit 1); exit 1; }; };;
51469 esac
51470 ac_file_inputs="$ac_file_inputs $ac_f"
51471 done
51472
51473 # Let's still pretend it is `configure' which instantiates (i.e., don't
51474 # use $as_me), people would be surprised to read:
51475 # /* config.h. Generated by config.status. */
51476 configure_input="Generated from "`IFS=:
51477 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51478 if test x"$ac_file" != x-; then
51479 configure_input="$ac_file. $configure_input"
51480 { echo "$as_me:$LINENO: creating $ac_file" >&5
51481 echo "$as_me: creating $ac_file" >&6;}
51482 fi
51483
51484 case $ac_tag in
51485 *:-:* | *:-) cat >"$tmp/stdin";;
51486 esac
51487 ;;
51488 esac
51489
51490 ac_dir=`$as_dirname -- "$ac_file" ||
51491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51492 X"$ac_file" : 'X\(//\)[^/]' \| \
51493 X"$ac_file" : 'X\(//\)$' \| \
51494 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51495 echo X"$ac_file" |
51496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51497 s//\1/
51498 q
51499 }
51500 /^X\(\/\/\)[^/].*/{
51501 s//\1/
51502 q
51503 }
51504 /^X\(\/\/\)$/{
51505 s//\1/
51506 q
51507 }
51508 /^X\(\/\).*/{
51509 s//\1/
51510 q
51511 }
51512 s/.*/./; q'`
51513 { as_dir="$ac_dir"
51514 case $as_dir in #(
51515 -*) as_dir=./$as_dir;;
51516 esac
51517 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51518 as_dirs=
51519 while :; do
51520 case $as_dir in #(
51521 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51522 *) as_qdir=$as_dir;;
51523 esac
51524 as_dirs="'$as_qdir' $as_dirs"
51525 as_dir=`$as_dirname -- "$as_dir" ||
51526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51527 X"$as_dir" : 'X\(//\)[^/]' \| \
51528 X"$as_dir" : 'X\(//\)$' \| \
51529 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51530 echo X"$as_dir" |
51531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51532 s//\1/
51533 q
51534 }
51535 /^X\(\/\/\)[^/].*/{
51536 s//\1/
51537 q
51538 }
51539 /^X\(\/\/\)$/{
51540 s//\1/
51541 q
51542 }
51543 /^X\(\/\).*/{
51544 s//\1/
51545 q
51546 }
51547 s/.*/./; q'`
51548 test -d "$as_dir" && break
51549 done
51550 test -z "$as_dirs" || eval "mkdir $as_dirs"
51551 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51552 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51553 { (exit 1); exit 1; }; }; }
51554 ac_builddir=.
51555
51556 case "$ac_dir" in
51557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51558 *)
51559 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51560 # A ".." for each directory in $ac_dir_suffix.
51561 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51562 case $ac_top_builddir_sub in
51563 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51564 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51565 esac ;;
51566 esac
51567 ac_abs_top_builddir=$ac_pwd
51568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51569 # for backward compatibility:
51570 ac_top_builddir=$ac_top_build_prefix
51571
51572 case $srcdir in
51573 .) # We are building in place.
51574 ac_srcdir=.
51575 ac_top_srcdir=$ac_top_builddir_sub
51576 ac_abs_top_srcdir=$ac_pwd ;;
51577 [\\/]* | ?:[\\/]* ) # Absolute name.
51578 ac_srcdir=$srcdir$ac_dir_suffix;
51579 ac_top_srcdir=$srcdir
51580 ac_abs_top_srcdir=$srcdir ;;
51581 *) # Relative name.
51582 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51583 ac_top_srcdir=$ac_top_build_prefix$srcdir
51584 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51585 esac
51586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51587
51588
51589 case $ac_mode in
51590 :F)
51591 #
51592 # CONFIG_FILE
51593 #
51594
51595 case $INSTALL in
51596 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51597 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51598 esac
51599 _ACEOF
51600
51601 cat >>$CONFIG_STATUS <<\_ACEOF
51602 # If the template does not know about datarootdir, expand it.
51603 # FIXME: This hack should be removed a few years after 2.60.
51604 ac_datarootdir_hack=; ac_datarootdir_seen=
51605
51606 case `sed -n '/datarootdir/ {
51607 p
51608 q
51609 }
51610 /@datadir@/p
51611 /@docdir@/p
51612 /@infodir@/p
51613 /@localedir@/p
51614 /@mandir@/p
51615 ' $ac_file_inputs` in
51616 *datarootdir*) ac_datarootdir_seen=yes;;
51617 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51618 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51619 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51620 _ACEOF
51621 cat >>$CONFIG_STATUS <<_ACEOF
51622 ac_datarootdir_hack='
51623 s&@datadir@&$datadir&g
51624 s&@docdir@&$docdir&g
51625 s&@infodir@&$infodir&g
51626 s&@localedir@&$localedir&g
51627 s&@mandir@&$mandir&g
51628 s&\\\${datarootdir}&$datarootdir&g' ;;
51629 esac
51630 _ACEOF
51631
51632 # Neutralize VPATH when `$srcdir' = `.'.
51633 # Shell code in configure.ac might set extrasub.
51634 # FIXME: do we really want to maintain this feature?
51635 cat >>$CONFIG_STATUS <<_ACEOF
51636 sed "$ac_vpsub
51637 $extrasub
51638 _ACEOF
51639 cat >>$CONFIG_STATUS <<\_ACEOF
51640 :t
51641 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51642 s&@configure_input@&$configure_input&;t t
51643 s&@top_builddir@&$ac_top_builddir_sub&;t t
51644 s&@srcdir@&$ac_srcdir&;t t
51645 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51646 s&@top_srcdir@&$ac_top_srcdir&;t t
51647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51648 s&@builddir@&$ac_builddir&;t t
51649 s&@abs_builddir@&$ac_abs_builddir&;t t
51650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51651 s&@INSTALL@&$ac_INSTALL&;t t
51652 $ac_datarootdir_hack
51653 " $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
51654
51655 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51656 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51657 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51658 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51659 which seems to be undefined. Please make sure it is defined." >&5
51660 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51661 which seems to be undefined. Please make sure it is defined." >&2;}
51662
51663 rm -f "$tmp/stdin"
51664 case $ac_file in
51665 -) cat "$tmp/out"; rm -f "$tmp/out";;
51666 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51667 esac
51668 ;;
51669 :H)
51670 #
51671 # CONFIG_HEADER
51672 #
51673 _ACEOF
51674
51675 # Transform confdefs.h into a sed script `conftest.defines', that
51676 # substitutes the proper values into config.h.in to produce config.h.
51677 rm -f conftest.defines conftest.tail
51678 # First, append a space to every undef/define line, to ease matching.
51679 echo 's/$/ /' >conftest.defines
51680 # Then, protect against being on the right side of a sed subst, or in
51681 # an unquoted here document, in config.status. If some macros were
51682 # called several times there might be several #defines for the same
51683 # symbol, which is useless. But do not sort them, since the last
51684 # AC_DEFINE must be honored.
51685 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51686 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51687 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51688 # PARAMS is the parameter list in the macro definition--in most cases, it's
51689 # just an empty string.
51690 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51691 ac_dB='\\)[ (].*,\\1define\\2'
51692 ac_dC=' '
51693 ac_dD=' ,'
51694
51695 uniq confdefs.h |
51696 sed -n '
51697 t rset
51698 :rset
51699 s/^[ ]*#[ ]*define[ ][ ]*//
51700 t ok
51701 d
51702 :ok
51703 s/[\\&,]/\\&/g
51704 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51705 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51706 ' >>conftest.defines
51707
51708 # Remove the space that was appended to ease matching.
51709 # Then replace #undef with comments. This is necessary, for
51710 # example, in the case of _POSIX_SOURCE, which is predefined and required
51711 # on some systems where configure will not decide to define it.
51712 # (The regexp can be short, since the line contains either #define or #undef.)
51713 echo 's/ $//
51714 s,^[ #]*u.*,/* & */,' >>conftest.defines
51715
51716 # Break up conftest.defines:
51717 ac_max_sed_lines=50
51718
51719 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51720 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51721 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51722 # et cetera.
51723 ac_in='$ac_file_inputs'
51724 ac_out='"$tmp/out1"'
51725 ac_nxt='"$tmp/out2"'
51726
51727 while :
51728 do
51729 # Write a here document:
51730 cat >>$CONFIG_STATUS <<_ACEOF
51731 # First, check the format of the line:
51732 cat >"\$tmp/defines.sed" <<\\CEOF
51733 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51734 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51735 b
51736 :def
51737 _ACEOF
51738 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51739 echo 'CEOF
51740 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51741 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51742 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51743 grep . conftest.tail >/dev/null || break
51744 rm -f conftest.defines
51745 mv conftest.tail conftest.defines
51746 done
51747 rm -f conftest.defines conftest.tail
51748
51749 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51750 cat >>$CONFIG_STATUS <<\_ACEOF
51751 if test x"$ac_file" != x-; then
51752 echo "/* $configure_input */" >"$tmp/config.h"
51753 cat "$ac_result" >>"$tmp/config.h"
51754 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51755 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51756 echo "$as_me: $ac_file is unchanged" >&6;}
51757 else
51758 rm -f $ac_file
51759 mv "$tmp/config.h" $ac_file
51760 fi
51761 else
51762 echo "/* $configure_input */"
51763 cat "$ac_result"
51764 fi
51765 rm -f "$tmp/out12"
51766 ;;
51767
51768 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51769 echo "$as_me: executing $ac_file commands" >&6;}
51770 ;;
51771 esac
51772
51773
51774 case $ac_file$ac_mode in
51775 "rcdefs.h":C)
51776 mkdir -p $outdir &&
51777 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51778 ;;
51779 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51780 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51781 "wx-config":C) rm -f wx-config
51782 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51783 ;;
51784
51785 esac
51786 done # for ac_tag
51787
51788
51789 { (exit 0); exit 0; }
51790 _ACEOF
51791 chmod +x $CONFIG_STATUS
51792 ac_clean_files=$ac_clean_files_save
51793
51794
51795 # configure is writing to config.log, and then calls config.status.
51796 # config.status does its own redirection, appending to config.log.
51797 # Unfortunately, on DOS this fails, as config.log is still kept open
51798 # by configure, so config.status won't be able to write to it; its
51799 # output is simply discarded. So we exec the FD to /dev/null,
51800 # effectively closing config.log, so it can be properly (re)opened and
51801 # appended to by config.status. When coming back to configure, we
51802 # need to make the FD available again.
51803 if test "$no_create" != yes; then
51804 ac_cs_success=:
51805 ac_config_status_args=
51806 test "$silent" = yes &&
51807 ac_config_status_args="$ac_config_status_args --quiet"
51808 exec 5>/dev/null
51809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51810 exec 5>>config.log
51811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51812 # would make configure fail if this is the last instruction.
51813 $ac_cs_success || { (exit 1); exit 1; }
51814 fi
51815
51816 #
51817 # CONFIG_SUBDIRS section.
51818 #
51819 if test "$no_recursion" != yes; then
51820
51821 # Remove --cache-file and --srcdir arguments so they do not pile up.
51822 ac_sub_configure_args=
51823 ac_prev=
51824 eval "set x $ac_configure_args"
51825 shift
51826 for ac_arg
51827 do
51828 if test -n "$ac_prev"; then
51829 ac_prev=
51830 continue
51831 fi
51832 case $ac_arg in
51833 -cache-file | --cache-file | --cache-fil | --cache-fi \
51834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51835 ac_prev=cache_file ;;
51836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51838 | --c=*)
51839 ;;
51840 --config-cache | -C)
51841 ;;
51842 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51843 ac_prev=srcdir ;;
51844 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51845 ;;
51846 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51847 ac_prev=prefix ;;
51848 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51849 ;;
51850 *)
51851 case $ac_arg in
51852 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51853 esac
51854 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51855 esac
51856 done
51857
51858 # Always prepend --prefix to ensure using the same prefix
51859 # in subdir configurations.
51860 ac_arg="--prefix=$prefix"
51861 case $ac_arg in
51862 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51863 esac
51864 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51865
51866 # Pass --silent
51867 if test "$silent" = yes; then
51868 ac_sub_configure_args="--silent $ac_sub_configure_args"
51869 fi
51870
51871 ac_popdir=`pwd`
51872 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51873
51874 # Do not complain, so a configure script can configure whichever
51875 # parts of a large source tree are present.
51876 test -d "$srcdir/$ac_dir" || continue
51877
51878 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51879 echo "$as_me:$LINENO: $ac_msg" >&5
51880 echo "$ac_msg" >&6
51881 { as_dir="$ac_dir"
51882 case $as_dir in #(
51883 -*) as_dir=./$as_dir;;
51884 esac
51885 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51886 as_dirs=
51887 while :; do
51888 case $as_dir in #(
51889 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51890 *) as_qdir=$as_dir;;
51891 esac
51892 as_dirs="'$as_qdir' $as_dirs"
51893 as_dir=`$as_dirname -- "$as_dir" ||
51894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51895 X"$as_dir" : 'X\(//\)[^/]' \| \
51896 X"$as_dir" : 'X\(//\)$' \| \
51897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51898 echo X"$as_dir" |
51899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51900 s//\1/
51901 q
51902 }
51903 /^X\(\/\/\)[^/].*/{
51904 s//\1/
51905 q
51906 }
51907 /^X\(\/\/\)$/{
51908 s//\1/
51909 q
51910 }
51911 /^X\(\/\).*/{
51912 s//\1/
51913 q
51914 }
51915 s/.*/./; q'`
51916 test -d "$as_dir" && break
51917 done
51918 test -z "$as_dirs" || eval "mkdir $as_dirs"
51919 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51920 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51921 { (exit 1); exit 1; }; }; }
51922 ac_builddir=.
51923
51924 case "$ac_dir" in
51925 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51926 *)
51927 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51928 # A ".." for each directory in $ac_dir_suffix.
51929 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51930 case $ac_top_builddir_sub in
51931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51933 esac ;;
51934 esac
51935 ac_abs_top_builddir=$ac_pwd
51936 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51937 # for backward compatibility:
51938 ac_top_builddir=$ac_top_build_prefix
51939
51940 case $srcdir in
51941 .) # We are building in place.
51942 ac_srcdir=.
51943 ac_top_srcdir=$ac_top_builddir_sub
51944 ac_abs_top_srcdir=$ac_pwd ;;
51945 [\\/]* | ?:[\\/]* ) # Absolute name.
51946 ac_srcdir=$srcdir$ac_dir_suffix;
51947 ac_top_srcdir=$srcdir
51948 ac_abs_top_srcdir=$srcdir ;;
51949 *) # Relative name.
51950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51951 ac_top_srcdir=$ac_top_build_prefix$srcdir
51952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51953 esac
51954 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51955
51956
51957 cd "$ac_dir"
51958
51959 # Check for guested configure; otherwise get Cygnus style configure.
51960 if test -f "$ac_srcdir/configure.gnu"; then
51961 ac_sub_configure=$ac_srcdir/configure.gnu
51962 elif test -f "$ac_srcdir/configure"; then
51963 ac_sub_configure=$ac_srcdir/configure
51964 elif test -f "$ac_srcdir/configure.in"; then
51965 # This should be Cygnus configure.
51966 ac_sub_configure=$ac_aux_dir/configure
51967 else
51968 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51970 ac_sub_configure=
51971 fi
51972
51973 # The recursion is here.
51974 if test -n "$ac_sub_configure"; then
51975 # Make the cache file name correct relative to the subdirectory.
51976 case $cache_file in
51977 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51978 *) # Relative name.
51979 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51980 esac
51981
51982 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51983 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51984 # The eval makes quoting arguments work.
51985 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51986 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51987 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51988 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51989 { (exit 1); exit 1; }; }
51990 fi
51991
51992 cd "$ac_popdir"
51993 done
51994 fi
51995
51996
51997 echo
51998 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51999 echo ""
52000 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52001 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52002
52003 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52004 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52005 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52006 if test "$wxUSE_UNICODE" = "yes"; then
52007 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52008 echo " (using UTF-8)"
52009 else
52010 echo " (using wchar_t)"
52011 fi
52012 else
52013 echo
52014 fi
52015
52016 echo " What level of wxWidgets compatibility should be enabled?"
52017 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52018 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52019
52020 echo " Which libraries should wxWidgets use?"
52021 echo " STL ${wxUSE_STL}"
52022 echo " jpeg ${wxUSE_LIBJPEG-none}"
52023 echo " png ${wxUSE_LIBPNG-none}"
52024 echo " regex ${wxUSE_REGEX}"
52025 echo " tiff ${wxUSE_LIBTIFF-none}"
52026 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52027 echo " xpm ${wxUSE_LIBXPM-none}"
52028 fi
52029 echo " zlib ${wxUSE_ZLIB}"
52030 echo " expat ${wxUSE_EXPAT}"
52031 echo " libmspack ${wxUSE_LIBMSPACK}"
52032 echo " sdl ${wxUSE_LIBSDL}"
52033
52034 echo ""
52035